@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/public-sans-latin-wght.woff2) format("woff2-variations"), url(/assets/fonts/public-sans-latin-wght.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --page: #fcfbf9;
  --card: #ffffff;
  --border: #d7dde3;
  --ink: #1a1f26;
  --muted: #4a5560;
  --accent: #0b5d4c;
  --accent-hover: #084a3d;
  --on-accent: #ffffff;
  --on-accent-muted: #cfeee4;
  --input-border: #6b7580;
  --note-ink: #5c4400;
  --note-bg: #fff4d6;
  --band: #eef3ef;
  --tag-bg: #e3efe9;
  --ad-bg: #eef0ec;
  --ad-label: #5d6670;
  --bar-federal: #4a5560;
  --bar-social-security: #8a949e;
  --bar-medicare: #c3cad1;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #10151a;
    --card: #171d23;
    --border: #2a333b;
    --ink: #e7ebee;
    --muted: #9aa5b0;
    --accent: #5fd8bb;
    --accent-hover: #7fe3cb;
    --on-accent: #10151a;
    --on-accent-muted: #10151a;
    --input-border: #6b7682;
    --note-ink: #ffd98a;
    --note-bg: #2a2414;
    --band: #0b1014;
    --tag-bg: #1d2a27;
    --ad-bg: #171d23;
    --ad-label: #9aa5b0;
    --bar-federal: #9aa5b0;
    --bar-social-security: #6b7682;
    --bar-medicare: #3a444d;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}
@media (min-width: 720px) { body { font-size: 17px; } }

h1, h2, h3 { color: var(--ink); margin: 0; }
h1 { font-size: 27px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 20px; line-height: 1.25; font-weight: 700; }
h3 { font-size: 17px; line-height: 1.3; font-weight: 700; }
@media (min-width: 720px) { h1 { font-size: 34px; } h2 { font-size: 22px; } }
p { margin: 0 0 1em; }
p, li, dd, td { overflow-wrap: break-word; }
.checked-on, .sources-box p, td { overflow-wrap: anywhere; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.tabular, .result-figure, .breakdown dd, td { font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }

/* Skip link */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 30;
  background: var(--card); color: var(--accent); padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px;
}
.skip-link:focus { top: 8px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 56px; }
@media (min-width: 960px) { .header-row { height: 64px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.mark-bg { fill: var(--accent); }
.mark-line { fill: var(--on-accent); }
.nav-desktop { display: none; gap: 28px; }
.nav-desktop a, .nav-phone nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav-desktop a:hover, .nav-phone nav a:hover { color: var(--accent); }
.nav-desktop a[aria-current="page"], .nav-phone nav a[aria-current="page"] { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
.nav-phone summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 15px;
  border: 1px solid var(--input-border); border-radius: 8px; padding: 0 14px; min-height: 40px; display: flex; align-items: center;
}
.nav-phone summary::-webkit-details-marker { display: none; }
.nav-phone[open] summary { border-color: var(--accent); }
.nav-phone nav {
  position: absolute; right: 16px; left: 16px; top: 56px; background: var(--card);
  border: 1px solid var(--border); border-radius: 10px; padding: 8px; display: grid; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.nav-phone nav a { padding: 12px; border-radius: 6px; }
@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .nav-phone { display: none; }
}

/* Page head */
main { display: block; }
.page-head { padding: 24px 0 20px; }
.page-head h1 { margin-bottom: 10px; }
.lead { font-size: 17px; color: var(--ink); margin: 0 0 8px; max-width: 46rem; }
@media (min-width: 720px) { .page-head { padding: 40px 0 24px; } .lead { font-size: 19px; } }
.trust-strip { font-size: 14px; color: var(--muted); margin: 0; }
.trust-strip .dot { padding: 0 6px; }
.last-updated { font-size: 14px; color: var(--muted); margin: 0; }

/* Tool card */
.tool-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 16px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start;
}
@media (min-width: 960px) {
  .tool-card { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 40px; padding: 28px; }
  .tool-card .result-panel { position: sticky; top: 16px; }
}
@media (max-width: 959px) { .tool-card.quick { gap: 16px; } }
.tool-card.quick .result-panel { position: static; }
.tool-inputs { display: grid; gap: 16px; margin: 0; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: 15px; font-weight: 600; line-height: 1.3; }
.hint { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.4; }
input[type="text"], select {
  font: inherit; color: var(--ink); background: var(--card);
  width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--input-border); border-radius: 8px;
}
select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input[type="text"]:hover, select:hover { border-color: var(--ink); }
.money { position: relative; }
.money span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.money input { padding-left: 26px; font-variant-numeric: tabular-nums; }
.toggle-row { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; align-items: start; min-height: 44px; cursor: pointer; }
.toggle-row input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.toggle-row .label { font-size: 15px; font-weight: 600; }
.toggle-row .hint { grid-column: 2; }
.more-options summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 15px; min-height: 32px; display: inline-flex; align-items: center; }
.more-options[open] summary { margin-bottom: 12px; }
.more-options-fields { display: grid; gap: 16px; }
.state-page-link { margin: -8px 0 0; font-size: 15px; }
.scope-note { font-size: 14px; color: var(--note-ink); background: var(--note-bg); border-radius: 8px; padding: 10px 12px; margin: 0; line-height: 1.45; }

