/* NSA Dec 2026 post-quantum live page (render_timeline.py writes the markup; app.js the behaviour).
   Manav's system: --manav-* tokens only (assets/css/manav_tokens.css, linked before this file), one violet
   accent, Figtree + JetBrains Mono, light only (the site is light-only: DESIGN_OVERRIDES.md).
   Radius scale: 16px panels, 10px inputs and small boxes, 999px buttons, segments and tags.
   Everything is namespaced .nq-* so the blog kit's own styles (news.css) never reach in. */

.nq-page { --nq-max: 1120px; --nq-pad: 24px; --nq-head: 64px;
  --nq-mono: var(--manav-font-mono, 'JetBrains Mono', ui-monospace, Menlo, monospace);
  --nq-sans: var(--twc-font, 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  --nq-vio-04: color-mix(in srgb, var(--manav-violet) 4%, transparent);
  --nq-vio-10: color-mix(in srgb, var(--manav-violet) 10%, transparent);
  --nq-vio-24: color-mix(in srgb, var(--manav-violet) 24%, transparent);
  --nq-ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--manav-surface); color: var(--manav-ink); }
.nq-page .blog-main { background: var(--manav-surface); }
html:has(.nq-page) { scroll-padding-top: calc(var(--nq-head) + 72px); }
.nq-brand-sub { color: var(--manav-ink-3); font-weight: 400; }
.nq-nav a { white-space: nowrap; }

.nq-main { padding: 0 0 96px; }
.nq-main > section { max-width: var(--nq-max); margin: 0 auto; padding-left: var(--nq-pad); padding-right: var(--nq-pad); box-sizing: content-box; }
.nq-main h1, .nq-main h2, .nq-main h3, .nq-main h4 { font-family: inherit; color: var(--manav-ink); margin: 0; }
.nq-main h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; }
.nq-main p { margin: 0; }
.nq-main a { color: inherit; }
.hidden { display: none !important; }
.nq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── buttons, segments, tags ─────────────────────────────────────────────── */
.nq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 6px; font: 600 15px/1 var(--nq-sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .2s var(--nq-ease), color .2s var(--nq-ease), border-color .2s var(--nq-ease), transform .12s; }
.nq-btn:active { transform: scale(0.98); }
.nq-btn-primary { background: var(--manav-ink); color: var(--manav-surface) !important; border: 1px solid var(--manav-ink); }
.nq-btn-primary:hover { background: var(--manav-ink-hover); border-color: var(--manav-ink-hover); }
.nq-btn-ghost { background: var(--manav-surface); color: var(--manav-ink) !important; border: 1px solid var(--manav-border); }
.nq-btn-ghost:hover { border-color: var(--manav-ink); }
.nq-btn:focus-visible, .nq-seg:focus-visible, .nq-main summary:focus-visible, .nq-linkbtn:focus-visible, .nq-sort:focus-visible {
  outline: 2px solid var(--manav-violet); outline-offset: 2px; }

.nq-segs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--manav-surface-2); }
.nq-segs-wrap { flex-wrap: wrap; }
.nq-seg { border: 0; background: none; cursor: pointer; padding: 8px 12px; border-radius: 6px; font: 500 14px/1 var(--nq-sans);
  color: var(--manav-ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.nq-seg span { font-family: var(--nq-mono); font-size: 12px; color: var(--manav-ink-3); margin-left: 4px; }
.nq-seg:hover { color: var(--manav-ink); }
.nq-seg.active { background: var(--manav-surface); color: var(--manav-ink); box-shadow: 0 0 0 1px var(--manav-border-soft); }
.nq-seg.active span { color: var(--manav-violet); }

.nq-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font: 600 10.5px/1 var(--nq-sans); text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--manav-ink-3); background: var(--manav-surface-2); white-space: nowrap; }
.nq-tag.is-binding { color: var(--manav-violet-lo); background: var(--manav-violet-soft); }
.nq-tag.is-quiet { background: none; box-shadow: inset 0 0 0 1px var(--manav-border-soft); }

.nq-linkbtn { border: 0; background: none; padding: 0; cursor: pointer; font: 500 14px/1.4 var(--nq-sans); color: var(--manav-violet);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--nq-vio-24); }
.nq-linkbtn:hover { text-decoration-color: currentColor; }

.nq-chev { flex: none; width: 24px; height: 24px; border-radius: 999px; position: relative; transition: transform .3s var(--nq-ease), background .2s; }
.nq-chev::before { content: ""; position: absolute; left: 50%; top: 45%; width: 7px; height: 7px; border-right: 1.75px solid var(--manav-ink-3);
  border-bottom: 1.75px solid var(--manav-ink-3); transform: translate(-50%, -50%) rotate(45deg); }
