@font-face {
  font-family: Geist;
  src: url("/geist.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #f8f7f7;
  --surface: #fff;
  --ink: #24201e;
  --muted: #625955;
  --line: #e7e1dd;
  --rule: #eee9e6;
  --control: #d1c7c1;
  --input-line: #998b84;
  --track: #f0eae7;
  --accent: #c9321b;
  --accent-hover: #a82a17;
  --flame: #d83718;
  --accent-ink: #862b1c;
  --tint: #fff1ec;
  --tint-strong: #f8d9cf;
  --forecast-bg: #fbf8f6;
  --comparison: #514b48;
  --forecast-actual: #6f6864;
  --radius: 12px;
  --control-radius: 7px;
  --gap: 16px;
  --pad: 20px;
  --page: 1200px;
  --font: Geist, "Hiragino Sans", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  font: 14px/1.5 var(--font);
  font-synthesis: none;
  background: var(--ground);
  color: var(--ink);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p, ol, ul { margin: 0; }
button, input, select { font: inherit; }
button { color: inherit; }
button:not(:disabled), summary { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
input { caret-color: var(--accent); }
::selection { color: var(--ink); background: var(--tint-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(calc(100% - 64px), var(--page)); margin-inline: auto; }
.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand, .topbar-end { display: flex; align-items: center; gap: 12px; }
.brand { font-weight: 700; white-space: nowrap; }
.brand img { flex: none; }
.connection, .demo-label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.connection i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--muted); }
.connection[data-state="live"] i { background: var(--accent); }
.demo-label { padding: 2px 6px; background: var(--tint); color: var(--accent-ink); border-radius: 4px; }

.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-block: 24px 18px; }
h1 { font-size: 26px; line-height: 1.3; font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: 17px; line-height: 1.4; font-weight: 700; letter-spacing: -.012em; }
h3 { font-size: 13px; line-height: 1.5; font-weight: 700; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; }
.muted, .micro, .unit { color: var(--muted); }
.micro { font-size: 12px; }
.figure, .num, time, input[type="number"] { font-variant-numeric: tabular-nums; }
.figure { letter-spacing: -.035em; white-space: nowrap; }
.unit { font-size: 12px; font-weight: 500; margin-inline-start: 4px; letter-spacing: 0; white-space: nowrap; }
.missing { color: var(--muted); font-size: 14px !important; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.button, .icon-button {
  min-height: 38px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--control);
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
}
.button:hover:not(:disabled), .icon-button:hover:not(:disabled) { background: var(--track); }
.button:active:not(:disabled), .icon-button:active:not(:disabled) { border-color: var(--input-line); }
.button.primary { border-color: var(--accent); background: var(--accent); color: var(--surface); }
.button.primary:hover:not(:disabled) { border-color: var(--accent-hover); background: var(--accent-hover); }
.button.subtle, .button.small { min-height: 34px; padding-inline: 10px; }
.share-button { background: transparent; }
.icon-button { width: 40px; padding: 0; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.access { padding: var(--pad); }
.access p, .access button { margin-top: 8px; }
.scoreboard {
  display: grid;
  grid-template-columns: 1.06fr 1.12fr .94fr 1.04fr;
  align-items: stretch;
  overflow: clip;
  margin-bottom: var(--gap);
}
.scoreboard > div { min-width: 0; padding: 14px var(--pad); }
.scoreboard > div + div { border-inline-start: 1px solid var(--line); }
.gap-cell { background: var(--tint); }
.score-label { font-size: 13px; font-weight: 650; }
.gap-line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 9px; }
.gap-line .figure { font-size: 37px; line-height: 1.16; font-weight: 630; }
.gap-line .unit { color: var(--accent-ink); }
#gap-status { color: var(--accent-ink); font-size: 12px; white-space: nowrap; }
.gap-cell .micro { color: var(--accent-ink); margin-top: 4px; }
.score-cell { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.side-label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; }
.side-label::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--flame); }
.away .side-label::before { background: none; border: 1.5px solid var(--comparison); border-radius: 50%; }
.team-name { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; line-height: 1.38; }
.team-numbers { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.team-numbers strong { font-size: 24px; font-weight: 620; line-height: 1.1; }
.course-cell { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.course-heading, .course-labels { display: flex; justify-content: space-between; align-items: baseline; gap: 5px; }
.course-heading { font-size: 13px; font-weight: 650; }
.course-heading strong { font-size: 20px; font-weight: 620; }
.course-labels { color: var(--muted); font-size: 11px; }
#course svg { display: block; width: 100%; height: 17px; }
.tick { fill: var(--track); }
.tick.past { fill: var(--tint-strong); }
.tick.current { fill: var(--flame); }

.board-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .51fr); gap: var(--gap); }
.board-column { display: grid; align-content: start; gap: var(--gap); min-width: 0; }
.board-column > section { padding: var(--pad); }
.forecast { min-width: 0; }
#forecast-end { text-align: right; }
.chart-tabs { margin-top: 8px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 5px 13px; margin-top: 10px; }
.chart-key { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.legend-line { width: 18px; border-top: 2px solid var(--flame); }
.legend-line.daily-away, .legend-line.trend-away { border-top-style: dashed; border-color: var(--comparison); }
.legend-line.daily-base { border-top-style: dotted; border-color: var(--muted); }
.chart-note { margin-top: 7px; font-size: 12px; }
.scenarios { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; border-block: 1px solid var(--line); }
.scenario { padding: 10px 10px 11px 0; min-width: 0; }
.scenario + .scenario { padding-inline: 16px 0; border-inline-start: 1px solid var(--line); }
.scenario-title { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; }
.scenario-line { display: inline-block; width: 17px; flex: none; border-top: 2px dashed var(--flame); }
.scenario.actual .scenario-line { border-color: var(--forecast-actual); }
.scenario-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 7px; margin-block: 3px; }
.scenario-result strong { font-size: 26px; line-height: 1.25; font-weight: 640; }
.scenario-result > span { font-size: 12px; }
.scenario.plan .scenario-result strong[data-crossing] { color: var(--accent-ink); }
.scenario-end { color: var(--muted); font-size: 12px; white-space: nowrap; }
.chart { position: relative; margin-top: 12px; border-radius: var(--control-radius); min-width: 0; }
.chart-plot { display: block; width: 100%; height: auto; }
.chart-empty { margin-top: 7px; font-size: 13px; }
.plot-background { fill: var(--forecast-bg); }
.gridline { stroke: var(--line); }
.zero-line { stroke: var(--input-line); }
.goal-line { stroke: var(--accent-ink); stroke-dasharray: 4 4; opacity: .65; }
.goal-label { fill: var(--accent-ink); }
.date-divider { stroke: var(--control); stroke-dasharray: 3 3; }
.axis-tick { fill: var(--muted); font: 11px var(--font); font-variant-numeric: tabular-nums; }
.plot-series { fill: none; stroke-linejoin: round; stroke-linecap: round; stroke-width: 2; }
.plot-series.record { stroke: var(--ink); }
.plot-series.actual { stroke: var(--forecast-actual); stroke-dasharray: 3 5; }
.plot-series.plan { stroke: var(--flame); stroke-dasharray: 8 5; stroke-width: 2.5; }
.plot-series.daily-home, .plot-series.trend-home { stroke: var(--flame); }
.plot-series.daily-away, .plot-series.trend-away { stroke: var(--comparison); stroke-dasharray: 7 4; }
.plot-series.daily-base { stroke: var(--input-line); stroke-dasharray: 2 4; }
.plot-origin { fill: var(--ink); }
.plot-origin.daily-home, .plot-origin.trend-home { fill: var(--flame); }
.plot-origin.daily-away, .plot-origin.trend-away { fill: var(--surface); stroke: var(--comparison); stroke-width: 1.7; }
.crossing-point { fill: var(--surface); stroke: var(--flame); stroke-width: 2; }
.crossing-point.actual { stroke: var(--forecast-actual); }
.chart-guide { stroke: var(--input-line); stroke-dasharray: 2 3; pointer-events: none; }
.chart-tooltip {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  z-index: 1;
  padding: 7px 10px;
  border: 1px solid var(--control);
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
}