/* Result panel: the one bright object */
.result-panel { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--card); }
.result-head { background: var(--accent); color: var(--on-accent); padding: 18px 20px 16px; }
.result-label { margin: 0; font-size: 15px; font-weight: 600; color: var(--on-accent-muted); }
.result-figure { margin: 2px 0 0; font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--on-accent); }
@media (min-width: 720px) { .result-figure { font-size: 48px; } }
.result-period { margin: 4px 0 0; font-size: 15px; color: var(--on-accent-muted); }
.breakdown { margin: 0; padding: 8px 20px 4px; }
.breakdown div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.breakdown div:last-child { border-bottom: 0; }
.breakdown div { align-items: baseline; }
.breakdown dt { color: var(--ink); min-width: 0; }
.breakdown dd { margin: 0; text-align: right; white-space: nowrap; }
.breakdown div:has(.row-question:not([hidden])) dt { color: var(--muted); }
.row-question { color: var(--accent); font-weight: 600; }
.breakdown .total { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 700; }
.share-bar { display: flex; height: 10px; margin: 6px 20px 0; border-radius: 5px; overflow: hidden; background: var(--border); }
.share-bar span { display: block; height: 100%; }
.bar-take-home { background: var(--accent); }
.bar-federal { background: var(--bar-federal); }
.bar-social-security { background: var(--bar-social-security); }
.bar-medicare { background: var(--bar-medicare); }
.share-caption { margin: 8px 20px 0; font-size: 14px; color: var(--ink); }
.result-notes { margin: 12px 20px 0; font-size: 14px; color: var(--ink); }
.result-notes:empty { display: none; }
.result-foot { margin: 12px 20px 16px; font-size: 14px; color: var(--muted); }
.result-foot a { color: var(--accent); }

/* Phone: sticky result bar, shown only while the panel is off screen */
.sticky-result {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--card); color: var(--ink);
  border-top: 1px solid var(--border); box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.10); text-decoration: none; font-size: 15px;
}
.sticky-text { display: grid; line-height: 1.2; }
.sticky-label { font-size: 13px; color: var(--muted); }
.sticky-result strong { font-size: 22px; color: var(--accent); font-variant-numeric: tabular-nums; }
.sticky-result .see { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
@media (min-width: 960px) { .sticky-result { display: none !important; } }

/* Body below the tool */
.body-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 48px 0 56px; }
@media (min-width: 960px) {
  .body-grid { grid-template-columns: minmax(0, 680px) 300px; justify-content: space-between; }
}
.content > section + section, .content > section + .ad-slot, .content > .ad-slot + section { margin-top: 40px; }
.content h2 { margin-bottom: 12px; }
.content p { max-width: 42rem; }
.rail { display: none; }
@media (min-width: 960px) { .rail { display: block; } .rail-inner { position: sticky; top: 16px; display: grid; gap: 24px; } }
.rail h2 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 8px; }
.rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rail li a { display: block; padding: 6px 0; }

.sources-box { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-top: 40px; }
.sources-box h2 { margin-bottom: 12px; }
.sources-box .checked-on { font-size: 14px; color: var(--muted); border-left: 3px solid var(--border); padding-left: 12px; margin: 0 0 12px; }
.sources-box p { font-size: 15px; }
.sources-box p:last-child { margin-bottom: 0; }