details[open] > summary .nq-chev { transform: rotate(180deg); }
.nq-faq .nq-chev::before, .nq-disclose .nq-chev::before { left: 50%; top: 50%; width: 11px; height: 1.5px; border: 0; background: var(--manav-ink-2); transform: translate(-50%, -50%); }
.nq-faq .nq-chev::after, .nq-disclose .nq-chev::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.5px; height: 11px; background: var(--manav-ink-2);
  transform: translate(-50%, -50%); transition: transform .25s var(--nq-ease); }
details.nq-faq[open] > summary .nq-chev, details.nq-disclose[open] > summary .nq-chev { transform: none; }
details.nq-faq[open] > summary .nq-chev::after, details.nq-disclose[open] > summary .nq-chev::after { transform: translate(-50%, -50%) scaleY(0); }
summary:hover .nq-chev { background: var(--manav-surface-2); }
.nq-main summary { list-style: none; cursor: pointer; }
.nq-main summary::-webkit-details-marker { display: none; }

/* ── hero: an analyst note's first screen. Masthead, the call, the rating, the key figures ── */
.nq-hero { padding-top: 28px !important; padding-bottom: 56px !important; }
.nq-mast { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding-bottom: 14px; border-bottom: 2px solid var(--manav-ink); font-size: 14px; color: var(--manav-ink-2); }
.nq-mast strong { color: var(--manav-ink); font-weight: 600; }
.nq-mast span[aria-hidden] { color: var(--manav-border); margin: 0 4px; }
.nq-live { display: flex; align-items: center; gap: 8px; font: 500 13px/1 var(--nq-mono); color: var(--manav-ink-3); }
.nq-live-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--manav-ok); box-shadow: 0 0 0 0 var(--manav-ok-line); animation: nq-pulse 2.4s var(--nq-ease) infinite; }
@keyframes nq-pulse { 0% { box-shadow: 0 0 0 0 var(--manav-ok-line); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.nq-hero h1 { margin-top: 40px !important; font-size: clamp(36px, 5.2vw, 66px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 600; }
.nq-hero h1 span { display: block; color: var(--manav-violet); }
/* the brief: the threat level sets the panel's colour (level 4 High = amber) */
.nq-page { --nq-lv1: var(--manav-ok); --nq-lv2: color-mix(in srgb, var(--manav-ok) 55%, var(--manav-warn));
  --nq-lv3: color-mix(in srgb, var(--manav-warn) 55%, var(--manav-surface)); --nq-lv4: var(--manav-warn); --nq-lv5: var(--manav-crit); }
.nq-brief { --nq-lv: var(--nq-lv4); --nq-lv-soft: var(--manav-warn-soft); --nq-lv-line: var(--manav-warn-line);
  margin-top: 32px; padding: 26px 28px 8px; border: 1px solid var(--nq-lv-line); border-left: 4px solid var(--nq-lv); border-radius: 12px; background: var(--nq-lv-soft); }
.nq-brief.level-1, .nq-brief.level-2 { --nq-lv: var(--nq-lv1); --nq-lv-soft: var(--manav-ok-soft); --nq-lv-line: var(--manav-ok-line); }
.nq-brief.level-3 { --nq-lv: var(--nq-lv3); }
.nq-brief.level-5 { --nq-lv: var(--nq-lv5); --nq-lv-soft: var(--manav-crit-soft); --nq-lv-line: var(--manav-crit-line); }
.nq-brief-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px 32px; }
.nq-brief-label { font: 600 11.5px/1.4 var(--nq-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--manav-ink-2); }
.nq-verdict { position: relative; margin-top: 8px !important; font-size: clamp(22px, 2.2vw, 28px) !important; line-height: 1.25 !important; font-weight: 600; letter-spacing: -0.015em; color: var(--nq-lv) !important; }
/* the reason behind "Act Now" / "Don't Panic": anchored to the verdict line, out of the layout while closed (no sideways scroll on phones) */
.nq-tip { cursor: help; border-bottom: 2px dotted currentColor; outline: none; }
.nq-tip-pop { display: none; position: absolute; left: 0; top: calc(100% + 10px); z-index: 40; width: min(420px, 100%); padding: 14px 16px; border-radius: 8px;
  background: var(--manav-ink); color: var(--manav-ink-inverse); font-size: 14px; line-height: 1.55; font-weight: 400; letter-spacing: 0; animation: nq-open .2s var(--nq-ease); }
.nq-tip-pop strong { display: block; margin-bottom: 6px; font-weight: 600; }
.nq-tip:hover .nq-tip-pop, .nq-tip:focus .nq-tip-pop, .nq-tip.is-open .nq-tip-pop { display: block; }
.nq-threat { display: flex; gap: 6px; padding-top: 6px; }
.nq-lv { display: flex; flex-direction: column; gap: 7px; width: 68px; }
.nq-lv-bar { height: 7px; border-radius: 999px; background: var(--manav-border); }
.nq-lv.lv-1.is-on .nq-lv-bar { background: var(--nq-lv1); }
.nq-lv.lv-2.is-on .nq-lv-bar { background: var(--nq-lv2); }
.nq-lv.lv-3.is-on .nq-lv-bar { background: var(--nq-lv3); }
.nq-lv.lv-4.is-on .nq-lv-bar { background: var(--nq-lv4); }
.nq-lv.lv-5.is-on .nq-lv-bar { background: var(--nq-lv5); }
.nq-lv-lbl { font-size: 11.5px; line-height: 1.2; color: var(--manav-ink-3); white-space: nowrap; }
.nq-lv-lbl span { font-family: var(--nq-mono); }
.nq-lv.is-now .nq-lv-lbl { color: var(--manav-ink); font-weight: 600; }
.nq-brief-lead { margin-top: 18px !important; font-size: 17px; line-height: 1.7; color: var(--manav-ink-2); max-width: 78ch; }
.nq-brief-lead strong { color: var(--manav-ink); font-weight: 600; }
.nq-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.nq-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; text-decoration: none; }
.nq-pill.is-ok { color: var(--manav-ok); background: var(--manav-ok-soft); box-shadow: inset 0 0 0 1px var(--manav-ok-line); }
.nq-pill.is-calm { color: var(--manav-warn); background: var(--manav-surface); box-shadow: inset 0 0 0 1px var(--manav-warn-line); }
.nq-pill.is-crit { color: var(--manav-crit); background: var(--manav-crit-soft); box-shadow: inset 0 0 0 1px var(--manav-crit-line); }
.nq-pill.is-vio { color: var(--manav-violet-lo); background: var(--manav-violet-soft); box-shadow: inset 0 0 0 1px var(--manav-violet-line); }
.nq-pill.is-link { color: var(--manav-surface) !important; background: var(--manav-ink); margin-left: auto; }
.nq-pill.is-link:hover { background: var(--manav-ink-hover); }
.nq-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.nq-quick-col { padding: 16px 18px; border-radius: 8px; background: var(--manav-surface); border: 1px solid var(--nq-lv-line); }
.nq-quick-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 13.5px; color: var(--manav-ink-2); }
.nq-quick-h strong { font: 600 12px/1 var(--nq-mono); color: var(--manav-ink); }
.nq-quick-h em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.is-ciso .nq-quick-h em { color: var(--manav-crit); background: var(--manav-crit-soft); }
.is-cso .nq-quick-h em { color: var(--manav-ok); background: var(--manav-ok-soft); }
.nq-quick ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.nq-quick li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.45; font-weight: 500; color: var(--manav-ink); }
.nq-quick li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--nq-lv); }
.is-cso li::before { background: var(--manav-ok); }
.nq-brief-more { margin-top: 18px; border-color: var(--nq-lv-line); border-bottom: 0; }
.nq-brief-more > summary { font-size: 15px; }
.nq-brief .nq-analysis-foot { background: var(--manav-surface); border-left-color: var(--nq-lv); }
.nq-plan-lead { margin-top: 14px !important; font-size: 17px; line-height: 1.6; color: var(--manav-ink-2); max-width: 70ch; }
.nq-figs { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1.15fr 1.15fr 1fr 1fr;
  border-top: 1px solid var(--manav-border); border-bottom: 1px solid var(--manav-border); }
