/* CLT Kids Guide
   Palette: lake ink, pool white, sunflower, pine.
   Type: Young Serif for headings, Figtree for everything else. */

@font-face { font-family: "Young Serif"; src: url("/fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #15333b;
  --ink-2: #3d5a61;
  --muted: #5a7379;
  --pool: #eef4f3;
  --paper: #ffffff;
  --line: #cfdedb;
  --line-2: #e1ebe9;
  --sun: #ffc83d;
  --sun-soft: #fff1c7;
  --pine: #22684b;
  --pine-soft: #e1f0e8;
  --rose: #b4233c;
  --focus: #ffb400;

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: 2rem;
  --step-4: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);

  --r-sm: 6px;
  --r: 10px;
  --wrap: 1140px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pool);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.sub { color: var(--muted); font-family: var(--sans); font-size: .9em; }
.n { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .85em; }
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 38em; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vertical-align: -0.12em; flex: none; }

/* ---------- header ---------- */
.site-head { background: var(--ink); color: #fff; }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; }
.pennant { width: 34px; height: 24px; flex: none; }
.pennant path { stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.pennant .flag { fill: var(--sun); stroke: none; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-weight: 500; font-size: .95rem; }
.nav a { color: #dbe7e5; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--sun); }
.saved-count { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; padding: 0 .35em; border-radius: 99px; background: var(--sun); color: var(--ink); font-size: .78rem; font-weight: 700; margin-left: 2px; }
@media (max-width: 560px) {
  .head-inner { padding-top: 10px; padding-bottom: 4px; }
  .nav { width: 100%; justify-content: space-between; gap: 4px 10px; font-size: .92rem; }
}

/* ---------- buttons and fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1rem/1.2 var(--sans); padding: .8em 1.2em; border-radius: var(--r-sm); border: 2px solid transparent; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #0d262c; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffbb10; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field-label { font-size: var(--step--1); font-weight: 600; color: var(--ink-2); }
input::placeholder { color: #9aaeb2; }
select, input[type="search"], input[type="text"], input:not([type]), input[inputmode] {
  font: 500 1rem/1.2 var(--sans); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .7em .75em; width: 100%; min-height: 46px;
}
select { appearance: none; padding-right: 2.2em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2315333b' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8em center; background-size: 12px; }
select:hover, input:hover { border-color: var(--ink-2); }
.checks { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks legend { margin-bottom: 6px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }

/* ---------- home hero ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 40px 0 0; }
.hero-grid { display: grid; gap: 24px 48px; align-items: end; }
.hero h1 { max-width: 12em; margin-bottom: .35em; }
.hero .lede { margin-bottom: 0; }
.search { display: grid; gap: 12px; background: var(--pool); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.search .btn { min-height: 48px; }
@media (min-width: 640px) { .search { grid-template-columns: 1fr 1fr; } .search .btn { grid-column: span 2; } }
@media (min-width: 980px) {
  .hero { padding-top: 64px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
}

/* summer strip: the one loud thing on the page. Empty weeks are open; JS fills the weeks a parent has planned. */
.summer { margin-top: 36px; padding: 22px 0 32px; border-top: 1px dashed var(--line); display: grid; gap: 14px; grid-template-columns: 1fr auto; align-items: end; }
.summer-head { grid-column: 1; }
.summer-head h2 { font-size: var(--step-2); margin-bottom: .25em; }
.summer-head p { color: var(--ink-2); max-width: 40em; margin: 0; }
.summer-count { grid-column: 2; margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.weeks { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
@media (min-width: 720px) { .weeks { grid-template-columns: repeat(10, 1fr); gap: 8px; } }
.weeks li {
  position: relative; min-height: 104px; border-radius: var(--r-sm); border: 2px solid var(--ink);
  display: flex; flex-direction: column; padding: 8px 9px; overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--paper) 0 7px, var(--pool) 7px 14px);
}
.weeks li::before { content: ""; position: absolute; inset: 0; background: var(--sun); transform: translateY(101%); }
.weeks li.on::before { animation: fill .5s cubic-bezier(.3,.7,.3,1) forwards; animation-delay: calc(.2s + var(--n, 0) * .1s); }
.weeks .wk-m, .weeks .wk-d, .weeks .wk-camp { position: relative; }
.weeks .wk-m { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.weeks .wk-d { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 2vw, 2.1rem); line-height: 1; }
.weeks .wk-camp { margin-top: auto; font-size: .74rem; line-height: 1.2; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.weeks li.on .wk-camp { color: var(--ink); font-weight: 600; }
.weeks li.away .wk-camp { font-style: italic; }
@keyframes fill { to { transform: translateY(0); } }
.summer .btn { grid-column: 1 / -1; justify-self: start; }
@media (prefers-reduced-motion: reduce) { .weeks li.on::before { animation: none; transform: none; } }
@media (max-width: 560px) { .summer { grid-template-columns: 1fr; } .summer-count { grid-column: 1; } }

/* ---------- home bands ---------- */
.band { padding: 48px 0; }
.band-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-ink { background: var(--ink); color: #eaf2f1; }
.band-ink h2 { color: #fff; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 20px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--muted); }

.browse { display: grid; gap: 28px 40px; }
@media (min-width: 720px) { .browse { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .browse { grid-template-columns: repeat(3, 1fr); } }
.browse-group h3 { font-size: var(--step-2); margin-bottom: 10px; }
.browse-group h3 a { text-decoration: none; }
.browse-group h3 a:hover { text-decoration: underline; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 99px; background: var(--paper); border: 1.5px solid var(--line); text-decoration: none; font-weight: 500; }
.chips a:hover { border-color: var(--ink); }
.band-alt .chips a { background: var(--pool); }

.split { display: grid; gap: 40px; }
@media (min-width: 880px) { .split { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.quick { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.quick li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.quick a { font-weight: 600; font-size: var(--step-1); }
.quick span { color: var(--muted); font-size: var(--step--1); }
.brk-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.brk-list li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; background: var(--sun-soft); border-left: 6px solid var(--sun); padding: 12px 14px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.brk-name { font-weight: 600; }
.brk-date { font-variant-numeric: tabular-nums; white-space: nowrap; }
.brk-note { font-size: var(--step--1); color: var(--muted); }

.areas { list-style: none; padding: 0; margin: 0; columns: 2 10em; column-gap: 32px; }
.areas li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 8px; }
.areas a { font-weight: 500; text-decoration: none; }
.areas a:hover { text-decoration: underline; }
@media (min-width: 720px) { .areas { columns: 4 10em; } }

.honest h2 { margin-bottom: 24px; }
.honest-grid { display: grid; gap: 20px 40px; margin-bottom: 20px; }
@media (min-width: 720px) { .honest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .honest-grid { grid-template-columns: repeat(4, 1fr); } }
.honest-grid p { margin: 0; color: #cfe0dd; }
.honest-grid strong { display: block; color: #fff; font-family: var(--serif); font-weight: 400; font-size: var(--step-1); margin-bottom: 4px; }
.link-light { color: var(--sun); }

/* ---------- camp rows ---------- */
.rows { list-style: none; padding: 0; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.row { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-bottom: 1px solid var(--line-2); }
.row:last-child { border-bottom: 0; }
.row[hidden] { display: none; }
.row-main { flex: 1; min-width: 0; }
.row-name { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; line-height: 1.3; margin: 0 0 4px; }
.row-name a { text-decoration: none; }
.row-name a:hover { text-decoration: underline; }
.row-where { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 8px; color: var(--ink-2); font-size: .95rem; }
.row-where .i { color: var(--muted); }
.dist:not(:empty) { font-weight: 600; color: var(--ink); }
.row-acts { color: var(--muted); }
.row-acts::before { content: "/"; margin: 0 6px 0 2px; color: var(--line); }
@media (max-width: 560px) { .row-acts { flex-basis: 100%; } .row-acts::before { content: none; } }
.row-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.fact { font-size: .88rem; padding: 3px 9px; border-radius: var(--r-sm); background: var(--pool); border: 1px solid var(--line-2); }
.fact-price { background: var(--sun-soft); border-color: #f4dc94; font-weight: 600; }
.fact-care { background: var(--pine-soft); border-color: #bfdccc; color: var(--pine); font-weight: 600; }
.row-facts-empty { font-size: .9rem; color: var(--muted); font-style: italic; }
.close-head { padding: 14px 16px; background: var(--sun-soft); border-bottom: 1px solid #f4dc94; font-size: .95rem; }
.close-head:first-child { border-radius: var(--r) var(--r) 0 0; }
.row-miss { margin: 8px 0 0; font-size: .88rem; color: var(--ink-2); }
.row-miss::first-line { font-weight: 400; }
.row-type { margin: 8px 0 0; font-size: .88rem; color: var(--pine); font-weight: 600; }
.row-basic .row-name { font-weight: 600; }
.row-featured { background: linear-gradient(90deg, var(--sun-soft), var(--paper) 70%); box-shadow: inset 5px 0 0 var(--sun); }
.feat-tag { display: inline-block; margin: 0 0 6px; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--ink); color: #fff; }
.feat-note { margin: 8px 0 0; font-size: var(--step--1); color: var(--muted); }

.save { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1.5px solid var(--line); color: var(--ink); border-radius: 99px; padding: 7px 12px; font: 600 .88rem/1 var(--sans); cursor: pointer; flex: none; }
.save:hover { border-color: var(--ink); }
.save .i { width: 1.15em; height: 1.15em; }
.save[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); }
.save[aria-pressed="true"] .i { fill: var(--ink); }
.save-big { width: 100%; justify-content: center; padding: .8em 1.2em; border-radius: var(--r-sm); font-size: 1rem; }
@media (max-width: 480px) { .row .save .save-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .row .save { padding: 9px; } }

/* ---------- finder ---------- */
.finder { padding-top: 28px; padding-bottom: 56px; }
.finder-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 18px; }
.finder-head h1 { font-size: var(--step-3); margin: 0; }
.result-count { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.result-count span { color: var(--ink); font-weight: 700; }
.filter-toggle { margin-left: auto; }
.finder-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.filters { display: grid; gap: 16px; align-content: start; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zip-msg { margin: -8px 0 0; font-size: var(--step--1); color: var(--rose); }
.filter-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.results-note { margin-top: 16px; font-size: var(--step--1); color: var(--muted); max-width: 46em; }
.empty { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r); padding: 24px; }
.empty h2 { font-size: var(--step-2); }
.empty p { margin: 0; }
.filter-done { display: none; }
@media (max-width: 899px) {
  .filters { display: none; position: fixed; inset: 0; z-index: 20; background: var(--paper); padding: 20px var(--gutter) 28px; overflow-y: auto; }
  .filters.open { display: grid; }
  .filter-done { display: inline-flex; flex: 1; }
  .filter-actions { position: sticky; bottom: -28px; background: var(--paper); padding: 12px 0 4px; }
  body.filters-open { overflow: hidden; }
}
@media (min-width: 900px) {
  .finder-grid { grid-template-columns: 270px minmax(0, 1fr); gap: 36px; }
  .filter-toggle { display: none; }
  .filters { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 2px 6px 8px 2px; }
}

/* ---------- detail ---------- */
.crumbs { font-size: var(--step--1); color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--ink-2); }
.detail { padding-top: 24px; padding-bottom: 56px; }
.detail h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.detail-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; } .detail-side { position: sticky; top: 16px; align-self: start; } }
.org { font-size: var(--step-1); color: var(--ink-2); margin-bottom: 6px; }
.where { display: flex; gap: 6px; align-items: baseline; color: var(--ink-2); }
.desc { font-size: var(--step-1); max-width: 36em; }
.basic-note, .season-note { background: var(--sun-soft); border-left: 6px solid var(--sun); padding: 12px 14px; border-radius: 0 var(--r-sm) var(--r-sm) 0; max-width: 40em; }
.facts { display: grid; background-color: var(--paper); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0; margin: 24px 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { padding: 14px 16px; border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.facts dt { font-size: var(--step--1); color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 600; }
.price-notes { max-width: 42em; color: var(--ink-2); }
.sessions, .tagged, .nearby { margin-top: 32px; }
.sessions h2, .tagged h2, .nearby h2 { font-size: var(--step-2); }
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
thead th { font-size: var(--step--1); color: var(--muted); font-weight: 600; background: var(--pool); }
tbody th { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
td:nth-child(3), td:last-child { white-space: nowrap; }
.sessions tr.past { display: none; }
.past-note { font-size: var(--step--1); color: var(--muted); margin: 8px 0 0; }
.st { font-size: .82rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--line-2); }
.st-open { background: var(--pine-soft); color: var(--pine); }
.st-full, .st-closed { background: #f6e1e4; color: var(--rose); }
.side-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }
.checked { font-size: var(--step--1); color: var(--muted); margin: 4px 0 0; }
.sources summary { cursor: pointer; font-size: var(--step--1); font-weight: 600; }
.sources ul { margin: 8px 0 0; padding-left: 18px; font-size: var(--step--1); word-break: break-all; }
.fix { font-size: var(--step--1); color: var(--muted); margin-top: 14px; }

/* ---------- listing pages ---------- */
.listing { padding-top: 28px; padding-bottom: 56px; }
.listing h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.listing-tools { margin: 0 0 18px; }
.act-groups { display: grid; gap: 32px; margin-top: 12px; }
@media (min-width: 820px) { .act-groups { grid-template-columns: 1fr 1fr; gap: 36px 48px; } }
.act-group h2 { font-size: var(--step-2); }
.act-group h2 a { text-decoration: none; }
.soon { margin: 10px 0 0; font-size: var(--step--1); color: var(--muted); }
.areas-big { margin-top: 12px; }
.areas-big a { font-size: var(--step-1); }

/* ---------- school breaks ---------- */
.breaks { padding-top: 28px; padding-bottom: 56px; }
.breaks-grid { display: grid; gap: 40px; margin-top: 24px; }
@media (min-width: 960px) { .breaks-grid { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.breaks h2 { font-size: var(--step-2); }
.brk-camps { margin-bottom: 24px; }
.brk-camps h3 { font-family: var(--sans); font-weight: 700; font-size: var(--step-0); color: var(--ink-2); margin-bottom: 8px; }
.empty-inline { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r); padding: 18px; }
.empty-inline p { margin: 0; }
.district-pick { margin-bottom: 16px; max-width: 320px; }
.district { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 14px; }
.district[hidden] { display: none; }
.district h3 { margin-bottom: 10px; }
.offdays { list-style: none; margin: 0; padding: 0; }
.offdays li { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: .95rem; }
.offdays li.past { display: none; }
.offdays .off-when { font-variant-numeric: tabular-nums; font-weight: 600; }
.offdays .off-big { background: var(--sun-soft); margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: var(--r-sm); border-bottom-color: transparent; }
.offdays .off-next .off-what::after { content: "Next"; margin-left: 8px; font-size: .75rem; font-weight: 700; background: var(--ink); color: #fff; padding: 2px 7px; border-radius: 99px; vertical-align: 1px; }
.offdays .off-last { color: var(--muted); border-bottom: 0; }
.src { margin: 10px 0 0; font-size: var(--step--1); }

/* ---------- planner ---------- */
.plan { padding-top: 28px; padding-bottom: 56px; }
.plan-controls { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin: 8px 0 18px; }
.plan-controls .field { min-width: 260px; }
.plan-total { margin: 0; font-size: var(--step-1); }
.plan-total strong { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); }
.plan-weeks { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 10px; }
@media (min-width: 720px) { .plan-weeks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .plan-weeks { grid-template-columns: repeat(3, 1fr); } }
.pw { border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper); padding: 12px 14px; display: grid; gap: 8px; }
.pw-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pw-when { font-family: var(--serif); font-size: var(--step-1); }
.pw-num { font-size: var(--step--1); color: var(--muted); }
.pw.filled { background: var(--sun); }
.pw.filled select { border-color: var(--ink); }
.pw.away { background: repeating-linear-gradient(135deg, var(--pool) 0 8px, var(--paper) 8px 16px); border-style: dashed; border-color: var(--muted); }
.pw-detail { font-size: var(--step--1); color: var(--ink-2); margin: 0; }
.pw.filled .pw-detail { color: var(--ink); }
.pw-detail a { font-weight: 600; }
.saved .rows { margin-top: 8px; }
.saved-empty { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r); padding: 20px; }
.saved-empty p:last-child { margin: 0; }
.plan-print { margin-top: 24px; }

/* ---------- prose pages ---------- */
.prose { padding-top: 32px; padding-bottom: 64px; max-width: calc(40em + 2 * var(--gutter)); margin-left: 0; }
@media (min-width: 1200px) { .prose { margin-left: calc((100vw - var(--wrap)) / 2); } }
.prose h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.prose h2 { font-size: var(--step-2); margin-top: 1.4em; }
.prose p { max-width: 38em; }

/* ---------- footer ---------- */
.site-foot { background: var(--paper); border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: .95rem; color: var(--ink-2); }
.foot-grid { display: grid; gap: 24px 48px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.foot-brand .pennant path { stroke: var(--ink); }
.foot-brand .pennant .flag { fill: var(--sun); }
.foot-h { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

/* ---------- print (the plan on the fridge) ---------- */
@media print {
  .site-head, .site-foot, .plan-print, .saved, .plan-controls .field, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { display: none !important; }
  body { background: #fff; }
  .pw { break-inside: avoid; }
  .plan-weeks { grid-template-columns: repeat(3, 1fr); }
  .pw select { display: none; }
}
