/* Benefit Math. Worksheet paper, ballpoint blue, one highlighter. */
@font-face { font-family: 'Atkinson Next'; src: url('/assets/fonts/atkinson-next-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap;
  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; }
@font-face { font-family: 'Atkinson Next'; src: url('/assets/fonts/atkinson-next-latin-ext.woff2') format('woff2'); font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Zilla Slab'; src: url('/assets/fonts/zilla-slab-700-latin.woff2') format('woff2'); font-weight: 700; font-display: swap;
  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; }
@font-face { font-family: 'Zilla Slab'; src: url('/assets/fonts/zilla-slab-700-latin-ext.woff2') format('woff2'); font-weight: 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Zilla Slab'; src: url('/assets/fonts/zilla-slab-600-latin.woff2') format('woff2'); font-weight: 600; font-display: swap;
  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; }
@font-face { font-family: 'Zilla Slab'; src: url('/assets/fonts/zilla-slab-600-latin-ext.woff2') format('woff2'); font-weight: 600; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #1a2440;
  --ink-2: #414c69;
  --paper: #f2f5fa;
  --sheet: #ffffff;
  --grid: #e1e7f1;
  --rule: #c5cfe0;
  --pen: #2a3cc0;
  --pen-deep: #1d2b8f;
  --marker: #ffe45e;
  --marker-soft: #fff4b8;
  --red: #b3261e;
  --body: 'Atkinson Next', 'Atkinson Hyperlegible', Verdana, system-ui, sans-serif;
  --head: 'Zilla Slab', Rockwell, 'Roboto Slab', Georgia, serif;
  --r: 6px;
  --gap: clamp(1rem, 3vw, 2rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.125rem/1.6 var(--body);
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }

a { color: var(--pen); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--pen-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, .h3 { font-family: var(--head); font-weight: 700; line-height: 1.12; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 4.6vw + 0.6rem, 3.25rem); margin: 0.4rem 0 1rem; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.55rem, 2vw + 0.8rem, 2rem); margin: 2.6rem 0 0.8rem; }
h3, .h3 { font-size: 1.3125rem; margin: 1.8rem 0 0.5rem; }
.field > .h3 { margin: 0; }
p, ul, ol, dl, table { margin: 0 0 1.05rem; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 0.4rem; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink-2); max-width: 44rem; }
.small { font-size: 0.95rem; }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.prose { max-width: 44rem; }
.prose > h2:first-child { margin-top: 1rem; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.7rem 1rem; z-index: 10; border-radius: var(--r); }
.skip:focus { top: 1rem; }

/* masthead */
.masthead { background: var(--sheet); border-bottom: 3px solid var(--ink); }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 0.85rem; }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 3.1rem; height: 3.1rem; flex: none; }
.brand-words { display: grid; line-height: 1.15; }
.brand-name { font: 700 1.6rem/1.05 var(--head); letter-spacing: -0.01em; }
.brand-tag { font-size: 0.95rem; color: var(--ink-2); }
.brand-domain { font-size: 0.8rem; color: var(--ink-2); letter-spacing: 0.02em; }
.topnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.topnav li { margin: 0; }
.topnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.35rem 0.8rem; border-radius: var(--r); color: var(--ink); font-weight: 600; text-decoration: none; }
.topnav a:hover { background: var(--paper); color: var(--pen-deep); }
.topnav a[aria-current="page"] { background: var(--marker); }

main { padding: 1.4rem 0 3.5rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 0.6rem; display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; font-size: 0.95rem; }
.crumbs li { margin: 0; color: var(--ink-2); }
.crumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--rule); }

/* sheets: white paper on the grid */
.sheet { background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); padding: clamp(1.1rem, 3vw, 1.8rem); }
.sheet > :last-child { margin-bottom: 0; }

