/* SQX Notes — the sqxnotes.com look (structured_note_static_build.py SITE_CHROME_CSS
   and the Explorer page of structured_note_reference_data_viewer.py): DM Sans, a navy
   56px header with outlined pill links and an orange call to action, gray-50 page,
   white panels with gray-200 hairlines, navy numbered steps, a navy-to-teal CTA band
   and a navy column footer. The chart, dictionary and layout-primitive rules below
   the header are the builder's defaults with these tokens. */
:root {
  --site-header-bg: rgba(10, 61, 92, 0.97);
  --primary: #0A3D5C;
  --primary-light: #1A6B8A;
  --primary-muted: rgba(10, 61, 92, 0.07);
  /* sqxnotes.com's orange, deepened so white and near-white labels on it meet WCAG AA
     (4.5:1); the hover a step deeper still */
  --accent: #AD5525;
  --accent-hover: #934619;
  --accent-soft: rgba(212, 113, 59, 0.08);
  --ink: #111827;
  --paper: #F8F9FB;
  --gray-50: #F8F9FB;
  --gray-100: #EEF0F4;
  --gray-200: #DDE1E8;
  --gray-300: #C5CBD5;
  /* the faint text grey, at WCAG AA on white and on --gray-50 (4.97:1, 4.72:1) */
  --gray-400: #667085;
  --gray-700: #2D3648;
  --gray-900: #111827;
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.125rem;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --header-h: 56px;
  /* The tokens the imported sqx apps read (notes-dashboard, the Explorer, the
     coverage check), set to sqxnotes' grays, navy and teal. */
  --text: var(--gray-700);
  --muted: #5B6575;
  --faint: var(--gray-400);
  --label: var(--gray-400);
  --line: var(--gray-200);
  --rule: var(--gray-100);
  --panel: #FFFFFF;
  --navy: var(--primary);
  --accent-wash: var(--gray-100);
  --accent-line: var(--gray-200);
  --font-sans: var(--sans);
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fs-h4: 18px;
  --fs-lead: 17px;
  --fs-base: 15px;
  --fs-ui: 14px;
  --fs-small: 13px;
  --tracking-caps: 0.06em;
  --gutter: 24px;
  --max: 1400px;
  --read: 640px;
  --sqx-ink: var(--gray-900);
  --sqx-body: var(--gray-700);
  --sqx-grey: var(--gray-400);
  --sqx-white: #FFFFFF;
  --sqx-hairline: var(--gray-200);
  --sqx-line-soft: var(--gray-100);
  --chart-1: #0A3D5C;
  --chart-2: #D4713B;
  --chart-3: #1A6B8A;
  --chart-4: #8B4FB8;
  --chart-5: #8D6E00;
  --chart-6: #C2336B;
  --chart-7: #4B5563;
  --chart-8: #2AA3C9;
  --chart-9: #7A4E2D;
  --chart-10: #6B8E23;
  --chart-other: #A7AFB7;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--sans);
  background: var(--gray-50);
  color: var(--gray-700);
  font-size: var(--text-base);
  line-height: 1.65;
  letter-spacing: 0.01em;
}
a { color: var(--primary-light); }
code, pre, kbd { font-family: var(--mono); }

/* Content pages: the methodology page's article measure and type */
main { max-width: 820px; margin: 0 auto; padding: 40px 24px 24px; }
:where(main:not(.results, .detail-view, .ccx)) h1 { font-size: 1.75rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; margin: 0 0 24px; color: var(--gray-900); }
:where(main:not(.results, .detail-view, .ccx)) h2 {
  font-size: 1.2rem; font-weight: 700; color: var(--primary); letter-spacing: -0.005em;
  margin: 36px 0 14px; padding-bottom: 6px; border-bottom: 2px solid var(--gray-100);
}
:where(main:not(.results, .detail-view, .ccx)) h3 { font-size: 1.02rem; font-weight: 700; color: var(--gray-900); margin: 26px 0 10px; }
:where(main:not(.results, .detail-view, .ccx)) h4 { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); margin: 20px 0 8px; }
:where(main:not(.results, .detail-view, .ccx)) p { margin: 0 0 14px; line-height: 1.7; }
:where(main:not(.results, .detail-view, .ccx)) ul, :where(main:not(.results, .detail-view, .ccx)) ol { margin: 0 0 14px 22px; line-height: 1.7; }
:where(main:not(.results, .detail-view, .ccx)) li { margin-bottom: 6px; }
:where(main:not(.results, .detail-view, .ccx)) hr { border: 0; border-top: 1px solid var(--gray-200); margin: 28px 0; }
:where(main:not(.results, .detail-view, .ccx)) a { text-decoration: underline; text-decoration-color: var(--gray-300); text-underline-offset: 2px; }
:where(main:not(.results, .detail-view, .ccx)) a:hover { text-decoration-color: var(--primary-light); }
:where(main:not(.results, .detail-view, .ccx)) blockquote {
  margin: 16px 0 20px; padding: 10px 16px; border-left: 3px solid var(--primary-light);
  background: var(--gray-50); line-height: 1.7;
}
:where(main:not(.results, .detail-view, .ccx)) code {
  background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 4px;
  padding: 1px 5px; font-size: 0.85em;
}
:where(main:not(.results, .detail-view, .ccx)) pre {
  background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 6px;
  padding: 12px 14px; overflow-x: auto; margin: 12px 0 18px; font-size: var(--text-sm); line-height: 1.55;
}
:where(main:not(.results, .detail-view, .ccx)) pre code { background: transparent; border: 0; padding: 0; }
:where(main:not(.results, .detail-view, .ccx)) table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: var(--text-sm); }
:where(main:not(.results, .detail-view, .ccx)) th, :where(main:not(.results, .detail-view, .ccx)) td { border: 1px solid var(--gray-200); padding: 8px 10px; text-align: left; vertical-align: top; }
:where(main:not(.results, .detail-view, .ccx)) th { background: var(--gray-100); font-weight: 600; color: var(--gray-900); }
:where(main:not(.results, .detail-view, .ccx)) tr:nth-child(even) td { background: var(--gray-50); }
:where(main:not(.results, .detail-view, .ccx)) .table-wrap, :where(main:not(.results, .detail-view, .ccx)) .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* the line under a product page's title that links its API page */
.page-api-link a {
  display: inline-block; font-size: var(--text-sm); font-weight: 600; text-decoration: none;
  color: var(--primary); border: 1px solid var(--gray-200); background: #fff;
  border-radius: 8px; padding: 4px 12px;
}
.page-api-link a:hover { border-color: var(--primary-light); }

