/* The site bar and footer of /learn, /learn/ranges and /gto-solutions in the Notation identity (board: marketing/identity/unified-a, §6f).
   Markup: tools/site_chrome.py, with the mark and wordmark swapped by tools/brand_chrome.py. Loaded after /static-chrome.css and
   /brand/brand.css, so it restyles the shared .sc-* classes for these pages only. Klein bar (as on the marketing pages), ART/GTO lock-up
   (site_chrome.BAR_LOGO, the kit's on-klein file), Martian Mono links, Pricing acid-underlined, vermilion CTA. Squared, no shadows. */

.sc-top, .sc-foot { --sc-sans: var(--b-mono); --sc-mono: var(--b-mono); }

/* ── bar ── */
/* Same bar as the marketing pages (site-brand.css §3): Klein bar, acid hover, Pricing acid-underlined, vermilion CTA. */
.sc-top { background: var(--b-klein); color: var(--b-white); border-bottom: 0; font: 600 11px/1 var(--b-mono); font-stretch: 87.5%; }
.sc-brand { color: var(--b-white) !important; gap: 11px; }
.sc-nav { gap: 2px; }
.sc-nav > a, .sc-more > summary, .sc-cta, .sc-menu > summary {
  height: 34px; padding: 0 10px; background: transparent; color: var(--b-white) !important;
  font: 600 12px/1 var(--b-mono); font-stretch: 87.5%; letter-spacing: .06em; text-transform: uppercase; }   /* sizes as in site-brand.css, so the bar does not shift between sections */
.sc-nav > a:hover, .sc-more > summary:hover, .sc-more[open] > summary, .sc-menu > summary:hover, .sc-menu[open] > summary {
  background: var(--b-acid); color: var(--b-ink) !important; }
.sc-nav > a.sc-on { background: var(--b-white); color: var(--b-klein) !important; box-shadow: none; }
.sc-nav > a.sc-hl { background: transparent; color: var(--b-acid) !important; box-shadow: inset 0 -3px 0 var(--b-acid); }
.sc-nav > a.sc-hl:hover { background: var(--b-acid); color: var(--b-ink) !important; }
.sc-nav > a.sc-hl.sc-on { background: var(--b-white); color: var(--b-klein) !important; box-shadow: none; }
.sc-cta { margin-left: 10px; background: var(--b-verm); color: var(--b-ink) !important; box-shadow: none; height: 38px; padding: 0 16px; font: 700 11px/1 var(--b-mono); font-stretch: 87.5%; }
.sc-cta:hover { background: var(--b-white); color: var(--b-klein) !important; }
.sc-top :focus-visible { outline: 3px solid var(--b-acid); outline-offset: 2px; }

/* More ▾ : a squared window with a Klein title bar */
.sc-win { top: calc(100% + 10px); background: var(--b-white); border: var(--b-frame) solid var(--b-ink); box-shadow: none; }
.sc-bar, .sc-sub { background: var(--b-klein); color: var(--b-white); font: 600 11px/26px var(--b-mono); letter-spacing: .1em; }
.sc-win a, .sc-sheet a { color: var(--b-ink) !important; font: 500 12px/1.25 var(--b-mono); letter-spacing: .02em; }
.sc-win a:hover, .sc-sheet a:hover { background: var(--b-acid); color: var(--b-ink) !important; }
.sc-badge { background: var(--b-acid); color: var(--b-ink); font: 600 9px/1.2 var(--b-mono); }
.sc-sheet { background: var(--b-white); border-top: var(--b-frame) solid var(--b-ink); border-bottom: var(--b-frame) solid var(--b-ink); box-shadow: none; }
.sc-sheet a { border-bottom-color: var(--b-rule); font-size: 14px; }
.sc-sheet a.sc-on { background: var(--b-ink); color: var(--b-acid) !important; }
.sc-sheet a.sc-hl { background: var(--b-verm); color: var(--b-ink) !important; }
@media (max-width: 420px) {
  .sc-cta, .sc-menu > summary { padding: 0 8px; letter-spacing: .04em; }
  .sc-cta { margin-left: 10px; font-size: 11px; }   /* as site-brand.css */
}

