/* Paycheck California. Time card + pay stub. One family (Archivo, OFL) with the width axis doing the work. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin.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;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-ext.woff2) format('woff2');
  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 {
  --paper: #eef2f5;
  --white: #ffffff;
  --ink: #13213c;
  --ink-2: #4a5772;
  --line: #c9d2dc;
  --line-soft: #dfe5eb;
  --poppy: #e8781a;
  --poppy-deep: #a24c06;
  --poppy-wash: #fdeedf;
  --stamp: #563a98;
  --stamp-wash: #efeaf8;
  --check: #e4efe9;
  --check-line: #d2e3da;
  --radius: 6px;
  --wrap: 1140px;
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--poppy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--poppy-deep); }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 2px; border-radius: 2px; }
.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; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.n, .num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- type */
h1, h2, h3 { line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-stretch: 125%; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -0.012em; line-height: 1.02; }
h2 { font-stretch: 112%; font-weight: 760; font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-top: 2.4rem; margin-bottom: 0.7rem; }
h3 { font-weight: 700; font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.4rem; }
p, ul, ol, dl, table { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 62ch; margin-top: 0.9rem; }
.small { font-size: 0.92rem; }
.muted { color: var(--ink-2); }
main { padding-bottom: 3rem; }
main p, main li { max-width: 72ch; }

/* ---------------------------------------------------------------- masthead */
.masthead { background: var(--white); border-top: 6px solid var(--poppy); border-bottom: 1px solid var(--line); }
.mast-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-stretch: 125%; font-weight: 850; font-size: 1.32rem; letter-spacing: -0.01em; }
.brand-tag { font-size: 0.88rem; color: var(--ink-2); margin-top: 2px; }
.brand-domain { font-size: 0.74rem; color: var(--ink-2); font-stretch: 87%; letter-spacing: 0.02em; margin-top: 1px; }
.lang { flex: none; font-weight: 650; font-size: 0.95rem; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 13px; }
.lang:hover { background: var(--ink); color: #fff; }
.tabs ul { list-style: none; margin: 0; padding: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.tabs a { display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 4px 0; border-bottom: 3px solid transparent; }
.tabs a:hover { border-bottom-color: var(--line); color: var(--ink); }
.tabs a[aria-current="page"] { border-bottom-color: var(--poppy); }

/* ---------------------------------------------------------------- crumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 18px 0 14px; font-size: 0.88rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration-thickness: 1px; }

/* ---------------------------------------------------------------- tool layout */
.page-head { margin: 8px 0 22px; }
.tool { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 28px; align-items: start; margin-bottom: 1.5rem; }
.tool > .stub { position: sticky; top: 16px; }

/* Time card: the input side */
.timecard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--ink); color: #fff; padding: 10px 16px; }
.tc-title { font-stretch: 118%; font-weight: 760; font-size: 1.02rem; }
.tc-sub { font-size: 0.85rem; color: #c8d0e0; }
.tc-body { padding: 14px 16px 16px; }
.tc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin-bottom: 12px; }
.tc-fields .wide { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-weight: 650; font-size: 0.93rem; margin-bottom: 4px; }
.field .help { font-size: 0.84rem; color: var(--ink-2); margin: 4px 0 0; }
input[type="text"], input[type="date"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 4px; padding: 8px 10px; min-height: 42px;
}
input[type="text"]:focus, input[type="date"]:focus, input[type="email"]:focus, input[type="tel"]:focus, select:focus, textarea:focus { border-color: var(--stamp); outline: 2px solid var(--stamp); outline-offset: 0; }
input.n { text-align: right; font-variant-numeric: tabular-nums; }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.money input { padding-left: 22px; text-align: left; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 650; font-size: 0.93rem; margin-bottom: 6px; padding: 0; }
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.seg label { position: relative; padding: 6px 14px; font-weight: 600; font-size: 0.93rem; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--ink); color: #fff; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--stamp); outline-offset: -3px; }

/* Punch rows */
.punch { width: 100%; border-collapse: collapse; margin: 0; }
.punch th, .punch td { padding: 6px 0; border-top: 1px dashed var(--line); vertical-align: middle; text-align: left; }
.punch thead th { border-top: 0; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); padding-top: 0; }
.punch th[scope="row"] { font-weight: 650; width: 30%; padding-right: 8px; }
.punch td.in { width: 30%; padding-right: 12px; }
.punch td.in input { max-width: 120px; }
.punch .stampcell { color: var(--stamp); font-stretch: 87%; font-weight: 650; font-size: 0.93rem; font-variant-numeric: tabular-nums; }
.punch select { min-height: 38px; padding: 6px 8px; font-size: 0.95rem; }
.punch td.in-wide { padding-right: 8px; }
.punch td.in-wide:last-child { padding-right: 0; }
.punch th .stampcell { display: block; font-size: 0.78rem; font-weight: 600; line-height: 1.2; margin-top: 2px; }
.timecard .note { margin: 12px 0 0; }
.timecard > .tc-body > .help { margin: 8px 0 0; font-size: 0.84rem; color: var(--ink-2); }

