/* Grok Bot Start Here: single stylesheet (screen + print). */
:root {
  --ink: #1b1f24; --muted: #57606b; --bg: #fbfaf7; --card: #fff; --line: #dcd8cf;
  --accent: #1f5f8b; --accent-ink: #fff; --warn-bg: #fff4d6; --warn: #6b4800;
  --ok: #1e6b3a; --bad: #9b1c1c;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.55; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem; z-index: 10; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 1rem 1.25rem; }
main.wrap { padding-top: 2rem; padding-bottom: 3rem; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; }
.site-nav a { margin-left: 1rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer .nav-links a { margin-right: 1rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: .2em 0 .4em; }
h2 { font-size: 1.3rem; margin: .2em 0 .5em; }
.lede { font-size: 1.15rem; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; margin: 1rem 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--muted); margin: 0 0 .25rem; }
.meta, .small, .checked { color: var(--muted); font-size: .92rem; }
.stale { background: var(--warn-bg); color: var(--warn); padding: .4rem .6rem; border-radius: 6px; }
.pending { color: var(--muted); font-style: italic; }
.notice { background: #eef4f8; border-left: 4px solid var(--accent); padding: .6rem .8rem; }
.error { color: var(--bad); font-weight: 600; }
.status-ok { color: var(--ok); font-weight: 600; }
.disclaimer { color: var(--muted); font-size: .9rem; }
.button, button { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 8px; padding: .65rem 1rem; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; margin: .15rem 0; }
.button.secondary, button.secondary { background: #e3ebf2; color: var(--accent); }
button[disabled] { opacity: .5; cursor: not-allowed; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.25rem; margin: 1rem 0; background: #fff; }
legend { font-weight: 700; padding: 0 .3rem; }
.choice { display: block; padding: .35rem 0; }
.choice input { margin-right: .5rem; }
label.field { display: block; margin: 1rem 0 .25rem; font-weight: 600; }
input[type=text], input[type=email], select, textarea { width: 100%; padding: .55rem; border: 1px solid #b9b4a8; border-radius: 6px; font: inherit; background: #fff; }
textarea { min-height: 10rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.plan-days { list-style: none; padding: 0; margin: 0; }
.day { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1rem; margin: .7rem 0; break-inside: avoid; page-break-inside: avoid; }
.day.safety { border-left: 4px solid var(--warn); }
.day-title { font-size: 1.05rem; margin: 0 0 .3rem; }
.day-title input { width: 1.1rem; height: 1.1rem; margin-right: .4rem; vertical-align: -.15rem; }
.timebox { font-size: .85rem; color: var(--muted); margin: .1rem 0 .4rem; }
.stretch { font-style: italic; }
.brief h2 { margin-top: 1.4rem; }
.print-only { display: none; }

@media print {
  @page {
    margin: 16mm 14mm 18mm;
    @bottom-center { content: "Page " counter(page) " of " counter(pages); font-size: 9pt; color: #444; }
  }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer .nav-links, .toolbar, .no-print, .skip, button { display: none !important; }
  .print-only { display: block; }
  .wrap { max-width: none; padding: 0; }
  .card, .day { border: 1px solid #999; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
  .day-title input { -webkit-appearance: none; appearance: none; border: 1.5px solid #000; width: 12pt; height: 12pt; }
  .day-title input:checked { background: #000; }
}
