/* NDAA411 — official-but-modern civic design */
:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --navy-600: #1d4477;
  --crimson: #b3202f;
  --crimson-600: #9a1826;
  --gold: #c9a227;

  --page: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #fcfcfb;
  --surface-3: #eef1f5;
  --ink: #0b0b0b;
  --ink-2: #3f4650;
  --ink-3: #6b7280;
  --line: #e1e0d9;
  --line-2: #c3c2b7;
  --link: #1d4fa0;
  --focus: #f2b632;

  /* data viz (reference palette) */
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #e87ba4; --s6: #008300; --s7: #6250d6; --s8: #e34948;
  --seq-100: #cde2fb; --seq-200: #9ec5f4; --seq-300: #6da7ec; --seq-400: #3987e5; --seq-500: #256abf; --seq-600: #184f95; --seq-700: #0d366b;
  --div-pos: #2a78d6; --div-neg: #e34948; --div-mid: #f0efec;
  --grid: #e1e0d9; --axis: #c3c2b7; --muted: #898781;
  --good: #006300;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 4px 16px rgba(11, 37, 69, .06);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0d0f12; --surface: #15181d; --surface-2: #1a1a19; --surface-3: #1f242c;
    --ink: #f0efec; --ink-2: #c9ccd2; --ink-3: #9aa0a8; --line: #2c2f35; --line-2: #3a3e45; --link: #8db8ff;
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
    --seq-100: #0d366b; --seq-200: #104281; --seq-300: #184f95; --seq-400: #1c5cab; --seq-500: #2a78d6; --seq-600: #5598e7; --seq-700: #9ec5f4;
    --div-pos: #3987e5; --div-neg: #e66767; --div-mid: #383835;
    --grid: #2c2c2a; --axis: #383835; --good: #0ca30c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #0d0f12; --surface: #15181d; --surface-2: #1a1a19; --surface-3: #1f242c;
  --ink: #f0efec; --ink-2: #c9ccd2; --ink-3: #9aa0a8; --line: #2c2f35; --line-2: #3a3e45; --link: #8db8ff;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767;
  --seq-100: #0d366b; --seq-200: #104281; --seq-300: #184f95; --seq-400: #1c5cab; --seq-500: #2a78d6; --seq-600: #5598e7; --seq-700: #9ec5f4;
  --div-pos: #3987e5; --div-neg: #e66767; --div-mid: #383835;
  --grid: #2c2c2a; --axis: #383835; --good: #0ca30c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--focus); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }

