/* Healthverra — warm, practical, phone-first */

:root {
  color-scheme: light;
  --cream: #fbf6ee;
  --sand: #f4e7d1;
  --sand-deep: #ead6b4;
  --white: #ffffff;
  --ink: #2b2622;
  --muted: #5d5249;
  --terracotta: #9e4528;
  --terracotta-deep: #7d3519;
  --pine: #2e5a4e;
  --pine-wash: #e2ebe4;
  --ochre: #d9a441;
  --line: #e1d3bd;
  --line-strong: #b8a387;
  --control: #8a7558;
  --alert: #9b2c2c;
  --alert-wash: #fbeaea;
  --flag: #6b4e00;
  --flag-wash: #fff4cc;
  --focus: #1f3d35;

  --head: "Trebuchet MS", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --body: Verdana, "DejaVu Sans", "Bitstream Vera Sans", Geneva, sans-serif;
  --gutter: clamp(1rem, 4vw, 2.25rem);
  --measure: 36rem;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.97rem;
  line-height: 1.7;
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.55rem, 1.3rem + 1.1vw, 2.05rem); }
h3 { font-size: 1.25rem; }

p, ul, ol { margin: 0 0 1em; }

a { color: var(--pine); text-underline-offset: 0.2em; }
a:hover { color: var(--terracotta-deep); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: 70rem; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Local review markers */
.review-banner { background: var(--flag-wash); color: var(--flag); border-bottom: 1px solid #e3cf86; font-size: 0.82rem; padding: 0.45rem 0; }
.review-banner p { margin: 0; }
.pending {
  background: var(--flag-wash); color: var(--flag); border: 1px dashed #c9a93a;
  padding: 0.05em 0.35em; font-weight: 700; font-size: 0.9em;
}

/* Header */
.site-header { background: var(--white); border-bottom: 4px solid var(--ochre); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 1.5rem; padding-top: 0.85rem; padding-bottom: 0.85rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.35rem; }
.brand svg { width: 2rem; height: 2rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1.25rem; font-size: 0.9rem; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 0.3rem 0; display: inline-block; }
.site-nav a:hover { color: var(--terracotta); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--terracotta); text-decoration: underline; }
.site-nav .nav-talk {
  background: var(--terracotta); color: #fff; padding: 0.45rem 0.9rem; border-radius: var(--radius); font-weight: 700;
}
.site-nav .nav-talk:hover { background: var(--terracotta-deep); color: #fff; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; background: var(--terracotta); color: #fff; text-decoration: none;
  font-family: var(--head); font-weight: 700; font-size: 1.02rem;
  padding: 0.75rem 1.2rem; border-radius: var(--radius); border: 0; cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--terracotta-deep); color: #fff; }
.btn-quiet { background: transparent; color: var(--pine); padding-left: 0; padding-right: 0; text-decoration: underline; text-underline-offset: 0.2em; }
.btn-quiet:hover { background: transparent; color: var(--terracotta-deep); }

/* Opening */
.opening { background: var(--sand); padding: clamp(2.25rem, 5vw, 4rem) 0; }
.opening .wrap { display: grid; gap: 2.25rem; }
.kicker { font-family: var(--head); font-weight: 700; color: var(--terracotta); font-size: 0.95rem; margin-bottom: 0.75rem; }
.opening .lead { font-size: 1.08rem; max-width: var(--measure); }
.opening .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin: 1.5rem 0; }
.boundary { font-size: 0.88rem; color: var(--muted); max-width: var(--measure); margin: 0; }
.boundary strong { color: var(--ink); }