/* Pay stub: the answer side */
.stub {
  --hole: var(--paper);
  position: relative;
  background-color: var(--white);
  background-image: repeating-linear-gradient(135deg, rgba(210, 227, 218, 0.55) 0 1px, transparent 1px 7px);
  border: 1px solid var(--check-line);
  border-radius: var(--radius);
  padding: 28px 18px 16px;
  box-shadow: 0 1px 2px rgba(19, 33, 60, 0.06);
}
.stub::before {
  content: ""; position: absolute; left: 10px; right: 10px; top: 7px; height: 9px;
  background: radial-gradient(circle at 4.5px 4.5px, var(--hole) 0 2.6px, var(--line) 2.7px 3.5px, transparent 3.6px) repeat-x;
  background-size: 14px 9px;
}
.stub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1.5px dashed var(--line); padding-bottom: 8px; margin-bottom: 8px; }
.stub-title { font-stretch: 118%; font-weight: 760; font-size: 1rem; }
.stub-period { font-size: 0.84rem; color: var(--ink-2); text-align: right; }
.stub table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 0; }
.stub th, .stub td { padding: 5px 0; text-align: left; font-size: 0.95rem; vertical-align: baseline; }
.stub thead th { font-size: 0.78rem; font-weight: 600; color: var(--ink-2); }
.stub td.n, .stub th.n { text-align: right; padding-left: 8px; white-space: nowrap; font-stretch: 92%; }
.stub tbody tr + tr td, .stub tbody tr + tr th { border-top: 1px solid var(--line-soft); }
.stub tbody th { font-weight: 600; }
.stub .total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px; }
.stub .total-label { font-weight: 700; }
.stub .total-amt { color: var(--stamp); font-stretch: 125%; font-weight: 850; font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stub .facts { list-style: none; padding: 0; margin: 12px 0 0; font-size: 0.9rem; color: var(--ink-2); }
.stub .facts li { padding: 3px 0; max-width: none; }
.stub .facts strong { color: var(--ink); font-weight: 650; }
.stub .warn { background: var(--poppy-wash); border-left: 4px solid var(--poppy); padding: 8px 10px; margin: 10px 0 0; font-size: 0.92rem; }
.stub-empty { color: var(--ink-2); font-size: 0.95rem; margin: 6px 0; }
.stamped { animation: stamp 0.26s ease-out; }
@keyframes stamp { 0% { transform: scale(1.18); opacity: 0.4; } 100% { transform: scale(1); opacity: 1; } }

textarea { min-height: 76px; resize: vertical; line-height: 1.4; }
.checks .check { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; font-size: 0.95rem; padding: 4px 0; cursor: pointer; }
.checks input[type="checkbox"] { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }

/* Claim deadlines table inside the stub */
.stub table.dl th[scope="row"] { font-weight: 650; padding-right: 10px; line-height: 1.3; }
.dl-meta { display: block; font-size: 0.78rem; font-weight: 500; color: var(--ink-2); margin-top: 2px; line-height: 1.3; white-space: normal; }
.stub table.dl td.n { vertical-align: top; }
.chip { display: block; width: max-content; margin: 3px 0 0 auto; font-size: 0.76rem; font-weight: 650; padding: 1px 8px; border-radius: 999px; background: var(--check); color: var(--ink); white-space: nowrap; }
.chip-soon { background: var(--poppy-wash); color: var(--poppy-deep); }
.chip-out { background: var(--line-soft); color: var(--ink-2); }
.dl-passed th, .dl-passed td { color: var(--ink-2); }
.dl-passed td { text-decoration: line-through; text-decoration-color: var(--line); }
.dl-passed .chip { text-decoration: none; }
.stub .total-amt.total-date { font-size: clamp(1.3rem, 3vw, 1.6rem); }

/* Records request letter */
.tool-letter > .stub { position: relative; top: auto; }
.stub-letter { background-image: none; padding-top: 30px; }
.letter { background: var(--white); border: 1px solid var(--line-soft); border-radius: 4px; padding: 20px 22px; font-size: 0.97rem; line-height: 1.5; color: var(--ink); }
.letter p { margin: 0 0 0.7rem; max-width: none; }
.letter .lt-lines, .letter .lt-line { margin: 0; }
.lt-gap { height: 0.8rem; }
.lt-list { margin: 0 0 0.7rem; padding-left: 1.3rem; }
.lt-list li { margin-bottom: 0.55rem; max-width: none; }
.letter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 6px; }
.letter-due { margin-top: 10px; font-size: 0.92rem; }
.letter-due p { margin: 0; }
button.btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
button.btn-line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
button.btn-line:hover { background: var(--ink); color: #fff; }
.quote { margin: 0 0 1.2rem; padding: 12px 16px; background: var(--white); border-left: 4px solid var(--stamp); border-radius: var(--radius); font-size: 0.98rem; }
.quote p { margin: 0; }

/* ---------------------------------------------------------------- home */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro demo" "tools demo"; gap: 0 36px; align-items: start; padding: 34px 0 10px; }
.hero-intro { grid-area: intro; }
.hero .demo { grid-area: demo; }
.hero .ledger { grid-area: tools; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.hero .lead { margin-bottom: 1.4rem; }
.demo-cap { font-size: 0.95rem; color: var(--ink-2); margin: 10px 2px 0; }
.demo .stub { margin-top: 18px; }
.ledger { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 2px solid var(--ink); }
.ledger li { max-width: none; border-bottom: 1px solid var(--line); }
.ledger a { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 4px 24px; padding: 14px 4px; text-decoration: none; }
.ledger a:hover { background: var(--white); color: var(--ink); }
.ledger a:hover .l-name { text-decoration: underline; text-decoration-color: var(--poppy); text-decoration-thickness: 2px; }
.l-name { font-stretch: 112%; font-weight: 760; font-size: 1.08rem; }
.l-note { color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.ledger-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; margin-top: 1rem; }
.ledger-2 a { grid-template-columns: minmax(0, 1fr); gap: 2px; }

/* rate board on the home and minimum wage pages */
.rateboard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin: 1rem 0 1.4rem; }
.rateboard > div { padding: 14px 16px; }
.rateboard > div + div { border-left: 1px dashed var(--line); }
.rb-label { display: block; font-size: 0.88rem; color: var(--ink-2); }
.rb-value { display: block; font-stretch: 125%; font-weight: 850; font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.1; color: var(--stamp); font-variant-numeric: tabular-nums; }
.rb-when { display: block; font-size: 0.88rem; }

/* ---------------------------------------------------------------- content blocks */
.tablewrap { overflow-x: auto; margin: 0 0 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.data { width: 100%; border-collapse: collapse; margin: 0; font-size: 0.97rem; }
.data th, .data td { padding: 9px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-soft); }
.data thead th { border-top: 0; background: var(--ink); color: #fff; font-weight: 650; font-size: 0.9rem; white-space: nowrap; }
.data td.n, .data th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data tbody th { font-weight: 650; }
.data caption { text-align: left; padding: 10px 12px 0; font-weight: 650; }
.data tr.is-now td, .data tr.is-now th { background: var(--stamp-wash); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1.2rem; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 16px 48px; max-width: 72ch; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--stamp); color: var(--stamp); font-weight: 800; display: grid; place-items: center; font-size: 0.95rem;
}
.steps > li + li { border-top: 1px dashed var(--line); padding-top: 14px; }
.steps > li + li::before { top: 14px; }
.rules { padding-left: 1.2rem; }
.rules li { margin-bottom: 0.45rem; }
.note { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--poppy); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 1.2rem; }
.note p:last-child { margin-bottom: 0; }

