/* HostCompliance.uk, redesign "Your let's list" (mix of directions A and B, 22 Nov 2026).
   Source Serif 4 for headings, Source Sans 3 for text. Calm teal on white. Status keeps a shape and a word;
   colour marks the status on a line or edge, never as a full panel fill. */
@font-face { font-family: "Source Sans 3"; src: url("/assets/source-sans-3-latin-var.19143dca07.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/source-serif-4-latin-var.f2ea9c12d2.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  --ink: #17232b;
  --ink-soft: #4a5964;
  --paper: #ffffff;
  --tint: #f3f6f7;
  --rule: #d5dde1;
  --link: #0d5c63;
  --teal: #0d5c63;
  --teal-wash: #e3f0f1;
  --focus: #f2b705;
  --deadline: #8a4b12;
  --overdue: #7a2410;
  --licence: #2f5d80;
  --pending: #8a6200;
  --clear: #2d6a3e;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --r: 6px;
  --wrap: 1180px;
  --serif: "Source Serif 4", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--s5); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  font-stretch: 100%;
}
body.has-consent { padding-bottom: 9.5rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 var(--s4); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin-top: var(--s7); }
p, ul, ol { margin: 0 0 var(--s4); }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: var(--s2); }
code { font-family: inherit; background: var(--tint); padding: 0 4px; border-radius: var(--r); }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
a[target="_blank"] { position: relative; }
a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 0.62em; height: 0.62em;
  margin-left: 0.22em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 1h8v8H9V4.4L2.4 11 1 9.6 7.6 3H3z'/%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 12 12'%3E%3Cpath d='M3 1h8v8H9V4.4L2.4 11 1 9.6 7.6 3H3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s4); }
.dim { color: var(--ink-soft); font-size: 0.95rem; }
.lead { font-size: 1.2rem; max-width: 62ch; }
.skip { position: absolute; left: var(--s2); top: -4rem; background: var(--ink); color: #fff; padding: var(--s2) var(--s4); z-index: 20; }
.skip:focus { top: var(--s2); }

/* header */
.top { border-bottom: 3px solid var(--ink); }
.top__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s1) var(--s5); padding-top: var(--s3); padding-bottom: var(--s3); }
.brand { font-weight: 700; font-stretch: 85%; font-size: 1.3rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; padding: var(--s1) 0; }
.brand span { color: var(--deadline); }
.nav { display: flex; flex-wrap: wrap; gap: 0 var(--s5); list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { display: inline-block; padding: var(--s2) 0; color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 500; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--deadline); font-weight: 700; }

