/* 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}


/* ===== QTag homepage — Corporate Light / Safety-first FINAL ===== */
.qcl-home-safety{background:#fff;color:#10283d}
.qcl-home-shell{width:min(1220px,calc(100% - 32px));margin:0 auto}
.qcl-home-hero{padding:78px 0 64px;background:radial-gradient(720px 500px at 88% 4%,rgba(8,124,240,.10),transparent 68%),linear-gradient(180deg,#fff 0%,#f5f8fb 100%);border-bottom:1px solid #e1eaf1}
.qcl-home-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:46px;align-items:center}
.qcl-kicker,.qcl-overline{display:inline-flex;align-items:center;gap:8px;color:#0874dd;font-size:.68rem;font-weight:950;letter-spacing:.13em;text-transform:uppercase}
.qcl-kicker{padding:8px 11px;border:1px solid #c9e1f6;background:#f1f8ff;border-radius:999px}.qcl-kicker i{width:7px;height:7px;border-radius:50%;background:#19a978;box-shadow:0 0 0 4px rgba(25,169,120,.11)}
.qcl-home-copy h1{font-size:clamp(46px,6.3vw,76px);line-height:.97;letter-spacing:-.058em;margin:18px 0 20px;color:#10283d;max-width:780px}.qcl-home-copy h1 span{background:linear-gradient(90deg,#087cf0,#16b9df 55%,#19a978);-webkit-background-clip:text;background-clip:text;color:transparent}
.qcl-home-copy>p{max-width:690px;color:#60798f;font-size:1.02rem;line-height:1.72;margin:0 0 25px}.qcl-home-copy>p b{color:#173149}
.qcl-home-actions{display:flex;gap:10px;flex-wrap:wrap}.qcl-btn{min-height:46px;padding:0 18px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:.84rem;font-weight:900}.qcl-btn-primary{background:linear-gradient(135deg,#087cf0,#2563eb);color:#fff;box-shadow:0 12px 26px rgba(8,124,240,.18)}.qcl-btn-secondary{background:#fff;color:#365168;border:1px solid #d7e3ec;box-shadow:0 5px 15px rgba(25,55,82,.05)}
.qcl-proof{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px;color:#72899c;font-size:.74rem;font-weight:700}.qcl-proof span{display:inline-flex;align-items:center;gap:5px}
.qcl-safety-console{padding:18px;border-radius:28px;background:#fff;border:1px solid #d8e4ed;box-shadow:0 28px 75px rgba(25,55,82,.13);position:relative;overflow:hidden}.qcl-safety-console:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(8,124,240,.026) 1px,transparent 1px),linear-gradient(90deg,rgba(8,124,240,.026) 1px,transparent 1px);background-size:28px 28px;pointer-events:none}.qcl-safety-console>*{position:relative}
.qcl-console-head,.qcl-console-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#71899d;font-size:.67rem;font-weight:850}.qcl-console-head>span{color:#173149}.qcl-console-head b{color:#15986c;font-size:.62rem;letter-spacing:.08em}.qcl-console-head b i{display:inline-block;width:6px;height:6px;background:#19a978;border-radius:50%;margin-right:5px;box-shadow:0 0 9px rgba(25,169,120,.42)}
.qcl-console-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:17px 0}.qcl-console-card{min-height:315px;padding:19px;border-radius:20px;border:1px solid #dbe5ed;text-decoration:none;display:flex;flex-direction:column;color:#10283d;position:relative;overflow:hidden}.qcl-console-card.safe{background:radial-gradient(260px 170px at 100% 0%,rgba(22,185,223,.16),transparent 68%),linear-gradient(145deg,#eff9ff,#fff)}.qcl-console-card.lost{background:radial-gradient(260px 170px at 100% 0%,rgba(117,103,238,.15),transparent 68%),linear-gradient(145deg,#f5f3ff,#fff)}.qcl-console-card .code{font-size:.59rem;letter-spacing:.12em;font-weight:950;color:#0874dd}.qcl-console-card.lost .code{color:#6d5ce7}.qcl-console-card .icon{width:52px;height:52px;border-radius:16px;margin:37px 0 17px;display:grid;place-items:center;background:#e6f4ff;color:#087cf0;font-size:1.2rem;font-weight:950;border:1px solid #cfe5f6}.qcl-console-card.lost .icon{background:#efedff;color:#7064e5;border-color:#ded9ff}.qcl-console-card h2{font-size:1.35rem;letter-spacing:-.025em;margin:0 0 7px;color:#10283d}.qcl-console-card p{font-size:.75rem;line-height:1.55;color:#698196;margin:0 0 14px}.qcl-console-card>b{margin-top:auto;font-size:.68rem;color:#0874dd}.qcl-console-card.lost>b{color:#6d5ce7}.qcl-console-foot{padding:2px 2px 0}.qcl-console-foot .online{color:#15986c}
.qcl-signal{background:#fff;border-bottom:1px solid #e3ebf1}.qcl-signal-grid{display:grid;grid-template-columns:repeat(3,1fr)}.qcl-signal-grid>div{padding:16px 18px;border-right:1px solid #e3ebf1}.qcl-signal-grid>div:first-child{padding-left:0}.qcl-signal-grid>div:last-child{border-right:0}.qcl-signal small{display:block;color:#7b91a4;font-size:.6rem;text-transform:uppercase;letter-spacing:.1em;font-weight:900}.qcl-signal b{display:block;color:#365168;font-size:.74rem;margin-top:4px}
.qcl-section{padding:78px 0;background:#fff}.qcl-section-alt{background:#f6f9fc;border-block:1px solid #e3ebf1}.qcl-section-head{display:flex;justify-content:space-between;align-items:end;gap:34px;margin-bottom:28px}.qcl-section-head h2{font-size:clamp(34px,4.3vw,52px);line-height:1.03;letter-spacing:-.045em;margin:7px 0 0;color:#10283d}.qcl-section-head>p{max-width:520px;color:#688096;line-height:1.65;font-size:.86rem;margin:0}
.qcl-duo{display:grid;grid-template-columns:1fr 1fr;gap:14px}.qcl-duo-card{min-height:390px;padding:28px;border-radius:25px;border:1px solid #dbe5ed;text-decoration:none;display:flex;flex-direction:column;color:#10283d;box-shadow:0 10px 30px rgba(25,55,82,.055)}.qcl-duo-card.safe{background:radial-gradient(420px 250px at 100% 0%,rgba(22,185,223,.15),transparent 65%),linear-gradient(145deg,#f0faff,#fff)}.qcl-duo-card.lost{background:radial-gradient(420px 250px at 100% 0%,rgba(229,72,97,.10),transparent 65%),linear-gradient(145deg,#fff6f8,#fff)}.qcl-duo-card>span{font-size:.63rem;font-weight:950;letter-spacing:.12em;color:#0874dd}.qcl-duo-card.lost>span{color:#d8445e}.qcl-duo-card h3{font-size:clamp(27px,3vw,37px);line-height:1.03;letter-spacing:-.04em;margin:64px 0 11px;color:#10283d}.qcl-duo-card p{color:#657d92;line-height:1.6;font-size:.83rem;max-width:530px}.qcl-duo-card ul{list-style:none;padding:0;margin:19px 0 24px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.qcl-duo-card li{background:rgba(255,255,255,.75);border:1px solid #e0e8ef;border-radius:10px;padding:9px 10px;font-size:.69rem;color:#50697e}.qcl-duo-card>b{margin-top:auto;color:#0874dd;font-size:.75rem}.qcl-duo-card.lost>b{color:#d8445e}
.qcl-three,.qcl-service-grid{display:grid;gap:12px}.qcl-three{grid-template-columns:repeat(3,1fr)}.qcl-three article,.qcl-service-grid a{background:#fff;border:1px solid #dbe5ed;border-radius:19px;padding:22px;box-shadow:0 7px 22px rgba(25,55,82,.045);color:#10283d;text-decoration:none}.qcl-three article>b,.qcl-service-grid a>span{font-size:.62rem;color:#0874dd;letter-spacing:.11em;font-weight:950}.qcl-three h3,.qcl-service-grid h3{font-size:1.05rem;margin:24px 0 7px;color:#10283d}.qcl-three p,.qcl-service-grid p{font-size:.76rem;line-height:1.55;color:#6d8498;margin:0}.qcl-service-grid{grid-template-columns:repeat(4,1fr)}.qcl-service-grid a{min-height:180px}
.qcl-final-cta{padding:56px 0 72px;background:#f6f9fc}.qcl-final-cta>.qcl-home-shell{padding:34px;border-radius:26px;background:linear-gradient(135deg,#eef8ff,#fff,#f2fbf7);border:1px solid #d2e6f4;display:flex;align-items:center;justify-content:space-between;gap:28px;box-shadow:0 18px 48px rgba(25,55,82,.08)}.qcl-final-cta h2{font-size:clamp(30px,4vw,46px);letter-spacing:-.04em;margin:7px 0;color:#10283d}.qcl-final-cta p{color:#688096;max-width:650px;margin:0;line-height:1.6}
@media(max-width:900px){.qcl-home-hero-grid,.qcl-duo{grid-template-columns:1fr}.qcl-home-copy{text-align:center}.qcl-home-copy>p{margin-left:auto;margin-right:auto}.qcl-home-actions,.qcl-proof{justify-content:center}.qcl-section-head{display:block}.qcl-section-head>p{margin-top:12px}.qcl-three{grid-template-columns:1fr}.qcl-service-grid{grid-template-columns:1fr 1fr}.qcl-final-cta>.qcl-home-shell{display:block}.qcl-final-cta .qcl-home-actions{margin-top:20px;justify-content:flex-start}}
@media(max-width:600px){.qcl-home-hero{padding:52px 0 45px}.qcl-home-copy h1{font-size:42px}.qcl-console-grid,.qcl-signal-grid,.qcl-service-grid{grid-template-columns:1fr}.qcl-signal-grid>div{border-right:0;border-bottom:1px solid #e3ebf1;padding:13px 0}.qcl-console-card{min-height:245px}.qcl-console-card .icon{margin-top:25px}.qcl-duo-card{min-height:340px;padding:22px}.qcl-duo-card h3{margin-top:42px}.qcl-duo-card ul{grid-template-columns:1fr}.qcl-section{padding:58px 0}.qcl-final-cta>.qcl-home-shell{padding:24px}}

/* Corporate Light must win even when old themes are dynamically appended later. */
html body.qt-marketing-shell{background:linear-gradient(180deg,#fff,#f4f7fb)!important;color:#10283d!important}
html body.qt-marketing-shell :where(h1,h2,h3,h4,h5,h6){color:#10283d!important}
html body.qt-marketing-shell :where(p,li,small,.muted,.lead){color:#61798f}

/* ========================================================================
   QTAG CORPORATE LIGHT — FINAL STABILIZATION PASS 2026-08-17 / final6
   One visual contract for public RO/EN pages. No runtime theme swapping.
   ======================================================================== */
html{background:#f4f7fb!important}
body.qt-marketing-shell,
body.qv4-public,body.qv4-service,body.qv4-safety,body.qv4-help{
  background:linear-gradient(180deg,#fff 0,#f6f9fc 52%,#eef3f8 100%)!important;
  color:#10283d!important;
}
body.qt-marketing-shell::before,body.qv4-public::before,body.qv4-service::before,body.qv4-safety::before,body.qv4-help::before{display:none!important}

/* Legacy .dx presentation/service pages: white/light surfaces and guaranteed contrast. */
body.qt-marketing-shell .dx,
body.qt-marketing-shell .dx-sec,
body.qt-marketing-shell .dx-sec.dx-alt,
body.qv4-service .dx,body.qv4-service .dx-sec,
body.qv4-public .dx,body.qv4-public .dx-sec{
  background:#fff!important;color:#10283d!important;
}
body.qt-marketing-shell .dx-sec.dx-alt,body.qv4-service .dx-sec.dx-alt,body.qv4-public .dx-sec.dx-alt{background:#f5f8fb!important}
body.qt-marketing-shell .dx :where(h1,h2,h3,h4,h5,h6),
body.qv4-service .dx :where(h1,h2,h3,h4,h5,h6),
body.qv4-public .dx :where(h1,h2,h3,h4,h5,h6){color:#10283d!important;-webkit-text-fill-color:currentColor!important}
body.qt-marketing-shell .dx :where(p,li,dd,.dx-lead,.sub,.muted),
body.qv4-service .dx :where(p,li,dd,.dx-lead,.sub,.muted),
body.qv4-public .dx :where(p,li,dd,.dx-lead,.sub,.muted){color:#5f768b!important;-webkit-text-fill-color:currentColor!important}
body.qt-marketing-shell .dx :where(.dx-card,.dx-big,.dx-block,.dx-step,.dx-check,.dx-stat),
body.qv4-service .dx :where(.dx-card,.dx-big,.dx-block,.dx-step,.dx-check,.dx-stat),
body.qv4-public .dx :where(.dx-card,.dx-big,.dx-block,.dx-step,.dx-check,.dx-stat){background:#fff!important;border-color:#dbe5ed!important;color:#10283d!important;box-shadow:0 9px 28px rgba(25,55,82,.06)!important}
body.qt-marketing-shell .dx .dx-band,
body.qv4-service .dx .dx-band,body.qv4-public .dx .dx-band{background:linear-gradient(135deg,#0b2f56,#155e9b)!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important}
body.qt-marketing-shell .dx .dx-band :where(h1,h2,h3,h4,b,strong),
body.qv4-service .dx .dx-band :where(h1,h2,h3,h4,b,strong),body.qv4-public .dx .dx-band :where(h1,h2,h3,h4,b,strong){color:#fff!important;-webkit-text-fill-color:#fff!important}
body.qt-marketing-shell .dx .dx-band :where(p,li,span),
body.qv4-service .dx .dx-band :where(p,li,span),body.qv4-public .dx .dx-band :where(p,li,span){color:#d6e8f8!important;-webkit-text-fill-color:currentColor!important}

/* Buttons/links must never inherit invisible text colors. */
body.qt-marketing-shell :where(.dx-btn.primary,.qcl-btn-primary,.btn.primary,.qt-btn-primary){color:#fff!important;-webkit-text-fill-color:#fff!important}
body.qt-marketing-shell :where(.dx-btn.ghost,.qcl-btn-secondary,.btn.ghost){color:#245578!important;-webkit-text-fill-color:#245578!important}

/* Header and mega menus — compact, premium, usable. */
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium{background:rgba(255,255,255,.97)!important;border-bottom:1px solid #dbe5ed!important;box-shadow:0 6px 22px rgba(25,55,82,.05)!important;backdrop-filter:blur(16px)!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-header-inner{height:68px!important;min-height:68px!important;max-width:1240px!important;padding:0 18px!important;gap:14px!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-logo img{width:116px!important;max-height:40px!important;filter:none!important;opacity:1!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-nav-link{min-height:40px!important;padding:0 10px!important;border-radius:10px!important;color:#365168!important;font-size:12.5px!important}
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-nav-link:hover,
body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-nav.open>.qt-nav-link{background:#eef5fb!important;color:#0874dd!important}
@media(min-width:1081px){
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-panel{
    position:fixed!important;top:68px!important;left:50%!important;transform:translate(-50%,-5px)!important;
    width:min(1120px,calc(100vw - 32px))!important;max-height:calc(100dvh - 84px)!important;overflow:auto!important;
    padding:12px!important;border:1px solid #dbe5ed!important;border-radius:0 0 18px 18px!important;background:#fff!important;color:#10283d!important;
    box-shadow:0 24px 64px rgba(15,42,70,.16)!important;
  }
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-nav.open>.qt-global-panel,
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-nav:hover>.qt-global-panel,
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-nav:focus-within>.qt-global-panel{transform:translate(-50%,0)!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-columns{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(215px,245px)!important;gap:8px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group{padding:9px!important;border:1px solid #e6edf3!important;border-radius:12px!important;background:#f9fbfd!important;min-width:0!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>header{padding:2px 3px 8px!important;gap:7px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>header>span{width:20px!important;height:20px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>header svg{width:17px!important;height:17px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>header b{font-size:10px!important;color:#0874dd!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item{grid-template-columns:30px minmax(0,1fr)!important;gap:8px!important;min-height:45px!important;padding:5px 4px!important;border-radius:9px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-icon{width:30px!important;height:30px!important;border-radius:9px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-icon svg{width:16px!important;height:16px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item b{font-size:11.2px!important;line-height:1.15!important;color:#173149!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-item small{font-size:9.1px!important;line-height:1.2!important;color:#70869a!important;margin-top:2px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature{min-height:285px!important;margin-left:0!important;padding:17px 16px 112px!important;border-radius:13px!important;background:linear-gradient(145deg,#f7fbff,#edf5fd)!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature h2{font-size:18px!important;margin:9px 0 6px!important;color:#10283d!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature p{font-size:10.5px!important;line-height:1.4!important;color:#60798f!important;margin-bottom:10px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature-cta{padding:8px 10px!important;font-size:10px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-visual{right:10px!important;bottom:9px!important;width:calc(100% - 20px)!important;height:92px!important}
  body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-visual img{border-radius:11px!important}
}

/* Operational Safe/Lost: fully light, not half dark. */
body.qt-safety-light .top :where(h1,h2,h3,b,strong){color:#10283d!important}
body.qt-safety-light .top :where(p,small,span:not(.badge):not(.pill)){color:#60798f!important}
body.qt-safety-light .topnav a,body.qt-safety-light .top a{color:#365168!important}
body.qt-safety-light .topnav a.active,body.qt-safety-light .tabs a.active{background:#eaf4ff!important;color:#1d5bd8!important;border-color:#bfd9fa!important}
body.qt-safety-light .qpo{background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important}
body.qt-safety-light .qpo :where(h2,b,strong){color:#10283d!important}
body.qt-safety-light .qpo :where(p,span){color:#60798f!important}
body.qt-safety-light .qpo-state.ok{background:#ecfdf5!important;border:1px solid #a7f3d0!important;color:#047857!important}
body.qt-safety-light .qpo-state:not(.ok){background:#fff7ed!important;border:1px solid #fed7aa!important;color:#b45309!important}
body.qt-safety-light .qpo-device{background:#f8fafc!important;border-color:#dbe5ed!important}
body.qt-safety-light .qpo-row strong{color:#173149!important}

/* Guardian Center status semantics — ACTIVE green, INACTIVE red. */
.qg-state .qg-ok{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:66px!important;padding:4px 8px!important;border-radius:999px!important;background:#ecfdf5!important;border:1px solid #a7f3d0!important;color:#047857!important;-webkit-text-fill-color:#047857!important;font-weight:950!important}
.qg-state .qg-no{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:66px!important;padding:4px 8px!important;border-radius:999px!important;background:#fef2f2!important;border:1px solid #fecaca!important;color:#dc2626!important;-webkit-text-fill-color:#dc2626!important;font-weight:950!important}

/* Development notice is a professional light card, never an orphan dark text strip. */
.qt-development-notice{width:min(1220px,calc(100% - 30px))!important;margin:34px auto 48px!important;padding:24px 26px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;border:1px solid #dbe5ed!important;border-radius:20px!important;background:linear-gradient(135deg,#fff,#f3f8fd)!important;color:#10283d!important;box-shadow:0 10px 30px rgba(25,55,82,.06)!important}
.qt-development-notice span{color:#0874dd!important;font-size:10px!important;font-weight:950!important;letter-spacing:.12em!important;text-transform:uppercase!important}.qt-development-notice h2{margin:7px 0 5px!important;color:#10283d!important;font-size:20px!important}.qt-development-notice p{margin:0!important;color:#60798f!important;line-height:1.55!important}.qt-development-notice>a{flex:0 0 auto!important;text-decoration:none!important;background:#087cf0!important;color:#fff!important;padding:11px 15px!important;border-radius:11px!important;font-weight:900!important}

/* Client app/dashboard: readable light surfaces including hero areas. */
body.qt-client-shell :where(.hero,.dash-hero,.app-hero,.client-hero,.welcome-hero){background:linear-gradient(135deg,#fff,#edf6ff)!important;color:#10283d!important;border-color:#dbe5ed!important}
body.qt-client-shell :where(.hero,.dash-hero,.app-hero,.client-hero,.welcome-hero) :where(h1,h2,h3,b,strong){color:#10283d!important}
body.qt-client-shell :where(.hero,.dash-hero,.app-hero,.client-hero,.welcome-hero) :where(p,span,small){color:#61798f!important}

/* Preserve readable text in intentional dark footer only. */
.qt-footer :where(h1,h2,h3,h4,b,strong){color:#dceaf5!important}.qt-footer :where(p,small,span){color:#8fa7bb!important}

@media(max-width:760px){
 .qt-development-notice{display:block!important;padding:20px!important}.qt-development-notice>a{display:inline-flex!important;margin-top:16px!important}
}

/* All public presentation hero systems share one Corporate Light contract. */
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.dx-hero,.bp-hero,.qp-hero,.qs-hero,.qa-hero,.shop-hero,.ac-hero,.dpp-hero,.med-hero,.px-hero,.qhow-hero,.car-hero,.svc-hero,.lc-hero){
  background:radial-gradient(680px 330px at 82% 0%,rgba(8,124,240,.10),transparent 70%),linear-gradient(180deg,#fff,#edf5fc)!important;
  color:#10283d!important;border-bottom:1px solid #dbe5ed!important;box-shadow:none!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.dx-hero,.bp-hero,.qp-hero,.qs-hero,.qa-hero,.shop-hero,.ac-hero,.dpp-hero,.med-hero,.px-hero,.qhow-hero,.car-hero,.svc-hero,.lc-hero) :is(h1,h2,h3,h4,strong,b){color:#10283d!important;-webkit-text-fill-color:#10283d!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.dx-hero,.bp-hero,.qp-hero,.qs-hero,.qa-hero,.shop-hero,.ac-hero,.dpp-hero,.med-hero,.px-hero,.qhow-hero,.car-hero,.svc-hero,.lc-hero) :is(p,li,small,label,em,span:not(.badge):not(.pill)){color:#60798f!important;-webkit-text-fill-color:currentColor!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.dx-hero,.bp-hero,.qp-hero,.qs-hero,.qa-hero,.shop-hero,.ac-hero,.dpp-hero,.med-hero,.px-hero,.qhow-hero,.car-hero,.svc-hero,.lc-hero) :is(.dx-eyebrow,.eyebrow,.overline,.tag,.kicker,.qp-eyebrow){color:#0874dd!important;-webkit-text-fill-color:#0874dd!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.dx-card,.dx-m,.dx-big,.dx-step,.dx-block,.dx-check,.hm-card,.px-card,.qt-card,.qt-real-flow-card,.qp-card,.qpx-card,.svc-card,.qa-card,.qs-card,.bp-card,.lc-card,.qhow-card,.car-card,.med-card,.dpp-card,.shop-card){background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important;box-shadow:0 9px 28px rgba(25,55,82,.06)!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.dx-card,.dx-m,.dx-big,.dx-step,.dx-block,.dx-check,.hm-card,.px-card,.qt-card,.qt-real-flow-card,.qp-card,.qpx-card,.svc-card,.qa-card,.qs-card,.bp-card,.lc-card,.qhow-card,.car-card,.med-card,.dpp-card,.shop-card) :is(h1,h2,h3,h4,b,strong){color:#10283d!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.dx-card,.dx-m,.dx-big,.dx-step,.dx-block,.dx-check,.hm-card,.px-card,.qt-card,.qt-real-flow-card,.qp-card,.qpx-card,.svc-card,.qa-card,.qs-card,.bp-card,.lc-card,.qhow-card,.car-card,.med-card,.dpp-card,.shop-card) :is(p,small,li,span:not(.badge):not(.pill)){color:#60798f!important}

/* FINAL legacy public-page normalization.
   Older QR/service pages use generic .card/.panel/.box markup. Keep them Corporate Light
   so no inherited dark skin can leave dark text on a dark surface. */
body.qt-public-light:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light){background:linear-gradient(180deg,#fff 0,#f7f9fc 42%,#eef3f8 100%)!important;color:#10283d!important}
body.qt-public-light:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(h1,h2,h3,h4,h5,h6,b,strong){color:#10283d!important;-webkit-text-fill-color:#10283d!important}
body.qt-public-light:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(p,small,.det,.muted,.sub,.lead){color:#60798f!important;-webkit-text-fill-color:#60798f!important}
body.qt-public-light:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(.card,.panel,.box,.tile,.service-card,.module-card,.feature-card){background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important;box-shadow:0 9px 26px rgba(25,55,82,.055)!important}
body.qt-public-light:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(input,select,textarea){background:#fff!important;color:#173149!important;border-color:#cad8e4!important}
body.qt-public-light:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(.ok,.success,.tag.active,.state.active,.status-active){color:#047857!important;-webkit-text-fill-color:#047857!important}
body.qt-public-light:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(.err,.error,.tag.inactive,.state.inactive,.status-inactive){color:#dc2626!important;-webkit-text-fill-color:#dc2626!important}
/* Preserve explicit navy brand bands with readable inverse text. */
body.qt-public-light :where(.dx-band,.qcl-dark-band,.qt-dark-band){background:linear-gradient(135deg,#06192d,#0a2d4c)!important;color:#fff!important}
body.qt-public-light :where(.dx-band,.qcl-dark-band,.qt-dark-band) :where(h1,h2,h3,h4,b,strong){color:#fff!important;-webkit-text-fill-color:#fff!important}
body.qt-public-light :where(.dx-band,.qcl-dark-band,.qt-dark-band) :where(p,small,span){color:#bed0df!important;-webkit-text-fill-color:#bed0df!important}

/* ================================================================
   FINAL7 — GLOBAL CORPORATE LIGHT / CONTRAST / NAV STABILIZATION
   This block intentionally sits last. It fixes legacy skins without
   touching authenticated app logic.
   ================================================================ */
html{color-scheme:light!important;background:#f4f7fb!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light){background:#f4f7fb!important;color:#10283d!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) .page,
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .dx,
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) .content-section{color:#10283d!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main :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) main :where(p,li,dd,dt,label,small){color:#60798f!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) main a:not(.btn):not(.dx-btn):not(.qt-btn):not(.ac-action){color:#1168c7}

/* Never let a legacy dark hero keep dark text or vice versa. */
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.hero,.hero-section,.page-hero,.dx-hero,.ac-top,.ac-hero,.svc-hero,.qs-hero,.qa-hero,.qp-hero,.qpx-hero,.bp-hero,.lc-hero,.qhow-hero,.car-hero,.med-hero,.dpp-hero,.shop-hero){
  background:radial-gradient(900px 430px at 82% -10%,rgba(8,124,240,.11),transparent 64%),linear-gradient(180deg,#fff,#f2f7fc)!important;
  color:#10283d!important;border-color:#dbe5ed!important
}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.hero,.hero-section,.page-hero,.dx-hero,.ac-top,.ac-hero,.svc-hero,.qs-hero,.qa-hero,.qp-hero,.qpx-hero,.bp-hero,.lc-hero,.qhow-hero,.car-hero,.med-hero,.dpp-hero,.shop-hero) :where(h1,h2,h3,strong,b){color:#10283d!important;-webkit-text-fill-color:currentColor!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.hero,.hero-section,.page-hero,.dx-hero,.ac-top,.ac-hero,.svc-hero,.qs-hero,.qa-hero,.qp-hero,.qpx-hero,.bp-hero,.lc-hero,.qhow-hero,.car-hero,.med-hero,.dpp-hero,.shop-hero) :where(p,small,li){color:#60798f!important;-webkit-text-fill-color:currentColor!important}

/* Compact, deterministic desktop mega menu. The decorative legacy visual
   is hidden because it was the source of the giant + / arrow overlay. */
@media (min-width:1081px){
  html body .qt-header-premium{height:72px!important;min-height:72px!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #dbe5ed!important;box-shadow:0 4px 18px rgba(31,61,88,.05)!important}
  html body .qt-header-premium .qt-logo img{max-width:118px!important;max-height:42px!important;width:auto!important;height:auto!important}
  html body .qt-header-premium .qt-nav-link{min-height:40px!important;padding:0 10px!important;font-size:13px!important;color:#365168!important;border-radius:10px!important}
  html body .qt-header-premium .qt-nav-link:hover,html body .qt-header-premium .qt-global-nav.open>.qt-nav-link{background:#eef5fb!important;color:#0b5da9!important}
  html body .qt-header-premium .qt-global-panel{position:fixed!important;top:72px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(1040px,calc(100vw - 40px))!important;max-width:1040px!important;max-height:min(520px,calc(100vh - 92px))!important;overflow:auto!important;margin:0!important;padding:14px!important;border:1px solid #dbe5ed!important;border-radius:0 0 18px 18px!important;background:#fff!important;box-shadow:0 24px 60px rgba(14,42,78,.16)!important}
  html body .qt-header-premium .qt-global-columns{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) 230px!important;gap:8px!important;align-items:start!important}
  html body .qt-header-premium .qt-global-group{padding:10px!important;border:1px solid #edf2f6!important;border-radius:12px!important;background:#fbfdff!important;min-width:0!important}
  html body .qt-header-premium .qt-global-group-title{margin:0 0 7px!important;font-size:10px!important;line-height:1.2!important;color:#6d8498!important;letter-spacing:.09em!important}
  html body .qt-header-premium .qt-global-item{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;min-height:42px!important;padding:6px!important;border-radius:9px!important;color:#173149!important}
  html body .qt-header-premium .qt-global-icon{width:30px!important;height:30px!important;min-width:30px!important;padding:6px!important;border-radius:9px!important}
  html body .qt-header-premium .qt-global-icon svg{width:16px!important;height:16px!important;max-width:16px!important;max-height:16px!important}
  html body .qt-header-premium .qt-global-item b{font-size:11px!important;line-height:1.2!important;color:#173149!important}
  html body .qt-header-premium .qt-global-item small{font-size:9px!important;line-height:1.25!important;color:#71899d!important}
  html body .qt-header-premium .qt-global-feature{grid-column:4!important;grid-row:1 / span 3!important;min-height:0!important;height:auto!important;padding:14px!important;margin:0!important;border-radius:13px!important;background:linear-gradient(145deg,#eef7ff,#f8fbff)!important;border:1px solid #d7e7f5!important;color:#173149!important}
  html body .qt-header-premium .qt-global-feature :where(h3,b,strong){color:#173149!important}
  html body .qt-header-premium .qt-global-feature :where(p,small,span){color:#61798f!important}
  html body .qt-header-premium .qt-global-visual{display:none!important}
  html body .qt-header-premium .qt-global-band{margin-top:8px!important;padding:8px 10px!important;min-height:34px!important;background:#f6f9fc!important;border-radius:10px!important;color:#61798f!important}
}

/* Operational Safe / Lost Phone: LIGHT surfaces and readable content. */
body.qt-safety-light{background:#f4f7fb!important;color:#10283d!important}
body.qt-safety-light :where(header,.topbar,.safe-top,.lost-top){background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important}
body.qt-safety-light header :where(a,button),body.qt-safety-light .safe-top :where(a,button),body.qt-safety-light .lost-top :where(a,button){color:#365168!important;-webkit-text-fill-color:#365168!important}
body.qt-safety-light main :where(h1,h2,h3,h4,b,strong){color:#10283d!important;-webkit-text-fill-color:#10283d!important}
body.qt-safety-light main :where(p,span,small,li,label){color:#60798f!important;-webkit-text-fill-color:#60798f!important}
body.qt-safety-light .qpo,body.qt-safety-light .qpo-device{background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important}
body.qt-safety-light .qpo :where(h2,b,strong),body.qt-safety-light .qpo-device :where(b,strong){color:#10283d!important;-webkit-text-fill-color:#10283d!important}
body.qt-safety-light .qpo :where(p,span),body.qt-safety-light .qpo-row{color:#60798f!important;-webkit-text-fill-color:#60798f!important}
body.qt-safety-light .qpo-row strong{color:#173149!important;-webkit-text-fill-color:#173149!important}
body.qt-safety-light .qpo button{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Professional state badges — never plain black ACTIVE/INACTIVE text. */
body .qg-state .qg-ok,body .state-active,body .status-active,body [data-state="active"]{background:#ecfdf5!important;border:1px solid #a7f3d0!important;color:#047857!important;-webkit-text-fill-color:#047857!important;border-radius:999px!important;font-weight:900!important}
body .qg-state .qg-no,body .state-inactive,body .status-inactive,body [data-state="inactive"]{background:#fef2f2!important;border:1px solid #fecaca!important;color:#c81e1e!important;-webkit-text-fill-color:#c81e1e!important;border-radius:999px!important;font-weight:900!important}

/* Presentation cards must always remain light and readable. */
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.dx-card,.dx-m,.dx-big,.dx-step,.dx-block,.dx-check,.feature-card,.product-tile,.qr-categories button,.timeline-step,.pillar-grid button,.guide-grid>div,.help-grid button,.safe-panel,.lost-panel,.big-service,.ac-card,.ac-summary,.ac-example,.svc-card,.qa-card,.qs-card,.qp-card,.qpx-card,.bp-card,.lc-card,.qhow-card,.car-card,.med-card,.dpp-card,.shop-card){background:#fff!important;border-color:#dbe5ed!important;color:#10283d!important;box-shadow:0 10px 30px rgba(31,61,88,.06)!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.dx-card,.dx-m,.dx-big,.dx-step,.dx-block,.dx-check,.feature-card,.product-tile,.qr-categories button,.timeline-step,.pillar-grid button,.guide-grid>div,.help-grid button,.safe-panel,.lost-panel,.big-service,.ac-card,.ac-summary,.ac-example,.svc-card,.qa-card,.qs-card,.qp-card,.qpx-card,.bp-card,.lc-card,.qhow-card,.car-card,.med-card,.dpp-card,.shop-card) :where(h2,h3,h4,b,strong){color:#10283d!important;-webkit-text-fill-color:#10283d!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.dx-card,.dx-m,.dx-big,.dx-step,.dx-block,.dx-check,.feature-card,.product-tile,.qr-categories button,.timeline-step,.pillar-grid button,.guide-grid>div,.help-grid button,.safe-panel,.lost-panel,.big-service,.ac-card,.ac-summary,.ac-example,.svc-card,.qa-card,.qs-card,.qp-card,.qpx-card,.bp-card,.lc-card,.qhow-card,.car-card,.med-card,.dpp-card,.shop-card) :where(p,small,li,span:not(.badge):not(.pill)){color:#60798f!important;-webkit-text-fill-color:#60798f!important}

/* Footer logo must remain visible against the navy footer. */
.qt-footer-premium{background:#07172d!important;color:#dce9f4!important}
.qt-footer-premium .qt-footer-logo img,.qt-footer-premium img[alt*="QTag"]{display:block!important;opacity:1!important;visibility:visible!important;filter:none!important;max-width:126px!important;height:auto!important}

/* ========================================================================
   FINAL8 — hard contrast + presentation consistency pass
   Public presentation pages are Corporate Light. Dark surfaces are limited
   to the footer and small map/status HUDs that explicitly carry light text.
   ======================================================================== */
body.qt-public-light,body.qv4-public,body.qv4-service,body.qv4-safety,body.qv4-help,body.qt-marketing-shell{
  color-scheme:light!important;
}
body.qt-public-light :is(.ac-hero,.sec,.px-sec,.qp-sec,.bp-section,.qhow-content,.job-wrap,.ph,.bh,.dhero),
body.qv4-public :is(.ac-hero,.sec,.px-sec,.qp-sec,.bp-section,.qhow-content,.job-wrap,.ph,.bh,.dhero),
body.qv4-service :is(.ac-hero,.sec,.px-sec,.qp-sec,.bp-section,.qhow-content,.job-wrap,.ph,.bh,.dhero),
body.qv4-safety :is(.ac-hero,.sec,.px-sec,.qp-sec,.bp-section,.qhow-content,.job-wrap,.ph,.bh,.dhero){
  background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important;
}
body.qt-public-light :is(.dark,.bp-section.dark,.qp-sec.dark,.px-sec.dark),
body.qv4-public :is(.dark,.bp-section.dark,.qp-sec.dark,.px-sec.dark),
body.qv4-service :is(.dark,.bp-section.dark,.qp-sec.dark,.px-sec.dark),
body.qv4-safety :is(.dark,.bp-section.dark,.qp-sec.dark,.px-sec.dark){
  background:linear-gradient(180deg,#f7fafd,#eef4f9)!important;color:#10283d!important;border-color:#dbe5ed!important;
}
body.qt-public-light :is(.dark,.bp-section.dark,.qp-sec.dark,.px-sec.dark) :is(h1,h2,h3,h4,h5,h6,b,strong,p,li,small,span),
body.qv4-public :is(.dark,.bp-section.dark,.qp-sec.dark,.px-sec.dark) :is(h1,h2,h3,h4,h5,h6,b,strong,p,li,small,span),
body.qv4-service :is(.dark,.bp-section.dark,.qp-sec.dark,.px-sec.dark) :is(h1,h2,h3,h4,h5,h6,b,strong,p,li,small,span),
body.qv4-safety :is(.dark,.bp-section.dark,.qp-sec.dark,.px-sec.dark) :is(h1,h2,h3,h4,h5,h6,b,strong,p,li,small,span){
  color:#10283d!important;-webkit-text-fill-color:currentColor!important;
}
body.qt-public-light :is(.dark,.bp-section.dark,.qp-sec.dark,.px-sec.dark) :is(p,li,small,span),
body.qv4-public :is(.dark,.bp-section.dark,.qp-sec.dark,.px-sec.dark) :is(p,li,small,span),
body.qv4-service :is(.dark,.bp-section.dark,.qp-sec.dark,.px-sec.dark) :is(p,li,small,span),
body.qv4-safety :is(.dark,.bp-section.dark,.qp-sec.dark,.px-sec.dark) :is(p,li,small,span){color:#60798f!important}

/* Legacy category/service pages: enforce readable cards and headings. */
body.qv4-service :is(.sec,.px-sec,.qp-sec,.bp-section,.qt-section,.dx-sec) :is(h1,h2,h3,h4,h5,h6,b,strong),
body.qt-public-light :is(.sec,.px-sec,.qp-sec,.bp-section,.qt-section,.dx-sec) :is(h1,h2,h3,h4,h5,h6,b,strong){color:#10283d!important;-webkit-text-fill-color:#10283d!important}
body.qv4-service :is(.sec,.px-sec,.qp-sec,.bp-section,.qt-section,.dx-sec) :is(p,li,small,dd),
body.qt-public-light :is(.sec,.px-sec,.qp-sec,.bp-section,.qt-section,.dx-sec) :is(p,li,small,dd){color:#60798f!important;-webkit-text-fill-color:currentColor!important}
body.qv4-service :is(.card,.box,.px-card,.qp-card,.bp-card,.qa-card,.svc-card,.qt-card),
body.qt-public-light :is(.card,.box,.px-card,.qp-card,.bp-card,.qa-card,.svc-card,.qt-card){background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important;box-shadow:0 9px 28px rgba(25,55,82,.06)!important}

/* Safe/Lost operational panels are light; only compact HUDs stay dark. */
body.qt-safety-light{background:linear-gradient(180deg,#fff,#eef4f9)!important;color:#10283d!important}
body.qt-safety-light :is(.hero,.card,.qpo,.metric,.stat,.gate,.safe-gate,.safe-demo-hero){background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important;box-shadow:0 9px 28px rgba(25,55,82,.06)!important}
body.qt-safety-light :is(.hero,.card,.qpo,.metric,.stat,.gate,.safe-gate,.safe-demo-hero) :is(h1,h2,h3,h4,b,strong){color:#10283d!important;-webkit-text-fill-color:#10283d!important}
body.qt-safety-light :is(.hero,.card,.qpo,.metric,.stat,.gate,.safe-gate,.safe-demo-hero) :is(p,small,span:not(.pill):not(.badge)){color:#60798f!important;-webkit-text-fill-color:currentColor!important}
body.qt-safety-light :is(.safe-gate-side,.gate-preview){background:linear-gradient(145deg,#edf6ff,#f8fbfe)!important;color:#10283d!important}
body.qt-safety-light :is(.safe-gate-side,.gate-preview) :is(h1,h2,h3,b,strong){color:#10283d!important}
body.qt-safety-light :is(.safe-gate-side,.gate-preview) :is(p,span){color:#60798f!important}
body.qt-safety-light :is(.replay-bar,.lost-replay,.qtag-live-hud){background:linear-gradient(135deg,#07172d,#102f56)!important;color:#eaf5ff!important}
body.qt-safety-light :is(.replay-bar,.lost-replay,.qtag-live-hud) :is(b,strong){color:#fff!important}
body.qt-safety-light :is(.replay-bar,.lost-replay,.qtag-live-hud) :is(span,small){color:#c7ddf1!important}

/* ACTIVE / INACTIVE semantics anywhere in Guardian/phone readiness cards. */
.qg-ok,.status-active,.state-active,[data-state="active"]{color:#047857!important;-webkit-text-fill-color:#047857!important}
.qg-no,.status-inactive,.state-inactive,[data-state="inactive"]{color:#dc2626!important;-webkit-text-fill-color:#dc2626!important}
.qg-state .qg-ok,.qg-state .qg-no{font-size:11px!important;line-height:1!important;letter-spacing:.03em!important}

/* Presentation CTA stays light and leads to account creation/plans. */
body.qv4-service .dx-final,body.qv4-safety .dx-final,body.qt-marketing-shell .dx-final{
  background:linear-gradient(135deg,#edf7ff,#f8fbfe)!important;color:#10283d!important;border-top:1px solid #dbe5ed!important;
}
body.qv4-service .dx-final :is(h1,h2,h3,b,strong),body.qv4-safety .dx-final :is(h1,h2,h3,b,strong),body.qt-marketing-shell .dx-final :is(h1,h2,h3,b,strong){color:#10283d!important}
body.qv4-service .dx-final :is(p,span),body.qv4-safety .dx-final :is(p,span),body.qt-marketing-shell .dx-final :is(p,span){color:#60798f!important}

/* Mega menu final guardrails: no oversized icons/panels. */
@media(min-width:1081px){
 body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-panel{width:min(1080px,calc(100vw - 40px))!important;padding:10px!important;overflow-x:hidden!important}
 body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-columns{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(190px,220px)!important;gap:7px!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{flex:0 0 auto!important;overflow:hidden!important}
 body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-icon :is(svg,img),body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-group>header>span :is(svg,img){width:16px!important;height:16px!important;max-width:16px!important;max-height:16px!important;object-fit:contain!important}
 body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-feature{min-height:260px!important;padding-bottom:98px!important;overflow:hidden!important}
 body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-visual{height:78px!important;overflow:hidden!important}
 body:not(.qt-admin-shell):not(.qt-client-shell) .qt-global-visual img{width:100%!important;height:100%!important;object-fit:cover!important}
}

/* ========================================================================
   FINAL9 — universal Corporate Light safety net (RO/EN presentation pages)
   Does not touch admin/client application shells. Operational Safe/Lost has
   a dedicated light rule set below. This block is intentionally last.
   ======================================================================== */
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light){
  color-scheme:light!important;background:linear-gradient(180deg,#fff 0,#f7f9fc 45%,#eef3f8 100%)!important;color:#10283d!important;
}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(h1,h2,h3,h4,h5,h6){color:#10283d!important;-webkit-text-fill-color:#10283d!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :where(p,li,dd,figcaption,.lead,.sub,.muted){color:#60798f!important;-webkit-text-fill-color:currentColor!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.sec,.px-sec,.qp-sec,.bp-section,.qt-section,.dx-sec,.ac-hero,.qhow-content,.content-section,.page-hero,.home-hero){color:#10283d!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.card,.box,.feature-card,.product-tile,.price-card,.timeline-step,.pillar-grid button,.guide-grid>div,.help-grid button,.qr-categories button,.px-card,.qp-card,.bp-card,.qa-card,.svc-card,.ac-card,.ac-summary,.ac-example,.dx-card,.dx-m,.dx-big,.dx-step,.dx-block,.dx-check){background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important;box-shadow:0 9px 28px rgba(25,55,82,.06)!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.card,.box,.feature-card,.product-tile,.price-card,.timeline-step,.pillar-grid button,.guide-grid>div,.help-grid button,.qr-categories button,.px-card,.qp-card,.bp-card,.qa-card,.svc-card,.ac-card,.ac-summary,.ac-example,.dx-card,.dx-m,.dx-big,.dx-step,.dx-block,.dx-check) :where(h2,h3,h4,b,strong){color:#10283d!important;-webkit-text-fill-color:#10283d!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(.card,.box,.feature-card,.product-tile,.price-card,.timeline-step,.pillar-grid button,.guide-grid>div,.help-grid button,.qr-categories button,.px-card,.qp-card,.bp-card,.qa-card,.svc-card,.ac-card,.ac-summary,.ac-example,.dx-card,.dx-m,.dx-big,.dx-step,.dx-block,.dx-check) :where(p,small,li,dd){color:#60798f!important;-webkit-text-fill-color:currentColor!important}
/* Legacy dark-marked marketing surfaces become light; actual footer stays navy. */
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(section.dark,.sec.dark,.px-sec.dark,.qp-sec.dark,.bp-section.dark,.premium-block,.alt-surface){background:linear-gradient(180deg,#f7fafd,#eef4f9)!important;color:#10283d!important;border-color:#dbe5ed!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(section.dark,.sec.dark,.px-sec.dark,.qp-sec.dark,.bp-section.dark,.premium-block,.alt-surface) :where(h1,h2,h3,h4,b,strong){color:#10283d!important;-webkit-text-fill-color:#10283d!important}
body:not(.qt-admin-shell):not(.qt-client-shell):not(.qt-safety-light) :is(section.dark,.sec.dark,.px-sec.dark,.qp-sec.dark,.bp-section.dark,.premium-block,.alt-surface) :where(p,li,small,span:not(.pill):not(.badge)){color:#60798f!important;-webkit-text-fill-color:currentColor!important}
/* Keep branded primary controls legible after broad text overrides. */
body:not(.qt-admin-shell):not(.qt-client-shell) :is(.btn.primary,.qcl-btn-primary,.qv4-btn-primary,.dx-btn.primary,.qt-btn-primary,.ac-action.primary,.primary-btn){color:#fff!important;-webkit-text-fill-color:#fff!important}
/* Operational Safe/Lost: no navy content cards with navy text. */
body.qt-safety-light :is(.hero,.card,.qpo,.metric,.stat,.gate,.safe-gate,.safe-demo-hero,.qg-card){background:#fff!important;color:#10283d!important;border-color:#dbe5ed!important}
body.qt-safety-light :is(.hero,.card,.qpo,.metric,.stat,.gate,.safe-gate,.safe-demo-hero,.qg-card) :where(h1,h2,h3,h4,b,strong){color:#10283d!important;-webkit-text-fill-color:#10283d!important}
body.qt-safety-light :is(.hero,.card,.qpo,.metric,.stat,.gate,.safe-gate,.safe-demo-hero,.qg-card) :where(p,small,span:not(.pill):not(.badge):not(.qg-ok):not(.qg-no)){color:#60798f!important;-webkit-text-fill-color:currentColor!important}
/* Explicit semantic statuses. */
.qg-state .qg-ok,.state-active,.status-active,[data-state="active"]{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:68px!important;padding:5px 9px!important;border:1px solid #a7f3d0!important;border-radius:999px!important;background:#ecfdf5!important;color:#047857!important;-webkit-text-fill-color:#047857!important;font-weight:950!important}
.qg-state .qg-no,.state-inactive,.status-inactive,[data-state="inactive"]{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:68px!important;padding:5px 9px!important;border:1px solid #fecaca!important;border-radius:999px!important;background:#fef2f2!important;color:#c81e1e!important;-webkit-text-fill-color:#c81e1e!important;font-weight:950!important}
/* Header/mega menu remains compact, white and clipped to the viewport. */
@media(min-width:1081px){
 html body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-panel{top:68px!important;width:min(1040px,calc(100vw - 32px))!important;max-height:calc(100vh - 84px)!important;padding:10px!important;border-radius:0 0 16px 16px!important;background:#fff!important;overflow:auto!important}
 html body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-columns{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(180px,205px)!important;gap:7px!important}
 html body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-group{padding:8px!important;min-width:0!important;background:#fbfdff!important}
 html body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-item{grid-template-columns:28px minmax(0,1fr)!important;min-height:38px!important;padding:5px!important;overflow:hidden!important}
 html body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-icon{width:28px!important;height:28px!important;min-width:28px!important;padding:6px!important}
 html body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-icon :is(svg,img){width:15px!important;height:15px!important;max-width:15px!important;max-height:15px!important}
 html body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-feature{min-height:0!important;height:auto!important;padding:12px!important;overflow:hidden!important}
 html body:not(.qt-admin-shell):not(.qt-client-shell) .qt-header-premium .qt-global-visual{display:none!important}
}