.strategy { display: flex; flex-direction: column; }
.required-band { margin-top: 10px; padding: 10px 13px; border-radius: 8px; background: var(--tint); color: var(--accent-ink); }
.required-meta { font-size: 12px; font-weight: 650; }
.required-number { display: block; font-size: 36px; font-weight: 650; line-height: 1.2; }
.required-number .unit { color: inherit; }
.required-number.state { margin-block: 4px; font-size: 19px; letter-spacing: -.02em; white-space: normal; }
#required-detail { margin-top: 3px; font-size: 12px; }
#use-required { margin-top: 8px; }
.pace-pair { margin-block: 9px 12px; }
.pace-table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.pace-table :is(th, td) { text-align: right; padding: 2px 0 2px 4px; font-size: 12px; }
.pace-table :is(th, td):first-child { padding-inline-start: 0; width: 29%; text-align: left; }
.pace-table th { color: var(--muted); font-weight: 500; }
.pace-table td { font-size: 15px; font-weight: 610; }
.pace-table .unit { font-size: 11px; }
.pace-caption { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.official-readings { padding-top: 10px; border-top: 1px solid var(--line); }
.official-readings h3 { margin-bottom: 5px; }
.official-reading { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; font-size: 12px; }
.official-reading .num { color: var(--muted); white-space: nowrap; }
.track-background { fill: var(--track); }
.track-value { fill: var(--flame); }
.inline-action { min-height: 32px; display: inline-flex; align-items: center; gap: 4px; border: 0; padding: 0; background: transparent; font-weight: 600; }
.inline-action .icon { width: 13px; height: 13px; }
.inline-action:hover:not(:disabled) { color: var(--accent-ink); text-decoration: underline; text-underline-offset: .23em; }
.inline-action:disabled .icon { display: none; }

.assignment-summary { margin-top: 9px; }
.assignment-figures { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 13px; font-size: 13px; }
.assignment-figures .figure { font-size: 24px; font-weight: 650; margin-inline-start: 4px; }
#tomorrow-extra { color: var(--accent-ink); font-weight: 650; }
#tomorrow-context { margin-top: 3px; font-size: 12px; }
.assignment-warning { margin-top: 6px; color: var(--accent-ink); font-size: 13px; }
.assignment-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 10px 3px; }
#assignment-estimate { margin-top: 5px; }
.assign-table, .history-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: 6px; }
.assign-table th, .assign-table td, .history-table th, .history-table td { padding: 8px 4px; text-align: right; vertical-align: middle; }
.assign-table th, .history-table th { font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.assign-table :is(th, td):first-child, .history-table :is(th, td):first-child { padding-left: 0; text-align: left; }
.assign-table :is(th, td):last-child, .history-table :is(th, td):last-child { padding-right: 0; }
.assign-table thead th:first-child { width: 22%; }
.assign-table thead th:last-child { width: 12%; }
.assign-table[data-day="tomorrow"] th:first-child { width: 29%; }
.assign-table:is([data-day="tomorrow"], [data-day="goals"]) th:last-child { width: 26%; }
.assign-table tbody tr, .history-table tbody tr { border-top: 1px solid var(--rule); }
.assign-table td, .history-table td { font-size: 13px; line-height: 1.45; }
.assign-table[data-day="tomorrow"] td { padding-block: 6px; }
.assign-table .member-name { font-weight: 650; overflow-wrap: anywhere; }
.assign-table .is-goal { font-weight: 700; font-size: 15px; }
.assign-table .is-extra { color: var(--accent-ink); font-weight: 650; }
.assign-table .total-row { border-color: var(--line); font-weight: 650; }
.assign-table .mobile-label { display: none; }
.assign-table .row-value { white-space: nowrap; }
.assign-table .unrecorded { color: var(--muted); }
.segmented { display: inline-flex; padding: 4px; background: var(--track); border-radius: 8px; min-width: 0; }
.segmented button {
  min-height: 30px;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
  font-size: 12px;
}
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 650; border-color: var(--line); }
.segmented button:hover:not([aria-pressed="true"]) { color: var(--ink); background: var(--surface); }
.ranking-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 10px 7px; }
.rank-list { list-style: none; padding: 0; }
.rank-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 42px; border-top: 1px solid var(--rule); }
.rank-list .rank { color: var(--muted); font-size: 12px; }
.rank-list .rank-name { overflow-wrap: anywhere; font-size: 13px; }
.rank-list .rank-steps { font-size: 14px; font-weight: 620; }
.rank-bar { display: block; width: 100%; height: 2px; margin-top: 4px; }
.rank-bar.away .track-value { fill: var(--comparison); }
.empty-row { border-block-start: 1px solid var(--line); padding-block: 10px; }

