:root{--bg:#fff;--surface:#f3f5f8;--text:#1a1a1a;--muted:#5b6470;--border:#d5dae1;--accent:#1f4e79;--accent-text:#fff;--error:#b3261e;--ok:#1b6e3a;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--bg:#121418;--surface:#1d2127;--text:#e8eaed;--muted:#a0a8b3;--border:#353b44;--accent:#6fa8dc;--accent-text:#0b1520;--error:#f2b8b5;--ok:#8fd6a5}}*{box-sizing:border-box}body{background:var(--bg);margin:0}main{max-width:40rem;margin:0 auto;padding:1rem}h1{margin:.5rem 0 .25rem;font-size:1.5rem}h2{margin:1.5rem 0 .25rem;font-size:1.15rem}.lede,.hint{color:var(--muted);margin:0 0 1rem}.search{gap:.75rem;display:grid;position:relative}label{margin-bottom:.25rem;font-size:.85rem;font-weight:600;display:block}input{width:100%;font:inherit;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:.5rem;padding:.7rem .75rem;font-size:1rem}input:focus{outline:2px solid var(--accent);outline-offset:1px}.station{position:relative}.suggestions{overscroll-behavior:contain;z-index:10;background:var(--bg);border:1px solid var(--border);border-radius:.5rem;max-height:60vh;margin:.25rem 0 0;padding:.25rem 0;list-style:none;position:absolute;left:0;right:0;overflow-y:auto;box-shadow:0 6px 20px #00000026}.suggestions li{cursor:pointer;justify-content:space-between;padding:.6rem .75rem;display:flex}.suggestions li[aria-selected=true],.suggestions li:hover{background:var(--surface)}.suggestions .note{color:var(--muted);font-size:.875em}.crs{color:var(--muted);font-variant-numeric:tabular-nums}button{font:inherit;color:inherit;cursor:pointer}.swap{border:1px solid var(--border);background:var(--surface);border-radius:50%;justify-self:end;width:2.5rem;height:2.5rem;margin:-.5rem 0}.primary{background:var(--accent);color:var(--accent-text);border:0;border-radius:.5rem;padding:.8rem;font-weight:600}.primary:disabled{opacity:.5;cursor:default}.recent ul,.journeys,.calls{margin:0;padding:0;list-style:none}.recent button{text-align:left;border:0;border-bottom:1px solid var(--border);background:0 0;width:100%;padding:.6rem 0}.journey{border-bottom:1px solid var(--border)}.journey>button{text-align:left;background:0 0;border:0;grid-template-columns:1fr auto;gap:.15rem 1rem;width:100%;padding:.8rem 0;display:grid}.times{font-variant-numeric:tabular-nums;font-size:1.1rem;font-weight:600}.duration{text-align:right;font-variant-numeric:tabular-nums}.meta{color:var(--muted);grid-column:1/-1;font-size:.9rem}.calls{background:var(--surface);border-radius:.5rem;margin:0 0 .8rem;padding:.5rem .75rem}.calls li{gap:1rem;padding:.2rem 0;display:flex}.call-time{font-variant-numeric:tabular-nums;color:var(--muted)}.error{color:var(--error)}footer{color:var(--muted);margin-top:3rem;font-size:.85rem}.ticket{background:var(--surface);border-radius:.5rem;gap:.75rem;margin:1rem 0;padding:.75rem;display:grid}.ticket .hint{margin:0}select{width:100%;font:inherit;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:.5rem;padding:.7rem .75rem;font-size:1rem}.segmented{border:1px solid var(--border);border-radius:.5rem;grid-template-columns:1fr 1fr;display:grid;overflow:hidden}.segmented button{background:var(--bg);border:0;padding:.55rem}.segmented button[aria-pressed=true]{background:var(--accent);color:var(--accent-text);font-weight:600}.segmented.trip{margin-top:1.5rem}.half{margin:0}.with-clear{gap:.5rem;display:flex}.with-clear .clear{border:1px solid var(--border);background:var(--surface);border-radius:.5rem;flex:none;width:2.75rem}.check{align-items:center;gap:.5rem;margin:0;font-size:1rem;font-weight:400;display:flex}.check input{width:1.1rem;height:1.1rem}.validity{grid-column:1/-1;font-size:.9rem;font-weight:600}.validity.ok{color:var(--ok)}.validity.no{color:var(--error)}.reason{color:var(--muted);font-weight:400;display:block}.journey.invalid .times{color:var(--muted)}.leg-title,.change{margin:.25rem 0;font-size:.9rem}.leg-title{justify-content:space-between;gap:1rem;font-weight:600;display:flex}.leg-title a{color:var(--accent);font-weight:400}.platform{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:.85rem}.change{color:var(--muted);border-left:3px dotted var(--border);padding:.25rem 0 .25rem .75rem}
