/* Salary Calculator UK - "Sterling Ledger" design system */
:root {
  --canvas: #f8fafc; --surface: #ffffff; --muted: #f1f5f9; --line: #e2e8f0; --line-strong: #cbd5e1;
  --ink: #0f172a; --ink-2: #1e293b; --slate: #566577; --slate-2: #475569;
  --cobalt: #2563eb; --cobalt-d: #1d4ed8; --cobalt-soft: #eff6ff;
  --green: #047857; --green-soft: #d1fae5; --amber: #d97706; --amber-soft: #fef3c7; --purple: #7c3aed;
  --red: #ba1a1a;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px;
  --shadow-1: 0 0 0 1px rgba(226,232,240,.8), 0 1px 3px 0 rgba(15,23,42,.03), 0 1px 2px -1px rgba(15,23,42,.03);
  --shadow-2: 0 0 0 1px #e2e8f0, 0 10px 15px -3px rgba(15,23,42,.04), 0 4px 6px -4px rgba(15,23,42,.02);
  --head: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--head); letter-spacing: -.02em; line-height: 1.2; margin: 0 0 .5rem; color: var(--ink); }
h1 { font-size: clamp(30px, 4.6vw, 42px); font-weight: 700; }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--cobalt-d); text-underline-offset: 2px; }
a:hover { color: var(--cobalt); }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; border-radius: 4px; }
.num, .tbl td, .tbl th, .metric-num, .equiv strong, .rows strong, .rows span { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { padding: 32px 0; }
.section-head { margin-bottom: 20px; max-width: 760px; }
.section-head p { color: var(--slate-2); margin: 0; }
.narrow { max-width: 880px; margin-left: auto; margin-right: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(195,198,215,.35); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 700 20px/1 var(--head); letter-spacing: -.02em; white-space: nowrap; }
.brand b { color: var(--cobalt); font-weight: 700; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--cobalt); color: #fff; display: grid; place-items: center; font-size: 18px; }
.nav { display: none; gap: 20px; align-items: center; }
.nav a { white-space: nowrap; color: var(--slate-2); font: 500 14px var(--body); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--cobalt); font-weight: 600; border-color: var(--cobalt); }
.site-header .hdr-cta { display: none; white-space: nowrap; }
.menu-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; color: var(--ink); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; padding: 8px 16px 16px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--muted); }
.mobile-nav a[aria-current="page"] { color: var(--cobalt); }
@media (min-width: 1024px) { .nav { display: flex; } .menu-btn, .mobile-nav { display: none !important; } }
@media (min-width: 1180px) { .site-header .hdr-cta { display: inline-flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 8px; border: 1px solid transparent; font: 600 14px var(--body); cursor: pointer; text-decoration: none; transition: background .15s ease-out, border-color .15s; }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-d); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--canvas); border-color: var(--line-strong); color: var(--ink); }
.btn-lg { padding: 14px 20px; font-size: 15px; }

/* Breadcrumb / hero */
.crumbs { font-size: 13px; color: var(--slate); padding: 16px 0 0; }
.crumbs a { color: var(--slate-2); text-decoration: underline; text-underline-offset: 2px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 6px; }
.hero { padding: 24px 0 8px; position: relative; }
.hero.center { text-align: center; }
.hero.center .lead { margin-left: auto; margin-right: auto; }
.lead { color: var(--slate-2); font-size: 17px; max-width: 720px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: #dbe7fb; color: #004ac6; font: 600 11px/14px var(--body); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .badge i { animation: none; } html { scroll-behavior: auto; } }
.chip { display: inline-flex; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--muted); color: var(--slate-2); font: 600 11px/14px var(--body); text-transform: uppercase; letter-spacing: .04em; }
.chip.blue { background: var(--cobalt-soft); color: var(--cobalt-d); }