.nq-fig { padding: 22px 24px 22px 0; }
.nq-fig + .nq-fig { padding-left: 24px; border-left: 1px solid var(--manav-border-soft); }
.nq-fig > p { margin: 0; }
.nq-fig-n { font: 600 44px/1 var(--nq-mono); letter-spacing: -0.04em; color: var(--manav-ink); font-variant-numeric: tabular-nums; }
.nq-fig.is-date .nq-fig-n, .nq-fig.is-date .nq-count-n { color: var(--manav-violet); }
.nq-count-unit { font: 500 14px/1 var(--nq-mono); letter-spacing: 0; color: var(--manav-ink-3); margin-left: 8px; }
.nq-fig-t { margin-top: 12px !important; font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--manav-ink); }
.nq-fig-s { margin-top: 4px !important; font: 500 12px/1.5 var(--nq-mono); color: var(--manav-ink-3); }
.nq-count.is-past .nq-count-n { color: var(--manav-ink-3); }
.nq-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* analyst-note furniture */
.nq-exhibit { font: 500 12px/1 var(--nq-mono); color: var(--manav-violet); margin-bottom: 10px !important; }
.nq-source { margin-top: 14px !important; font-size: 12.5px; line-height: 1.5; color: var(--manav-ink-3); }
.nq-tl > .nq-source { padding-left: 168px; }
.nq-disclose > summary b { font: 500 12px/1 var(--nq-mono); color: var(--manav-violet); margin-right: 10px; }
.nq-disclosures { margin-top: 64px !important; padding-top: 24px !important; border-top: 1px solid var(--manav-border); display: grid; gap: 10px; }
.nq-disclosures h2 { font-size: 15px !important; letter-spacing: 0 !important; }
.nq-disclosures p { font-size: 13px; line-height: 1.6; color: var(--manav-ink-3); max-width: 90ch; }
.nq-disclosures strong { color: var(--manav-ink-2); font-weight: 600; }

