.skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }.skip-link:focus-visible { position: fixed; top: 8px; left: 8px; z-index: 10; width: auto; height: auto; padding: 10px 12px; border-radius: 6px; background: var(--navy, #16233f); color: #fff; font-weight: 750; text-decoration: none; clip-path: none; outline: 3px solid var(--coral, #ff6b4a); outline-offset: 2px; }
/* Day planner. Token fallbacks mirror public/tokens.css so this page also
   works on branches where tokens.css has not landed yet. */
:root {
  color: var(--navy, #16233f);
  background: var(--bg, #faf7f2);
  font-family: var(--font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}
* { box-sizing: border-box; }
body { margin: 0; padding: 16px; }
main { max-width: 640px; margin: 0 auto; }
header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0 24px; }
.brand { color: var(--coral, #ff6b4a); font-size: 14px; font-weight: 850; letter-spacing: .05em; text-decoration: none; }
.brand span { padding: 2px 6px; border-radius: 5px; color: #fff; background: var(--coral-cta, #c93a1d); font-size: 10px; }
.back { color: var(--navy, #16233f); font-size: 13px; font-weight: 750; text-underline-offset: 3px; }
.kicker { margin: 0 0 6px; color: var(--coral-cta, #c93a1d); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
h1 { margin: 0; font-size: clamp(30px, 7vw, 47px); letter-spacing: -.045em; }
h2 { font-size: 20px; letter-spacing: -.025em; margin: 26px 0 10px; }
.lead, .note { color: var(--muted, #5a6a86); line-height: 1.5; }
.note { font-size: 13px; }
.controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 6px; padding: 18px; border: 1px solid var(--line, #e5e0d5); border-radius: 14px; background: #fff; }
.controls label { display: grid; gap: 5px; color: var(--body, #43516a); font-size: 12px; font-weight: 700; }
.controls select, .controls input { min-height: 44px; width: 100%; border: 1px solid var(--line-cool, #d8dee9); border-radius: 8px; padding: 8px; color: var(--navy, #16233f); background: #fff; font: inherit; }
button { min-height: 44px; border: 0; border-radius: 8px; padding: 9px 16px; background: var(--coral-cta, #c93a1d); color: #fff; font-weight: 700; cursor: pointer; }
button.secondary { background: #fff; color: var(--navy, #16233f); border: 1px solid var(--line-cool, #d8dee9); }
.summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.summary .stat { padding: 8px 10px; border-radius: 8px; background: var(--panel, #edf3f6); font-size: 13px; font-weight: 700; }
.summary .stat.warn { background: var(--alert-bg, #fff4f0); color: var(--alert-ink, #703528); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stop { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px; border: 1px solid var(--line, #e5e0d5); border-radius: 12px; background: #fff; }
.stop.done { opacity: .55; }
.stop .when { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 800; }
.stop .when small { display: block; color: var(--muted, #5a6a86); font-weight: 600; }
.stop h3 { margin: 0; font-size: 15px; }
.stop .meta { margin: 4px 0 0; color: var(--muted, #5a6a86); font-size: 12px; line-height: 1.5; }
.stop .flags { margin: 6px 0 0; font-size: 12px; font-weight: 700; color: var(--alert-ink, #703528); }
.stop .actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.stop .actions button { min-height: 44px; min-width: 44px; padding: 6px 10px; }
.chip { display: inline-block; padding: 1px 7px; border: 1px solid var(--line-cool, #d8dee9); border-radius: 999px; font-size: 11px; font-weight: 700; }
.chip.low { color: var(--ok, #177a41); } .chip.mid { color: var(--warn, #96690a); } .chip.high { color: var(--bad, #d43a2a); }
.catalog { display: grid; gap: 8px; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px; border: 1px solid var(--line, #e5e0d5); border-radius: 12px; background: #fff; }
.item h3 { margin: 0; font-size: 14px; }
.item .meta { grid-column: 1; color: var(--muted, #5a6a86); font-size: 12px; line-height: 1.45; }
.item button { grid-row: 1 / span 2; }
#suggestions .item { border-color: var(--coral, #ff6b4a); }
footer { margin: 34px 0 8px; color: var(--muted, #5a6a86); font-size: 12px; line-height: 1.55; }
@media (max-width: 520px) { .controls { grid-template-columns: 1fr; } .stop { grid-template-columns: 74px 1fr; } }