/* buttons */
.btn {
  display: inline-block; font: inherit; font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  padding: 0.8em 1.15em; min-height: 48px;
  background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: var(--r);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--small { font-size: 1rem; padding: 0.6em 0.95em; min-height: 44px; }
.btn--quiet { background: #fff; color: var(--ink); font-weight: 500; font-size: 1rem; padding: 0.55em 0.9em; min-height: 44px; border-color: var(--rule); }
.btn--quiet:hover { border-color: var(--ink); }
.btn--onpanel { background: #fff; color: var(--ink); border-color: #fff; }
.btn--onpanel:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ghostpanel { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghostpanel:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.linkish { font: inherit; color: var(--link); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* status: shape + word, never colour alone */
.status { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 700; font-size: 1rem; line-height: 1.2; }
.status__shape { flex: none; }
.status__word { min-width: 0; }
.status--deadline .status__shape { color: var(--deadline); }
.status--overdue .status__shape { color: var(--overdue); }
.status--licence .status__shape { color: var(--licence); }
.status--pending .status__shape { color: #8a5a00; }
.status--clear .status__shape { color: var(--clear); }
.status--confirm .status__shape, .status--unchecked .status__shape { color: var(--ink-soft); }

/* checker */
.checker { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); padding: var(--s6) 0 var(--s7); }
.checker__ask h1 { max-width: 16ch; }
.choices { border: 0; padding: 0; margin: 0 0 var(--s5); min-width: 0; }
.choices legend { font-weight: 700; font-stretch: 85%; font-size: 1.2rem; padding: 0; margin-bottom: var(--s2); }
.choice { position: relative; margin-bottom: var(--s2); }
.choice input { position: absolute; left: 14px; top: 50%; width: 22px; height: 22px; margin: -11px 0 0; accent-color: var(--ink); }
.choice label { overflow-wrap: anywhere; display: flex; align-items: center; height: 100%; padding: 12px 14px 12px 48px; border: 2px solid var(--rule); border-radius: var(--r); cursor: pointer; line-height: 1.3; min-height: 48px; }
.choice label:hover { border-color: var(--ink); }
.choice input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 700; background: var(--tint); }
.choice input:focus-visible { outline: none; box-shadow: none; }
.choice input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }
.choices--grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.choices--grid legend { grid-column: 1 / -1; }
.choices--grid .choice { margin: 0; }
.choices--grid .choice label { padding-right: 8px; }
.checker__tools { margin: var(--s3) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.checker__said { font-size: 0.95rem; color: var(--ink-soft); }
.note { background: var(--tint); padding: var(--s4); border-left: 0; border-radius: var(--r); }

/* result panel */
.result { background: var(--tint); color: var(--ink); padding: var(--s5); border-radius: var(--r); border: 3px solid var(--ink); }
.result > :last-child { margin-bottom: 0; }
.result__for { font-size: 0.98rem; margin-bottom: var(--s3); opacity: 0.92; }
.result__big { font-stretch: 75%; font-weight: 700; font-size: clamp(2.5rem, 1.3rem + 5.6vw, 5.2rem); line-height: 0.98; letter-spacing: -0.02em; margin: var(--s3) 0 var(--s3); text-wrap: balance; }
.result__count { font-size: 1.25rem; margin-bottom: var(--s3); }
.result__count strong { font-size: 1.6em; font-stretch: 75%; }
.result__asof { font-size: 0.95rem; opacity: 0.92; }
.result__sentence { font-size: 1.25rem; font-weight: 500; line-height: 1.4; max-width: 46ch; }
.result__notes { font-size: 1rem; padding-left: 1.1em; max-width: 60ch; }
.result__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.result__meta { font-size: 0.92rem; margin-top: var(--s4); }
.result .status { font-size: 1.05rem; }
.result--deadline, .result--overdue, .result--licence, .result--clear { color: #fff; border-color: transparent; }
.result--deadline { background: var(--deadline); }
.result--overdue { background: var(--overdue); }
.result--licence { background: var(--licence); }
.result--clear { background: var(--clear); }
.result--pending { background: var(--pending); border-color: transparent; }
.result--deadline a:not(.btn), .result--overdue a:not(.btn), .result--licence a:not(.btn), .result--clear a:not(.btn) { color: #fff; }
.result--pending a:not(.btn), .result--confirm a:not(.btn), .result--unchecked a:not(.btn) { color: var(--ink); }
.result .status__shape { color: currentColor; }
.result--deadline, .result--overdue { --shape-cut: var(--overdue); }
.result :focus-visible { outline-color: var(--focus); box-shadow: 0 0 0 5px var(--ink); }

/* countdown calendar: one row per month, one cell per day */
.cal { margin: var(--s4) 0; max-width: 34rem; }
.cal__row { display: grid; grid-template-columns: 5.2em 1fr; align-items: center; gap: var(--s2); margin-bottom: 3px; }
.cal__m { font-size: 0.85rem; font-weight: 500; white-space: nowrap; }
.cal__days { display: grid; grid-template-columns: repeat(31, 1fr); gap: 2px; }
.cal__d { display: block; aspect-ratio: 1; font-style: normal; background: rgba(255, 255, 255, 0.5); min-width: 0; }
.cal__d--left { background: rgba(255, 255, 255, 0.5); }
.cal__d--past { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.cal__d--today { background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.cal__d--deadline { background: var(--ink); color: #fff; font-size: 0; position: relative; box-shadow: 0 0 0 2px #fff; }
.cal__key { font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); align-items: center; margin: var(--s2) 0 0; }
.cal__key .cal__d { width: 12px; height: 12px; display: inline-block; margin-left: var(--s3); }
.cal__key .cal__d:first-child { margin-left: 0; }

/* bands, tables */
.band { background: var(--tint); padding: var(--s7) 0; }
.band h2 { margin-top: 0; }
.section { padding-top: var(--s7); }
.section h2 { margin-top: 0; }
.tablewrap { position: relative; overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; margin-bottom: var(--s3); }
.facts { border-collapse: collapse; width: 100%; min-width: 46rem; font-size: 1rem; }
.facts--tight { min-width: 0; }
.facts.facts--tight thead th { white-space: normal; }
.facts.facts--tight tbody th { min-width: 7.5em; }
.facts caption { caption-side: top; text-align: left; white-space: normal; font-weight: 700; padding: var(--s3) var(--s4); }
.facts .cellnote { display: block; margin-top: 0.2em; font-size: 0.92rem; font-weight: 400; color: var(--ink-soft); }
.facts th, .facts td { text-align: left; vertical-align: top; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--rule); }
.facts thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 0.95rem; border-bottom: 0; white-space: nowrap; }
.facts tbody tr:last-child th, .facts tbody tr:last-child td { border-bottom: 0; }
.facts tbody th { font-weight: 700; min-width: 9em; }
.facts .total th, .facts .total td { border-top: 3px double var(--ink); font-weight: 700; }
.facts .status { white-space: nowrap; }
.scrollcue { font-size: 0.92rem; color: var(--ink-soft); }
@media (min-width: 800px) { .scrollcue { display: none; } }
.facts--tight + .scrollcue { display: none; }

/* signup */
.signup { border: 3px solid var(--ink); border-radius: var(--r); padding: var(--s5); background: #fff; }
.signup h2 { margin-top: 0; }
.signup--closed { border-style: dashed; background: var(--tint); }
.signup--closed > :last-child { margin-bottom: 0; }
.signup__row { display: grid; gap: var(--s4); margin-bottom: var(--s4); }
.field label { display: block; font-weight: 700; margin-bottom: var(--s1); font-size: 1rem; }
.field__hint { font-weight: 400; color: var(--ink-soft); }
.field input, .field select { width: 100%; font: inherit; font-size: 1.05rem; padding: 0.65em 0.7em; min-height: 48px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; color: var(--ink); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--deadline); box-shadow: inset 4px 0 0 var(--deadline); }
.signup__small { font-size: 0.92rem; color: var(--ink-soft); margin: var(--s3) 0 0; }

/* guide pages */
.guidehead { display: grid; gap: var(--s5); padding: var(--s6) 0 var(--s5); }
.glance { border: 3px solid var(--ink); border-radius: var(--r); padding: var(--s4) var(--s5); }
.glance h2 { font-size: 1.25rem; margin: 0 0 var(--s3); }
.glance ol { margin-bottom: var(--s3); }
.glance > :last-child { margin-bottom: 0; }
.statuscard { background: var(--tint); border-radius: var(--r); padding: var(--s5); }
.statuscard h2 { font-size: 1.25rem; margin: 0 0 var(--s3); }
.statuscard ul { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.statuscard li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: var(--s3) 0; border-bottom: 1px solid var(--rule); margin: 0; }
.statuscard li a { font-weight: 700; font-size: 1.15rem; }
.statuscard li > span:last-child { font-size: 1rem; }
.statuscard > :last-child { margin-bottom: 0; }
.prose { max-width: calc(46rem + 2 * var(--s4)); margin-left: auto; margin-right: auto; }
.wrap.prose { max-width: var(--wrap); }
.prose > * { max-width: 46rem; }
.prose > .tablewrap, .prose > .cols { max-width: 54rem; }
.prose--page { padding-top: var(--s6); }
.steps { counter-reset: none; }
.steps li { padding-left: var(--s1); margin-bottom: var(--s3); }
.cols { display: grid; gap: 0 var(--s6); }
.plain { max-width: 46rem; }
.doors { list-style: none; padding: 0; display: grid; gap: var(--s4); }
.doors li { border-top: 3px solid var(--ink); padding-top: var(--s3); margin: 0; }
.doors a { display: block; font-weight: 700; font-stretch: 85%; font-size: 1.3rem; line-height: 1.2; margin-bottom: var(--s2); }
.doors span { display: block; color: var(--ink-soft); font-size: 1rem; }
.sources { border-top: 3px solid var(--ink); margin-top: var(--s7); padding-top: var(--s4); max-width: 54rem; }
.sources h2 { margin-top: 0; font-size: 1.3rem; }
.sources li { font-size: 1rem; }
.back { margin-top: var(--s5); }

/* footer */
.foot { border-top: 3px solid var(--ink); margin-top: var(--s8); padding: var(--s6) 0 var(--s7); font-size: 1rem; }
.foot__in { display: block; }
.foot__about { max-width: 60ch; }
.foot__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.foot__links li { margin: 0; }
.foot__links a, .foot__links button { display: inline-block; padding: var(--s2) 0; }
.foot__small { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* consent bar: fixed, compact, two equal buttons */
.consent { position: fixed; left: 0; right: 0; bottom: 0; background: var(--ink); color: #fff; z-index: 10; border-top: 3px solid var(--focus); }
.consent[hidden] { display: none; }
.consent__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s5); padding-top: var(--s3); padding-bottom: var(--s3); }
.consent p { margin: 0; font-size: 0.98rem; max-width: 60ch; }
.consent__btns { display: flex; gap: var(--s2); }
.consent .btn { background: #fff; color: var(--ink); border-color: #fff; white-space: nowrap; }
.consent .btn:hover { background: var(--focus); border-color: var(--focus); }

@media (min-width: 620px) {
  .signup__row { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); align-items: end; }
  .cols { grid-template-columns: 1fr 1fr; }
  .cols-2 { columns: 2; column-gap: var(--s6); }
  .cols-2 li { break-inside: avoid; }
  .doors { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
  .choices--grid { grid-template-columns: repeat(auto-fit, minmax(9.5em, 1fr)); }
  .statuscard li { grid-template-columns: 9.5em 1fr; align-items: baseline; }
  .statuscard li > span:last-child { grid-column: 2; }
  body.has-consent { padding-bottom: 6rem; }
}
@media (min-width: 960px) {
  .wrap { padding-inline: var(--s5); }
  .checker { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5) var(--s7); align-items: start; grid-template-rows: auto 1fr; padding-top: var(--s7); }
  .checker__ask { grid-column: 1; grid-row: 1; }
  .checker__refine { grid-column: 1; grid-row: 2; }
  .checker__answer { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: var(--s4); }
  .choices--grid { grid-template-columns: 1fr 1fr; }
  .result { padding: var(--s6); }
  .guidehead { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s7); align-items: start; padding-top: var(--s7); }
  .guidehead--form { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .guidehead--split { row-gap: var(--s5); grid-template-rows: auto 1fr; }
  .guidehead--split .guidehead__text { grid-column: 1; grid-row: 1; }
  .guidehead--split .guidehead__extra { grid-column: 1; grid-row: 2; }
  .guidehead--split .guidehead__panel { grid-column: 2; grid-row: 1 / span 2; }
  .guidehead .result__big { font-size: clamp(2.4rem, 1rem + 3.6vw, 4.2rem); }
  .guidehead--form .signup__row { grid-template-columns: 1fr; }
}
@media (max-width: 619px) {
  h1 { font-size: 1.7rem; }
  .checker__ask h1 { max-width: none; }
  .top__in { padding-top: var(--s2); padding-bottom: 0; }
  .nav { gap: 0 11px; }
  .nav a { font-size: 0.94rem; }
  .lead { font-size: 1.05rem; margin-bottom: var(--s3); }
  .checker { padding-top: var(--s4); gap: var(--s4); }
  .choices { margin-bottom: 0; }
  .checker__refine .choices { margin-bottom: var(--s5); }
  .choices--grid .choice label { font-size: 1rem; padding: 8px 6px 8px 42px; min-height: 44px; }
  .choices--grid .choice input { left: 11px; }
  .result__for { font-size: 0.9rem; margin-bottom: var(--s2); }
  .result__big { margin: var(--s2) 0; }
  .consent__in { padding-top: var(--s2); padding-bottom: var(--s2); gap: var(--s2); }
  .consent p { font-size: 0.9rem; line-height: 1.35; }
  .consent .btn { min-height: 44px; padding: 0.45em 0.9em; }
  .consent__more { display: none; }
  body.has-consent { padding-bottom: 8rem; }
}
@media (max-width: 400px) {
  .cal__row { grid-template-columns: 4.4em 1fr; }
  .cal__days { gap: 1px; }
  .result { padding: var(--s4); }
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .choice label, .nav a { transition: background-color 0.12s, color 0.12s, border-color 0.12s; }
  .result.is-fresh .result__big { animation: settle 0.18s ease-out; }
  @keyframes settle { from { opacity: 0.4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
@media print {
  .top nav, .consent, .signup, .checker__tools, .foot__links { display: none; }
  .result { border: 2px solid #000; color: #000; background: #fff; }
}

/* Read next: curated related pages at the foot of each page */
.related { margin-top: var(--s7); padding-top: var(--s4); border-top: 3px solid var(--ink); max-width: 54rem; }
.related h2 { margin-top: 0; font-size: 1.3rem; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.related li { display: grid; gap: 0.15rem; }
.related a { font-weight: 600; }
.related span { color: var(--ink-soft); font-size: 0.95rem; }
.hublist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.hublist li { display: grid; gap: 0.15rem; border-left: 3px solid var(--rule); padding-left: var(--s3); }
.hublist a { font-weight: 600; }
.hublist span { color: var(--ink-soft); font-size: 0.95rem; }


/* ---- redesign layer: list sheet, map, calmer surfaces ---- */
.top { border-bottom: 1px solid var(--rule); }
.brand { font-family: var(--serif); font-stretch: normal; }
.brand span { color: var(--teal); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--teal); }
.choices legend { font-stretch: normal; font-family: inherit; font-size: 1.1rem; }
.choice label { border: 1px solid var(--rule); border-radius: var(--r); }
.choice input { accent-color: var(--teal); }
.choice input:checked + label { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); background: var(--teal-wash); font-weight: 600; }
.choice label:hover { border-color: var(--teal); }
.choice--check input { border-radius: 4px; }
.picker { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s4); align-items: center; }
.picker .choices { margin: 0; }
.ukmap { width: 100%; height: auto; display: block; }
.ukmap__n { fill: #dfe6e3; stroke: #fff; stroke-width: 1.4; cursor: pointer; transition: fill .25s; }
.ukmap__n:hover { fill: #c7d4d0; }
.ukmap__n.is-on { fill: var(--teal); }
.sheet { background: var(--tint); border: 1px solid var(--rule); border-radius: 10px; padding: var(--s5); }
.sheet__head { border-bottom: 2px solid var(--ink); padding-bottom: var(--s3); margin-bottom: var(--s2); }
.sheet__head h2 { margin: 0 0 var(--s1); font-size: 1.5rem; }
.sheet__head p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.sheet__list { list-style: none; margin: 0; padding: 0; }
.duty { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--rule); margin: 0; }
.duty__n { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--teal); color: var(--teal); display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.duty__title { font-family: inherit; font-size: 1.15rem; margin: 0 0 2px; line-height: 1.3; }
.duty__text { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.duty__src { margin: var(--s2) 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.duty__when { margin: 0; font-weight: 700; text-align: right; min-width: 8.5em; font-size: 1rem; }
.duty--in { animation: dutyIn .35s ease both; }
@keyframes dutyIn { from { transform: translateY(6px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .duty--in { animation: none; } .ukmap__n { transition: none; } }
.duty--main { grid-template-columns: 30px minmax(0, 1fr); }
.duty--main .duty__n { border-color: var(--deadline); color: var(--deadline); }
.sheet__empty { margin: var(--s4) 0 0; color: var(--ink-soft); }
/* the checker result now sits as line 1 of the list: no full-colour panel */
.result, .result--deadline, .result--overdue, .result--licence, .result--clear, .result--pending { background: transparent; color: var(--ink); border: 0; padding: 0; border-radius: 0; }
.result a:not(.btn) { color: var(--link) !important; }
.result .status__shape { color: inherit; }
.result--deadline .status, .result--deadline .result__big { color: var(--deadline); }
.result--overdue .status, .result--overdue .result__big { color: var(--overdue); }
.result--licence .status, .result--licence .result__big { color: var(--licence); }
.result--pending .status, .result--pending .result__big { color: var(--pending); }
.result--clear .status, .result--clear .result__big { color: var(--clear); }
.result__big { font-family: var(--serif); font-stretch: normal; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); margin: var(--s2) 0; }
.result__count strong { font-stretch: normal; font-family: var(--serif); }
.result__sentence { font-size: 1.1rem; font-weight: 600; }
.result__for { color: var(--ink-soft); }
.cal__d, .cal__d--left { background: #cfdcdf; }
.cal__d--past { background: transparent; box-shadow: inset 0 0 0 1px #cfdcdf; }
.cal__d--today { background: var(--teal); box-shadow: 0 0 0 2px #fff; }
.cal__d--deadline { background: var(--deadline); box-shadow: 0 0 0 2px #fff; }
.tablewrap { border: 1px solid var(--rule); border-radius: var(--r); }
.facts thead th { background: var(--teal); }
.signup { border: 1px solid var(--rule); border-radius: 10px; }
.glance { border-radius: 10px; }
@media (max-width: 760px) {
  .picker { grid-template-columns: 4.5rem 1fr; gap: var(--s3); }
  .sheet { padding: var(--s4); }
  .duty { grid-template-columns: 26px minmax(0, 1fr); }
  .duty__when { grid-column: 2; text-align: left; min-width: 0; }
  .result__notes { display: none; }
}
.btn { border-radius: var(--r); }
.btn--onpanel { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--onpanel:hover { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn--ghostpanel { color: var(--teal); border-color: var(--teal); }
.picker { grid-template-columns: 10rem 1fr; }
.duty--main .cal { display: none; }
.duty--main .result__notes { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: var(--s2); }
.duty--main .result__notes li { margin-bottom: 2px; }
.duty--main .result__for { font-size: 0.92rem; margin-bottom: var(--s1); }
.duty--main .result__count { margin-bottom: var(--s2); font-size: 1.05rem; }
.duty--main .result__sentence { font-size: 1.02rem; margin-bottom: var(--s2); }
.duty--main .result__meta { font-size: 0.85rem; }
@media (max-width: 760px) { .picker { grid-template-columns: 5rem 1fr; } }
.result__conds { margin: 0 0 var(--s3); }
.result__conds summary { cursor: pointer; color: var(--link); font-weight: 600; font-size: 0.98rem; }
.result__conds[open] summary { margin-bottom: var(--s2); }
@media (max-width: 760px) { .result__notes { display: block; } }
.duty__body { min-width: 0; }
.sheet__list--more { margin-top: 0; }
.extras { margin-top: var(--s2); }