.day {
  background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 1px 0 var(--sand-deep), 0 10px 24px -18px rgba(60, 40, 20, 0.45);
  align-self: start;
}
.day h2 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.day .tag { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 3px; padding: 0 0.4rem; margin-bottom: 1rem; }
.day ol { list-style: none; padding: 0; margin: 0; position: relative; }
.day ol::before { content: ""; position: absolute; left: 3.35rem; top: 0.5rem; bottom: 0.5rem; border-left: 2px dotted var(--line-strong); }
.day li { display: grid; grid-template-columns: 3rem 1fr; gap: 0 1.1rem; padding: 0.55rem 0; position: relative; }
.day li::after { content: ""; position: absolute; left: 3.05rem; top: 1.05rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--ochre); border: 2px solid var(--white); }
.day time { font-family: var(--head); font-weight: 700; color: var(--terracotta); font-variant-numeric: tabular-nums; padding-top: 0.05rem; }
.day p { margin: 0; font-size: 0.9rem; padding-left: 0.4rem; }
.day p a { font-size: 0.82rem; display: inline-block; margin-top: 0.15rem; }

@media (min-width: 54rem) {
  .opening .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3.5rem; align-items: center; }
}

/* Sections */
.band { padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
.band-white { background: var(--white); }
.band-pine { background: var(--pine-wash); }
.section-lead { max-width: var(--measure); color: var(--muted); }

/* Services: three columns with coloured tabs */
.services { display: grid; gap: 1.5rem; margin-top: 2rem; list-style: none; padding: 0; }
.svc { background: var(--cream); border-radius: var(--radius); border-top: 6px solid var(--ochre); padding: 1.4rem 1.35rem 1.5rem; display: flex; flex-direction: column; }
.svc:nth-child(2) { border-top-color: var(--pine); }
.svc:nth-child(3) { border-top-color: var(--terracotta); }
.svc-no { font-family: var(--head); font-weight: 700; font-size: 0.85rem; color: var(--muted); margin: 0 0 0.25rem; }
.svc h3 { font-size: 1.3rem; }
.svc h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 1.1rem 0 0.35rem; }
.svc p { font-size: 0.92rem; }
.svc ul { padding-left: 1.1rem; font-size: 0.92rem; margin-bottom: 0.5rem; }
.svc li { margin-bottom: 0.3rem; }
.svc li::marker { color: var(--terracotta); }
.svc .built { font-size: 0.85rem; color: var(--muted); margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.svc .limit { font-size: 0.85rem; color: var(--muted); font-style: italic; }

@media (min-width: 60rem) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Reminder diagram */
.reminder-figure { margin: 2.5rem 0 0; background: var(--cream); border-radius: var(--radius); padding: 1.25rem 1.25rem 1rem; }
.reminder-figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }
.reminder-scroll { overflow-x: auto; }
.reminder-scroll svg { min-width: 34rem; }
.dg text { font-family: var(--head); font-size: 14px; fill: var(--ink); }
.dg .t-b { font-weight: 700; }
.dg .t-s { font-size: 12.5px; fill: var(--muted); font-family: var(--body); }
.dg .track { stroke: var(--line-strong); stroke-width: 3; stroke-linecap: round; }
.dg .stop { fill: var(--white); stroke: var(--pine); stroke-width: 3; }
.dg .stop-warn { fill: var(--white); stroke: var(--terracotta); stroke-width: 3; }
.dg .stop-end { fill: var(--terracotta); }

/* Before / after */
.compare-wrap { overflow-x: auto; margin-top: 1.75rem; border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; background: var(--white); min-width: 36rem; font-size: 0.92rem; }
.compare caption { text-align: left; font-size: 0.85rem; color: var(--muted); padding-bottom: 0.6rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--head); font-size: 0.95rem; background: var(--sand); }
.compare tbody th { font-family: var(--head); width: 22%; }
.compare td:last-child { background: #f7fbf8; }

/* How we work */
.work-grid { display: grid; gap: 2rem; margin-top: 1.5rem; }
.small-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.small-steps li { counter-increment: s; position: relative; padding: 0 0 1.25rem 3rem; }
.small-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--pine); color: #fff; font-family: var(--head); font-weight: 700;
  display: grid; place-items: center;
}
.small-steps h3 { font-size: 1.08rem; margin-bottom: 0.2rem; padding-top: 0.25rem; }
.small-steps p { margin: 0; font-size: 0.92rem; }
.licence-note { background: var(--white); border-left: 4px solid var(--ochre); padding: 1.1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.92rem; align-self: start; }
.licence-note h3 { font-size: 1.05rem; }
.licence-note p:last-child { margin-bottom: 0; }
@media (min-width: 54rem) { .work-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 3rem; } }