/* Header: the sqxnotes.com bar — navy, 56px, the wordmark and the page's title,
   then outlined pills, the orange call to action and the More menu. */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--site-header-bg);
  color: #fff;
  min-height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* color drives the wordmark: logo.svg letterforms use fill="currentColor". */
.site-logo { order: 0; display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0; text-decoration: none; color: #fff; }
.site-logo svg { height: 28px; width: auto; display: block; }
/* sqxnotes.com's header carries the product's name beside the wordmark */
.site-logo::after {
  content: "Structured Note Reference Data";
  font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
}
.site-nav { order: 1; display: flex; align-items: center; gap: 8px; }
.site-nav a, .site-nav .nav-group-label {
  font: inherit;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.5;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: none;
  white-space: nowrap;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nav a:hover, .site-nav a[aria-current="page"],
.site-nav .nav-group:hover .nav-group-label,
.site-nav .nav-group:has(:focus-visible) .nav-group-label,
.site-nav .nav-group[data-current] .nav-group-label {
  background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.35);
}
/* sqxnotes.com's order: Explorer, Contact Us, More */
.site-nav > a:not(.nav-cta) { order: -1; }
.site-nav .nav-cta { order: 0; background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 500; }
.site-nav .nav-cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.site-nav .nav-group { order: 1; position: relative; display: inline-flex; align-items: center; }
.site-nav .nav-group-label { cursor: pointer; user-select: none; }
.site-nav button.nav-group-label::after { content: " \25BE"; }
.site-nav .nav-group-toggle { display: none; }
/* The panel sits flush under its label (a gap would drop the hover mid-travel);
   its padding-top draws the 6px gap the live menu shows. Closed means clipped
   and click-through, so its links stay in the tab order. */
.site-nav .nav-sub {
  position: absolute; top: 100%; left: 0; z-index: 60;
  min-width: 180px; padding-top: 6px;
  display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
}
.site-nav .nav-sub::before {
  content: ""; position: absolute; inset: 6px 0 0 0; z-index: -1;
  background: rgba(10, 61, 92, 0.97); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 24, 32, 0.28);
}
.site-nav .nav-group:hover .nav-sub,
.site-nav .nav-group:has(:focus-visible) .nav-sub { clip-path: none; opacity: 1; pointer-events: auto; }
.site-nav .nav-sub a {
  display: block; border: 0; margin: 0 6px; padding: 8px 12px; border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
}
.site-nav .nav-sub a:first-child { margin-top: 6px; }
.site-nav .nav-sub a:last-child { margin-bottom: 6px; }
.site-nav .nav-sub a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.site-nav .nav-sub a[aria-current="page"] { background: rgba(255, 255, 255, 0.10); color: #fff; }

/* Home: sqxnotes.com's welcome panel — one white card holding the centered
   title, the three feature cards, How to Explore and the closing call to action.
   Its side margins and padding scale with the window (a phone's 12px and 20px to
   0 and 48px), so no breakpoint moves the title. */
.hero, .page-home main {
  box-sizing: border-box;
  width: calc(100% - 2 * clamp(0px, 36.6px - 3.2vw, 12px));
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
}
.page-home .hero {
  margin-top: clamp(12px, 0.59vw + 7.5px, 16px);
  padding: clamp(36px, 2.94vw + 13.6px, 56px) clamp(20px, 4.1vw - 11.4px, 48px) 4px;
  text-align: center;
  border-top: 1px solid var(--gray-200);
  border-radius: 10px 10px 0 0;
}
.page-home main {
  padding: clamp(24px, 1.18vw + 15px, 32px) clamp(20px, 4.1vw - 11.4px, 48px) clamp(32px, 2.35vw + 14.1px, 48px);
  margin-bottom: clamp(12px, 0.59vw + 7.5px, 16px);
  border-bottom: 1px solid var(--gray-200);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.page-home main > * { max-width: 700px; margin-left: auto; margin-right: auto; }
.hero h1 {
  font-size: clamp(1.6rem, 0.94vw + 18.5px, 2rem); font-weight: 700; color: var(--gray-900);
  letter-spacing: -0.025em; line-height: 1.2; margin: 0 auto 12px; max-width: 26ch;
}
.hero p { font-size: var(--text-base); color: var(--gray-400); line-height: 1.6; max-width: 640px; margin: 0 auto; }
.hero .contact-actions { justify-content: center; margin-top: 24px; }
.page-home main h3 { text-align: center; font-size: var(--text-base); margin: 32px auto 18px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.page-home main p { font-size: var(--text-sm); text-align: center; color: var(--gray-700); }
/* How to Explore: the live site's small numbered steps, the key words in navy */
.page-home .step-flow ol { margin: 0 auto 32px; }
.page-home .step-flow li { font-size: var(--text-sm); line-height: 1.6; padding: 4px 0 0 42px; min-height: 28px; }
.page-home .step-flow li strong { color: var(--primary); }
/* A page that embeds an app's charts (the notes dashboard) takes the live
   dashboard's width rather than the prose measure. */
main:has(.app-embed) { max-width: 1100px; }
/* (main-led: the dashboard's own sheet loads after this one) */
main .dash .panel h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); letter-spacing: -0.005em; }
main .dash .panel .sub a { color: var(--primary-light); }
main .dash a.hb-hit:hover .hb-label { color: var(--primary-light); }

/* Feature cards: INDEXED, LIVE DEMO, MODELED */
.card-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 18px 0 22px !important;
  margin-left: 0 !important;
  text-align: left;
}
.page-home main > .card-grid { margin: 8px auto 4px !important; }
.card-grid li {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px;
  margin: 0;
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--gray-400);
}
:where(main:not(.results, .detail-view, .ccx)) .card-grid li { font-size: var(--text-sm); }
.page-home main .card-grid li { font-size: var(--text-xs); }
.card-grid li::before {
  content: ""; display: block; width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent-soft); margin-bottom: 10px;
}
.card-grid li strong {
  display: block; font-size: var(--text-sm); color: var(--gray-900);
  letter-spacing: 0.04em; margin-bottom: 6px;
}
.card-grid.cards-2, .card-grid.cards-4 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cards-3, .card-grid.cards-6 { grid-template-columns: repeat(3, 1fr); }

