:root {
  --ink: #17333b; --navy: #123c4a; --cream: #fff7df; --paper: #f6e8bd;
  --turquoise: #2b9c98; --mustard: #efb83f; --coral: #df604b; --muted: #62767a;
  --shadow: 0 8px 0 rgba(23, 51, 59, .14); --radius: 18px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.45 system-ui, sans-serif; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .18; background-image: radial-gradient(#765 0.5px, transparent 0.5px); background-size: 5px 5px; }
.masthead, main, footer { width: min(1100px, calc(100% - 28px)); margin-inline: auto; position: relative; }
.masthead { display: flex; align-items: center; gap: 16px; padding: 28px 0 18px; }
.brand-mark { width: 52px; height: 52px; display: grid; place-items: center; border: 5px solid var(--cream); outline: 3px solid var(--navy); border-radius: 50%; color: var(--coral); background: repeating-linear-gradient(45deg,var(--turquoise) 0 8px,var(--cream) 8px 16px); }
h1, h2, p { margin-top: 0; } h1 { margin-bottom: 0; font: 900 clamp(1.65rem, 5vw, 2.7rem)/1 Georgia, serif; }
h2 { margin-bottom: 8px; font: 900 1.7rem/1.1 Georgia, serif; }
.eyebrow { margin-bottom: 5px; font-size: .73rem; font-weight: 900; letter-spacing: .13em; }
.status-pill { margin-left: auto; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream); font-weight: 800; font-size: .8rem; }
.status-pill.current { background: #b9dbb2; } .status-pill.partial { background: var(--mustard); } .status-pill.unavailable { background: #ddd3c5; }
.hero-card, .card { background: var(--cream); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card { text-align: center; padding: 26px; margin: 10px 0 20px; background: var(--turquoise); color: white; }
.hero-card h2 { font-size: clamp(2.1rem, 7vw, 4rem); margin-bottom: 4px; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { padding: 22px; min-width: 0; } .wide { grid-column: 1 / -1; }
.card-heading { display: flex; justify-content: space-between; gap: 12px; align-items: start; border-bottom: 3px double var(--ink); margin-bottom: 16px; }
.primary-reading { font-size: 1.15rem; } .temperature { font: 900 3rem/1 Georgia, serif; margin-right: 10px; }
.weather-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--mustard); border: 3px solid var(--ink); display: block; position: relative; }
.weather-icon[class*="rain"], .weather-icon[class*="shower"], .weather-icon.drizzle { background: #8fc9da; }
.weather-icon.unknown { background: #c8d3cf; }
.weather-icon.cloudy, .weather-icon.overcast, .weather-icon.fog, .weather-icon.mist { background: #c8d3cf; }
.weather-icon[class*="night"] { background: var(--navy); }
.forecast-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; overflow-x: auto; }
.forecast-item { padding: 8px; text-align: center; border-left: 1px solid #c7bfa8; font-size: .82rem; }
.forecast-item:first-child { border-left: 0; } .forecast-item strong { display: block; font-size: 1.15rem; }
.departure { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #c7bfa8; }
.departure:last-child { border-bottom: 0; } .departure-time { font-weight: 900; font-variant-numeric: tabular-nums; }
.destination { min-width: 0; } .destination strong, .destination small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { font-size: .68rem; font-weight: 900; padding: 4px 6px; border-radius: 5px; background: #ddd3c5; text-transform: uppercase; }
.badge.live, .badge.on_time { background: #b9dbb2; } .badge.delayed { background: var(--mustard); } .badge.cancelled { color: white; background: var(--coral); }
.updated { margin: 14px 0 0; color: var(--muted); font-size: .78rem; } .updated.stale { color: #943b30; font-weight: 800; }
.placeholder, .empty { color: var(--muted); padding-block: 8px; }
.information { margin: 24px 0; border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--cream); }
details { padding: 0 18px; border-bottom: 1px solid #c7bfa8; } details:last-child { border-bottom: 0; }
summary { padding: 14px 0; cursor: pointer; font-weight: 900; } details p { max-width: 78ch; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0 32px; color: var(--muted); font-size: .8rem; }
.transport-icon { width: 54px; height: 38px; border: 3px solid var(--ink); border-radius: 8px 8px 4px 4px; background: var(--coral); position: relative; }
.transport-icon::before { content: ""; position: absolute; left: 8px; right: 8px; top: 7px; height: 10px; background: var(--cream); border: 2px solid var(--ink); }
.transport-icon::after { content: "●  ●"; position: absolute; top: 20px; left: 7px; letter-spacing: 13px; font-size: 10px; }
.transport-icon.train { background: var(--turquoise); border-radius: 12px 12px 4px 4px; }
@media (max-width: 700px) { .dashboard-grid { grid-template-columns: 1fr; } .wide { grid-column: auto; } .masthead { flex-wrap: wrap; } .status-pill { width: 100%; margin: 0; text-align: center; } footer { display: block; } }
@media (max-width: 380px) { .forecast-row { grid-template-columns: repeat(4, 82px); } .departure { grid-template-columns: 52px minmax(0,1fr) auto; } }


.skip-link { position: absolute; top: -100px; left: 14px; z-index: 10; padding: 12px; background: var(--cream); color: var(--ink); }
.skip-link:focus { top: 8px; }
a { color: var(--navy); text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.intro { color: #435d62; margin: 4px 0 24px; font-size: 1.1rem; }
.queue-section { margin: 32px 0; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shop-grid h3 { margin-top: 0; font: 900 1.4rem/1.2 Georgia, serif; }
.shop-grid .badge { display: inline-block; margin-bottom: 10px; }
.shop-grid p:last-child { margin-bottom: 0; }
.notice { padding: 16px; background: var(--cream); border: 3px solid var(--ink); border-radius: var(--radius); }
.updated { color: #4d6165; }
@media (max-width: 700px) { .shop-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