/* Worksheet promo */
.worksheet-promo { display: grid; gap: 1.75rem; align-items: center; margin-top: 1rem; }
.promo-sheet {
  background: var(--white); border: 1px solid var(--line); border-radius: 3px;
  padding: 1rem 1.1rem; transform: rotate(-1.2deg); max-width: 24rem;
  box-shadow: 0 12px 24px -18px rgba(60, 40, 20, 0.6);
  font-size: 0.78rem;
}
.promo-sheet p { font-family: var(--head); font-weight: 700; font-size: 0.95rem; margin: 0 0 0.6rem; }
.promo-sheet table { width: 100%; border-collapse: collapse; }
.promo-sheet th, .promo-sheet td { border: 1px solid var(--line-strong); padding: 0.3rem 0.4rem; text-align: left; height: 1.7rem; }
.promo-sheet th { background: var(--sand); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .promo-sheet { transform: none; } }
@media (min-width: 54rem) { .worksheet-promo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; } }

/* About */
.about-cols { display: grid; gap: 2rem; margin-top: 1rem; }
.about-cols p { max-width: var(--measure); }
.dont { list-style: none; padding: 0; margin: 0; }
.dont li { padding: 0.55rem 0 0.55rem 1.9rem; position: relative; border-bottom: 1px dashed var(--line-strong); font-size: 0.92rem; }
.dont li::before { content: "✕"; position: absolute; left: 0.2rem; top: 0.55rem; color: var(--terracotta); font-weight: 700; }
@media (min-width: 54rem) { .about-cols { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; } }

/* Contact */
.contact-layout { display: grid; gap: 2rem; margin-top: 1.5rem; }
@media (min-width: 58rem) { .contact-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 3rem; align-items: start; } }

.side-stack > * + * { margin-top: 1.25rem; }
.client-notice { background: var(--alert-wash); border-left: 5px solid var(--alert); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.2rem; }
.client-notice h3 { color: var(--alert); font-size: 1.05rem; margin-bottom: 0.35rem; }
.client-notice p { margin: 0; font-size: 0.92rem; }
.direct { background: var(--white); border-radius: var(--radius); padding: 1rem 1.2rem; border: 1px solid var(--line); }
.direct h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.direct p { margin: 0; font-size: 0.92rem; }
.mention { font-size: 0.92rem; }
.mention h3 { font-size: 1.05rem; }
.mention ul { padding-left: 1.1rem; margin: 0; }

/* Form */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.preview-flag { background: var(--flag-wash); color: var(--flag); border: 1px dashed #c9a93a; border-radius: var(--radius); padding: 0.6rem 0.9rem; font-size: 0.86rem; font-weight: 700; margin: 0 0 1rem; }
.enquiry-form { background: var(--white); border-radius: var(--radius); padding: 1.5rem clamp(1rem, 3vw, 1.9rem) 1.75rem; box-shadow: 0 0 0 1px var(--line); }
.enquiry-form h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.form-required-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; }
.field-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--head); font-weight: 700; margin-bottom: 0.35rem; }
.field .req { color: var(--alert); }
.field .optional { font-family: var(--body); font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field-hint { font-size: 0.85rem; color: var(--muted); margin: -0.1rem 0 0.45rem; }
.field input, .field select, .field textarea {
  display: block; width: 100%; font: inherit; color: var(--ink); background: #fffdf9;
  border: 2px solid var(--control); border-radius: var(--radius);
  padding: 0.65rem 0.8rem; min-height: 3rem;
  transition: border-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--pine); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--pine); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer; }