/* Bottom CTA band: the live site's navy-to-teal panel */
.cta-band {
  background: linear-gradient(135deg, #0A3D5C 0%, #1A6B8A 100%);
  color: #fff;
  border-radius: 12px;
  max-width: 1100px;
  margin: 28px auto 8px;
  padding: 26px 28px;
}
.cta-band .cta-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cta-band p { margin: 0; font-size: 1rem; line-height: 1.5; color: rgba(255, 255, 255, 0.94); max-width: 640px; }
.cta-band .cta-btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; padding: 12px 24px; border-radius: 8px;
  white-space: nowrap; flex-shrink: 0;
}
.cta-band .cta-btn:hover { background: var(--accent-hover); }

.form-note { font-size: 0.8rem; opacity: 0.7; max-width: 52ch; }

/* Content figures (placed imagery) */
.site-figure { margin: 28px 0; }
.site-figure img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* Layout primitives (copy.md ':::' blocks — SPINUP.md config contract) */
.site-callout {
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, var(--paper));
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
  margin: 26px 0;
}
.site-callout p:last-child { margin-bottom: 0; }
.site-pullquote {
  font-size: 1.3rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--primary);
  max-width: 34ch;
  margin: 36px auto;
  text-align: center;
}
.site-pullquote p { max-width: none; margin: 0; }
.stat-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 26px 0 !important;
  margin-left: 0 !important;
  padding: 0;
}
.stat-strip li { flex: 1 1 140px; border-top: 3px solid var(--accent); padding-top: 10px; }
.stat-strip strong { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--primary); }
.stat-strip span { font-size: 0.9rem; opacity: 0.8; }
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin: 32px 0;
}
.section-split .site-figure { margin: 0; }
.section-split.flip .site-figure { order: 2; }
.split-copy p:last-child { margin-bottom: 0; }
/* ':::split wrap' — the figure floats and the prose runs around it. */
.section-split.wrap { display: block; }
.section-split.wrap .site-figure { float: left; width: 42%; margin: 4px 28px 12px 0; }
.section-split.wrap.flip .site-figure { float: right; margin: 4px 0 12px 28px; }
.section-split.wrap::after { content: ""; display: table; clear: both; }
.section-split.badge .site-figure { width: 160px; }
.people-grid { list-style: none; margin: 26px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; }
.person-card { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: start; }
.person-card:not(:has(.person-photo)) { grid-template-columns: 1fr; }
.person-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.person-text > :first-child { margin-top: 0; }
.logo-wall { list-style: none; margin: 26px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.logo-cell { display: flex; align-items: center; justify-content: center; height: 96px; padding: 14px 18px; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; }
.logo-cell a { display: contents; }
.logo-cell img { max-width: 100%; max-height: 100%; object-fit: contain; }
.step-flow ol { list-style: none; margin: 26px 0; padding: 0; counter-reset: step; }
.step-flow li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 14px; }
.step-flow li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