/* the stub: every answer prints here */
.stub {
  --edge: 9px;
  position: relative;
  background: var(--sheet);
  padding: 1.6rem clamp(1.1rem, 3vw, 1.6rem) 1.5rem;
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 5px, #000 5.5px) 0 0 / 18px var(--edge) repeat-x, linear-gradient(#000, #000) 0 var(--edge) / 100% calc(100% - 2 * var(--edge)) no-repeat, radial-gradient(circle at 50% 100%, transparent 5px, #000 5.5px) 0 100% / 18px var(--edge) repeat-x;
  mask: radial-gradient(circle at 50% 0, transparent 5px, #000 5.5px) 0 0 / 18px var(--edge) repeat-x, linear-gradient(#000, #000) 0 var(--edge) / 100% calc(100% - 2 * var(--edge)) no-repeat, radial-gradient(circle at 50% 100%, transparent 5px, #000 5.5px) 0 100% / 18px var(--edge) repeat-x;
}
.stub-wrap { filter: drop-shadow(0 0 1px rgba(26, 36, 64, 0.45)) drop-shadow(0 10px 16px rgba(26, 36, 64, 0.16)); }
.stub-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 0.55rem; margin-bottom: 0.9rem; }
.stub-title { font: 700 1.15rem/1.2 var(--head); margin: 0; }
.stub-date { font-size: 0.9rem; color: var(--ink-2); white-space: nowrap; }
.stub-answer { font-size: 1.3rem; line-height: 1.45; margin: 0 0 1rem; }
.stub-answer strong, .hi { background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 88%, transparent 88%); padding: 0 0.18em; font-weight: 700; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lines { margin: 0 0 1rem; font-variant-numeric: tabular-nums lining-nums; }
.line { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.38rem 0; }
.line dt { flex: 1 1 auto; min-width: 0; }
.line dd { margin: 0; font: 600 1.15rem/1.3 var(--head); white-space: nowrap; }
.line .lead-dots { flex: 1 1 1rem; min-width: 1rem; border-bottom: 2px dotted var(--rule); transform: translateY(-0.3em); }
.line.sub dt, .line.sub dd { color: var(--ink-2); font-size: 1rem; }
.line.total { border-top: 2px solid var(--ink); margin-top: 0.35rem; padding-top: 0.65rem; }
.line.total dt { font-weight: 700; }
.line.total dd { font-size: 1.5rem; font-weight: 700; background: linear-gradient(transparent 10%, var(--marker) 10%, var(--marker) 90%, transparent 90%); padding: 0 0.2em; }
.stub-note { font-size: 1rem; color: var(--ink-2); margin: 0.4rem 0 0; }
.stub-note + .stub-note { margin-top: 0.6rem; }
.stub-empty { color: var(--ink-2); margin: 0; }
.stub.printing { animation: print 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-14px); } to { clip-path: inset(0 0 0 0); transform: none; } }