/* ── what to do ───────────────────────────────────────────────────────────── */
.nq-plan { padding-top: 72px !important; }
.nq-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; counter-reset: none; }
.nq-steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--manav-ink); }
.nq-steps li + li { border-top-color: var(--manav-border); }
.nq-step-n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; margin-bottom: 14px;
  font: 600 14px/1 var(--nq-mono); color: var(--manav-violet); background: var(--manav-violet-soft); }
.nq-steps h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.nq-steps p { font-size: 15px; line-height: 1.55; color: var(--manav-ink-2); }

.nq-disclose { margin-top: 40px; border-top: 1px solid var(--manav-border); border-bottom: 1px solid var(--manav-border); }
.nq-disclose + .nq-disclose { margin-top: 0; border-top: 0; }
.nq-disclose > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.nq-disclose > summary em { font-style: normal; font: 500 13px/1 var(--nq-mono); color: var(--manav-ink-3); margin-left: 10px; }
.nq-disclose > summary:hover span:first-child { color: var(--manav-violet); }
.nq-analysis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; padding: 4px 0 28px; }
.nq-analysis h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--manav-ink-2); }
.nq-analysis ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.nq-analysis li { font-size: 15px; line-height: 1.6; color: var(--manav-ink-2); padding-left: 16px; position: relative; }
.nq-analysis li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 1.5px; background: var(--manav-ink-3); }
.nq-analysis li strong { color: var(--manav-ink); font-weight: 600; }
.nq-analysis-foot { grid-column: 1 / -1; padding: 16px 20px; border-radius: 8px; background: var(--manav-bg); border-left: 2px solid var(--manav-violet); font-size: 15px; line-height: 1.55; color: var(--manav-ink); }

/* ── timeline ─────────────────────────────────────────────────────────────── */
.nq-tl { padding-top: 88px !important; }
.nq-tl-sub { margin-top: 8px !important; font-size: 16px; color: var(--manav-ink-3); }
.nq-toolbar { position: sticky; top: var(--nq-head); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 24px calc(var(--nq-pad) * -1) 0; padding: 12px var(--nq-pad);
  background: color-mix(in srgb, var(--manav-surface) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--manav-border-soft); }
.nq-search { position: relative; flex: 1 1 260px; display: flex; align-items: center; }
.nq-search svg { position: absolute; left: 14px; width: 17px; height: 17px; fill: none; stroke: var(--manav-ink-3); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.nq-search input { width: 100%; height: 42px; padding: 0 64px 0 40px; border: 1px solid var(--manav-border); border-radius: 8px; background: var(--manav-surface);
  font: 400 15px/1 var(--nq-sans); color: var(--manav-ink); -webkit-appearance: none; appearance: none; }
.nq-search input::placeholder { color: var(--manav-ink-3); }
.nq-search input:focus { outline: none; border-color: var(--manav-violet); box-shadow: 0 0 0 3px var(--nq-vio-10); }
.nq-search input::-webkit-search-cancel-button { display: none; }
.nq-search kbd { position: absolute; right: 12px; font: 500 12px/1 var(--nq-mono); color: var(--manav-ink-3); padding: 4px 7px; border-radius: 6px;
  border: 1px solid var(--manav-border-soft); background: var(--manav-surface-2); }
.nq-search-clear { position: absolute; right: 38px; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--manav-ink-3); cursor: pointer; padding: 4px 6px; }
.nq-select select { height: 42px; padding: 0 34px 0 14px; border: 1px solid var(--manav-border); border-radius: 8px; background-color: var(--manav-surface);
  font: 500 14px/1 var(--nq-sans); color: var(--manav-ink-2); cursor: pointer; }
