:root {
  color-scheme: light;
  --pine: #17392c;
  --pine-dark: #102e23;
  --ink: #1b3328;
  --muted: #52665c;
  --line: #dbe5dd;
  --panel: #fff;
  --wash: #f3f6ef;
  --mint: #e7f1eb;
  --green: #205b3f;
  --accent: #d9f29a;
  --warning: #7a5021;
  --focus: #006eb7;
  --shadow: 0 2px 10px #17362b13, 0 1px 2px #17362b10;
  --font: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
[hidden], .mobile-only { display: none !important; }
html, body { margin: 0; width: 100%; height: 100%; font-family: var(--font); color: var(--ink); background: var(--wash); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a { color: var(--green); text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, canvas:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
button, input { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
.symbols { display: block; width: 0; height: 0; position: absolute; overflow: hidden; }
.icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flip { transform: rotate(180deg); }
.muted { color: var(--muted); }
.num, time, .coords { font-variant-numeric: tabular-nums; }
.skip { position: fixed; z-index: 100; top: -60px; left: 10px; padding: 10px 16px; background: #fff; }
.skip:focus { top: 10px; }
.app { display: flex; flex-direction: column; height: 100vh; height: 100dvh; min-height: 360px; overflow: hidden; }
.masthead { min-height: 66px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 0 28px; background: var(--pine); color: #fff; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 12px; padding: 0; text-align: left; border: 0; background: none; color: inherit; }
.brand-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 9px; background: #d4ecde; color: #174a3b; }
.brand-icon .icon { width: 25px; height: 25px; }
.brand strong { display: block; font-size: .96rem; font-weight: 700; letter-spacing: -.015em; }
.brand small { display: block; margin-top: 3px; color: #b8dacc; font-size: .67rem; letter-spacing: .12em; font-weight: 650; }
.main-nav { display: flex; height: 100%; gap: 5px; align-items: stretch; }
.nav-button { display: inline-flex; align-items: center; gap: 8px; padding: 0 15px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #c7e0d5; font-size: .88rem; white-space: nowrap; font-weight: 600; }
.nav-button:hover { background: #235145; color: #fff; }
.nav-button[aria-current] { border-bottom-color: #ade0be; color: #fff; background: #1e493e; }
.presentation-button { display: inline-flex; margin-left: auto; gap: 8px; align-items: center; background: #265448; color: #fff; border: 1px solid #678b7b; border-radius: 7px; padding: 8px 11px; font-size: .85rem; font-weight: 650; }
.presentation-button:hover { background: #366756; }
.main { min-height: 0; flex: 1; display: flex; outline: none; }
.map-workspace { min-width: 0; min-height: 0; display: flex; flex: 1; position: relative; }
.navigator { flex: 0 0 302px; min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--panel); z-index: 3; }
.navigator-head { padding: 20px 17px 12px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.panel-heading h2 { font-size: 1.1rem; font-weight: 730; letter-spacing: -.025em; }
.searchbox { display: flex; margin-top: 14px; height: 41px; gap: 8px; align-items: center; background: #f8faf8; color: #587266; border: 1px solid #dbe5dd; border-radius: 7px; padding: 0 10px; }
.searchbox:focus-within { border-color: #477b6a; background: #fff; }
.searchbox input { width: 100%; min-width: 0; padding: 7px 0; color: var(--ink); background: transparent; outline: none; border: 0; font-size: .85rem; }
.searchbox input:focus-visible { outline: none; }
.searchbox input::placeholder { color: #5e7268; }
.scope { display: flex; gap: 3px; margin-top: 11px; background: #f1f5f1; padding: 3px; border: 1px solid #e4ebe5; border-radius: 7px; }
.scope button { flex: 1; border: 1px solid transparent; border-radius: 5px; padding: 6px 4px; background: none; color: #486054; font-size: .79rem; font-weight: 650; }
.scope button[aria-pressed="true"] { background: white; color: var(--ink); border-color: #dfe8df; box-shadow: 0 1px 2px #17362b0d; }
.scope button:hover { color: #123a2e; }
.navigator-count { min-height: 30px; display: flex; align-items: center; padding: 3px 18px 7px; font-size: .75rem; color: var(--muted); font-weight: 600; }
.route-list { overflow: auto; min-height: 0; flex: 1; padding: 0 10px 12px; scrollbar-width: thin; scrollbar-color: #b6c8bd transparent; }
.route-item { min-height: 51px; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 9px; width: 100%; padding: 8px 7px; background: white; color: var(--ink); text-align: left; border: 1px solid transparent; border-top-color: #eef2ee; border-radius: 0; }
.route-list > .route-item:first-child, .route-group > .route-item:first-child { border-top-color: transparent; }
.route-item:hover, .route-item.selected { border-radius: 7px; border-color: #dce9df; background: #edf5ef; }
.route-item.branch { min-height: 43px; grid-template-columns: 31px minmax(0, 1fr); padding-left: 6px; }
.route-item .icon { width: 15px; height: 15px; color: #698377; }
.route-label { min-width: 0; }
.route-label strong, .route-label small { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.route-label strong { font-size: .84rem; font-weight: 700; letter-spacing: -.012em; }
.route-label small { margin-top: 4px; font-size: .735rem; color: var(--muted); }
.route-label .alert-text { color: var(--warning); }
.route-code { display: inline-flex; align-items: center; justify-content: center; min-width: 31px; min-height: 29px; padding: 3px 5px; border-radius: 5px; color: #fff; background-color: var(--route, #63736d); font-size: .78rem; font-weight: 720; line-height: 1; white-space: nowrap; }
.code-zero, .code-reference { outline: 1px dashed currentColor; outline-offset: -4px; }
.route-branches { margin: 1px 0 5px 17px; padding-left: 9px; border-left: 1px solid #d5e2d9; }
.route-group > .route-item { grid-template-columns: 34px minmax(0, 1fr) 14px; }
.route-group { border-top: 1px solid #eef2ee; }
.route-group:has(.route-item.selected) { border-top-color: transparent; }
.search-section { margin-bottom: 5px; }
.search-section h3 { margin: 8px 7px 5px; color: var(--muted); font-size: .75rem; }
.search-section .route-item { min-height: 45px; }
.navigator-footer { padding: 6px 17px 8px; border-top: 1px solid var(--line); }
.text-button, .soft-button, .primary-button, .icon-button { border-radius: 6px; align-items: center; justify-content: center; gap: 7px; display: inline-flex; font-weight: 650; white-space: nowrap; }
.text-button { padding: 7px 0; border: 0; background: transparent; color: var(--green); font-size: .84rem; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.soft-button, .primary-button, .icon-button { min-height: 37px; border: 1px solid #d4e2d8; padding: 7px 10px; background: #fff; color: var(--ink); font-size: .81rem; }
.soft-button:hover, .icon-button:hover { background: #eef5ef; border-color: #b6d0c1; }
.soft-button .icon, .primary-button .icon, .icon-button .icon { width: 17px; height: 17px; }
.primary-button { border-color: var(--pine); background: var(--pine); color: #fff; }
.primary-button:hover { background: #205848; }
.icon-button { min-width: 36px; padding: 6px; }
.map { position: relative; flex: 1; min-width: 0; overflow: hidden; background: #e7eee7; isolation: isolate; }
.map-world, .markers, .street-map, #cartography { position: absolute; inset: 0; width: 100%; height: 100%; }
.street-map { pointer-events: none; overflow: hidden; visibility: hidden; background: #ecefea; }
.street-map.ready { visibility: visible; }
.street-map canvas { filter: saturate(.63); }
#cartography { cursor: grab; touch-action: none; display: block; }
#cartography.dragging { cursor: grabbing; }
#cartography:focus-visible { outline-offset: -4px; }
.markers { pointer-events: none; }
.marker { position: absolute; top: -13px; left: -13px; display: block; pointer-events: auto; width: 26px; height: 26px; border: 0; border-radius: 50%; padding: 0; background: none; }
.marker:focus-visible { outline: none; }
.marker:focus-visible .marker-dot { outline: 2px solid var(--focus); outline-offset: 4px; }
.marker-dot { display: grid; place-items: center; position: absolute; width: 24px; height: 24px; left: 1px; top: 1px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 5px #152c3260; color: #fff; background: #164a3d; font-size: .61rem; line-height: 1; font-weight: 780; }
.marker-end .marker-dot { width: 14px; height: 14px; left: 6px; top: 6px; background: #fff; border: 2px solid var(--color, #355c53); color: var(--color, #355c53); }
.marker-end .marker-dot b { width: 4px; height: 4px; border-radius: 1px; background: currentColor; }
.marker-end .marker-dot::after, .marker-stop .marker-dot::after { position: absolute; content: ""; inset: -6px; border-radius: 50%; }
.marker-stop .marker-dot { width: 19px; height: 19px; left: 3.5px; top: 3.5px; color: var(--color); background: #fff; border-color: var(--color); box-shadow: 0 1px 3px #152c3250; font-size: .59rem; }
.marker .marker-label { position: absolute; display: inline-block; min-width: max-content; left: 28px; top: 2px; padding: 4px 6px; line-height: 1.05; white-space: nowrap; font-size: .75rem; font-weight: 680; color: #253c33; background: #fcfefcf2; border: 1px solid #dbe7de; border-radius: 4px; box-shadow: 0 1px 2px #213d3010; pointer-events: auto; }
.marker-end .marker-label { left: 24px; }
.marker .marker-label.label-west { right: 27px; left: auto; }
.marker .marker-label.label-hidden { display: none; }
.marker.selected .marker-dot, .marker:hover .marker-dot, .marker:focus-visible .marker-dot { z-index: 3; transform: scale(1.18); }
.marker.selected .marker-dot { outline: 2px solid var(--color, var(--green)); outline-offset: 2px; }
.marker.selected .marker-label, .marker:hover .marker-label { border-color: #608e77; }
.map-toolbar { position: absolute; z-index: 5; top: 15px; right: 15px; left: 15px; display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; pointer-events: none; }
.map-toolbar > *, .map-toolbar button { pointer-events: auto; }
.map-tools-left { display: flex; align-items: stretch; gap: 7px; }
.map-button, .map-direction { display: inline-flex; align-items: center; gap: 7px; min-height: 37px; padding: 7px 10px; color: var(--ink); background: #fff; box-shadow: var(--shadow); border: 1px solid #cfded3; border-radius: 6px; font-size: .8rem; font-weight: 680; white-space: nowrap; }
.map-button .icon { width: 16px; height: 16px; }
.map-button:hover { background: #eef6ef; }
.map-direction { padding: 3px; gap: 1px; }
.map-direction button { display: block; padding: 5px 8px; border: 0; border-radius: 4px; color: var(--muted); background: transparent; font-size: .79rem; font-weight: 660; }
.map-direction button[aria-pressed="true"] { background: #e6f1e8; color: #174a36; }
.layer-panel { position: absolute; top: 44px; right: 0; width: 227px; padding: 13px 14px 11px; border: 1px solid #d6e4da; border-radius: 8px; background: #fff; box-shadow: var(--shadow); font-size: .85rem; }
.layer-panel fieldset { border: 0; padding: 0; margin: 0 0 11px; }
.layer-panel legend { font-weight: 720; margin-bottom: 5px; }
.layer-panel label { display: flex; align-items: center; gap: 7px; min-height: 27px; }
.layer-panel input { accent-color: var(--green); }
.layer-panel p { font-size: .75rem; line-height: 1.4; }
.map-controls { position: absolute; top: 62px; right: 15px; z-index: 4; display: flex; flex-direction: column; gap: 7px; }
.map-controls button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #cfded3; border-radius: 6px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.map-controls button:hover { background: #edf5ee; }
.zoom-controls button:first-child { border-radius: 6px 6px 0 0; }
.zoom-controls button:last-child { border-radius: 0 0 6px 6px; border-top: 0; }
.map-north { position: absolute; z-index: 2; top: 192px; right: 24px; display: flex; width: 18px; flex-direction: column; align-items: center; gap: 3px; color: #26433a; font-size: .66rem; font-weight: 780; pointer-events: none; }
.map-north svg { width: 13px; height: 22px; }
.map-base { position: absolute; z-index: 3; left: 15px; bottom: 13px; right: 15px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; align-items: flex-end; pointer-events: none; }
.map-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 13px; padding: 6px 9px; border: 1px solid #d6e5da; border-radius: 5px; background: #fffffff3; color: #355349; font-size: .72rem; font-weight: 630; max-width: 100%; }
.map-legend span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.legend-start, .legend-end { display: inline-block; width: 9px; height: 9px; border: 1px solid #2c6756; border-radius: 50%; background: #2c6756; }
.legend-end { background: #fff; border-width: 2px; }
.legend-path, .legend-dashed { display: inline-block; width: 15px; border-top: 2px solid #337760; }
.legend-dashed { border-top: 2px dashed #63716c; }
.map-source { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; justify-content: flex-end; margin-left: auto; font-size: .65rem; color: #355349; font-weight: 620; }
#attribution { pointer-events: auto; padding: 4px 6px; border-radius: 3px; background: #f9fcf9ed; }
#attribution a { color: inherit; }
.scale { max-width: 95px; text-align: center; border: solid #284538; border-width: 0 1px 2px; padding: 1px 0 2px; background: #f9fcf9b8; white-space: nowrap; }
.map-popover { position: absolute; z-index: 8; width: min(274px, calc(100% - 20px)); padding: 12px; border: 1px solid #cfe1d5; border-radius: 9px; background: #fff; box-shadow: 0 5px 22px #092d2535; max-height: 66%; overflow: auto; }
.map-popover h3 { font-size: 1rem; }
.map-popover p { font-size: .76rem; color: var(--muted); margin: 3px 0 7px; }
.popover-choice { width: 100%; display: flex; gap: 8px; border: 0; align-items: center; padding: 6px 1px; background: #fff; color: var(--ink); text-align: left; font-size: .8rem; }
.popover-choice:hover { background: #eef5ef; }
.popover-choice .route-code { min-height: 23px; }
.inspector { z-index: 6; min-width: 0; flex: 0 0 370px; display: flex; flex-direction: column; background: white; border-left: 1px solid var(--line); overflow: hidden; }
.inspector-head { padding: 16px 17px 13px; border-top: 4px solid var(--route); }
.inspector-head .panel-heading { margin-bottom: 11px; }
.inspector-code-line { display: inline-flex; gap: 8px; align-items: center; }
.status { font-size: .73rem; font-weight: 680; color: #326853; white-space: nowrap; }
.status.zero { color: #825123; }
.status.reference { color: #516571; }
.inspector-head h2 { font-size: 1.27rem; line-height: 1.22; font-weight: 750; letter-spacing: -.036em; }
.inspector-head p { font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 5px; }
.inspector-tabs { display: flex; padding: 0 12px; border-bottom: 1px solid var(--line); }
.inspector-tabs button { flex: 1; border: 0; border-bottom: 2px solid transparent; padding: 9px 4px; color: var(--muted); background: #fff; font-size: .86rem; font-weight: 660; }
.inspector-tabs button:hover { color: var(--green); background: #f5f8f5; }
.inspector-tabs button[aria-pressed="true"] { border-bottom-color: var(--green); color: var(--green); }
.inspector-body { padding: 15px 17px; overflow: auto; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: #b6c8bd transparent; font-size: .85rem; }
.inspector-body h3 { font-size: .92rem; margin: 14px 0 8px; letter-spacing: -.015em; }
.inspector-body h3:first-child { margin-top: 0; }
.inspector-body p { line-height: 1.45; }
.inspect-actions { display: flex; gap: 7px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line); }
.inspect-actions .soft-button { min-height: 35px; padding: 5px 8px; }
.inspect-actions > :first-child { margin-right: auto; }
.mini-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 13px; }
.mini-stat { padding: 9px 6px 9px 9px; border: 1px solid #dfe8df; border-radius: 6px; background: #f7faf7; }
.mini-stat b { display: block; font-size: 1.14rem; letter-spacing: -.025em; }
.mini-stat small { display: block; margin-top: 2px; color: var(--muted); font-size: .7rem; line-height: 1.28; }
.notice { padding: 9px 10px; border-left: 3px solid #ab782d; border-radius: 0 4px 4px 0; color: #5a421e; background: #fbf5e8; font-size: .78rem; line-height: 1.46; margin: 0 0 10px; }
.notice.info { color: #355348; border-left-color: #639785; background: #edf5ef; }
.detail-lines { margin: 0 0 12px; }
.detail-lines > div { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding: 6px 0; border-bottom: 1px solid #edf2ed; font-size: .79rem; }
.detail-lines dt { color: var(--muted); }
.detail-lines dd { margin: 0; text-align: right; font-weight: 650; max-width: 185px; }
.stop-list { list-style: none; padding: 0; margin: 0; }
.stop-entry { position: relative; }
.stop-entry::before { position: absolute; content: ""; left: 12px; top: 20px; bottom: -19px; width: 2px; background: color-mix(in srgb, var(--route) 30%, #e6eee9); }
.stop-entry:last-child::before { display: none; }
.stop-row { position: relative; display: grid; min-height: 38px; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 5px 4px 5px 0; background: transparent; color: var(--ink); border: 1px solid transparent; border-radius: 5px; font-size: .82rem; font-weight: 640; }
.stop-row:hover, .stop-row.selected { background: #edf5ef; border-color: #dce9e0; }
.stop-number { width: 24px; height: 24px; display: grid; place-items: center; background: #fff; border: 1px solid var(--route); color: var(--route); border-radius: 50%; font-size: .68rem; }
.stop-entry:first-child .stop-number { color: #fff; background: var(--route); }
.stop-time { color: var(--muted); font-size: .73rem; font-weight: 550; }
.stop-summary { margin-bottom: 9px; color: var(--muted); font-size: .78rem; }
.stop-details { background: #f2f7f3; border: 1px solid #d8e6dd; border-radius: 6px; margin: 5px 0 9px 31px; padding: 9px; font-size: .74rem; }
.stop-details p + p { margin-top: 3px; }
.stop-details .stop-actions { display: flex; flex-wrap: wrap; gap: 3px 12px; align-items: center; margin-top: 5px; }
.stop-details .text-button { font-size: .72rem; padding: 3px 0; }
.stop-actions a { font-size: .72rem; font-weight: 650; }
.schedule-strip { border-bottom: 1px solid var(--line); margin: 7px 0 12px; padding-bottom: 7px; }
.band { height: 14px; position: relative; margin-bottom: 4px; background: #edf3ef; border-radius: 3px; }
.band span { height: 100%; position: absolute; display: block; border-radius: 3px; background: var(--route); min-width: 3px; }
.band-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .68rem; }
.timetable { border-collapse: collapse; width: 100%; text-align: left; font-size: .76rem; font-variant-numeric: tabular-nums; }
.timetable th, .timetable td { border-bottom: 1px solid #e5ede6; padding: 8px 5px; }
.timetable thead { background: #eef4ef; }
.timetable th { font-weight: 700; }
.departures { margin-top: 11px; }
.departures summary { cursor: pointer; font-weight: 670; color: var(--green); }
.departure-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 8px 0 4px; }
.departure-grid time { border-radius: 3px; padding: 3px 2px; text-align: center; background: #eff4ef; font-size: .73rem; }
.source-note, .empty-state { font-size: .77rem; color: var(--muted); line-height: 1.5; padding: 5px 0; }
.empty-state { padding: 10px 8px; }
.app-footer { display: flex; justify-content: space-between; gap: 12px; min-height: 28px; align-items: center; padding: 4px 13px; background: #f8faf8; color: #4b6257; border-top: 1px solid var(--line); font-size: .714rem; }
.present-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 57px; padding: 7px 16px; background: #112e23; color: #fff; }
.present-context { display: flex; align-items: center; gap: 10px; min-width: 0; }
.present-context .route-code { flex: none; min-width: 37px; border: 1px solid #ffffff50; }
.present-copy { min-width: 0; }
.present-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.08rem; letter-spacing: -.018em; }
#presentLabel { color: #c8e6d8; font-size: .76rem; }
.present-controls { display: flex; flex: none; gap: 6px; }
.present-controls .soft-button { min-height: 33px; background: #284b35; color: #fff; border-color: #65806b; }
.present-controls .soft-button:hover:not(:disabled) { background: #3b644b; }
.present-controls #presentExit { background: var(--accent); color: #1b3328; border-color: var(--accent); }
.present-controls #presentExit:hover { background: #edf9ce; border-color: #edf9ce; }
.presenting .masthead, .presenting .navigator, .presenting .inspector,
.presenting #mapHeading, .presenting #footerDate { display: none !important; }
.content-view { min-width: 0; flex: 1; overflow: auto; background: #f3f7f3; }
.report { width: min(1330px, 100%); margin: 0 auto; padding: 24px clamp(15px, 3vw, 36px) 36px; }
.report-heading { display: flex; align-items: flex-end; flex-wrap: wrap; justify-content: space-between; gap: 13px; margin-bottom: 17px; }
.report-heading h2 { font-size: 1.55rem; letter-spacing: -.038em; }
.report-heading p { font-size: .9rem; margin-top: 4px; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.report-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 15px; }
.report-card { padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.report-card b { display: block; font-size: 1.55rem; font-weight: 730; letter-spacing: -.027em; }
.report-card span { display: block; font-size: .83rem; color: var(--muted); margin-top: 3px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.wide-table { width: 100%; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
.wide-table th, .wide-table td { padding: 10px 12px; border-bottom: 1px solid #e7eee8; text-align: left; }
.wide-table th { background: #eaf2ec; color: #294b3f; white-space: nowrap; }
.wide-table tbody tr:last-child td { border-bottom: 0; }
.wide-table tr:hover td { background: #f6f9f6; }
.wide-table th button { border: 0; padding: 0; color: inherit; background: transparent; font-weight: 700; }
.wide-table th button:hover { text-decoration: underline; }
.wide-table th[aria-sort="ascending"] button::after { content: " ▲"; font-size: .65rem; }
.wide-table th[aria-sort="descending"] button::after { content: " ▼"; font-size: .65rem; }
.table-route { display: flex; align-items: center; gap: 9px; }
.table-route button { color: var(--ink); border: 0; background: none; text-align: left; padding: 2px 0; font-size: .84rem; font-weight: 650; }
.table-route button:hover { text-decoration: underline; }
.table-route button strong, .table-route button small { display: block; }
.table-route button small, .wide-table td small { display: block; font-size: .73rem; color: var(--muted); margin-top: 3px; }
.table-route .route-code { flex: none; }
.wide-table input { accent-color: var(--green); width: 16px; height: 16px; }
.wide-table .compare-cell { width: 42px; text-align: center; padding-left: 7px; padding-right: 7px; }
.report-footnote { font-size: .79rem; color: var(--muted); margin-top: 10px; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(230px, 1fr); gap: 17px; align-items: start; }
.review-group { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.review-group h3 { font-size: 1rem; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #eef4ef; }
.review-group ul { padding: 0; margin: 0; list-style: none; }
.review-group li { padding: 12px 14px; border-bottom: 1px solid #e9eee9; }
.review-group li:last-child { border-bottom: 0; }
.review-group li strong { display: block; font-weight: 720; font-size: .88rem; }
.review-group li p { font-size: .82rem; color: var(--muted); margin-top: 4px; line-height: 1.46; overflow-wrap: anywhere; }
.review-group .text-button { font-size: .76rem; padding: 5px 0 0; }
.dialog { width: min(780px, calc(100% - 24px)); max-height: 85vh; border: 1px solid #d4e6d8; padding: 17px; border-radius: 10px; color: var(--ink); box-shadow: 0 8px 45px #0f2f2863; }
.dialog::backdrop { background: #0c302b70; }
#exportDialog { width: min(455px, calc(100% - 24px)); }
.dialog .panel-heading { margin-bottom: 10px; }
.dialog p { color: var(--muted); font-size: .84rem; line-height: 1.5; margin: 8px 0; }
.dialog .wide-table td:first-child { white-space: nowrap; color: var(--muted); }
.export-actions { display: grid; gap: 7px; }
.export-actions button { justify-content: flex-start; text-align: left; min-height: 44px; }
.toast { display: none; position: fixed; z-index: 30; bottom: 41px; right: 16px; max-width: calc(100vw - 32px); padding: 9px 13px; background: var(--pine); color: white; border-radius: 6px; font-size: .86rem; box-shadow: var(--shadow); }
.toast.visible { display: block; }
.print-view { display: none; }
@media print {
  @page { margin: 13mm; size: A4; }
  html, body, .app, .main { height: auto; min-height: 0; overflow: visible; color: #172e25; display: block; background: #fff; font-size: 10pt; }
  .masthead, .main > section:not(.print-view), .present-bar, .app-footer, .toast, dialog { display: none !important; }
  .print-view { display: block; }
  .print-view h1 { font-size: 24pt; margin-bottom: 6pt; }
  .print-view h2 { margin: 14pt 0 5pt; font-size: 13pt; }
  .print-view p { line-height: 1.45; }
  .print-view table { border-collapse: collapse; width: 100%; margin-top: 6pt; }
  .print-view td, .print-view th { text-align: left; padding: 4pt 6pt; border-bottom: 1px solid #c7d4ca; }
  .print-view th { font-weight: 750; }
  .print-view thead { display: table-header-group; }
  .print-view tr { break-inside: avoid; }
  .print-view .source-note { margin-top: 7pt; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.marker-start { z-index: 1; }
.marker-start .marker-dot { background: var(--color, #164a3d); }
.marker.selected { z-index: 2; }
.marker:hover, .marker:focus-visible { z-index: 3; }
.main:focus { outline: none; }

/* Shared application frame */
.masthead {
  z-index: 12;
  min-height: 70px;
  padding-inline: 25px;
  grid-template-columns: minmax(238px, 1fr) auto minmax(130px, 1fr);
  background: #112e23;
  border-bottom: 1px solid #456650;
}
.brand-icon { background: var(--accent); color: #193629; width: 42px; height: 42px; border-radius: 12px; }
.brand strong { font-size: .97rem; letter-spacing: -.026em; }
.brand small { color: #c8d8c6; font-size: .73rem; letter-spacing: .012em; font-weight: 540; }
.nav-button { gap: 8px; padding-inline: 17px; font-size: .88rem; color: #cee0d0; }
.nav-button[aria-current] { border-color: var(--accent); background: #274435; color: white; }
.nav-button:hover { background: #294a38; }
.presentation-button { border: 1px solid #657b66; background: transparent; padding: 9px 13px; gap: 7px; border-radius: 8px; }
.presentation-button:hover { border-color: var(--accent); background: #284b35; }
.app-footer { padding-inline: 16px; background: #f5f7f1; color: #4b6151; font-size: .73rem; }
.content-view { background: #f1f4ed; }
.report { width: min(1400px, 100%); padding-top: 30px; }
.report-heading { margin-bottom: 21px; }
.report-heading h1 { font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 740; letter-spacing: -.052em; line-height: 1.06; }
.report-heading p { color: var(--muted); line-height: 1.48; margin-top: 7px; max-width: 58ch; }
.report-cards { gap: 14px; margin-bottom: 17px; }
.report-card { padding: 17px 20px; border-radius: 10px; }
.report-card b { font-size: 1.8rem; color: var(--pine); }
.table-wrap, .review-group, .dialog { border-radius: 10px; }
.wide-table th { padding-block: 13px; background: #e8efe4; }
.wide-table td { padding-block: 12px; }
.soft-button, .primary-button, .icon-button { border-radius: 8px; }

/* Explorer rail */
.map-workspace.has-route .navigator { display: none; }
.navigator, .inspector { flex: 0 0 clamp(325px, 29vw, 406px); border-right: 1px solid #d4dfd1; }
.navigator { background: #fbfcf9; }
.inspector { order: -1; }
.network-intro {
  position: relative;
  padding: 25px 23px 18px;
  color: white;
  background: radial-gradient(ellipse at 95% 12%, #345a40, transparent 58%), #193c2d;
  border-bottom: 4px solid #c9e682;
}
.city-label { display: inline-flex; align-items: center; gap: 5px; color: #e0eedb; font-size: .77rem; font-weight: 660; }
.city-label .icon { width: 15px; height: 15px; stroke-width: 1.9; }
.network-intro h1 { margin-top: 11px; font-size: clamp(2.05rem, 3.3vw, 2.99rem); line-height: 1.03; letter-spacing: -.054em; font-weight: 755; }
.kpis { display: flex; margin-top: 18px; }
.kpi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 1px 9px 0 12px; border-left: 1px solid #75947c; }
.kpi:first-child { padding-left: 0; border: 0; }
.kpi strong { color: #e4f9b5; font-weight: 740; line-height: 1.05; letter-spacing: -.035em; font-size: 1.65rem; }
.kpi span { color: #e4eedf; font-size: .72rem; line-height: 1.2; font-weight: 560; }
.navigator-head { padding: 16px 17px 9px; }
.rail-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #eef2e9; border: 1px solid #dfe8d9; border-radius: 10px; }
.rail-switch button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 37px; color: #44604d; padding-inline: 4px; border: 1px solid transparent; background: transparent; font-size: .82rem; font-weight: 670; border-radius: 7px; }
.rail-switch .icon { width: 17px; height: 17px; }
.rail-switch button[aria-pressed="true"] { background: #fff; border-color: #d9e3d7; box-shadow: 0 1px 3px #1831240c; color: #1e4b34; }
.rail-switch button:hover { color: #173d28; }
.searchbox { margin-top: 12px; border-color: #d6e1d3; background-color: #fff; border-radius: 9px; height: 42px; }
.searchbox input { font-size: .87rem; }
.scope { margin-top: 8px; background: transparent; border: 0; gap: 5px; padding: 0; }
.scope button { min-height: 32px; color: #4b6553; font-size: .77rem; padding: 4px; }
.scope button[aria-pressed="true"] { color: #225239; border-color: #d9e8d7; background: #eaf2e7; box-shadow: none; }
.navigator-count { padding: 5px 19px 6px; min-height: 25px; }
.route-list { padding: 0 12px 12px; }
.route-item { background: transparent; border-top-color: #e9eee7; min-height: 55px; padding: 8px 6px; gap: 10px; }
.route-item:hover, .route-item.selected { background: #edf4e9; border-radius: 8px; border-color: #d8e8d6; }
.route-code { min-width: 32px; min-height: 30px; border-radius: 8px; font-size: .81rem; letter-spacing: -.02em; }
.route-label strong { font-size: .87rem; }
.route-label small { font-size: .74rem; }
.route-list .route-label strong { white-space: normal; line-height: 1.24; }
.route-group { border-color: #e9eee7; }
.navigator-footer { display: flex; justify-content: space-between; align-items: center; padding-left: 18px; padding-right: 17px; background: #f2f6ef; }
.navigator-footer > span { font-size: .73rem; color: #5b6d5c; font-weight: 600; }

/* Map controls and sheets */
.map { background: #edf2e9; }
.street-map { background: #ebf0e7; z-index: 0; isolation: isolate; }
#cartography { z-index: 1; }
.markers { z-index: 2; }
.street-tile { position: absolute; top: 0; left: 0; max-width: unset; opacity: 0; object-fit: fill; filter: saturate(.58) contrast(.93) brightness(1.05); }
.street-tile.loaded { opacity: 1; }
.map-toolbar { top: 17px; left: 17px; right: 17px; }
.map-tools-left { align-items: flex-start; gap: 8px; min-width: 0; }
.map-heading { border-radius: 10px; padding: 9px 12px; background: #fff; border: 1px solid #d6e1d4; box-shadow: var(--shadow); min-width: 0; }
.map-heading strong, .map-heading small { display: block; }
.map-heading strong { font-size: .84rem; font-weight: 720; white-space: nowrap; }
.map-heading small { font-size: .72rem; color: #5a7060; margin-top: 3px; line-height: 1.27; max-width: 21ch; }
.map-direction, .map-button { border-radius: 9px; min-height: 39px; }
.map-direction { padding: 4px; }
.map-direction button { border-radius: 6px; }
.map-direction button[aria-pressed="true"] { background: #e9f2e3; color: #294f35; }
.map-controls { top: 66px; right: 17px; }
.map-controls button { width: 39px; height: 39px; border-radius: 9px; }
.zoom-controls button:first-child { border-radius: 9px 9px 0 0; }
.zoom-controls button:last-child { border-radius: 0 0 9px 9px; }
.map-north { top: 203px; right: 27px; }
.map-base { left: 17px; right: 17px; bottom: 15px; gap: 8px; }
.map-legend { padding: 7px 9px; border-radius: 8px; box-shadow: 0 1px 3px #2640370d; }
.map-source { font-size: .68rem; }
.map-help { position: absolute; z-index: 2; top: 78px; left: 17px; display: flex; align-items: center; gap: 7px; max-width: calc(100% - 34px); border: 1px solid #d6e1d4; border-radius: 9px; padding: 7px 10px; color: #2e5740; background: #fbfdfa; box-shadow: var(--shadow); font-size: .79rem; font-weight: 630; pointer-events: none; }
.map-help .icon { width: 16px; height: 16px; }
.map-popover { padding: 12px; border-radius: 11px; }
.popover-choice { min-height: 37px; border-radius: 5px; }
.inspector { border-left: 0; background: #fff; }
.inspector-head { padding: 20px 19px 14px; border-top: 5px solid var(--route); background: color-mix(in srgb, var(--route) 5%, #f8fbf7); }
.inspector-head .panel-heading { margin-bottom: 13px; }
.inspector-head .route-code { min-width: 36px; min-height: 33px; }
.inspector-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.88rem); line-height: 1.14; font-weight: 745; }
.inspector-head p { font-size: .81rem; margin-top: 7px; }
.route-header-actions { display: flex; align-items: center; gap: 6px; }
.route-header-actions .icon-button, .route-back { color: #355b43; }
.inspector-tabs button[aria-pressed="true"] { background: #f3f7f0; }
.inspector .mini-stat b { color: color-mix(in srgb, var(--route) 58%, var(--ink)); }
.route-direction { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; margin-top: 12px; gap: 4px; border-radius: 8px; background: #e8eee6; border: 1px solid #dbe5d8; }
.route-direction button { padding: 6px 11px; border: 1px solid transparent; background: transparent; color: #4a6250; font-weight: 650; border-radius: 5px; font-size: .79rem; }
.route-direction button[aria-pressed="true"] { background: white; border-color: #d7e3d6; box-shadow: 0 1px 3px #1831240c; color: #224a34; }
.inspector-tabs { padding-inline: 12px; }
.inspector-tabs button { padding-block: 10px; }
.inspector-body { padding: 16px 18px; }
.inspect-actions { padding: 9px 14px; background: #f8faf6; }
.mini-stat { padding: 10px; }
.mini-stat b { font-size: 1.2rem; }
.stop-details { margin-right: 3px; }
.related-stops { margin-top: 8px; border-top: 1px solid #d7e5d8; padding-top: 7px; }
.related-stops > div { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.related-stops button { min-height: 28px; min-width: 32px; padding: 3px 6px; }
.presenting .map-toolbar { top: 15px; }

/* Trip planner */
.trip-planner { overflow: auto; padding: 7px 17px 18px; flex: 1; min-height: 0; }
.planner-heading h2 { font-size: 1.17rem; letter-spacing: -.026em; }
.planner-heading p { margin-top: 4px; font-size: .83rem; line-height: 1.36; color: var(--muted); }
.trip-fields { position: relative; margin: 13px 0 0; padding-right: 42px; }
.place-field { position: relative; margin-bottom: 12px; }
.place-field > label { display: block; margin-bottom: 5px; color: #395443; font-weight: 680; font-size: .79rem; }
.place-input { position: relative; }
.place-input input { height: 41px; width: 100%; min-width: 0; padding: 8px 10px 8px 33px; border: 1px solid #d5e1d5; border-radius: 8px; background: white; font-size: .87rem; color: var(--ink); }
.place-glyph { position: absolute; left: 13px; top: 15px; width: 10px; height: 10px; border: 2px solid #357052; border-radius: 50%; pointer-events: none; }
.place-from { background: #357052; }
.place-to { background: #fff; }
.swap-trip { position: absolute; right: 0; top: 43px; }
.place-options { position: absolute; top: calc(100% + 3px); left: 0; right: -42px; z-index: 8; max-height: min(220px, 39vh); overflow: auto; padding: 4px; border: 1px solid #ccdccc; border-radius: 9px; background: #fff; box-shadow: 0 5px 18px #243c2c2b; }
.place-options button { display: block; width: 100%; min-height: 41px; border-radius: 5px; border: 0; background: transparent; color: var(--ink); padding: 6px 8px; text-align: left; }
.place-options button:hover, .place-options button[aria-selected="true"] { background: #eaf3e8; }
.place-options button strong, .place-options button span { display: block; line-height: 1.18; }
.place-options button strong { font-size: .81rem; }
.place-options button span { font-size: .69rem; color: var(--muted); margin-top: 3px; }
.find-trip { width: 100%; min-height: 42px; }
.trip-results { margin-top: 13px; }
.trip-results h3 { font-weight: 730; font-size: .93rem; margin-bottom: 5px; }
.trip-options .route-item { border-radius: 7px; background-color: #f3f7f1; margin-top: 5px; }
.trip-options .route-item:hover { background-color: #e9f4e7; }
.trip-options .route-label small { white-space: normal; line-height: 1.2; }
.journey-banner { border: 1px solid #d5e6d4; background: #ecf5e7; color: #2b573c; border-radius: 8px; padding: 9px 10px; margin: 0 0 12px; }
.journey-banner > div { display: flex; gap: 6px; align-items: center; margin-bottom: 3px; }
.journey-banner .icon { width: 16px; height: 16px; }
.trip-stop-label { display: block; color: #316448; font-weight: 720; }

/* Network departures */
.departure-query { display: grid; grid-template-columns: minmax(150px, 1.2fr) minmax(120px, .65fr) minmax(115px, .55fr) auto; gap: 12px; align-items: end; border: 1px solid var(--line); padding: 15px; border-radius: 10px; background: #fff; margin-bottom: 16px; }
.departure-query label { display: grid; gap: 5px; color: #395644; font-size: .83rem; font-weight: 650; min-width: 0; }
.departure-query select, .departure-query input { min-width: 0; width: 100%; min-height: 40px; border: 1px solid #d1dfd0; border-radius: 7px; background-color: #f9fbf8; color: var(--ink); padding: 5px 8px; }
.departure-query button { min-height: 40px; }
.departure-count { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: #4b6854; font-size: .8rem; margin: 0 0 8px; }
.departure-table time { font-weight: 740; color: #1d4d32; font-size: 1.04rem; }
.departure-table td { white-space: nowrap; }
.departure-route { background: transparent; border: 0; color: var(--ink); padding: 0; border-radius: 8px; }
.departure-route:hover { filter: brightness(1.2); }
.load-departures { margin-top: 14px; }

/* Breakpoints */
@media screen and (max-width: 1060px) {
  .masthead { gap: 10px; grid-template-columns: minmax(205px, 1fr) auto auto; padding-inline: 16px; }
  .nav-button { padding-inline: 10px; }
}
@media screen and (max-width: 760px) {
  .mobile-only:not([hidden]) { display: inline-flex !important; }
  .masthead { min-height: 90px; grid-template-columns: 1fr auto; padding: 8px 11px 0; row-gap: 4px; }
  .brand { gap: 8px; }
  .brand-icon { width: 35px; height: 35px; border-radius: 9px; }
  .brand-icon .icon { width: 22px; height: 22px; }
  .brand strong { font-size: .84rem; }
  .brand small { font-size: .67rem; }
  .presentation-button { grid-column: 2; grid-row: 1; padding: 6px 7px; min-height: 33px; font-size: .73rem; }
  .presentation-button .icon { width: 15px; height: 15px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; height: 37px; justify-content: space-between; gap: 2px; }
  .nav-button { justify-content: center; flex: 1; min-width: 0; gap: 4px; padding-inline: 5px; font-size: .77rem; }
  .nav-button .icon { display: none; }
  .map-workspace { flex-direction: column; }
  .navigator { display: none; position: absolute; z-index: 9; top: 0; right: auto; bottom: 0; left: 0; width: min(365px, 98vw); box-shadow: 8px 0 30px #1536294d; }
  .navigator.open { display: flex; }
  .network-intro { padding: 14px 16px 11px; }
  .network-intro h1 { font-size: 1.72rem; }
  .network-intro h1 br { display: none; }
  .network-intro .kpis { margin-top: 11px; }
  .network-intro .kpi strong { font-size: 1.35rem; }
  .network-intro .kpi span { font-size: .65rem; }
  #mobileRoutesClose { position: absolute; top: 10px; right: 10px; color: #e6f0e2; background: #345542; border-color: #789481; }
  .navigator-head { padding-top: 10px; }
  .inspector { order: 0; width: 100%; border-right: 0; border-top: 1px solid var(--line); flex: 0 0 min(47%, 390px); }
  .inspector-head { padding: 6px 11px 7px; border-top-width: 3px; }
  .inspector-head .panel-heading { margin-bottom: 4px; }
  .inspector-head h2 { font-size: 1.1rem; line-height: 1.18; }
  .inspector-head p { display: none; }
  .inspector-head .route-code, .route-back { min-height: 27px; }
  .route-back { padding: 4px 7px; }
  .route-direction { margin-top: 6px; padding: 2px; }
  .route-direction button { padding: 4px 7px; font-size: .75rem; }
  .inspector-tabs button { padding-block: 5px; }
  .inspector-body { padding: 8px 11px; }
  .inspect-actions { padding: 4px 9px; }
  .inspect-actions .soft-button, .inspect-actions .icon-button { min-height: 31px; padding: 4px 7px; }
  .map-toolbar { top: 8px; left: 8px; right: 8px; gap: 4px; }
  .map-tools-left { gap: 5px; flex-wrap: wrap; }
  .map-heading { padding: 6px 7px; }
  .map-heading strong { font-size: .73rem; }
  .map-heading small { font-size: .63rem; }
  .map-workspace.has-route .map-heading { display: none; }
  .map-button, .map-direction { min-height: 34px; }
  .map-button { font-size: .73rem; padding: 4px 6px; gap: 3px; }
  .map-button .icon { width: 14px; height: 14px; }
  .map-direction { padding: 2px; }
  .map-direction button { padding: 5px 4px; font-size: .72rem; }
  .map-controls { right: 8px; top: 50px; gap: 5px; }
  .map-controls button { width: 34px; height: 34px; }
  .map-north { display: none; }
  .map-base { left: 8px; right: 8px; bottom: 6px; gap: 5px; }
  .map-legend { padding: 4px 5px; gap: 4px 7px; font-size: .64rem; }
  .map-source { font-size: .61rem; }
  .map-help { left: 8px; max-width: calc(100% - 16px); top: 50px; padding: 5px 7px; font-size: .71rem; }
  .app-footer { min-height: 23px; padding-inline: 7px; font-size: .62rem; }
  .app-footer #footerDate, .presenting #mobileRoutes { display: none !important; }
  .report { padding: 18px 10px; }
  .report-heading p { font-size: .83rem; }
  .report-cards { gap: 5px; }
  .report-card { padding: 8px; }
  .report-card b { font-size: 1.1rem; }
  .report-card span { font-size: .70rem; }
  .review-grid { grid-template-columns: 1fr; }
  .wide-table th, .wide-table td { padding: 8px; }
  .departure-query { grid-template-columns: 1fr 1fr; padding: 9px; gap: 8px; }
  .departure-query label { font-size: .75rem; }
  .departure-query label:first-child { grid-column: 1 / -1; }
  .departure-query button { justify-self: start; }
  .present-bar { gap: 6px 10px; padding-inline: 10px; }
  .present-copy strong { font-size: .95rem; }
  .present-controls .soft-button { min-height: 32px; padding: 3px 6px; font-size: .73rem; }
  .route-header-actions .icon-button { min-height: 32px; min-width: 32px; }
}
@media screen and (max-width: 520px) {
  .present-bar { flex-wrap: wrap; }
  .present-context { width: 100%; }
  .present-controls { margin-left: auto; }
  .present-copy strong { white-space: normal; }
}

@media screen and (max-width: 430px) {
  .map-direction { order: 5; }
  .map-heading small { display: none; }
  .report-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-height: 570px) and (min-width: 761px) {
  .masthead { min-height: 55px; }
  .network-intro { padding-block: 11px; }
  .network-intro h1 { font-size: 1.8rem; margin-top: 3px; }
  .kpis { margin-top: 9px; }
  .navigator-head { padding-top: 9px; }
}

.inspect-actions .icon-button span { padding-right: 2px; }
.departure-cell-label { display: none; }
@media screen and (max-width: 760px) {
  .map-workspace.has-route #mobileRoutes { display: none !important; }
  .route-back { min-height: 32px; }
  .departure-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .departure-table, .departure-table tbody { display: block; }
  .departure-table tr {
    display: grid;
    grid-template: "time start route" "time destination route" "time journey route" / 76px minmax(0, 1fr) 45px;
    align-items: center;
    column-gap: 10px;
    row-gap: 2px;
    padding: 9px 10px;
    border-bottom: 1px solid #e5ece0;
  }
  .departure-table tr:last-child { border: 0; }
  .departure-table tr:nth-child(even) { background: #f8faf6; }
  .departure-table td { border: 0; white-space: normal; padding: 0; overflow-wrap: anywhere; }
  .departure-table td:nth-child(1) { grid-area: time; }
  .departure-table td:nth-child(2) { grid-area: route; justify-self: end; }
  .departure-table td:nth-child(3) { grid-area: start; }
  .departure-table td:nth-child(4) { grid-area: destination; }
  .departure-table td:nth-child(5) { grid-area: journey; font-size: .73rem; color: var(--muted); }
  .departure-cell-label { display: inline-block; min-width: 32px; font-size: .72rem; color: var(--muted); }
}
