:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17202a;background:#eef2f6}
*{box-sizing:border-box}body{margin:0;background:#eef2f6;color:#17202a}.wrap{max-width:1180px;margin:0 auto;padding:26px 16px 60px}
.topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.brand-link{display:inline-block;border-radius:6px;color:inherit;text-decoration:none}.brand-link:hover h1{color:#2b5f8a}.brand-link:focus-visible{outline:3px solid rgba(40,102,169,.22);outline-offset:4px}h1{margin:3px 0 0;font-size:clamp(28px,4vw,40px);letter-spacing:-.035em;color:#101820}.beta-label{display:inline-block;margin-left:5px;color:#c42d38;font-size:clamp(12px,.38em,15px);font-weight:950;letter-spacing:.09em;line-height:1;vertical-align:baseline;transform:translateY(-.08em)}.kicker{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#66727f}
.live-badge{display:flex;align-items:center;gap:7px;background:#17202a;color:#fff;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:850;letter-spacing:.08em}.live-badge span{width:7px;height:7px;border-radius:50%;background:#47b56b;box-shadow:0 0 0 3px rgba(71,181,107,.18)}
.panel{background:#fff;border:1px solid #dbe2e8;border-radius:10px;box-shadow:0 2px 8px rgba(20,32,44,.05)}.filters{display:grid;grid-template-columns:2fr 1fr .8fr .8fr auto;gap:10px;padding:14px;align-items:end}
.field{position:relative;display:flex;flex-direction:column;gap:5px}.field label{font-size:11px;font-weight:800;color:#4b5865}.location-field{z-index:20}input,button{height:42px;border-radius:7px;border:1px solid #cbd4dc;background:#fff;color:#15202b;padding:0 11px;font:inherit;font-size:16px}input:focus{outline:3px solid rgba(40,102,169,.15);border-color:#2866a9}button{cursor:pointer;background:#17202a;color:#fff;border-color:#17202a;font-weight:800;padding:0 18px}
.suggestions{position:absolute;left:0;right:0;top:64px;background:#fff;border:1px solid #cbd4dc;border-radius:8px;box-shadow:0 14px 36px rgba(18,31,43,.18);overflow:hidden;max-height:360px;overflow-y:auto}.suggestions[hidden]{display:none}.suggestion{width:100%;height:auto;min-height:48px;border:0;border-bottom:1px solid #edf0f2;border-radius:0;background:#fff;color:#17202a;padding:8px 11px;display:flex;align-items:center;justify-content:space-between;text-align:left}.suggestion:last-child{border-bottom:0}.suggestion:hover,.suggestion.active{background:#eef4fa}.suggestion span{display:flex;flex-direction:column;gap:2px}.suggestion strong{font-size:14px}.suggestion small{font-size:11px;color:#687581;font-weight:600}.suggestion b{font-size:11px;color:#526170;background:#eef2f5;border-radius:5px;padding:4px 6px}.suggestion-empty{padding:14px;color:#687581;font-size:13px}
.legend{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 9px}.key{font-size:11px;font-weight:800;border-radius:5px;padding:5px 8px}.key.ontime{color:#175c36;background:#e6f5eb}.key.delayed{color:#7a5800;background:#fff3c4}.key.cancelled{color:#8c2029;background:#fde7e9}
.summary{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:12px 0 9px}.summary>div{background:#fff;border:1px solid #dbe2e8;border-radius:9px;padding:12px 14px}.summary strong{display:block;font-size:21px;color:#101820}.summary span{font-size:11px;color:#66727f}
.table-panel{overflow:visible}table{width:100%;border-collapse:collapse;table-layout:fixed}th,td{padding:10px 9px;text-align:left;border-bottom:1px solid #e2e7eb;vertical-align:middle}th{background:#f6f8fa;color:#596674;font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}th:nth-child(1){width:8%}th:nth-child(2){width:8%}th:nth-child(3){width:6%}th:nth-child(4){width:11%}th:nth-child(5){width:14%}th:nth-child(6){width:34%}th:nth-child(7){width:19%}
.train-row{cursor:pointer;transition:filter .12s ease}.train-row:hover{filter:brightness(.98)}.train-row:focus{outline:3px solid rgba(40,102,169,.18);outline-offset:-3px}.train-row.ontime{background:#eef8f1;box-shadow:inset 5px 0 #36a265}.train-row.delayed{background:#fff8dc;box-shadow:inset 5px 0 #d7aa00}.train-row.cancelled{background:#fff0f1;box-shadow:inset 5px 0 #cf3b47}.train-row.passed{background:#fff;box-shadow:inset 5px 0 #c6ced5}
.time{font-size:17px;font-weight:850;color:#111820}.main-time{display:block;line-height:1.05}.time small{display:block;margin-top:3px;font-size:9px;font-weight:700;color:#697581}.cancelled-time{color:#861d27}.trainno{font-weight:800;font-size:13px}.track-cell{font-size:12px;font-weight:800;text-align:center}.track-label{display:none}.trainno small{display:block;margin-top:2px;color:#697581;font-size:9px}.type-text{font-size:12px;font-weight:700;color:#28343f!important}.operator-cell,.route-cell{font-size:12px;line-height:1.25}.route-cell{overflow-wrap:anywhere}.direction span{color:#89949f;margin:0 2px}.status-cell{font-size:12px;line-height:1.1}.status-cell strong,.status-cell small{display:block}.status-cell small{margin-top:3px;font-size:9px;font-weight:800}.train-row.ontime .status-cell{color:#176239}.train-row.delayed .status-cell{color:#825d00}.train-row.cancelled .status-cell{color:#941f2b}.train-row.passed .status-cell{color:#586571}.train-row.cancelled td{color:#70272d}.empty{text-align:center;color:#66727f;padding:40px}.note{color:#697581;font-size:11px;margin:9px 2px}
.spinner{display:inline-block;width:13px;height:13px;border:2px solid #c6ced5;border-top-color:#2b6ca7;border-radius:50%;vertical-align:-2px;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error{color:#9b222d!important}
.detail{width:min(650px,calc(100vw - 24px));max-height:86vh;border:0;border-radius:12px;padding:24px;background:#fff;color:#17202a;box-shadow:0 22px 70px rgba(0,0,0,.28)}.detail::backdrop{background:rgba(12,20,28,.55)}.close{position:absolute;right:14px;top:12px;width:38px;height:38px;padding:0;border:0;background:#eef2f6;color:#27313b;border-radius:50%;font-size:25px;line-height:1}.detail-loading{padding:42px 10px;text-align:center;color:#66727f}.detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-right:42px}.detail-head p{margin:7px 0 0;color:#53616d;font-weight:650}.detail h2{font-size:30px;margin:2px 0 0}.detail h3{font-size:15px;margin:18px 0 10px}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.detail-grid>div{background:#f5f7f9;border:1px solid #e0e6eb;border-radius:8px;padding:11px 12px}.detail-grid span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#66727f;font-weight:800}.detail-grid strong{display:block;margin-top:3px;font-size:14px}
.route{margin-top:4px}.route-stop{position:relative;display:grid;grid-template-columns:20px 1fr;gap:8px;min-height:48px}.route-stop:not(:last-child)::before{content:"";position:absolute;left:7px;top:17px;bottom:-3px;width:2px;background:#c9d1d8}.route-marker{width:16px;height:16px;border-radius:50%;border:3px solid #a7b1ba;background:#fff;margin-top:2px;z-index:1}.route-stop strong{display:block;font-size:14px}.route-stop span{display:block;margin-top:2px;color:#65717c;font-size:12px}.route-stop.passed .route-marker{background:#3b8f5a;border-color:#3b8f5a}.route-stop.current .route-marker{background:#fff;border-color:#2469aa;box-shadow:0 0 0 4px #dbeeff}.route-stop.upcoming{opacity:.72}.route-stop.selected>div:last-child{background:#f2f6fa;border-radius:7px;padding:5px 7px;margin:-5px 0 5px -7px}.route-stop strong small{font-size:10px;color:#7c8791;margin-left:4px;font-weight:750}.route-stop.current>div:last-child strong::after{content:"Siste registrerte";display:inline-block;margin-left:8px;background:#e5f1fc;color:#175b93;border-radius:4px;padding:2px 5px;font-size:9px;text-transform:uppercase;letter-spacing:.04em;vertical-align:2px}.muted{color:#66727f}
@media(max-width:720px){.wrap{padding:16px 8px 44px}.topbar{align-items:center}.topbar h1{font-size:28px}.filters{grid-template-columns:1fr 1fr 1fr;gap:8px;padding:10px}.filters .location-field{grid-column:1/-1}.filters .field:nth-child(2){grid-column:1/2}.filters .field:nth-child(3){grid-column:2/3}.filters .field:nth-child(4){grid-column:3/4}.filter-actions{grid-column:1/-1}.filter-actions button{height:42px}.summary{grid-template-columns:repeat(2,1fr);gap:6px}.summary>div{padding:9px 8px}.summary strong{font-size:17px}.summary span{font-size:9px;line-height:1.2;display:block}.legend{margin:9px 0 7px}.key{font-size:10px;padding:4px 6px}
.table-panel{background:transparent;border:0;box-shadow:none}table,tbody{display:block;width:100%}thead{display:none}.train-row{display:grid;grid-template-columns:62px 54px 46px 1fr;grid-template-areas:"time train track status" "type operator operator operator" "route route route route";gap:3px 8px;margin-bottom:7px;padding:9px 9px 9px 13px;border:1px solid #dbe2e8;border-radius:9px}.train-row td{border:0;padding:0;min-width:0}.time-cell{grid-area:time}.train-cell{grid-area:train}.track-cell{grid-area:track;text-align:left}.track-label{display:inline;font-size:10.5px;color:#697581;font-weight:700}.status-cell{grid-area:status;text-align:right}.type-cell{grid-area:type}.operator-cell{grid-area:operator;color:#4f5c67}.route-cell{grid-area:route;margin-top:3px;padding-top:5px!important;border-top:1px solid rgba(0,0,0,.07)!important;font-size:11px}.main-time{font-size:16px}.trainno{font-size:12px}.type-text,.operator-cell,.status-cell{font-size:11px}.status-cell small{font-size:9px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.detail-grid>div{padding:8px}.detail{padding:20px}.detail h2{font-size:26px}}

.filter-actions{display:flex;gap:8px;align-items:end}.filter-actions button{white-space:nowrap}.filter-actions .secondary{background:#fff;color:#17202a;border-color:#aeb9c3}
.filter-actions .secondary:hover{background:#f4f7f9}.filter-actions button:disabled{opacity:.6;cursor:wait}
.welcome{margin-top:14px;padding:26px}.welcome-copy{max-width:720px}.welcome h2{margin:5px 0 8px;font-size:clamp(23px,3vw,31px);letter-spacing:-.025em}.welcome p{margin:0;color:#586673;line-height:1.55;max-width:680px}
.welcome-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}.welcome-grid>div{border-top:3px solid #d8e0e7;padding:13px 4px 4px}.welcome-grid strong{display:block;font-size:14px;margin-bottom:5px}.welcome-grid span{display:block;color:#65727e;font-size:12px;line-height:1.45}
[hidden]{display:none!important}
@media(max-width:720px){.filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.filter-actions button{width:100%;padding:0 9px;font-size:14px}.welcome{padding:20px 16px}.welcome-grid{grid-template-columns:1fr;gap:6px;margin-top:18px}.welcome-grid>div{padding:10px 2px 6px}.welcome h2{font-size:23px}.welcome p{font-size:14px}}

.update-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:9px 0;padding:9px 11px;border:1px solid #b7cbe0;border-radius:8px;background:#eef5fb;color:#24445f;font-size:12px;font-weight:750}.update-notice button{height:34px;padding:0 13px;font-size:12px;background:#244d70;border-color:#244d70}.update-notice[hidden]{display:none!important}
@media(max-width:720px){.update-notice{position:sticky;top:6px;z-index:15;margin:7px 0;box-shadow:0 5px 18px rgba(31,57,80,.12)}.update-notice button{height:32px}.track-cell{font-size:11px}}

.train-loading{display:flex;align-items:center;justify-content:center;gap:14px;min-height:150px;margin-top:9px;padding:28px;color:#344452;text-align:left}.train-loading-spinner{width:24px;height:24px;border-width:3px;flex:0 0 auto}.train-loading strong{display:block;font-size:16px}.train-loading div span{display:block;margin-top:4px;color:#687581;font-size:12px}
@media(max-width:720px){.train-loading{min-height:128px;margin-top:7px;padding:24px 18px}.train-loading strong{font-size:14px}}


.theme-btn{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border-radius:8px;background:#fff;color:#17202a;border:1px solid #b8c3cc;font-size:13px;font-weight:800;line-height:1;box-shadow:0 1px 3px rgba(20,32,44,.04)}
.theme-btn:hover{background:#f7f9fa}.theme-btn:active{transform:translateY(1px)}.theme-icon,.menu-icon{display:grid;place-items:center;width:16px;height:16px;flex:0 0 16px}.theme-icon svg,.menu-icon svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.theme-icon svg{grid-area:1/1}.sun-icon{display:none!important}.theme-btn>span:last-child,.menu-btn>span:last-child{display:flex;align-items:center;height:16px;line-height:16px}
@media(max-width:720px){.theme-btn{height:36px;padding:0 11px;font-size:12px}}

/* Header menu + embedded Bane NOR train map */
.header-actions{display:flex;align-items:center;gap:8px}.site-menu{position:relative}.menu-btn{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border-radius:8px;background:#17202a;color:#fff;border:1px solid #17202a;font-size:13px;font-weight:800;line-height:1;box-shadow:0 1px 3px rgba(20,32,44,.08)}.menu-btn:hover{background:#2b3540}.menu-btn:active{transform:translateY(1px)}.site-menu-panel{position:absolute;z-index:50;top:calc(100% + 8px);right:0;width:min(360px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 92px));overflow-y:auto;padding:7px;border:1px solid #cbd4dc;border-radius:12px;background:#fff;box-shadow:0 18px 48px rgba(18,31,43,.22)}.site-menu-item{width:100%;height:auto;min-height:56px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:9px 11px;border:0;border-radius:8px;background:#fff;color:#17202a;text-align:left;text-decoration:none}.site-menu-item:hover,.site-menu-item:focus-visible{background:#eef4fa;outline:none}.site-menu-item strong,.site-menu-item small{display:block}.site-menu-item strong{font-size:14px;line-height:1.25}.site-menu-item small{margin-top:3px;color:#66727f;font-size:11px;font-weight:600;line-height:1.3}.site-menu-item-meta{align-self:center;padding:3px 6px;border-radius:5px;background:#e7eef5;color:#315775;font-size:9px;font-weight:850;letter-spacing:.02em;white-space:nowrap}.external-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:6px;background:#f0f3f5;color:#526170;font-size:13px;font-weight:850}.site-menu-section{margin-top:7px;padding-top:8px;border-top:1px solid #dbe2e8}.site-menu-heading{padding:5px 11px 6px;color:#687581;font-size:10px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.site-menu-item.compact{min-height:40px;padding-top:7px;padding-bottom:7px}.site-menu-item.compact strong{font-size:13px}
.train-map-view{min-height:calc(100vh - 130px)}.train-map-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 12px}.train-map-head h2{margin:3px 0 3px;font-size:clamp(23px,3vw,31px);letter-spacing:-.025em}.train-map-head p{margin:0;color:#66727f;font-size:12px}.train-map-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.train-map-actions a,.train-map-actions button{height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 13px;border-radius:8px;font-size:12px;font-weight:800;text-decoration:none}.train-map-actions a{border:1px solid #b8c3cc;background:#fff;color:#17202a}.train-map-actions a:hover{background:#f7f9fa}.train-map-actions button{background:#17202a;color:#fff;border-color:#17202a}.train-map-frame-wrap{position:relative;overflow:hidden;height:clamp(540px,calc(100vh - 205px),850px);background:#e9eef2}.train-map-frame-wrap iframe{display:block;width:100%;height:100%;border:0;background:#fff}.train-map-loading{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;gap:9px;background:#f4f7f9;color:#52606d;font-size:13px;font-weight:750}.train-map-loading.loaded{display:none}
@media(max-width:720px){.header-actions{gap:5px}.menu-btn{height:36px;min-width:78px;padding:0 11px;font-size:12px}.site-menu-panel{position:fixed;top:64px;right:8px;left:8px;width:auto;max-height:calc(100dvh - 76px);padding:7px}.site-menu-item{min-height:53px;padding:8px 10px}.site-menu-item.compact{min-height:41px}.train-map-head{display:block;margin-bottom:10px}.train-map-head p{font-size:11px;line-height:1.4}.train-map-actions{display:grid;grid-template-columns:1fr 1.25fr;margin-top:10px}.train-map-actions a,.train-map-actions button{height:36px;padding:0 8px;font-size:11px}.train-map-frame-wrap{height:calc(100dvh - 225px);min-height:470px;border-radius:8px}}

.location-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.location-input-row input{width:100%;min-width:0}.locate-inline{white-space:nowrap;background:#fff;color:#17202a;border-color:#aeb9c3;padding:0 14px}.locate-inline:hover{background:#f4f7f9}.filters{grid-template-columns:2.4fr 1fr .8fr .8fr minmax(180px,1.2fr)}.filter-actions{width:100%}.filter-actions #search{width:100%}
@media(max-width:720px){.location-input-row{grid-template-columns:minmax(0,1fr) auto}.locate-inline{padding:0 10px;font-size:13px}.filter-actions{display:block}.filter-actions #search{width:100%;height:44px}.filters .location-field{grid-column:1/-1}}

/* Layout fix: search/position + centered primary action */
.filters{grid-template-columns:repeat(3,minmax(0,1fr));}
.filters>*{min-width:0}.filters .location-field{grid-column:1/-1;min-width:0}.filters .filter-actions{grid-column:1/-1;display:flex;justify-content:center;width:100%;margin-top:2px}
.location-input-row{display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:8px;width:100%;min-width:0}.location-input-row input{width:100%;min-width:0;max-width:100%}.locate-inline{width:118px;min-width:0;padding:0 8px}
.filter-actions #search{width:min(440px,100%);min-width:0;height:44px;margin:0 auto}
@media(max-width:720px){.filters{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;overflow:hidden}.filters .location-field{grid-column:1/-1;width:100%;min-width:0}.location-input-row{grid-template-columns:minmax(0,1fr) 104px;width:100%;min-width:0}.locate-inline{width:104px;padding:0 6px;font-size:12px}.filters .field:nth-child(2){grid-column:1/2}.filters .field:nth-child(3){grid-column:2/3}.filters .field:nth-child(4){grid-column:3/4}.filters .filter-actions{grid-column:1/-1;display:flex;justify-content:center;width:100%}.filter-actions #search{width:100%;max-width:none;height:46px;font-size:15px}.filters input{min-width:0;width:100%}}

/* Filter spacing + summary refresh */
.summary-refresh{display:block;width:auto;height:auto;min-height:0;padding:0;border:0;background:transparent;color:#101820;font:inherit;font-size:21px;font-weight:800;text-align:left;cursor:pointer}.summary-refresh:hover{text-decoration:underline;text-underline-offset:3px}.summary-refresh:active{transform:none}
.filters input{min-width:0;max-width:100%;width:100%}
@media(max-width:720px){.filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;overflow:visible}.filters .location-field{grid-column:1/-1!important}.filters .field:nth-child(2){grid-column:1/-1!important}.filters .field:nth-child(3){grid-column:1/2!important}.filters .field:nth-child(4){grid-column:2/3!important}.filters .filter-actions{grid-column:1/-1!important}.filters input[type="date"],.filters input[type="time"]{display:block;min-width:0!important;max-width:100%!important;width:100%!important;padding-left:9px;padding-right:9px}.summary-refresh{font-size:17px}}

/* Compact mobile date/time row */
@media(max-width:720px){.filters{grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr) minmax(0,.8fr)!important;gap:6px!important;padding:9px!important;overflow:visible!important}.filters .field:nth-child(2){grid-column:1/2!important}.filters .field:nth-child(3){grid-column:2/3!important}.filters .field:nth-child(4){grid-column:3/4!important}.filters .field:nth-child(2),.filters .field:nth-child(3),.filters .field:nth-child(4){min-width:0!important}.filters .field:nth-child(2) input,.filters .field:nth-child(3) input,.filters .field:nth-child(4) input{width:100%!important;min-width:0!important;padding:0 7px!important;font-size:14px!important;height:38px!important}.filters .field:nth-child(2) label,.filters .field:nth-child(3) label,.filters .field:nth-child(4) label{font-size:10px!important}.filter-actions{margin-top:0!important}.filter-actions #search{height:42px!important}.location-input-row{gap:6px!important}}

/* Compact time filters; iOS-safe sizing */
.filters{grid-template-columns:1fr!important}.filters .location-field{grid-column:1!important}.time-filter-row{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(0,.79fr) minmax(0,.79fr);gap:7px;width:100%;min-width:0}.time-filter-row>.field{min-width:0;width:100%}.time-filter-row input{display:block;width:100%!important;max-width:100%!important;min-width:0!important;padding:0 7px;text-align:center}.time-filter-row input[type="date"]{-webkit-appearance:none;appearance:none}.time-filter-row input[type="date"]::-webkit-date-and-time-value{min-width:0;text-align:center}.filters{padding-bottom:12px}
@media(max-width:720px){.filters{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:10px!important;overflow:visible!important}.filters .location-field{grid-column:1!important}.time-filter-row{grid-template-columns:minmax(0,1.45fr) minmax(0,.775fr) minmax(0,.775fr);gap:6px}.time-filter-row .field label{font-size:10px}.time-filter-row input{height:38px!important;font-size:16px!important;padding:0 4px!important}.time-filter-row input[type="date"]{font-size:14px!important}.filters .filter-actions{display:none!important}}

/* Custom compact date/time controls */
.custom-filter-row{display:grid!important;grid-template-columns:1.45fr .8fr .8fr!important;gap:8px!important;width:100%;min-width:0}.compact-picker-field{min-width:0}.compact-picker-field label{display:block;margin:0 0 5px;font-size:11px;font-weight:800;color:#4b5865}.picker-trigger{width:100%;min-width:0;height:40px;padding:0 8px;background:#fff;color:#17202a;border:1px solid #cbd4dc;border-radius:7px;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.picker-trigger:active{background:#f1f4f6}.native-time-field{position:relative}.time-display{display:flex;align-items:center;justify-content:center}.native-time-input{position:absolute;z-index:2;right:0;bottom:0;left:0;width:100%!important;max-width:100%!important;min-width:0!important;height:40px!important;margin:0;opacity:0;cursor:pointer}
.value-picker{width:min(430px,calc(100vw - 20px));border:0;padding:0;background:transparent}.value-picker::backdrop{background:rgba(12,20,28,.42)}.picker-sheet{background:#fff;border-radius:14px;padding:16px;box-shadow:0 18px 60px rgba(0,0,0,.24)}.picker-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.picker-head strong{font-size:18px}.picker-head button{width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#eef2f5;color:#17202a;font-size:22px}.calendar-nav{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;text-align:center;margin-bottom:10px}.calendar-nav button{height:36px;padding:0;background:#f2f5f7;color:#17202a;border:0;font-size:24px}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.weekdays span{text-align:center;font-size:10px;font-weight:800;color:#7a8792;padding:4px 0}.calendar-day{height:38px;padding:0;background:#f7f9fa;color:#17202a;border:0;border-radius:7px;font-size:13px;font-weight:700}.calendar-day.active{background:#17202a;color:#fff}
@media(max-width:720px){.custom-filter-row{grid-template-columns:1.8fr .7fr .7fr!important;gap:6px!important}.picker-trigger{height:38px;font-size:13px;padding:0 5px}.native-time-input{height:38px!important}.compact-picker-field label{font-size:10px;margin-bottom:4px}.filters{gap:7px!important;padding:10px!important}.value-picker{margin:auto 10px 12px;width:calc(100vw - 20px);max-width:none;align-self:end}.picker-sheet{border-radius:16px 16px 10px 10px;padding:14px}.calendar-day{height:40px}}

.welcome-warning{margin-top:22px;padding-top:16px;border-top:1px solid #dbe2e8}.welcome-warning>strong{display:block;margin-bottom:6px;font-size:12px;letter-spacing:.08em;color:#7c2d12}.welcome-warning p{margin:0;color:#596674;font-size:12px;line-height:1.55;max-width:none}.locate-inline:disabled{font-size:11px;letter-spacing:-.015em;padding-left:4px;padding-right:4px;white-space:nowrap}
@media(max-width:720px){.welcome-warning{margin-top:16px;padding-top:13px}.welcome-warning p{font-size:11px;line-height:1.5}.locate-inline:disabled{font-size:10.5px}}

/* Tidsavgrensede, overordnede driftsmeldinger */
.operational-notices{margin-top:12px}.operational-notice{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:13px;padding:14px 15px;border:1px solid #e3b852;border-left:5px solid #d59a00;border-radius:10px;background:#fff8dc;box-shadow:0 2px 8px rgba(78,56,0,.07)}.operational-notice-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#8a6100;color:#fff;font-size:22px;font-weight:900}.operational-notice-copy{min-width:0}.operational-notice .kicker{color:#765300}.operational-notice h2{margin:2px 0 3px;font-size:17px;letter-spacing:-.01em}.operational-notice p{margin:0;color:#594a25;font-size:12px;line-height:1.4}.operational-notice .operational-notice-time{margin-bottom:4px;color:#312a18;font-weight:800}.operational-notice .operational-notice-missing{margin-top:5px;color:#7c2d12}
@media(max-width:720px){.operational-notices{margin-top:8px}.operational-notice{grid-template-columns:32px minmax(0,1fr);gap:9px;padding:12px 11px;border-left-width:4px}.operational-notice-mark{width:30px;height:30px;font-size:18px}.operational-notice h2{font-size:15px}.operational-notice p{font-size:11px}}

/* Result filter */
.summary-filter{display:block;width:100%;height:auto;min-height:0;padding:0;border:0;background:transparent;color:#101820;text-align:left;cursor:pointer}.summary-filter strong{display:block;font-size:21px}.summary-filter span{display:block;margin-top:2px;font-size:11px;color:#66727f;font-weight:600}.summary-filter:hover strong{text-decoration:underline;text-underline-offset:3px}.summary-filter:active{transform:none}
.filter-dialog{width:min(500px,calc(100vw - 20px));border:0;padding:0;background:transparent;color:#17202a}.filter-dialog::backdrop{background:rgba(12,20,28,.45)}.filter-sheet{background:#fff;border-radius:14px;padding:18px;box-shadow:0 18px 60px rgba(0,0,0,.25)}.filter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.filter-head h2{margin:2px 0 0;font-size:26px}.filter-head>button{width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#eef2f5;color:#17202a;font-size:23px}.filter-warning{margin:16px 0 0;color:#b4232c;font-size:12px;line-height:1.45}.filter-group{margin-top:20px}.filter-group h3{margin:0 0 9px;font-size:13px}.filter-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.filter-option{display:flex;align-items:center;gap:9px;min-height:42px;padding:8px 10px;border:1px solid #dbe2e8;border-radius:8px;background:#f8fafb;font-size:13px;font-weight:700;cursor:pointer}.filter-option input{width:18px!important;height:18px!important;min-width:18px!important;margin:0;padding:0;accent-color:#17202a}.filter-actions-dialog{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:22px}.filter-actions-dialog .secondary{background:#fff;color:#17202a;border-color:#aeb9c3}
@media(max-width:720px){.summary-filter strong{font-size:17px}.summary-filter span{font-size:9px}.filter-dialog{margin:auto 10px 12px;width:calc(100vw - 20px);max-width:none;align-self:end}.filter-sheet{border-radius:16px 16px 10px 10px;padding:16px}.filter-options{grid-template-columns:1fr 1fr}.filter-option{min-height:40px;padding:7px 9px;font-size:12px}}

/* Mobile spacing after time column */
@media(max-width:720px){.train-row{grid-template-columns:76px 56px 48px 1fr;column-gap:10px}.time-cell{min-width:0}.time-cell small{white-space:nowrap;font-size:9px}.train-cell,.track-cell,.status-cell{min-width:0}}

/* Larger track number */
.track-cell{font-size:14px;font-weight:850}
@media(max-width:720px){.track-cell{font-size:14px!important}.track-label{font-size:9px!important;font-weight:700}}

.unconfirmed-note{display:block;margin-top:5px;color:#825d00;font-size:9px;font-weight:750;line-height:1.25}
@media(max-width:720px){.unconfirmed-note{margin-top:4px;font-size:9px}}

/* Full refresh card hit area */
.summary-update-card{cursor:pointer;user-select:none;transition:background .12s ease,border-color .12s ease}.summary-update-card:hover{background:#f7f9fa}.summary-update-card:active{background:#eef2f5}.summary-update-card:focus-visible{outline:3px solid rgba(40,102,169,.18);outline-offset:2px}.summary-update-card .summary-refresh{pointer-events:none}.summary-update-card #updated{pointer-events:none}

/* Arrival/departure board selector */
.board-mode{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:7px 0}.board-mode button{height:30px;padding:0 12px;border:1px solid #cbd4dc;border-radius:6px;background:#fff;color:#52606d;font-size:11px;font-weight:800;letter-spacing:.02em}.board-mode button:hover{background:#f7f9fa}.board-mode button.active{border-color:#17202a;background:#17202a;color:#fff}.board-mode button:focus-visible{outline:3px solid rgba(40,102,169,.18);outline-offset:1px}
@media(max-width:720px){.board-mode{gap:5px;margin:6px 0}.board-mode button{height:28px;font-size:10.5px}}

/* Relevant daily graphs for the selected location */
.route-graphs{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:9px 0;padding:13px 14px}.route-graphs-copy{min-width:0}.route-graphs-copy strong,.route-graphs-copy span{display:block}.route-graphs-copy strong{margin-top:2px;font-size:14px}.route-graphs-copy span{margin-top:3px;color:#66727f;font-size:11px;line-height:1.35}.route-graph-links{position:relative;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.route-graph-links>a,.route-graph-menu a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:7px 10px;border:1px solid #b8c3cc;border-radius:7px;background:#fff;color:#17202a;font-size:11px;font-weight:800;text-decoration:none}.route-graph-links>a>span,.route-graph-menu a>span{white-space:nowrap}.route-graph-links a small{color:#66727f;font-size:10px;font-weight:700;white-space:nowrap}.route-graph-links a:hover{background:#eef4fa;border-color:#8e9ba6}.route-graph-links a:focus-visible,.route-graph-picker summary:focus-visible{outline:3px solid rgba(18,103,164,.2);outline-offset:1px}.route-graph-picker{position:relative;min-width:275px}.route-graph-picker summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:7px 12px;border:1px solid #9eacb7;border-radius:8px;background:#fff;cursor:pointer;list-style:none}.route-graph-picker summary::-webkit-details-marker{display:none}.route-graph-picker-copy{display:flex;min-width:0;flex:1;flex-direction:column;align-items:flex-start}.route-graph-picker-copy strong{font-size:11px;font-weight:850;line-height:1.25}.route-graph-picker-copy small{margin-top:2px;color:#66727f;font-size:9.5px;font-weight:700;line-height:1.25}.route-graph-count{display:grid;place-items:center;min-width:22px;height:22px;margin-left:auto;border-radius:999px;background:#e8eef3;color:#425466;font-size:10px;font-weight:800}.route-graph-chevron{width:8px;height:8px;margin:0 3px 4px 1px;border-right:2px solid #52606d;border-bottom:2px solid #52606d;transform:rotate(45deg);transition:margin .15s ease,transform .15s ease}.route-graph-picker[open] .route-graph-chevron{margin-top:5px;margin-bottom:0;transform:rotate(225deg)}.route-graph-menu{position:absolute;z-index:30;top:calc(100% + 6px);right:0;display:grid;gap:5px;width:min(410px,calc(100vw - 36px));max-height:min(440px,65vh);padding:7px;overflow-y:auto;border:1px solid #c5ced5;border-radius:9px;background:#fff;box-shadow:0 12px 35px rgba(20,35,48,.18)}.route-graph-menu a{width:100%}
@media(max-width:720px){.route-graphs{display:block;padding:12px}.route-graph-links{justify-content:flex-start;margin-top:10px}.route-graph-links>a{flex:1 0 100%}.route-graph-picker{width:100%;min-width:0}.route-graph-picker summary{min-height:52px;padding:8px 13px}.route-graph-menu{right:auto;left:0;width:100%}.route-graph-menu a{align-items:flex-start;flex-direction:column;gap:3px;padding:9px 10px}.route-graph-menu a>span{white-space:normal}.route-graph-links a small{white-space:normal}}

.event-kind{display:inline-flex!important;width:max-content;margin-top:4px!important;padding:2px 5px;border-radius:4px;font-size:8px!important;font-weight:850!important;letter-spacing:.025em;text-transform:uppercase}.event-kind.arrival{background:#dcecf8;color:#18527d}.event-kind.departure{background:#e8e3f6;color:#513b83}.event-kind.graph{background:#e7ecef;color:#4e5c67}

/* Train detail refresh */
.detail-refresh{height:36px;flex:0 0 auto;padding:0 12px;background:#fff;color:#17202a;border:1px solid #b8c3cc;border-radius:8px;font-size:12px;font-weight:800}.detail-refresh:hover{background:#f4f7f9}.detail-refresh:active{transform:translateY(1px)}
.detail-source-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.detail-source-links>span{flex-basis:100%;color:#66727f;font-size:10px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.detail-source-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;border:1px solid #b8c3cc;border-radius:8px;background:#fff;color:#17202a;font-size:12px;font-weight:800;text-decoration:none}.detail-source-link:hover{background:#f4f7f9;border-color:#8e9ba6}.detail-source-link:focus-visible{outline:3px solid rgba(18,103,164,.25);outline-offset:2px}
@media(max-width:720px){.detail-head{padding-right:38px;gap:10px}.detail-refresh{height:34px;padding:0 10px;font-size:11px}}

/* Pass-through train labels */
.passing-label{display:none}.desktop-passing{display:block;margin-bottom:2px;font-size:9px;font-weight:800;color:#697581}.passing-badge{display:inline-block;margin-left:7px;padding:2px 5px;border-radius:4px;background:#eef2f5;color:#55616c;font-size:9px;font-style:normal;font-weight:800;text-transform:none;letter-spacing:0;vertical-align:2px}.mobile-operator{display:none}


/* Refined mobile train cards */
@media(max-width:720px){
  .train-row{grid-template-columns:68px 54px minmax(0,1fr) auto;grid-template-areas:"time train track status" "meta meta meta meta" "route route route route";column-gap:8px;row-gap:5px;padding:10px 10px 9px 13px;align-items:center}
  .time-cell{grid-area:time;align-self:start}.main-time{font-size:16px;letter-spacing:-.015em}.time small{margin-top:4px;font-size:8.5px}
  .train-cell{grid-area:train;align-self:start}.trainno{font-size:12.5px}.trainno small{margin-top:3px;font-size:9px}
  .track-cell{grid-area:track;display:flex;align-items:center;gap:10px;min-width:0;text-align:left;font-size:12px!important;white-space:nowrap}
  .track-value{display:inline-flex;align-items:baseline;white-space:nowrap}.track-label{display:inline;margin-right:2px;font-size:9px!important;color:#697581;font-weight:700}
  .passing-label{display:inline-flex;align-items:center;min-height:20px;padding:2px 6px;margin-left:4px;border:1px solid #d6dde3;border-radius:5px;background:#f5f7f9;color:#596674;font-size:9px;font-weight:800;line-height:1;white-space:nowrap}
  .desktop-passing{display:none}
  .status-cell{grid-area:status;align-self:start;text-align:right;white-space:nowrap;font-size:11.5px}.status-cell strong{line-height:1.25}.status-cell small{margin-top:3px}
  .type-cell{grid-area:meta;display:block;padding-top:1px!important;font-size:10.5px!important;font-weight:750;color:#43515e!important}.mobile-operator{display:inline;color:#697581;font-weight:650}
  .operator-cell{display:none}
  .route-cell{grid-area:route;margin-top:1px;padding-top:6px!important;border-top:1px solid rgba(0,0,0,.07)!important;font-size:11.5px;line-height:1.25;color:#374552}
  .train-row.passed .route-cell,.train-row.passed .type-cell{color:#697581!important}
  .passing-badge{margin-left:5px;font-size:8px}
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* Dark theme */
:root[data-theme="dark"]{color-scheme:dark;background:#071421;color:#e8eff6}
:root[data-theme="dark"] body{background:#071421;color:#e8eff6}
:root[data-theme="dark"] h1{color:#f4f8fb}
:root[data-theme="dark"] .brand-link:hover h1{color:#72a9d8}
:root[data-theme="dark"] .beta-label,
:root[data-theme="dark"] .error{color:#ff7d88!important}
:root[data-theme="dark"] .kicker,
:root[data-theme="dark"] .field label,
:root[data-theme="dark"] .compact-picker-field label,
:root[data-theme="dark"] .summary span,
:root[data-theme="dark"] .summary-filter span,
:root[data-theme="dark"] .route-graphs-copy span,
:root[data-theme="dark"] .route-graph-links a small,
:root[data-theme="dark"] .route-graph-picker-copy small,
:root[data-theme="dark"] .detail-grid span,
:root[data-theme="dark"] .detail-source-links>span,
:root[data-theme="dark"] .detail-loading,
:root[data-theme="dark"] .note,
:root[data-theme="dark"] .muted,
:root[data-theme="dark"] .empty,
:root[data-theme="dark"] .train-map-head p,
:root[data-theme="dark"] .site-menu-item small,
:root[data-theme="dark"] .site-menu-heading{color:#9eb0c1}
:root[data-theme="dark"] .panel,
:root[data-theme="dark"] .summary>div{background:#0e2234;border-color:#294157;box-shadow:0 3px 12px rgba(0,0,0,.22)}
:root[data-theme="dark"] input,
:root[data-theme="dark"] .picker-trigger{background:#0a1b2a;color:#eef5fb;border-color:#3a5369}
:root[data-theme="dark"] input::placeholder{color:#879bad}
:root[data-theme="dark"] input:focus,
:root[data-theme="dark"] .picker-trigger:focus-visible{border-color:#5795c9;outline-color:rgba(87,149,201,.3)}
:root[data-theme="dark"] .theme-btn,
:root[data-theme="dark"] .locate-inline,
:root[data-theme="dark"] .filter-actions .secondary,
:root[data-theme="dark"] .filter-actions-dialog .secondary,
:root[data-theme="dark"] .train-map-actions a,
:root[data-theme="dark"] .detail-refresh,
:root[data-theme="dark"] .detail-source-link{background:#12293c;color:#e8eff6;border-color:#456077}
:root[data-theme="dark"] .theme-btn:hover,
:root[data-theme="dark"] .locate-inline:hover,
:root[data-theme="dark"] .filter-actions .secondary:hover,
:root[data-theme="dark"] .train-map-actions a:hover,
:root[data-theme="dark"] .detail-refresh:hover,
:root[data-theme="dark"] .detail-source-link:hover{background:#19354b}
:root[data-theme="dark"] .moon-icon{display:none!important}
:root[data-theme="dark"] .sun-icon{display:block!important}
:root[data-theme="dark"] .menu-btn,
:root[data-theme="dark"] .train-map-actions button,
:root[data-theme="dark"] .board-mode button.active,
:root[data-theme="dark"] .calendar-day.active{background:#dce8f2;color:#091725;border-color:#dce8f2}
:root[data-theme="dark"] .menu-btn:hover{background:#c6d8e6}
:root[data-theme="dark"] .suggestions,
:root[data-theme="dark"] .site-menu-panel,
:root[data-theme="dark"] .route-graph-menu{background:#0b1d2d;border-color:#365068;box-shadow:0 18px 48px rgba(0,0,0,.5)}
:root[data-theme="dark"] .suggestion,
:root[data-theme="dark"] .site-menu-item,
:root[data-theme="dark"] .route-graph-links>a,
:root[data-theme="dark"] .route-graph-menu a,
:root[data-theme="dark"] .route-graph-picker summary{background:#0e2234;color:#e8eff6;border-color:#365068}
:root[data-theme="dark"] .suggestion{border-bottom-color:#243b50}
:root[data-theme="dark"] .suggestion:hover,
:root[data-theme="dark"] .suggestion.active,
:root[data-theme="dark"] .site-menu-item:hover,
:root[data-theme="dark"] .site-menu-item:focus-visible,
:root[data-theme="dark"] .route-graph-links a:hover{background:#17334a}
:root[data-theme="dark"] .suggestion small,
:root[data-theme="dark"] .suggestion-empty{color:#9eb0c1}
:root[data-theme="dark"] .suggestion b,
:root[data-theme="dark"] .external-icon,
:root[data-theme="dark"] .site-menu-item-meta,
:root[data-theme="dark"] .route-graph-count{background:#20394e;color:#c8d8e6}
:root[data-theme="dark"] .site-menu-section{border-top-color:#294157}
:root[data-theme="dark"] th{background:#10273a;color:#aebdca;border-bottom-color:#294157}
:root[data-theme="dark"] td{border-bottom-color:#294157}
:root[data-theme="dark"] .train-row.ontime{background:#102d29;box-shadow:inset 5px 0 #36a265}
:root[data-theme="dark"] .train-row.delayed{background:#302b18;box-shadow:inset 5px 0 #d7aa00}
:root[data-theme="dark"] .train-row.cancelled{background:#321d27;box-shadow:inset 5px 0 #cf3b47}
:root[data-theme="dark"] .train-row.passed{background:#101f2e;box-shadow:inset 5px 0 #66798a}
:root[data-theme="dark"] .time,
:root[data-theme="dark"] .summary strong,
:root[data-theme="dark"] .summary-filter,
:root[data-theme="dark"] .summary-refresh,
:root[data-theme="dark"] .type-text{color:#eef5fb!important}
:root[data-theme="dark"] .time small,
:root[data-theme="dark"] .trainno small,
:root[data-theme="dark"] .track-label,
:root[data-theme="dark"] .mobile-operator,
:root[data-theme="dark"] .desktop-passing{color:#9eb0c1}
:root[data-theme="dark"] .train-row.ontime .status-cell{color:#75d39a}
:root[data-theme="dark"] .train-row.delayed .status-cell,
:root[data-theme="dark"] .unconfirmed-note{color:#f0cc55}
:root[data-theme="dark"] .train-row.cancelled .status-cell,
:root[data-theme="dark"] .cancelled-time{color:#ff8993}
:root[data-theme="dark"] .train-row.cancelled td{color:#f3c8cc}
:root[data-theme="dark"] .train-row.passed .status-cell{color:#9eb0c1}
:root[data-theme="dark"] .key.ontime{background:#15392a;color:#83d9a5}
:root[data-theme="dark"] .key.delayed{background:#3a3218;color:#f1d15f}
:root[data-theme="dark"] .key.cancelled{background:#3a2029;color:#ff9aa3}
:root[data-theme="dark"] .detail,
:root[data-theme="dark"] .filter-sheet,
:root[data-theme="dark"] .picker-sheet{background:#0c2031;color:#e8eff6;border:1px solid #294157}
:root[data-theme="dark"] .close,
:root[data-theme="dark"] .filter-head>button,
:root[data-theme="dark"] .picker-head button,
:root[data-theme="dark"] .calendar-nav button{background:#193247;color:#e8eff6}
:root[data-theme="dark"] .detail-head p,
:root[data-theme="dark"] .route-stop span,
:root[data-theme="dark"] .route-stop strong small{color:#9eb0c1}
:root[data-theme="dark"] .detail-grid>div,
:root[data-theme="dark"] .filter-option{background:#10283b;border-color:#29465e}
:root[data-theme="dark"] .route-stop:not(:last-child)::before{background:#476176}
:root[data-theme="dark"] .route-marker{background:#0c2031;border-color:#71889b}
:root[data-theme="dark"] .route-stop.current .route-marker{background:#0c2031;border-color:#5ba0da;box-shadow:0 0 0 4px #173b58}
:root[data-theme="dark"] .route-stop.selected>div:last-child{background:#142e43}
:root[data-theme="dark"] .route-stop.current>div:last-child strong::after{background:#173d5c;color:#9fd0f6}
:root[data-theme="dark"] .calendar-day,
:root[data-theme="dark"] .board-mode button{background:#10283b;color:#cbd8e3;border-color:#365068}
:root[data-theme="dark"] .calendar-day:hover,
:root[data-theme="dark"] .board-mode button:hover{background:#19384f}
:root[data-theme="dark"] .weekdays span{color:#93a8b9}
:root[data-theme="dark"] .welcome p,
:root[data-theme="dark"] .welcome-grid span,
:root[data-theme="dark"] .welcome-warning p{color:#a9b9c7}
:root[data-theme="dark"] .welcome-grid>div,
:root[data-theme="dark"] .welcome-warning{border-color:#30495e}
:root[data-theme="dark"] .welcome-warning>strong,
:root[data-theme="dark"] .filter-warning{color:#ff8e97}
:root[data-theme="dark"] .summary-update-card:hover{background:#142d42}
:root[data-theme="dark"] .summary-update-card:active{background:#19384f}
:root[data-theme="dark"] .update-notice{background:#102e48;color:#bcdaf2;border-color:#38617f}
:root[data-theme="dark"] .operational-notice{background:#302918;border-color:#8a6a20;border-left-color:#d59a00;box-shadow:0 2px 8px rgba(0,0,0,.22)}
:root[data-theme="dark"] .operational-notice .kicker{color:#f0c95a}
:root[data-theme="dark"] .operational-notice p{color:#e1d3a9}
:root[data-theme="dark"] .operational-notice .operational-notice-time{color:#fff1c5}
:root[data-theme="dark"] .operational-notice .operational-notice-missing{color:#ff9ea5}
:root[data-theme="dark"] .train-loading{color:#d3e0ea}
:root[data-theme="dark"] .train-loading div span{color:#9eb0c1}
:root[data-theme="dark"] .train-map-frame-wrap{background:#0a1b2a}
:root[data-theme="dark"] .train-map-loading{background:#0d2233;color:#b9c9d6}
:root[data-theme="dark"] .passing-label,
:root[data-theme="dark"] .passing-badge{background:#1a3348;color:#c6d5e1;border-color:#365068}
:root[data-theme="dark"] .event-kind.arrival{background:#173d5a;color:#9ed2f8}
:root[data-theme="dark"] .event-kind.departure{background:#302a51;color:#c9bbfa}
:root[data-theme="dark"] .event-kind.graph{background:#293a48;color:#c4d0d9}
:root[data-theme="dark"] .route-graph-chevron{border-color:#a9bac8}
:root[data-theme="dark"] .filter-option input{accent-color:#63a1d2}
:root[data-theme="dark"] ::selection{background:#2a6594;color:#fff}
@media(max-width:720px){
  :root[data-theme="dark"] .table-panel{background:transparent;border:0;box-shadow:none}
  :root[data-theme="dark"] .train-row{border-color:#294157}
  :root[data-theme="dark"] .route-cell{border-top-color:rgba(190,211,227,.16)!important;color:#c5d3df}
  :root[data-theme="dark"] .type-cell{color:#c5d3df!important}
}

/* Compact notice for locations without real-time coverage. */
.blockpost-notice{margin:9px 0;padding:8px 11px;border:1px solid #d8e2ec;border-left:3px solid #6d8da9;border-radius:6px;background:#f2f6fa;color:#40566b;font-size:12px;line-height:1.45}
:root[data-theme="dark"] .blockpost-notice{background:#142b3e;border-color:#365068;border-left-color:#7ea4c6;color:#c4d6e5}