/* Calculator layout */
.calc-grid { display: grid; gap: 24px; align-items: start; margin-top: 24px; }
@media (min-width: 1024px) { .calc-grid { grid-template-columns: 7fr 5fr; } .dock { position: sticky; top: 88px; } }
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 20px; }
.panel { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-2); padding: 20px; }
@media (min-width: 768px) { .panel { padding: 28px; } }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { font-size: 20px; margin: 0; }
.panel-head p { margin: 2px 0 0; font-size: 13px; color: var(--slate); }
.field { margin-bottom: 16px; }
.field label, .field .lbl { display: block; font: 500 13px/18px var(--body); color: var(--slate-2); margin-bottom: 6px; }
.field.strong label { color: var(--ink); font-weight: 600; }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
input[type=number], input[type=text], select { width: 100%; font: 500 14px var(--body); color: var(--ink); background: var(--muted); border: 1px solid transparent; border-radius: 8px; padding: 10px 12px; min-height: 44px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 34px; cursor: pointer; }
input:focus, select:focus { outline: none; border-color: var(--cobalt); background-color: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
input[aria-invalid=true] { border-color: var(--red); }
.money { display: flex; align-items: center; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.money:focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.money .sym { padding: 0 12px; background: var(--canvas); align-self: stretch; display: grid; place-items: center; font: 700 20px var(--head); color: var(--cobalt); border-right: 1px solid var(--line); }
.money input { border: 0; background: #fff; font: 700 22px var(--head); padding: 12px; box-shadow: none; min-height: 52px; font-variant-numeric: tabular-nums; }
.money .unit { padding-right: 14px; font: 600 11px var(--body); letter-spacing: .06em; color: var(--slate); }
.pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--muted); padding: 4px; border-radius: 8px; }
.pill { border: 0; background: transparent; color: var(--slate-2); font: 500 13px var(--body); padding: 9px 4px; border-radius: 6px; cursor: pointer; min-height: 40px; }
.pill:hover { color: var(--ink); }
.pill.on { background: #fff; color: var(--cobalt); font-weight: 600; box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.hint { font-size: 12px; color: var(--red); margin: 4px 0 0; }
.help { font-size: 12px; color: var(--slate); margin: 4px 0 0; }
details.adv { margin-bottom: 20px; }
details.adv > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px; border-radius: 8px; background: var(--muted); cursor: pointer; font: 600 13px var(--body); }
details.adv > summary::-webkit-details-marker { display: none; }
details.adv > summary svg:last-child { transition: transform .2s; }
details.adv[open] > summary svg:last-child { transform: rotate(180deg); }
details.adv .adv-body { background: var(--muted); border-radius: 8px; margin-top: 8px; padding: 16px; }
details.adv .adv-body input, details.adv .adv-body select { background: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--cobalt); flex: none; }
.check b { display: block; font: 600 13px var(--body); color: var(--ink); }
.check small { color: var(--slate); font-size: 12px; }
.actions { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 640px) { .actions { flex-direction: row; } .actions .btn-primary { flex: 1; } }

