/* PredictiCare Family: one small stylesheet. The new look (2026-11): green primary, rust create button, warm page, white 16px cards, IBM Plex Sans,
   Source Serif 4 for page titles, Fraunces for the wordmark only; light and dark. The token names kept their old spellings (--teal is the green).
   No third-party anything. Fonts are served from this site (assets/fonts). */

@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url('../assets/fonts/ibmplexsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('../assets/fonts/sourceserif4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #F6F5F1;  --surface: #FFFFFF;  --surface-2: #F1F0EB;  --line: rgba(28,36,32,.08);  --line-strong: rgba(28,36,32,.16);
  --ink: #1C2420;  --ink-2: #56615B;  --faint: #687169;
  --teal: #1F5A4C;  --teal-deep: #1F5A4C;  --teal-100: #E2EEE9;
  --cta: #B4532A;  --cta-deep: #9A4623;  --cta-100: #F4E1D6;
  /* the mark and the wordmark: inner ring and "Care" teal, outer ring and the "i" Soft Terracotta; the dark tints on dark grounds (the logo did not change) */
  --ring-in: #3D7A73;  --ring-out: #C9704F;
  --ok: #1B6240;  --ok-bg: #DCEFE3;  --warn: #7C4A00;  --warn-bg: #FBEBC6;  --crit: #8A271B;  --crit-bg: #F8DDD8;
  --emerg: #B02020;  --emerg-bg: #FBE4E4;
  --on-fill: #FFFFFF;
  --r-card: 16px;  --r-ctrl: 12px;  --r-chip: 8px;
  --sh-1: 0 1px 2px rgba(24,36,31,.07);  --sh-2: 0 1px 2px rgba(24,36,31,.04), 0 6px 20px rgba(24,36,31,.05);
  --font-ui: 'IBM Plex Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-wordmark: 'Fraunces', Georgia, 'Times New Roman', serif;
  --fs: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111613;  --surface: #1A211E;  --surface-2: #222B27;  --line: rgba(255,255,255,.08);  --line-strong: rgba(255,255,255,.16);
    --ink: #E8EEEA;  --ink-2: #A8B5AE;  --faint: #8C9A93;
    --teal: #62BDA0;  --teal-deep: #8FD3BB;  --teal-100: #1E2B26;
    --cta-100: #3A2A24;  --on-fill: #0F1A15;  --ring-in: #6FA69E;  --ring-out: #D68A66;
    --ok: #9DDDBB;  --ok-bg: #1F3A2C;  --warn: #F0C46E;  --warn-bg: #3B311B;  --crit: #F1A199;  --crit-bg: #3C2623;
    --emerg: #FF9C9C;  --emerg-bg: #432122;
    --sh-1: none;  --sh-2: 0 10px 28px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --bg: #111613;  --surface: #1A211E;  --surface-2: #222B27;  --line: rgba(255,255,255,.08);  --line-strong: rgba(255,255,255,.16);
  --ink: #E8EEEA;  --ink-2: #A8B5AE;  --faint: #8C9A93;
  --teal: #62BDA0;  --teal-deep: #8FD3BB;  --teal-100: #1E2B26;
  --cta-100: #3A2A24;  --on-fill: #0F1A15;  --ring-in: #6FA69E;  --ring-out: #D68A66;
  --ok: #9DDDBB;  --ok-bg: #1F3A2C;  --warn: #F0C46E;  --warn-bg: #3B311B;  --crit: #F1A199;  --crit-bg: #3C2623;
  --emerg: #FF9C9C;  --emerg-bg: #432122;
  --sh-1: none;  --sh-2: 0 10px 28px rgba(0,0,0,.35);
}
/* the paired device is read from across a kitchen: larger type and controls */
body.device { --fs: 18px; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs)/1.5 var(--font-ui); min-height: 100vh;
  -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.2; font-weight: 650; text-wrap: balance; }
h1 { font-family: var(--font-title); font-weight: 600; letter-spacing: -.01em; font-size: 1.75rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.1rem; } h4 { font-size: 1rem; }
p { margin: 0 0 .75rem; } a { color: var(--teal-deep); }
small, .small { font-size: .875rem; } .muted { color: var(--ink-2); } .faint { color: var(--faint); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }

/* ── layout ───────────────────────────────────────────────────────────────── */
#app { min-height: 100vh; display: flex; flex-direction: column; }
/* The phone's own bars. In the Android app the Capacitor SystemBars plugin sets --safe-area-inset-top and -bottom; on an iPhone or in a browser
   the standard env() values apply. Without this the top bar is drawn UNDER the status bar (clock and icons on top of the logo). */
