:root{font-family:system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;color:#102d42;background:#eef4f8;--navy:#102d42;--teal:#087f8c;--ink:#17364c;--muted:#526b7e;--line:#d4e3ed;--surface:#fff;--soft:#f2f7fa}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;line-height:1.65}button,input,select{font:inherit}button{cursor:pointer}a{color:#087f8c}h1,h2,h3,p{margin-top:0}.shell{width:min(1560px,calc(100% - 32px));margin-inline:auto}.skip{position:absolute;top:-100px;right:10px;background:white;padding:12px;z-index:9999}.skip:focus{top:10px}.site-head{background:var(--navy);color:#fff}.head-row{min-height:75px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}.brand strong,.brand small{display:block;line-height:1.3}.brand strong{font-size:24px}.brand small{color:#cbe3ee;font-size:13px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;background:#0b6679;border-radius:13px;font-size:25px}.site-head nav{display:flex;gap:18px;flex-wrap:wrap}.site-head a{color:#ecf9ff;text-decoration:none}.site-head nav a{font-size:14px}.intro{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:27px 0}.intro h1{font-size:clamp(25px,3.4vw,39px);margin:4px 0}.intro p{color:#557084;margin:0;max-width:730px}.eyebrow{text-transform:none;color:#067d89;font-size:13px;font-weight:800;letter-spacing:.1px}.eyebrow.light{color:#a5e6ef}.clock-box{background:var(--navy);color:#fff;min-width:188px;border-radius:17px;display:grid;gap:2px;text-align:center;padding:13px 20px}.clock-box time{font-size:29px;font-variant-numeric:tabular-nums;font-weight:800;line-height:1.45}.clock-box span,.clock-box small{color:#c7dfeb;font-size:13px}.disclaimer{background:#fff8e8;border:1px solid #ead49e;border-radius:14px;padding:12px 17px;margin-bottom:20px;color:#674a17;font-size:14px}.dashboard{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(430px,1fr);align-items:start;gap:18px;margin-bottom:32px}.map-panel,.board-panel,.routes-section{background:#fff;border:1px solid var(--line);box-shadow:0 10px 36px #193c5610;border-radius:19px;min-width:0;overflow:hidden}.map-panel{padding:19px}.panel-head,.section-title,.board-heading,.map-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2,.section-title h2{font-size:23px;margin:0}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid transparent;border-radius:10px;padding:10px 16px;background:var(--teal);color:#fff;text-decoration:none;font-weight:800}.button.outline{border-color:#a4cbd0;background:#eaf8f8;color:#075e6b}.map-filters{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px;margin:16px 0}.map-filters label,.board-controls label,.select-label{font-weight:750;font-size:14px}.map-filters input,.map-filters select,.board-controls select,.station-hero select{width:100%;border:1px solid #b7cbd6;border-radius:11px;background:#fff;color:#17364c;min-height:46px;padding:10px;min-width:0}.map{height:min(65vh,650px);min-height:390px;background:#e8f0f4;border:1px solid var(--line);border-radius:13px;overflow:hidden;direction:ltr}.map .empty{direction:rtl;margin:25px}.map .leaflet-popup-content button{border:0;background:#087f8c;color:white;border-radius:8px;padding:7px 12px;margin-top:7px}.minor{font-size:12px;color:#617789;margin:6px 0}.chip{display:inline-flex;align-items:center;padding:4px 11px;background:#e3f5f3;border-radius:99px;color:#07666e;font-size:12px;font-weight:800;white-space:nowrap}.station-results{display:grid;gap:6px;max-height:220px;overflow:auto;margin-top:12px}.station-option{width:100%;text-align:right;display:flex;align-items:center;justify-content:space-between;border:1px solid #d9e6ee;background:#fff;border-radius:10px;padding:9px;color:#17364c}.station-option[aria-pressed=true]{border-color:#087f8c;background:#e7f6f5}.station-option small{color:#607586}.station-hero{background:linear-gradient(125deg,#102d42,#145a6f);color:#fff;padding:23px}.station-hero h2{font-size:27px;margin:3px 0 1px}.station-hero p{color:#d7e8ef;margin:0 0 17px;font-size:14px}.station-hero select{margin-top:7px}.board-controls{padding:14px 19px;border-bottom:1px solid var(--line);display:grid;gap:8px}.draft-toggle{display:flex;gap:10px;align-items:center;margin-top:5px;cursor:pointer}.draft-toggle input{width:18px;height:18px;accent-color:#087f8c}.draft-toggle+.minor{color:#875c22;margin:0}.board-tabs{display:none}.boards{display:grid;grid-template-columns:1fr 1fr;gap:0}.board-list{min-width:0;padding:13px;border-inline-end:1px solid var(--line)}.board-list:last-child{border-inline-end:none}.board-heading{margin-bottom:12px}.board-heading h3{font-size:18px;margin:0}.events{display:grid;gap:11px;max-height:720px;overflow:auto;align-content:start}.empty{padding:24px 13px;border-radius:12px;border:1px dashed #b9cbd7;color:#526c80;text-align:center;background:#f6fafc;font-size:14px}.event{border:1px solid #dbe8ef;border-radius:13px;padding:11px;background:#fff}.event.draft{background:#fff7e9;border:1px dashed #dd9a41}.event-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.event h4{margin:0;font-size:16px;line-height:1.45}.event time{font-size:21px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.event-meta{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.tag{background:#ecf4f7;color:#315569;border-radius:99px;font-size:11px;padding:3px 8px;font-weight:750}.tag.warn{background:#fff1d6;color:#8f590c}.tag.draft{background:#a34608;color:#fff}.countdown{font-variant-numeric:tabular-nums;color:#087f8c;font-size:14px;font-weight:800}.event p{font-size:13px;color:#577085;margin:4px 0}.event details{border-top:1px solid #e0e9ef;margin-top:9px;padding-top:8px}.event summary,.route-item summary{cursor:pointer;color:#096676;font-weight:750;font-size:13px}.stop-list{list-style:none;padding:0;margin:10px 0 0}.stop-list li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #ecf1f5;padding:4px 0;font-size:12px}.stop-list time{font-size:12px}.stop-list .current{background:#e7f8f5;border-radius:6px;font-weight:800}.routes-section{padding:22px;margin-bottom:26px}.section-title h2{margin:0}.route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:18px}.route-item{border:1px solid #d7e5ed;border-radius:13px;padding:13px}.route-item h3{font-size:16px;margin:0 0 4px}.route-item p{font-size:12px;color:#61778a;margin-bottom:5px}.route-item ol{margin:8px 0 0;padding-right:20px;font-size:13px}.route-item a{font-size:12px}.info-strip{background:#dbeef0;padding:21px;border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:30px}.info-strip h2{margin:0 0 3px}.info-strip p{margin:0;color:#4b6879}.site-foot{background:var(--navy);padding:24px 0;color:#cbdfe8;font-size:13px}.site-foot .shell{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.site-foot a{color:#fff}:focus-visible{outline:3px solid #e79f26;outline-offset:2px}
@media(max-width:1150px){.dashboard{grid-template-columns:minmax(0,1fr)}.map{height:450px}.route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.events{max-height:480px}}@media(max-width:680px){.shell{width:calc(100% - 22px)}.head-row{align-items:flex-start;padding:11px 0}.site-head nav{display:grid;gap:3px;text-align:left}.intro{flex-direction:column;align-items:stretch;padding:20px 0}.clock-box{width:100%}.map-panel{padding:12px}.panel-head{align-items:flex-start}.panel-head h2{font-size:20px}.map-filters{grid-template-columns:1fr}.map{height:330px;min-height:330px}.board-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px;padding:4px;background:#e7eff4;border-radius:12px;position:sticky;top:0;z-index:400}.board-tabs button{border:0;border-radius:10px;background:none;padding:10px;color:#17364c;font-weight:800}.board-tabs button[aria-selected=true]{background:#fff;color:#07646f;box-shadow:0 2px 9px #193c5620}.board-tabs span{font-size:11px}.boards{display:block}.board-list{padding:12px;border:0}.board-list[hidden]{display:none}.events{max-height:none}.route-grid{grid-template-columns:1fr}.section-title h2{font-size:20px}.info-strip{flex-direction:column;align-items:stretch}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Route-aware station boards and published dual arrival/departure times. */
.stop-times{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center;justify-content:flex-end;text-align:left;color:#35566e}
.stop-times span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.stop-list li{align-items:center}
.stop-times time{font-size:12px}
.photo-source{display:inline-flex;align-items:center;margin-top:8px;padding:5px 9px;border-radius:8px;background:#e8f5f5;color:#076b73;text-decoration:none;font-size:12px;font-weight:800}
.photo-source:hover,.photo-source:focus-visible{background:#d0eae9}
.board-more{width:100%;margin-top:4px}
.route-open{margin:6px 0 10px;font-size:12px;min-height:38px;padding:6px 10px}
@media(max-width:400px){.stop-times{flex-direction:column;align-items:flex-end;gap:0}}

/* Canonical lines, documented stops and selected-station route services. */
.filter-hint{grid-column:1/-1;margin:0;color:#537589;font-size:12px}
.line-catalog{display:grid;gap:22px;margin-top:18px;min-width:0}
.line-group{border:1px solid #d7e7eb;background:#f8fbfd;border-radius:16px;padding:16px;min-width:0}
.line-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.line-header h3{margin:2px 0;font-size:21px;color:#12364c}
.line-header p{margin:0;font-size:13px;color:#536d7b}
.line-group .route-grid{margin-top:0}
.line-open{flex-shrink:0;min-height:40px}
.route-top{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:7px}
.route-item{min-width:0;overflow-wrap:anywhere;background:#fff}
.route-item h4{font-size:16px;margin:0 0 6px}
.route-terminals{font-size:13px!important;color:#345368!important;font-weight:700}
.route-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px}
.route-actions .photo-source{margin-top:0}
.route-stops,.corridor-note{margin:12px 0;border:1px solid #d8e6ec;border-radius:11px;padding:9px 11px;background:#fafdff}
.route-stops summary,.corridor-note summary{cursor:pointer;color:#065c68;font-size:13px;font-weight:800}
.catalog-stops{list-style:none!important;padding:5px 0 0!important;margin:8px 0 0!important}
.catalog-stops li{display:flex;justify-content:space-between;align-items:baseline;gap:10px;border-bottom:1px solid #e5edf2;padding:6px 2px;font-size:13px}
.catalog-stops li:last-child{border-bottom:0}
.catalog-stops small{font-size:11px;color:#587687;text-align:left}
.pending-stops{border-right:3px solid #d7ab46;padding:8px;background:#fff9ec;color:#805718!important}
.trip-select-label{display:block;margin:11px 0 5px;font-size:13px;font-weight:800}
.route-item select{width:100%;max-width:100%;border:1px solid #b4cad6;border-radius:9px;background:#fff;padding:8px;font:inherit;font-size:13px;min-height:42px;color:#12364c}
.trip-timeline:not(:empty){background:#f6fafc;border:1px solid #d9e8f0;border-radius:10px;padding:9px;margin-top:9px}
.trip-timeline .train-timeline{max-height:365px;overflow:auto}
.route-intro{margin-top:8px}
.station-lines{padding:13px 17px;border-bottom:1px solid var(--line);background:#f4f9fb}
.station-lines-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.station-lines h3{font-size:15px;margin:0 0 9px;color:#12364c}
.station-services{display:grid;gap:9px;max-height:300px;overflow:auto}
.station-service-group{background:white;border:1px solid #dceaf0;border-radius:10px;padding:9px}
.station-service-group>strong{font-size:13px;display:inline-block;margin-inline-end:8px}
.service-route-list{display:grid;gap:6px;margin-top:8px}
.service-route{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:38px;text-align:right;background:#e8f6f7;color:#164759;border:1px solid #c5e1e4;border-radius:8px;padding:6px 9px;font-size:12px;font-weight:800}
.service-route small{font-size:11px;font-weight:500;color:#446975;white-space:normal}
.service-route:hover,.service-route:focus-visible{background:#d0ecec;border-color:#087f8c}
@media(max-width:680px){
 .line-group{padding:11px}
 .line-header{align-items:flex-start;flex-wrap:wrap}
 .line-header h3{font-size:18px}
 .line-open{width:100%}
 .catalog-stops li{flex-wrap:wrap}
 .service-route{flex-direction:column;align-items:flex-start}
 .station-services{max-height:225px}
 .route-actions>*{flex:1}
 .map-filters .filter-hint{grid-column:1}
}

/* Five-category selector and matching official timetable gallery. */
.map-filters select:disabled{background:#edf2f5;color:#6b7c88;cursor:not-allowed}
.category-schedules{grid-column:1/-1;display:inline-flex;width:fit-content;align-items:center;min-height:36px;padding:5px 10px;border:1px solid #b8d7df;border-radius:9px;background:#f0fafb;color:#07666e;font-size:13px;font-weight:750;text-decoration:none}
.category-schedules:hover,.category-schedules:focus-visible{background:#d6f0f1}
.category-schedules[hidden]{display:none}
@media(max-width:680px){.category-schedules{grid-column:1;max-width:100%;width:100%;justify-content:center}}
