/* ArgonFD webfonts — served from Google Fonts.
   Archivo stands in for the wordmark's industrial grotesque (see the ArgonFD Design System readme → Type substitutions).
   Public Sans is the USWDS text face and carries the governmental register. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root{
/* --- Brand: Navy (seal field, wordmark) — anchored on #182D4A (navy-800) --- */
--navy-950:#0C1727;--navy-900:#101F34;--navy-800:#182D4A;--navy-700:#1F3556;--navy-600:#2B5076;--navy-500:#31567D;--navy-400:#43709E;--navy-300:#7897B8;--navy-200:#B4C7DA;--navy-100:#E2EAF2;--navy-050:#F8FAFC;
/* --- Brand: Gold (seal devices, star) — anchored on #E9B229 (gold-500) --- */
--gold-700:#8D6415;--gold-600:#C48D22;--gold-500:#E9B229;--gold-400:#F0C755;--gold-300:#F5DA8F;--gold-200:#FAEBC2;--gold-100:#FDF8E8;
/* Brass — the rope/bezel tone, for hairlines and rules on navy */
--brass-600:#A8873F;--brass-500:#C9A961;--brass-400:#D9BE83;
/* --- Neutrals --- */
--n-000:#FFFFFF;--n-050:#F7F8FA;--n-100:#EFF1F4;--n-200:#E2E6EB;--n-300:#CBD2DB;--n-400:#9AA5B4;--n-500:#6E7987;--n-600:#525C69;--n-700:#3B434E;--n-800:#252B33;--n-900:#14181D;
/* --- Semantic hues --- */
--red-700:#8E1A14;--red-600:#B3241C;--red-500:#C93B31;--red-100:#FBE7E5;
--green-700:#15583A;--green-600:#1F7A4C;--green-500:#2E9A63;--green-100:#E4F4EB;
--amber-700:#8A5A00;--amber-600:#B77400;--amber-500:#DE9B14;--amber-100:#FCF1DC;
--blue-600:#1D5FA8;--blue-500:#2C7BD1;--blue-100:#E4EFFA;

/* ============ Semantic aliases ============ */
--brand-primary:var(--navy-800);--brand-primary-hover:var(--navy-700);--brand-primary-active:var(--navy-900);
--brand-accent:var(--gold-500);--brand-accent-hover:var(--gold-400);--brand-accent-active:var(--gold-600);
--brand-rule:var(--brass-500);

--surface-page:var(--n-050);--surface-card:var(--n-000);--surface-sunken:var(--n-100);--surface-raised:var(--n-000);
/* A step off the card: a table's header row, a card's or dialog's footer, a quiet button under the pointer */
--surface-subtle:var(--n-050);
--surface-inverse:var(--navy-800);--surface-inverse-alt:var(--navy-900);--surface-inverse-soft:var(--navy-700);
--surface-brand-tint:var(--navy-050);--surface-accent-tint:var(--gold-100);
/* A station terminal's desktop (behind its windows), and the greys of the widget on it */
--surface-desktop:var(--n-200);--hud-desktop-ink:var(--n-600);--hud-desktop-strong:var(--n-900);

--text-heading:var(--navy-800);--text-body:var(--n-700);--text-muted:var(--n-500);--text-faint:var(--n-400);
--text-on-inverse:var(--n-000);--text-on-inverse-muted:var(--navy-200);--text-on-accent:var(--navy-900);
--text-link:var(--navy-600);--text-link-hover:var(--navy-800);--text-link-visited:var(--navy-700);

--border-subtle:var(--n-200);--border-default:var(--n-300);--border-strong:var(--n-400);--border-inverse:rgba(201,169,97,.35);
--focus-ring:var(--gold-500);--focus-ring-offset:var(--n-000);

--status-critical-fg:var(--red-700);--status-critical-bg:var(--red-100);--status-critical-solid:var(--red-600);
--status-ready-fg:var(--green-700);--status-ready-bg:var(--green-100);--status-ready-solid:var(--green-600);
--status-attention-fg:var(--amber-700);--status-attention-bg:var(--amber-100);--status-attention-solid:var(--amber-600);
--status-info-fg:var(--blue-600);--status-info-bg:var(--blue-100);--status-info-solid:var(--blue-500);
--status-neutral-fg:var(--n-600);--status-neutral-bg:var(--n-100);--status-neutral-solid:var(--n-500);
}