.answer { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 1.4rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 22px; align-items: center; }
.answer .big { font-stretch: 125%; font-weight: 850; font-size: clamp(2.2rem, 6vw, 3.2rem); color: var(--stamp); line-height: 1; font-variant-numeric: tabular-nums; }
.answer p { margin: 0; }

.offices { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.offices > li { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); max-width: none; font-size: 0.95rem; }
.offices h3 { margin: 0 0 4px; font-size: 1.02rem; }
.offices p { margin: 0; }
.contact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 1.2rem; }
.contact h3 { margin-top: 0; }
.contact p { margin: 0 0 4px; }

.places { columns: 3 13rem; column-gap: 28px; padding: 0; list-style: none; margin: 0 0 1.2rem; }
.places li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 10px; max-width: none; }
.places .n { color: var(--stamp); font-weight: 650; }
.finder { max-width: 26rem; margin: 0 0 1rem; }
.finder-out { min-height: 1.6em; margin: 6px 0 0; font-size: 0.97rem; }
[hidden] { display: none !important; }

.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 680; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; font-weight: 500; color: var(--stamp); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 8px 0 0; }

.related { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1rem; }
.related a { display: inline-block; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; text-decoration: none; font-weight: 600; font-size: 0.95rem; background: var(--white); }
.related a:hover { background: var(--ink); color: #fff; }

.cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--stamp); border-radius: var(--radius); padding: 14px 16px; margin: 1.4rem 0; }
.cta p { margin: 0; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 9px 18px; white-space: nowrap; }
.btn:hover { background: var(--stamp); color: #fff; }

/* ---------------------------------------------------------------- footer */
.foot { margin-top: 2rem; background-color: var(--check); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px 7px); border-top: 2px dashed var(--ink-2); padding: 26px 0 30px; font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 24px; }
.foot-brand { font-stretch: 118%; font-weight: 800; font-size: 1.05rem; margin: 0 0 4px; }
.foot ul { list-style: none; padding: 0; margin: 0; columns: 2 12rem; column-gap: 24px; }
.foot li { padding: 3px 0; }
.foot p { margin: 0 0 6px; max-width: 70ch; }
.foot .disclaimer { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--check-line); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .tool, .hero, .split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero { grid-template-areas: "intro" "demo" "tools"; }
  .tool > .stub { position: relative; top: auto; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hide-sm { display: none; }
  .data th, .data td { padding: 8px 9px; }
  .data thead th { white-space: normal; }
  .punch.br th[scope="row"] { width: 22%; }
  .punch.br td.in { width: 20%; padding-right: 6px; }
  .brand svg { width: 40px; height: 40px; }
  .brand-name { font-size: 1.12rem; }
  .brand-tag { font-size: 0.8rem; }
  .tabs ul { gap: 2px 14px; }
  .tabs a { font-size: 0.92rem; }
  .tc-fields { grid-template-columns: minmax(0, 1fr); }
  .ledger a { grid-template-columns: minmax(0, 1fr); }
  .ledger-2 { grid-template-columns: minmax(0, 1fr); }
  .letter { padding: 14px 14px; }
  .rateboard { grid-template-columns: minmax(0, 1fr); }
  .rateboard > div + div { border-left: 0; border-top: 1px dashed var(--line); }
  .answer { grid-template-columns: minmax(0, 1fr); }
  .stub { padding-left: 14px; padding-right: 14px; }
  .stub th, .stub td { font-size: 0.9rem; }
  .cta { flex-direction: column; align-items: flex-start; }
  .punch th[scope="row"] { width: 26%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .masthead .tabs, .lang, .foot ul, .skip { display: none; }
  body { background: #fff; }
  /* the records page prints only the letter */
  body:has([data-print="letter"]) .masthead, body:has([data-print="letter"]) .foot, body:has([data-print="letter"]) .crumbs,
  body:has([data-print="letter"]) main .wrap > :not(.tool-letter), body:has([data-print="letter"]) .tool-letter > form,
  body:has([data-print="letter"]) .letter-actions, body:has([data-print="letter"]) .letter-due { display: none !important; }
  body:has([data-print="letter"]) .tool-letter { display: block; margin: 0; }
  body:has([data-print="letter"]) .stub { border: 0; background: none; box-shadow: none; padding: 0; }
  body:has([data-print="letter"]) .stub::before { display: none; }
  body:has([data-print="letter"]) .letter { border: 0; padding: 0; font-size: 11.5pt; line-height: 1.45; }
  body:has([data-print="letter"]) main { padding: 0; }
  @page { margin: 2cm; }
}