.nq-sort { height: 42px; padding: 0 14px; border: 1px solid var(--manav-border); border-radius: 8px; background: var(--manav-surface);
  font: 500 14px/1 var(--nq-sans); color: var(--manav-ink-2); cursor: pointer; white-space: nowrap; }
.nq-sort:hover, .nq-select select:hover { border-color: var(--manav-ink-3); }

.nq-results { margin-top: 16px; padding: 18px 20px; border: 1px solid var(--manav-border-soft); border-radius: 12px; background: var(--manav-surface); }
.sr-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--manav-ink-2); margin-bottom: 12px; }
.sr-head strong { color: var(--manav-ink); }
.sr-clear-link { border: 0; background: none; color: var(--manav-violet); cursor: pointer; font: 500 14px/1 var(--nq-sans); }
.sr-grid { display: grid; gap: 20px; }
.sr-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sr-group-title { font: 500 12px/1 var(--nq-mono); color: var(--manav-ink-3); margin-bottom: 8px !important; }
.sr-list { display: grid; gap: 2px; }
.sr-item { display: grid; gap: 3px; text-align: left; border: 0; background: none; cursor: pointer; padding: 8px 10px; border-radius: 10px; font-family: inherit; }
.sr-item:hover { background: var(--manav-violet-soft); }
.sr-item-meta { font: 500 12px/1.4 var(--nq-mono); color: var(--manav-ink-3); }
.sr-item-title { font-size: 14px; line-height: 1.4; color: var(--manav-ink); }
.sr-more, .sr-empty { font-size: 13px; color: var(--manav-ink-3); margin-top: 8px !important; }

.nq-events { position: relative; margin-top: 8px; }
.nq-events::before { content: ""; position: absolute; top: 0; bottom: 0; left: 147px; width: 1px; background: var(--manav-border); }
.nq-era { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin: 40px 0 6px; padding-left: 176px; }
.nq-era:first-child { margin-top: 28px; }
.nq-era h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.nq-era-when { position: absolute; left: 0; width: 128px; font: 500 13px/1.9 var(--nq-mono); color: var(--manav-violet); }
.nq-era-count { font: 500 12px/1 var(--nq-mono); color: var(--manav-ink-3); white-space: nowrap; }
.nq-ev { position: relative; }
.nq-ev-card > summary { display: grid; grid-template-columns: 128px 40px minmax(0, 1fr) 24px; align-items: start; padding: 14px 0; border-radius: 10px; }
.nq-ev-card > summary:hover .nq-ev-title { color: var(--manav-violet); }
.nq-ev-when { display: flex; flex-direction: column; gap: 2px; }
.nq-ev-date { font: 500 13px/1.55 var(--nq-mono); color: var(--manav-ink-2); padding-right: 10px; }
.nq-ev-cat { font-size: 12px; line-height: 1.4; color: var(--manav-ink-3); }
.nq-ev-dot { justify-self: center; margin-top: 7px; width: 9px; height: 9px; border-radius: 999px; background: var(--manav-surface);
  box-shadow: 0 0 0 1.5px var(--manav-ink-3); position: relative; z-index: 1; }
.nq-ev.is-major .nq-ev-dot { background: var(--manav-ink); box-shadow: 0 0 0 3px var(--manav-surface), 0 0 0 4px var(--manav-ink); }
.nq-ev.is-binding .nq-ev-dot { background: var(--manav-violet); box-shadow: 0 0 0 3px var(--manav-surface), 0 0 0 4px var(--manav-violet); }
.nq-ev-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; min-width: 0; }
.nq-ev-title { font-size: 16.5px; line-height: 1.45; font-weight: 500; color: var(--manav-ink); transition: color .2s; }
.nq-ev:not(.is-major) .nq-ev-title { color: var(--manav-ink-2); }
.nq-ev.is-binding .nq-ev-title { font-weight: 600; }
.nq-ev-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; transform: translateY(-1px); }
.nq-ev-body { margin-left: 168px; padding: 2px 28px 22px 0; max-width: 72ch; display: grid; gap: 14px;
  animation: nq-open .35s var(--nq-ease); }