.board-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .51fr); gap: var(--gap); margin-block: var(--gap) 32px; align-items: start; }
details > summary { padding-block: 10px; font-weight: 650; }
.board-footer > details > summary { padding: 12px var(--pad); }
.board-footer .history-inner, .board-footer .method ul { padding: 0 var(--pad) var(--pad); }
.board-footer .method ul { padding-inline-start: calc(var(--pad) + 18px); font-size: 13px; color: var(--muted); }
.board-footer li + li { margin-top: 8px; }
.history-table td { overflow-wrap: anywhere; }
.history-table td .button { min-height: 30px; padding-inline: 8px; }
.history-value { display: block; }
.history-value + .history-value { color: var(--muted); font-size: 12px; }
.history-table :is(th, td):first-child { width: 19%; }
.history-table :is(th, td):last-child { width: 18%; }
.daily-schedule { margin-top: 8px; padding-top: 4px; border-top: 1px solid var(--line); }
.daily-schedule > summary { font-size: 13px; }
.history-table.daily-table :is(th, td):last-child { width: 37%; }

dialog { width: min(calc(100% - 28px), 620px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); overflow: hidden; }
dialog::backdrop { background: rgb(36 32 30 / .5); }
dialog[open], dialog form { display: flex; flex-direction: column; }
dialog form { min-height: 0; }
.compact-dialog { max-width: 480px; }
.dialog-head, .dialog-foot { flex: none; padding: 12px 18px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); }
.dialog-body { overflow: auto; padding: 14px 18px 18px; }
.dialog-foot { display: flex; flex-direction: column; align-items: start; gap: 7px; border-top: 1px solid var(--line); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; align-self: end; }
.dialog-body :is(input[type="number"], input[type="date"], input[type="url"], select) {
  min-width: 0; width: 100%; min-height: 40px; padding: 7px 9px;
  border: 1px solid var(--input-line); border-radius: var(--control-radius); color: var(--ink); background: var(--surface); font-size: 16px;
}
.dialog-body input[type="number"] { text-align: right; }
.dialog-body input::placeholder { color: var(--muted); opacity: 1; }
.field { display: grid; gap: 5px; color: var(--ink); font-size: 13px; font-weight: 600; }
.record-body .date-input { max-width: 210px; }
.entry-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-block: 10px 12px; }
.entry-tabs button { min-height: 40px; border: 0; border-bottom: 2px solid var(--line); background: transparent; font-size: 14px; font-weight: 650; }
.entry-tabs button[aria-pressed="true"] { color: var(--accent-ink); border-color: var(--accent); }
.entry-tabs button:hover { background: var(--tint); }
.entry-grid, .member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.entry-note { margin-bottom: 12px; font-size: 13px; }
.entry-members { margin-top: 11px; border-top: 1px solid var(--rule); }
.entry-members summary { color: var(--ink); font-size: 13px; }
.entry-members .field { font-weight: 500; }
.form-error { color: var(--accent-ink); font-size: 13px; }
.plan-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; border-radius: 8px; background: var(--tint); color: var(--accent-ink); margin-bottom: 14px; font-size: 12px; }
.plan-preview strong { display: block; font-size: 18px; font-weight: 650; }
.plan-preview .plan-shortfall { display: block; font-weight: 650; }
.plan-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 10px; }
.goal-note { margin-top: 6px; font-size: 12px; }
.plan-opponent { margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); }
.plan-opponent h3 { font-size: 15px; margin-bottom: 8px; }
.plan-note { margin-block: 12px 6px; font-size: 13px; }
.growth-fields { margin-top: 10px; }
#away-growth-preview { margin-top: 7px; }
.away-overrides, .plan-checkpoint { margin-top: 10px; padding-top: 4px; border-top: 1px solid var(--line); }
.away-overrides .plan-note, .plan-checkpoint .plan-note { margin-top: 0; }
#checkpoint-field .field { max-width: 210px; }
.forecast-dates { display: flex; flex-wrap: wrap; gap: 6px; }
.forecast-dates:not(:empty) { margin-top: 9px; }
.forecast-dates .button { font-variant-numeric: tabular-nums; }
#allocation-field { margin-bottom: 9px; }
.weights-hint, .share-hint { font-size: 13px; margin-bottom: 10px; }
.weight-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(50px, .78fr) minmax(61px, .92fr) minmax(57px, .8fr); gap: 6px 9px; align-items: center; font-size: 13px; }
.weight-grid[data-mode="equal"] { grid-template-columns: minmax(0, 1.2fr) minmax(61px, .92fr) minmax(57px, .8fr); }
.weight-grid[data-mode="manual"] { grid-template-columns: minmax(0, 1.2fr) minmax(62px, .92fr) minmax(62px, .92fr) minmax(56px, .8fr); }
.weight-grid .grid-head { text-align: right; color: var(--muted); font-size: 12px; }
.weight-grid .grid-head:first-child { text-align: left; }
.weight-grid .person { overflow-wrap: anywhere; font-weight: 650; }
.weight-grid .no-share { display: block; font-size: 11px; font-weight: 500; }
.weight-grid .preview-goal { text-align: right; font-weight: 650; }
.weight-feedback { margin-block: 9px; padding-block: 7px; border-block: 1px solid var(--line); }
.weight-total { font-weight: 650; }
.weight-warning { color: var(--accent-ink); margin-top: 3px; font-size: 13px; }
.toast { position: fixed; z-index: 2; inset-inline-end: 20px; bottom: 18px; max-width: calc(100% - 40px); border-radius: 8px; background: var(--ink); color: var(--surface); padding: 10px 14px; font-size: 13px; }