.select-wrap::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 0.5rem; height: 0.5rem; border-right: 2px solid var(--terracotta); border-bottom: 2px solid var(--terracotta); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field [aria-invalid="true"] { border-color: var(--alert); background: #fffafa; }
.field-error { color: var(--alert); font-size: 0.88rem; font-weight: 700; margin: 0.4rem 0 0; }
.field-error::before { content: "Error: "; }
.field-count { font-size: 0.8rem; color: var(--muted); text-align: right; margin: 0.3rem 0 0; }
.field-count.is-near { color: var(--alert); font-weight: 700; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error-summary { border: 2px solid var(--alert); border-radius: var(--radius); background: var(--alert-wash); padding: 0.9rem 1.1rem; margin-bottom: 1.4rem; }
.error-summary h4 { color: var(--alert); font-size: 1rem; margin: 0 0 0.35rem; }
.error-summary ul { margin: 0; padding-left: 1.2rem; font-size: 0.92rem; }
.error-summary a { color: var(--alert); font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.25rem; }
.form-actions .btn { min-height: 3rem; }
.form-actions .btn:disabled { background: var(--line-strong); color: var(--ink); cursor: not-allowed; }
.form-privacy { font-size: 0.84rem; color: var(--muted); margin: 0; }
.form-status:empty { display: none; }
.form-status { margin-top: 1.25rem; padding: 0.8rem 1rem; font-size: 0.92rem; border-radius: var(--radius); border-left: 5px solid var(--line-strong); background: var(--cream); }
.form-status:focus { outline: none; }
.form-status:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-status.is-preview { border-left-color: #c9a93a; background: var(--flag-wash); color: var(--flag); }
.form-status.is-success { border-left-color: var(--pine); background: var(--pine-wash); color: #1f3d35; }
.form-status.is-error { border-left-color: var(--alert); background: var(--alert-wash); color: var(--alert); }
.form-noscript { background: var(--white); border-left: 4px solid var(--line-strong); padding: 0.8rem 1rem; margin-top: 1rem; }

/* Footer */
.site-footer { background: var(--ink); color: #eadfce; padding: 2.25rem 0 1.75rem; font-size: 0.85rem; }
.site-footer a { color: #fbe3b5; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; gap: 1rem; }
.footer-top p { margin: 0; max-width: 44rem; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1.5rem; margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid #4a423b; }
.footer-legal p { margin: 0; }
.footer-legal a[aria-current="page"] { color: #fff; }
@media (min-width: 54rem) { .footer-top { grid-template-columns: 1fr auto; } }
@media (max-width: 30rem) { .footer-legal { flex-direction: column; gap: 0.4rem; } }

/* Document pages */
.doc { padding: clamp(2rem, 5vw, 3.25rem) 0 3.5rem; }
.doc-head { max-width: 44rem; margin-bottom: 1.75rem; }
.doc-meta { font-size: 0.88rem; color: var(--muted); }
.doc-body { max-width: var(--measure); }
.doc-body h2 { font-size: 1.35rem; margin-top: 2.1rem; }
.doc-body ul { padding-left: 1.2rem; }
.summary { background: var(--white); border-radius: var(--radius); border-left: 5px solid var(--ochre); padding: 1rem 1.2rem; margin-bottom: 1.5rem; }
.summary p:last-child { margin-bottom: 0; }

/* Worksheet */
.ws { max-width: 64rem; }
.ws .step { margin-top: 2.5rem; }
.ws .step-head { display: flex; align-items: baseline; gap: 0.85rem; flex-wrap: wrap; }
.ws .step-no { font-family: var(--head); font-weight: 700; background: var(--terracotta); color: #fff; border-radius: var(--radius); padding: 0.1rem 0.6rem; font-size: 0.9rem; }
.ws .step-head h2 { margin: 0; font-size: 1.45rem; }
.ws .step-intro { max-width: 44rem; color: var(--muted); margin-top: 0.6rem; }
.ws-fields { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: 0.25rem 2rem; }
.ws-fields li { display: flex; gap: 0.75rem; align-items: flex-end; padding-top: 0.75rem; }
.ws-fields span { font-family: var(--head); font-weight: 700; white-space: nowrap; }
.ws-fields li::after { content: ""; flex: 1; border-bottom: 1px solid var(--ink); min-width: 4rem; }
@media (min-width: 40rem) { .ws-fields { grid-template-columns: repeat(3, 1fr); } }
.ws-warn { background: var(--alert-wash); border-left: 5px solid var(--alert); padding: 0.75rem 1rem; font-size: 0.9rem; max-width: 44rem; border-radius: 0 var(--radius) var(--radius) 0; }
.scroll { overflow-x: auto; margin: 1rem 0; }
.ws table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.85rem; }
.ws th, .ws td { border: 1px solid var(--line-strong); padding: 0.5rem 0.55rem; text-align: left; vertical-align: top; }
.ws thead th { background: var(--sand); font-family: var(--head); }
.ws .ex td { font-style: italic; color: var(--muted); }
.ws .blank td { height: 2.4rem; }
.ws .t-inventory { min-width: 50rem; }
.ws .t-score { min-width: 40rem; }
.ws .t-score td.n { width: 6.5rem; text-align: center; }
.score-key { display: grid; gap: 0.75rem; margin: 1rem 0; padding: 0; list-style: none; }
.score-key li { background: var(--white); border-radius: var(--radius); padding: 0.75rem 0.9rem; border: 1px solid var(--line); font-size: 0.88rem; }
.score-key strong { display: block; font-family: var(--head); }
@media (min-width: 48rem) { .score-key { grid-template-columns: repeat(4, 1fr); } }
.ws-advice { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
.ws-advice section { background: var(--white); border-radius: var(--radius); padding: 1rem 1.2rem; border-top: 4px solid var(--pine); }
.ws-advice section.later { border-top-color: var(--terracotta); }
.ws-advice h3 { font-size: 1.05rem; }
.ws-advice ul { padding-left: 1.1rem; margin: 0; font-size: 0.9rem; }
@media (min-width: 48rem) { .ws-advice { grid-template-columns: 1fr 1fr; } }
.first-form { list-style: none; padding: 0; margin: 1rem 0; }
.first-form li { display: grid; gap: 0.25rem; padding: 0.9rem 0 0.4rem; border-bottom: 1px solid var(--ink); }
.first-form span { font-family: var(--head); font-weight: 700; }
.first-form small { color: var(--muted); }
.first-form li::after { content: ""; display: block; height: 1.6rem; }
.ws-foot { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.print-hint { font-size: 0.9rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  @page { size: A4 landscape; margin: 12mm; }
  body { background: #fff; color: #000; font-size: 9.5pt; line-height: 1.4; }
  .skip-link, .review-banner, .site-nav, .print-hint, .no-print, .site-footer { display: none !important; }
  .site-header { border-bottom: 2px solid #000; }
  .site-header .wrap, .wrap { padding: 0; max-width: none; }
  .brand { font-size: 13pt; }
  a { color: #000; text-decoration: none; }
  .doc { padding: 4mm 0 0; }
  h1 { font-size: 18pt; }
  .ws .step { margin-top: 6mm; break-inside: auto; }
  .ws .step-no { background: none; color: #000; border: 1px solid #000; }
  .ws .step-head h2 { font-size: 13pt; }
  .scroll { overflow: visible; }
  .ws table { min-width: 0 !important; font-size: 8.5pt; }
  .ws th, .ws td { border-color: #555; padding: 1.4mm 1.8mm; }
  .ws thead { display: table-header-group; }
  .ws tr { break-inside: avoid; }
  .ws .blank td { height: 8mm; }
  .ws-fields { grid-template-columns: repeat(3, 1fr); }
  .score-key { grid-template-columns: repeat(4, 1fr); }
  .score-key li, .ws-advice section { border: 1px solid #777; }
  .ws-advice { grid-template-columns: 1fr 1fr; break-inside: avoid; }
  .ws-warn { border-left-color: #000; background: none; }
  .step-break { break-before: page; }
  .pending { border: 1px dashed #000; background: none; color: #000; }
}