@keyframes nq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nq-ev-body > p { font-size: 15.5px; line-height: 1.65; color: var(--manav-ink-2); }
.nq-quote { margin: 0; padding: 4px 0 4px 16px; border-left: 2px solid var(--manav-violet); font-size: 15.5px; line-height: 1.6; color: var(--manav-ink); }
.nq-srcs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nq-srcs a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 6px 0; font-size: 14px; color: var(--manav-ink) !important;
  text-decoration: underline; text-decoration-color: var(--manav-border); text-underline-offset: 3px; }
.nq-srcs a:hover { text-decoration-color: var(--manav-violet); }
.nq-src-host { font: 500 12px/1 var(--nq-mono); color: var(--manav-ink-3); text-decoration: none; }
.nq-ev-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 12px/1 var(--nq-mono); color: var(--manav-ink-3); }
.nq-copy { border: 1px solid var(--manav-border); background: var(--manav-surface); border-radius: 6px; padding: 6px 12px; cursor: pointer;
  font: 500 12px/1 var(--nq-sans); color: var(--manav-ink-2); }
.nq-copy:hover { border-color: var(--manav-ink-3); color: var(--manav-ink); }
.nq-ev:target .nq-ev-card > summary, .nq-ev.is-flash .nq-ev-card > summary { background: var(--manav-violet-soft); }
.nq-tl-status { margin-top: 20px !important; padding-left: 168px; font-size: 14px; color: var(--manav-ink-3); }
.nq-empty { padding: 28px 0 8px 168px; font-size: 15px; color: var(--manav-ink-2); }

/* reveal: only once app.js has run (no script, nothing is hidden) */
.nq-js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--nq-ease), transform .5s var(--nq-ease); }
.nq-js .reveal.is-visible { opacity: 1; transform: none; }

/* ── go deeper ────────────────────────────────────────────────────────────── */
.nq-deep { padding-top: 88px !important; }
.nq-deep h2 { margin-bottom: 20px; }
.nq-dls { list-style: none; margin: 0; padding: 0 0 20px; }
.nq-dl { display: grid; grid-template-columns: 118px 96px minmax(0, 1fr); gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--manav-border-soft); }
.nq-dl time { font: 500 13px/1.6 var(--nq-mono); color: var(--manav-ink); }
.nq-dl-when { font: 500 12px/1.75 var(--nq-mono); color: var(--manav-ink-3); }
.nq-dl.is-hard .nq-dl-when { color: var(--manav-violet); }
.nq-dl-main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; line-height: 1.55; color: var(--manav-ink-2); }
.nq-dl-main > strong { color: var(--manav-ink); font-weight: 600; }
.nq-dl-main > span:not(.nq-tag) { flex-basis: 100%; }
.nq-dl-scope { font-size: 13px; color: var(--manav-ink-3); }
.nq-dl.is-past { opacity: .55; }
.nq-ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 4px 0 28px; }
.nq-ledger h4, .nq-srcgroup h4 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.nq-ledger h4 span, .nq-srcgroup h4 span { font: 500 12px/1 var(--nq-mono); color: var(--manav-ink-3); margin-left: 6px; }
.nq-ledger ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.nq-ledger li { font-size: 14.5px; line-height: 1.6; color: var(--manav-ink-2); padding-top: 12px; border-top: 1px solid var(--manav-border-soft); }
.nq-ledger-confirmedPrimary h4 { color: var(--manav-ok); }
.nq-ledger-unconfirmedClassified h4 { color: var(--manav-ink-3); }
.nq-table-wrap { overflow-x: auto; padding-bottom: 24px; }
.nq-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.nq-table th, .nq-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--manav-border-soft); }
.nq-table thead th { font: 500 12px/1 var(--nq-mono); color: var(--manav-ink-3); border-top: 0; padding-top: 4px; }
.nq-table tbody th { width: 28%; font-weight: 600; }
.nq-table tbody th a { color: var(--manav-ink) !important; text-decoration: none; }
.nq-table tbody th a:hover { color: var(--manav-violet) !important; }
.nq-table tbody th > span, .nq-tier-what, .nq-note { display: block; font-size: 13px; font-weight: 400; color: var(--manav-ink-3); margin-top: 4px; }
.nq-table td { color: var(--manav-ink-2); }
.nq-table td:nth-child(2) { width: 18%; }
.nq-table tr.is-self th, .nq-table tr.is-self td { background: var(--nq-vio-04); }
.nq-table tr.is-self th { padding-left: 12px; border-radius: 10px 0 0 10px; }
.nq-us { display: inline-flex; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font: 500 11px/1.4 var(--nq-sans); color: var(--manav-violet-lo); background: var(--manav-violet-soft); vertical-align: 2px; }
.nq-tier { display: inline-flex; height: 22px; align-items: center; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.tier-yes { color: var(--manav-ok); background: var(--manav-ok-soft); }
.tier-beta { color: var(--manav-warn); background: var(--manav-warn-soft); }
.tier-no { color: var(--manav-ink-3); background: var(--manav-surface-2); }
.nq-srcdir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; padding: 4px 0 28px; }
.nq-srcgroup ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.nq-srcgroup li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 6px 0; font-size: 14px; line-height: 1.5; }
.nq-srcgroup time { font: 500 12px/1.75 var(--nq-mono); color: var(--manav-ink-3); }
.nq-srcgroup a { color: var(--manav-ink-2) !important; text-decoration: none; }
.nq-srcgroup a:hover { color: var(--manav-violet) !important; text-decoration: underline; text-underline-offset: 3px; }

