/* QTag Web Premium Fix — 2026-08-17
   Scoped compatibility layer for the approved high-tech public design.
   Goals: visible text, compact navigation, stable legacy pages, no functional hiding. */
:root{
  --qwf-bg:#030812;--qwf-bg2:#07101d;--qwf-surface:#091727;--qwf-surface2:#0b1d31;
  --qwf-line:rgba(162,210,255,.12);--qwf-line-hi:rgba(97,223,255,.28);
  --qwf-text:#f6fbff;--qwf-muted:#91a9bf;--qwf-blue:#2ba8ff;--qwf-cyan:#6ee8ff;
  --qwf-green:#61e5b0;--qwf-red:#ff617d;--qwf-violet:#9c8cff;--qwf-amber:#ffc86e;
  --qwf-shadow:0 28px 80px rgba(0,0,0,.38);--qwf-max:1220px;
}

/* ---------- PUBLIC HEADER: compact and deliberate ---------- */
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-utility{display:none!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium{
  background:rgba(3,8,18,.94)!important;border-bottom:1px solid var(--qwf-line)!important;
  box-shadow:0 12px 38px rgba(0,0,0,.14)!important;backdrop-filter:blur(22px)!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-inner{
  width:min(1380px,calc(100% - 32px))!important;max-width:1380px!important;height:68px!important;min-height:68px!important;
  margin:auto!important;padding:0 8px!important;gap:16px!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-logo{flex:0 0 auto!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-logo img{width:122px!important;height:auto!important;max-height:38px!important;object-fit:contain!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-nav{gap:2px!important;min-width:0!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-nav-link{
  min-height:38px!important;padding:7px 10px!important;border-radius:10px!important;font-size:.81rem!important;
  line-height:1!important;font-weight:760!important;white-space:nowrap!important;color:#c8d8e6!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-nav-link>svg{width:10px!important;height:6px!important;flex:0 0 auto!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-right{gap:8px!important;flex:0 0 auto!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-right .qt-btn{min-height:42px!important;padding:0 15px!important;font-size:.78rem!important;border-radius:11px!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-lang-btn{min-height:42px!important;padding:0 12px!important;border-radius:11px!important;font-size:.78rem!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-burger,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-burger-native{width:42px!important;height:42px!important;border-radius:11px!important}

/* ---------- GLOBAL MEGA MENU: missing production styles ---------- */
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-panel{
  left:50%!important;right:auto!important;transform:translate(-50%,-7px) scale(.99)!important;
  width:min(1120px,calc(100vw - 40px))!important;max-height:calc(100dvh - 86px)!important;
  padding:14px!important;border-radius:20px!important;display:block!important;overflow:auto!important;
  background:rgba(5,14,27,.992)!important;border:1px solid rgba(110,232,255,.17)!important;
  box-shadow:0 32px 90px rgba(0,0,0,.48)!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-nav:hover>.qt-global-panel,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-nav:focus-within>.qt-global-panel,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-panel.open{
  transform:translate(-50%,0) scale(1)!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-columns{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(240px,280px)!important;
  gap:10px!important;align-items:stretch!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group{
  min-width:0!important;padding:12px!important;border:1px solid rgba(255,255,255,.055)!important;
  border-radius:14px!important;background:rgba(255,255,255,.018)!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>header{
  display:flex!important;align-items:center!important;gap:8px!important;min-height:30px!important;margin:0 0 7px!important;
  padding:0 2px 8px!important;border-bottom:1px solid rgba(255,255,255,.055)!important;color:#dcebf6!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>header>span{
  width:25px!important;height:25px!important;display:grid!important;place-items:center!important;border-radius:8px!important;
  background:rgba(43,168,255,.08)!important;color:var(--qwf-cyan)!important;flex:0 0 25px!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>header svg{width:15px!important;height:15px!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>header b{font-size:.72rem!important;letter-spacing:.025em!important;color:#dcebf6!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>div{display:flex!important;flex-direction:column!important;gap:3px!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item{
  display:grid!important;grid-template-columns:31px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;
  min-height:48px!important;padding:6px 7px!important;border-radius:10px!important;text-decoration:none!important;
  color:#d2e1ed!important;background:transparent!important;border:1px solid transparent!important;
  transition:background .15s ease,border-color .15s ease,transform .15s ease!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item:hover,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item:focus-visible{
  background:rgba(43,168,255,.075)!important;border-color:rgba(110,232,255,.12)!important;transform:translateX(2px)!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-icon{
  width:31px!important;height:31px!important;display:grid!important;place-items:center!important;border-radius:9px!important;
  background:#0b2138!important;color:#7bdfff!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-icon svg{width:17px!important;height:17px!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item>span:last-child{min-width:0!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item b{display:block!important;font-size:.72rem!important;line-height:1.22!important;color:#e8f3fb!important;font-weight:760!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item small{
  display:block!important;margin-top:2px!important;font-size:.61rem!important;line-height:1.28!important;color:#7891a7!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature{
  min-width:0!important;padding:15px!important;border-radius:15px!important;overflow:hidden!important;
  display:flex!important;flex-direction:column!important;background:radial-gradient(260px 180px at 100% 0%,rgba(43,168,255,.18),transparent 66%),linear-gradient(145deg,#0b223b,#06111f)!important;
  border:1px solid rgba(110,232,255,.16)!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature-kicker{font-size:.58rem!important;letter-spacing:.12em!important;font-weight:900!important;color:var(--qwf-cyan)!important;text-transform:uppercase!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature h2{font-size:1.15rem!important;line-height:1.1!important;letter-spacing:-.025em!important;margin:9px 0 7px!important;color:#fff!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature p{font-size:.68rem!important;line-height:1.45!important;margin:0 0 11px!important;color:#8da6bc!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature-cta{
  display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:36px!important;padding:0 10px!important;
  border-radius:9px!important;background:rgba(43,168,255,.11)!important;border:1px solid rgba(110,232,255,.15)!important;
  color:#dff6ff!important;font-size:.67rem!important;font-weight:800!important;text-decoration:none!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-visual{margin-top:auto!important;padding-top:12px!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-visual img{display:block!important;width:100%!important;height:112px!important;object-fit:cover!important;border-radius:10px!important;opacity:.8!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-band{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) auto!important;gap:0!important;align-items:center!important;
  margin-top:10px!important;padding:9px 10px!important;border-radius:12px!important;background:rgba(255,255,255,.018)!important;
  border:1px solid rgba(255,255,255,.055)!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-band>div{min-width:0!important;padding:2px 10px!important;border-right:1px solid rgba(255,255,255,.055)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-band>div b{display:block!important;font-size:.61rem!important;color:#cfe0ed!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-band>div span{display:block!important;margin-top:2px!important;font-size:.56rem!important;color:#6f899f!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-action{
  display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:32px!important;padding:0 9px!important;
  border-radius:8px!important;color:#bde8ff!important;font-size:.62rem!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-action:hover{background:rgba(43,168,255,.08)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-action>span{display:grid!important;place-items:center!important;width:18px!important;height:18px!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-action svg{width:15px!important;height:15px!important}

/* ---------- LEGACY .dx PAGES: same dark language, correct contrast ---------- */
body:not(.qt-admin-shell):not(.qt-client-shell) .dx{
  --ink:#f6fbff!important;--ink2:#9cb2c6!important;--ink3:#718ba2!important;
  --bg:#030812!important;--bg2:#07101d!important;--surface:#091727!important;
  --line:rgba(162,210,255,.12)!important;--acc:#2ba8ff!important;--acc2:#6ee8ff!important;
  --acc-ink:#8cddff!important;--good:#61e5b0!important;--grad:linear-gradient(135deg,#2ba8ff,#536cff)!important;
  --shadow:0 10px 30px rgba(0,0,0,.18)!important;--shadow-lg:0 24px 70px rgba(0,0,0,.38)!important;
  background:transparent!important;color:var(--ink)!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-hero{
  background:radial-gradient(800px 460px at 85% -10%,rgba(43,168,255,.16),transparent 62%),linear-gradient(145deg,#06111f,#030812)!important;
  border-bottom:1px solid var(--qwf-line)!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-hero:after{background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px)!important;background-size:42px 42px!important;-webkit-mask:none!important;mask:none!important;opacity:.6!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-hero h1,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-h2,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-card h3,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-block h3,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-step h3,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-m h3,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-big h3{color:#f6fbff!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-hero p,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-lead,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-card p,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-block p,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-step p,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-m p,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-big p{color:#91a9bf!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-alt{background:rgba(255,255,255,.018)!important;border-color:var(--qwf-line)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-btn.ghost{background:rgba(255,255,255,.035)!important;color:#dceaf6!important;border-color:var(--qwf-line)!important;box-shadow:none!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-card,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-block,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-step,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-check,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-m,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-big{background:linear-gradient(145deg,rgba(11,25,44,.88),rgba(5,14,27,.94))!important;border-color:var(--qwf-line)!important;box-shadow:none!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-check b{color:#ecf7ff!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-check span{color:#8ba3b7!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-eyebrow{color:var(--qwf-cyan)!important;background:rgba(110,232,255,.055)!important;border-color:rgba(110,232,255,.18)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-band{background:radial-gradient(520px 260px at 100% 0%,rgba(43,168,255,.16),transparent 62%),linear-gradient(145deg,#0a2036,#06111f)!important;border:1px solid rgba(110,232,255,.16)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-band .dx-check{background:rgba(255,255,255,.035)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx img[style*="border"]{border-color:var(--qwf-line)!important;box-shadow:0 24px 65px rgba(0,0,0,.28)!important}

/* ---------- GENERIC CONTRAST GUARDS ---------- */
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-footer{background:#020710!important;border-top:1px solid var(--qwf-line)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-footer h2,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-footer h3,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-footer h4{color:#eef8ff!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-footer p,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-footer small{color:#718ba1!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-footer a,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-footer button{color:#afc4d4!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-footer a:hover,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-footer button:hover{color:#fff!important}

/* Avoid icon explosions when a new component arrives without its local rule. */
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header svg,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-menu svg{max-width:24px!important;max-height:24px!important}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1180px){
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-nav{display:none!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-burger,
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-burger-native{display:grid!important;place-items:center!important}
}
@media(max-width:900px){
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-columns{grid-template-columns:1fr 1fr!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature{grid-column:1/-1!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-band{grid-template-columns:1fr 1fr!important}
}
@media(max-width:760px){
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-inner{width:100%!important;height:64px!important;min-height:64px!important;padding:0 14px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-logo img{width:108px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-right .qt-btn{display:none!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-panel{display:none!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-menu{background:#050e1b!important;border-color:var(--qwf-line)!important;padding:10px 14px 18px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-native-group{border-bottom:1px solid rgba(255,255,255,.06)!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-native-group>summary{display:grid!important;grid-template-columns:30px 1fr 20px!important;gap:9px!important;align-items:center!important;padding:12px 4px!important;list-style:none!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-native-group>summary>span:first-child{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;color:var(--qwf-cyan)!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-native-group>summary svg{width:18px!important;height:18px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-native-group>summary b{display:block!important;color:#eaf6ff!important;font-size:.82rem!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-native-group>summary small{display:block!important;color:#718ba1!important;font-size:.64rem!important;margin-top:2px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-native-body{padding:0 0 12px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-drill-group h3{font-size:.66rem!important;color:#6ee8ff!important;text-transform:uppercase!important;letter-spacing:.08em!important;margin:10px 4px 5px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-drill-item{display:grid!important;grid-template-columns:30px 1fr!important;gap:8px!important;align-items:center!important;padding:8px 5px!important;border-radius:9px!important;color:#dceaf6!important;text-decoration:none!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-drill-item>span:first-child{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;background:#0b2138!important;border-radius:8px!important;color:#70dcff!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-drill-item svg{width:16px!important;height:16px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-drill-item b{display:block!important;font-size:.74rem!important;color:#e9f6ff!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-mobile-drill-item small{display:block!important;font-size:.62rem!important;color:#718ba1!important;margin-top:2px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .dx .wrap{padding:0 16px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .dx-sec{padding:54px 0!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .dx-hero{padding:58px 0 48px!important}
}

/* ========================================================================
   QTAG PREMIUM PASS 2 — homepage + authenticated client workspace
   Added after visual QA from production screenshots. Functional selectors are
   untouched; this layer only controls layout, typography, contrast and states.
   ======================================================================== */

/* ---------- MEGA MENU: keep it compact, centered and below the header ---------- */
@media(min-width:1181px){
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-panel{
    position:fixed!important;top:76px!important;left:50%!important;right:auto!important;
    width:min(1060px,calc(100vw - 48px))!important;max-height:min(650px,calc(100dvh - 94px))!important;
  }
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-columns{
    grid-template-columns:repeat(3,minmax(0,1fr)) minmax(220px,250px)!important;
  }
}

/* ---------- DX PAGE COMPLETENESS / TEXT VISIBILITY ---------- */
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .wrap{width:min(1160px,calc(100% - 34px))!important;max-width:1160px!important;margin-left:auto!important;margin-right:auto!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-sec{background:transparent!important;color:#f6fbff!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-sec.dx-alt{background:rgba(255,255,255,.018)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-stat,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-stats>div{background:rgba(255,255,255,.028)!important;border-color:rgba(162,210,255,.10)!important;color:#e8f3fb!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-stat .n,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-stat b{color:#f6fbff!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-stat .l,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-stat small{color:#7f99af!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .g{color:#61e5b0!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .num{color:#6ee8ff!important;background:rgba(43,168,255,.08)!important;border-color:rgba(110,232,255,.14)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .ck{background:rgba(97,229,176,.08)!important;color:#61e5b0!important;border-color:rgba(97,229,176,.14)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .ck svg{stroke:currentColor!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .e{filter:saturate(.9)}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx-final{background:linear-gradient(145deg,rgba(43,168,255,.08),rgba(97,229,176,.035))!important;border-top:1px solid rgba(162,210,255,.08)!important}

/* Pricing blocks embedded in legacy category pages must not stay white-on-dark. */
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .svp-card{background:linear-gradient(145deg,rgba(11,25,44,.92),rgba(5,14,27,.97))!important;border-color:rgba(162,210,255,.12)!important;box-shadow:none!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .svp-card.best{border-color:rgba(43,168,255,.48)!important;box-shadow:0 0 0 1px rgba(43,168,255,.16),0 18px 46px rgba(0,0,0,.22)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .svp-name,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .svp-price,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .svp h2{color:#f6fbff!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .svp-lim,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .svp-price span,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .svp-feat li,
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .svp .sub{color:#8da6bc!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .svp-btn{background:rgba(255,255,255,.035)!important;color:#dff6ff!important;border-color:rgba(162,210,255,.13)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .dx .svp-btn:hover{background:rgba(43,168,255,.10)!important;border-color:rgba(110,232,255,.24)!important}

/* ---------- HOME: source-faithful QTag Safety / Lost Phone focus ---------- */
.qv4-home .qv4-hero{padding-top:72px}
.qv4-home .qv4-hero h1 span{background:linear-gradient(90deg,#fff 0%,#b7eaff 48%,#71efbf 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.qv4-top-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border-radius:999px;border:1px solid rgba(110,232,255,.2);background:rgba(110,232,255,.055);text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:950;color:#6ee8ff}
.qv4-top-badge i{width:7px;height:7px;border-radius:50%;background:#61e5b0;box-shadow:0 0 14px #61e5b0}
.qv4-console{min-height:520px;padding:20px;border-radius:30px;background:linear-gradient(145deg,rgba(11,34,59,.92),rgba(4,13,26,.96));border:1px solid rgba(110,232,255,.20);box-shadow:var(--qv4-shadow);position:relative;overflow:hidden}
.qv4-console-head{display:flex;justify-content:space-between;align-items:center;color:#d9e8f4;font-size:11px;font-weight:850}
.qv4-live{font-size:9px;color:#61e5b0;letter-spacing:.09em}.qv4-live:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#61e5b0;box-shadow:0 0 10px #61e5b0;margin-right:6px}
.qv4-console-map{height:390px;position:relative;display:grid;place-items:center}
.qv4-console-map:before{content:"";position:absolute;inset:34px;background:radial-gradient(circle at center,rgba(43,168,255,.18),transparent 58%)}
.qv4-console-core{width:90px;height:90px;border-radius:29px;display:grid;place-items:center;z-index:5;background:#09223d;border:1px solid rgba(110,232,255,.25);box-shadow:0 0 45px rgba(43,168,255,.26)}
.qv4-console-core img{width:58px;height:58px;object-fit:contain}
.qv4-orbit{position:absolute;border:1px solid rgba(110,232,255,.12);border-radius:50%}.qv4-o1{width:180px;height:180px}.qv4-o2{width:270px;height:270px}.qv4-o3{width:360px;height:360px}
.qv4-node{position:absolute;min-width:110px;padding:10px 12px;border-radius:12px;background:#071728;border:1px solid rgba(162,210,255,.12);box-shadow:0 14px 32px rgba(0,0,0,.30);font-size:9px;color:#68859e}.qv4-node b{display:block;color:#d8e9f6;font-size:10px}.qv4-node.safe{left:10%;top:17%}.qv4-node.lost{right:7%;top:30%}.qv4-node.recovery{right:13%;bottom:14%}.qv4-node.qr{left:7%;bottom:24%}
.qv4-console-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.qv4-console-stats div{padding:11px;border-radius:13px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.05)}.qv4-console-stats small{display:block;color:#6f8ba4;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.qv4-console-stats b{font-size:11px;color:#eaf6ff}.qv4-console-stats .green{color:#61e5b0!important}
.qv4-signal{width:min(var(--qv4-max),calc(100% - 30px));margin:0 auto;border:1px solid var(--qv4-line);border-radius:18px;display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;background:rgba(255,255,255,.018)}.qv4-signal>div{padding:17px 18px;border-right:1px solid var(--qv4-line)}.qv4-signal>div:last-child{border-right:0}.qv4-signal small{display:block;color:#67849e;font-size:9px;text-transform:uppercase;letter-spacing:.09em}.qv4-signal b{font-size:11px;color:#dceaf6}
.qv4-product-matrix{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.qv4-product-tile{min-height:230px;padding:21px;border-radius:21px;border:1px solid var(--qv4-line);background:linear-gradient(145deg,rgba(11,25,44,.88),rgba(5,14,27,.92));text-decoration:none;position:relative;overflow:hidden;transition:.18s}.qv4-product-tile:hover{transform:translateY(-3px);border-color:rgba(110,232,255,.22)}.qv4-product-tile.highlight{background:linear-gradient(145deg,rgba(19,77,127,.26),rgba(5,14,27,.94));border-color:rgba(43,168,255,.23)}.qv4-product-tile.danger{background:linear-gradient(145deg,rgba(91,22,45,.22),rgba(5,14,27,.94));border-color:rgba(255,97,125,.19)}.qv4-product-tile.success{background:linear-gradient(145deg,rgba(20,83,73,.20),rgba(5,14,27,.94));border-color:rgba(97,229,176,.18)}.qv4-product-tile small{font-size:9px;color:#6c8ba5;letter-spacing:.12em;font-weight:950}.qv4-product-tile h3{font-size:20px;margin:24px 0 9px;color:#f6fbff}.qv4-product-tile p{font-size:12px;color:#859db3;line-height:1.55}.qv4-product-tile strong{position:absolute;left:21px;bottom:18px;font-size:10px;color:#c0e8ff}
.qv4-safety-showcase{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}.qv4-safe-panel,.qv4-lost-panel{min-height:385px;border-radius:26px;padding:27px;border:1px solid var(--qv4-line);position:relative;overflow:hidden}.qv4-safe-panel{background:linear-gradient(145deg,rgba(16,71,116,.38),rgba(5,14,27,.93))}.qv4-lost-panel{background:linear-gradient(145deg,rgba(84,20,42,.25),rgba(5,14,27,.94));border-color:rgba(255,97,125,.17)}.qv4-panel-badge{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#6ee8ff;font-weight:950}.qv4-panel-badge.red{color:#ff8aa0}.qv4-safe-panel h3,.qv4-lost-panel h3{font-size:31px;letter-spacing:-.04em;margin:14px 0 8px;color:#fff}.qv4-safe-panel p,.qv4-lost-panel p{color:#91a9bf;font-size:13px;line-height:1.6;max-width:520px}.qv4-status-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.055);font-size:11px}.qv4-status-row span{color:#7692aa}.qv4-status-row b{color:#e9f5fd}.qv4-text-link{display:inline-block;margin-top:22px;color:#bde8ff;font-weight:850;font-size:11px;text-decoration:none}.qv4-text-link.red{color:#ff9bae}.qv4-phone-radar{width:200px;height:200px;border-radius:50%;position:absolute;right:22px;bottom:25px;display:grid;place-items:center}.qv4-radar-ring{position:absolute;border:1px solid rgba(255,97,125,.18);border-radius:50%}.qv4-radar-ring.a{width:105px;height:105px}.qv4-radar-ring.b{width:175px;height:175px}.qv4-radar-dot{width:22px;height:22px;border-radius:50%;background:#ff617d;box-shadow:0 0 30px #ff617d}
.qv4-qr-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.qv4-qr-grid a{min-height:190px;padding:22px;border-radius:20px;border:1px solid var(--qv4-line);background:rgba(255,255,255,.024);text-decoration:none}.qv4-qr-grid span{font-size:27px}.qv4-qr-grid b{display:block;font-size:17px;margin:18px 0 7px;color:#f6fbff}.qv4-qr-grid small{color:#829bb1;line-height:1.45}
.qv4-trust-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.qv4-trust-grid div{min-height:130px;padding:18px;border-radius:18px;background:rgba(255,255,255,.025);border:1px solid var(--qv4-line)}.qv4-trust-grid b{display:block;color:#6ee8ff;font-size:10px;letter-spacing:.1em;margin-bottom:24px}.qv4-trust-grid span{font-size:12px;color:#d6e5f0}

/* ---------- AUTHENTICATED CLIENT: premium corporate-light workspace ---------- */
body.qt-client-shell{
  --bg:#f4f7fb;--bg2:#edf3f8;--card:#fff;--card2:#f7f9fc;
  --navy:#071725;--navy2:#102b43;--green:#087cf0;--green2:#0669ce;--brand:#087cf0;--brand-dark:#0669ce;
  --white:#10283d;--muted:#7890a5;--muted2:#526b80;--border:#dce6ee;--borg:rgba(8,124,240,.18);
  color:#10283d!important;background:#eef3f7!important;
}
body.qt-client-shell .app{background:#eef3f7!important}
body.qt-client-shell .desk-main{background:linear-gradient(180deg,#f5f8fb,#edf2f6)!important}
body.qt-client-shell .desk-side{width:auto!important;background:radial-gradient(260px 280px at 0 0,rgba(43,168,255,.12),transparent 68%),#061522!important;border-right:1px solid rgba(124,215,255,.08)!important;padding:21px 14px!important;gap:3px!important}
body.qt-client-shell .desk-side .ds-logo{padding:4px 10px 20px!important;margin-bottom:4px!important;border-bottom:1px solid rgba(255,255,255,.06)!important}
body.qt-client-shell .desk-side .ds-logo img{width:116px!important;max-height:38px!important;object-fit:contain!important}
body.qt-client-shell .ds-item{min-height:43px!important;padding:9px 11px!important;border-radius:10px!important;color:#8198ab!important;font-size:.82rem!important;font-weight:680!important;gap:10px!important;transform:none!important}
body.qt-client-shell .ds-item .di{width:27px!important;height:27px!important;border-radius:8px!important;background:rgba(255,255,255,.035)!important;color:#7ebbe8!important}
body.qt-client-shell .ds-item:hover{background:rgba(255,255,255,.055)!important;color:#e9f6ff!important}
body.qt-client-shell .ds-item.act{background:rgba(43,168,255,.12)!important;color:#8ddcff!important;box-shadow:inset 0 0 0 1px rgba(110,232,255,.10)!important}
body.qt-client-shell .ds-item.act .di{background:rgba(43,168,255,.12)!important;color:#78dfff!important}
body.qt-client-shell .hdr{min-height:66px!important;padding:11px 26px!important;background:rgba(255,255,255,.91)!important;border-bottom:1px solid #dce6ee!important;box-shadow:0 6px 24px rgba(31,61,88,.035)!important}
body.qt-client-shell .hdr .logo img{width:105px!important;max-height:35px!important;object-fit:contain!important}
body.qt-client-shell .hbtn{background:#fff!important;border-color:#dce6ee!important;color:#526f87!important;border-radius:10px!important}
body.qt-client-shell .avt{background:linear-gradient(135deg,#087cf0,#536cff)!important;color:#fff!important;box-shadow:0 7px 18px rgba(8,124,240,.18)!important}
body.qt-client-shell .scroll{scrollbar-width:thin;scrollbar-color:#c4d2de transparent}
body.qt-client-shell .pg{max-width:1180px!important;padding:28px 34px 54px!important}
body.qt-client-shell .card{border:1px solid #dce6ee!important;border-radius:16px!important;box-shadow:0 8px 28px rgba(25,55,82,.045)!important;background:#fff!important;color:#10283d!important;margin-bottom:14px!important}
body.qt-client-shell .card-glow:before{height:3px!important;background:linear-gradient(90deg,#087cf0,#16b9df,#19a978,transparent)!important}
body.qt-client-shell .ct,body.qt-client-shell .stit,body.qt-client-shell .pnm{color:#10283d!important}
body.qt-client-shell .ct{font-size:.9rem!important;letter-spacing:-.01em!important}
body.qt-client-shell .slbl{margin:20px 3px 8px!important;color:#738ba0!important;font-size:.67rem!important;font-weight:900!important;letter-spacing:.10em!important;text-transform:uppercase!important}
body.qt-client-shell .inp{min-height:44px!important;border-radius:10px!important;background:#f9fbfd!important;border:1px solid #d5e0e9!important;color:#173149!important;-webkit-text-fill-color:#173149!important;box-shadow:none!important}
body.qt-client-shell .inp:focus{border-color:#75b8ef!important;background:#fff!important;box-shadow:0 0 0 3px rgba(8,124,240,.08)!important}
body.qt-client-shell .btn{min-height:42px!important;border-radius:10px!important;font-size:.82rem!important;box-shadow:none!important}
body.qt-client-shell .btn.bg,body.qt-client-shell .ibb{background:linear-gradient(135deg,#087cf0,#536cff)!important;color:#fff!important;box-shadow:0 8px 20px rgba(8,124,240,.16)!important}
body.qt-client-shell .btn.bo{background:#fff!important;border:1px solid #d5e0e9!important;color:#365168!important}
body.qt-client-shell .btn.bgh{background:#f2f6fa!important;color:#365168!important;border:1px solid #e0e8ef!important}
body.qt-client-shell .sb{background:#fff!important;border:1px solid #dce6ee!important;border-radius:13px!important;box-shadow:0 6px 18px rgba(25,55,82,.035)!important}.qt-client-shell .sn{color:#087cf0!important}
body.qt-client-shell .ibanner{border:1px solid #c9e2f5!important;background:linear-gradient(120deg,#eef7ff,#f5fbfa)!important;border-radius:15px!important;padding:12px 14px!important;color:#173149!important;box-shadow:0 6px 22px rgba(25,55,82,.035)!important}
body.qt-client-shell .ibanner>div:first-child{font-size:1.55rem!important}
body.qt-client-shell .ibanner .ibb{padding:8px 14px!important;border-radius:9px!important}
body.qt-client-shell .phero{padding:22px 0 12px!important}.qt-client-shell .pav{width:68px!important;height:68px!important;border-radius:19px!important;background:linear-gradient(135deg,#087cf0,#536cff)!important;color:#fff!important}.qt-client-shell .psu{color:#748ca0!important}
body.qt-client-shell .sr2{min-height:50px!important;padding:10px 12px!important;border-radius:10px!important;color:#20384c!important;transition:background .15s ease!important}.qt-client-shell .sr2:hover{background:#f5f8fb!important}.qt-client-shell .div{background:#edf1f5!important}
body.qt-client-shell .tgl{background:#087cf0!important}.qt-client-shell .tgl.off{background:#cbd6df!important}
body.qt-client-shell .modal-card,body.qt-client-shell .sh{border:1px solid #dce6ee!important;border-radius:18px!important;box-shadow:0 28px 80px rgba(7,27,45,.20)!important;background:#fff!important;color:#173149!important}

/* The home service hub shown in the supplied production screenshot. */
body.qt-client-shell .qsvc-hub{margin-top:14px!important;padding:24px!important;border:1px solid #dce6ee!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 32px rgba(25,55,82,.05)!important}
body.qt-client-shell .qsvc-heading{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:28px!important;margin-bottom:17px!important;padding-bottom:17px!important;border-bottom:1px solid #edf1f5!important}
body.qt-client-shell .qsvc-heading>div>span{display:block!important;color:#087cf0!important;font-size:.66rem!important;font-weight:950!important;letter-spacing:.11em!important;text-transform:uppercase!important;margin-bottom:6px!important}
body.qt-client-shell .qsvc-heading h2{margin:0!important;color:#10283d!important;font-size:clamp(1.35rem,2.1vw,1.8rem)!important;letter-spacing:-.035em!important;line-height:1.08!important}
body.qt-client-shell .qsvc-heading p{margin:7px 0 0!important;color:#6f879a!important;font-size:.79rem!important;line-height:1.5!important}
body.qt-client-shell .qsvc-heading>a{color:#0874dd!important;font-size:.73rem!important;font-weight:850!important;text-decoration:none!important;white-space:nowrap!important}
body.qt-client-shell .qsvc-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:11px!important}
body.qt-client-shell .qsvc-card{position:relative!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;min-height:230px!important;padding:18px!important;border-radius:16px!important;border:1px solid #dce6ee!important;background:linear-gradient(145deg,#fff,#f9fbfd)!important;box-shadow:0 7px 22px rgba(25,55,82,.035)!important}
body.qt-client-shell .qsvc-card:before{content:""!important;position:absolute!important;inset:0 auto 0 0!important;width:3px!important;background:var(--qsvc-accent,#087cf0)!important}
body.qt-client-shell .qsvc-top{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:11px!important;align-items:center!important}
body.qt-client-shell .qsvc-icon{width:42px!important;height:42px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:color-mix(in srgb,var(--qsvc-accent,#087cf0) 10%,white)!important;color:var(--qsvc-accent,#087cf0)!important;font-size:1.18rem!important}
body.qt-client-shell .qsvc-top h3{margin:0 0 4px!important;color:#153047!important;font-size:.98rem!important;letter-spacing:-.02em!important}
body.qt-client-shell .qsvc-status{display:inline-flex!important;align-items:center!important;gap:5px!important;color:#8a9daf!important;font-size:.64rem!important;font-weight:760!important}.qt-client-shell .qsvc-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#c2cdd6}.qt-client-shell .qsvc-status.is-active{color:#15986c!important}.qt-client-shell .qsvc-status.is-active:before{background:#19a978;box-shadow:0 0 0 3px rgba(25,169,120,.10)}
body.qt-client-shell .qsvc-card>p{margin:13px 0 12px!important;color:#688197!important;font-size:.76rem!important;line-height:1.48!important;min-height:34px!important}
body.qt-client-shell .qsvc-plans{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin-bottom:15px!important}.qt-client-shell .qsvc-plans span{padding:5px 7px!important;border-radius:999px!important;background:#f1f5f8!important;color:#647b8f!important;border:1px solid #e1e8ee!important;font-size:.59rem!important;font-weight:760!important}
body.qt-client-shell .qsvc-actions{display:flex!important;gap:7px!important;margin-top:auto!important}.qt-client-shell .qsvc-actions .btn{width:auto!important;flex:1!important;min-height:38px!important;padding:9px 10px!important}.qt-client-shell .qsvc-primary{background:var(--qsvc-accent,#087cf0)!important;color:#fff!important}.qt-client-shell .qsvc-secondary{background:#fff!important;color:#426079!important;border:1px solid #dce6ee!important}
body.qt-client-shell .qsvc-included{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:7px!important;margin-top:11px!important}.qt-client-shell .qsvc-included>div{display:grid!important;grid-template-columns:28px 1fr!important;gap:2px 8px!important;align-items:center!important;padding:10px!important;border:1px solid #e3eaf0!important;border-radius:12px!important;background:#f9fbfc!important}.qt-client-shell .qsvc-included>div>span{grid-row:1/3;width:28px;height:28px;display:grid;place-items:center;background:#edf5ff;border-radius:8px;font-size:.86rem}.qt-client-shell .qsvc-included b{font-size:.68rem;color:#29455c}.qt-client-shell .qsvc-included small{font-size:.58rem;color:#8799a9;line-height:1.3}

/* General dynamic cards used by Memento, Family, Vault, Travel and Plan panels. */
body.qt-client-shell .qsub-summary{border-radius:15px!important;background:radial-gradient(300px 130px at 100% 0,rgba(22,185,223,.12),transparent 68%),linear-gradient(135deg,#06192d,#0a2d4c)!important;padding:17px 18px!important}
body.qt-client-shell .qsub-service,body.qt-client-shell .rem-inbox{border-radius:13px!important;border-color:#dce6ee!important;box-shadow:0 5px 18px rgba(25,55,82,.035)!important}
body.qt-client-shell .qsub-icon{border-radius:10px!important;background:#edf7ff!important;color:#087cf0!important}
body.qt-client-shell .qsub-track{height:6px!important}.qt-client-shell .qsub-track span{background:linear-gradient(90deg,#087cf0,#16b9df)!important}

@media(min-width:900px){
  body.qt-client-shell .app{grid-template-columns:236px minmax(0,1fr)!important}
  body.qt-client-shell .pg{max-width:1180px!important}
}
@media(max-width:899px){
  body.qt-client-shell .hdr{padding:10px 13px!important;min-height:58px!important}
  body.qt-client-shell .pg{padding:14px 12px calc(90px + var(--sb))!important}
  body.qt-client-shell .card{border-radius:15px!important;padding:15px!important}
  body.qt-client-shell .bnav{background:rgba(255,255,255,.96)!important;backdrop-filter:blur(18px)!important;border-top-color:#dce6ee!important}
  body.qt-client-shell .qsvc-hub{padding:15px!important;border-radius:16px!important}
  body.qt-client-shell .qsvc-heading{display:block!important}.qt-client-shell .qsvc-heading>a{display:inline-block!important;margin-top:10px!important}
  body.qt-client-shell .qsvc-grid{grid-template-columns:1fr!important}
  body.qt-client-shell .qsvc-card{min-height:auto!important}
  body.qt-client-shell .qsvc-included{grid-template-columns:1fr!important}
}

/* ---------- HOME RESPONSIVE ---------- */
@media(max-width:1000px){
  .qv4-product-matrix{grid-template-columns:repeat(2,1fr)}
  .qv4-safety-showcase{grid-template-columns:1fr}
}
@media(max-width:760px){
  .qv4-console{min-height:430px}.qv4-console-map{height:320px}.qv4-o3{width:290px;height:290px}.qv4-o2{width:220px;height:220px}.qv4-o1{width:150px;height:150px}.qv4-console-stats{grid-template-columns:1fr}.qv4-node{min-width:92px;padding:8px 9px}
  .qv4-signal{width:calc(100% - 24px);grid-template-columns:1fr}.qv4-signal>div{border-right:0;border-bottom:1px solid var(--qv4-line)}.qv4-signal>div:last-child{border-bottom:0}
  .qv4-product-matrix,.qv4-qr-grid,.qv4-trust-grid{grid-template-columns:1fr}
  .qv4-product-tile{min-height:210px}.qv4-safe-panel,.qv4-lost-panel{min-height:350px}.qv4-phone-radar{opacity:.45}
}


/* ========================================================================
   QTAG PREMIUM PASS 3 — production QA fixes from 2026-08-17 screenshots
   - removes stray native checkbox / duplicate burger
   - keeps public high-tech pages readable
   - forces QTag Safe + Lost Phone operational panels to corporate-light
   - finishes authenticated service hub and action hierarchy
   ======================================================================== */

/* Native checkbox was visible as a stray tick/box in the top-left on every page. */
.qt-menu-toggle{position:fixed!important;inline-size:1px!important;block-size:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important;overflow:hidden!important}
.qt-burger-native{display:none!important}
@media(max-width:1180px){
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-burger{display:grid!important;place-items:center!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-burger-native{display:none!important}
}

/* Public wordmark must stay legible on the dark high-tech header. */
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .qt-logo img{width:124px!important;max-height:40px!important;object-fit:contain!important}

/* Keep mega menus closed unless the owning navigation entry is really open/hovered/focused. */
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-panel{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-nav:hover>.qt-global-panel,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-nav:focus-within>.qt-global-panel,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-nav.open>.qt-global-panel,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-panel.open{opacity:1!important;visibility:visible!important;pointer-events:auto!important}

/* Defensive contrast for common legacy content blocks that sit on the dark public shell. */
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main .section-title,
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main .section-title h1,
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main .section-title h2,
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main .section-title h3,
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main .page-title,
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main .page-title h1,
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main .page-title h2{color:#f6fbff!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main .section-subtitle,
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main .subtitle,
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main .lead,
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main .muted{color:#91a9bf!important}

/* ---------- QTAG SAFE + LOST PHONE: OPERATIONAL LIGHT MODE ---------- */
body.qt-safety-light{
  --qwf-safe-ink:#10283d;--qwf-safe-muted:#6f879a;--qwf-safe-line:#dbe5ed;
  --qwf-safe-blue:#087cf0;--qwf-safe-green:#19a978;--qwf-safe-red:#e54861;
  margin:0!important;background:linear-gradient(180deg,#f7fafe,#edf3f8)!important;color:var(--qwf-safe-ink)!important;
  min-height:100vh!important;-webkit-font-smoothing:antialiased!important;
}
body.qt-safety-light::before{display:none!important}
body.qt-safety-light a{color:inherit}
body.qt-safety-light .top{background:rgba(255,255,255,.96)!important;color:#10283d!important;border-bottom:1px solid #dbe5ed!important;box-shadow:0 8px 28px rgba(25,55,82,.055)!important;backdrop-filter:blur(18px)!important}
body.qt-safety-light .topin{max-width:1240px!important}
body.qt-safety-light .safe-wordmark,
body.qt-safety-light .lost-wordmark{display:flex!important;align-items:center!important;flex:0 0 auto!important;text-decoration:none!important}
body.qt-safety-light .safe-wordmark img,
body.qt-safety-light .lost-wordmark img{display:block!important;width:112px!important;height:auto!important;max-height:36px!important;object-fit:contain!important}
body.qt-safety-light .safe-title{border-left:1px solid #e3eaf0!important;padding-left:13px!important;margin-left:2px!important}
body.qt-safety-light .safe-title h1,
body.qt-safety-light .top h1{color:#10283d!important}
body.qt-safety-light .safe-title small,
body.qt-safety-light .top p{color:#7890a5!important}
body.qt-safety-light .top .badge{background:#eef9f5!important;color:#15986c!important;border:1px solid #d2eadf!important}
body.qt-safety-light .top .btn.ghost,
body.qt-safety-light .topnav a{background:#fff!important;color:#365168!important;border:1px solid #dbe5ed!important;box-shadow:none!important}
body.qt-safety-light .top .btn.ghost:hover,
body.qt-safety-light .topnav a:hover{background:#edf6ff!important;color:#0874dd!important;border-color:#bad7ef!important}
body.qt-safety-light .tabs{background:rgba(247,250,253,.96)!important;border-bottom:1px solid #dbe5ed!important;box-shadow:none!important}
body.qt-safety-light .tab{color:#61798f!important;background:#fff!important;border:1px solid #dbe5ed!important}
body.qt-safety-light .tab:hover{background:#edf6ff!important;color:#0874dd!important;border-color:#cfe2f3!important}
body.qt-safety-light .tab.act{background:#087cf0!important;color:#fff!important;border-color:#087cf0!important;box-shadow:0 7px 18px rgba(8,124,240,.16)!important}
body.qt-safety-light .wrap{max-width:1240px!important}
body.qt-safety-light .hero,
body.qt-safety-light .card,
body.qt-safety-light .stat,
body.qt-safety-light .profile-entry,
body.qt-safety-light .safe-gate{background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important;box-shadow:0 9px 30px rgba(25,55,82,.055)!important}
body.qt-safety-light .card h2,
body.qt-safety-light .hero h2,
body.qt-safety-light .profile-entry h3,
body.qt-safety-light .safe-gate h2{color:#153047!important}
body.qt-safety-light .card p,
body.qt-safety-light .hero-copy,
body.qt-safety-light .hint,
body.qt-safety-light .empty,
body.qt-safety-light .profile-entry-meta,
body.qt-safety-light .recovery-note{color:#6f879a!important}
body.qt-safety-light label{color:#617b91!important}
body.qt-safety-light input:not([type=checkbox]):not([type=range]),
body.qt-safety-light select,
body.qt-safety-light textarea{background:#fff!important;color:#173149!important;-webkit-text-fill-color:#173149!important;border-color:#d5e0e9!important;box-shadow:none!important}
body.qt-safety-light input:focus,
body.qt-safety-light select:focus,
body.qt-safety-light textarea:focus{outline:none!important;border-color:#79b8eb!important;box-shadow:0 0 0 3px rgba(8,124,240,.08)!important}
body.qt-safety-light .btn{background:linear-gradient(135deg,#087cf0,#536cff)!important;color:#fff!important;border:0!important;box-shadow:0 8px 18px rgba(8,124,240,.15)!important}
body.qt-safety-light .btn.secondary,
body.qt-safety-light .btn.ghost{background:#f5f8fb!important;color:#365168!important;border:1px solid #dbe5ed!important;box-shadow:none!important}
body.qt-safety-light .btn.danger{background:#fff!important;color:#d83c57!important;border:1px solid #efc8d1!important;box-shadow:none!important}
body.qt-safety-light .metric,
body.qt-safety-light .statusbar,
body.qt-safety-light .safe-event{background:#f7fafd!important;border-color:#e0e8ef!important;color:#365168!important}
body.qt-safety-light table{background:#fff!important;color:#29455c!important}
body.qt-safety-light th{color:#738ba0!important;background:#f7f9fc!important}
body.qt-safety-light td{color:#29455c!important;border-color:#e6edf2!important}
body.qt-safety-light dialog,
body.qt-safety-light .modal{background:#fff!important;color:#173149!important;border-color:#dbe5ed!important}
body.qt-safety-light dialog::backdrop{background:rgba(7,27,45,.42)!important}
body.qt-safety-light .gate-preview,
body.qt-safety-light .safe-gate-side{background:radial-gradient(280px 220px at 100% 0%,rgba(22,185,223,.17),transparent 65%),linear-gradient(145deg,#06192d,#0a2d4c)!important;color:#fff!important}
body.qt-safety-light .gate-preview p,
body.qt-safety-light .safe-gate-side p{color:#b6cbdb!important}
body.qt-safety-light .qtag-live-hud,
body.qt-safety-light .lost-replay,
body.qt-safety-light .replay-bar{background:rgba(6,25,45,.92)!important;color:#e8f6ff!important}

/* Protected-person editing is a first-class action, not hidden in a menu. */
body.qt-safety-light .profile-entry-actions{gap:7px!important}
body.qt-safety-light .profile-entry-actions .profile-action-edit{background:#edf6ff!important;color:#0874dd!important;border:1px solid #cfe2f3!important;box-shadow:none!important}
body.qt-safety-light .profile-entry-actions .profile-action-delete{background:#fff5f6!important;color:#d83c57!important;border:1px solid #efc8d1!important;box-shadow:none!important}
body.qt-safety-light .profile-form-actions{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important;margin-top:12px!important}
body.qt-safety-light .profile-form-actions .btn{margin:0!important}

/* ---------- AUTHENTICATED CLIENT FINISH ---------- */
body.qt-client-shell #homeDash{display:block!important}
body.qt-client-shell #homeDash>.card:first-child{border-radius:18px!important}
body.qt-client-shell .qsvc-features{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin:2px 0 15px!important;padding:0!important;list-style:none!important}
body.qt-client-shell .qsvc-features li{position:relative!important;padding:7px 8px 7px 25px!important;border:1px solid #e5edf3!important;border-radius:9px!important;background:#f8fafc!important;color:#506b81!important;font-size:.64rem!important;line-height:1.25!important}
body.qt-client-shell .qsvc-features li:before{content:'✓'!important;position:absolute!important;left:9px!important;top:6px!important;color:#15986c!important;font-weight:950!important}
body.qt-client-shell .qsvc-card[data-service='safe']{--qsvc-accent:#087cf0!important}
body.qt-client-shell .qsvc-card[data-service='lost']{--qsvc-accent:#7567ee!important}
body.qt-client-shell .qsvc-card[data-service='safe'] .qsvc-icon{background:#edf7ff!important}
body.qt-client-shell .qsvc-card[data-service='lost'] .qsvc-icon{background:#f2f0ff!important}
body.qt-client-shell .qsvc-card[data-service='lost'] .qsvc-primary{background:#7567ee!important}
body.qt-client-shell .qsvc-included>div{min-height:74px!important}
body.qt-client-shell .ibanner.on{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important}
body.qt-client-shell .ibanner>div:first-child{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:#edf6ff!important}
body.qt-client-shell .ibanner .ibb{justify-self:end!important;width:auto!important;white-space:nowrap!important}
body.qt-client-shell .desk-side .ds-logo img{filter:none!important}

@media(max-width:760px){
  body.qt-safety-light .top{gap:8px!important;padding-left:12px!important;padding-right:12px!important}
  body.qt-safety-light .safe-wordmark img,body.qt-safety-light .lost-wordmark img{width:94px!important}
  body.qt-safety-light .safe-title{display:none!important}
  body.qt-safety-light .top .badge{margin-left:auto!important}
  body.qt-safety-light .topnav{margin-left:auto!important}
  body.qt-client-shell .qsvc-features{grid-template-columns:1fr!important}
  body.qt-client-shell .ibanner.on{grid-template-columns:auto 1fr!important}
  body.qt-client-shell .ibanner .ibb{grid-column:1/-1!important;width:100%!important}
}

/* ---------- LEGACY PUBLIC PAGES: preserve their intended light content ----------
   The high-tech redesign owns the global header/footer and selected .dx/qv4 pages.
   Older public/product/legal/help pages keep a corporate-light canvas so their
   original dark typography never becomes dark-on-dark. */
body.qt-public-light{
  background:#f7f9fc!important;color:#10283d!important;
  min-height:100vh!important;
}
body.qt-public-light::before{display:none!important}
body.qt-public-light main,body.qt-public-light .qt-container{color:#10283d}
body.qt-public-light .qt-container{position:relative}
body.qt-client-shell .qsvc-icon svg{width:22px!important;height:22px!important;display:block!important}
body.qt-client-shell .qsvc-included>div>span{font-size:.58rem!important;font-weight:950!important;letter-spacing:.02em!important;color:#1769d5!important}


/* === CORPORATE LIGHT FINAL OVERRIDE (must stay last) === */
/* QTag Corporate Light FINAL — 2026-08-17
   Global visual correction. Keeps application logic untouched. */
:root{
  --qcl-bg:#f4f7fb;--qcl-bg2:#eef3f8;--qcl-paper:#ffffff;--qcl-ink:#10283d;--qcl-copy:#5f768b;
  --qcl-muted:#7d91a4;--qcl-line:#dbe5ed;--qcl-blue:#087cf0;--qcl-blue2:#2563eb;--qcl-cyan:#16b9df;
  --qcl-green:#19a978;--qcl-red:#e54861;--qcl-violet:#7567ee;--qcl-navy:#06192d;--qcl-navy2:#0a2d4c;
  --qcl-shadow:0 14px 40px rgba(25,55,82,.08);--qcl-shadow-lg:0 28px 80px rgba(25,55,82,.13);
}
html{background:var(--qcl-bg)!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light){background:linear-gradient(180deg,#fff 0,#f7f9fc 32%,#eef3f8 100%)!important;color:var(--qcl-ink)!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light)::before{display:none!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main,
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) #main-content{color:var(--qcl-ink)!important}

/* Header */
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-utility{display:none!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium{background:rgba(255,255,255,.96)!important;border-bottom:1px solid var(--qcl-line)!important;box-shadow:0 8px 28px rgba(25,55,82,.055)!important;backdrop-filter:blur(18px)!important;color:var(--qcl-ink)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-inner{width:min(1280px,calc(100% - 30px))!important;max-width:1280px!important;height:68px!important;min-height:68px!important;padding:0!important;gap:14px!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-logo img{display:block!important;width:118px!important;max-height:40px!important;object-fit:contain!important;filter:none!important;opacity:1!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-nav{gap:2px!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-nav-link{min-height:38px!important;padding:8px 10px!important;border-radius:10px!important;color:#365168!important;font-size:.8rem!important;font-weight:760!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-nav-link:hover,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-nav-link.active{background:#edf6ff!important;color:#0874dd!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-lang-btn,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-btn-ghost{background:#fff!important;color:#365168!important;border:1px solid var(--qcl-line)!important;box-shadow:none!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-btn-primary{background:linear-gradient(135deg,var(--qcl-blue),var(--qcl-blue2))!important;color:#fff!important;border:0!important;box-shadow:0 9px 22px rgba(8,124,240,.17)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-burger{background:#fff!important;color:#365168!important;border:1px solid var(--qcl-line)!important}

/* Compact light mega navigation */
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-panel{background:rgba(255,255,255,.99)!important;border:1px solid var(--qcl-line)!important;box-shadow:var(--qcl-shadow-lg)!important;color:var(--qcl-ink)!important;max-height:calc(100dvh - 90px)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group{background:#f8fafc!important;border:1px solid #e6edf3!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>header{border-color:#e6edf3!important;color:#173149!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>header b,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item b{color:#173149!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item{color:#365168!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item small{color:#7890a5!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-icon,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>header>span{background:#edf6ff!important;color:#0874dd!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item:hover{background:#edf6ff!important;border-color:#cfe2f3!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature{background:radial-gradient(300px 190px at 100% 0%,rgba(22,185,223,.14),transparent 62%),linear-gradient(145deg,#f3f9ff,#fff)!important;border:1px solid #cfe3f4!important;color:#173149!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature h2{color:#10283d!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature p{color:#6d8498!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature-cta{background:#eaf5ff!important;border-color:#cfe2f3!important;color:#0874dd!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-band{background:#f8fafc!important;border-color:#e6edf3!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-band>div{border-color:#e6edf3!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-band>div b{color:#365168!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-band>div span{color:#7b91a4!important}

/* Homepage: Corporate Light + Safe/Lost focus */
.qv4-home{background:transparent!important;color:var(--qcl-ink)!important}
.qv4-hero{background:radial-gradient(620px 430px at 88% 10%,rgba(8,124,240,.10),transparent 68%),linear-gradient(180deg,#fff,#f6f9fc)!important;border-bottom:1px solid #e6edf3!important}
.qv4-hero-copy .qv4-overline,.qv4-overline{color:#0874dd!important}
.qv4-hero h1,.qv4-section h2,.qv4-security h2,.qv4-final h2{color:#10283d!important}
.qv4-hero p,.qv4-section-head>p,.qv4-product-copy>p,.qv4-security p,.qv4-final p{color:#627b91!important}
.qv4-btn-primary{background:linear-gradient(135deg,#087cf0,#2563eb)!important;color:#fff!important;border:0!important;box-shadow:0 12px 28px rgba(8,124,240,.18)!important}
.qv4-btn-secondary{background:#fff!important;color:#365168!important;border:1px solid #dbe5ed!important;box-shadow:none!important}
.qv4-trust{color:#60798f!important}
.qv4-hero-visual{background:#fff!important;border:1px solid #dbe5ed!important;box-shadow:var(--qcl-shadow-lg)!important}
.qv4-rail{background:#fff!important;border-block:1px solid #e6edf3!important}
.qv4-rail-grid>div{border-color:#e6edf3!important}.qv4-rail-grid b{color:#365168!important}.qv4-rail-grid span{color:#0874dd!important}
.qv4-section{background:transparent!important;color:#10283d!important}
.qv4-protect,.qv4-steps{background:#f7f9fc!important}
.qv4-product,.qv4-ecosystem,.qv4-plan-section{background:#fff!important}
.qv4-bento-card,.qv4-browser,.qv4-device,.qv4-timeline article,.qv4-services-grid>a,.qv4-integrated>a,.qv4-lanes>a{border-color:#dbe5ed!important;box-shadow:0 8px 24px rgba(25,55,82,.055)!important}
.qv4-lanes>a,.qv4-services-grid>a,.qv4-integrated>a,.qv4-timeline article{background:#fff!important;color:#10283d!important}
.qv4-lanes p,.qv4-services-grid p,.qv4-integrated span,.qv4-timeline p{color:#6d8498!important}
.qv4-services-head h3{color:#10283d!important}
.qv4-security{background:linear-gradient(135deg,#edf7ff,#f7fbff)!important;color:#10283d!important;border-block:1px solid #d8e8f4!important}
.qv4-security li{background:#fff!important;color:#365168!important;border-color:#dbe5ed!important}
.qv4-final{background:linear-gradient(135deg,#f2f8ff,#fff)!important;border-top:1px solid #dbe5ed!important;color:#10283d!important}

/* Explicit homepage Safety hero cards (inserted in index.html) */
.qcl-safety-focus{padding:76px 0;background:#fff;border-top:1px solid #e5edf3;border-bottom:1px solid #e5edf3}
.qcl-safety-head{width:min(1220px,calc(100% - 30px));margin:auto;display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:28px}
.qcl-safety-head h2{font-size:clamp(34px,4.4vw,54px);line-height:1.02;letter-spacing:-.045em;margin:7px 0 0;color:#10283d}
.qcl-safety-head p{max-width:520px;margin:0;color:#6a8297;line-height:1.65;font-size:.92rem}
.qcl-safety-grid{width:min(1220px,calc(100% - 30px));margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.qcl-safety-card{position:relative;min-height:330px;padding:30px;border-radius:26px;overflow:hidden;text-decoration:none;border:1px solid #dbe5ed;box-shadow:var(--qcl-shadow);display:flex;flex-direction:column;color:#10283d}
.qcl-safety-card.safe{background:radial-gradient(420px 250px at 100% 0%,rgba(22,185,223,.15),transparent 65%),linear-gradient(145deg,#eff8ff,#fff)}
.qcl-safety-card.lost{background:radial-gradient(420px 250px at 100% 0%,rgba(117,103,238,.14),transparent 65%),linear-gradient(145deg,#f5f3ff,#fff)}
.qcl-safety-card .kicker{font-size:.66rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase;color:#0874dd}
.qcl-safety-card.lost .kicker{color:#6b5ce7}.qcl-safety-card h3{font-size:clamp(27px,3vw,38px);line-height:1.03;letter-spacing:-.04em;margin:54px 0 10px}.qcl-safety-card p{max-width:480px;color:#627b91;line-height:1.6;margin:0}.qcl-safety-card ul{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:22px 0 24px;padding:0;list-style:none}.qcl-safety-card li{font-size:.76rem;color:#4f687d;background:rgba(255,255,255,.72);border:1px solid #e0e8ef;border-radius:10px;padding:8px 10px}.qcl-safety-card b:last-child{margin-top:auto;color:#0874dd;font-size:.83rem}.qcl-safety-card.lost b:last-child{color:#6b5ce7}

/* Generic public content visibility/professional cards */
body.qv4-ready:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .card,
body.qv4-ready:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .feature-card,
body.qv4-ready:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .price-card,
body.qv4-ready:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .timeline-step{background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important;box-shadow:0 8px 26px rgba(25,55,82,.055)!important}
body.qv4-ready:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) h1,
body.qv4-ready:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) h2,
body.qv4-ready:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) h3,
body.qv4-ready:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) h4{color:#10283d}
body.qv4-ready:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) p,
body.qv4-ready:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .muted{color:#627b91}

/* Auth/Register premium Corporate Light */
body.qv4-conversion:not(.qt-client-shell){background:radial-gradient(700px 420px at 13% 9%,rgba(8,124,240,.08),transparent 65%),linear-gradient(180deg,#fff,#eef3f8)!important}
body.qv4-conversion .auth-wrap{max-width:1080px!important;padding:56px 0 64px!important}
body.qv4-conversion .auth-card{background:#fff!important;border:1px solid #dbe5ed!important;border-radius:26px!important;box-shadow:0 28px 80px rgba(25,55,82,.13)!important}
body.qv4-conversion .auth-aside{background:radial-gradient(480px 330px at 100% 0%,rgba(22,185,223,.17),transparent 62%),linear-gradient(145deg,#06192d,#0a2d4c)!important;padding:46px 42px!important}
body.qv4-conversion .auth-form{padding:44px!important;background:#fff!important;color:#10283d!important}
body.qv4-conversion .auth-pane h1{color:#10283d!important;font-size:1.75rem!important}
body.qv4-conversion .auth-pane .lead{color:#6a8297!important;line-height:1.55!important}
body.qv4-conversion .auth-tabs{background:#f4f7fa!important;border-color:#dbe5ed!important}
body.qv4-conversion .auth-tab{color:#688096!important}body.qv4-conversion .auth-tab.active{background:#fff!important;color:#10283d!important;box-shadow:0 4px 12px rgba(25,55,82,.07)!important}
body.qv4-conversion .fld input,body.qv4-conversion .fld select{background:#fff!important;color:#173149!important;-webkit-text-fill-color:#173149!important;border-color:#d5e0e9!important;min-height:48px!important}
body.qv4-conversion .acct-opt,body.qv4-conversion .cat-chip,body.qv4-conversion .reg-note{background:#f8fafc!important;border-color:#dbe5ed!important;color:#365168!important}
body.qv4-conversion .acct-opt.sel,body.qv4-conversion .cat-chip.sel{background:#edf6ff!important;border-color:#9fcaf0!important;color:#0874dd!important}
body.qv4-conversion .auth-submit{background:linear-gradient(135deg,#087cf0,#2563eb)!important;box-shadow:0 10px 22px rgba(8,124,240,.17)!important;border-radius:12px!important}

/* Client dashboard premium, always readable */
body.qt-client-shell{background:#eef3f8!important;color:#10283d!important}
body.qt-client-shell .desk-main,body.qt-client-shell .scroll{background:#eef3f8!important;color:#10283d!important}
body.qt-client-shell .card,body.qt-client-shell .qsvc-card,body.qt-client-shell .qsvc-hub{background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important;box-shadow:0 8px 28px rgba(25,55,82,.055)!important}
body.qt-client-shell .qsvc-hub{padding:24px!important;border-radius:22px!important}
body.qt-client-shell .qsvc-heading{display:flex!important;justify-content:space-between!important;align-items:end!important;gap:20px!important;margin-bottom:18px!important;padding-bottom:17px!important;border-bottom:1px solid #e6edf3!important}
body.qt-client-shell .qsvc-heading span{color:#0874dd!important;font-size:.65rem!important;font-weight:950!important;letter-spacing:.12em!important;text-transform:uppercase!important}
body.qt-client-shell .qsvc-heading h2{color:#10283d!important;font-size:1.55rem!important;letter-spacing:-.03em!important;margin:5px 0 4px!important}
body.qt-client-shell .qsvc-heading p{color:#688197!important;margin:0!important;line-height:1.5!important}
body.qt-client-shell .qsvc-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important}
body.qt-client-shell .qsvc-card{min-height:260px!important;padding:20px!important;border-radius:18px!important;position:relative!important;overflow:hidden!important}
body.qt-client-shell .qsvc-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--qsvc-accent,#087cf0)}
body.qt-client-shell .qsvc-top{display:flex!important;align-items:center!important;gap:12px!important}.qsvc-icon{width:46px!important;height:46px!important;display:grid!important;place-items:center!important;border-radius:14px!important;font-size:1.25rem!important;background:#edf6ff!important}.qsvc-top h3{color:#10283d!important;font-size:1.12rem!important;margin:0 0 4px!important}.qsvc-status{font-size:.66rem!important;color:#7a8ea1!important;font-weight:800!important}.qsvc-status.is-active{color:#15986c!important}.qsvc-card>p{color:#688197!important;line-height:1.55!important;margin:16px 0!important}.qsvc-plans{display:flex!important;gap:6px!important;flex-wrap:wrap!important}.qsvc-plans span{background:#f5f8fb!important;border:1px solid #e1e8ee!important;color:#60798f!important;padding:5px 8px!important;border-radius:999px!important;font-size:.62rem!important;font-weight:800!important}.qsvc-actions{display:flex!important;gap:8px!important;margin-top:auto!important;padding-top:18px!important}.qsvc-actions .btn{flex:1!important;min-height:42px!important}.qsvc-included{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:9px!important;margin-top:14px!important}.qsvc-included>div{background:#f8fafc!important;border:1px solid #e3eaf0!important;border-radius:12px!important;padding:12px!important;color:#365168!important}.qsvc-included small{display:block!important;color:#7b91a4!important;margin-top:3px!important}
body.qt-client-shell #ds-business,[data-qtag-business],body.qt-client-shell .qtag-business-card{display:none!important}

/* Safety/Lost operational panels: LIGHT, high contrast */
body.qt-safety-light{background:linear-gradient(180deg,#f7fafe,#edf3f8)!important;color:#10283d!important}
body.qt-safety-light::before{display:none!important}
body.qt-safety-light .top{background:rgba(255,255,255,.97)!important;color:#10283d!important;border-bottom:1px solid #dbe5ed!important;box-shadow:0 8px 28px rgba(25,55,82,.055)!important}
body.qt-safety-light .card,body.qt-safety-light .hero,body.qt-safety-light .stat,body.qt-safety-light .modal,body.qt-safety-light dialog{background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important;box-shadow:0 8px 28px rgba(25,55,82,.055)!important}
body.qt-safety-light h1,body.qt-safety-light h2,body.qt-safety-light h3,body.qt-safety-light h4,body.qt-safety-light b,body.qt-safety-light strong{color:#10283d!important}
body.qt-safety-light p,body.qt-safety-light .mut,body.qt-safety-light .muted,body.qt-safety-light .hint,body.qt-safety-light small{color:#657f95!important}
body.qt-safety-light input:not([type=checkbox]):not([type=range]),body.qt-safety-light select,body.qt-safety-light textarea{background:#fff!important;color:#173149!important;-webkit-text-fill-color:#173149!important;border-color:#d5e0e9!important}
body.qt-safety-light .btn{background:linear-gradient(135deg,#087cf0,#2563eb)!important;color:#fff!important;border:0!important}.qt-safety-light .btn.secondary,.qt-safety-light .btn.ghost{background:#f6f9fc!important;color:#365168!important;border:1px solid #dbe5ed!important}.qt-safety-light .btn.danger{background:#fff5f6!important;color:#d83c57!important;border:1px solid #efc8d1!important}
body.qt-safety-light .metric,body.qt-safety-light .statusbar,body.qt-safety-light .safe-event{background:#f7fafd!important;color:#365168!important;border-color:#e0e8ef!important}
body.qt-safety-light .map-shell,body.qt-safety-light .map-card{border-color:#dbe5ed!important;box-shadow:0 8px 28px rgba(25,55,82,.055)!important}

/* Footer: intentionally dark with the WHITE logo for guaranteed visibility */
.qt-footer{background:#06192d!important;color:#d8e7f3!important;border-top:0!important}
.qt-footer-inner{width:min(1220px,calc(100% - 30px))!important;max-width:1220px!important}
.qt-footer .qt-logo-foot img{display:block!important;width:122px!important;max-height:44px!important;object-fit:contain!important;filter:none!important;opacity:1!important}
.qt-foot-brand p{color:#8fa7bb!important;line-height:1.6!important}
.qt-foot-col h4{color:#7f9bb3!important}.qt-foot-col a{color:#c2d4e3!important}.qt-foot-col a:hover{color:#fff!important}
.qt-footer-bottom{border-color:rgba(255,255,255,.09)!important;color:#7791a7!important}

/* Any orphan checkbox used as a menu toggle must never render as a stray square. */
input.qt-menu-toggle,input.qt-nav-toggle,input[id^="qt-menu-toggle"],input[id^="menu-toggle"]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important}

@media(max-width:900px){
 body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-inner{height:64px!important;min-height:64px!important}.qt-global-panel{display:none!important}
 .qcl-safety-head{display:block}.qcl-safety-head p{margin-top:12px}.qcl-safety-grid{grid-template-columns:1fr}.qcl-safety-card{min-height:280px}.qv4-hero-grid{grid-template-columns:1fr!important}
 body.qv4-conversion .auth-wrap{padding:28px 12px 48px!important}.qsvc-grid{grid-template-columns:1fr!important}
}
@media(max-width:700px){
 .qcl-safety-card{padding:22px}.qcl-safety-card h3{margin-top:36px}.qcl-safety-card ul{grid-template-columns:1fr}.qsvc-included{grid-template-columns:1fr!important}.qsvc-grid{grid-template-columns:1fr!important}
 body.qv4-conversion .auth-form{padding:28px 20px!important}
}


/* === Corporate Light completeness pass === */
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light){--bg:#f4f7fb!important;--bg2:#eef3f8!important;--surface:#fff!important;--surface2:#f8fafc!important;--text:#10283d!important;--ink:#10283d!important;--muted:#6b8296!important;--copy:#5f768b!important;--line:#dbe5ed!important;--border:#dbe5ed!important;--card:#fff!important;--card2:#f8fafc!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(h1,h2,h3,h4,h5,h6,strong,b){color:#10283d!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(p,li,dd,.lead,.muted,.sub,.description){color:#61798f!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(.page-hero,.home-hero,.content-section,.premium-block,.story,.trust-section,.prose){color:#10283d!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(.product-tile,.safe-panel,.lost-panel,.feature-card,.timeline-step,.pillar-grid>button,.big-service,.dash-card,.lost-step,.guide-grid>div,.help-grid>button,.qr-categories>button,.trust-cards>div,.story-metrics>div,.contact-form,.contact-side>div,.price-card){background:#fff!important;color:#10283d!important;border:1px solid #dbe5ed!important;box-shadow:0 8px 28px rgba(25,55,82,.055)!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(.product-tile,.safe-panel,.lost-panel,.feature-card,.timeline-step,.pillar-grid>button,.big-service,.dash-card,.lost-step,.guide-grid>div,.help-grid>button,.qr-categories>button,.trust-cards>div,.story-metrics>div,.contact-form,.contact-side>div,.price-card) :where(p,small,span:not(.btn):not(.badge)){color:#6b8296!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .page-hero{background:radial-gradient(620px 380px at 88% 0%,rgba(8,124,240,.08),transparent 70%)!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .hero-visual{filter:none!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .hero-pill{background:#fff!important;color:#6b8296!important;border-color:#dbe5ed!important;box-shadow:0 8px 20px rgba(25,55,82,.06)!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .hero-pill b{color:#173149!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .hero-core{background:linear-gradient(145deg,#edf7ff,#fff)!important;color:#087cf0!important;border-color:#b9daf5!important;box-shadow:0 18px 45px rgba(8,124,240,.12)!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(.ring,.hero-orbit){border-color:rgba(8,124,240,.14)!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(input,select,textarea){background:#fff!important;color:#173149!important;-webkit-text-fill-color:#173149!important;border-color:#d5e0e9!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(.btn.ghost,.btn:not(.primary):not(.danger)){background:#fff!important;color:#365168!important;border-color:#d5e0e9!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .btn.primary{background:linear-gradient(135deg,#087cf0,#2563eb)!important;color:#fff!important}

/* Client dashboard: service cards are real components, not loose text. */
body.qt-client-shell .qsvc-card{display:flex!important;flex-direction:column!important}
body.qt-client-shell .qsvc-heading>a{display:inline-flex!important;align-items:center!important;white-space:nowrap!important;text-decoration:none!important;color:#0874dd!important;font-weight:850!important;font-size:.78rem!important;background:#edf6ff!important;border:1px solid #cfe2f3!important;border-radius:10px!important;padding:9px 11px!important}
body.qt-client-shell .qsvc-features{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin:0!important;padding:0!important;list-style:none!important}
body.qt-client-shell .qsvc-features li{margin:0!important;padding:8px 9px 8px 28px!important;position:relative!important;border:1px solid #e3eaf0!important;border-radius:10px!important;background:#f8fafc!important;color:#496278!important;font-size:.72rem!important;line-height:1.3!important}
body.qt-client-shell .qsvc-features li:before{content:"✓"!important;position:absolute!important;left:9px!important;top:7px!important;color:#15986c!important;font-weight:950!important}
body.qt-client-shell .qsvc-primary{background:linear-gradient(135deg,#087cf0,#2563eb)!important;color:#fff!important;border:0!important}
body.qt-client-shell .qsvc-secondary{background:#f8fafc!important;color:#365168!important;border:1px solid #dbe5ed!important}
body.qt-client-shell #pg-home>.card,body.qt-client-shell #homeDash>.card{border-radius:18px!important}
body.qt-client-shell #pg-modules,body.qt-client-shell #ds-modules,body.qt-client-shell #bizSolutions,body.qt-client-shell [data-qtag-business-hidden="1"]{display:none!important}
body.qt-client-shell .desk-side{background:linear-gradient(180deg,#071a2e,#0a2743)!important}
body.qt-client-shell .desk-side .ds-logo img{display:block!important;width:118px!important;max-height:40px!important;object-fit:contain!important;opacity:1!important}

/* Auth/register: no dark text on dark field and no loose form content. */
body.qv4-conversion .auth-card{min-height:620px!important}
body.qv4-conversion .auth-logo{display:block!important;width:138px!important;max-height:48px!important;object-fit:contain!important;opacity:1!important}
body.qv4-conversion .auth-form label,body.qv4-conversion .auth-alt,body.qv4-conversion .auth-check{color:#5f768b!important}
body.qv4-conversion .auth-alt a{color:#0874dd!important;font-weight:800!important}

/* Footer logo remains visible even when old rules target .qt-logo img. */
.qt-footer .qt-foot-brand .qt-logo-foot,.qt-footer .qt-foot-brand .qt-logo-foot img{visibility:visible!important;display:block!important;opacity:1!important}
.qt-footer .qt-foot-brand .qt-logo-foot{width:max-content!important;min-height:44px!important;margin-bottom:13px!important}