/* Results dock */
.dock { padding: 20px; }
@media (min-width: 768px) { .dock { padding: 28px; } }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: var(--muted); color: var(--green); font: 600 11px/18px var(--body); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.eyebrow { font: 600 11px/14px var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.metric { background: #eff4ff; border-radius: var(--r-md); padding: 18px; margin: 12px 0 18px; }
.metric-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.metric-num { font: 700 clamp(30px, 5vw, 38px)/1.1 var(--head); letter-spacing: -.03em; color: var(--green); }
.metric-unit { font: 500 18px var(--head); color: var(--slate); }
.metric-sub { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 14px; color: var(--slate-2); flex-wrap: wrap; }
.dist { margin-bottom: 18px; }
.dist-head { display: flex; justify-content: space-between; font: 500 12px var(--body); color: var(--slate-2); margin-bottom: 8px; }
.dist-head strong { color: var(--ink); }
.bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--muted); }
.bar i { display: block; height: 100%; transition: width .3s; }
.s-net { background: var(--green); } .s-tax { background: var(--cobalt); } .s-ni { background: var(--amber); } .s-other { background: var(--purple); }
.legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font: 500 11px var(--body); color: var(--slate-2); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.rows { margin-bottom: 18px; font-size: 14px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; color: var(--slate-2); }
.row strong { color: var(--ink); }
.row.total { background: #eff4ff; padding: 10px 12px; border-radius: 8px; margin-top: 6px; color: var(--ink); font-weight: 700; }
.row.total strong { font: 700 20px var(--head); }
.neg { color: var(--red); font-weight: 500; } .pos { color: var(--green); }
.equiv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; text-align: center; }
@media (min-width: 480px) { .equiv { grid-template-columns: repeat(4, 1fr); } }
.equiv div { background: #eff4ff; border-radius: 8px; padding: 8px 4px; }
.equiv span { display: block; font-size: 12px; color: var(--slate-2); }
.equiv strong { font-size: 14px; }

/* Stat cards */
.stats { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font: 500 13px var(--body); color: var(--slate-2); }
.ico { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; }
.ic-blue { background: #e5eeff; color: var(--cobalt); } .ic-cobalt { background: #dbe1ff; color: #004ac6; }
.ic-amber { background: var(--amber-soft); color: var(--amber); } .ic-green { background: var(--green-soft); color: var(--green); }
.stat-val { font: 700 28px/1.2 var(--head); letter-spacing: -.02em; }
.c-ink { color: var(--ink); } .c-cobalt { color: #004ac6; } .c-amber { color: #b45309; } .c-green { color: var(--green); }
.stat-sub { font-size: 12px; color: var(--slate); }
.stat-sub b { color: var(--ink); }

/* Compare */
.delta-panel { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-2); padding: 20px; }
@media (min-width: 768px) { .delta-panel { padding: 28px; } }
.delta-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.dpill { padding: 9px 16px; border-radius: 8px; border: 0; background: var(--muted); color: var(--slate-2); font: 600 13px var(--body); cursor: pointer; min-height: 40px; }
.dpill:hover { background: #e5eeff; }
.dpill.on { background: var(--cobalt); color: #fff; }
.delta-box { background: #eff4ff; border-radius: var(--r-md); padding: 18px; }
.delta-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 8px; font: 700 20px var(--head); }
.delta-a { color: #004ac6; }
.delta-box p { margin: 0; color: var(--slate-2); font-size: 15px; }
.delta-box b { color: var(--ink); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); margin-bottom: 20px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.tbl caption { text-align: left; padding: 14px 16px; background: #eff4ff; font: 600 13px var(--body); color: var(--ink); }
.tbl th { text-align: left; padding: 10px 16px; font: 600 11px var(--body); letter-spacing: .05em; text-transform: uppercase; color: var(--slate); background: #fff; border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 16px; border-bottom: 1px solid var(--muted); color: var(--slate-2); }
.tbl td:first-child { color: var(--ink); font-weight: 600; }
.tbl .r { text-align: right; }
.tbl tr.tot td { background: #eff4ff; color: var(--ink); font-weight: 700; border-bottom: 0; }
.tbl tr.hl td { background: rgba(219,225,255,.35); color: var(--ink); font-weight: 600; }
.tbl tr.hl td:first-child { color: var(--cobalt-d); }
.tbl a { font-weight: 600; text-decoration: none; }
.tbl a:hover { text-decoration: underline; }
.tbl .g { color: var(--green); font-weight: 600; } .tbl .e { color: var(--red); }

/* Link grids */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tiles.three { grid-template-columns: 1fr; } @media (min-width: 768px) { .tiles.three { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 16px; transition: box-shadow .15s, transform .15s; }
.tile:hover { box-shadow: var(--shadow-2); color: var(--ink); }
.tile b { font: 700 20px var(--head); display: block; }
.tile:hover b { color: var(--cobalt); }
.tile small { color: var(--slate); font-size: 13px; }
.tile small strong { color: var(--green); }
.tile .go { display: flex; justify-content: space-between; align-items: center; color: var(--cobalt); font: 600 12px var(--body); }
.tile.cur { outline: 2px solid var(--cobalt); position: relative; }
.tile p { margin: 4px 0 0; font-size: 13px; color: var(--slate-2); line-height: 1.5; }

/* Info cards */
.cols3 { display: grid; gap: 20px; }
@media (min-width: 900px) { .cols3 { grid-template-columns: repeat(3, 1fr); } }
.cols2 { display: grid; gap: 20px; }
@media (min-width: 900px) { .cols2 { grid-template-columns: repeat(2, 1fr); } }
.rules { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: 13px; }
.rules li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; background: #eff4ff; border-radius: 6px; }
.rules li span:first-child { color: var(--slate-2); } .rules li span:last-child { font-weight: 600; text-align: right; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 28px; } .prose h3 { margin-top: 20px; }
.prose ul { padding-left: 20px; } .prose li { margin-bottom: 6px; }
.callout { background: var(--cobalt-soft); border-left: 4px solid var(--cobalt); border-radius: 8px; padding: 14px 16px; margin: 16px 0; font-size: 15px; }
.callout p:last-child { margin: 0; }
.callout.warn { background: var(--amber-soft); border-color: var(--amber); }
.budget { display: grid; gap: 16px; } @media (min-width: 768px) { .budget { grid-template-columns: repeat(3, 1fr); } }
.budget .card b.big { font: 700 24px var(--head); display: block; margin: 4px 0; }
.budget .top { display: flex; justify-content: space-between; font: 600 11px var(--body); text-transform: uppercase; letter-spacing: .05em; color: var(--slate); }
.budget .meter { height: 6px; background: var(--muted); border-radius: 99px; overflow: hidden; margin: 10px 0; } .budget .meter i { display: block; height: 100%; background: var(--cobalt); }
.budget p { font-size: 13px; color: var(--slate-2); margin: 0; }

/* FAQ */
.faq details { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-1); margin-bottom: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px; font: 600 16px var(--head); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .2s; color: var(--slate); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq summary:hover { background: rgba(239,244,255,.6); }
.faq .ans { padding: 0 16px 16px; color: var(--slate-2); font-size: 15px; }
.faq .ans p:last-child { margin: 0; }

/* CTA + trust */
.cta { background: var(--cobalt); color: #fff; border-radius: var(--r-xl); padding: 32px 24px; }
.cta h2, .cta p { color: #fff; } .cta p { max-width: 640px; }
.cta .btn { background: #fff; color: var(--cobalt-d); }
.cta .btn.alt { background: rgba(0,0,0,.22); color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.trust { background: #eff4ff; border-radius: var(--r-xl); padding: 28px 20px; text-align: center; }
.trust-grid { display: grid; gap: 12px; margin: 20px auto; max-width: 860px; text-align: left; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-grid div { background: #fff; border-radius: 10px; padding: 14px; box-shadow: var(--shadow-1); }
.trust-grid b { display: block; font-size: 14px; } .trust-grid span { font-size: 13px; color: var(--slate); }
.disclaimer { font-size: 12px; color: var(--slate); max-width: 720px; margin: 0 auto; padding-top: 16px; border-top: 1px solid rgba(195,198,215,.5); }
.related { display: flex; flex-wrap: wrap; gap: 8px; }
.related a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-1); text-decoration: none; font: 500 14px var(--body); color: var(--ink); }
.related a:hover { color: var(--cobalt); }
.related a.primary { background: var(--cobalt); color: #fff; } .related a.primary:hover { background: var(--cobalt-d); color: #fff; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid rgba(195,198,215,.35); margin-top: 32px; padding: 40px 0 24px; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-grid .foot-h { font: 600 12px var(--body); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--slate-2); text-decoration: none; font-size: 14px; } .foot-grid a:hover { color: var(--cobalt); }
.foot-grid p { color: var(--slate-2); font-size: 14px; max-width: 380px; }
.foot-base { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(195,198,215,.35); display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--slate); }
@media (min-width: 768px) { .foot-base { flex-direction: row; justify-content: space-between; } }

/* Mobile take-home bar */
.mbar { display: none; }
@media (max-width: 1023px) {
  body.has-mbar { padding-bottom: 72px; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(15,23,42,.06); }
  .mbar span { display: block; font: 600 11px var(--body); text-transform: uppercase; letter-spacing: .05em; color: var(--slate); }
  .mbar strong { font: 700 20px var(--head); color: var(--green); font-variant-numeric: tabular-nums; }
}
noscript .card { margin-top: 16px; }

/* grid children must be allowed to shrink so wide tables scroll inside their wrapper instead of stretching the page */
.cols2 > *, .cols3 > *, .cols4 > * { min-width: 0; }
.tbl th { position: relative; }
.table-wrap:focus-visible { outline: 2px solid var(--cobalt, #2563eb); outline-offset: 2px; }