@media (max-width: 1020px) {
  .wrap { width: calc(100% - 40px); }
  .board-grid, .board-footer { grid-template-columns: minmax(0, 1fr) minmax(278px, .65fr); }
  :root { --pad: 16px; }
  .scoreboard { grid-template-columns: 1.03fr 1.12fr .95fr .91fr; }
}
@media (max-width: 820px) {
  .board-grid, .board-footer { grid-template-columns: minmax(0, 1fr); }
  .scoreboard { grid-template-columns: 1fr 1fr; }
  .scoreboard > div { padding: 10px var(--pad); }
  .scoreboard .course-cell { grid-column: 2; grid-row: 1; }
  .scoreboard .home { grid-row: 2; border-inline-start: 0; }
  .scoreboard .score-cell { border-top: 1px solid var(--line); }
  .gap-line .figure { font-size: 33px; }
  .required-band { padding-block: 9px; }
}
@media (max-width: 520px) {
  :root { --pad: 13px; --gap: 12px; }
  .wrap { width: calc(100% - 32px); }
  .topbar-inner { min-height: 53px; }
  .brand, .topbar-end { gap: 6px; }
  .brand { font-size: 13px; }
  .brand img { width: 25px; height: 25px; }
  .connection, .demo-label { font-size: 11px; }
  .connection { gap: 4px; }
  .share-button { padding-inline: 7px; font-size: 12px; }
  .share-button .icon { width: 14px; height: 14px; }
  .page-heading { margin-block: 15px 12px; gap: 8px; }
  h1 { font-size: 20px; }
  h2 { font-size: 16px; }
  .button, .icon-button, .button.small, .button.subtle, .history-table td .button { min-height: 44px; }
  .button { padding-inline: 9px; }
  .icon-button { width: 44px; }
  .course-heading strong { font-size: 18px; }
  .course-heading, .score-label { font-size: 12px; }
  .gap-line { column-gap: 4px; }
  .gap-line .figure { font-size: 30px; }
  #gap-status { font-size: 11px; }
  .team-numbers strong { font-size: 21px; }
  .team-name { font-size: 12px; }
  .scenario + .scenario { padding-inline-start: 10px; }
  .scenario-title { font-size: 12px; gap: 5px; }
  .scenario-result strong { font-size: 22px; }
  .scenario-end { font-size: 11px; }
  .chart { margin-top: 9px; }
  .assign-table[data-day="today"] thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .assign-table[data-day="today"], .assign-table[data-day="today"] tbody { display: block; }
  .assign-table[data-day="today"] tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content max-content;
    grid-template-areas: "name goal left" "pace actual load";
    align-items: baseline;
    gap: 3px 9px;
    padding: 8px 0;
  }
  .assign-table[data-day="today"] :is(td, td:first-child, td:last-child) { padding: 0; font-size: 12px; }
  .assign-table[data-day="today"] .member-name { grid-area: name; text-align: left; font-size: 14px; }
  .assign-table[data-day="today"] td:nth-child(2) { grid-area: pace; text-align: left; }
  .assign-table[data-day="today"] td:nth-child(3) { grid-area: goal; font-size: 14px; }
  .assign-table[data-day="today"] td:nth-child(4) { grid-area: actual; }
  .assign-table[data-day="today"] td:nth-child(5) { grid-area: left; }
  .assign-table[data-day="today"] td:nth-child(6) { grid-area: load; }
  .assign-table[data-day="today"] .mobile-label { display: inline; margin-right: 4px; color: var(--muted); font-weight: 500; font-size: 11px; }
  .assign-table[data-day="tomorrow"] th { font-size: 11px; }
  .record-body .date-input { max-width: none; }
  .segmented button, .entry-tabs button, .away-overrides summary, .plan-checkpoint summary, .daily-schedule summary { min-height: 44px; }
  .inline-action { min-height: 44px; }
  .weight-grid input[type="number"] { appearance: textfield; padding-inline: 7px; }
  .weight-grid .grid-head { font-size: 11px; white-space: nowrap; }
  .weight-grid input::-webkit-inner-spin-button, .weight-grid input::-webkit-outer-spin-button { appearance: none; }
  .segmented button { padding-inline: 6px; }
  .history-table th { font-size: 11px; }
  .history-table :is(th, td):last-child { width: 48px; }
  .dialog-head, .dialog-foot, .dialog-body { padding-inline: 13px; }
  .dialog-body :is(input[type="number"], input[type="date"], input[type="url"], select) { min-height: 44px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 22px); }
  .topbar-end { gap: 4px; }
  .brand img { width: 21px; height: 21px; }
  .connection i { display: none; }
  h1 { font-size: 20px; }
  .gap-line .figure { font-size: 27px; }
  .forecast .section-head { gap: 5px; }
  .forecast .section-head .micro { font-size: 11px; }
  .assign-table tr { column-gap: 5px; }
  .assign-table[data-day="tomorrow"] td { font-size: 12px; }
  .assign-table[data-day="tomorrow"] .is-goal { font-size: 13px; }
  .away-overrides .plan-fields { grid-template-columns: minmax(142px, 1.2fr) minmax(0, 1fr); }
  .weight-grid { column-gap: 5px; }
  .weight-grid input[type="number"] { padding-inline: 4px; }
}