:root { --sat: var(--safe-area-inset-top, env(safe-area-inset-top, 0px)); --sab: var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)); }
.topbar { display: flex; align-items: center; gap: 12px; padding: calc(12px + var(--sat)) 16px 12px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar .spacer { flex: 1; }
.topbar .back { background: none; border: 0; padding: 8px; margin: -8px 0 -8px -8px; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--teal-deep); border-radius: 8px; }
.wm { font: 700 1.45rem/1 var(--font-wordmark); letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }   /* 1.45rem keeps the wordmark above the brand's 140px minimum */
.wm .i { color: var(--ring-out); } .wm .c { color: var(--ring-in); }
.wm .mk { display: inline-block; width: 26px; height: 26px; margin-right: 8px; vertical-align: -6px; flex: none; }
/* the staff workspace switch (support console): Agencies | Free families */
.ws { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; font-size: .85rem; }
.ws a, .ws span { padding: 6px 12px; text-decoration: none; color: var(--ink-2); }
.ws .on { background: var(--teal-100); color: var(--teal-deep); font-weight: 600; }
.ws a:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.wm small { font: 500 .72rem var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-left: 8px; }
main { width: 100%; max-width: 760px; margin: 0 auto; padding: 16px 16px 96px; flex: 1; }
main.narrow { max-width: 460px; }
main.narrow.console { max-width: 760px; }                                    /* the support console is for staff on a computer: room for the filters and the list */
.signup-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; }
.signup-search { display: flex; gap: 8px; align-items: flex-end; } .signup-search .field { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; } .stack-lg > * + * { margin-top: 20px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .row.tight { gap: 8px; } .row .grow { flex: 1; min-width: 0; }
.between { justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .grid2.stackable { grid-template-columns: 1fr; } }

.bottomnav { position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); display: flex; z-index: 20; padding-bottom: var(--sab); }
.bottomnav a { flex: 1; text-align: center; padding: 10px 4px 8px; text-decoration: none; color: var(--faint); font-size: .78rem; font-weight: 500; }
.bottomnav a .ico { display: block; font-size: 1.3rem; line-height: 1.2; }
.bottomnav a[aria-current="page"] { color: var(--teal-deep); font-weight: 650; }