/* ── answers ──────────────────────────────────────────────────────────────── */
.nq-faqs { padding-top: 96px !important; }
.nq-faqs > * { max-width: 880px; }
.nq-faqs-head p { margin-top: 8px !important; font-size: 16px; color: var(--manav-ink-3); }
.nq-faq-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 8px; }
.nq-faq { border-bottom: 1px solid var(--manav-border-soft); }
.nq-faq > summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 0; }
.nq-faq-q { font-size: 17px; line-height: 1.45; font-weight: 500; color: var(--manav-ink); }
.nq-faq > summary:hover .nq-faq-q { color: var(--manav-violet); }
.nq-faq[open] .nq-faq-q { font-weight: 600; }
.nq-faq-a { padding: 0 44px 22px 0; animation: nq-open .35s var(--nq-ease); }
.nq-faq-a p { font-size: 15.5px; line-height: 1.7; color: var(--manav-ink-2); max-width: 72ch; }
.nq-faq-cta { margin-top: 14px !important; }
.nq-faq-cta a { color: var(--manav-violet) !important; font-weight: 600; text-decoration: none; }
.nq-faq-cta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nq-faq.is-roleshown::before { content: attr(data-faq-role-label); display: block; padding-top: 14px; font: 500 12px/1 var(--nq-mono); color: var(--manav-ink-3); }
.nq-faq.is-roleshown > summary { padding-top: 8px; }

/* ── talk ─────────────────────────────────────────────────────────────────── */
.nq-talk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; margin-top: 96px !important;
  max-width: calc(var(--nq-max) - 96px) !important; padding: 48px !important; border-radius: 12px; background: var(--manav-surface); border: 1px solid var(--manav-border-soft); }
.nq-talk-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.nq-talk-copy > p:first-of-type { font-size: 17px; line-height: 1.6; color: var(--manav-ink-2); max-width: 40ch; }
.nq-talk-proof { margin-top: auto !important; padding-top: 18px; border-top: 1px solid var(--manav-border-soft); font-size: 14px; line-height: 1.6; color: var(--manav-ink-2); }
.nq-form { display: grid; gap: 14px; padding: 28px; border-radius: 12px; background: var(--manav-bg); }
.nq-frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nq-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--manav-ink); }
.nq-opt { font-weight: 400; color: var(--manav-ink-3); }
.nq-form input, .nq-form select, .nq-form textarea { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border: 1px solid var(--manav-border);
  border-radius: 6px; background: var(--manav-surface); font: 400 15px/1.4 var(--nq-sans); color: var(--manav-ink); }
.nq-form textarea { resize: vertical; min-height: 84px; }
.nq-form input:focus, .nq-form select:focus, .nq-form textarea:focus { outline: none; border-color: var(--manav-violet); box-shadow: 0 0 0 3px var(--nq-vio-10); }
.nq-form ::placeholder { color: var(--manav-ink-3); }
.nq-submit { width: 100%; margin-top: 4px; }
.nq-assent { font-size: 12.5px; line-height: 1.5; color: var(--manav-ink-3); }
.nq-assent a { color: var(--manav-ink-2) !important; }
.nq-form .form-err { font-size: 14px; color: var(--manav-crit); }

.nq-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; z-index: 60;
  padding: 10px 16px; border-radius: 6px; background: var(--manav-ink); color: var(--manav-surface); font-size: 14px; font-weight: 500;
  transition: opacity .25s var(--nq-ease), transform .25s var(--nq-ease); }
