/* Atript — Waymark visual system. Light default, dark and high-contrast token sets. */
:root {
  --bg: #FBF7F0;
  --text: #1F2A2E;
  --accent: #E8A33D;
  --primary: #2E5E3E;
  --surface: #F2EBDF;
  --muted: #535B57;
  --on-primary: #FFFFFF;
  --primary-hover: #234A30;
  --primary-tint: #E4EEE6;
  --rest-bg: #FCEFD6;
  --error: #B3261E;
  --outline: #6B6F6B;
  --divider: #D9CFBF;
  --field: #FFFFFF;
  --focus: #1F2A2E;
  --line: 4px;
  --radius: 12px;
  --font-h: "Lora", Georgia, "Times New Roman", serif;
  --font-b: "Lexend", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141A17;
    --text: #EDE6DA;
    --accent: #E8A33D;
    --primary: #8FCB9F;
    --surface: #1E2622;
    --muted: #C3C8C3;
    --on-primary: #0E1F13;
    --primary-hover: #A9DAB5;
    --primary-tint: #23332A;
    --rest-bg: #3A2E14;
    --error: #F2B8B5;
    --outline: #9AA19D;
    --divider: #38443E;
    --field: #101512;
    --focus: #E8A33D;
    color-scheme: dark;
  }
  .brand img, .footer-brand img { background: #FBF7F0; border-radius: 8px; padding: 4px 8px; mix-blend-mode: normal; }
}
@media (prefers-contrast: more) {
  :root {
    --bg: #FFFFFF; --text: #000000; --surface: #FFFFFF; --muted: #000000;
    --primary: #163A22; --primary-hover: #000000; --outline: #000000; --divider: #000000;
    --rest-bg: #FFFFFF; --focus: #000000;
  }
  .card, .panel, .tool-card { border: 2px solid #000; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-b); font-size: 1.125rem; line-height: 1.6; font-weight: 400;
}
@media (min-width: 64em) { body { font-size: 1.1875rem; } }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--text); }
h1, h2 { font-family: var(--font-h); font-weight: 600; }
h1 { font-size: 2.125rem; line-height: 1.15; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.3125rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
@media (min-width: 64em) { h1 { font-size: 3rem; } h2 { font-size: 2rem; } h3 { font-size: 1.375rem; } }
p, ul, ol, dl { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 25em) { .wrap { padding: 0 1.25rem; } }
.measure { max-width: 40rem; }
.lead { font-size: 1.25rem; line-height: 1.5; }
@media (min-width: 64em) { .lead { font-size: 1.375rem; } }
.muted { color: var(--muted); }
.small { font-size: 1.0625rem; }
.m0 { margin: 0; }
.mt { margin-top: 1rem; }
.promise h3, .section-sub { margin-top: 1.5rem; }

/* Skip link */
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--primary); color: var(--on-primary); padding: .75rem 1.25rem; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 1rem; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--divider); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; padding: .25rem 0; }
.brand img { height: 40px; width: auto; mix-blend-mode: multiply; }
.menu-btn { font: inherit; font-weight: 600; min-height: 48px; padding: 0 1.25rem; border: 2px solid var(--primary); color: var(--primary); background: transparent; border-radius: 10px; cursor: pointer; }
.site-nav { width: 100%; display: none; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0 0 .5rem; }
.site-nav li { border-top: 1px solid var(--divider); }
.site-nav a { display: flex; align-items: center; min-height: 56px; color: var(--text); text-decoration: none; font-weight: 400; padding: 0 .25rem; }
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 4px; text-underline-offset: 8px; }
@media (min-width: 64em) {
  .menu-btn { display: none; }
  .site-nav, .site-nav.open { display: block; width: auto; }
  .site-nav ul { display: flex; gap: 1.75rem; padding: 0; }
  .site-nav li { border: 0; }
  .site-nav a { min-height: 48px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: .5rem 1.5rem; border-radius: 10px; font: inherit; font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none; border: 2px solid var(--primary); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-secondary { background: transparent; color: var(--primary); }
.btn-secondary:hover { background: var(--primary-tint); }
.btn-quiet { background: none; border: 0; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; padding: .5rem .25rem; min-height: 48px; font: inherit; cursor: pointer; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1rem 0; }
@media (max-width: 40em) { .btn-row .btn { width: 100%; } }

/* Sections */
main { display: block; }
main:focus { outline: none; }
.section { padding: 3rem 0; }
@media (min-width: 64em) { .section { padding: 4.5rem 0; } }
.panel { background: var(--surface); border-radius: var(--radius); padding: 1.25rem; }
@media (min-width: 48em) { .panel { padding: 1.75rem; } }
.card { background: var(--surface); border-radius: var(--radius); padding: 1.25rem; }

/* Hero */
.hero { padding: 2.5rem 0 2rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero .sub { font-size: 1.25rem; max-width: 34rem; }
@media (min-width: 64em) {
  .hero { padding: 4rem 0 3rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hero-figure img { aspect-ratio: 3 / 2; }
}

/* Pace Line (the trail): a 4px pine line with stops and rest markers */
.trail { position: relative; padding-left: 2.75rem; }
.trail::before { content: ""; position: absolute; left: 10px; top: .5rem; bottom: .5rem; width: var(--line); background: var(--primary); border-radius: 2px; }
.stop { position: relative; }
.marker { position: absolute; left: -2.75rem; top: .35rem; width: 24px; height: 24px; display: block; }
.marker.dot::after { content: ""; position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); border: 3px solid var(--bg); box-sizing: border-box; }
.marker.rest::after { content: ""; position: absolute; left: 1px; top: 1px; width: 22px; height: 22px; border-radius: 6px; background: var(--accent); border: 2px solid var(--text); }
.marker.ring::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 3px solid var(--primary); }
.marker.target::after { content: ""; position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 6px double var(--primary); }
.stop-label { font-size: 1.0625rem; font-weight: 600; color: var(--primary); margin: 0 0 .35rem; }
.home-trail { padding-top: 1rem; padding-bottom: 1rem; }
.home-trail > .stop { padding: 2.5rem 0; }
@media (min-width: 64em) {
  .home-trail { padding-left: 11rem; }
  .home-trail::before { left: 7.25rem; }
  .home-trail > .stop > .marker { left: -4.4rem; top: 2.85rem; }
  .home-trail > .stop > .stop-label { position: absolute; left: -11rem; top: 2.75rem; width: 6rem; text-align: right; }
  .home-trail > .stop { padding: 3.5rem 0; }
}
.reading { max-width: 40rem; }
.wide-reading { max-width: 52rem; }

/* Audience list */
.audience { list-style: none; padding: 0; display: grid; gap: .75rem; }
.audience li { background: var(--surface); border-radius: var(--radius); padding: 1rem 1.25rem; }
.audience strong { display: block; }

/* Tool cards */
.tools { display: grid; gap: 1rem; }
@media (min-width: 48em) { .tools { grid-template-columns: 1fr 1fr; } }
.tool-card { background: var(--surface); border-radius: var(--radius); border-top: 4px solid var(--primary); padding: 1.25rem; display: flex; flex-direction: column; }
.tool-card p { flex: 1; }
.tool-card .btn { align-self: flex-start; }

/* Step list on the line */
.steps { list-style: none; padding: 0; margin: 0; }
/* Pace Line lists: keep the gutter so the line and markers sit beside the text, never over it */
.steps.trail { padding-left: 2.75rem; padding-top: .25rem; margin: 0 0 1em; }
.steps.trail::before { left: 10px; top: .75rem; bottom: 1.5rem; }
.steps.trail > li > .marker { left: -2.75rem; top: .2rem; }
.steps > li { padding-bottom: 1.25rem; min-width: 0; }
.steps > li h3 { margin-bottom: .25rem; }
.steps > li p { margin: 0; }

.promise { background: var(--rest-bg); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.ticklist { padding-left: 1.25rem; }
.ticklist li { margin-bottom: .4rem; }

/* Join block */
.join { background: var(--primary); color: var(--on-primary); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1.5rem; }
.join h2, .join p { color: var(--on-primary); }
.join :focus-visible { outline-color: var(--accent); }
.join .join-panel { background: var(--bg); color: var(--text); border-radius: var(--radius); padding: 1.25rem; }
.join .join-panel p { color: var(--text); }
.join .join-panel :focus-visible { outline-color: var(--focus); }
@media (min-width: 64em) { .join { grid-template-columns: 1fr 1fr; padding: 2.5rem; } }

/* Forms */
form { margin: 0; }
.field { margin-bottom: 1.5rem; }
label, legend { display: block; font-weight: 600; line-height: 1.4; margin-bottom: .25rem; }
.help { display: block; color: var(--muted); margin-bottom: .5rem; font-size: 1.0625rem; }
.panel .help { color: var(--text); }
input[type="text"], input[type="email"], input[type="number"], input[type="time"], select, textarea {
  font: inherit; color: var(--text); background: var(--field); width: 100%;
  min-height: 52px; padding: .6rem .8rem; border: 2px solid var(--outline); border-radius: 10px;
}
textarea { min-height: 10rem; resize: vertical; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--text); }
[aria-invalid="true"] { border: 3px solid var(--error) !important; }
.err-msg { color: var(--error); font-weight: 600; margin: 0 0 .4rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.date-row { display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; }
.date-row .year { grid-column: 1 / -1; max-width: 7rem; }
@media (min-width: 25em) { .date-row { grid-template-columns: 5.5rem minmax(11rem, 1fr) 7rem; } .date-row .year { grid-column: auto; } }
.date-row label { font-weight: 400; }
.dates { display: grid; gap: 0; }
@media (min-width: 64em) { .dates.two { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.choices { display: grid; gap: .5rem; }
@media (min-width: 64em) { .choices.cols { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; align-items: center; gap: .75rem; min-height: 52px; padding: .5rem .75rem; border: 2px solid var(--outline); border-radius: 10px; background: var(--field); cursor: pointer; font-weight: 400; margin: 0; }
.choice input { width: 24px; height: 24px; flex: none; accent-color: var(--primary); margin: 0; }
.choice:has(input:checked) { border: 3px solid var(--primary); }
.choice b { font-weight: 600; }
.choice span { min-width: 0; overflow-wrap: break-word; }
.choices { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64em) { .choices.cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.count { font-size: 1rem; color: var(--muted); margin-top: .25rem; }
.or { display: flex; align-items: center; gap: 1rem; font-weight: 600; margin: 1rem 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--divider); }
input[type="file"] { font: inherit; min-height: 52px; max-width: 100%; }
input[type="file"]::file-selector-button { font: inherit; font-weight: 600; min-height: 48px; padding: 0 1.25rem; margin-right: 1rem; border: 2px solid var(--primary); color: var(--primary); background: transparent; border-radius: 10px; cursor: pointer; }

.error-summary { border: 3px solid var(--error); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; background: var(--bg); }
.error-summary h2 { font-size: 1.5rem; }
.error-summary ul { margin: 0; padding-left: 1.25rem; }
.error-summary a { color: var(--error); font-weight: 600; }

.note { background: var(--rest-bg); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.note h2 { font-family: var(--font-b); font-size: 1.1875rem; margin-bottom: .35rem; }
.note p:last-child { margin-bottom: 0; }

/* Tool page layout */
.tool-head { display: grid; gap: 1.5rem; align-items: start; padding: 2rem 0 1rem; }
.tool-head figure, .split-intro figure { margin: 0; max-width: 20rem; }
.tool-head figure img, .split-intro figure img { border-radius: var(--radius); }
@media (min-width: 64em) {
  .tool-head { grid-template-columns: 7fr 5fr; gap: 3rem; padding-top: 3rem; }
  .tool-head figure { max-width: none; }
}
.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: start; }
.tool-grid > *, .tool-head > *, .pacer-grid > *, .contact-grid > *, .split-intro > *, .hero-grid > * { min-width: 0; }
input, select, textarea { max-width: 100%; }
input[type="file"] { width: 100%; overflow: hidden; text-overflow: ellipsis; }
#k-file-note { overflow-wrap: anywhere; }
@media (min-width: 64em) { .tool-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; } .result-col { position: sticky; top: 1.5rem; } }
.tool-grid.has-result { grid-template-columns: minmax(0, 1fr); }
.tool-grid.has-result .result-col { position: static; }
.result-col:focus { outline: none; }
.result-empty { border: 2px dashed var(--divider); border-radius: var(--radius); padding: 1.5rem; min-height: 7.5rem; color: var(--muted); }
.loading { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; background: var(--surface); border-radius: var(--radius); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--primary); animation: fill 1.8s infinite; }
.dots i:nth-child(2) { animation-delay: .6s; } .dots i:nth-child(3) { animation-delay: 1.2s; }
@keyframes fill { 0%, 30% { background: var(--primary); } 31%, 100% { background: transparent; } }
.service { background: var(--surface); border-left: 3px solid var(--text); border-radius: var(--radius); padding: 1rem 1.25rem; }
.draft { background: var(--rest-bg); border-left: 6px solid var(--accent); border-top: 2px solid var(--text); padding: 1rem 1.25rem; font-weight: 600; margin: 1.5rem 0 1rem; }
.copied { font-weight: 600; margin-left: .5rem; }
.result h2:focus { outline: 3px solid var(--focus); outline-offset: 4px; }
.summary-line { font-weight: 600; }
.day { position: relative; margin-bottom: 1.5rem; }
.day > h3 { margin-bottom: .75rem; }
.parts { margin: 0; }
.part { position: relative; margin-bottom: .9rem; }
.part dt, .part .pl { font-weight: 600; }
.part dd { margin: 0; }
.part ul { margin: .25rem 0 0; padding-left: 1.25rem; }
@media (min-width: 64em) { .tool-grid.has-result .parts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 2rem; } }
.result-free p { margin: 0 0 .5rem; }
.msg-panel { background: var(--field); border: 2px solid var(--outline); border-radius: var(--radius); padding: 1.25rem; max-width: 40rem; white-space: normal; }
.msg-panel p { margin: 0 0 .6rem; }
.msg-panel ol { padding-left: 1.5rem; }
.msg-panel li { margin-bottom: .4rem; }

/* Flag cards */
.flag { background: var(--surface); border-radius: var(--radius); padding: 1rem 1.25rem 1rem 1.5rem; margin-bottom: 1rem; border-left: 8px solid var(--primary); max-width: 48rem; }
.flag.t-tight { border-left-style: solid; }
.flag.t-walk { border-left-style: dashed; }
.flag.t-quiet { border-left-style: dotted; }
.flag.t-other { border-left-style: double; border-left-width: 9px; }
.flag h3 { margin-bottom: .35rem; }
.flag p { margin: 0 0 .35rem; }
.flag .issue { font-weight: 600; }

/* Plans table */
.plans-table { width: 100%; border-collapse: collapse; max-width: 48rem; }
.plans-table caption { text-align: left; font-weight: 600; padding-bottom: .75rem; }
.plans-table th, .plans-table td { text-align: left; vertical-align: top; padding: .75rem; border-bottom: 1px solid var(--divider); }
.plans-table thead th { font-family: var(--font-h); font-size: 1.25rem; }
.plans-table thead th:nth-child(2) { border-top: 4px solid var(--primary); }
.pill { display: inline-block; padding: .15rem .75rem; border-radius: 999px; font-weight: 600; border: 2px solid var(--outline); }
.pill.now { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
@media (max-width: 37.5em) {
  .plans-table thead { position: absolute; left: -10000px; }
  .plans-table caption { display: block; width: 100%; text-align: left; }
  .plans-table, .plans-table tbody, .plans-table tr, .plans-table th, .plans-table td { display: block; width: 100%; }
  .plans-table tr { border-bottom: 0; }
  .plans-table tbody th { background: var(--surface); border-radius: 8px 8px 0 0; margin-top: 1rem; }
  .plans-table td::before { content: attr(data-label); display: block; font-weight: 600; }
}

/* Day Pacer */
.pacer-intro { display: grid; gap: 1.5rem; align-items: start; }
.pacer-intro figure { margin: 0; max-width: 16rem; }
.pacer-intro figure img { border-radius: var(--radius); }
@media (min-width: 48em) { .pacer-intro { grid-template-columns: 1fr 14rem; } .pacer-intro figure { max-width: none; } }
@media (min-width: 64em) { .pacer-intro { grid-template-columns: 1fr 18rem; } }
.pacer-grid { display: grid; gap: 2rem; }
@media (min-width: 64em) { .pacer-grid { grid-template-columns: 7fr 5fr; gap: 3rem; } }
.settings { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.settings .field { margin: 0; }
.stop-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.stop-item { background: var(--surface); border-radius: var(--radius); padding: 1rem; margin-bottom: .75rem; border: 2px solid transparent; }
.stop-item.dragging { opacity: .6; }
.stop-item.drop-target { border-color: var(--primary); }
.stop-item .row { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.stop-item .row .wide { grid-column: 1 / -1; }
.stop-item .field { margin: 0; }
.stop-item .tools-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; align-items: center; }
.stop-item .handle { cursor: grab; font-weight: 600; color: var(--muted); }
.mini { min-height: 48px; padding: .25rem 1rem; font-size: 1rem; }
.pacer-svg { width: 100%; height: auto; display: block; }
.pacer-svg text { font-family: var(--font-b); fill: var(--text); }
.pacer-svg .ln { stroke: var(--primary); }
.pacer-svg .st { fill: var(--primary); stroke: var(--bg); stroke-width: 3; }
.pacer-svg .rs { fill: var(--accent); stroke: var(--text); }
.warnlist { padding-left: 1.25rem; }
.warnlist li { margin-bottom: .4rem; }
.day-pick { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; }
.day-pick .field { margin: 0; flex: 1 1 14rem; }

/* About, legal */
.split-intro { display: grid; gap: 2rem; align-items: start; padding: 2rem 0; }
@media (min-width: 64em) { .split-intro { grid-template-columns: 7fr 5fr; gap: 3rem; padding-top: 3rem; } .split-intro figure { max-width: none; } }
.pull { font-family: var(--font-h); font-size: 1.5rem; line-height: 1.35; border-left: 6px solid var(--primary); padding-left: 1rem; }
.legal h2 { margin-top: 2rem; }
.legal { padding-bottom: 3rem; }
.contact-grid { display: grid; gap: 2rem; padding-bottom: 3rem; }
@media (min-width: 64em) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 3rem; } }
.success { background: var(--rest-bg); border: 2px solid var(--primary); border-radius: var(--radius); padding: 1.25rem; }
.success h2, .success h3 { font-family: var(--font-h); }
.linklist { list-style: none; padding: 0; }
.linklist li a { display: inline-flex; align-items: center; min-height: 48px; }
.notfound { text-align: left; padding: 2rem 0 3rem; }
.notfound figure { margin: 0 0 1.5rem; max-width: 20rem; }
.notfound figure img { border-radius: var(--radius); }
@media (min-width: 48em) { .notfound figure { max-width: 32rem; } }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--divider); padding: 2.5rem 0 2rem; margin-top: 2rem; }
.footer-brand img { height: 36px; width: auto; mix-blend-mode: multiply; margin-bottom: .75rem; }
.footer-tag { font-family: var(--font-h); font-size: 1.3125rem; margin-bottom: .25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 48px; }
.copyright { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .card, .panel, .draft, .note, .flag, .choice { border: 2px solid CanvasText; }
  .marker::after { forced-color-adjust: none; }
}

/* Print: keep results and the draft notice */
@media print {
  :root { --bg: #fff; --text: #000; --primary: #000; --surface: #fff; --rest-bg: #fff; --accent: #fff; }
  body { font-size: 13pt; background: #fff; color: #000; }
  .site-header, .site-footer, .skip, .no-print, form, .tool-head figure, .pacer-intro figure, .btn-row, .note { display: none !important; }
  .draft { border: 2px solid #000; }
  .tool-grid, .pacer-grid { display: block; }
  .result-col { position: static; }
  a { color: #000; }
  body.print-sheet main > *:not(#day-pacer) { display: none !important; }
  body.print-sheet #pacer-editor { display: none !important; }
  body.print-sheet { font-size: 18pt; }
  body.print-result #day-pacer { display: none !important; }
}
