
:root {
  color-scheme: light;
  --bg: #f1f6f3;
  --surface: #ffffff;
  --line: #d6e3dd;
  --grid: #e6efea;
  --text: #12343b;
  --text-2: #3f5a5f;
  --muted: #557075;
  --accent: #2e9e6b;
  --on-accent: #ffffff;
  --link: #237a53;
  --good: #237a53;
  --bad: #c03232;
  --warn-bg: #fdf0d5;
  --bad-bg: #fbe9e7;
  --good-bg: #e2f3ea;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --s1: #2a78d6;
  --s2: #eb6834;
  --s3: #1baf7a;
  --s4: #eda100;
  --s5: #e87ba4;
  --s6: #008300;
  --s7: #6250d6;
  --s8: #6b7c85;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0e2328;
    --surface: #15313a;
    --line: #26464d;
    --grid: #1f3c44;
    --text: #e6f0ec;
    --text-2: #c2d4d0;
    --muted: #9db5b1;
    --accent: #4cc28a;
    --on-accent: #0e2328;
    --link: #6fd3a2;
    --good: #6fd3a2;
    --bad: #ef6b6b;
    --warn-bg: #3a2f12;
    --bad-bg: #3b1d1d;
    --good-bg: #173a2c;
    --s1: #3987e5;
    --s2: #d95926;
    --s3: #199e70;
    --s4: #c98500;
    --s5: #d55181;
    --s6: #3cb043;
    --s7: #9085e9;
    --s8: #93a4ad;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.15; font-family: var(--f-display); letter-spacing: -0.02em; }
h1 { font-size: 28px; font-weight: 760; }
h2 { font-size: 20px; font-weight: 720; }
h3 { font-size: 16px; font-weight: 700; }
a { color: var(--link); text-underline-offset: 3px; }
.brand { display: block; width: 160px; height: auto; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap, .top { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-top: 28px; padding-bottom: 8px; }
.top .muted { margin-top: 4px; font-size: 14px; }
.top .brand { margin-bottom: 16px; }
button {
  font: inherit; cursor: pointer; border-radius: 8px; border: 1px solid transparent;
  padding: 10px 18px; background: var(--accent); color: var(--on-accent); font-weight: 700; border-radius: 10px;
}
button.quiet { background: transparent; color: var(--text-2); border-color: var(--line); min-height: 44px; padding: 6px 14px; font-weight: 500; }
a.top-link { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-size: 15px; font-weight: 700; color: var(--link); text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; }
.top-nav { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 480px) { .top { flex-wrap: wrap; } }
.banner { max-width: 1088px; margin: 8px auto 0; padding: 12px 14px; border-radius: 10px; background: var(--warn-bg); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.banner p { margin: 0; }
.banner a.button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
@media (max-width: 1120px) { .banner { margin-left: 16px; margin-right: 16px; } }
/* The student switcher (childPicker), on the dashboard and in Settings. */
.child-pick, .setup form.child-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.setup form.child-pick { margin-top: 0; }
.child-pick label { font-size: 14px; font-weight: 600; color: var(--muted); }
.title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.title-row h1 { margin: 0; }
.title-row .child-pick { margin-top: 0; }
.title-row .child-pick label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* A pill like the section links, with its own arrow, so it looks the same in every browser. */
.child-select { position: relative; display: inline-flex; }
.child-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.child-pick select, .setup .child-pick select { -webkit-appearance: none; appearance: none; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; min-height: 44px; padding: 0 40px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.child-pick select:hover { border-color: var(--muted); }
.child-pick select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.child-pick button[hidden] { display: none; }
.due { background: var(--warn-bg); padding: 0 6px; border-radius: 6px; }
.demo-note { max-width: 1088px; margin: 8px auto 0; padding: 10px 14px; border-radius: 10px; background: var(--surface); border: 1px dashed var(--line); color: var(--text-2); font-size: 14px; }
@media (max-width: 1120px) { .demo-note { margin-left: 16px; margin-right: 16px; } }
button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.invite { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-top: 8px; padding: 8px 8px 8px 14px; border-radius: 12px; background: var(--good-bg); border: 1px solid var(--line); }
.invite > p:first-child { flex: 1 1 320px; font-size: 15px; }
.invite .muted { font-size: 14px; }
.invite-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 0 0 0 auto; }
#invite-status:empty { display: none; }
.invite textarea { flex: 1 1 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; resize: none; background: var(--bg); color: var(--text); }
.jump { position: sticky; top: 0; z-index: 4; margin-top: 8px; background: var(--bg); border-bottom: 1px solid var(--line); }
.jump .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; }
.jump a { white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--link); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.jump a:hover, .jump a:focus-visible { border-color: var(--accent); }
.jump .jump-action { margin-left: auto; color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
section[id] { scroll-margin-top: 64px; }
section { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.section-head p { font-size: 14px; }
.lead { margin: 0 0 12px; font-weight: 700; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 16px; }
.kpi .label { font-size: 14px; color: var(--text-2); }
.kpi .value { font-family: var(--f-display); font-size: 36px; font-weight: 760; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .note { font-size: 14px; margin-top: 2px; }
.kpi .sub { font-size: 14px; margin-top: 2px; }
.classes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.class-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.class-name { display: flex; align-items: center; gap: 8px; }
.score { text-align: right; }
.score .pct { font-family: var(--f-display); font-size: 30px; font-weight: 760; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.score .letter { font-size: 14px; color: var(--text-2); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 4px; }
.badge { font-size: 14px; font-weight: 600; border-radius: 999px; padding: 2px 10px; background: var(--grid); color: var(--text-2); }
.badge.up { background: var(--good-bg); color: var(--good); }
/* UX-10: Next up. A table on wider screens, a list on phones, and a round check to mark work done. */
.nu-list { display: none; list-style: none; margin: 0; padding: 0; }
/* Rows at least 60px with 8px above and below, so the checks sit 16px apart and a thumb
   scrolling the list doesn't mark work by accident. */
.nu-row { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px; min-height: 60px; padding: 8px 0; border-bottom: 1px solid var(--grid); }
.nu-row.with-check { grid-template-columns: 44px minmax(0, 1fr); margin-left: -8px; }
.nu-row:last-child { border-bottom: 0; }
.nu-what { display: grid; gap: 2px; min-width: 0; line-height: 1.35; }
.nu-title { font-weight: 700; overflow-wrap: anywhere; }
.nu-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 5px; font-size: 14px; color: var(--muted); }
.nu-meta .soon { color: var(--text); background: var(--warn-bg); border-radius: 6px; padding: 0 5px; }
.nu-meta .done-note { color: var(--link); font-weight: 700; }
.nu-row.done .nu-title, .nu-row.gone .nu-title, tr.done td { color: var(--muted); }
th.done-col, td.done-col { width: 44px; padding: 0 4px; text-align: center; vertical-align: middle; }
button.check { width: 44px; height: 44px; min-height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--on-accent); cursor: pointer; }
button.check > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--muted); transition: background-color .15s, border-color .15s; }
button.check svg { width: 16px; height: 16px; opacity: 0; }
button.check path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
button.check:hover > span { border-color: var(--accent); }
button.check[aria-pressed="true"] > span { background: var(--accent); border-color: var(--accent); }
button.check[aria-pressed="true"] svg { opacity: 1; }
.seg { display: inline-flex; gap: 0; margin: 0 0 10px; }
.seg .seg-btn { border-radius: 0; }
.seg .seg-btn:first-child { border-radius: 10px 0 0 10px; }
.seg .seg-btn:last-child { border-radius: 0 10px 10px 0; margin-left: -1px; }
.seg .seg-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
button.check:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mark-status { margin: 6px 0 0; font-size: 14px; color: var(--link); }
.mark-status:empty { display: none; }
@media (prefers-reduced-motion: reduce) { button.check > span { transition: none; } }
@media (max-width: 560px) {
  .card.next-up { padding: 4px 12px; }
  .card.next-up .nu-table { display: none; }
  .card.next-up .nu-list { display: block; }
  .card.next-up .mark-status { margin: 0; padding: 4px 0 10px; }
}
.badge.said-done { background: var(--good-bg); color: var(--good); margin-left: 8px; white-space: nowrap; }
.badge.warn { background: var(--warn-bg); color: var(--text); }
/* Skipped work (docs/adr/0027): a quiet Skip on each Next up row, the Skipped list at the bottom,
   the notes, and the dialog that asks for a note. */
.badge.skipped { background: var(--grid); color: var(--muted); border: 1px dashed var(--line); }
.nu-row.with-skip { grid-template-columns: 44px minmax(0, 1fr); margin-left: -8px; }
.nu-row.with-check.with-skip { grid-template-columns: 44px 44px minmax(0, 1fr); gap: 4px; }
/* Skip matches the Done check: the same round button, with two arrows always showing. */
button.skipper svg { opacity: 1; color: var(--muted); }
button.skipper:hover svg { color: var(--accent); }
button.skipper:disabled { cursor: not-allowed; opacity: 0.35; }
button.skipper:disabled:hover > span { border-color: var(--muted); }
button.skip { min-height: 44px; padding: 4px 12px; font-size: 14px; }
.skip-note { margin: 2px 0 0; font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }
.skipped-block { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.skipped-block h3 { font-size: 18px; }
.skipped-head { display: flex; align-items: center; gap: 12px; }
.skipped-block > p { margin: 2px 0 4px; font-size: 14px; }
.skipped-list { list-style: none; margin: 0; padding: 0; }
.skipped-list .nu-title { color: var(--text-2); }
/* How Done and Skip work, at the top of Next up. Each line starts with a copy of its button. */
.how-to { list-style: none; margin: 4px 0 8px; padding: 10px 12px; display: grid; gap: 8px; background: var(--bg); border-radius: 12px; }
.how-to li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; }
.how-to p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.how-to b { color: var(--text); }
.how-to li.tagged { grid-template-columns: minmax(0, 1fr); }
.badge.said-done.how-tag { margin-left: 0; }
.check.how-icon { width: 32px; height: 32px; min-height: 32px; display: grid; place-items: center; }
.check.how-icon > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--muted); }
.check.how-icon svg { width: 14px; height: 14px; opacity: 1; color: var(--muted); }
.check.how-icon path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.skipped-list .nu-row { grid-template-columns: minmax(0, 1fr) auto; margin-left: 0; }
.skip-dialog { width: min(480px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--surface); color: var(--text); }
.skip-dialog::backdrop { background: rgba(0, 0, 0, 0.4); }
.skip-dialog h2 { font-size: 20px; overflow-wrap: anywhere; }
.skip-dialog label { display: grid; gap: 6px; margin-top: 12px; font-weight: 700; }
.skip-dialog textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; resize: vertical; }
.skip-problem { margin: 6px 0 0; color: var(--bad); font-size: 14px; }
.skip-problem:empty { display: none; }
.skip-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.swatch { width: 10px; height: 10px; border-radius: 3px; flex: none; display: inline-block; }
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; overflow: visible; touch-action: pan-y; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--text-2); margin-bottom: 8px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.axis text { fill: var(--muted); font-size: 13px; }
.axis line, .gridline { stroke: var(--grid); stroke-width: 1; }
.target { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.target-label { fill: var(--muted); font-size: 13px; }
.trend { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.trend-area { fill: var(--accent); opacity: 0.1; }
.potential { fill: var(--accent); opacity: 0.25; }
.potential-cap { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.below .potential { fill: var(--bad); }
.below .potential-cap { stroke: var(--bad); }
.range-note { font-size: 14px; margin: 6px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.range-key { flex: none; width: 10px; height: 14px; margin-top: 3px; border-radius: 3px; background: var(--accent); opacity: 0.35; }
.below .range-key { background: var(--bad); }
.badge.zero { margin-left: 8px; white-space: nowrap; }
.badge.ask-now { margin-left: 8px; white-space: nowrap; }
.pick-cell { width: 44px; }
input.pick { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.ask-bar { margin-top: 10px; flex-wrap: wrap; }
button:disabled { opacity: 0.5; cursor: default; }
.drafts > p { margin: 12px 0 0; font-size: 15px; }
.draft-panel { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.draft-panel h3 { font-size: 16px; margin: 0 0 6px; }
textarea.draft:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.draft { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; line-height: 1.45; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); resize: vertical; }
.draft-actions { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.below .trend { stroke: var(--bad); }
.below .trend-area { fill: var(--bad); }
.cross { stroke: var(--text-2); stroke-width: 1; }
.dot { stroke: var(--surface); stroke-width: 2; }
.layer { stroke: var(--surface); stroke-width: 1.5; }
.bar { stroke: var(--surface); stroke-width: 2; }
.weekend { fill: var(--grid); opacity: 0.6; }
.busy-label { fill: var(--text); font-size: 14px; font-weight: 600; }
.end-label { fill: var(--text); font-size: 14px; font-weight: 600; }
.fill-s1 { fill: var(--s1); } .fill-s2 { fill: var(--s2); } .fill-s3 { fill: var(--s3); } .fill-s4 { fill: var(--s4); }
.fill-s5 { fill: var(--s5); } .fill-s6 { fill: var(--s6); } .fill-s7 { fill: var(--s7); } .fill-s8 { fill: var(--s8); }
.bg-s1 { background: var(--s1); } .bg-s2 { background: var(--s2); } .bg-s3 { background: var(--s3); } .bg-s4 { background: var(--s4); }
.bg-s5 { background: var(--s5); } .bg-s6 { background: var(--s6); } .bg-s7 { background: var(--s7); } .bg-s8 { background: var(--s8); }
.tip {
  position: fixed; z-index: 10; pointer-events: none; max-width: 280px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 10px; font-size: 14px; box-shadow: 0 6px 24px rgb(0 0 0 / 0.14);
}
.tip strong { display: block; margin-bottom: 2px; }
.tip .row { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.tip .row span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.tip .row b { font-variant-numeric: tabular-nums; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 14px; }
.day h3 { font-size: 14px; color: var(--text-2); margin-bottom: 6px; }
.item { display: flex; gap: 8px; align-items: baseline; font-size: 16px; padding: 3px 0; }
.item .swatch { transform: translateY(1px); }
.item .pts { margin-left: auto; color: var(--muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-weight: 600; color: var(--text-2); font-size: 14px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 9px 10px; border-bottom: 1px solid var(--grid); vertical-align: top; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.gone td { color: var(--muted); }
details { margin-top: 10px; font-size: 14px; color: var(--text-2); }
summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
summary { cursor: pointer; }
.signin { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px 16px; }
.signin .brand { margin-bottom: 8px; }
.signin .card { width: 100%; max-width: 380px; display: grid; gap: 10px; }
.signin .center { text-align: center; font-size: 15px; }
.signin .center a { color: var(--link); }
.signin form.stack { display: grid; gap: 10px; }
.signin form.resend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.signin .form-status { color: var(--text-2); font-weight: 700; }
.signin label { font-size: 14px; color: var(--text-2); margin-top: 6px; }
.signin input { font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
footer.legal { max-width: 1088px; margin: 0 auto; padding: 16px 16px 32px; text-align: center; color: var(--muted); font-size: 14px; }
.help-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; }
.help-links a { color: var(--link); }
.form-error { color: var(--bad); font-size: 14px; }
.field-error { display: block; color: var(--bad); font-size: 14px; font-weight: 700; }
input[aria-invalid="true"] { border-color: var(--bad); outline-color: var(--bad); }
.signin label.agree, .setup label.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.signin label.agree input, .setup label.agree input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.agree-links { margin: 0 0 0 30px; font-size: 14px; }
/* The Terms step at first sign in (dashboard/pages.ts termsPage): Continue looks and acts
   disabled until the box is checked. The box is required and the server checks it too. */
.signin form:has(input[name=agree]:not(:checked)) button[type=submit] { opacity: 0.5; pointer-events: none; cursor: not-allowed; }
.signin a.button { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.form-note { color: var(--good); font-size: 14px; }
.setup { max-width: 480px; margin: 0 auto; padding: 24px 16px 40px; display: grid; gap: 16px; }
.setup .row-top { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.setup a.button { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.setup a.button.quiet { background: transparent; color: var(--text-2); border: 1px solid var(--line); font-weight: 500; }
.setup fieldset { border: 1px solid var(--line); margin: 0; padding: 20px 22px; gap: 4px; }
.setup fieldset legend { float: left; width: 100%; padding: 0; margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.setup .step { font-size: 14px; color: var(--muted); }
.setup form, .setup .card { display: grid; gap: 10px; }
.setup label { font-size: 14px; font-weight: 600; }
/* Pause until a day (docs/adr/0023): the optional day and the button in their own tinted box, so
   the day reads as part of pausing (Rik, 2026-11-08). */
.setup form.pause { background: var(--grid); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; gap: 8px; }
.setup form.pause .pause-title { margin: 0; font-weight: 700; }
.setup form.pause label { display: grid; gap: 6px; font-weight: 400; }
.setup form.pause p.muted { margin: 0; font-size: 14px; }
.setup form.pause input { background: var(--surface); }
.setup input, .setup select, .setup textarea { font: inherit; min-height: 44px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.setup ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
/* The numbered steps in a box (Connect Canvas): the numbers sit inside the border, with room between steps. */
.setup ol.card { padding: 20px 22px 20px 46px; gap: 14px; line-height: 1.55; }
.setup ol.card > li { padding-left: 6px; }
.setup ol.card .fields { margin: 6px 0; padding-left: 18px; display: grid; gap: 4px; }
.setup ol.card > li::marker { color: var(--accent); font-weight: 700; }
.setup button { min-height: 44px; }
.setup .choice { display: flex; gap: 12px; align-items: center; min-height: 44px; font-weight: 400; font-size: 16px; padding: 8px 0; }
.setup .choice input { min-height: 0; width: 20px; height: 20px; margin: 0; flex: none; }
.person { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.person:first-of-type { border-top: 0; padding-top: 0; }
.person .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.person .who { display: grid; }
button.danger { background: transparent; color: var(--text); border: 2px solid #f2b53a; }
a.quiet-link { color: var(--muted); font-size: 14px; }
.person .edit { display: flex; gap: 16px; font-size: 14px; }
.person .role { font-size: 14px; color: var(--muted); }
.person .num { font-variant-numeric: tabular-nums; color: var(--text-2); font-size: 14px; }
.verified { color: var(--good); font-weight: 600; font-size: 14px; }
.setup label.agree { font-size: 14px; font-weight: 400; color: var(--text-2); }
.setup .later { text-align: center; }
.waiting { color: var(--muted); font-size: 14px; }
.setup textarea { min-height: 140px; resize: vertical; }
.setup ul.rule { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.setup blockquote { margin: 0; padding-left: 12px; border-left: 3px solid var(--line); color: var(--text-2); white-space: pre-wrap; }
.loading { padding: 40px 0; }
div.loading { display: grid; gap: 14px; max-width: 360px; }
/* While the dashboard loads: a bar that slides until Canvas answers. */
.progress { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress span { display: block; width: 40%; height: 100%; border-radius: 3px; background: var(--accent); animation: progress 1.3s ease-in-out infinite; }
.busy { margin-top: 12px; }
@keyframes progress { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .progress span { animation: none; width: 100%; opacity: 0.5; } }
footer { margin: 36px auto 40px; font-size: 14px; }
@media (max-width: 560px) {
  h1 { font-size: 21px; }
  .kpi .value { font-size: 28px; }
  .classes { grid-template-columns: 1fr; }
}