.nq-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── narrow screens: one column everywhere ───────────────────────────────── */
@media (max-width: 960px) {
  .nq-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nq-fig:nth-child(3) { padding-left: 0; border-left: 0; }
  .nq-fig:nth-child(n+3) { border-top: 1px solid var(--manav-border-soft); }
  .nq-talk { grid-template-columns: minmax(0, 1fr); padding: 32px !important; margin-left: var(--nq-pad) !important; margin-right: var(--nq-pad) !important; }
}
@media (max-width: 760px) {
  .nq-page { --nq-pad: 18px; }
  .nq-hero { padding-top: 16px !important; padding-bottom: 36px !important; }
  .nq-mast { font-size: 13px; }
  .nq-hero h1 { margin-top: 24px !important; font-size: 34px; }
  .nq-brief { padding: 20px 18px 4px; margin-top: 24px; }
  .nq-brief-lead { font-size: 16px; }
  .nq-quick { grid-template-columns: minmax(0, 1fr); }
  .nq-threat { width: 100%; }
  .nq-lv { flex: 1 1 0; width: auto; }
  .nq-lv-lbl { font-size: 10.5px; }
  .nq-pill.is-link { margin-left: 0; }
  .nq-fig { padding: 16px 12px 16px 0; }
  .nq-fig + .nq-fig { padding-left: 12px; }
  .nq-fig:nth-child(3) { padding-left: 0; }
  .nq-fig-n { font-size: 34px; }
  .nq-fig-t { font-size: 14px; margin-top: 8px !important; }
  .nq-tl > .nq-source { padding-left: 32px; }
  .nq-steps, .nq-analysis, .nq-ledger, .nq-srcdir, .sr-grid.two-col { grid-template-columns: minmax(0, 1fr); }
  .nq-steps { gap: 24px; }
  .nq-toolbar { position: static; gap: 8px; margin-left: 0; margin-right: 0; padding: 12px 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; }
  .nq-segs { flex: 1 1 auto; }
  .nq-select { flex: 1 1 140px; }
  .nq-select select { width: 100%; }
  .nq-main h2 { font-size: 26px; }
  .nq-plan, .nq-tl, .nq-deep, .nq-faqs { padding-top: 64px !important; }
  .nq-ev-card > summary { padding: 12px 0; }
  .nq-ev-title { font-size: 15.5px; }
  .nq-disclose > summary { font-size: 16px; }
  .nq-disclose > summary b { display: block; margin: 0 0 6px; }
  .nq-faq-q { font-size: 16px; }
  .nq-hero-ctas .nq-btn { flex: 1 1 auto; }
  .nq-search { flex-basis: 100%; }
  .nq-search kbd { display: none; }
  .nq-search-clear { right: 10px; }
  .nq-events::before { left: 8px; }
  .nq-era { padding-left: 32px; flex-wrap: wrap; }
  .nq-era-when { position: static; display: block; width: auto; }
  .nq-era h3 { display: flex; flex-direction: column; }
  .nq-ev-card > summary { grid-template-columns: 18px minmax(0, 1fr) 24px; grid-template-areas: "dot date chev" ". main chev"; column-gap: 14px; row-gap: 4px; }
  .nq-ev-when { grid-area: date; flex-direction: row; gap: 8px; align-items: baseline; }
  .nq-ev-date { font-size: 12px; }
  .nq-ev-dot { grid-area: dot; justify-self: start; margin-left: 4px; }
  .nq-ev-main { grid-area: main; }
  .nq-chev { grid-area: chev; }
  .nq-ev-body { margin-left: 32px; padding-right: 0; }
  .nq-tl-status, .nq-empty { padding-left: 32px; }
  .nq-dl { grid-template-columns: 104px minmax(0, 1fr); }
  .nq-dl-when { grid-column: 2; grid-row: 1; }
  .nq-dl-main { grid-column: 1 / -1; }
  .nq-frow { grid-template-columns: minmax(0, 1fr); }
  .nq-talk { padding: 24px !important; }
  .nq-form { padding: 20px; }
  .nq-faq-a { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nq-live-dot { animation: none; }
  .nq-js .reveal { opacity: 1; transform: none; transition: none; }
  .nq-ev-body, .nq-faq-a { animation: none; }
  .nq-chev, .nq-btn, .nq-toast { transition: none; }
}
@media print {
  .nq-toolbar, .nq-talk, .nq-hero-ctas { display: none !important; }
  .nq-main details > *:not(summary) { display: block !important; }
}