/* ============ Dark theme ============
   A station terminal for a member who chose it (admin-panel's App sets
   data-theme on <html>; the terminal's own shell draws its top bar and dock
   in the same colours, crates/station-terminal ui::Palette::DARK). Deep navy
   surfaces, slate edges, pale ink, the same gold. Only the semantic aliases
   change: the scales above stay as they are, so anything drawn on navy
   (sidebars, the dashboard rail) keeps its own colours. */
:root[data-theme="dark"]{
color-scheme:dark;
--brand-primary:#4F86C6;--brand-primary-hover:#6096D2;--brand-primary-active:#3F72AD;

--surface-page:#0C1424;--surface-card:#131E33;--surface-sunken:#0F1829;--surface-raised:#18253D;--surface-subtle:#18253D;
--surface-inverse:#0A1322;--surface-inverse-alt:#080F1C;--surface-inverse-soft:#18253D;
--surface-brand-tint:#1B2A45;--surface-accent-tint:#3A2E10;
--surface-desktop:#0C1424;--hud-desktop-ink:#8A9BB5;--hud-desktop-strong:#E6ECF5;

--text-heading:#F1F5FA;--text-body:#D5DDE8;--text-muted:#8A9BB5;--text-faint:#66788F;
--text-link:#8FB4E0;--text-link-hover:#C3D6EC;--text-link-visited:#A9B8D8;

--border-subtle:#22314A;--border-default:#2A3A55;--border-strong:#40557A;
--focus-ring-offset:#131E33;

--status-critical-fg:#F2A29B;--status-critical-bg:#3A1614;
--status-ready-fg:#7FD3A6;--status-ready-bg:#12301F;
--status-attention-fg:#F0C36A;--status-attention-bg:#3A2A0C;
--status-info-fg:#8FC0F2;--status-info-bg:#12283F;
--status-neutral-fg:#B9C4D2;--status-neutral-bg:#1E2A3F;

--sh-1:0 1px 1px rgba(0,0,0,.3),0 0 0 1px rgba(255,255,255,.04);
--sh-2:0 1px 3px rgba(0,0,0,.4),0 0 0 1px rgba(255,255,255,.04);
--sh-3:0 4px 10px -2px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.05);
--sh-4:0 14px 32px -8px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.06);
--sh-inset:inset 0 1px 0 rgba(255,255,255,.06);
--ring-focus:0 0 0 2px #131E33,0 0 0 4px var(--gold-500);
}

:root{
--font-display:"Archivo","Helvetica Neue",Arial,sans-serif;
--font-sans:"Public Sans","Helvetica Neue",Arial,sans-serif;
--font-serif:"Source Serif 4",Georgia,serif;
--font-mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;

--fs-display-1:56px;--fs-display-2:44px;--fs-h1:34px;--fs-h2:26px;--fs-h3:21px;--fs-h4:18px;
--fs-body-lg:18px;--fs-body:16px;--fs-body-sm:14px;--fs-caption:13px;--fs-micro:11px;

--lh-tight:1.08;
--lh-snug:1.22;
--lh-normal:1.5;
--lh-relaxed:1.62;

--fw-regular:400;
--fw-medium:500;
--fw-semibold:600;
--fw-bold:700;
--fw-black:800;

--ls-display:-0.02em;
--ls-heading:-0.01em;
--ls-body:0em;
--ls-eyebrow:0.14em;
--ls-label:0.06em;

/* Composite roles */
--type-display:var(--fw-black) var(--fs-display-1)/var(--lh-tight) var(--font-display);
--type-h1:var(--fw-bold) var(--fs-h1)/var(--lh-snug) var(--font-display);
--type-h2:var(--fw-bold) var(--fs-h2)/var(--lh-snug) var(--font-display);
--type-h3:var(--fw-semibold) var(--fs-h3)/1.3 var(--font-display);
--type-body:var(--fw-regular) var(--fs-body)/var(--lh-relaxed) var(--font-sans);
--type-label:var(--fw-semibold) var(--fs-caption)/1.2 var(--font-sans);
--type-eyebrow:var(--fw-bold) var(--fs-micro)/1.2 var(--font-sans);
--type-mono:var(--fw-regular) var(--fs-body-sm)/1.45 var(--font-mono);
--type-pullquote:var(--fw-regular) 24px/1.45 var(--font-serif);
}

