/* Assemble Teams canonical public site shell.
   This is the single CSS owner for global navigation, logo, mobile menu and footer. */
:root{
  color-scheme:dark;
  --shell-bg:#060911;
  --shell-panel:#0a1020;
  --shell-line:rgba(147,160,180,.18);
  --shell-ink:#f2f5fa;
  --shell-muted:#a8b2c4;
  --shell-dim:#738198;
  --shell-blue:#3a67f0;
  --shell-sprite-green:var(--sprite-green,#00A752);
  --shell-sprite-wash:var(--sprite-green-wash,rgba(0,167,82,.08));
  --shell-sprite-line:var(--sprite-green-line,rgba(0,167,82,.28));
}

nav.nv[data-site-shell="canonical"]{
  position:sticky!important;
  top:0!important;
  z-index:60!important;
  background:rgba(6,9,17,.96)!important;
  backdrop-filter:blur(14px)!important;
  border-bottom:1px solid var(--shell-line)!important;
}
nav.nv[data-site-shell="canonical"] .nv-in{
  width:min(90vw,1400px)!important;
  max-width:1400px!important;
  min-height:72px!important;
  margin:0 auto!important;
  padding:10px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:16px!important;
}
nav.nv[data-site-shell="canonical"] .nv-logo{
  min-height:56px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin-right:0!important;
  flex:0 0 auto!important;
  font-family:'Bricolage Grotesque',sans-serif!important;
  font-size:18px!important;
  font-weight:700!important;
  line-height:1!important;
  color:var(--shell-ink)!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
nav.nv[data-site-shell="canonical"] .nv-nav-group{
  display:flex!important;
  align-items:center!important;
  gap:clamp(12px,1.2vw,18px)!important;
  margin-left:clamp(96px,10vw,180px)!important;
  flex:0 0 auto!important;
}
nav.nv[data-site-shell="canonical"] .nv-logo .at-logo{
  width:52px!important;
  height:52px!important;
  max-width:52px!important;
  min-width:52px!important;
  object-fit:cover!important;
  border-radius:8px!important;
  display:block!important;
  flex:0 0 52px!important;
}
nav.nv[data-site-shell="canonical"] .nv-item{position:relative!important}
nav.nv[data-site-shell="canonical"] .nv-btn{
  background:none!important;
  border:0!important;
  color:var(--shell-muted)!important;
  font:500 15px 'JetBrains Mono',monospace!important;
  cursor:pointer!important;
  padding:10px 2px!important;
}
nav.nv[data-site-shell="canonical"] .nv-btn:hover,
nav.nv[data-site-shell="canonical"] .nv-item:focus-within .nv-btn{
  color:var(--shell-ink)!important;
}
nav.nv[data-site-shell="canonical"] .nv-direct{
  color:var(--shell-muted)!important;
  font:500 15px 'JetBrains Mono',monospace!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  padding:10px 2px!important;
}
nav.nv[data-site-shell="canonical"] .nv-direct:hover,
nav.nv[data-site-shell="canonical"] .nv-direct:focus-visible{
  color:var(--shell-ink)!important;
}
nav.nv[data-site-shell="canonical"] .nv-drop{
  display:none;
  position:absolute!important;
  top:100%!important;
  left:-20px!important;
  z-index:80!important;
  background:#0a0f1c!important;
  border:1px solid var(--shell-line)!important;
  border-radius:14px!important;
  box-shadow:0 18px 44px rgba(0,0,0,.5)!important;
}
nav.nv[data-site-shell="canonical"] .nv-drop.nv-mega{
  min-width:560px!important;
  grid-template-columns:1fr 1fr!important;
  gap:4px 18px!important;
  padding:16px 16px 8px!important;
}
nav.nv[data-site-shell="canonical"] .nv-item:hover .nv-mega,
nav.nv[data-site-shell="canonical"] .nv-item:focus-within .nv-mega,
nav.nv[data-site-shell="canonical"] .nv-item.open .nv-mega{
  display:grid!important;
}
nav.nv[data-site-shell="canonical"] .nv-col h6{
  margin:4px 0 8px!important;
  padding-left:12px!important;
  color:var(--shell-dim)!important;
  font:600 13px 'JetBrains Mono',monospace!important;
  letter-spacing:.16em!important;
}
nav.nv[data-site-shell="canonical"] .nv-mega a{
  display:block!important;
  padding:9px 12px!important;
  border-radius:9px!important;
  color:var(--shell-muted)!important;
  text-decoration:none!important;
}
nav.nv[data-site-shell="canonical"] .nv-mega a:hover{background:var(--shell-sprite-wash)!important;box-shadow:inset 2px 0 0 var(--shell-sprite-line)!important}
nav.nv[data-site-shell="canonical"] .nv-mega a b{
  display:block!important;
  color:var(--shell-ink)!important;
  font:700 15.5px 'Bricolage Grotesque',sans-serif!important;
}
nav.nv[data-site-shell="canonical"] .nv-mega a span{
  display:block!important;
  margin-top:3px!important;
  color:var(--shell-dim)!important;
  font:400 14px/1.45 'JetBrains Mono',monospace!important;
}
nav.nv[data-site-shell="canonical"] .nv-view{
  grid-column:1/-1!important;
  margin-top:8px!important;
  padding:10px 12px 6px!important;
  border-top:1px solid var(--shell-line)!important;
}
nav.nv[data-site-shell="canonical"] .nv-view a{
  display:inline!important;
  padding:0!important;
  color:#91a8f8!important;
  font:600 14px 'JetBrains Mono',monospace!important;
}
nav.nv[data-site-shell="canonical"] .nv-cta,
nav.nv[data-site-shell="canonical"] .nv-cta2{
  min-height:40px!important;
  padding:9px 16px!important;
  border-radius:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  font:600 14.5px 'JetBrains Mono',monospace!important;
  text-decoration:none!important;
}
nav.nv[data-site-shell="canonical"] .nv-cta{
  background:var(--shell-blue)!important;
  border:1px solid var(--shell-blue)!important;
  color:#fff!important;
}
nav.nv[data-site-shell="canonical"] .nv-cta2{
  background:transparent!important;
  border:1px solid var(--shell-line)!important;
  color:var(--shell-ink)!important;
}
nav.nv[data-site-shell="canonical"] .nv-cta:hover{background:#2f56d4!important}
nav.nv[data-site-shell="canonical"] .nv-cta2:hover{border-color:rgba(168,178,196,.55)!important}

nav.nv[data-site-shell="canonical"] .nv-mobile-toggle{
  display:none;
  min-width:42px!important;
  min-height:40px!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid var(--shell-line)!important;
  border-radius:9px!important;
  background:transparent!important;
  color:var(--shell-ink)!important;
  font:600 14px 'JetBrains Mono',monospace!important;
  cursor:pointer!important;
}
nav.nv[data-site-shell="canonical"] .nv-mobile-panel{
  position:absolute!important;
  top:calc(100% + 1px)!important;
  left:12px!important;
  right:12px!important;
  z-index:90!important;
  padding:12px!important;
  border:1px solid var(--shell-line)!important;
  border-radius:16px!important;
  background:#080e1b!important;
  box-shadow:0 22px 58px rgba(0,0,0,.5)!important;
}
nav.nv[data-site-shell="canonical"] .nv-mobile-panel[hidden]{display:none!important}
nav.nv[data-site-shell="canonical"] .nv-mobile-panel a{
  display:block!important;
  padding:11px 12px!important;
  border-radius:9px!important;
  color:var(--shell-muted)!important;
  text-decoration:none!important;
  font:600 15px/1.4 'JetBrains Mono',monospace!important;
}
nav.nv[data-site-shell="canonical"] .nv-mobile-panel a:hover,
nav.nv[data-site-shell="canonical"] .nv-mobile-panel a:focus-visible{
  background:var(--shell-sprite-wash)!important;
  box-shadow:inset 2px 0 0 var(--shell-sprite-line)!important;
  color:var(--shell-ink)!important;
}
nav.nv[data-site-shell="canonical"] .nv-mobile-panel .nv-mobile-primary{
  margin-top:6px!important;
  background:var(--shell-blue)!important;
  color:#fff!important;
}
nav.nv[data-site-shell="canonical"] a:focus-visible,
nav.nv[data-site-shell="canonical"] button:focus-visible,
footer.ft[data-site-shell="canonical"] a:focus-visible{
  outline:2px solid var(--shell-sprite-green)!important;
  outline-offset:3px!important;
}

footer.ft[data-site-shell="canonical"]{
  padding:56px 24px 34px!important;
  border-top:1px solid var(--shell-line)!important;
  background:var(--shell-panel)!important;
}
footer.ft[data-site-shell="canonical"] .ft-in{max-width:1180px!important;margin:0 auto!important}
footer.ft[data-site-shell="canonical"] .ft-grid{
  display:grid!important;
  grid-template-columns:1.4fr repeat(5,1fr)!important;
  gap:30px!important;
}
footer.ft[data-site-shell="canonical"] .nv-logo{
  min-height:60px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  color:var(--shell-ink)!important;
  text-decoration:none!important;
  font:700 18px 'Bricolage Grotesque',sans-serif!important;
}
footer.ft[data-site-shell="canonical"] .nv-logo .at-logo{
  width:56px!important;
  height:56px!important;
  max-width:56px!important;
  min-width:56px!important;
  object-fit:cover!important;
  border-radius:8px!important;
  display:block!important;
  flex:0 0 56px!important;
}
footer.ft[data-site-shell="canonical"] .ft-brand p{
  max-width:26ch!important;
  margin-top:10px!important;
  color:var(--shell-dim)!important;
  font:400 15.5px/1.65 'Lora',serif!important;
}
footer.ft[data-site-shell="canonical"] .ft-brand>p:first-of-type{
  margin-top:8px!important;
  color:var(--shell-muted)!important;
}
footer.ft[data-site-shell="canonical"] h6{
  margin:0 0 14px!important;
  color:var(--shell-dim)!important;
  font:600 12.5px 'JetBrains Mono',monospace!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
footer.ft[data-site-shell="canonical"] a{
  display:block!important;
  padding:5px 0!important;
  color:var(--shell-muted)!important;
  text-decoration:none!important;
  font:400 15px/1.5 'JetBrains Mono',monospace!important;
}
footer.ft[data-site-shell="canonical"] a:hover{color:var(--shell-ink)!important}
footer.ft[data-site-shell="canonical"] .ft-more{
  margin-top:36px!important;
  padding-top:20px!important;
  display:flex!important;
  justify-content:space-between!important;
  gap:16px!important;
  flex-wrap:wrap!important;
  border-top:1px solid var(--shell-line)!important;
  color:var(--shell-dim)!important;
  font:400 13px/1.6 'JetBrains Mono',monospace!important;
}
footer.ft[data-site-shell="canonical"] .ft-more a{
  display:inline!important;
  margin-right:14px!important;
  color:var(--shell-dim)!important;
  font-size:13px!important;
}

/* Benchmark CTA is a page-content action; it intentionally matches Reserve Your Spot weight. */
a.benchmark-awareness-link{
  min-height:46px!important;
  padding:0 18px!important;
  border:1px solid var(--shell-blue)!important;
  border-radius:10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:var(--shell-blue)!important;
  color:#fff!important;
  font:600 14.5px 'JetBrains Mono',monospace!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-shadow:0 10px 28px rgba(58,103,240,.18)!important;
}
a.benchmark-awareness-link:hover{
  background:#2f56d4!important;
  border-color:#2f56d4!important;
  color:#fff!important;
}

@media(max-width:980px){
  footer.ft[data-site-shell="canonical"] .ft-grid{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:1450px){
  nav.nv[data-site-shell="canonical"] .nv-in{gap:12px!important}
  nav.nv[data-site-shell="canonical"] .nv-cta,
  nav.nv[data-site-shell="canonical"] .nv-cta2{
    padding:8px 11px!important;
    font-size:13px!important;
  }
  nav.nv[data-site-shell="canonical"] .nv-cta2{display:none!important}
  nav.nv[data-site-shell="canonical"] .nv-btn{font-size:14px!important}
}
@media(max-width:1200px){
  nav.nv[data-site-shell="canonical"] .nv-item,
  nav.nv[data-site-shell="canonical"] .nv-direct{display:none!important}
  nav.nv[data-site-shell="canonical"] .nv-in{gap:10px!important}
  nav.nv[data-site-shell="canonical"] .nv-logo{margin-right:auto!important}
  nav.nv[data-site-shell="canonical"] .nv-nav-group{gap:10px!important;margin-left:0!important}
  nav.nv[data-site-shell="canonical"] .nv-cta2{display:none!important}
  nav.nv[data-site-shell="canonical"] .nv-mobile-toggle{display:inline-flex!important}
}
@media(max-width:650px){
  nav.nv[data-site-shell="canonical"] .nv-in{
    width:min(100% - 40px,1180px)!important;
    min-height:64px!important;
  }
  nav.nv[data-site-shell="canonical"] .nv-logo .at-logo{
    width:42px!important;
    height:42px!important;
    max-width:42px!important;
    min-width:42px!important;
    flex-basis:42px!important;
  }
  nav.nv[data-site-shell="canonical"] .nv-cta{
    padding:9px 11px!important;
    font-size:13.5px!important;
  }
  footer.ft[data-site-shell="canonical"]{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  footer.ft[data-site-shell="canonical"] .ft-grid{
    grid-template-columns:1fr 1fr!important;
    gap:24px 18px!important;
  }
}
@media(max-width:520px){
  nav.nv[data-site-shell="canonical"] .nv-cta{display:none!important}
  nav.nv[data-site-shell="canonical"] .nv-logo{font-size:15px!important}
  nav.nv[data-site-shell="canonical"] .nv-in{gap:8px!important}
}
@media(max-width:480px){
  footer.ft[data-site-shell="canonical"] .ft-grid{grid-template-columns:1fr!important}
}


/* ── Accessible link affordance system ────────────────────────────────────
   Design Council 2026-09-25:
   - reading links remain visibly underlined and use AA-safe text colors;
   - card CTAs remain semantic links but receive button-like affordance;
   - nav/footer/button systems retain their existing treatments. */
:root{
  --shell-readable-link:#afc0ff;
  --shell-readable-link-hover:#e3e9ff;
  --shell-readable-link-light:#214bc2;
  --shell-action-border:rgba(175,192,255,.48);
  --shell-action-bg:rgba(58,103,240,.10);
  --shell-action-bg-hover:rgba(58,103,240,.18);
}

/* Text links: do not rely on blue color alone. */
main a:not([class]):not([role="button"]){
  color:var(--shell-readable-link);
  text-decoration-line:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:.2em;
  text-decoration-skip-ink:auto;
}
main a:not([class]):not([role="button"]):hover{
  color:var(--shell-readable-link-hover);
  text-decoration-thickness:2px;
}
main a:not([class]):not([role="button"]):focus-visible{
  color:var(--shell-readable-link-hover);
  outline:3px solid var(--shell-readable-link);
  outline-offset:3px;
  border-radius:4px;
}

/* Legacy + future card actions: larger target and unmistakable action shape. */
.card-action-link,
main .pcard > p:last-child > a:only-child,
main .core-resource-card > p:last-child > a:only-child{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  max-width:100%;
  padding:10px 14px;
  border:1px solid var(--shell-action-border);
  border-radius:9px;
  background:var(--shell-action-bg);
  color:#f2f5fa;
  font:600 12px/1.35 'JetBrains Mono',monospace;
  text-decoration:none;
  text-align:left;
  cursor:pointer;
}
.card-action-link:hover,
main .pcard > p:last-child > a:only-child:hover,
main .core-resource-card > p:last-child > a:only-child:hover{
  background:var(--shell-sprite-wash);
  border-color:var(--shell-sprite-line);
  color:#fff;
  text-decoration:none;
}
.card-action-link:focus-visible,
main .pcard > p:last-child > a:only-child:focus-visible,
main .core-resource-card > p:last-child > a:only-child:focus-visible{
  outline:3px solid var(--shell-readable-link);
  outline-offset:3px;
  border-color:var(--shell-readable-link);
  color:#fff;
}

/* Light-mode equivalents retain the same non-color affordance. */
html[data-theme="light"] main a:not([class]):not([role="button"]){
  color:var(--shell-readable-link-light);
}
html[data-theme="light"] main a:not([class]):not([role="button"]):hover,
html[data-theme="light"] main a:not([class]):not([role="button"]):focus-visible{
  color:#173ea6;
}
html[data-theme="light"] .card-action-link,
html[data-theme="light"] main .pcard > p:last-child > a:only-child,
html[data-theme="light"] main .core-resource-card > p:last-child > a:only-child{
  background:rgba(45,86,217,.06);
  border-color:rgba(33,75,194,.46);
  color:#1c2526;
}
html[data-theme="light"] .card-action-link:hover,
html[data-theme="light"] main .pcard > p:last-child > a:only-child:hover,
html[data-theme="light"] main .core-resource-card > p:last-child > a:only-child:hover{
  background:rgba(45,86,217,.12);
  border-color:#214bc2;
  color:#111827;
}


/* ── Canonical light-mode system ──────────────────────────────────────────
   Modern public pages use --bg/--panel/--line tokens while older pages use
   --sf/--bd aliases. Define both families here so the built site switches as
   one system instead of mixing dark and light surfaces. */
html[data-theme="light"]{
  color-scheme:light;

  --bg:#f5f0e7;
  --panel:#ffffff;
  --panel2:#f8f4ec;
  --line:rgba(28,37,38,.15);
  --t1:#172023;
  --t2:#45515d;
  --t3:#5f6976;
  --ac:#214bc2;
  --gov:#214bc2;
  --ind:#207a4f;
  --biz:#8a5f00;
  --warn:#b42323;

  --sf:#ffffff;
  --sf2:#f8f4ec;
  --bd:#ddd4c7;
  --bd2:#c8bcae;
  --br:#ddd4c7;
  --br2:rgba(33,75,194,.28);
  --gn:#207a4f;
  --am:#8a5f00;
  --rd:#b42323;

  --shell-bg:#f5f0e7;
  --shell-panel:#eee7dc;
  --shell-line:rgba(28,37,38,.16);
  --shell-ink:#172023;
  --shell-muted:#45515d;
  --shell-dim:#5f6976;
  --shell-blue:#214bc2;

  --opp-bg:#f5f0e7;
  --opp-panel:#ffffff;
  --opp-line:rgba(28,37,38,.15);
  --opp-ink:#172023;
  --opp-muted:#45515d;
  --opp-dim:#5f6976;
  --opp-blue:#214bc2;
  --opp-teal:#207a4f;
  --opp-gold:#8a5f00;
  --opp-danger:#b42323;
}

html[data-theme="light"] body{
  background-color:var(--bg)!important;
  color:var(--t1)!important;
}

/* Canonical shell light surfaces. */
html[data-theme="light"] nav.nv[data-site-shell="canonical"]{
  background:rgba(245,240,231,.96)!important;
  border-bottom-color:var(--shell-line)!important;
}
html[data-theme="light"] nav.nv[data-site-shell="canonical"] .nv-drop,
html[data-theme="light"] nav.nv[data-site-shell="canonical"] .nv-mobile-panel{
  background:#fffdf9!important;
  border-color:var(--shell-line)!important;
  box-shadow:0 18px 44px rgba(58,48,35,.12)!important;
}
html[data-theme="light"] nav.nv[data-site-shell="canonical"] .nv-mega a:hover,
html[data-theme="light"] nav.nv[data-site-shell="canonical"] .nv-mobile-panel a:hover,
html[data-theme="light"] nav.nv[data-site-shell="canonical"] .nv-mobile-panel a:focus-visible{
  background:rgba(33,75,194,.08)!important;
}
html[data-theme="light"] nav.nv[data-site-shell="canonical"] .nv-cta{
  background:var(--shell-blue)!important;
  border-color:var(--shell-blue)!important;
  color:#fff!important;
}
html[data-theme="light"] nav.nv[data-site-shell="canonical"] .nv-cta:hover{
  background:#173ea6!important;
  border-color:#173ea6!important;
}
html[data-theme="light"] footer.ft[data-site-shell="canonical"]{
  background:var(--shell-panel)!important;
  border-top-color:var(--shell-line)!important;
}

/* Repeated modern content surfaces. Token mapping handles most pages; these
   rules cover components with dark gradients/hard-coded backgrounds. */
html[data-theme="light"] .honest,
html[data-theme="light"] .core-resource-card,
html[data-theme="light"] .next-action,
html[data-theme="light"] .cta,
html[data-theme="light"] .premium-card{
  background:linear-gradient(145deg,#ffffff,var(--panel2))!important;
  border-color:var(--line)!important;
  box-shadow:0 8px 24px rgba(58,48,35,.06)!important;
}
html[data-theme="light"] .pcard,
html[data-theme="light"] .statcard,
html[data-theme="light"] .layer,
html[data-theme="light"] .seccell,
html[data-theme="light"] .trustcell,
html[data-theme="light"] .mock,
html[data-theme="light"] .faq details,
html[data-theme="light"] .stat-callout,
html[data-theme="light"] .versus-col,
html[data-theme="light"] .step,
html[data-theme="light"] .box{
  background:var(--panel)!important;
  border-color:var(--line)!important;
}
html[data-theme="light"] .versus-read,
html[data-theme="light"] .hero-proof,
html[data-theme="light"] .mock-note{
  background:var(--panel2)!important;
  border-color:var(--line)!important;
}

/* Form controls across current public flows. */
html[data-theme="light"] main input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="light"] main select,
html[data-theme="light"] main textarea{
  background:#fff!important;
  color:var(--t1)!important;
  border-color:#c8bcae!important;
}
html[data-theme="light"] main input::placeholder,
html[data-theme="light"] main textarea::placeholder{
  color:#5f6976!important;
}
html[data-theme="light"] main input:focus,
html[data-theme="light"] main select:focus,
html[data-theme="light"] main textarea:focus{
  border-color:#214bc2!important;
  box-shadow:0 0 0 3px rgba(33,75,194,.14)!important;
}
html[data-theme="light"] main input[type="checkbox"],
html[data-theme="light"] main input[type="radio"]{
  accent-color:#214bc2;
}

/* Keep badge/accent text readable in light mode. */
html[data-theme="light"] .num-badge,
html[data-theme="light"] .sx-eyebrow,
html[data-theme="light"] .hero-kicker,
html[data-theme="light"] .ar-cat,
html[data-theme="light"] .cap-kicker{
  color:#214bc2!important;
}
html[data-theme="light"] .tag-live{color:#17643f!important;border-color:rgba(32,122,79,.36)!important}
html[data-theme="light"] .tag-launch{color:#765000!important;border-color:rgba(138,95,0,.36)!important}

/* Accessible content links remain distinct in light mode. */
html[data-theme="light"] main a:not([class]):not([role="button"]){
  color:#214bc2;
}
html[data-theme="light"] main a:not([class]):not([role="button"]):hover,
html[data-theme="light"] main a:not([class]):not([role="button"]):focus-visible{
  color:#173ea6;
}



/* ── Light-mode second-pass exceptions ───────────────────────────────────
   Close page-specific hard-coded dark surfaces identified in the built
   production artifact. These rules are intentionally scoped by feature. */

/* Mission Benchmarks */
html[data-theme="light"] .bm-discovery{
  background:#eee7dc!important;
  border-bottom-color:var(--line)!important;
}
html[data-theme="light"] .bm-discovery-label,
html[data-theme="light"] .bm-region-count,
html[data-theme="light"] .bm-mission-count-note,
html[data-theme="light"] .bm-operator-label{
  color:var(--t3)!important;
}
html[data-theme="light"] .bm-chip{
  background:#fff!important;
  color:var(--t2)!important;
  border-color:var(--line)!important;
}
html[data-theme="light"] .bm-chip:hover,
html[data-theme="light"] .bm-chip:focus-visible{
  background:#f8f4ec!important;
  color:#173ea6!important;
  border-color:#214bc2!important;
  outline:3px solid rgba(33,75,194,.22)!important;
  outline-offset:2px!important;
}
html[data-theme="light"] .bm-chip.active{
  background:#214bc2!important;
  border-color:#214bc2!important;
  color:#fff!important;
}
html[data-theme="light"] .bm-card{
  background:linear-gradient(145deg,#ffffff,#f8f4ec)!important;
  border-color:var(--line)!important;
  box-shadow:0 8px 24px rgba(58,48,35,.06)!important;
}
html[data-theme="light"] .bm-tags span{
  border-color:rgba(28,37,38,.16)!important;
  color:var(--t2)!important;
}
html[data-theme="light"] .bm-object,
html[data-theme="light"] .bm-link,
html[data-theme="light"] .bm-source-link,
html[data-theme="light"] .bm-region-head .eyebrow{
  color:#214bc2!important;
}
html[data-theme="light"] .bm-card p,
html[data-theme="light"] .bm-why,
html[data-theme="light"] .bm-watch-note,
html[data-theme="light"] .bm-operator,
html[data-theme="light"] .bm-watch-error{
  color:var(--t2)!important;
}
html[data-theme="light"] .bm-why b{
  color:var(--t1)!important;
}
html[data-theme="light"] .bm-tax.current{
  background:linear-gradient(145deg,rgba(33,75,194,.08),#fff)!important;
  border-color:rgba(33,75,194,.32)!important;
}
html[data-theme="light"] .bm-tax span,
html[data-theme="light"] .bm-tax.current span{
  color:var(--t3)!important;
}
html[data-theme="light"] .bm-watchlist-section{
  background:
    radial-gradient(circle at 12% 8%,rgba(32,122,79,.06),transparent 28%),
    radial-gradient(circle at 88% 18%,rgba(33,75,194,.07),transparent 28%),
    #f8f4ec!important;
}
html[data-theme="light"] .bm-watch-stat{
  background:#fff!important;
  border-color:var(--line)!important;
}
html[data-theme="light"] .bm-watch-stat strong{
  color:var(--t1)!important;
}
html[data-theme="light"] .bm-watch-stat span{
  color:var(--t3)!important;
}
html[data-theme="light"] .bm-review-state{
  background:rgba(33,75,194,.06)!important;
  border-color:rgba(33,75,194,.18)!important;
  color:var(--t3)!important;
}
html[data-theme="light"] .bm-archive-panel{
  background:
    radial-gradient(circle at 88% 12%,rgba(33,75,194,.08),transparent 32%),
    linear-gradient(145deg,#ffffff,#f8f4ec)!important;
  border-color:rgba(33,75,194,.20)!important;
}
html[data-theme="light"] .bm-archive-rule div{
  background:#fff!important;
  border-color:var(--line)!important;
}
html[data-theme="light"] .bm-archive-rule span{
  color:var(--t3)!important;
}
html[data-theme="light"] .bm-archive-actions a{
  color:#214bc2!important;
}
html[data-theme="light"] .bm-archive-actions a.primary{
  background:#214bc2!important;
  border-color:#214bc2!important;
  color:#fff!important;
}

/* Mission Intelligence */
html[data-theme="light"] .mi-card{
  background:linear-gradient(160deg,#ffffff,#f8f4ec 74%)!important;
  border-color:var(--line)!important;
  box-shadow:0 8px 24px rgba(58,48,35,.05)!important;
}
html[data-theme="light"] .mi-filterbar{
  background:#fff!important;
  border-color:var(--line)!important;
  box-shadow:0 8px 24px rgba(58,48,35,.05)!important;
}
html[data-theme="light"] .mi-filterbar select,
html[data-theme="light"] .mi-filterbar input{
  background:#fff!important;
  color:var(--t1)!important;
  border-color:#c8bcae!important;
}
html[data-theme="light"] .mi-monogram{
  background:rgba(33,75,194,.08)!important;
  border-color:rgba(33,75,194,.24)!important;
  color:#214bc2!important;
}
html[data-theme="light"] .mi-kind{
  color:#17643f!important;
}
html[data-theme="light"] .mi-sub,
html[data-theme="light"] .mi-read{
  color:#214bc2!important;
}
html[data-theme="light"] .mi-tag{
  color:var(--t2)!important;
}
html[data-theme="light"] .diag-card{
  background:linear-gradient(150deg,#ffffff,#f8f4ec)!important;
  border-color:rgba(33,75,194,.22)!important;
  box-shadow:0 8px 24px rgba(58,48,35,.05)!important;
}

/* Legacy pages that still load theme.css/theme.js use the canonical shell as
   the sole theme owner; old helper scripts must not re-apply their own state. */
html[data-theme="light"] #gc-a11y-bar,
html[data-theme="light"] #gc-cookie-banner{
  display:none!important;
}


/* Historical product and legal-topic archive disclosures. */
.archive-product-note{max-width:84ch;margin:20px 0;padding:15px 18px;border:1px solid #c79a3e;border-left:4px solid #8a5f00;border-radius:12px;background:#fff8e8;color:#334155;font:14px/1.65 'Bricolage Grotesque',sans-serif}
.archive-product-note strong{display:block;margin-bottom:5px;color:#172023;font-weight:750}
.archive-product-note a{color:#214bc2;font-weight:650;text-underline-offset:3px}
