/* Day edition (1 Dec 2026). Loaded last on every page.
   White ground, graphite ink, one cobalt accent; the bar and footer are light
   everywhere; kit pages keep exactly one graphite band (the hero), the
   household page keeps its case-file story as the band. */

/* ---- root and bar */
html:root:has(> body) { background: #ffffff !important; color-scheme: light; }
html body .site-nav[data-nav] {
  --sn-bg: #ffffff; --sn-panel: #ffffff; --sn-card: #f5f6f8;
  --sn-ink: #101319; --sn-ink-2: #2a2f3a; --sn-soft: #4a5160; --sn-faint: #6b7280;
  --sn-rule: #e4e7ec; --sn-rule-2: #eef0f3; --sn-mark: rgba(16, 19, 25, .28); --sn-hover: #f5f6f8;
  --sn-sig: #3045b5; --sn-cop: #b4602f; --sn-g0: #d9dce2; --sn-g1: #9ba1ac; --sn-g2: #5b616c;
  --sn-cta: #101319; --sn-cta-ink: #ffffff; --sn-cta-hover: #3045b5; --sn-cta-hover-ink: #ffffff;
  --sn-scrim: rgba(16, 19, 25, .32); --sn-shadow: 0 30px 50px -34px rgba(16, 19, 25, .28);
  --sn-bar-rule: #e4e7ec;
  color-scheme: light;
}
html body .site-nav[data-nav] .sn-logo { filter: brightness(0); }
html body .site-nav[data-nav] .sn-word { font-weight: 650; letter-spacing: .085em; font-size: 17px; }
html body .site-nav[data-nav] .sn-word-sub { text-transform: none; letter-spacing: .02em; font: 500 11px/1 var(--sn-sans); margin-top: 5px; color: var(--sn-soft); }
html body .site-nav[data-nav] :focus-visible { outline-color: #3045b5 !important; }

/* ---- footer */
html:root body.editorial-site footer.site-footer-refined.site-footer-refined.site-footer-refined {
  border-top: 1px solid #e4e7ec !important; background: #ffffff !important; color: #4a5160 !important; color-scheme: light;
}
html:root body .site-footer-brand.site-footer-brand { color: #101319 !important; }
html:root body .site-footer-brand img { filter: brightness(0) !important; }
html:root body :is(.site-footer-brand small, .site-footer-grid > div > span) { color: #6b7280 !important; }
html:root body.editorial-site footer.site-footer-refined :is(a, p, small, span) { color: #4a5160 !important; }
html:root body.editorial-site footer.site-footer-refined a:hover { color: #101319 !important; }
html:root body.editorial-site footer.site-footer-refined :is(.site-footer-brand, .site-footer-brand > span) { color: #101319 !important; }
html:root body.editorial-site footer.site-footer-refined * { border-color: #e4e7ec !important; }

/* ---- kit pages: light tokens, the hero is the one graphite band */
html:root:has(body.nt-page) { background: #ffffff !important; color-scheme: light; }
html body.nt-page {
  --nt-bg: #ffffff; --nt-s1: #ffffff; --nt-s2: #f5f6f8;
  --nt-ink: #101319; --nt-soft: #4a5160; --nt-faint: #6b7280;
  --nt-rule: rgba(16, 19, 25, .16); --nt-rule2: rgba(16, 19, 25, .08);
  --nt-sig: #3045b5; --nt-cop: #b4602f; --nt-n0: #a7adb8; --nt-n1: #6f7682; --nt-n2: #3a404b; --nt-cell: #dfe2e8;
  --irgb: 16 19 25;
  background: #ffffff !important; color: #101319 !important; color-scheme: light;
}
html body.nt-page .nt-hero {
  --nt-bg: #14171c; --nt-s1: #191d23; --nt-s2: #1f242c;
  --nt-ink: #f2f4f7; --nt-soft: #b3bac6; --nt-faint: #8a92a0;
  --nt-rule: rgba(242, 244, 247, .16); --nt-rule2: rgba(242, 244, 247, .08);
  --nt-sig: #97a4ff; --nt-cop: #d08a5c; --nt-n0: #5d6577; --nt-n1: #8a92a3; --nt-n2: #c6ccd8; --nt-cell: #2a303b;
  --irgb: 242 244 247;
  background: #14171c; color: var(--nt-ink); color-scheme: dark;
  box-shadow: 0 0 0 100vmax #14171c; clip-path: inset(0 -100vmax);
}
html body.nt-page .nt-hero + .nt-screen::before { display: none; }
html body.nt-page .meeting-dialog { background: #ffffff; color: #101319; border-color: #d9dce2; }
html body.nt-page :is(.meeting-dialog-header, .meeting-dialog-footer) { background: #f5f6f8; border-color: #e4e7ec; color: #4a5160; }

/* ---- household: light tokens, the case-file story is the band */
html:root:has(body.hh-page) { background: #ffffff !important; }
html:root body.editorial-site.hh-page { background: #ffffff !important; color: #101319 !important; }
html body.hh-page .hx {
  --bg: #ffffff; --s1: #ffffff; --s2: #f5f6f8;
  --ink: #101319; --soft: #4a5160; --faint: #6b7280;
  --rule: rgba(16, 19, 25, .16); --rule2: rgba(16, 19, 25, .08);
  --sig: #3045b5; --cop: #b4602f; --n0: #a7adb8; --n1: #6f7682; --n2: #3a404b; --cell0: #dfe2e8;
  --irgb: 16 19 25;
  color: #101319; color-scheme: light;
}
html body.hh-page .hx .hx-case {
  --bg: #14171c; --s1: #191d23; --s2: #1f242c;
  --ink: #f2f4f7; --soft: #b3bac6; --faint: #8a92a0;
  --rule: rgba(242, 244, 247, .16); --rule2: rgba(242, 244, 247, .08);
  --sig: #97a4ff; --cop: #d08a5c; --n0: #5d6577; --n1: #8a92a3; --n2: #c6ccd8; --cell0: #2a303b;
  --irgb: 242 244 247;
  background: #14171c; color: var(--ink); color-scheme: dark;
}
html:root body.editorial-site footer.site-footer-refined, html:root body.editorial-site footer.site-footer-refined :is(a, p, small, span, div) { font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important; }
@media (max-width: 520px) { html body .site-nav[data-nav] .sn-word { font-size: 14px; letter-spacing: .06em; } html body .site-nav[data-nav] .sn-word-sub { font-size: 10px; } }

/* ---- review fixes */
html body.nt-page :is(.meeting-dialog-header h2, .meeting-close) { color: #101319; border-color: #d0d3d9; }
html body.nt-page .meeting-dialog-header p { color: #4a5160; }
html body.nt-page .meeting-dialog-footer a { color: #3045b5; }
html body.nt-page :is(.meeting-close, .meeting-dialog a):focus-visible { outline-color: #3045b5; }
html:root body.editorial-site footer.site-footer-refined a:focus-visible { outline-color: #3045b5 !important; }
html body .site-nav[data-nav] .sn-burger { border-color: #d0d3d9 !important; }

/* ---- LinkedIn */
html body .site-nav[data-nav] .sn-li { display: inline-flex; align-items: center; justify-content: center; align-self: center; flex: 0 0 auto; width: 40px; height: 40px; margin-left: 10px; color: var(--sn-soft); border-radius: 2px; transition: color .18s ease; }
html body .site-nav[data-nav] .sn-li:hover { color: #0a66c2; }
@media (max-width: 1120px) { html body .site-nav[data-nav] .sn-li { display: none; } }
html:root body.editorial-site footer.site-footer-refined a.site-li { display: inline-flex !important; align-items: center; gap: 8px; }
html:root body.editorial-site footer.site-footer-refined a.site-li:hover { color: #0a66c2 !important; }

/* ---- fixed income has its own accent: teal */
html body.nt-page.is-fi { --nt-sig: #0b7a6e; }
html body.nt-page.is-fi .nt-hero { --nt-sig: #5fd6c4; }