:root{
/* 4px base, with a 2px half-step for control interiors */
--sp-0:0px;
--sp-1:2px;
--sp-2:4px;
--sp-3:8px;
--sp-4:12px;
--sp-5:16px;
--sp-6:20px;
--sp-7:24px;
--sp-8:32px;
--sp-9:40px;
--sp-10:48px;
--sp-11:64px;
--sp-12:80px;
--sp-13:96px;
--sp-14:128px;
--gutter:24px;
--gutter-tight:16px;
--section-y:80px;
--section-y-lg:112px;
--container-max:1200px;
--container-narrow:720px;
--container-wide:1440px;
--control-h-sm:32px;
--control-h:40px;
--control-h-lg:48px;
--field-pad-x:12px;
--field-pad-y:9px;
--card-pad:20px;
--card-pad-lg:28px;
--rail-w:320px;
--topbar-h:60px;
}

:root{
/* Restrained, institutional: 2–6px. Pills only for status chips. */
--r-0:0px;
--r-1:2px;--r-2:3px;--r-3:4px;--r-4:6px;--r-5:10px;--r-pill:999px;
--r-control:3px;--r-card:4px;--r-panel:6px;--r-chip:var(--r-pill);--r-seal:50%;
--bw-hair:1px;--bw-2:2px;--bw-rule:3px;--bw-accent:4px;
}

:root{
/* Shadows are narrow and navy-tinted — paper on a desk, not floating glass. */
--sh-0:none;
--sh-1:0 1px 1px rgba(12,23,41,.05),0 0 0 1px rgba(12,23,41,.06);
--sh-2:0 1px 3px rgba(12,23,41,.09),0 0 0 1px rgba(12,23,41,.05);
--sh-3:0 4px 10px -2px rgba(12,23,41,.14),0 0 0 1px rgba(12,23,41,.05);
--sh-4:0 14px 32px -8px rgba(12,23,41,.24),0 0 0 1px rgba(12,23,41,.06);
--sh-inset:inset 0 1px 0 rgba(255,255,255,.6);
--sh-inset-dark:inset 0 1px 0 rgba(255,255,255,.06);
--ring-focus:0 0 0 2px var(--n-000),0 0 0 4px var(--gold-500);
--ring-focus-inverse:0 0 0 2px var(--navy-800),0 0 0 4px var(--gold-500);
--overlay-scrim:rgba(8,15,28,.62);
--blur-panel:saturate(140%) blur(10px);
}

:root{
--dur-1:90ms;
--dur-2:140ms;
--dur-3:200ms;
--dur-4:320ms;
--ease-standard:cubic-bezier(.2,0,.2,1);
--ease-out:cubic-bezier(0,0,.2,1);
--ease-in:cubic-bezier(.4,0,1,1);
--t-control:background-color var(--dur-2) var(--ease-standard),border-color var(--dur-2) var(--ease-standard),color var(--dur-2) var(--ease-standard),box-shadow var(--dur-2) var(--ease-standard);
--t-surface:box-shadow var(--dur-3) var(--ease-out),transform var(--dur-3) var(--ease-out);
}