/* ── surfaces ─────────────────────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; box-shadow: var(--sh-1); }
.card.flat { box-shadow: none; } .card.tint { background: var(--teal-100); border-color: transparent; }
.card h3 { margin-bottom: .35rem; } .card .head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.banner { border-radius: var(--r-ctrl); padding: 12px 14px; font-size: .95rem; border: 1px solid transparent; }
.banner.info { background: var(--teal-100); color: var(--ink); }
.banner.warn { background: var(--warn-bg); color: var(--warn); border-color: rgba(138,94,20,.25); }
.banner.error { background: var(--crit-bg); color: var(--crit); }
.banner.ok { background: var(--ok-bg); color: var(--ok); }
.banner.emergency { background: var(--emerg-bg); color: var(--emerg); border-color: var(--emerg); font-weight: 650; font-size: 1.1rem; }
.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.badge.teal { background: var(--teal-100); color: var(--teal-deep); } .badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.crit { background: var(--crit-bg); color: var(--crit); } .badge.ok { background: var(--ok-bg); color: var(--ok); }
.hr { height: 1px; background: var(--line); margin: 16px 0; border: 0; }

/* ── controls ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: var(--r-ctrl);
  border: 1px solid transparent; font-weight: 600; cursor: pointer; text-decoration: none; background: var(--teal); color: var(--on-fill); line-height: 1.2; text-align: center; }
.btn.cta { background: var(--cta); color: #FFFFFF; } .btn.cta:hover { background: var(--cta-deep); } .btn:hover { filter: brightness(.95); }
.btn.secondary { background: transparent; color: var(--teal-deep); border-color: var(--teal); }
.btn.ghost { background: transparent; color: var(--teal-deep); padding-inline: 10px; min-height: 40px; }
.btn.danger { background: transparent; color: var(--crit); border-color: var(--crit); }
.btn.block { display: flex; width: 100%; } .btn.small { min-height: 36px; padding: 6px 12px; font-size: .9rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; cursor: default; pointer-events: none; }
body.device .btn { min-height: 56px; font-size: 1.05rem; }
.field { display: block; } .field > .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.field .hint { display: block; color: var(--ink-2); font-size: .85rem; margin-top: 4px; } .field .err { display: block; color: var(--crit); font-size: .88rem; margin-top: 4px; font-weight: 600; }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-ctrl); background: var(--surface); color: var(--ink); }
textarea.input { min-height: 96px; resize: vertical; } .input:focus { border-color: var(--teal); }
.input.invalid { border-color: var(--crit); }
.check { display: flex; gap: 10px; align-items: flex-start; } .check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; } .chip { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: .92rem; }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--on-fill); font-weight: 600; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 0 -16px 16px; padding: 0 16px; scrollbar-width: none; }
.tabs button { background: none; border: 0; padding: 10px 12px; font-weight: 600; color: var(--faint); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--teal-deep); border-bottom-color: var(--teal); }

/* ── dialogs and toasts ───────────────────────────────────────────────────── */
.scrim { position: fixed; inset: 0; background: rgba(15,25,24,.55); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--surface); width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: 16px 16px 0 0; padding: 20px 16px calc(20px + var(--sab)); box-shadow: var(--sh-2); }
@media (min-width: 640px) { .scrim { align-items: center; } .sheet { border-radius: 16px; } }
.toasts { position: fixed; left: 0; right: 0; bottom: calc(84px + var(--sab)); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 60; pointer-events: none; padding: 0 16px; }
.toast { background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; box-shadow: var(--sh-2); font-size: .95rem; max-width: 440px; }
.toast.error { background: var(--crit); color: #fff; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--teal); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } } @media (prefers-reduced-motion: reduce) { .spinner { animation: none; } * { scroll-behavior: auto !important; } }
.center { text-align: center; } .loading { display: flex; justify-content: center; padding: 48px 0; }

/* ── timeline ─────────────────────────────────────────────────────────────── */
.day { margin-top: 20px; } .day > h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 8px; position: sticky; top: calc(58px + var(--sat)); background: var(--bg); padding: 4px 0; z-index: 5; }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 14px; margin-bottom: 8px; }
.ink { color: var(--ink); }
.pcard { display: flex; flex-direction: column; gap: 8px; }
.headsup { background: var(--cta-100); border-radius: var(--r-card); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.headsup-tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.headsup-line { margin: 0; color: var(--ink); font-weight: 600; }
.item.headsup-item { background: var(--cta-100); border-color: transparent; }
.item.headsup-item .headsup-line { margin: 6px 0 8px; }
.headsup-state { padding: 0 4px; display: flex; flex-direction: column; gap: 2px; }
.headsup-line.quiet { font-weight: 500; color: var(--ink-2); font-size: .95rem; }
.headsup-fine { margin: 0; font-size: .8rem; color: var(--faint); }
.headsup .headsup-fine { color: var(--ink-2); }
.headsup-by { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.headsup-by p { margin: 0; }
.headsup-title { margin: 2px 0 2px; }
.headsup-lead { margin: 0 0 10px; }
.headsup-rows { display: flex; flex-direction: column; gap: 8px; }
.headsup-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 4px 10px; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--line); }
.headsup-row:first-child { border-top: 0; padding-top: 0; }
.headsup-area { font-weight: 600; }
.headsup-row .lv { text-align: right; font-weight: 600; }
.headsup-actions { gap: 8px; flex-wrap: wrap; }
.headsup-page [hidden] { display: none !important; }
@media (max-width: 520px) { .headsup-row { grid-template-columns: 1fr; gap: 2px; } .headsup-row .lv { text-align: left; } }
.item.change { border-left: 5px solid var(--cta); } .item.pending { opacity: .7; border-style: dashed; }
.item .meta { color: var(--faint); font-size: .85rem; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.item .answers { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 6px 12px; margin-top: 8px; font-size: .93rem; }
.item .answers .lv { font-weight: 600; text-align: right; } .lv.l0 { color: var(--ok); } .lv.l1 { color: var(--teal-deep); } .lv.l2 { color: var(--warn); } .lv.l3 { color: var(--crit); } .lv.ns { color: var(--faint); font-weight: 500; }

/* ── the paired device ────────────────────────────────────────────────────── */
.big { display: grid; gap: 12px; } .big.two { grid-template-columns: 1fr 1fr; }
.bigbtn { min-height: 76px; border-radius: 14px; border: 2px solid var(--line-strong); background: var(--surface); padding: 12px; font-size: 1.1rem; font-weight: 650; cursor: pointer; text-align: center; }
.bigbtn small { display: block; font-weight: 400; color: var(--ink-2); margin-top: 2px; font-size: .82rem; }
.bigbtn:hover { border-color: var(--teal); } .bigbtn.on { background: var(--teal); border-color: var(--teal); color: var(--on-fill); } .bigbtn.on small { color: var(--on-fill); }
.bigbtn.hint { outline: 3px dashed var(--line-strong); outline-offset: 2px; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; } .progress > i { display: block; height: 100%; background: var(--teal); }
.prompt { font-size: 1.45rem; font-weight: 650; line-height: 1.25; margin: 8px 0 16px; text-wrap: balance; }
.prevhint { color: var(--faint); font-size: .92rem; margin-bottom: 12px; }
.pinned { border: 2px solid var(--teal); } .pinned .upd { font-size: .8rem; }
.dose { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dose > div:first-child { flex: 1 1 150px; min-width: 0; }
.dose .row { flex-wrap: nowrap; }
.dose:first-child { border-top: 0; }
.syncbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--sab)); z-index: 30; }
.pin { letter-spacing: .5em; text-align: center; font-size: 1.6rem; max-width: 220px; }
.lock-screen { max-width: 360px; margin: 0 auto; }