/* Notice */
.notice-bar { background: var(--navy-900); color: #d6dde8; font-size: .8rem; }
.notice-bar .wrap { display: flex; gap: 10px; align-items: center; padding-top: 6px; padding-bottom: 6px; }
.notice-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* Masthead */
.masthead { background: var(--navy-800); color: #fff; border-bottom: 4px solid var(--crimson); position: sticky; top: 0; z-index: 40; }
.masthead-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand-name { font-family: var(--sans); font-weight: 800; font-size: 2.1rem; letter-spacing: -.01em; line-height: 1; }
.brand-name b { color: #ff6b77; font-weight: 800; }
.brand-name.small { font-size: 1.2rem; margin-bottom: 8px; }
.brand-sub { display: block; font-size: .7rem; color: #b8c4d6; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: #e4eaf3; text-decoration: none; font-weight: 600; font-size: .88rem; padding: 8px 11px; border-radius: 6px; }
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a.active { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.nav a.nav-search { border: 1px solid rgba(255,255,255,.35); }
.menu-btn { display: none; margin-left: auto; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 8px 12px; font: 600 .9rem var(--sans); }
@media (max-width: 1020px) {
  .masthead { position: static; }
  .menu-btn { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; padding-bottom: 12px; }
  .nav.open { display: flex; }
}

/* Hero */
.hero { background: radial-gradient(1200px 400px at 85% -10%, #1d4477 0%, transparent 60%), linear-gradient(180deg, var(--navy-800), var(--navy-700)); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: repeating-linear-gradient(90deg, var(--crimson) 0 40px, #fff 40px 80px); opacity: .9; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: 1.15rem; color: #d3dceb; max-width: 60ch; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-total { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 24px; backdrop-filter: blur(4px); }
.hero-total .big { font-family: var(--sans); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -.02em; }
.hero-total .lbl { color: #b8c4d6; font-size: .9rem; margin-top: 6px; }
.hero-total .split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-total .split b { display: block; font-size: 1.25rem; }
.hero-total .split span { font-size: .78rem; color: #b8c4d6; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem var(--sans); padding: 12px 18px; border-radius: 8px; border: 0; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--crimson); color: #fff; }
.btn-primary:hover { background: var(--crimson-600); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { background: var(--surface); color: var(--navy-800); border: 1px solid var(--line-2); }
:root[data-theme="dark"] .btn-outline { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-outline { color: var(--ink); } }

/* Page header (interior) */
.page-head { background: var(--navy-800); color: #fff; padding: 36px 0 32px; border-bottom: 1px solid var(--navy-700); }
.page-head .lede { color: #cdd7e6; max-width: 70ch; font-size: 1.05rem; margin: 0; }
.crumbs { font-size: .8rem; color: #9fb0c8; margin-bottom: 10px; }
.crumbs a { color: #cfe0ff; }

section.block { padding: 40px 0; }
section.block + section.block { padding-top: 8px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.section-title h2 { margin: 0; }
.kicker { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--crimson); margin-bottom: 6px; }
:root[data-theme="dark"] .kicker { color: #ff7a85; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kicker { color: #ff7a85; } }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card h3 { margin-bottom: .35em; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.stat .v { font-weight: 800; font-size: 1.9rem; line-height: 1.1; letter-spacing: -.01em; }
.stat .k { color: var(--ink-3); font-size: .85rem; margin-top: 4px; }
.stat .d { font-size: .8rem; margin-top: 6px; color: var(--ink-2); }

.path-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s; border-top: 4px solid var(--navy-600); }
.path-card:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 8px 28px rgba(11,37,69,.12); }
.path-card .q { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.path-card .a { color: var(--ink-2); font-size: .95rem; }
.path-card .go { margin-top: auto; color: var(--link); font-weight: 700; font-size: .9rem; }
.icon { width: 36px; height: 36px; border-radius: 8px; background: var(--surface-3); color: var(--navy-600); display: grid; place-items: center; flex: none; }
:root[data-theme="dark"] .icon { color: #9ec5f4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon { color: #9ec5f4; } }
.icon svg { width: 20px; height: 20px; }

.callout { border-left: 4px solid var(--gold); background: var(--surface); padding: 14px 18px; border-radius: 0 8px 8px 0; color: var(--ink-2); font-size: .95rem; }
.callout strong { color: var(--ink); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--surface-3); color: var(--ink-2); border: 1px solid var(--line); text-decoration: none; white-space: nowrap; }
a.chip:hover { border-color: var(--line-2); color: var(--ink); }
.chip.sec { font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* Charts */
.chart-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.chart-head h3 { margin: 0; font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.chart-head p { margin: 2px 0 0; font-size: .85rem; color: var(--ink-3); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
svg text { font-family: var(--sans); }
.axis text { fill: var(--muted); font-size: 11px; }
.axis path, .axis line { stroke: var(--axis); }
.gridline line { stroke: var(--grid); }
.gridline path { display: none; }
.tip { position: fixed; pointer-events: none; z-index: 60; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; font-size: .82rem; box-shadow: 0 8px 24px rgba(0,0,0,.18); max-width: 320px; }
.tip b { display: block; margin-bottom: 2px; }
.tip .row { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.tip .row span:first-child { color: var(--ink-3); }

.treemap-wrap { position: relative; }
.treemap-node { cursor: pointer; }
.treemap-node rect { stroke: var(--surface-2); stroke-width: 2px; }
.treemap-node:hover rect { filter: brightness(1.08); }
.treemap-node text { fill: #fff; pointer-events: none; }
.treemap-node text.dark { fill: #0b0b0b; }
.crumbbar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: .85rem; margin-bottom: 10px; }
.crumbbar button { background: none; border: 0; color: var(--link); font: 600 .85rem var(--sans); cursor: pointer; padding: 2px 0; }
.crumbbar span.sep { color: var(--ink-3); }

.barlist { display: grid; gap: 6px; }
.barrow { display: grid; grid-template-columns: minmax(150px, 42%) 1fr auto; align-items: center; gap: 10px; font-size: .85rem; padding: 3px 0; }
.barrow .lab { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.barrow .track { height: 14px; background: transparent; position: relative; }
.barrow .fill { height: 100%; border-radius: 0 4px 4px 0; background: var(--s1); min-width: 2px; }
.barrow .val { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; min-width: 70px; }
.barrow:hover .lab { color: var(--ink); }
button.barrow { all: unset; display: grid; grid-template-columns: minmax(150px, 42%) 1fr auto; align-items: center; gap: 10px; font-size: .85rem; padding: 3px 0; cursor: pointer; }
button.barrow:focus-visible { outline: 3px solid var(--focus); }

/* Tables */
.table-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
input[type="search"], input[type="number"], input[type="text"], select {
  font: 500 .95rem var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; min-width: 0;
}
input[type="search"] { flex: 1 1 260px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); background: var(--surface-3); position: sticky; top: 0; cursor: pointer; white-space: nowrap; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr:hover td { background: var(--surface-3); }
.up { color: var(--good); font-weight: 600; }
.down { color: var(--div-neg); font-weight: 600; }
.why { font-size: .78rem; color: var(--ink-3); margin-top: 3px; }

/* Taxes */
.tax-input { display: grid; gap: 14px; }
.tax-input label { font-weight: 700; font-size: .9rem; display: block; margin-bottom: 6px; }
.money-input { position: relative; }
.money-input span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 700; }
.money-input input { padding-left: 26px; width: 100%; font-size: 1.4rem; font-weight: 700; }
.receipt { font-variant-numeric: tabular-nums; }
.receipt-row { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
.receipt-row i { width: 12px; height: 12px; border-radius: 3px; }
.receipt-row .t { font-weight: 600; }
.receipt-row .s { font-size: .8rem; color: var(--ink-3); }
.receipt-row .v { font-weight: 800; }
.receipt-total { display: flex; justify-content: space-between; padding: 14px 0 0; font-weight: 800; font-size: 1.2rem; }
.fun-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.fun { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.fun .v { font-weight: 800; font-size: 1.35rem; }
.fun .k { font-size: .85rem; color: var(--ink-2); }

/* Map */
.map svg { width: 100%; height: auto; display: block; }
.state { stroke: var(--surface-2); stroke-width: .8px; cursor: pointer; }
.state:hover, .state.sel { stroke: var(--ink); stroke-width: 1.6px; }
.country { stroke: var(--surface-2); stroke-width: .5px; }
.country.hit { cursor: pointer; }
.country.hit:hover, .country.sel { stroke: var(--ink); stroke-width: 1.2px; }
.split2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .split2 { grid-template-columns: 1fr; } }
.detail h3 { margin-bottom: 4px; }
.proj { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.proj .p { font-weight: 600; }
.proj .m { color: var(--ink-3); font-size: .8rem; }
.proj .amt { float: right; font-weight: 700; font-variant-numeric: tabular-nums; margin-left: 10px; }
.scroll { max-height: 520px; overflow: auto; padding-right: 6px; }

.kind-badge { display: inline-flex; gap: 6px; align-items: center; font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-3); }
.kind-badge i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.country-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.country-card { cursor: pointer; text-align: left; font: inherit; color: inherit; }
.country-card h3 { font-family: var(--sans); font-size: 1rem; margin: 6px 0 4px; }
.country-card ul { margin: 0; padding-left: 18px; font-size: .85rem; color: var(--ink-2); }

.feature { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.feature p { font-size: .93rem; color: var(--ink-2); margin-bottom: 10px; }

/* Personas */
.persona-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.persona-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.persona-tabs a.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.persona-tabs a svg { width: 18px; height: 18px; }
.item-card h3 { font-family: var(--sans); font-size: 1.05rem; }
.item-card p { color: var(--ink-2); font-size: .93rem; }

/* Explore */
.explore { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .explore { grid-template-columns: 1fr; } }
.filters { position: sticky; top: 100px; display: grid; gap: 14px; }
.filters label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); display: block; margin-bottom: 6px; }
.filters select { width: 100%; }
.result { display: block; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; margin-bottom: 10px; }
.result:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.result .sn { font-weight: 800; color: var(--crimson); font-variant-numeric: tabular-nums; margin-right: 8px; }
:root[data-theme="dark"] .result .sn { color: #ff7a85; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .result .sn { color: #ff7a85; } }
.result .tt { font-weight: 700; }
.result .meta { font-size: .78rem; color: var(--ink-3); margin-top: 4px; }
.result .snip { font-size: .86rem; color: var(--ink-2); margin-top: 6px; }
mark { background: #fde68a; color: inherit; border-radius: 2px; padding: 0 1px; }
.reader { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 4vw, 40px); box-shadow: var(--shadow); }
.reader .body { font-family: var(--serif); font-size: 1.05rem; line-height: 1.7; max-width: 72ch; }
.reader .body p { margin: 0 0 .8em; }
.reader .body p.l1 { padding-left: 1.2em; }
.reader .body p.l2 { padding-left: 2.4em; }
.reader .body p.l3 { padding-left: 3.6em; }
.reader .meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 20px; }

.loading { padding: 60px 0; text-align: center; color: var(--ink-3); }
.footer { background: var(--navy-900); color: #b8c4d6; font-size: .875rem; padding: 40px 0; margin-top: 40px; border-top: 4px solid var(--crimson); }
.footer h4 { color: #fff; margin: 0 0 8px; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.footer a { color: #cfe0ff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
details.table-view summary { cursor: pointer; font-size: .85rem; color: var(--link); font-weight: 600; margin-top: 10px; }
.toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.toggle button { background: var(--surface); color: var(--ink-2); border: 0; padding: 8px 12px; font: 600 .82rem var(--sans); cursor: pointer; }
.toggle button.on { background: var(--navy-800); color: #fff; }

/* Estimate markers */
sup.est { font-size: .55em; font-weight: 700; color: var(--crimson); margin-left: 2px; vertical-align: super; line-height: 0; }
:root[data-theme="dark"] sup.est { color: #ff7a85; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) sup.est { color: #ff7a85; } }
.est-note { font-size: .8rem; color: var(--ink-3); margin: 10px 0 0; }

/* Footer credit */
.credit { text-align: center; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.credit img { display: block; width: 150px; height: auto; margin: 0 auto 10px; opacity: .95; }
.credit p { margin: 0; font-size: .85rem; color: #b8c4d6; }
.credit a { color: #fff; font-weight: 600; text-decoration: none; }
.credit a:hover { text-decoration: underline; }
