* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: "Malgun Gothic", Arial, sans-serif; background: #161c1c; color: #f0f1ec; }
body,h1,h2,h3,p,ul,ol { margin: 0; }
.desk { container-type: inline-size; max-width: 1680px; margin: auto; background: #121919; font-variant-numeric: tabular-nums; overflow: hidden; }
.bar,.brand,.tabs,.snapshot,.panel-head,.vehicle-id,.alert>div,.details header,.load>div,.fleet-foot,.vehicle-name { display:flex; align-items:center; }
.bar { height: 5.1cqw; padding: 0 1.65cqw; gap: 3cqw; background: #161b1b; border-bottom: 1px solid #39413c; }
.brand { gap: .65cqw; font: 640 2.05cqw Arial,sans-serif; letter-spacing: -.075em; }.brand svg { width: 2.25cqw; height: 2.25cqw; color: #e3e9cd; }
.tabs { align-self: stretch; gap: 1.4cqw; color: #a7b0ab; font-size: .96cqw; }.tabs b { display:flex; align-items:center; color:#e1eaca; border-bottom: 2px solid #c4dd9b; }.snapshot { margin-left:auto; gap:1.4cqw; font-size:.87cqw; color:#aeb9b2; }.snapshot time { font:1.05cqw Consolas,monospace; color:#e8ece7; }.snapshot small {font-size:.78em; color:#b5bdb6;}
.field { height: min(60.3cqw,calc(100svh - 5.1cqw)); min-height: 48cqw; position:relative; isolation:isolate; overflow:hidden; }
.geography { position:absolute; z-index:-2; inset:0; width:100%; height:100%; }.map-label { font: 600 13px "Malgun Gothic",sans-serif; fill:#fff; stroke:#1c2521; stroke-width:3px; paint-order:stroke; }.water { font: 500 14px Georgia,serif; fill:#adc9c9; opacity:.62; }
.field::before { content:""; z-index:-1; position:absolute; inset:0; background:linear-gradient(180deg,#0a11144a,transparent 32%,transparent 75%,#0c171a88); pointer-events:none; }
.map-title,.north,.panel,.details { position:absolute; }.map-title { top:2cqw; left:25.5cqw; text-shadow:0 2px 8px #101714; }.map-title p {color:#dce5d9;font-size:1cqw;}.map-title h1 { font-size:3.1cqw; font-weight:500; line-height:1.25; letter-spacing:-.085em; }
.north { display:grid; justify-items:center; gap:.35cqw; right:23cqw; top:2.6cqw; font: .8cqw Consolas,monospace; }.north i { width:0; height:0; border-left:.4cqw solid transparent; border-right:.4cqw solid transparent; border-bottom:1.45cqw solid #e0e6de; }
.panel { background:linear-gradient(145deg,#222927f7,#151b1bf7); border:1px solid #a8b5a93a; border-radius:.95cqw; box-shadow:0 .7cqw 1.8cqw #07121243; }
.panel-head,.vehicle-id,.details header,.fleet-foot,.vehicle-name { justify-content:space-between; }.panel-head h2,.details h2 {font-size:1.25cqw; font-weight:620; letter-spacing:-.05em;}.panel-head>b {color:#c2ccc2; font: .95cqw Consolas,monospace; background:#ffffff0b; border:1px solid #ffffff18; border-radius:.4cqw; padding:.2cqw .45cqw;}
.fleet { left:1.3cqw; top:1.4cqw; bottom:1.4cqw; width:21.8cqw; padding:1.2cqw; display:flex; flex-direction:column; }
.fleet-status { display:flex; align-items:center; gap:.45cqw; font-size:.91cqw; color:#d2dfbd; padding:.9cqw 0; border-bottom:1px solid #414842; }.fleet-status i {width:.52cqw;height:.52cqw;background:#c3de9d;border-radius:50%;}.fleet-status span { margin-left:auto; color:#a5b1a9; }
.fleet ul { list-style:none; padding:0; display:grid; gap:.52cqw; margin-top:.7cqw; }.vehicle { --route:#cfe3ac; padding:.7cqw .83cqw; border-radius:.55cqw; background:#ffffff07; border:1px solid #a7baae1e; }.blue {--route:#aacae3;}.amber {--route:#dfb88b;}.gray {--route:#a7b2ad;}
.vehicle.selected { background:linear-gradient(105deg,#a9c48538,#a2ba8d0b); border-color:#afc79689; box-shadow:inset 2px 0 #c3dd91; }
.vehicle-id strong { font:500 1.75cqw/1.05 Arial,sans-serif; letter-spacing:-.055em; }.vehicle-id span { color:var(--route); font-size:.81cqw; }.vehicle-name { margin:.15cqw 0; color:#e0e5de; font-size:1cqw; }.bus { width:3.75cqw; height:1.65cqw; color:var(--route); }.vehicle small { font-size:.77cqw; color:#a3afa7; }.vehicle small b { font-weight:500; color:#e4e8e1; margin-left:.38cqw; }.fleet-foot { margin-top:auto; border-top:1px solid #828d812f; padding-top:.7cqw; font-size:.76cqw; color:#a8b6ae; }.fleet-foot b {font-weight:500;color:#d7dfd5;}
.warnings {width:19.6cqw;right:1.3cqw;top:1.4cqw;padding:1.1cqw;}.warnings .panel-head {margin-bottom:.85cqw;}
.alert { --accent:#ffaca2; border-left:2px solid var(--accent); border-radius:.25cqw .55cqw .55cqw .25cqw; background:linear-gradient(110deg,#583835,#352c2a); padding:.82cqw .8cqw; }.alert+.alert { margin-top:.6cqw; }.alert.amber {--accent:#e8c493; background:linear-gradient(110deg,#483d2c,#322f29);}.alert>div { gap:.45cqw; color:var(--accent); }.alert i { font:700 .76cqw/1 Arial; display:grid;place-items:center;background:var(--accent);color:#362322;width:1.12cqw;height:1.12cqw;border-radius:50%; }.alert strong {font-size:.87cqw;}.alert time {margin-left:auto;font:.76cqw Consolas,monospace;color:#d4c5bb;}
.alert h3 {font-size:1.08cqw; margin:.55cqw 0 .2cqw; letter-spacing:-.04em; }.alert p {font-size:.83cqw; color:#d3cec4;}.alert p b { font-weight:550; }.alert meter {display:block;width:100%;height:.52cqw;margin-top:.6cqw;background:none;border:0;}.alert meter::-webkit-meter-bar { background:#e5c0a630;border:0; height:.38cqw; }.alert meter::-webkit-meter-optimum-value {background:#df9389;}
.details {left:24.4cqw; right:1.3cqw;bottom:1.4cqw;display:grid;grid-template-columns:1.55fr 1fr;gap:.75cqw;}.details .panel { position:relative;padding:1.05cqw 1.2cqw; }.details header span {color:#afbaaf;font-size:.82cqw;}.details h2 {font-size:1.05cqw;}
.journey ol { display:flex;list-style:none; padding:0; margin:1.15cqw 0 .3cqw; }.journey li { position:relative; padding-top:1.15cqw; flex:1; color:#c2ccc3; font-size:.84cqw; }.journey li:before {content:"";position:absolute;top:.23cqw;left:0;width:100%;border-top:1px solid #849777;}.journey li:last-child:before {display:none;}.journey li:after {content:"";position:absolute;top:0;left:0;width:.53cqw;height:.53cqw;border-radius:50%;background:#657362;outline:1px solid #aab99f;}.journey .next {color:#e6f3c6;}.journey .next:after {background:#d7eba9;box-shadow:0 0 0 .26cqw #ccdfa52f;}.load>div { justify-content:space-between; margin-top:.45cqw;gap:.6cqw; }.load strong {font:500 2.65cqw/1 Arial,sans-serif;letter-spacing:-.065em;}.load small {font-size:.5em;}.load svg {width:45%;height:2.6cqw; }
@media(max-width:600px) and (max-aspect-ratio:6/5) {
  .bar {height:11cqw;padding:0 3cqw;gap:4cqw;}.brand {font-size:5cqw;gap:1.4cqw;}.brand svg {width:5cqw;height:5cqw;}.tabs {font-size:2.5cqw;}.tabs span {display:none;}.snapshot {font-size:2.25cqw;gap:2cqw;}.snapshot time {font-size:2.65cqw;}
  .field {height:auto;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:2cqw;padding:55cqw 2.5cqw 2.5cqw;align-items:start;}
  .geography {inset:0 auto auto -20%;width:140%;height:66cqw;}.field::before {bottom:auto;height:62cqw;background:linear-gradient(180deg,#10191555,transparent 25%,transparent 83%,#151d1d);}
  .map-title {left:3.5cqw;top:2.5cqw;}.map-title p {font-size:2.5cqw;}.map-title h1 {font-size:6.7cqw;}.north {top:3cqw;right:3cqw;font-size:2.4cqw;}.north i {border-left-width:1cqw;border-right-width:1cqw;border-bottom-width:3cqw;}
  .fleet,.warnings,.details {position:relative;inset:auto;width:auto;}.panel {border-radius:2.1cqw;}.fleet,.warnings {padding:2.4cqw;}.panel-head h2,.details h2 {font-size:3.1cqw;}.panel-head>b {font-size:2.35cqw;padding:.35cqw .7cqw;}.fleet-status {font-size:2.3cqw;padding:1.4cqw 0;}.fleet-status i {width:1cqw;height:1cqw;}.fleet ul {gap:1cqw;margin-top:1.3cqw;}.vehicle {padding:1.4cqw 1.7cqw;border-radius:1.2cqw;}.vehicle-id strong {font-size:4.4cqw;}.vehicle-id span {font-size:2.2cqw;}.vehicle-name {font-size:2.5cqw;}.bus {width:9cqw;height:4cqw;}.vehicle small {font-size:2.1cqw;}.fleet-foot {display:none;}
  .warnings .panel-head {margin-bottom:1.7cqw;}.alert {padding:2cqw 1.7cqw;border-radius:.6cqw 1.2cqw 1.2cqw .6cqw;}.alert+.alert {margin-top:1.6cqw;}.alert>div {gap:1cqw;}.alert i {width:2.6cqw;height:2.6cqw;font-size:1.9cqw;}.alert strong {font-size:2.4cqw;}.alert time {font-size:2cqw;}.alert h3 {font-size:2.9cqw;margin:1.8cqw 0 .65cqw;}.alert p {font-size:2.4cqw;}.alert meter,.alert meter::-webkit-meter-bar {height:.8cqw;}
  .details {grid-column:1/-1;gap:1.4cqw;grid-template-columns:1.6fr 1fr;}.details .panel {padding:2.3cqw;}.details h2 {font-size:2.65cqw;}.details header span {font-size:1.95cqw;}.journey ol {margin-top:2.8cqw;}.journey li {font-size:2.05cqw;padding-top:2.35cqw;}.journey li:after {width:1.15cqw;height:1.15cqw;}.journey li:before {top:.5cqw;}.load strong {font-size:6.2cqw;}.load svg {height:5.6cqw;}
}
@media(max-width:600px) and (min-aspect-ratio:3/4) and (max-aspect-ratio:6/5) {
  .bar {height:9cqw;}.field {padding-top:47cqw;gap:1.6cqw;}.geography {height:54cqw;}.field::before {height:53cqw;}.vehicle {display:grid;grid-template-columns:1fr auto;column-gap:1cqw;align-items:center;padding:1.25cqw 1cqw;}.vehicle-id {display:contents;}.vehicle-id strong {font-size:3.5cqw;}.vehicle-id span {font-size:2.35cqw;}.vehicle-name {display:none;}.vehicle small {grid-column:1/-1;font-size:2.1cqw;}.alert h3 {margin-top:1.3cqw;}
}


.dispatch { margin-top:auto;padding:.95cqw .8cqw;border-top:1px solid #7c8b7d45; }
.dispatch h3 {color:#d6dfd6;font-size:.94cqw;font-weight:550;}
.dispatch div {display:flex;align-items:center;justify-content:space-between;gap:.6cqw;margin:.45cqw 0;}
.dispatch strong {font:500 2.3cqw/1 Arial,sans-serif;}.dispatch strong small {font-size:.95cqw;}
.dispatch svg {width:55%;height:2.3cqw;}.dispatch p {font-size:.78cqw;color:#aab6aa;}.fleet-foot {margin-top:.35cqw;}
@media(min-aspect-ratio:6/5) and (max-height:43vw) { .dispatch {display:none;} }
@media(max-width:600px) and (max-aspect-ratio:6/5) {
  .dispatch {display:none;}.map-label {font-size:20px;}
}
@media(max-width:600px) and (max-aspect-ratio:3/4) {
  .field {grid-template-areas:"fleet warnings" "fleet load" "journey journey";grid-template-rows:auto 1fr auto;}
  .fleet {grid-area:fleet;}.warnings {grid-area:warnings;}.details {display:contents;}
  .details .load {grid-area:load;}.details .journey {grid-area:journey;}
}
@media(max-width:600px) and (min-aspect-ratio:3/4) and (max-aspect-ratio:6/5) {
  .vehicle:not(.selected) small {display:none;}
  .vehicle:not(.selected) {padding-block:1.65cqw;}
}

.alert .alert-note { margin-top:.3em; color:#ecd1c3; }.snapshot>span{white-space:nowrap;}
@media(max-width:600px) and (max-aspect-ratio:6/5){.snapshot>span{font-size:clamp(9px,2.2cqw,12px);}.snapshot{gap:1.4cqw;}.bar{gap:2.5cqw;}}

@media(max-width:600px) and (max-aspect-ratio:6/5){.geography .west-stop{display:none;}}

/* Reserve the final row for the route and passenger load in the embedded card. */
@media (min-aspect-ratio: 9/10) and (max-aspect-ratio: 1/1) and (max-width: 600px) {
  .field {
    height: calc(100svh - 9cqw);
    grid-template-rows: minmax(0, 1fr) auto auto;
    padding: 0 2.5cqw 2.5cqw;
  }
  .geography { grid-area: 1 / 1 / 2 / -1; height: calc(100% + 5cqw); }
  .fleet, .warnings { grid-row: 2; }
  .details { grid-row: 3; }
}
@media (min-aspect-ratio: 9/10) and (max-aspect-ratio: 1/1) and (min-width: 601px) and (max-width: 700px) {
  .field { height: calc(100svh - 5.1cqw); }
}