/* Contact action buttons (hero + contact page) */
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.action-btn {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 10px 18px;
  color: var(--primary);
  background: var(--paper);
}
.action-btn:hover { background: color-mix(in srgb, var(--primary) 8%, var(--paper)); }
.action-primary { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.action-primary:hover { background: color-mix(in srgb, var(--accent) 85%, var(--ink)); color: var(--paper); }

/* Data dictionary */
.dict-intro { max-width: 70ch; }
.dict-relationships { max-width: 70ch; margin: 26px 0; }
.dict-enums { margin: 44px 0 0; }
.dict-download { margin: 18px 0 8px; }
.dict-download-btn { display: inline-block; border: 1px solid var(--accent); border-radius: 8px; padding: 10px 18px; background: var(--accent); color: var(--paper); font-weight: 600; text-decoration: none; font-family: inherit; font-size: 1rem; cursor: pointer; }
.dict-download-btn:hover { background: color-mix(in srgb, var(--accent) 85%, var(--ink)); color: var(--paper); }
.dict-toc { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 30px; font-size: 0.9rem; }
.dict-section { margin: 34px 0; }
.dict-note { font-size: 0.9rem; opacity: 0.8; max-width: 70ch; }
/* Ink only: what FITS — table width and column proportions, wrapping (cells
   and the machine names in the headings alike), the stacked layout under
   DICT_STACK_MAX_PX — is the builder's, shipped with the page in
   DICT_GEOMETRY_CSS. */
.dict-table { border-collapse: collapse; font-size: 0.9rem; }
.dict-table th, .dict-table td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }
.dict-table thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.dict-table code { font-size: 0.85em; background: color-mix(in srgb, var(--primary) 7%, var(--paper)); padding: 1px 5px; border-radius: 4px; }

/* Charts (data marks only — no axes, gridlines or legend in any form) */
.chart-panel { margin: 26px 0; max-width: 640px; }
.chart-caption { font-size: 0.9rem; opacity: 0.8; margin: 0 0 12px; }
/* The home page's charts take its full column (the notes dashboard's width); their
   captions keep a prose measure, centred over the chart. */
.page-home main > .chart-panel { max-width: none; }
.page-home main > .chart-panel .chart-caption { max-width: 60ch; margin-left: auto; margin-right: auto; }
.chart-row { display: grid; grid-template-columns: minmax(9ch, 18ch) 1fr auto; align-items: center; gap: 14px; padding: 6px 0; }
.chart-label { font-size: 0.85rem; font-weight: 600; }
.chart-mark { width: 100%; height: 26px; overflow: visible; }
.chart-mark .chart-spark { fill: none; stroke: var(--primary); stroke-width: 1.5; stroke-linejoin: round; }
.chart-mark .chart-bar { fill: var(--primary); }
.chart-mark .chart-ink { fill: var(--primary); }
.chart-grid-table { font-size: 0.85rem; }
.chart-grid-head { font-size: 0.8rem; }
.chart-mark .chart-last { fill: var(--accent); stroke: none; }
.chart-value { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 0.9rem; }
/* Axis ticks share the row grid so each label sits under the mark it names. */
.chart-axis-row { padding-top: 0; }
.chart-mark .chart-axis-line { stroke: currentColor; stroke-opacity: 0.55; stroke-width: 1; }
.chart-axis-caption { font-size: 0.75rem; font-weight: 600; margin-top: 2px; }
.chart-tick { font-size: 0.72rem; opacity: 0.7; white-space: nowrap; }
.chart-point-value { font-size: 0.72rem; font-variant-numeric: tabular-nums;
                     font-weight: 600; white-space: nowrap; }
.chart-values-row { padding-bottom: 0; }
.chart-scale { display: block; font-size: 0.7rem; font-weight: 400; opacity: 0.6;
               font-variant-numeric: tabular-nums; }