.related { margin-top: 40px; }
.related h2 { margin-bottom: 12px; }
.card-grid { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.link-card { position: relative; display: block; height: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 16px 40px 16px 16px; color: var(--ink); text-decoration: none; }
.link-card::after {
  content: ""; position: absolute; top: 18px; right: 16px; width: 16px; height: 16px; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.link-card:hover, .link-card:focus-visible { border-color: var(--accent); color: var(--ink); }
.link-card strong { display: block; color: var(--ink); font-weight: 600; font-size: 17px; margin-bottom: 4px; text-decoration: none; }
.link-card:hover strong, .link-card:focus-visible strong { text-decoration: underline; text-underline-offset: 2px; }
.link-card span { display: block; font-size: 15px; color: var(--ink); }
.link-card .example { margin-top: 8px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Tables (the go-live gate needs bare <table> tags, so tables are styled by element) */
table { border-collapse: collapse; width: 100%; margin: 0; font-size: 16px; }
th, td { text-align: left; border-bottom: 1px solid var(--border); padding: 10px 12px; vertical-align: top; }
th { font-size: 14px; color: var(--muted); font-weight: 600; }
.table-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.table-card tr:last-child td { border-bottom: 0; }
.state-facts { margin-top: 32px; }
.state-facts h2 { margin-bottom: 12px; }
.content h3 { margin: 16px 0 8px; }
.facts-table td:first-child { font-weight: 600; color: var(--ink); font-size: 15px; width: 40%; }

/* Tax brackets */
.bracket-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 960px) { .bracket-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; }
.tabs button {
  font: inherit; font-weight: 600; font-size: 15px; color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent;
  padding: 10px 12px; min-height: 44px; cursor: pointer; white-space: nowrap;
}
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.bracket-panel + .bracket-panel { margin-top: 24px; }
.bracket-panel h2 { margin-bottom: 8px; }
.std-deduction { font-size: 16px; margin-bottom: 12px; }
.std-deduction strong { font-variant-numeric: tabular-nums; }
.example-box { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.example-box h2 { font-size: 17px; margin-bottom: 10px; }
.example-box ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }

/* Home */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 0 8px; align-items: start; }
.hero h1 { margin-bottom: 10px; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; padding: 56px 0 24px; } .hero h1 { font-size: 42px; } }
.home-section { padding-top: 48px; }
.home-section h2 { margin-bottom: 16px; }
.points { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.points li { border-top: 2px solid var(--ink); padding-top: 12px; font-size: 15px; }
.points strong { display: block; font-size: 17px; margin-bottom: 4px; }
.home-end { padding-bottom: 56px; }

/* Home bands */
.hero-band .tool-card { margin-bottom: 40px; }
.proof-strip { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; }
.proof-strip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .proof-strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.proof-strip li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 16px; }
.proof-strip svg { flex: none; margin-top: 2px; color: var(--ink); }
.states-find { padding: 48px 0; }
.states-find h2 { margin-bottom: 20px; }
.states-find .tile-map-wrap { margin-bottom: 0; }
.state-chips { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.state-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--input-border); border-radius: 22px; background: var(--card); color: var(--ink); font-weight: 600; text-decoration: none; }
.state-chips a:hover, .state-chips a:focus-visible { border-color: var(--accent); color: var(--accent); }
.outline-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 2px solid var(--accent); border-radius: 8px; color: var(--accent); font-weight: 600; text-decoration: none; }
.outline-link:hover, .outline-link:focus-visible { background: var(--tag-bg); }
@media (min-width: 960px) { .states-find .state-chips { display: none; } .states-find .tile-map-wrap { margin-bottom: 24px; } }
.five-states { padding: 48px 0; }
.five-states h2 { margin-bottom: 8px; }
.table-lead { margin: 0 0 16px; color: var(--ink); }
.five-states .table-card { max-width: 36rem; }
.five-states .figure { text-align: right; font-variant-numeric: tabular-nums; }
.table-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.calculators { padding: 48px 0; }
.calculators h2 { margin-bottom: 16px; }
.questions { padding: 48px 0; }
.questions h2 { margin-bottom: 16px; }
.question-list { max-width: 46rem; }
.question { border-top: 1px solid var(--border); }
.question:last-child { border-bottom: 1px solid var(--border); }
.question summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 10px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.question summary::-webkit-details-marker { display: none; }
.question summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); flex: none; }
.question[open] summary::after { content: "\2212"; }
.question p { margin: 0 0 16px; max-width: 42rem; }
.who-wrap { padding-top: 48px; padding-bottom: 56px; }
.who-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; max-width: 46rem; }
.who-card h2 { font-size: 20px; margin-bottom: 8px; }
.who-card p { margin: 0 0 8px; }
.who-mark { width: 40px; height: 40px; flex: none; }