*,*::before,*::after{box-sizing:border-box}
body{margin:0;font:var(--type-body);color:var(--text-body);background:var(--surface-page);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{margin:0;color:var(--text-heading);font-family:var(--font-display);letter-spacing:var(--ls-heading)}
h1{font:var(--type-h1)}h2{font:var(--type-h2)}h3{font:var(--type-h3)}
p{margin:0}
a{color:var(--text-link);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;transition:var(--t-control)}
a:hover{color:var(--text-link-hover);text-decoration-thickness:2px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:none;box-shadow:var(--ring-focus)}
code,kbd,pre{font-family:var(--font-mono)}
@keyframes argon-spin{to{transform:rotate(360deg)}}
@keyframes argon-pulse{0%,100%{opacity:.4}50%{opacity:.9}}
/* SealLoader: the greyscale seal breathing, as on iOS/Android. Reduced
   motion keeps the fade but drops the scale. */
@keyframes argon-seal-breathe{from{opacity:.9;transform:scale(1)}to{opacity:.35;transform:scale(.96)}}
@keyframes argon-seal-fade{from{opacity:.9}to{opacity:.35}}
.argon-seal-loader{filter:grayscale(1);animation:argon-seal-breathe .9s ease-in-out infinite alternate}
@media (prefers-reduced-motion: reduce){.argon-seal-loader{animation-name:argon-seal-fade}}
.argon-skeleton{background:var(--surface-brand-tint);border-radius:var(--r-control);animation:argon-pulse 1.6s ease-in-out infinite}
.argon-eyebrow{font:var(--type-eyebrow);letter-spacing:var(--ls-eyebrow);text-transform:uppercase;color:var(--brass-600)}
.argon-rule{height:var(--bw-rule);background:var(--brand-accent);width:56px;border:0}
.argon-container{max-width:var(--container-max);margin:0 auto;padding:0 var(--gutter)}

/* Sheet (components/Sheet.tsx): slides in from its edge as the scrim fades
   in, and back out on close (.is-closing; keep the .18s in sync with
   Sheet's EXIT_MS). */
@keyframes argon-fade-in{from{opacity:0}to{opacity:1}}
@keyframes argon-fade-out{from{opacity:1}to{opacity:0}}
@keyframes argon-sheet-in-left{from{transform:translateX(-100%)}to{transform:none}}
@keyframes argon-sheet-in-right{from{transform:translateX(100%)}to{transform:none}}
@keyframes argon-sheet-out-left{from{transform:none}to{transform:translateX(-100%)}}
@keyframes argon-sheet-out-right{from{transform:none}to{transform:translateX(100%)}}
.argon-sheet-scrim{animation:argon-fade-in .18s ease-out}
.argon-sheet-left{animation:argon-sheet-in-left .22s cubic-bezier(.2,.8,.2,1)}
.argon-sheet-right{animation:argon-sheet-in-right .22s cubic-bezier(.2,.8,.2,1)}
.argon-sheet-scrim.is-closing{animation:argon-fade-out .18s ease-in forwards}
.argon-sheet-left.is-closing{animation:argon-sheet-out-left .18s cubic-bezier(.4,0,1,1) forwards}
.argon-sheet-right.is-closing{animation:argon-sheet-out-right .18s cubic-bezier(.4,0,1,1) forwards}
@media (prefers-reduced-motion: reduce){
  .argon-sheet-scrim,.argon-sheet-left,.argon-sheet-right,
  .argon-sheet-scrim.is-closing,.argon-sheet-left.is-closing,.argon-sheet-right.is-closing{animation:none}
}

/* Mobile: tighter spacing everywhere that reads --gutter. */
@media (max-width: 640px){
  :root{--gutter:16px}
}

/* Login/register's 50/50 split (AuthSplitLayout) — the seal panel is a
   desktop-only flourish, dropped below this width so the form gets the
   full, narrow-viewport width instead of being squeezed to half. */
.argon-auth-split-panel{display:flex}
@media (max-width: 899px){
  .argon-auth-split-panel{display:none}
}

/* RegisterPage (also the invite-accept flow, which is mostly opened from an
   email on a phone). Two-column field grid on desktop; on phones it drops to
   one column, the top padding and card padding tighten, the mobile-only
   brand mark shows (the seal panel is gone and there's no topbar), and
   --fs-body-sm is bumped to 16px so iOS Safari doesn't zoom in on every
   field focus (it zooms any input under 16px). */
.argon-auth-main{padding:56px 0 var(--section-y)}
.argon-register-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}
.argon-register-grid-full{grid-column:1 / -1}
.argon-auth-mobile-mark{display:none}
@media (max-width: 899px){
  .argon-auth-mobile-mark{display:flex;justify-content:center;margin-bottom:20px}
}
@media (max-width: 640px){
  .argon-auth-main{padding:24px 0 40px;--fs-body-sm:16px;--card-pad-lg:18px}
  .argon-register-grid{grid-template-columns:1fr;gap:16px}
}

