:root {
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  --display: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --paper: #f3f1e9;
  --paper-bright: #fbfaf5;
  --ink: #17201f;
  --muted: #68726e;
  --line: rgba(23, 32, 31, .18);
  --line-strong: rgba(23, 32, 31, .42);
  --glacier: #b8c9c8;
  --orange: #df5a2f;
  --space: clamp(18px, 4vw, 38px);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); color: var(--ink); }
body { margin: 0; min-height: 100vh; background: var(--paper); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--ink); color: var(--paper-bright); }
.skip-link:focus { top: 12px; }
.topbar { max-width: var(--max); margin: 0 auto; padding: calc(22px + env(safe-area-inset-top)) var(--space) 18px; display: flex; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line-strong); }
.masthead h1 { display: flex; align-items: baseline; gap: 11px; margin: 4px 0 0; font: 700 clamp(35px, 6vw, 58px)/.84 var(--display); letter-spacing: -.06em; }
.masthead h1 span { font: 650 13px/1.1 "Avenir Next", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { margin: 0; font-size: 10px; letter-spacing: .22em; font-weight: 800; color: var(--orange); }
.theme-switcher { display: grid; grid-template-columns: 1fr 1fr; min-width: 230px; border: 1px solid var(--line-strong); flex: 0 0 auto; }
.theme-switcher button { min-height: 52px; border: 0; border-right: 1px solid var(--line-strong); padding: 7px 20px; background: transparent; color: inherit; cursor: pointer; }
.theme-switcher button:last-child { border-right: 0; }
.theme-switcher button span, .theme-switcher button small { display: block; }
.theme-switcher button span { font-weight: 750; }
.theme-switcher button small { margin-top: 2px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; opacity: .58; }
.theme-switcher button[aria-pressed="true"] { background: var(--ink); color: var(--paper-bright); }
.theme-switcher button:focus-visible, .route-link:focus-visible, .day-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--orange) 70%, transparent); outline-offset: 3px; }
.access-strip { max-width: var(--max); margin: 0 auto; padding: 10px var(--space) 11px; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font: 700 9px/1.3 "Avenir Next", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
#app { max-width: var(--max); margin: 0 auto; padding: 0 var(--space) calc(64px + env(safe-area-inset-bottom)); }
.stack { display: grid; gap: 16px; }
.stack > * { min-width: 0; }
.grid { display: grid; gap: 16px; }
.state-card { max-width: 100%; padding: 56px 24px; text-align: center; border-bottom: 1px solid var(--line-strong); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.section-title h2, .section-title h3 { margin: 0; font: 700 clamp(25px, 4vw, 38px)/1 var(--display); letter-spacing: -.035em; }
.section-title span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.muted { color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: 0; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px 5px 0; margin-right: 10px; color: var(--muted); font-size: 12px; font-weight: 650; }
.chip + .chip::before { content: "/"; margin-right: 10px; color: var(--orange); }
.route-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 9px 15px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.route-link:hover { background: var(--ink); color: var(--paper-bright); }
.plain-list { margin: 0; padding-left: 1.2rem; display: grid; gap: 10px; line-height: 1.65; }
.alert-list { display: grid; gap: 0; }
.alert { padding: 15px 0; border-top: 1px solid var(--line); line-height: 1.65; }
.day-button { width: 100%; min-height: 72px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.day-panel[hidden] { display: none; }
.day-panel { padding: 2px 54px 24px 68px; line-height: 1.65; }
.bilingual-copy { display: grid; gap: 12px; margin: 0 0 18px; }
.day-copy-row { margin: 0; }
.language-label { display: inline-block; min-width: 42px; margin-right: 10px; color: var(--orange); font: 800 9px/1.2 "Avenir Next", sans-serif; letter-spacing: .13em; text-transform: uppercase; vertical-align: .12em; }
.day-copy-en { color: var(--muted); font-size: .94em; }
.weather-card { margin: 18px 0 20px; padding: 16px; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper-bright) 72%, transparent); }
.weather-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 12px; }
.weather-head strong { font-size: 12px; }
.weather-head span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.weather-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.weather-fact { min-width: 0; padding: 10px 10px 0 0; }
.weather-fact span, .weather-fact strong { display: block; }
.weather-fact span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.weather-fact strong { margin-top: 3px; font-size: 13px; overflow-wrap: anywhere; }
.weather-empty, .weather-stale { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.weather-stale { margin-top: 12px; color: var(--orange); }
.weather-card.compact { margin-top: 14px; }
.theme-view[hidden] { display: none; }
.utility-section { margin-top: 44px; padding: 28px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong); }
.quick-group { margin-top: 26px; }
.quick-group:first-of-type { margin-top: 4px; }
.quick-group-title { margin: 0 0 10px; color: var(--orange); font: 800 10px/1.2 "Avenir Next", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.quick-list { display: grid; border-top: 1px solid var(--line-strong); }
.quick-row { display: grid; grid-template-columns: minmax(110px, .32fr) minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.quick-label { font-size: 13px; }
.quick-value { min-width: 0; line-height: 1.55; overflow-wrap: anywhere; }
.quick-status { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.quick-row.needs-check .quick-status { color: var(--orange); }
.empty { padding: 22px; text-align: center; color: var(--muted); }
@media (max-width: 680px) {
  .topbar { align-items: stretch; flex-direction: column; padding-top: calc(18px + env(safe-area-inset-top)); }
  .masthead h1 { font-size: 42px; }
  .theme-switcher { width: 100%; min-width: 0; }
  .access-strip { align-items: flex-start; flex-direction: column; gap: 4px; }
  .day-panel { padding-left: 50px; padding-right: 0; }
  .language-label { display: block; margin: 0 0 5px; }
  .weather-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .weather-head span { white-space: normal; }
  .weather-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-row { grid-template-columns: 1fr; gap: 5px; }
  .quick-status { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