/* Policy pages */
.prose { max-width: 42rem; padding-bottom: 56px; }
.prose h2 { margin: 40px 0 12px; }
.contact-email { font-size: 20px; font-weight: 600; margin: 8px 0 24px; }
.changes { padding-left: 20px; }

/* Ad slots (rendered only when ads are switched on) */
.ad-slot { margin: 24px 0; }
.ad-label { font-size: 12px; color: var(--ad-label); margin: 0 0 4px; }
.ad-box { background: var(--ad-bg); border-radius: 6px; }
.ad-slot-a .ad-box { min-height: 250px; }
@media (min-width: 960px) { .ad-slot-a .ad-box { min-height: 90px; } }
.ad-slot-b .ad-box { min-height: 600px; width: 300px; }
.ad-slot-c .ad-box { min-height: 280px; }

/* Footer: the closing band */
.site-footer { background: var(--band); border-top: 1px solid var(--border); padding: 40px 0 32px; font-size: 15px; color: var(--muted); }
.site-footer a { color: var(--accent); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--ink); font-weight: 700; font-size: 19px; text-decoration: none; }
.footer-brand:hover { color: var(--ink); }
.footer-brand svg { width: 30px; height: 30px; flex: none; }
.footer-columns { display: grid; gap: 24px; margin-bottom: 24px; }
@media (min-width: 600px) { .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .footer-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-columns h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 8px; }
.footer-columns ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer p { max-width: 46rem; }
body.has-sticky-result .site-footer { padding-bottom: 96px; }
@media (min-width: 960px) { body.has-sticky-result .site-footer { padding-bottom: 32px; } }

/* Bands: full-width grounds a page puts its own .wrap inside */
.band { background: var(--band); }
.band-pad { padding: 40px 0; }
@media (min-width: 720px) { .band-pad { padding: 48px 0; } }
.band .sources-box, .band .link-card, .band .tool-card { background: var(--card); }

/* States page */
.hero-band .page-head { padding: 32px 0 40px; }
.find-box { display: grid; gap: 6px; margin-top: 20px; max-width: 360px; }
.find-box label { font-size: 15px; font-weight: 600; }
.find-box input[type="search"] {
  font: inherit; color: var(--ink); background: var(--card); width: 100%; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--input-border); border-radius: 8px;
}
.find-box input[type="search"]:hover { border-color: var(--ink); }
.match-count { font-size: 14px; color: var(--muted); min-height: 1.4em; margin: 6px 0 0; }
.states-section { padding: 40px 0 8px; }
.states-pending { margin: 0 0 20px; color: var(--ink); }
.tile-map-wrap { display: none; }
.map-note { display: none; }
@media (min-width: 960px) { .map-note { display: inline; } }
@media (min-width: 960px) {
  .tile-map-wrap { display: block; margin-bottom: 40px; }
  .tile-map {
    display: grid; grid-template-columns: repeat(11, 64px); grid-template-rows: repeat(8, 64px); gap: 6px; width: max-content; max-width: 100%;
  }
}
.tile {
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none;
  background: var(--card); border: 1px solid var(--input-border); border-radius: 6px;
}
a.tile:hover, a.tile:focus-visible, a.tile:focus-within { border: 2px solid var(--accent); color: var(--accent); }
.tile-pending { border-style: dashed; font-weight: 400; color: var(--muted); background: transparent; }
.tile.is-dimmed { opacity: 0.35; }
.state-list { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 32px; }
@media (min-width: 600px) { .state-list { columns: 2; } }
@media (min-width: 960px) { .state-list { columns: 3; } }
@media (min-width: 1200px) { .state-list { columns: 4; } }
.state-list li { break-inside: avoid; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; min-height: 44px; padding: 6px 0; }
.state-list a { font-size: 16px; font-weight: 600; text-decoration: underline; }
.tag { display: inline-block; font-size: 14px; line-height: 1.3; padding: 4px 8px; border-radius: 6px; background: var(--tag-bg); color: var(--accent); }
.state-list li .tag + .tag { margin-left: 4px; }
.states-prose { padding: 8px 0 40px; }
.states-prose section + section { margin-top: 32px; }
.states-prose h2 { margin-bottom: 8px; }
.states-prose p { max-width: 42rem; }

/* Missing page */
.missing { padding-bottom: 56px; }
.missing .home-link { margin-top: 24px; }