@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
color-scheme:dark;
--brand-primary:#4F86C6;--brand-primary-hover:#6096D2;--brand-primary-active:#3F72AD;

--surface-page:#0C1424;--surface-card:#131E33;--surface-sunken:#0F1829;--surface-raised:#18253D;--surface-subtle:#18253D;
--surface-inverse:#0A1322;--surface-inverse-alt:#080F1C;--surface-inverse-soft:#18253D;
--surface-brand-tint:#1B2A45;--surface-accent-tint:#3A2E10;
--surface-desktop:#0C1424;--hud-desktop-ink:#8A9BB5;--hud-desktop-strong:#E6ECF5;

--text-heading:#F1F5FA;--text-body:#D5DDE8;--text-muted:#8A9BB5;--text-faint:#66788F;
--text-link:#8FB4E0;--text-link-hover:#C3D6EC;--text-link-visited:#A9B8D8;

--border-subtle:#22314A;--border-default:#2A3A55;--border-strong:#40557A;
--focus-ring-offset:#131E33;

--status-critical-fg:#F2A29B;--status-critical-bg:#3A1614;
--status-ready-fg:#7FD3A6;--status-ready-bg:#12301F;
--status-attention-fg:#F0C36A;--status-attention-bg:#3A2A0C;
--status-info-fg:#8FC0F2;--status-info-bg:#12283F;
--status-neutral-fg:#B9C4D2;--status-neutral-bg:#1E2A3F;

--sh-1:0 1px 1px rgba(0,0,0,.3),0 0 0 1px rgba(255,255,255,.04);
--sh-2:0 1px 3px rgba(0,0,0,.4),0 0 0 1px rgba(255,255,255,.04);
--sh-3:0 4px 10px -2px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.05);
--sh-4:0 14px 32px -8px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.06);
--sh-inset:inset 0 1px 0 rgba(255,255,255,.06);
--ring-focus:0 0 0 2px #131E33,0 0 0 4px var(--gold-500);}}
/* Help center pages. The shared-ui tokens come first (build.mjs prepends
   them), so everything here reads the same colors, type and spacing as
   the app. */

.wrap{max-width:1120px;margin:0 auto;padding:0 var(--gutter,24px)}
.muted{color:var(--text-muted)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:12px;z-index:10;background:var(--surface-card);padding:8px 12px}

/* Top bar */
.topbar{background:var(--surface-card);border-bottom:1px solid var(--border-subtle)}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text-heading);font-family:var(--font-display);font-size:18px}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .brand img{filter:invert(1)}}
.brand strong{font-weight:700;color:var(--brand-primary)}
.topnav{display:flex;gap:18px;align-items:center;font-size:15px}
.topnav a{text-decoration:none;color:var(--text-muted)}
.topnav a:hover{color:var(--text-heading)}
.topnav .signin{color:var(--text-link);font-weight:600}

/* padding-block so .wrap's horizontal gutter on <main class="wrap"> survives */
main.wrap{padding-block:28px 64px}

/* Breadcrumb */
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;color:var(--text-muted);margin-bottom:20px}
.crumbs a{color:var(--text-muted);text-decoration:none}
.crumbs a:hover{color:var(--text-link)}