.chart-overlay-svg { width: 100%; height: auto; }
.chart-overlay-svg .chart-trail { fill: none; stroke: currentColor; stroke-opacity: 0.18; stroke-width: 1; }
.chart-overlay-svg .chart-trail-pt { fill: currentColor; }
.chart-overlay-svg .chart-grid-line { stroke: currentColor; stroke-opacity: 0.12; }
.chart-overlay-svg .chart-base-line, .chart-overlay-svg .chart-tick-line { stroke: currentColor; stroke-opacity: 0.55; }
.chart-overlay-svg .chart-axis-label { fill: currentColor; fill-opacity: 0.7; font-variant-numeric: tabular-nums; }
.chart-overlay-svg .chart-axis-title { fill: currentColor; fill-opacity: 0.85; font-weight: 600; }
.chart-overlay-svg .chart-line { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-overlay-svg .chart-dot { fill: var(--c); }
.chart-overlay-svg .chart-end { fill: var(--c); font-weight: 600; }
.chart-overlay-svg .chart-leader { stroke: currentColor; stroke-opacity: 0.35; }
.chart-overlay-svg .chart-zero-line { stroke: currentColor; stroke-opacity: 0.55; stroke-dasharray: 4 3; }
.chart-overlay-svg .chart-pt { fill: var(--c, #155E91); fill-opacity: 0.62; }
.chart-overlay-svg .chart-line, .chart-overlay-svg .chart-dot, .chart-overlay-svg .chart-end { transition: opacity 0.12s, stroke-width 0.12s; }
.chart-overlay-svg.is-active .chart-line:not(.is-on), .chart-overlay-svg.is-active .chart-dot:not(.is-on), .chart-overlay-svg.is-active .chart-end:not(.is-on) { opacity: 0.22; }
.chart-overlay-svg .chart-line.is-on { stroke-width: 3.6; }
.chart-overlay-svg .chart-pt:hover, .chart-overlay-svg .chart-pt:focus { fill-opacity: 1; stroke: currentColor; stroke-width: 1.5; outline: none; }
.chart-overlay-svg .chart-pt-name { fill: currentColor; font-weight: 600; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.chart-overlay-svg .chart-hover { fill: transparent; }
.chart-overlay-svg .chart-cross { stroke: currentColor; stroke-opacity: 0.45; pointer-events: none; }
.chart-overlay-svg:focus { outline: none; }
.chart-overlay-svg:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.chart-tip { position: fixed; z-index: 50; min-width: 120px; max-width: 280px; padding: 8px 10px; background: #fff; color: #1b2430; border: 1px solid rgba(27, 36, 48, 0.2); border-radius: 6px; box-shadow: 0 4px 16px rgba(16, 26, 36, 0.12); font-size: 12.5px; line-height: 1.4; pointer-events: none; }
.chart-tip-title { margin-bottom: 4px; color: #5b6573; font-size: 12px; }
.chart-tip-row { display: flex; align-items: center; gap: 6px; }
.chart-tip-row strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.chart-tip-row span:last-child { color: #5b6573; }
.chart-tip-key { width: 12px; height: 2px; flex: none; }
@media (prefers-color-scheme: dark) {
  .chart-tip { background: #1b2430; color: #eef1f5; border-color: rgba(238, 241, 245, 0.25); }
  .chart-tip-title, .chart-tip-row span:last-child { color: #aab3bf; }
}
.chart-s0 { --c: #155E91; }
.chart-s1 { --c: #C4561F; }
.chart-s2 { --c: #12876A; }
.chart-s3 { --c: #8B4FB8; }
.chart-s4 { --c: #8D6E00; }
.chart-s5 { --c: #C2336B; }
.chart-s6 { --c: #4B5563; }
.chart-s7 { --c: #2AA3C9; }
.chart-s8 { --c: #7A4E2D; }
.chart-s9 { --c: #6B8E23; }
.chart-panel-mark { width: 100%; height: auto; aspect-ratio: 106.40 / 72.40; overflow: visible; }
.chart-panel-mark .chart-point { fill: var(--primary); fill-opacity: 0.62; }
.chart-panel-mark .chart-node { fill: var(--primary); }
.chart-panel-mark .chart-edge { stroke: var(--primary); stroke-opacity: 0.28; }
.chart-panel-mark .chart-arrow { fill: var(--primary); fill-opacity: 0.45; }
.chart-point-label, .chart-node-label { font-size: 2.05px; fill: currentColor; opacity: 0.75; }
.chart-panel-mark .chart-g0 { fill: var(--primary); }
.chart-panel-mark .chart-g1 { fill: var(--accent); }
.chart-panel-mark .chart-g2 { fill: currentColor; fill-opacity: 0.45; }
/* Chart hydration (spinup_assets/chart_hydrate.js). The static SVG is the
   chart until the interactive layer has really rendered; .chart-hydrated is
   set only then, by the script, so JS-off / observer-less / failed-bundle
   readers keep the SVG and nothing here changes. The live layer is laid OVER
   the SVG inside the stack, so hydrating shifts no layout.
   Two-class selectors on purpose: vega-embed injects '.vega-embed{position:
   relative;display:inline-block}' at runtime, which would otherwise win the
   cascade on equal specificity and collapse the layer to zero width. */
.chart-stack { position: relative; }
/* The frame is emitted with inline structure (see _render_panel_chart); this
   only gives it breathing room from the caption above it. */
.chart-frame { padding: 6px; }
.chart-stack > .chart-live { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; opacity: 0; transition: opacity 180ms ease-in; }
/* A spec is built at the panel's drawn size, so on a narrower screen the
   emitted SVG only ever scales DOWN, in proportion, inside the same box. */
.chart-live > svg, .chart-live canvas { max-width: 100%; height: auto; }
.chart-hydrated .chart-stack > .chart-live { opacity: 1; }
.chart-hydrated .chart-panel-mark { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .chart-stack > .chart-live { transition: none; } }

/* Quote strip (mined testimonials) */
.quote-strip { max-width: 880px; margin: 44px auto 0; padding: 0 24px; }
.quote-strip h2 { font-size: 1.3rem; }
.quote { margin: 18px 0; padding-left: 18px; border-left: 3px solid var(--accent); }
.quote blockquote { margin: 0; font-size: 1.05rem; }
.quote-attr { margin-top: 6px; font-size: 0.85rem; opacity: 0.75; }

/* Listings (template: listing) and articles (template: article) */
.listing { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.listing-item h2 { margin: 2px 0 6px; font-size: 1.25rem; }
.listing-item h2 a { text-decoration: none; }
.listing-item h2 a:hover { text-decoration: underline; }
.listing-date, .article-date { margin: 0; font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.listing-blurb, .listing-empty { margin: 0; opacity: 0.85; }
.site-article header { margin-bottom: 26px; }
.site-article h1 { margin: 4px 0 8px; }
.article-kicker { font-size: 1.15rem; opacity: 0.85; margin: 0; }
.article-byline { margin: 12px 0 0; font-size: 0.9rem; opacity: 0.85; }
.article-hero { margin: 0 0 26px; }
.article-hero img { display: block; width: 100%; height: auto; border-radius: 8px; }
.article-body { max-width: 72ch; }
/* Team */
.team-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.team-card { border: 1px solid rgba(0,0,0,0.14); border-radius: 10px; padding: 20px; }
.team-card h2 { margin: 0 0 2px; font-size: 1.1rem; }
.team-title { margin: 0 0 10px; font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.team-link { font-size: 0.85rem; }


/* Footer: sqxnotes.com's navy column footer (wordmark over the contact lines,
   the Company links, the year under a hairline). */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 24px 20px;
  margin-top: 40px;
  font-size: var(--text-sm);
}
.site-footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.site-footer .footer-logo img { height: 30px; width: auto; display: block; margin-bottom: 12px; }
.site-footer .footer-contact p { line-height: 1.7; color: rgba(255, 255, 255, 0.7); }
.site-footer h2 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7); margin: 0 0 12px; font-weight: 600;
}
.site-footer ul { list-style: none; }
.site-footer li { margin: 0 0 7px; line-height: 1.5; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .footer-brand { font-weight: 700; color: #fff; }
.site-footer .footer-meta {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

/* Contact form: the live contact page's fields */
.contact-form { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 5px; font-size: 0.78rem; font-weight: 600; color: var(--gray-700); }
.contact-form input, .contact-form textarea, .contact-form select {
  font-family: var(--sans);
  font-size: 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--gray-900);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 113, 59, 0.18);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button {
  font-family: inherit; font-size: 0.92rem; font-weight: 600;
  background: var(--accent); color: #fff; border: 0; border-radius: 8px;
  padding: 11px 26px; cursor: pointer; align-self: flex-start;
}
.contact-form button:hover { background: var(--accent-hover); }
.contact-form button:disabled { opacity: 0.6; cursor: wait; }
.form-success { background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: 8px; padding: 16px 18px; color: #047857; max-width: 640px; }
.form-error { color: #C93B3B; }

/* Narrow screens: sqxnotes.com drops the long title under 1024px, keeps the
   pills on the logo's row and lets the header wrap. */
@media (max-width: 1024px) {
  .site-header { flex-wrap: wrap; padding: max(14px, env(safe-area-inset-top, 0px)) 14px 12px; gap: 10px; }
  .site-logo { margin-right: auto; }
  .site-logo::after { content: none; }
  .site-nav .nav-sub { left: auto; right: 0; }
}
@media (max-width: 760px) {
  .site-footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .site-footer .footer-contact { grid-column: 1 / -1; }
  .cta-band { margin: 24px 12px 8px; }
  .cta-band .cta-inner { flex-direction: column; align-items: flex-start; }
  main { padding: 24px 14px 48px; }
  :where(main:not(.results, .detail-view, .ccx)) h1 { font-size: 1.4rem; }
  :where(main:not(.results, .detail-view, .ccx)) h2 { font-size: 1.05rem; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .section-split { grid-template-columns: 1fr; }
  .section-split.flip .site-figure { order: 0; }
  .section-split.wrap .site-figure, .section-split.wrap.flip .site-figure { float: none; width: 100%; margin: 0 0 18px; }
  .section-split.badge .site-figure { float: left; width: 112px; margin: 4px 18px 8px 0; }
  .section-split.badge.flip .site-figure { float: right; margin: 4px 0 8px 18px; }
  .person-card { grid-template-columns: 96px 1fr; gap: 16px; }
  .site-pullquote { font-size: 1.15rem; }
  .chart-row { grid-template-columns: 1fr auto; }
  .chart-row .chart-mark { grid-column: 1 / -1; }
  /* Two classes so the cards-N divisor rules (equal specificity, earlier
     in the sheet) lose to this inside the media query. */
  .card-grid, ul.card-grid[class*="cards-"] { grid-template-columns: 1fr; }
}

/* Touch screens have no hover: a tap on More focuses it, so the panel opens on
   focus there (on a pointer, focus after a click would hold it open). */
@media (hover: none) {
  .site-nav .nav-group:focus-within .nav-sub { clip-path: none; opacity: 1; pointer-events: auto; }
}

/* subsite overlay (spinup_config/<site>/subsite/site.css) */
/* The notes subsite's additions to sqxnotes' sheet (spinup_subsite.py appends this file).
   1. The header's utility menu (brand.json subsite.brand.header_actions: Data Search,
      Coverage check, Contact) on the header's one row, after the nav, in sqxnotes.com's
      pill language: Coverage check is an outlined pill and Contact the orange call to
      action, which stands in for the nav's own Contact Us. The row's layout is the
      builder's (subsite.brand header_layout: the menu folds behind the menu button
      below 1280px, and the buttons join the open menu below 761px); this sheet sets
      its look.
   2. The imported Explorer (sqx apps/explorer) has two mains of its own: main.results,
      a cell of the app's grid, and main.detail-view, a note's page. The site's prose
      main (an 820px measure and its padding) would squeeze the list, so main.results
      takes none of it (the detail view's own box already outranks it), and the base
      sheet's prose type rules skip both. The Explorer's type and links take sqxnotes'
      DM Sans and teal (html:root outranks the app's own :root, which loads after
      this sheet).
   3. The coverage check's fields and buttons in the contact form's look. */
html:root {
  --head: var(--sans);
  --body: var(--sans);
  --blue: var(--primary-light);
  --focus: var(--primary-light);
  --kept: var(--primary-light);
  --ink: var(--gray-900);
  --page: var(--gray-50);
}
.site-nav .nav-cta { display: none; }
.site-header {
  --header-row-h: var(--header-h);
  --control-h: 36px;
  --header-gap: clamp(8px, 1.2vw, 16px);
  padding: 0 clamp(14px, 1.7vw, 24px);
}
/* the wordmark shrinks with the window on a phone, so the field keeps its room */
.site-logo svg { height: clamp(22px, 1.6vw + 17px, 28px); }
.header-search { position: relative; display: flex; align-items: center; }
.header-search-toggle { display: none; }
.header-search-input {
  font: 400 var(--text-sm)/1.4 var(--sans);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0 36px 0 14px;
}
.header-search-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.header-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}
.header-search-input::-webkit-search-cancel-button { filter: invert(1); }
.header-search-submit {
  position: absolute;
  right: 5px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='0.75' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.header-search-submit:hover { background-color: rgba(255, 255, 255, 0.12); }
/* the suggestions: the live site's white search dropdown */
.header-search-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  min-width: min(420px, calc(100vw - 28px));
  max-height: 420px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 200;
}
.header-search-list > li { display: flex; flex-direction: column; gap: 1px; padding: 8px 14px; cursor: pointer; }
.header-search-list > li[aria-selected="true"], .header-search-list > li:hover { background: var(--primary-muted); }
.header-search-list .hs-name { font-weight: 600; font-size: var(--text-sm); color: var(--gray-900); }
.header-search-list .hs-meta { font-size: var(--text-xs); color: var(--gray-400); }
.header-search-list > .hs-all, .header-search-list > .hs-beyond { border-top: 1px solid var(--gray-100); }
.header-search-list > .hs-all .hs-name, .header-search-list > .hs-beyond .hs-name { color: var(--primary-light); }
.header-search-list > .hs-all .hs-name::after, .header-search-list > .hs-beyond .hs-name::after { content: " \2192"; }
.header-action {
  font: 500 var(--text-sm)/1.5 var(--sans);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-action:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.header-action-button { background: var(--accent); color: #fff; border-color: var(--accent); }
.header-action-button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.layout > main.results { max-width: none; width: auto; margin: 0; padding: 0; }
/* main.detail-view keeps the app's own box (styles.css .detail-view: a 1180px
   measure and its padding), which outranks the site's bare main rule. */
/* DM Sans' figures run wider than the app's Roboto: a point smaller and no tracking
   keep a full date in the list's Maturity column. */
.layout > main.results .grid { font-size: 13px; letter-spacing: 0; }

/* The imported coverage check lays its page out (app.css) and leaves its fields,
   buttons and results table to the site's sheet: here, the live contact form's
   fields and orange button, and outlined secondary buttons. */
.ccx-form label { display: block; margin: 14px 0 5px; font-size: 0.78rem; font-weight: 600; color: var(--gray-700); }
.ccx-form textarea, .ccx-form input[type="email"] {
  display: block; width: 100%;
  font-family: var(--sans); font-size: 0.9rem; color: var(--gray-900);
  background: #fff; border: 1px solid var(--gray-200); border-radius: 8px; padding: 10px 12px;
}
.ccx-form textarea { font-family: var(--mono); font-size: var(--text-sm); }
.ccx-form textarea:focus, .ccx-form input[type="email"]:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 113, 59, 0.18);
}
.ccx-form button[type="submit"] {
  font-family: inherit; font-size: 0.92rem; font-weight: 600;
  background: var(--accent); color: #fff; border: 0; border-radius: 8px;
  padding: 11px 26px; cursor: pointer;
}
.ccx-form button[type="submit"]:hover { background: var(--accent-hover); }
.ccx-head h1 { font-size: 1.75rem; font-weight: 700; color: var(--gray-900); letter-spacing: -0.015em; margin: 0 0 12px; }
.ccx-lede { font-size: var(--text-base); line-height: 1.7; color: var(--gray-700); }
.site-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 var(--text-sm)/1.4 var(--sans); text-decoration: none;
  color: var(--primary); background: #fff;
  border: 1px solid var(--primary); border-radius: 8px; padding: 9px 18px;
}
.site-btn:hover { background: var(--primary-muted); }
.site-table th { background: var(--gray-100); color: var(--gray-900); font-weight: 600; }

/* Below 1280px the long product title gives up its room and the menu folds behind
   the menu button: the open menu is a list under the row, More's links under it. */
@media (max-width: 1279px) {
  .site-logo::after { content: none; }
  .nav-menu-btn { border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; background: none; color: #fff; }
  .nav-open .nav-menu-btn { background: rgba(255, 255, 255, 0.12); }
  .site-nav { gap: 0; padding: 4px 0 12px; }
  .site-nav > a, .site-nav .nav-group-label { display: flex; align-items: center; padding: 0 4px; border: 0; border-radius: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .site-nav .nav-group { order: 0; }
  .site-nav .nav-sub { display: none; clip-path: none; opacity: 1; pointer-events: auto; padding: 0 0 8px 14px; }
  .site-nav .nav-sub::before { content: none; }
}
/* A phone: the field fills the row, so its suggestions take the row's width. */
@media (max-width: 760px) {
  .header-search-list { min-width: 0; }
}
/* the narrowest phones: the whole placeholder fits the field's row at 12px */
@media (width < 360px) {
  .header-search-input { padding-left: 8px; font-size: 12px; }
}

/* an image in page content fits its column (spinup_site_build.py) */
:where(main img) { max-width: 100%; height: auto; }

/* the header search field shows its whole placeholder (spinup_site_build.py) */
.header-search { min-width: min-content; }
.header-search-input { min-width: min(calc(var(--placeholder-ch) * 0.85ch + 4em), calc(100vw - 4rem)); }

/* the header row (spinup_site_build.py header_layout_css) */
.site-header { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; column-gap: var(--header-gap, 12px); row-gap: 0; }
.site-header > .site-logo { order: 1; flex: none; display: flex; align-items: center; min-height: var(--header-row-h, 64px); }
.site-header > .header-actions { order: 3; flex: 1 1 auto; display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; }
.site-header > .header-actions > .header-search { flex: 0 1 600px; width: auto; max-width: none; height: var(--control-h, 42px); margin: 0 auto 0 0; }
.site-header > .header-actions .header-search-input { box-sizing: border-box; flex: 1 1 auto; width: 100%; height: var(--control-h, 42px); min-height: 0; margin: 0; }
.site-header > .header-actions > .header-action { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: var(--control-h, 42px); min-height: 0; margin: 0; white-space: nowrap; }
.site-header > :not(.nav-menu-btn, .site-logo, .header-actions, .site-nav) { order: 4; flex: none; }
.site-header > .site-nav { order: 2; flex: none; }
.site-header > .header-actions { flex-basis: 0; }
.site-header > .nav-menu-btn { display: none; }
@media (max-width: 1279px) {
  .site-header > .nav-menu-btn { order: 0; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: var(--control-h, 42px); height: var(--control-h, 42px); min-height: 0; margin: 0; padding: 0; font-size: 0; cursor: pointer; }
  /* three bars; the button's text stays its accessible name */
  .site-header > .nav-menu-btn::before { content: ""; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px currentColor, 0 6px currentColor; }
  .site-header > .site-nav { order: 5; flex: 1 1 100%; display: none; flex-direction: column; align-items: stretch; height: auto; margin: 0; }
  .site-header.nav-open > .site-nav { display: flex; max-height: calc(100dvh - var(--header-row-h, 64px)); overflow-y: auto; }
  .site-header > .site-nav .nav-row { display: flex; flex-direction: column; align-items: stretch; }
  .site-header > .site-nav :is(a, .nav-group-label, .nav-group-toggle) { min-height: 44px; }
  .site-header > .site-nav .nav-group { display: flex; flex-wrap: wrap; align-items: stretch; }
  .site-header > .site-nav .nav-group > .nav-group-label { flex: 1; }
  .site-header > .site-nav .nav-group:hover > .nav-sub { display: none; }
  .site-header > .site-nav .nav-group:focus-within > .nav-sub { display: block; position: static; flex-basis: 100%; transform: none; box-shadow: none; }
}
@media (max-width: 760px) {
  .site-header > .header-actions .header-search[data-placeholder-narrow] .header-search-input { min-width: min(calc(var(--placeholder-narrow-ch) * 0.85ch + 4em), calc(100vw - 4rem)); }
  .site-header > .header-actions { display: contents; }
  .site-header > .header-actions > .header-search { order: 2; flex: 1 1 0; margin: 0; }
  .site-header > .header-actions > .header-action, .site-header > :not(.nav-menu-btn, .site-logo, .header-actions, .site-nav) { display: none; order: 6; }
  .site-header.nav-open > .header-actions > .header-action { display: inline-flex; flex: 1 1 0; margin-bottom: 16px; }
  .site-header.nav-open > :not(.nav-menu-btn, .site-logo, .header-actions, .site-nav) { display: flex; order: 7; flex: 1 1 100%; margin-bottom: 16px; }
}

/* text only a screen reader reads (spinup_site_build.py) */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* the footer's links to the other SQX sites (spinup_site_build.py) */
:where(.footer-family) { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 18px; padding: 14px 16px 18px; font-size: 13px; }
:where(.footer-family-label) { font-weight: 600; }
:where(.footer-family ul) { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
:where(.footer-family a) { color: inherit; }

.site-header { position: sticky; top: 0; z-index: 100; }
.sqx-bar {
  position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 28px; padding-inline: 2.25rem; text-align: center;
  background: var(--sqx-bar-bg, #abcdea); color: var(--sqx-bar-ink, #101820);
  font: 500 .75rem/1.25 system-ui, sans-serif;
}
.sqx-bar[hidden] { display: none; }
.sqx-bar a { color: inherit; text-decoration: underline; }
.sqx-bar button { position: absolute; right: .375rem; top: 50%; transform: translateY(-50%);
  width: 24px; min-height: 24px; padding: 0;
  background: transparent; border: 0; color: inherit; font: 1.125rem/1 system-ui; cursor: pointer; }
.sqx-bar :focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
@media print { .sqx-bar { display: none; } }
