:root {
  --bg: #EEF3EC; --surface: #FFFFFF; --ink: #2A2140; --ink-soft: #625A73;
  --plum: #5B3A8C; --plum-tint: #ECE5F6;
  --marigold: #F4B63F; --marigold-deep: #7A4F00;
  --rose: #C4405E; --rose-tint: #FBE6EB;
  --sage: #3F7A57; --sage-tint: #DDEEE3;
  --line: #DCE2D9;
  --serif: "Young Serif", Georgia, serif;
  /* Headings and big numbers: the brand serif here; the iPhone app swaps in bold SF (native-ios.css). */
  --display: var(--serif); --display-weight: 400;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Segoe UI", system-ui, sans-serif;
  --tabbar: 64px;
  --safe-b: env(safe-area-inset-bottom);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.45 var(--sans); padding-top: env(safe-area-inset-top); }
/* Under the phone's status bar and camera cutout (the iPhone app and the home-screen app draw the page behind
   them): a solid strip, so the page scrolls under it instead of showing through the clock. 0 high in a browser. */
body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top); background: var(--bg); z-index: 40; pointer-events: none; }
button, input, select { font: inherit; color: inherit; }
button { -webkit-user-select: none; user-select: none; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }
[hidden] { display: none !important; }
a { color: var(--plum); }
.wrap { max-width: 520px; margin: 0 auto; padding: 0 16px; }
.wordmark { font: 26px/1 var(--serif); margin: 0; display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
h2 { font: var(--display-weight) 21px/1.2 var(--display); margin: 0; }

/* Buttons */
a.btn { text-decoration: none; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 0 20px; font-weight: 700; font-size: 17px; cursor: pointer; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--ink); color: #fff; }
.btn.plum { background: var(--plum); color: #fff; }
.btn.soft { background: var(--surface); color: var(--ink); }
.btn.quiet { background: var(--bg); color: var(--ink); }
.btn.danger { background: transparent; color: var(--rose); padding: 0 8px; }
.btn.block { width: 100%; }
.btn.danger.full { background: var(--rose); color: #fff; padding: 0 20px; }
.ask-body { margin: 0 0 16px; color: var(--ink-soft); font-size: 16px; line-height: 1.45; }
.btn:disabled { opacity: .5; }
.small-btn { min-height: 40px; border: 1.5px solid var(--plum); color: var(--plum); background: transparent; border-radius: 99px; padding: 0 14px; font-size: 15px; font-weight: 700; cursor: pointer; }
.small-btn.danger { border-color: var(--rose); color: var(--rose); }
.link-btn { background: none; border: 0; color: var(--plum); font-weight: 600; padding: 8px 0; cursor: pointer; text-decoration: underline; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); display: grid; place-items: center; cursor: pointer; }

/* Forms */
.card { background: var(--surface); border-radius: 18px; padding: 18px; }
label.f { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { font-size: 14px; color: var(--ink-soft); margin-top: 5px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=time], input[type=date], select {
  width: 100%; min-width: 0; max-width: 100%; min-height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #fff; font-size: 17px; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23625A73' stroke-width='3'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
input[type=time] { font-size: 20px; font-variant-numeric: tabular-nums; }
input:focus, select:focus { border-color: var(--plum); outline: none; }
.err { color: var(--rose); font-size: 15px; min-height: 20px; margin: 2px 0 10px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.two > * { min-width: 0; }
input[type=time]::-webkit-date-and-time-value, input[type=date]::-webkit-date-and-time-value { text-align: left; }
.choice { display: grid; gap: 8px; }
.choice label { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; background: #fff; }
.choice label:has(input:checked) { border-color: var(--plum); background: var(--plum-tint); }
.choice input { margin-top: 4px; accent-color: var(--plum); width: 18px; height: 18px; flex: none; }
.choice b { display: block; }
.choice span { font-size: 15px; color: var(--ink-soft); }

/* Language button: a globe and the current language; a native select laid over it opens the phone's own
   picker (client/i18n.js fills it in) */
.lang-pick { display: inline-block; }
.lang-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; }
.lang-btn:hover, .lang-btn:focus-within { border-color: var(--plum); }
.lang-btn:has(select:focus-visible) { outline: 3px solid var(--plum); outline-offset: 2px; }
.lang-btn select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.lang-globe { color: var(--plum); flex: none; }
.lang-caret { font-size: 11px; color: var(--ink-soft); }
.lang-code { display: none; }

/* While a translation loads (non-English only, at most 3 seconds) */
html.i18n-wait body { visibility: hidden; }

/* Background check card on the nanny's Profile tab: a message, then at most one button */
.mk-check p { margin: 6px 0 12px; color: var(--ink-soft); }
.mk-check .btn { text-decoration: none; text-align: center; }

/* ===== care: quick entry ===== */
.ql-box { margin: 0 0 16px; }
.ql-row { display: flex; gap: 8px; }
.ql-row input { flex: 1; min-width: 0; }
.ql-row .btn { flex: none; padding: 0 18px; }
.ql-card { background: var(--surface); border: 1.5px solid var(--plum); border-radius: 18px; padding: 16px; margin: 0 0 16px; }
.ql-pick { margin: 0 0 12px; }
.ql-card h3 { margin: 0 0 10px; font-size: 18px; }
.ql-live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ql-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ql-item { display: grid; grid-template-columns: minmax(64px, auto) minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; min-height: 52px; text-align: left; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; background: var(--surface); color: var(--ink); cursor: pointer; }
.ql-item:hover, .ql-item:focus-visible { border-color: var(--plum); }
.ql-when { font-weight: 700; font-size: 15px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ql-what { overflow-wrap: anywhere; }
.ql-what span { color: var(--ink-soft); font-size: 15px; }
.ql-what .ql-who { color: var(--plum); font-weight: 700; }
.ql-edit { color: var(--plum); font-weight: 700; font-size: 15px; text-decoration: underline; }
.ql-unparsed { overflow-wrap: anywhere; }
.ql-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ql-actions .btn { flex: 1 1 140px; }

/* ===== care: report ===== */
/* The pediatrician report (client/care-report.js): a white page inside the sheet, and the same page alone when printed.
   Headings use classes (.cr-title, .cr-h) so the sheet's own `.sheet-in h3` doesn't restyle them. */
.cr-page { background: #fff; color: #111; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; margin-top: 12px; }
.cr-page .cr-title { font: 700 20px/1.2 var(--sans); margin: 0 0 4px; }
.cr-page .cr-h { font: 700 16px/1.2 var(--sans); margin: 18px 0 6px; }
.cr-meta { margin: 2px 0; font-size: 15px; color: #444; }
.cr-scroll { overflow-x: auto; }
.cr-scroll:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }
.cr-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.cr-table th, .cr-table td { text-align: left; vertical-align: top; padding: 6px 8px 6px 0; border-bottom: 1px solid #ccc; }
.cr-table thead th { font-size: 13px; border-bottom: 2px solid #111; }
.cr-table th[scope=row] { font-weight: 700; white-space: nowrap; }
.cr-table small { display: block; font-size: 13px; color: #444; font-weight: 400; }
/* A day's counts (the same words as Today's care card): a line under the day's row, part of it, every column wide. */
.cr-table tr.cr-day th, .cr-table tr.cr-day td { border-bottom: 0; padding-bottom: 2px; }
.cr-table tr.cr-tally td { padding-top: 0; font-size: 13px; color: #444; line-height: 1.4; }
/* The table scrolls sideways on a phone: the counts stay in view, as wide as the screen, and wrap there. */
.cr-tally-in { display: block; position: sticky; left: 0; max-width: calc(100vw - 72px); }
.cr-none { color: #444; font-style: italic; }
.cr-stats { margin: 4px 0; display: grid; gap: 2px; }
.cr-stats div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #ccc; padding: 4px 0; font-size: 15px; }
.cr-stats dt, .cr-stats dd { margin: 0; }
.cr-stats:not(.cr-pat) dt { white-space: nowrap; } /* "In counts" stays one label; its long value wraps beside it */
.cr-stats dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.cr-foot { margin: 18px 0 0; font-size: 14px; color: #444; }
.cr-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cr-print { display: none; }
/* Printing: everything but the copy of the report is hidden. client/care-report.js sets the class on <html> only while
   it prints, and every rule here needs it, so printing any other page is untouched. */
@media print {
  html.cr-printing body > *:not(.cr-print) { display: none !important; }
  html.cr-printing body { background: #fff; padding: 0; }
  html.cr-printing body::before { display: none; }
  html.cr-printing .cr-print { display: block; padding: 14mm; }
  html.cr-printing .cr-page { border: 0; border-radius: 0; padding: 0; margin: 0; font-size: 11pt; }
  html.cr-printing .cr-scroll { overflow: visible; }
  html.cr-printing .cr-table, html.cr-printing .cr-stats div { font-size: 10.5pt; }
  html.cr-printing .cr-table tr { break-inside: avoid; }
  html.cr-printing .cr-table tr.cr-tally { break-before: avoid; } /* a day and its counts stay on one page */
  html.cr-printing .cr-tally-in { position: static; max-width: none; }
  html.cr-printing .cr-page .cr-h { break-after: avoid; }
}

/* ===== care: live timers and the since strip ===== */
.live-strip { display: grid; gap: 8px; margin: 0 0 14px; }
.live-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.live-name { font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.live-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; min-height: 40px; padding: 4px 14px; border-radius: 99px; background: var(--surface); border: 1.5px solid var(--line); font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.live-chip.run { background: var(--sage-tint); border-color: var(--sage); padding-right: 4px; }
.live-chip .small-btn { background: var(--surface); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); flex: none; }
@media (prefers-reduced-motion: no-preference) { .live-dot { animation: live-pulse 2s ease-in-out infinite; } }
@keyframes live-pulse { 50% { opacity: .35; } }
/* ===== end care: live timers and the since strip ===== */

/* ===== care: weekly summary ===== */
/* Nap = solid plum, bottle = hatched marigold: two shapes, so colour isn't the only signal. */
.wk-nap { background: var(--plum); }
/* The dark outline keeps the hatched shape visible against the page on its own (non-text contrast). */
.wk-feed { background: repeating-linear-gradient(135deg, var(--marigold) 0 3px, var(--marigold-deep) 3px 5px); border: 1px solid var(--marigold-deep); }
.wk-card { display: block; width: 100%; text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; cursor: pointer; color: var(--ink); }
.wk-card:hover { border-color: var(--plum); }
.wk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.wk-head b { font-family: var(--display); font-weight: var(--display-weight); font-size: 18px; }
.wk-more { color: var(--plum); font-size: 15px; font-weight: 700; }
.wk-cols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wk-col { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.wk-pair { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 52px; width: 100%; border-bottom: 2px solid var(--ink-soft); }
/* A day with no entries at all: a dashed, lighter baseline and a muted letter (not the same as a day with no naps). */
.wk-nodata .wk-pair { border-bottom: 2px dashed var(--line); }
.wk-nodata .wk-d { opacity: .55; }
.wk-zero { visibility: hidden; }
.wk-pair .wk-bar { width: 9px; border-radius: 3px 3px 0 0; }
.wk-d { font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.wk-legend { display: flex; gap: 16px; margin: 10px 0 0; font-size: 14px; color: var(--ink-soft); }
.wk-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.wk-sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.wk-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.wk-tiles4 { margin: 8px 0 14px; }
.wk-tile { display: flex; flex-direction: column-reverse; background: var(--bg); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.wk-tv { display: block; font-family: var(--display); font-weight: var(--display-weight); font-size: 20px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.wk-tl-label { display: block; font-size: 14px; color: var(--ink-soft); }
.wk-line { display: block; margin-top: 12px; font-size: 16px; }
.wk-empty { margin: 12px 0; color: var(--ink-soft); }
.wk-compare { margin: 0 0 6px; padding-left: 20px; }
.wk-compare li { margin: 2px 0; }
.wk-h { font-family: var(--display); font-weight: var(--display-weight); font-size: 18px; margin: 18px 0 8px; }
.wk-tl { display: grid; grid-template-columns: 44px repeat(7, minmax(0, 1fr)); gap: 4px; }
.wk-track { position: relative; height: 192px; background: var(--bg); border-radius: 6px; }
.wk-tcol.wk-nodata .wk-track { background: none; border: 1.5px dashed var(--line); }
.wk-axis .wk-track { background: none; }
.wk-axis span { position: absolute; right: 4px; font-size: 11px; color: var(--ink-soft); transform: translateY(-1px); white-space: nowrap; }
.wk-tcol { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.wk-tcol .wk-track { width: 100%; }
.wk-blk { position: absolute; left: 12%; right: 12%; min-height: 4px; border-radius: 3px; }
.wk-run { background: transparent; border: 2px dashed var(--plum); }
.wk-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wk-table th, .wk-table td { text-align: left; padding: 8px 4px; border-bottom: 1px solid var(--line); vertical-align: top; -webkit-hyphens: auto; hyphens: auto; }
/* A 320 px phone in Portuguese: long words hyphenate in the page's language and the cells close up, so the table fits. */
@media (max-width: 359px) { .wk-table th, .wk-table td { padding: 8px 2px; } }
.wk-table thead th { font-size: 13px; color: var(--ink-soft); }
.wk-table tbody th { font-weight: 700; white-space: nowrap; }
.wk-table td b, .wk-table td small { display: block; }
.wk-table td small { color: var(--ink-soft); font-size: 13px; }
.wk-none { color: var(--ink-soft); font-style: italic; }
.wk-bw { display: block; height: 6px; margin-top: 4px; }
.wk-bw .wk-bar { display: block; height: 6px; border-radius: 3px; }
.wk-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wk-extra { margin: 0; }
.wk-extra > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.wk-extra dt { color: var(--ink-soft); }
.wk-extra dd { margin: 0; font-weight: 700; }
/* Today so far: in the week, not in its numbers; dashed outline instead of a fill */
.wk-sofar { background: none; border: 1.5px dashed var(--ink-soft); }
.wk-sofar-col .wk-bar { background: none; border: 1.5px dashed var(--ink-soft); }
.wk-table th small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-soft); white-space: normal; }

/* ===== care: wiring ===== */
/* Today's new pieces (client/care-today.js, client/log-sheet.js): the "More" log buttons, the new kinds' colours (white
   text on each passes 4.5:1), the not-medical-advice line, the week card's spacing, the sharing switch, and the card that
   says which quick entries were saved. */
.quick-more-btn { min-height: 44px; margin: 0 0 10px; font-size: 15px; }
.quick-more-btn[aria-expanded="true"] { background: var(--plum); color: #fff; }
.k-pump { background: var(--k-pump); } .k-med { background: var(--k-med); } .k-temp { background: var(--k-temp); } .k-growth { background: var(--k-growth); }
.k-potty { background: var(--k-potty); } .k-act { background: var(--k-act); }
.care-note { margin: 8px 0 0; font-style: italic; }
.list .care-note { margin: 0; padding: 10px 16px; }
#careWeek:not(:empty) { margin-top: 14px; }
.care-share { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.care-share .toggle { cursor: pointer; }
/* The headings focus moves to (the quick-entry card) are focused for screen readers, not as a control: no ring, as #s2Title. */
#qlTitle:focus { outline: none; }
.care-results { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 8px; }
.care-result { border-left: 4px solid var(--rose); padding: 4px 0 4px 10px; }
.care-result.ok { border-left-color: var(--sage); }
.care-fallback { margin: -8px 0 16px; }
/* The four under "More": two a row, icon beside the label, so "Temperatura" or "Crescimento" never hyphenates (390 px
   is the commonest iPhone width). (#quickMore beats app.html's .quick, which comes after this file.) */
#quickMore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#quickMore button { flex-direction: row; min-height: 52px; gap: 8px; }
/* Phones up to 420 px: the quick-entry button goes under the box, so the box keeps room for its placeholder in Spanish and
   Portuguese ("Adicionar entrada" is wide). */
@media (max-width: 419px) {
  .ql-row { flex-direction: column; }
  .ql-row .btn { min-height: 48px; }
}
/* Narrow phones (320 px): the quick card's time sits on its own line, so the entry's words get the full width. (The log
   buttons' narrow layout is beside .quick in app.html, which comes after this file.) */
@media (max-width: 359px) {
  .ql-item { grid-template-columns: minmax(0, 1fr) auto; }
  .ql-item .ql-when { grid-column: 1 / -1; }
}
/* A household switch under way: "Opening {name}…" under the picker, until its load lands. */
.switch-note { font-size: 13px; color: var(--ink-soft); margin: 2px 0 0; }
.switch-note:empty { display: none; }
/* ===== end care: wiring ===== */
/* ===== care: month view ===== */
/* client/care-month.js. Seven columns that fit 320 px: each day is a button with its number and up to three counts, in the
   log buttons' colours and symbols (Zz, oz, ✓), so colour isn't the only signal. A day with no entries is dashed. */
.mo-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.mo-nav .small-btn { min-width: 44px; min-height: 44px; font-size: 20px; padding: 0 12px; }
.mo-nav .small-btn:disabled { opacity: .4; cursor: default; }
.mo-title { font-family: var(--display); font-weight: var(--display-weight); font-size: 18px; margin: 0; text-align: center; }
.mo-grid { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 3px; }
.mo-grid th { font-size: 13px; color: var(--ink-soft); font-weight: 700; padding: 2px 0; }
.mo-grid td { padding: 0; vertical-align: top; }
.mo-day, .mo-off { display: flex; flex-direction: column; align-items: center; gap: 1px; width: 100%; min-height: 64px; padding: 4px 0; border-radius: 10px; font: inherit; }
.mo-day { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.mo-day.mo-nodata { border-style: dashed; background: none; }
.mo-day.mo-today { border-color: var(--plum); }
.mo-day.on { border-color: var(--plum); background: var(--plum-tint); box-shadow: inset 0 0 0 1.5px var(--plum); }
.mo-off { color: var(--ink-soft); opacity: .6; }
.mo-n { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mo-c { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.mo-c i { font-style: normal; font-size: 10px; color: #fff; border-radius: 4px; padding: 0 2px; min-width: 14px; text-align: center; }
/* The badges' colours are the kinds' (.k-*: --k-* in /care-reports.css, on which white small text passes 4.5:1). */
.mo-legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; color: var(--ink-soft); }
.mo-legend .mo-c { gap: 4px; font-weight: 400; }
.mo-sum { margin: 10px 0 0; font-weight: 700; }
.mo-detail { margin-top: 6px; }
.mo-detail h3 small { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
#moDay:focus { outline: none; }
.mo-entries { margin-top: 8px; }
/* ===== end care: month view ===== */
/* ===== care: nudges ===== */
/* The Family tab's nap and bottle reminders (client/nudges.js): one block per child, a line between them. */
.nudge-kid { padding: 12px 0; border-top: 1px solid var(--line); }
.nudge-kid .toggle { cursor: pointer; }
.nudge-kid .two { margin-top: 10px; }
/* ===== end care: nudges ===== */

/* ===== weekly report (client/weekly.js) ===== */
/* The card and the sheet reuse the care week's pieces (.wk-card, .wk-tiles, .wk-h, .wk-extra); only what is new is here.
   Colours are the page's tokens, so a dark theme needs nothing more. */
.wk-rep-card { margin: 0 0 16px; }
.wk-rep-card:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }
.wk-rep-sub { color: var(--ink-soft); font-size: 15px; font-variant-numeric: tabular-nums; }
/* The alert is a line of its own with a plum bar, so it reads as a flag without relying on colour alone. */
.wk-rep-alert { padding-left: 10px; border-left: 4px solid var(--plum); font-weight: 600; }
.wk-rep-nav { display: flex; gap: 8px; margin: 0 0 12px; }
.wk-rep-nav .small-btn { flex: 1 1 0; min-width: 0; min-height: 44px; }
.wk-rep-nav .small-btn:disabled { opacity: .45; cursor: default; }
.wk-rep .wk-tv, .wk-rep .wk-extra dd { font-variant-numeric: tabular-nums; }
.wk-rep .wk-extra dd { text-align: right; }
.wk-rep-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border: 1.5px solid var(--ink-soft); border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.wk-rep-sub-h { margin: 14px 0 4px; font-size: 15px; color: var(--ink-soft); }
.wk-rep .wk-line { margin-top: 10px; }
/* The sheet's own `.sheet-in h3` is bigger and sits flush against what follows: the headings here keep the care week's size. */
.wk-rep .wk-h { font-size: 18px; margin: 22px 0 8px; }
.wk-rep .hint { margin: 0 0 6px; }
/* ===== end weekly report ===== */
