:root{--bg:#f6f7f3;--paper:#fff;--ink:#21392f;--muted:#79847b;--green:#3b6551;--line:#e4e8df;--soft:#edf2e8;--amber:#956b2c;font-family:Pretendard,-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans KR',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #91b59d;outline-offset:3px}button{border:0}button:active:not(:disabled){transform:translateY(1px)}.demo-banner{background:#fff0cf;color:#745320;padding:12px;text-align:center;font-size:13px;border-block:1px solid #edd9a4}main{max-width:1040px;margin:auto;padding:0 32px}.hero{text-align:center;padding:65px 0 32px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:650;color:var(--muted);margin:0 0 15px}.hero .eyebrow{letter-spacing:.8px;font-size:12px;display:flex;align-items:center;justify-content:center;gap:8px}.hero h1{font-size:46px;letter-spacing:-2.5px;line-height:1.36;font-weight:650;margin:23px 0}.hero h1 span{color:#6d856a}.hero p{font-size:15px;color:var(--muted);line-height:1.9}.hero-line{display:flex;align-items:center;justify-content:center;gap:12px;margin:32px auto 0;color:#9ba794;font-size:11px}.hero-line i{width:80px;border-top:1px dashed #cbd3c4}.hero-line b{font-size:20px;font-weight:400}.search-card{max-width:560px;margin:12px auto 60px;padding:32px;background:var(--paper);border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 40px #25352305}.card-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:25px;margin-bottom:24px;border-bottom:1px solid var(--line)}.card-heading .eyebrow{font-size:9px;margin-bottom:10px}.card-heading h2{font-size:22px;letter-spacing:-.8px;margin:0;font-weight:650}.pill{font-size:11px;background:var(--soft);color:var(--green);padding:7px 10px;border-radius:6px;white-space:nowrap}.pill.positive{background:#e2efdf}.station-row{display:grid;grid-template-columns:1fr 36px 1fr;gap:12px;align-items:end}.station-row label{min-width:0}.swap{width:34px;height:46px;border:1px solid var(--line);background:white;border-radius:8px;font-size:22px;color:var(--muted)}label,legend{display:block;font-size:12px;font-weight:600;color:#526052}input:not([type=radio]),select{width:100%;height:47px;padding:11px 13px;background:#fcfdfa;border:1px solid #dfe5d9;border-radius:8px;color:var(--ink);margin-top:9px;font-size:14px}input:focus,select:focus{border-color:#88a083}input[type=date],input[type=time]{min-width:0}.form-row{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;margin:23px 0}fieldset{border:0;padding:0;margin:24px 0}legend{padding:0;margin-bottom:0}.time-row{display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.time-row>span{padding-top:9px}.field-hint{font-size:11px;color:#929a8e;margin:9px 0 0}.seat-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:10px}.seat-options label{position:relative;cursor:pointer}.seat-options input{position:absolute;opacity:0;width:1px;height:1px}.seat-options span{display:block;text-align:center;padding:13px 4px;border:1px solid var(--line);border-radius:8px;font-size:12px;font-weight:450;color:#828a7d}.seat-options input:checked+span{background:var(--soft);border-color:#8fa184;color:var(--green);font-weight:650}.seat-options input:focus-visible+span{outline:3px solid #91b59d;outline-offset:2px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--green);color:white;padding:14px 20px;border-radius:8px;font-size:13px;font-weight:550;transition:background .2s}.primary:hover{background:#2f533f}.full{width:100%;justify-content:flex-end;font-size:14px;padding:17px 19px;margin-top:3px}.form-note{text-align:center;font-size:11px;color:var(--muted);margin:15px 0 0}.how-it-works{display:grid;grid-template-columns:repeat(3,1fr);max-width:690px;margin:auto;text-align:center;gap:20px}.step{font-size:11px;background:#e9ede3;color:#708065;border-radius:50%;width:30px;height:30px;display:inline-grid;place-items:center}.how-it-works h3{font-size:14px;font-weight:600;margin:16px 0 10px}.how-it-works p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.fine-print{text-align:center;font-size:11px;line-height:1.85;color:#92988e;margin:38px auto 55px;max-width:760px}.error-box{padding:14px;background:#fff1e8;color:#94542e;font-size:13px;border-radius:8px;margin-bottom:22px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.watch-heading{max-width:780px;margin:48px auto 26px}.watch-heading h1{font-size:39px;letter-spacing:-1.8px;margin:12px 0 16px;font-weight:650}.route-arrow{color:#9fab94;font-weight:400;margin:0 8px}.watch-heading>p:last-child{font-size:13px;color:#75816e;line-height:1.9}.divider{margin:0 10px;color:#b6bfaf}#watch-app{max-width:780px;margin:auto}.monitor-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:29px}.monitor-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.connection{font-size:11px;color:var(--muted)}.monitor-card h2{font-size:23px;font-weight:600;letter-spacing:-.8px;margin:0 0 10px}.monitor-card>p{font-size:13px;color:var(--muted);line-height:1.8}.sound-panel{margin-top:26px;background:#f5f7f0;border-radius:10px;padding:19px;display:flex;align-items:center;justify-content:space-between;gap:18px}.sound-panel strong{font-size:13px;font-weight:600}.sound-panel p{font-size:11px;line-height:1.7;color:var(--muted);margin:6px 0 0}.sound-panel button{flex-shrink:0;font-size:12px}.monitor-meta{display:flex;align-items:center;justify-content:space-between;margin-top:22px;font-size:11px;color:var(--muted);gap:12px}.text-button{padding:5px 0;font-size:11px;color:var(--green);background:none}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:31px 0 16px}.section-heading h2{font-size:17px;font-weight:600;letter-spacing:-.5px;margin:0}.section-heading>span{font-size:11px;color:var(--muted)}.table-wrapper{border:1px solid var(--line);border-radius:12px;background:white;overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:11px;color:var(--muted);font-weight:500;background:#fafbf7;padding:16px 20px}td{padding:19px 20px;font-size:13px;border-top:1px solid var(--line)}td strong{display:block;font-size:12px;font-weight:600}.train-number{display:block;font-size:10px;color:var(--muted);margin-top:5px}.schedule{font-variant-numeric:tabular-nums;letter-spacing:.4px}.seat-state{font-size:11px;display:inline-block}.seat-state.available{color:#2b713e;background:#eaf4e6;border-radius:5px;padding:6px 8px}.seat-state.sold_out,.seat-state.unavailable{color:#929889}.seat-state.unknown{color:var(--amber)}.empty-state{text-align:center;color:var(--muted);padding:40px 12px;font-size:12px}.arrival-alert{background:#eaf3e4;border:1px solid #abc39b;border-radius:12px;padding:24px;margin-top:22px}.arrival-alert strong{font-size:17px}.arrival-alert p{font-size:13px;line-height:1.8}.arrival-alert button{margin-left:20px}.arrival-alert[hidden]{display:none}.history-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}.history-list li{padding:15px 2px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.8;color:var(--muted);display:flex;gap:20px}.history-list time{white-space:nowrap;font-variant-numeric:tabular-nums}.watch-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:30px}.watch-bottom p{font-size:11px;line-height:1.9;color:var(--muted)}.secondary{background:transparent;border:1px solid #d6ddd0;border-radius:7px;padding:11px 15px;font-size:12px;color:var(--muted);white-space:nowrap}@media(max-width:600px){main{padding:0 20px}.hero{padding-top:37px}.hero h1{font-size:35px;letter-spacing:-1.7px}.hero p{font-size:13px}.search-card{padding:24px 20px;border-radius:16px;margin-bottom:40px}.card-heading h2{font-size:20px}.station-row{gap:8px;grid-template-columns:1fr 30px 1fr}.swap{width:30px}.time-row{gap:7px}.time-row input{padding:10px 7px;font-size:13px}.form-row{gap:12px}.how-it-works{gap:10px}.how-it-works h3{font-size:12px}.how-it-works p{font-size:10px}.fine-print{font-size:10px;line-height:1.9;margin-bottom:35px}.watch-heading{margin-top:28px}.watch-heading h1{font-size:32px}.watch-heading>p:last-child{font-size:11px}.divider{margin:0 5px}.monitor-card{padding:21px 18px}.monitor-card h2{font-size:20px}.monitor-card>p{font-size:12px}.sound-panel{flex-direction:column;align-items:stretch;padding:16px;gap:15px}.monitor-meta{align-items:flex-start;font-size:10px}.text-button{font-size:10px;white-space:nowrap;padding:0}.connection{font-size:10px}th,td{padding:14px 10px;font-size:11px}th:first-child,td:first-child{padding-left:14px}.schedule{letter-spacing:0}.seat-state{font-size:10px}.seat-state.available{padding:5px}.arrival-alert{padding:20px}.watch-bottom{align-items:flex-start}.watch-bottom p{margin:0;font-size:10px}.history-list li{gap:12px;font-size:11px}}

/* Compact registration form and optional time strip. */
.compact-card{margin:24px auto 20px;padding:28px;box-shadow:none}
.compact-card .card-heading{margin-bottom:23px;padding-bottom:20px}
.compact-card h1{margin:0;font-size:22px;font-weight:650;letter-spacing:-.7px}
.compact-card .form-row{margin:22px 0}
.compact-card fieldset{margin:22px 0}
.compact-note{margin:0 auto 32px;max-width:540px}
.time-inputs{display:grid;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);gap:10px;align-items:start;margin-top:12px}
.time-input>label{font-size:11px;font-weight:450;color:var(--muted)}
.time-input>input{margin-top:7px;font-variant-numeric:tabular-nums}
.time-separator{padding-top:35px;text-align:center;color:var(--muted)}
.time-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:32px;padding:8px 0 2px;color:var(--green);background:transparent;font-size:11px;text-align:left}
.time-toggle[aria-expanded=true]{font-weight:650}
.time-toggle span{font-size:16px;line-height:1}
.time-toggle[aria-expanded=true] span{transform:rotate(180deg)}
.time-picker{border:1px solid var(--line);border-radius:10px;background:#fafbf7;margin-top:12px;padding:13px 10px 10px}
.time-picker-heading{display:flex;justify-content:space-between;gap:12px;padding:0 3px 9px;font-size:11px;color:var(--muted)}
.time-picker-heading>span:first-child{color:var(--green);font-weight:600}
.time-carousel{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;gap:5px;align-items:center}
.time-scroll{height:42px;color:var(--green);background:transparent;font-size:24px;border-radius:6px}
.time-scroll:hover{background:var(--soft)}
.time-options{position:relative;display:flex;gap:7px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#c8d2c2 transparent;padding:3px 2px 7px;overscroll-behavior-x:contain}
.time-option{flex:0 0 66px;height:38px;scroll-snap-align:center;border:1px solid #dfe5d9;border-radius:7px;background:white;color:#53634d;font-size:12px;font-variant-numeric:tabular-nums}
.time-option[aria-pressed=true]{background:var(--green);border-color:var(--green);color:white}
.time-option:disabled{opacity:.4}
.time-picker[hidden],.time-toggle[hidden],.field-error[hidden]{display:none}
.field-error{font-size:11px;color:#94542e;margin:9px 0 0;line-height:1.6}
.time-input input[aria-invalid=true]{border-color:#bb8765}
@media(max-width:600px){.compact-card{margin-top:12px;padding:22px 18px}.compact-card h1{font-size:20px}.compact-card .card-heading{padding-bottom:18px;margin-bottom:20px}.time-inputs{gap:7px}.time-input>input{padding-inline:9px}.compact-card .field-hint{line-height:1.7}.compact-note{padding:0 8px;margin-bottom:24px}}

.train-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:10px}
.train-options label{position:relative;cursor:pointer;min-width:0}
.train-options input{position:absolute;opacity:0;width:1px;height:1px}
.train-options label>span{display:block;padding:12px 3px;border:1px solid var(--line);border-radius:8px;text-align:center;font-size:12px;font-weight:450;color:#828a7d}
.train-options input:checked+span{background:var(--soft);border-color:#8fa184;color:var(--green);font-weight:650}
.train-options input:focus-visible+span{outline:3px solid #91b59d;outline-offset:2px}
.legend-hint{font-size:10px;color:var(--muted);font-weight:400;margin-left:8px}
.train-option-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;font-size:10px;color:var(--muted)}
#select-all-trains[hidden]{display:none}
a.seat-state.available{border:1px solid #acc69f;white-space:nowrap}
a.seat-state.available:hover{background:#dcecd5;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.train-options{gap:5px}.train-options label>span{font-size:11px;padding:12px 2px}}

/* Home hero and usage steps (no site header/footer). */
.hero{padding:56px 0 8px}
.hero h1{margin:0}
.hero h1 span{display:block;font-size:16px;letter-spacing:-.3px;font-weight:500;margin-top:12px}
.hero>p{margin:18px 0 0}
.hero-figure{margin:28px auto 0;max-width:420px}
.hero-figure img{display:block;width:100%;height:auto;border-radius:12px}
.how-to{max-width:560px;margin:32px auto 8px;text-align:center}
.how-to h2{font-size:17px;font-weight:600;letter-spacing:-.5px;margin:0 0 18px}
.how-it-works{grid-template-columns:repeat(2,1fr);list-style:none;padding:0;margin:0 auto;text-align:left}
.how-it-works li{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:18px}
.how-it-works p{margin:10px 0 0;font-size:13px}
@media(max-width:600px){.hero{padding-top:36px}.hero h1 span{font-size:14px}.how-it-works{grid-template-columns:1fr}.how-to{margin-top:30px}}
.meta-lines{display:flex;flex-direction:column;gap:5px;font-variant-numeric:tabular-nums}
.meta-lines span[hidden]{display:none}
.connection.live::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#4f9a5f;margin-right:6px;animation:pulse 2s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.25}}
@media(prefers-reduced-motion:reduce){.connection.live::before{animation:none}}
.arrival-alert{display:grid;grid-template-columns:132px minmax(0,1fr);gap:22px;align-items:center}
.alert-figure{width:100%;height:auto;border-radius:10px}
.alert-body strong{display:block}
.not-found{max-width:520px;margin:60px auto 40px;text-align:center}
.not-found img{width:min(100%,300px);height:auto;border-radius:12px}
.not-found h1{font-size:26px;letter-spacing:-1px;font-weight:650;margin:26px 0 10px}
.not-found p{font-size:14px;color:var(--muted);line-height:1.8;margin:0 0 26px}
@media(max-width:600px){.arrival-alert{grid-template-columns:1fr;justify-items:center;text-align:center}.alert-figure{max-width:150px}.alert-body{width:100%}.not-found{margin-top:36px}.not-found h1{font-size:22px}}

/* Operator dashboard. Aggregates only; no watch tokens or personal links. */
.dash{max-width:900px;margin:44px auto 60px}
.dash-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.dash-head h1{font-size:30px;letter-spacing:-1.2px;font-weight:650;margin:0}
.dash-badge{flex-shrink:0;font-size:12px;font-weight:650;padding:9px 14px;border-radius:8px;background:#e2efdf;color:#2b713e}
.dash-badge.warn{background:#fff0cf;color:var(--amber)}
.dash-badge.blocked,.dash-badge.critical{background:#fbe4dc;color:#9a4326}
.dash-time{font-size:11px;color:var(--muted);margin:14px 0 0;font-variant-numeric:tabular-nums}
.dash-alert{background:#fbe4dc;border:1px solid #e0b3a2;border-radius:12px;padding:20px;margin-top:24px}
.dash-alert strong{font-size:14px}
.dash-alert p{font-size:12px;line-height:1.8;color:#7c4c37;margin:8px 0 0}
.dash-section{font-size:15px;font-weight:600;letter-spacing:-.4px;margin:34px 0 14px}
.dash-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}
.dash-stat{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:16px}
.dash-stat.flag{border-color:#e0b3a2;background:#fffaf8}
.dash-stat span{display:block;font-size:11px;color:var(--muted);font-family:ui-monospace,monospace;overflow-wrap:anywhere}
.dash-stat strong{display:block;font-size:26px;font-weight:650;letter-spacing:-1px;margin:8px 0 5px;font-variant-numeric:tabular-nums}
.dash-guide{margin-top:16px;padding:18px 20px;border-left:2px solid var(--line);font-size:12px;line-height:1.85}
.dash-guide h3{font-size:12px;margin:0 0 12px;font-weight:650}
.dash-guide dl{display:grid;grid-template-columns:minmax(130px,180px) minmax(0,1fr);gap:12px 20px;margin:0}
.dash-guide dt{font-weight:600;font-family:ui-monospace,monospace;overflow-wrap:anywhere}
.dash-guide dd{margin:0;color:var(--muted);overflow-wrap:anywhere}
.dash-guide p{margin:14px 0 0;color:var(--muted)}
@media(max-width:600px){.dash-guide{padding:14px}.dash-guide dl{grid-template-columns:1fr;gap:4px}.dash-guide dt:not(:first-child){margin-top:12px}}
.dash-lists{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.dash-list{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:16px}
.dash-list h3{font-family:ui-monospace,monospace;overflow-wrap:anywhere;font-size:11px;font-weight:600;color:var(--muted);margin:0 0 10px}
.dash-list ol{list-style:none;padding:0;margin:0;counter-reset:rank}
.dash-list li{counter-increment:rank;position:relative;display:flex;align-items:baseline;gap:8px;padding:7px 0;font-size:12px;border-top:1px solid var(--line)}
.dash-list li:first-child{border-top:0}
.dash-list li::before{content:counter(rank);font-size:10px;color:#9aa294;min-width:9px}
/* Only the poll_tiers table is laid out single-column, and its six nowrap columns are wider than a
   phone. Let it scroll inside its own card rather than pushing the whole page sideways. */
.dash-lists.single{grid-template-columns:1fr}
.dash-lists.single .dash-list{overflow-x:auto}
.dash-bar{height:4px;background:var(--soft);border-radius:2px;overflow:hidden;margin-top:2px}
/* Empty until dashboard.js sets the width: a bar with no width at all would fill its track. */
.dash-bar i{display:block;width:0;height:100%;background:var(--green)}
.dash-bar i.warn{background:var(--amber)}
.dash-bar i.over{background:#a2543c}
.dash-rank{position:absolute;left:0;top:4px;bottom:4px;width:0;background:var(--soft);border-radius:4px}
/* The rank bar is painted first, so the text above it has to be positioned to stay on top. */
.dash-list li span,.dash-list li b,.dash-list li::before{position:relative;z-index:1}
.dash-delay{position:absolute;right:0;bottom:2px;width:0;height:2px;background:#c3b291;border-radius:1px}
.dash-delay.over{background:#a2543c}
.dash-chart{position:relative;height:220px;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:14px;margin-top:10px}
@media(max-width:600px){.dash-chart{height:190px;padding:10px}}
.dash-table{width:100%;border-collapse:collapse;font-size:12px}
.dash-table th{font-family:ui-monospace,monospace;font-size:10px;font-weight:600;color:var(--muted);text-align:right;padding:0 0 7px}
.dash-table td{position:relative;padding:7px 0;border-top:1px solid var(--line);text-align:right;font-variant-numeric:tabular-nums}
.dash-table th:first-child,.dash-table td:first-child{text-align:left}
.dash-table th+th,.dash-table td+td{padding-left:10px}
.dash-table td.flag{color:#a2543c;font-weight:650}
.dash-list li span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dash-list li b{font-weight:650;font-variant-numeric:tabular-nums}
.dash-empty{font-size:11px;color:var(--muted);margin:0}
.dash-note{font-size:11px;line-height:1.9;color:var(--muted);margin:16px 0 0}
.dash-note code{font-size:10px;background:var(--soft);border-radius:4px;padding:2px 5px}
@media(max-width:600px){.dash{margin-top:26px}.dash-head h1{font-size:24px}.dash-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}.dash-stat{padding:13px}.dash-stat strong{font-size:22px}.dash-lists{grid-template-columns:1fr}.dash-list{padding:13px}}

.holiday-notice{position:relative;max-width:560px;box-sizing:border-box;margin:24px auto 16px;padding:22px 44px 22px 22px;border:1px solid #e3d7b5;border-radius:14px;background:#faf6e9;color:#66552f}
.holiday-notice[hidden]{display:none}
.holiday-notice h2{margin:0 0 12px;font-size:15px;font-weight:650}
.holiday-notice p{margin:8px 0 0;font-size:13px;line-height:1.8;word-break:keep-all}
.notice-close{position:absolute;right:8px;top:8px;width:36px;height:36px;border-radius:8px;background:transparent;color:#817457;font-size:24px}
.notice-close:hover{background:#efe7cf}
#holiday-date-hint{margin-top:-10px;line-height:1.7;color:var(--amber)}
.ad-banner{max-width:560px;margin:24px auto}
.ad-banner a{display:block;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.ad-banner img{display:block;width:100%;height:auto;border-radius:13px}
.service-notice{background:var(--paper);border-color:var(--line);color:var(--ink);padding-right:22px}
.service-notice p:first-of-type{padding-right:26px}
.service-notice a{text-decoration:underline;text-underline-offset:3px}
.maintenance-notice p:first-of-type{padding-right:0}
.holiday-notice .notice-schedule-title{margin-top:18px}
.notice-schedule{margin:8px 0 16px;padding-left:18px;font-size:13px;line-height:1.8;word-break:keep-all}
.notice-schedule li+li{margin-top:6px}
.site-footer{text-align:center;padding:0 20px 32px;font-size:12px;color:var(--muted)}
.site-footer a{text-decoration:underline;text-underline-offset:3px}

.patch-notes{max-width:560px;margin:32px auto;padding:28px;background:var(--paper);border:1px solid var(--line);border-radius:16px}
.patch-notes>h2{font-size:22px;margin:0 0 8px}
.patch-notes h3{font-size:18px;margin:0 0 20px}
.patch-notes p{font-size:14px;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere}
.patch-notes article{background:#fafbf7;border:1px solid var(--line);border-radius:12px;margin-top:20px;padding:22px}
.patch-notes time{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}
.patch-more{display:block;width:100%;margin-top:20px;padding:14px;background:#fafbf7;border:1px solid var(--line);border-radius:10px;font-size:13px;color:var(--green);font-weight:550}
.patch-more[hidden]{display:none}
@media(max-width:600px){.patch-notes{padding:22px 18px}.patch-notes article{padding:18px 16px}}

/* Searchable station selectors and departure calendar. */
.station-picker,.date-field,.train-info{position:relative;min-width:0}
.station-picker select[hidden],.station-options[hidden],.date-calendar[hidden],#calendar-toggle[hidden]{display:none}
.station-options{position:absolute;top:100%;left:0;right:0;z-index:20;max-height:240px;overflow-y:auto;overscroll-behavior:contain;background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #21392f20;margin-top:4px;padding:4px}
.station-options [role=option]{padding:11px 8px;cursor:pointer;font-size:14px;border-radius:4px;overflow-wrap:anywhere}
.station-options [role=option]:hover,.station-options [aria-selected=true]{background:var(--soft);color:var(--green)}
.station-options p{padding:8px;font-size:12px;line-height:1.6;color:var(--muted)}
.date-control{position:relative;margin-top:9px}
.date-control select{margin-top:0}
.date-control.calendar-enabled select{appearance:none;padding-right:42px}
#calendar-toggle{position:absolute;right:1px;top:1px;width:40px;height:45px;display:grid;place-items:center;background:transparent;color:var(--ink);border-radius:7px;padding:0}
#calendar-toggle:hover{background:var(--soft)}
.date-calendar{position:absolute;left:0;top:100%;z-index:15;width:280px;max-width:calc(100vw - 80px);padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px #21392f20}
.calendar-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:14px}
.calendar-heading button{width:34px;height:34px;background:var(--soft);color:var(--green);border-radius:6px;font-size:22px}
.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.calendar-weekdays{font-size:11px;color:var(--muted);margin-bottom:6px}
.calendar-days button{min-width:0;height:34px;padding:0;background:transparent;border-radius:6px;font-size:13px;color:var(--ink)}
.calendar-days button:disabled{color:var(--muted);opacity:.4}
.calendar-days button:not(:disabled):hover{background:var(--soft)}
.calendar-days button[aria-pressed=true]{background:var(--green);color:white}
.train-info [role=tooltip]{display:none;position:absolute;right:0;top:100%;z-index:25;width:270px;max-width:calc(100vw - 80px);padding:12px;background:var(--ink);color:white;border-radius:8px;font-size:12px;font-weight:400;line-height:1.7;white-space:normal}
.train-info:hover [role=tooltip],.train-info:focus-within [role=tooltip]{display:block}
.train-info.dismissed [role=tooltip]{display:none}

.dash-list li.dash-demand-row{display:block;padding:0}
.dash-demand-row>details{width:100%;min-width:0}
.dash-demand-row summary{position:relative;display:flex;align-items:center;gap:8px;padding:8px 0;cursor:pointer;list-style:none}
.dash-demand-row summary::-webkit-details-marker{display:none}
.dash-list li.dash-demand-row::before{display:none}
.dash-list ol[start="6"]{counter-reset:rank 5}
.dash-demand-row summary::before{content:counter(rank) ' ▸';z-index:1}
.dash-demand-row details[open]>summary::before{content:counter(rank) ' ▾'}
.dash-demand-row summary span{flex:1;overflow-wrap:anywhere}
.dash-demand-row summary b,.dash-demand-row summary span{position:relative}
.dash-demand-detail{padding:10px;background:var(--soft);border-radius:6px;margin-bottom:8px}
.dash-demand-detail h4{font-size:12px;overflow-wrap:anywhere;margin:0 0 10px}
.dash-demand-detail h5{font-size:12px;margin:12px 0 4px}
.dash-demand-more>summary{cursor:pointer;padding:10px 0;font-size:13px}
.dash-demand-row summary:focus-visible,.dash-demand-more>summary:focus-visible{outline:2px solid currentColor;outline-offset:2px}