/* tool layout */
.tool { display: grid; gap: var(--gap); align-items: start; margin: 1.5rem 0 2.5rem; }
@media (min-width: 960px) {
  .tool { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .tool .stub-col { position: sticky; top: 1rem; }
}
form .fields { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.35rem; margin: 0; }
.field.pair { grid-template-columns: 1fr 1fr; gap: 1rem; }
.field.pair > div { display: grid; gap: 0.35rem; }
fieldset.field { border: 0; padding: 0; }
.field > label, .field legend, .field.pair label { font-weight: 700; font-size: 1.125rem; padding: 0; }
.help { font-size: 0.98rem; color: var(--ink-2); margin: 0; }
input[type="number"], input[type="date"], input[type="text"], select {
  font: inherit; font-size: 1.25rem; color: var(--ink);
  min-height: 3.25rem; width: 100%; padding: 0.45rem 0.75rem;
  background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r);
}
input:focus-visible, select:focus-visible { outline: 3px solid var(--pen); outline-offset: 2px; box-shadow: 0 0 0 6px var(--marker-soft); }
input[aria-invalid="true"] { border-color: var(--red); }
.money { position: relative; }
.money::before { content: '$'; position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--ink-2); pointer-events: none; }
.money input { padding-left: 1.75rem; }
.choices { display: grid; gap: 0.5rem; }
.choices.row { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.choice { display: flex; align-items: flex-start; gap: 0.7rem; min-height: 3.25rem; padding: 0.7rem 0.85rem; border: 2px solid var(--rule); border-radius: var(--r); background: var(--sheet); cursor: pointer; line-height: 1.35; }
.choice:hover { border-color: var(--ink); }
.choice input { width: 1.4rem; height: 1.4rem; margin: 0.05rem 0 0; flex: none; accent-color: var(--pen); }
.choice:has(input:checked) { border-color: var(--pen); background: #f3f5ff; }
.choice:has(input:focus-visible) { outline: 3px solid var(--pen); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.3rem; }
.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.4rem; padding: 0.6rem 1.5rem;
  font: 700 1.15rem/1.2 var(--body); color: #fff; background: var(--pen); border: 2px solid var(--pen); border-radius: var(--r);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--pen-deep); border-color: var(--pen-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--pen); }
.btn.ghost:hover { background: #eef0ff; color: var(--pen-deep); }
.error { color: var(--red); font-weight: 700; margin: 0.8rem 0 0; }
.note { background: var(--marker-soft); border-left: 4px solid var(--ink); padding: 0.8rem 1rem; border-radius: 0 var(--r) var(--r) 0; }

/* tables printed inside a stub: ruled, no box */
.stub .table-wrap { border: 0; border-radius: 0; background: none; margin-bottom: 0.6rem; overflow: visible; }
.stub thead th { background: none; color: var(--ink-2); font-size: 0.95rem; border-bottom: 2px solid var(--ink); padding-left: 0; }
.stub th, .stub td { padding: 0.5rem 0.4rem 0.5rem 0; }
.stub td.n { padding-right: 0; }
.cols-2 > section > h2:first-child { margin-top: 0.6rem; }

/* VA rating rows */
.ratings { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.ratings li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 0.6rem; align-items: end; margin: 0; padding: 0.8rem; border: 2px solid var(--rule); border-radius: var(--r); background: var(--sheet); }
.ratings label { font-weight: 700; font-size: 1rem; display: block; margin-bottom: 0.25rem; }
.ratings .remove { min-height: 3.25rem; padding: 0.4rem 0.9rem; font: 600 1rem var(--body); color: var(--red); background: transparent; border: 2px solid var(--rule); border-radius: var(--r); cursor: pointer; }
.ratings .remove:hover { border-color: var(--red); }
@media (max-width: 560px) {
  .ratings li { grid-template-columns: minmax(0, 1fr) auto; }
  .ratings li > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .ratings .remove { grid-column: 2; grid-row: 1; }
}

/* whole-person bar (VA) */
.person { display: flex; height: 2.2rem; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; margin: 0.2rem 0 1rem; background: var(--sheet); }
.person span { display: block; height: 100%; }
.person .taken { background: repeating-linear-gradient(135deg, var(--ink) 0 6px, var(--ink-2) 6px 12px); border-right: 2px solid var(--sheet); }
.person .left { background: var(--sheet); flex: 1; }

/* bend-point chart (SSDI) */
.bend { margin: 0.2rem 0 1rem; }
.bend svg { display: block; width: 100%; height: auto; }

/* home */
.hero { display: grid; gap: var(--gap); align-items: start; margin: 0.6rem 0 2.2rem; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.4rem, 5vw + 0.6rem, 3.75rem); max-width: 15ch; }
.hero .lead { margin-bottom: 1.4rem; }
.change td.from { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.worksheet { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 2px solid var(--ink); }
.worksheet li { margin: 0; border-bottom: 1px solid var(--rule); }
.worksheet a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 1rem; align-items: baseline; padding: 1rem 0.4rem; color: var(--ink); text-decoration: none; }
.worksheet a:hover { background: var(--sheet); }
.worksheet a:hover .ws-name { color: var(--pen-deep); text-decoration: underline; text-decoration-thickness: 2px; }
.ws-name { font: 700 1.35rem/1.2 var(--head); color: var(--pen); }
.ws-what { grid-column: 1; color: var(--ink-2); font-size: 1.02rem; }
.ws-fig { grid-row: 1 / span 2; grid-column: 2; font: 700 1.25rem var(--head); text-align: right; white-space: nowrap; }
.ws-fig small { display: block; font: 400 0.85rem var(--body); color: var(--ink-2); }
@media (max-width: 640px) { .worksheet a { grid-template-columns: minmax(0, 1fr); } .ws-fig { grid-row: auto; grid-column: 1; text-align: left; } }
.cols-2 { display: grid; gap: var(--gap); }
@media (min-width: 860px) { .cols-2 { grid-template-columns: 1fr 1fr; } }

.state-list { list-style: none; padding: 0; margin: 0 0 1.5rem; columns: 2 8.5rem; column-gap: 1.25rem; }
.state-list li { break-inside: avoid; margin: 0; }
.state-list a { display: flex; justify-content: space-between; gap: 0.5rem; min-height: 44px; align-items: center; padding: 0.2rem 0.1rem; border-bottom: 1px solid var(--grid); }
.state-list .st-fig { color: var(--ink-2); font-size: 0.95rem; font-variant-numeric: tabular-nums; }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.3rem; border: 2px solid var(--ink); border-radius: var(--r); background: var(--sheet); }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums lining-nums; }
th, td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--grid); vertical-align: top; }
thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 1rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; white-space: nowrap; }
th .small { font-weight: 400; }
caption { text-align: left; padding: 0.6rem 0.8rem; font-weight: 700; caption-side: top; }

/* answer-first paragraph under the H1 */
.lead.answer { color: var(--ink); }

/* key facts (condition pages) */
.facts { max-width: 44rem; }
.facts th { width: 40%; background: var(--paper); }