/* ── appointments calendar ────────────────────────────────────────────────── */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; box-shadow: var(--sh-1); }
.cal-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cal-bar h3 { margin: 0; font-size: 1.05rem; }
.cal-nav { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--teal-deep); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cal-nav[disabled] { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; font-size: .72rem; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; padding: 2px 0 4px; }
.cal-day { min-height: 46px; padding: 4px 0; border: 1px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: .95rem; color: var(--ink); }
.cal-day:hover { background: var(--teal-100); }
.cal-day.today { border-color: var(--teal); font-weight: 700; }
.cal-day[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--on-fill); font-weight: 700; }
.cal-dots { display: flex; gap: 3px; height: 8px; align-items: center; }
.cal-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--teal); background: transparent; box-sizing: border-box; }   /* scheduled: a ring */
.cal-dot.completed { background: var(--ok); border-color: var(--ok); } .cal-dot.missed { background: var(--crit); border-color: var(--crit); }   /* recorded: solid */
.cal-day[aria-pressed="true"] .cal-dot { border-color: var(--on-fill); }
.cal-day[aria-pressed="true"] .cal-dot.completed, .cal-day[aria-pressed="true"] .cal-dot.missed { background: var(--on-fill); }
.cal-key { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.cal-key { gap: 6px 14px; } .cal-key .cal-dot { margin-right: 4px; vertical-align: -1px; }
.appt-title { margin: 18px 0 8px; font-size: 1rem; }
.appt-next { margin: 0; }
.appt-card.missed { border-left: 5px solid var(--crit); } .appt-card.completed { border-left: 5px solid var(--ok); }
.appt-notes { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.appt-notes h4 { margin: 0 0 4px; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); }
.appt-note + .appt-note { margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 8px; }
.appt-note p { margin: 0; } .appt-note-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.appt-ask + .appt-ask { border-top: 1px solid var(--line); padding-top: 10px; }

/* ── medication history ───────────────────────────────────────────────────── */
.med-event .head { margin-bottom: 4px; }
.med-why { margin-top: 6px; padding: 6px 10px; background: var(--surface-2); border-radius: var(--r-ctrl); overflow-wrap: anywhere; }

/* ── support: the Sign-ups list ───────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px 12px; box-shadow: var(--sh-1); line-height: 1.25; }
.tile .num { font-family: var(--font-title); font-size: 1.6rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile.warn { background: var(--warn-bg); border-color: transparent; } .tile.warn .num { color: var(--warn); }
.signup-note { margin-top: 6px; padding: 6px 10px; background: var(--surface-2); border-radius: var(--r-ctrl); overflow-wrap: anywhere; white-space: pre-wrap; }

/* ── sign-up: "More details" on Add a person, and the Getting started card on Home ── */
.more { border: 1px solid var(--line-strong); border-radius: var(--r-ctrl); background: var(--surface); }
.more > summary { cursor: pointer; font-weight: 600; min-height: 46px; padding: 12px 14px; color: var(--teal-deep); }
.more[open] > summary { border-bottom: 1px solid var(--line); }
.more-body { padding: 14px; }
.gs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gs-step { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.gs-dot { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 650; }
.gs-step.done .gs-dot { background: var(--teal); border-color: var(--teal); color: var(--on-fill); }
.gs-step.next { color: var(--ink); font-weight: 650; }
.gs-step.next .gs-dot { border: 2px solid var(--teal); color: var(--teal-deep); }

@media print { .topbar, .bottomnav, .btn, .tabs { display: none !important; } body { background: #fff; } }