/* ── footer: ink field ── */
.sc-foot { background: var(--b-ink); color: var(--b-peri); font: 400 12px/1.7 var(--b-mono); border-top: var(--b-frame) solid var(--b-klein); }
.sc-foot .sc-brand { color: var(--b-white) !important; }
.sc-fmain p { font: 400 15px/1.55 var(--b-serif); color: #C9CEEA; }
.sc-foot code { background: transparent; color: var(--b-acid); font: 500 12px/1 var(--b-mono); padding: 0; }
.sc-col h2 { color: var(--b-acid); font: 600 11px/1 var(--b-mono); letter-spacing: .1em; }
.sc-col a { color: var(--b-white) !important; font: 400 12px/1.7 var(--b-mono); }
.sc-col a:hover { color: var(--b-acid) !important; }
.sc-meta { border-top: 2px solid rgba(255, 255, 255, .22); color: var(--b-peri); font-size: 11px; letter-spacing: .04em; }
.sc-foot :focus-visible { outline: 3px solid var(--b-acid); outline-offset: 2px; }

/* 11/06: the bar on offset white (Mist) with an ink rule, as on the marketing pages (site-brand.css) */
.sc-top { background: var(--b-paper); color: var(--b-ink); border-bottom: 2px solid var(--b-ink); }
.sc-brand { color: var(--b-ink) !important; }
.sc-nav > a, .sc-more > summary, .sc-cta, .sc-menu > summary { color: var(--b-ink) !important; }
.sc-nav > a.sc-on, .sc-nav > a.sc-hl.sc-on { background: var(--b-klein); color: var(--b-white) !important; box-shadow: none; }
.sc-nav > a.sc-hl { color: var(--b-klein) !important; box-shadow: inset 0 -3px 0 var(--b-klein); }
.sc-cta:hover { background: var(--b-ink); color: var(--b-white) !important; }
.sc-top :focus-visible { outline-color: var(--b-klein); }

/* 11/06: AI Connector in the bar: a Klein block with white type and a small acid "New" tag pinned to its corner (the tag takes no
   width, so the bar still fits one row). The other links sit a little closer to make room. Active (on /mcp/) = ink block. */
@media (min-width: 1181px) {
  .sc-nav { gap: 0 !important; }
  .sc-nav > a, .sc-more > summary { padding: 0 7px !important; letter-spacing: .045em !important; }
}
.sc-nav > a.sc-new { position: relative; margin: 0 3px; padding: 0 9px !important; background: var(--b-klein) !important; color: var(--b-white) !important; box-shadow: none !important; }
.sc-nav > a.sc-new:hover { background: var(--b-ink) !important; color: var(--b-white) !important; }
.sc-nav > a.sc-new.sc-on { background: var(--b-ink) !important; color: var(--b-acid) !important; }
.sc-nav > a.sc-new { gap: 7px; }
.sc-nav > a.sc-new .sc-tag { position: static; margin-left: 0; font-size: 9px; line-height: 1; padding: 3px 4px 2px; }  /* a separate chip inside the block, not glued to the label */
.sc-tag { display: inline-block; padding: 2px 3px 2px 4px; background: var(--b-acid); color: var(--b-ink); font: 700 8px/1 var(--b-mono); font-stretch: 87.5%;
  letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.sc-sheet a.sc-new, .sc-sheet a.sc-new.sc-on { gap: 10px; background: var(--b-klein) !important; color: var(--b-white) !important; }
.sc-sheet a.sc-new:hover { background: var(--b-ink) !important; color: var(--b-white) !important; }
.sc-sheet a.sc-new .sc-tag { font-size: 9px; padding: 3px 4px 3px 5px; }
@media (min-width: 1181px) and (max-width: 1339px) {   /* the narrowest full bars: a little tighter still, so the CTA keeps its margin */
  .sc-nav > a, .sc-more > summary { padding: 0 6px !important; letter-spacing: .03em !important; }
  .sc-nav > a.sc-new { padding: 0 8px !important; }
  .sc-cta { padding: 0 12px !important; margin-left: 6px !important; }
}

/* 11/06 (2): the bar in two groups, Solver · Viewer · AI Connector · Pricing ‖ Preflop Ranges · Docs · About · FAQ, split by a
   2 px ink rule (the same ink as the bar's bottom rule); on the phone sheet the second group starts under a matching rule.
   Learn and Free tools live under More, which reads as current on those pages. */
.sc-sep { flex: none; width: 2px; height: 22px; margin: 0 12px; background: var(--b-ink); }
.sc-sheet .sc-ul2 { margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--b-ink); }
.sc-more.sc-on > summary { color: var(--b-klein) !important; box-shadow: inset 0 -3px 0 var(--b-klein); }   /* current section under More: an underline, so AI Connector stays the one filled block */
.sc-tag { font-size: 9px !important; }   /* critique 11/06: 8 px was below a legible size */
.sc-win a.sc-on { background: var(--b-klein); color: var(--b-white) !important; }
@media (min-width: 1181px) and (max-width: 1339px) { .sc-sep { margin: 0 8px; } }

/* ── declutter 11/13 (critique 2026-11-13-04-08): five pills, one ask, a filled pill only means "you are here" ──
   AI Connector keeps its New tag but loses the Klein block; tags and badges at 11 px; the bar's CTA is the one site-wide ask
   (Test the Viewer) in ink, so the page's own vermilion button is the only vermilion in view; More opens as three labelled groups. */
@media (min-width: 1181px) {
  .sc-nav { gap: 2px !important; }
  .sc-nav > a, .sc-more > summary { padding: 0 11px !important; letter-spacing: .06em !important; }
  .sc-sep { margin: 0 10px !important; }
}
.sc-nav > a.sc-new, .sc-sheet a.sc-new { gap: 8px; margin: 0; background: transparent !important; color: var(--b-ink) !important; }
.sc-nav > a.sc-new:hover, .sc-sheet a.sc-new:hover { background: var(--b-acid) !important; color: var(--b-ink) !important; }
.sc-nav > a.sc-new.sc-on, .sc-sheet a.sc-new.sc-on { background: var(--b-klein) !important; color: var(--b-white) !important; }
.sc-tag, .sc-badge, .sc-nav > a.sc-new .sc-tag, .sc-sheet a.sc-new .sc-tag {
  display: inline-block; padding: 3px 5px 2px !important; background: var(--b-acid); color: var(--b-ink);
  font: 700 11px/1 var(--b-mono) !important; font-stretch: 87.5%; letter-spacing: .06em; text-transform: uppercase; }
a.sc-new:hover .sc-tag, .sc-win a:hover .sc-badge, .sc-sheet a:hover .sc-badge { background: var(--b-ink); color: var(--b-acid); }
.sc-cta { background: var(--b-ink) !important; color: var(--b-white) !important; }
.sc-cta:hover { background: var(--b-klein) !important; color: var(--b-white) !important; }
.sc-win { width: auto !important; display: grid; grid-template-columns: repeat(3, max-content); gap: 0 6px; padding: 6px 4px 10px; }
.sc-win ul { padding: 0 !important; }
.sc-win a { padding: 7px 14px !important; white-space: nowrap; }
.sc-gh { margin: 10px 14px 6px; color: var(--b-klein); font: 600 11px/1 var(--b-mono); font-stretch: 87.5%; letter-spacing: .1em; text-transform: uppercase; }
.sc-sheet ul { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; column-gap: 14px !important; }
.sc-sheet .sc-grp { margin-top: 12px; padding-top: 10px; border-top: 2px solid var(--b-ink); }
.sc-sheet .sc-gh { margin: 2px 10px 4px; }
.sc-sheet .sc-grp a { min-height: 44px; font-size: 14px; }