/* VA rating tables printed from 38 CFR Part 4 */
.rt tr.i1 > td:first-child { padding-left: 1.5rem; }
.rt tr.i2 > td:first-child { padding-left: 2.2rem; }
.rt tr.i3 > td:first-child { padding-left: 2.9rem; }
.rt tr.i4 > td:first-child { padding-left: 3.6rem; }
.rt tr.r-sub > td { font-weight: 700; }
.rt tr.r-note > td { font-size: 0.95rem; color: var(--ink-2); background: var(--paper); }
.rt td.n b { font: 700 1.15rem/1.2 var(--head); }
.smc { display: inline-block; font-size: 0.78rem; font-weight: 700; line-height: 1.4; background: var(--marker-soft); padding: 0 0.3em; border-radius: 3px; white-space: nowrap; }
.t7 th, .t7 td { padding: 0.45rem 0.5rem; }
.t7 tbody th { background: var(--paper); }
@media (max-width: 560px) {
  .ctable th, .ctable td { padding: 0.5rem 0.45rem; font-size: 0.95rem; }
  .ctable th:first-child, .ctable td:first-child { padding-left: 0.6rem; }
  .rt tr.i1 > td:first-child { padding-left: 1.1rem; }
  .rt tr.i2 > td:first-child, .rt tr.i3 > td:first-child, .rt tr.i4 > td:first-child { padding-left: 1.6rem; }
  .rt th, .rt td { padding: 0.55rem 0.6rem; }
}

/* office cards (state pages) */
.offices { display: grid; gap: 1rem; margin: 0 0 1.5rem; }
@media (min-width: 760px) { .offices { grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); } }
.office { background: var(--sheet); border: 2px solid var(--rule); border-left: 6px solid var(--ink); border-radius: var(--r); padding: 1rem 1.1rem; }
.office h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.office p { margin: 0 0 0.35rem; }
.office .apt { font: 700 1.1rem var(--head); }
.stat { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 1.5rem; }
.stat > div { background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); padding: 0.9rem 1.1rem; min-width: 12rem; flex: 1 1 12rem; }
.stat b { display: block; font: 700 2rem/1.1 var(--head); }
.stat span { color: var(--ink-2); font-size: 1rem; }

/* FAQ */
.faq details { background: var(--sheet); border: 2px solid var(--rule); border-radius: var(--r); margin: 0 0 0.6rem; }
.faq summary { cursor: pointer; padding: 0.85rem 1rem; font-weight: 700; min-height: 44px; }
.faq details[open] summary { border-bottom: 1px solid var(--grid); }
.faq details p { padding: 0.8rem 1rem 0.2rem; }

/* sponsored */
.cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: var(--sheet); border: 2px dashed var(--ink); border-radius: var(--r); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.cta p { margin: 0; display: grid; }
.cta span { font-size: 0.9rem; color: var(--ink-2); }

/* steps (guides) */
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 1.1rem 3.2rem; margin: 0; border-left: 2px solid var(--rule); margin-left: 1.1rem; }
.steps > li:last-child { border-left-color: transparent; }
.steps > li::before { content: counter(s); position: absolute; left: -1.15rem; top: -0.15rem; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; background: var(--ink); color: var(--marker); font: 700 1.15rem var(--head); border-radius: 50%; }
.steps > li > strong:first-child { display: block; font: 700 1.25rem/1.25 var(--head); margin-bottom: 0.2rem; }

/* footer */
.colophon { background: var(--ink); color: #e9edf7; padding: 2.5rem 0 2rem; }
.colophon a { color: #fff; }
.colophon a:hover { color: var(--marker); }
.colophon :focus-visible { outline-color: var(--marker); }
.foot-cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); margin-bottom: 1.5rem; }
.foot-h { font: 700 1.15rem var(--head); color: var(--marker); margin: 0 0 0.5rem; }
.colophon ul { list-style: none; padding: 0; margin: 0; }
.colophon li { margin: 0; }
.colophon li a { display: inline-flex; min-height: 40px; align-items: center; }
.disclaimer { border-top: 1px solid rgba(255, 255, 255, 0.25); padding-top: 1rem; max-width: 52rem; }

@media (max-width: 720px) {
  body { font-size: 1.0625rem; background-size: 24px 24px; }
  .masthead-in { padding-block: 0.7rem; }
  .brand .mark { width: 2.75rem; height: 2.75rem; }
  .brand-name { font-size: 1.4rem; }
  .topnav { width: 100%; }
  .topnav ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.3rem; }
  .topnav a { width: 100%; justify-content: center; text-align: center; padding: 0.3rem 0.2rem; background: var(--paper); font-size: 0.92rem; line-height: 1.15; }
  .field.pair { grid-template-columns: 1fr; }
  .stub-answer { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  body { background: #fff; }
  .masthead, .colophon, .topnav, form, .crumbs, .cta { display: none; }
  .stub { filter: none; -webkit-mask: none; mask: none; border: 1px solid #000; }
}