/* Home */
.hero{text-align:center;padding:32px 0 36px}
.eyebrow{font:var(--type-eyebrow);letter-spacing:var(--ls-eyebrow);text-transform:uppercase;color:var(--brass-600);margin-bottom:8px}
.hero h1{margin-bottom:22px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.card{background:var(--surface-card);border:1px solid var(--border-subtle);border-radius:var(--r-card,12px);padding:22px 22px 18px}
.card h2{font-size:19px;line-height:1.3;margin-bottom:4px}
.card h2 a{color:var(--text-heading);text-decoration:none}
.card h2 a:hover{color:var(--text-link)}
.card p{font-size:14px;margin-bottom:12px}
.card ul{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:15px}
.card ul a{text-decoration:none}
.card ul a:hover{text-decoration:underline}

/* Search */
.search{position:relative;max-width:620px;margin:0 auto}
.search input{width:100%;font:inherit;font-size:17px;padding:14px 44px 14px 16px;border-radius:10px;border:1px solid var(--border-default);background:var(--surface-card);color:var(--text-body)}
.search input:focus{outline:none;border-color:var(--brand-primary);box-shadow:var(--ring-focus)}
.search kbd{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:12px;color:var(--text-faint);border:1px solid var(--border-default);border-radius:4px;padding:1px 6px}
.results{max-width:620px;margin:12px auto 0;text-align:left}
.section-head .search,.section-head .results{margin-left:0}

/* Lists of articles */
.article-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.article-list li{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;background:var(--surface-card);border:1px solid var(--border-subtle);border-radius:10px;padding:14px 16px}
.article-list a{display:grid;gap:3px;text-decoration:none;flex:1}
.article-list .title{color:var(--text-heading);font-weight:600}
.article-list a:hover .title{color:var(--text-link);text-decoration:underline}
.article-list .desc{color:var(--text-muted);font-size:14px}

.badge{display:inline-block;font-size:12px;font-weight:600;padding:3px 8px;border-radius:999px;white-space:nowrap;background:var(--surface-brand-tint);color:var(--text-heading)}
.badge-it{background:var(--surface-accent-tint)}

/* Section page */
.section-head{margin-bottom:24px}
.section-head h1{margin-bottom:6px}
.lead{font-size:18px;color:var(--text-muted);margin-bottom:18px}

/* Article */
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:48px;align-items:start}
.article{max-width:720px}
.article h1{margin-bottom:8px}
.sidebar{position:sticky;top:20px;font-size:14px;border-left:1px solid var(--border-subtle);padding-left:20px}
.side-title{font-weight:700;margin-bottom:10px}
.side-title a{color:var(--text-heading);text-decoration:none}
.sidebar ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.sidebar a{color:var(--text-muted);text-decoration:none}
.sidebar a:hover{color:var(--text-link)}
.sidebar [aria-current] a{color:var(--text-heading);font-weight:600}

.prose{font-size:17px;line-height:1.65;margin-top:20px}
.prose > * + *{margin-top:16px}
.prose h2{font-size:24px;margin-top:36px}
.prose h3{font-size:19px;margin-top:28px}
.prose ul,.prose ol{padding-left:24px}
.prose li + li{margin-top:6px}
.prose li > ul,.prose li > ol{margin-top:6px}
.prose strong{color:var(--text-heading)}
.prose code{font-size:.9em;background:var(--surface-sunken);padding:1px 5px;border-radius:4px}
.prose pre{background:var(--surface-sunken);padding:14px;border-radius:8px;overflow-x:auto}
.prose pre code{background:none;padding:0}
.prose blockquote{margin:16px 0;padding:10px 16px;border-left:3px solid var(--brand-accent);background:var(--surface-card);color:var(--text-body)}
.table-wrap{overflow-x:auto}
.prose table{border-collapse:collapse;width:100%;font-size:15px}
.prose th,.prose td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--border-subtle);vertical-align:top}
.prose th{color:var(--text-heading)}

.related{margin-top:44px}
.related h2{font-size:20px;margin-bottom:12px}
.pager{display:flex;justify-content:space-between;gap:16px;margin-top:40px;padding-top:20px;border-top:1px solid var(--border-subtle)}
.pager a{display:grid;gap:2px;text-decoration:none;max-width:48%}
.pager a span{font-size:13px;color:var(--text-muted)}
.pager .next{text-align:right;margin-left:auto}

/* Footer */
.footer{border-top:1px solid var(--border-subtle);background:var(--surface-card)}
.footer-inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:22px var(--gutter,24px);font-size:14px}

@media (max-width: 860px){
  .article-layout{grid-template-columns:1fr}
  .sidebar{position:static;border-left:0;border-top:1px solid var(--border-subtle);padding:20px 0 0}
}
@media (max-width: 640px){
  .hero{padding:12px 0 24px}
  .prose{font-size:16px}
  .topnav a:not(.signin){display:none}
  .search kbd{display:none}
  .article-list li{flex-direction:column}
}
