.vdgtfs-app{--vd-bg:#f5f7fb;--vd-card:#fff;--vd-text:#16283a;--vd-muted:#66788a;--vd-line:#dfe6ee;--vd-soft:#eef3f8;--vd-accent:#164b6d;--vd-accent2:#0f6f8d;--vd-live:#11845b;--vd-warn:#b46b12;--vd-shadow:0 14px 36px rgba(27,54,78,.09);max-width:1180px;margin:0 auto;color:var(--vd-text)!important;font-family:inherit}.vdgtfs-app *{box-sizing:border-box}.vdgtfs-app button,.vdgtfs-app input,.vdgtfs-app select{font:inherit}.vdgtfs-shell{background:var(--vd-bg);border:1px solid var(--vd-line);border-radius:24px;overflow:hidden;box-shadow:var(--vd-shadow)}.vdgtfs-appbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;background:#fff;border-bottom:1px solid var(--vd-line)}.vdgtfs-eyebrow,.vdgtfs-kicker{font-size:11px;font-weight:850;letter-spacing:.12em;color:var(--vd-muted)!important}.vdgtfs-app-title{font-size:24px;font-weight:900;color:var(--vd-accent)!important;line-height:1.1;margin-top:3px}.vdgtfs-live-state{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid var(--vd-line);border-radius:999px;background:var(--vd-soft);color:var(--vd-muted)!important;font-size:12px;font-weight:750;white-space:nowrap}.vdgtfs-live-dot{width:8px;height:8px;border-radius:50%;background:#9baaba}.vdgtfs-live-state.is-live{background:#ecf9f3;border-color:#c9ebdc;color:#176747!important}.vdgtfs-live-state.is-live .vdgtfs-live-dot{background:var(--vd-live);box-shadow:0 0 0 4px rgba(17,132,91,.12)}.vdgtfs-live-state.is-gps{background:#eef8fb;border-color:#cce7ef;color:#17617a!important}.vdgtfs-live-state.is-gps .vdgtfs-live-dot{background:#1a809f}.vdgtfs-live-state.is-stale{background:#fff7eb;border-color:#f2dfbd;color:#8a5718!important}.vdgtfs-live-state.is-stale .vdgtfs-live-dot{background:var(--vd-warn)}
.vdgtfs-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#fff;border-bottom:1px solid var(--vd-line)}.vdgtfs-tabs button{appearance:none!important;border:0!important;border-right:1px solid var(--vd-line)!important;border-radius:0!important;background:#fff!important;color:#5d7082!important;box-shadow:none!important;padding:13px 14px!important;display:flex!important;align-items:center;justify-content:center;gap:8px;font-weight:800!important;cursor:pointer;text-transform:none!important}.vdgtfs-tabs button:last-child{border-right:0!important}.vdgtfs-tabs button:hover{background:#f8fafc!important}.vdgtfs-tabs button.active{color:var(--vd-accent)!important;background:#f2f7fa!important;box-shadow:inset 0 -3px 0 var(--vd-accent)!important}.vdgtfs-tab-icon{font-size:18px;line-height:1}.vdgtfs-view{padding:24px}.vdgtfs-screen{display:block}.vdgtfs-screen-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.vdgtfs-screen-head h2{margin:3px 0 5px!important;color:var(--vd-text)!important;font-size:clamp(24px,3vw,34px)!important;line-height:1.1!important}.vdgtfs-screen-head p{margin:0!important;color:var(--vd-muted)!important;max-width:760px;font-size:14px;line-height:1.55}
.vdgtfs-alerts{padding:12px 24px 0}.vdgtfs-alert{display:flex;gap:10px;align-items:flex-start;padding:11px 14px;margin-bottom:8px;border:1px solid #f0d9ad;background:#fff8ec;border-radius:12px;color:#6f4a16!important}.vdgtfs-alert strong{white-space:nowrap}.vdgtfs-alert span{font-size:13px;line-height:1.45}
.vdgtfs-stop-picker{position:relative;margin-bottom:18px}.vdgtfs-stop-picker>label{display:block;font-size:12px;font-weight:850;color:var(--vd-muted)!important;margin:0 0 7px}.vdgtfs-picker-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:stretch}.vdgtfs-picker-input{position:relative}.vdgtfs-picker-input input{width:100%!important;min-height:50px!important;border:1px solid #cfd9e3!important;border-radius:14px!important;background:#fff!important;color:var(--vd-text)!important;box-shadow:0 1px 2px rgba(18,44,66,.03)!important;padding:0 46px 0 15px!important;font-size:16px!important;outline:0!important}.vdgtfs-picker-input input:focus{border-color:#7aa7bf!important;box-shadow:0 0 0 4px rgba(22,75,109,.08)!important}.vdgtfs-picker-input input::placeholder{color:#8998a7!important}.vdgtfs-picker-clear{position:absolute;right:4px;top:4px;width:42px!important;height:42px!important;padding:0!important;border:0!important;background:transparent!important;color:#8494a3!important;font-size:24px!important;box-shadow:none!important;cursor:pointer}.vdgtfs-picker-map,.vdgtfs-picker-locate{min-width:96px!important;border:1px solid #cfd9e3!important;border-radius:14px!important;background:#fff!important;color:var(--vd-accent)!important;box-shadow:none!important;padding:0 13px!important;font-weight:800!important;cursor:pointer;text-transform:none!important}.vdgtfs-picker-map:hover,.vdgtfs-picker-locate:hover{background:#f4f8fb!important}.vdgtfs-picker-map span,.vdgtfs-picker-locate span{margin-left:5px}.vdgtfs-suggestions{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:5000;max-height:430px;overflow:auto;background:#fff;border:1px solid var(--vd-line);border-radius:14px;box-shadow:0 18px 40px rgba(18,44,66,.18)}.vdgtfs-suggestion-group+.vdgtfs-suggestion-group{border-top:1px solid var(--vd-line)}.vdgtfs-suggestion-group-title{padding:9px 13px 7px;background:#f5f8fb;font-size:13px;font-weight:900;color:var(--vd-accent)!important}.vdgtfs-suggestions button{width:100%!important;border:0!important;border-top:1px solid #edf1f5!important;border-radius:0!important;background:#fff!important;color:var(--vd-text)!important;box-shadow:none!important;text-align:left!important;padding:11px 13px!important;display:flex!important;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;text-transform:none!important}.vdgtfs-suggestions button:hover{background:#f8fafc!important}.vdgtfs-suggestions button>span{min-width:0;display:flex;flex-direction:column;gap:2px}.vdgtfs-suggestions small{font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#81909e!important}.vdgtfs-suggestions strong{font-size:14px;color:var(--vd-text)!important;line-height:1.35}.vdgtfs-suggestions strong b{color:var(--vd-accent)!important}.vdgtfs-suggestions em{font-style:normal;color:var(--vd-muted)!important;font-size:12px;white-space:nowrap}
.vdgtfs-departure-panel,.vdgtfs-planner-form,.vdgtfs-route-toolbar{background:#fff;border:1px solid var(--vd-line);border-radius:18px;box-shadow:0 6px 18px rgba(27,54,78,.05)}.vdgtfs-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid var(--vd-line)}.vdgtfs-panel-head>div:first-child{display:flex;flex-direction:column;gap:3px}.vdgtfs-current-stop{font-size:22px;color:var(--vd-accent)!important}.vdgtfs-panel-head span{font-size:12px;color:var(--vd-muted)!important}.vdgtfs-date-controls,.vdgtfs-planner-when{display:flex;gap:9px;align-items:end}.vdgtfs-date-controls label,.vdgtfs-planner-when label,.vdgtfs-route-filters label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800;color:var(--vd-muted)!important}.vdgtfs-date,.vdgtfs-time-input,.vdgtfs-direction{min-height:42px!important;border:1px solid #cfd9e3!important;border-radius:10px!important;background:#fff!important;color:var(--vd-text)!important;padding:7px 9px!important;box-shadow:none!important}.vdgtfs-list-status{padding:9px 18px;background:#f7f9fb;border-bottom:1px solid var(--vd-line);font-size:12px;color:var(--vd-muted)!important}.vdgtfs-departure-wrap+.vdgtfs-departure-wrap{border-top:1px solid var(--vd-line)}.vdgtfs-departure-row{width:100%!important;display:grid!important;grid-template-columns:105px minmax(70px,auto) 1fr 18px;gap:14px;align-items:center;border:0!important;border-radius:0!important;background:#fff!important;color:var(--vd-text)!important;box-shadow:none!important;text-align:left!important;padding:14px 18px!important;cursor:pointer;text-transform:none!important}.vdgtfs-departure-row:hover{background:#fafcfd!important}.vdgtfs-departure-clock{display:flex;flex-direction:column;gap:3px}.vdgtfs-time-main{font-size:24px;font-weight:900;color:#102f46!important;font-variant-numeric:tabular-nums;line-height:1}.vdgtfs-time-plan{font-size:10px;color:var(--vd-muted)!important;white-space:nowrap}.vdgtfs-delay{font-size:10px;padding:1px 4px;border-radius:5px}.vdgtfs-delay.late{background:#fff0ec;color:#a3452f!important}.vdgtfs-delay.ontime{background:#eaf8f1;color:#19704e!important}.vdgtfs-delay.early{background:#eef6fb;color:#226789!important}.vdgtfs-route-chain{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.vdgtfs-route{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:31px;padding:3px 7px;border-radius:8px;background:var(--route)!important;color:var(--routeText)!important;font-size:14px;font-weight:900;line-height:1}.vdgtfs-route-arrow{font-size:12px;font-weight:900;color:#7a8d9e!important}.vdgtfs-departure-dest{min-width:0;display:flex;flex-direction:column;gap:4px}.vdgtfs-departure-dest strong{font-size:15px;color:var(--vd-text)!important}.vdgtfs-guaranteed{font-size:11px;color:#557082!important;line-height:1.35}.vdgtfs-chevron{font-size:25px;color:#91a0ad!important}.vdgtfs-more-wrap{text-align:center;padding:13px 18px}.vdgtfs-more,.vdgtfs-search-button{border:0!important;border-radius:11px!important;background:var(--vd-accent)!important;color:#fff!important;box-shadow:none!important;padding:10px 17px!important;font-weight:850!important;cursor:pointer;text-transform:none!important}.vdgtfs-more:hover,.vdgtfs-search-button:hover{background:#0e3e5c!important}.vdgtfs-detail{background:#f7f9fb;padding:14px 18px 17px;border-top:1px solid var(--vd-line)}
.vdgtfs-leg{max-width:740px}.vdgtfs-leg+.vdgtfs-leg{margin-top:8px}.vdgtfs-leg-head{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:12px;font-weight:850;color:var(--vd-accent)!important}.vdgtfs-path{position:relative}.vdgtfs-path:before{content:"";position:absolute;left:53px;top:13px;bottom:13px;width:2px;background:#cbd6df}.vdgtfs-path-stop{position:relative;display:grid;grid-template-columns:42px 1fr;gap:24px;align-items:center;min-height:42px}.vdgtfs-path-stop:before{content:"";position:absolute;left:49px;top:17px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:var(--vd-accent);box-shadow:0 0 0 1px #aac0cf}.vdgtfs-path-stop time{display:flex;flex-direction:column;text-align:right;font-variant-numeric:tabular-nums}.vdgtfs-path-time-live{font-size:12px;font-weight:900;color:var(--vd-text)!important}.vdgtfs-path-time-plan{font-size:9px;color:var(--vd-muted)!important}.vdgtfs-path-stop>span{font-size:13px;color:var(--vd-text)!important}.vdgtfs-transfer-card{max-width:740px;margin:10px 0 13px;padding:10px 12px;border:1px solid #c8dbe5;border-radius:12px;background:#edf6fa;display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:center}.vdgtfs-transfer-symbol{font-size:24px;font-weight:900;color:var(--vd-accent)!important}.vdgtfs-transfer-card strong{display:block;font-size:13px;color:var(--vd-accent)!important}.vdgtfs-transfer-card span{display:block;font-size:11px;color:#526b7f!important;margin-top:2px}.vdgtfs-transfer-card span small{font-size:9px;color:#7a8c99!important}.vdgtfs-transfer-card em{display:block;margin-top:4px;font-size:10px;font-style:normal;font-weight:800;color:#2b705a!important}.vdgtfs-loading{color:var(--vd-muted)!important;font-size:13px}.vdgtfs-loading.big{padding:28px;text-align:center}.vdgtfs-empty{border:1px dashed #ccd8e2;border-radius:16px;background:#fff;padding:30px;text-align:center;display:flex;flex-direction:column;gap:5px;color:var(--vd-muted)!important}.vdgtfs-empty b{color:var(--vd-text)!important;font-size:16px}.vdgtfs-empty.compact{padding:22px;margin-top:12px}
.vdgtfs-planner-form{padding:18px}.vdgtfs-planner-stops{display:grid;grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);gap:10px;align-items:end}.vdgtfs-planner-stops .vdgtfs-stop-picker{margin:0}.vdgtfs-swap{width:42px!important;height:50px!important;border:1px solid #cfd9e3!important;border-radius:12px!important;background:#fff!important;color:var(--vd-accent)!important;box-shadow:none!important;font-size:19px!important;font-weight:900!important;cursor:pointer}.vdgtfs-planner-when{justify-content:flex-end;margin-top:14px;padding-top:14px;border-top:1px solid var(--vd-line)}.vdgtfs-search-button{min-height:42px}.vdgtfs-planner-results{display:grid;gap:12px;margin-top:16px}.vdgtfs-journey-card{background:#fff;border:1px solid var(--vd-line);border-radius:16px;overflow:hidden;box-shadow:0 4px 14px rgba(27,54,78,.04)}.vdgtfs-journey-summary{width:100%!important;display:grid!important;grid-template-columns:230px 1fr 18px;gap:18px;align-items:center;padding:16px 18px!important;border:0!important;border-radius:0!important;background:#fff!important;color:var(--vd-text)!important;box-shadow:none!important;text-align:left!important;cursor:pointer;text-transform:none!important}.vdgtfs-journey-summary:hover{background:#fafcfd!important}.vdgtfs-journey-times{display:flex;align-items:center;gap:12px}.vdgtfs-journey-times>div{display:flex;flex-direction:column}.vdgtfs-journey-times b{font-size:22px;color:var(--vd-text)!important;font-variant-numeric:tabular-nums}.vdgtfs-journey-times span{font-size:10px;color:var(--vd-muted)!important}.vdgtfs-journey-times i{font-style:normal;color:#8698a6}.vdgtfs-journey-main{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.vdgtfs-journey-main>strong{font-size:12px;color:#315a70!important}.vdgtfs-journey-main>span{font-size:12px;color:var(--vd-muted)!important}.vdgtfs-journey-summary.open .vdgtfs-chevron{transform:rotate(90deg)}
.vdgtfs-route-toolbar{padding:14px 16px;margin-bottom:16px}.vdgtfs-route-list{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.vdgtfs-route-list button{display:flex!important;align-items:center;gap:8px;flex:0 0 auto;border:1px solid var(--vd-line)!important;border-radius:12px!important;background:#fff!important;color:var(--vd-text)!important;box-shadow:none!important;padding:7px 10px!important;cursor:pointer;text-transform:none!important}.vdgtfs-route-list button span:last-child{font-size:11px;color:var(--vd-muted)!important;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vdgtfs-route-list button.active{border-color:#8eb1c5!important;background:#f1f7fa!important}.vdgtfs-route-filters{display:flex;gap:10px;align-items:end;justify-content:flex-end;margin-top:12px;padding-top:12px;border-top:1px solid var(--vd-line)}.vdgtfs-direction{min-width:260px}.vdgtfs-route-layout{display:grid;grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:14px;align-items:start}.vdgtfs-route-axis,.vdgtfs-timetable-wrap{background:#fff;border:1px solid var(--vd-line);border-radius:16px;overflow:hidden}.vdgtfs-axis-head{padding:14px 16px;border-bottom:1px solid var(--vd-line);display:flex;flex-direction:column;gap:2px}.vdgtfs-axis-head span{font-size:10px;font-weight:850;letter-spacing:.08em;color:var(--vd-muted)!important}.vdgtfs-axis-head b{font-size:13px;color:var(--vd-text)!important}.vdgtfs-axis-list{padding:12px 14px 14px}.vdgtfs-axis-stop{position:relative;display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:center;min-height:29px}.vdgtfs-axis-stop:after{content:"";position:absolute;left:7px;top:19px;bottom:-11px;width:2px;background:#d0dae3}.vdgtfs-axis-stop:last-child:after{display:none}.vdgtfs-axis-dot{width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid var(--vd-accent);z-index:1}.vdgtfs-axis-stop strong{font-size:11px;color:var(--vd-text)!important;line-height:1.25}.vdgtfs-axis-segment{position:relative;margin:2px 0 5px 27px;min-height:25px}.vdgtfs-axis-segment.empty{min-height:12px}.vdgtfs-vehicle-chip{display:flex;flex-direction:column;gap:1px;padding:6px 8px;border-radius:9px;background:#e9f6f1;border:1px solid #bee4d5;margin-bottom:4px}.vdgtfs-vehicle-chip b{font-size:11px;color:#176747!important}.vdgtfs-vehicle-chip span{font-size:9px;color:#4e7165!important}.vdgtfs-vehicle-chip.at-stop{background:#eef6fb;border-color:#c8deea}.vdgtfs-vehicle-chip.at-stop b{color:#215e7a!important}.vdgtfs-table-note{padding:9px 12px;border-bottom:1px solid var(--vd-line);background:#f7f9fb;color:var(--vd-muted)!important;font-size:10px}.vdgtfs-table-scroll{overflow:auto;max-height:72vh}.vdgtfs-timetable{border-collapse:separate;border-spacing:0;min-width:max-content;width:100%;margin:0!important;background:#fff}.vdgtfs-timetable th,.vdgtfs-timetable td{border:0!important;border-right:1px solid #e8edf2!important;border-bottom:1px solid #e8edf2!important;padding:7px 9px!important;text-align:center!important;background:#fff!important;vertical-align:middle!important;min-width:72px}.vdgtfs-timetable thead th{position:sticky;top:0;z-index:4;background:#f7f9fb!important}.vdgtfs-timetable th:first-child{position:sticky;left:0;z-index:3;text-align:left!important;min-width:180px;max-width:230px;color:var(--vd-text)!important}.vdgtfs-timetable thead th:first-child{z-index:5}.vdgtfs-timetable thead b{display:block;color:var(--vd-text)!important;font-size:12px}.vdgtfs-timetable thead small{display:block;color:var(--vd-muted)!important;font-size:8px;max-width:90px;white-space:normal;line-height:1.2}.vdgtfs-timetable tbody th{font-size:10px;background:#fbfcfd!important;line-height:1.2}.vdgtfs-timetable td b{display:block;font-size:11px;color:var(--vd-text)!important;font-variant-numeric:tabular-nums}.vdgtfs-timetable td small{display:block;font-size:8px;color:var(--vd-muted)!important}.vdgtfs-timetable .vdgtfs-cell-live{color:var(--vd-live)!important}.vdgtfs-no-stop{color:#b0bac2!important}
.vdgtfs-map-modal{position:fixed;inset:0;z-index:999999;background:rgba(13,30,43,.5);padding:3vh 3vw;display:flex;align-items:center;justify-content:center}.vdgtfs-map-modal[hidden]{display:none!important}.vdgtfs-map-sheet{width:min(1100px,100%);height:min(820px,94vh);background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.25);display:grid;grid-template-rows:auto auto 1fr}.vdgtfs-map-head{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid var(--vd-line)}.vdgtfs-map-head>div{display:flex;flex-direction:column}.vdgtfs-map-head strong{font-size:17px;color:var(--vd-text)!important}.vdgtfs-map-head span{font-size:11px;color:var(--vd-muted)!important}.vdgtfs-map-close{width:38px!important;height:38px!important;border:0!important;border-radius:10px!important;background:#f1f4f7!important;color:#637687!important;font-size:25px!important;box-shadow:none!important;cursor:pointer}.vdgtfs-map-tools{padding:10px 14px;border-bottom:1px solid var(--vd-line);display:flex;gap:12px;align-items:flex-start;background:#fafcfd}.vdgtfs-map-locate{flex:0 0 auto;border:1px solid #cfd9e3!important;border-radius:10px!important;background:#fff!important;color:var(--vd-accent)!important;box-shadow:none!important;padding:8px 11px!important;font-weight:800!important;cursor:pointer;text-transform:none!important}.vdgtfs-nearest{display:flex;gap:6px;align-items:center;overflow:auto;min-height:34px}.vdgtfs-nearest-title{font-size:10px;font-weight:800;color:var(--vd-muted)!important;white-space:nowrap}.vdgtfs-nearest button{display:flex!important;gap:7px;align-items:center;white-space:nowrap;border:1px solid var(--vd-line)!important;border-radius:9px!important;background:#fff!important;color:var(--vd-text)!important;box-shadow:none!important;padding:7px 9px!important;font-size:10px!important;cursor:pointer;text-transform:none!important}.vdgtfs-nearest button b{color:var(--vd-accent)!important}.vdgtfs-nearest>span{font-size:11px;color:var(--vd-muted)!important}.vdgtfs-map{min-height:400px;width:100%;height:100%;z-index:1}.vdgtfs-map-error{display:grid;place-items:center;height:100%;color:var(--vd-muted)!important}.vdgtfs-modal-open{overflow:hidden!important}.vdgtfs-map .leaflet-tooltip{font-family:inherit;font-size:11px}
@media(max-width:820px){.vdgtfs-view{padding:16px}.vdgtfs-appbar{padding:16px}.vdgtfs-app-title{font-size:21px}.vdgtfs-screen-head p{font-size:13px}.vdgtfs-route-layout{grid-template-columns:1fr}.vdgtfs-route-axis{max-height:none}.vdgtfs-planner-stops{grid-template-columns:1fr}.vdgtfs-swap{justify-self:center;height:38px!important}.vdgtfs-planner-when{justify-content:stretch;flex-wrap:wrap}.vdgtfs-search-button{flex:1}.vdgtfs-journey-summary{grid-template-columns:1fr 18px}.vdgtfs-journey-times{grid-column:1}.vdgtfs-journey-main{grid-column:1}.vdgtfs-journey-summary>.vdgtfs-chevron{grid-column:2;grid-row:1/3}.vdgtfs-panel-head{align-items:stretch;flex-direction:column}.vdgtfs-date-controls{justify-content:flex-start}.vdgtfs-route-filters{justify-content:flex-start;flex-wrap:wrap}.vdgtfs-direction{min-width:220px;max-width:100%}}
@media(max-width:600px){.vdgtfs-app{margin-left:-8px;margin-right:-8px}.vdgtfs-shell{border-radius:16px}.vdgtfs-appbar{align-items:flex-start;flex-direction:column;gap:9px}.vdgtfs-live-state{padding:6px 9px}.vdgtfs-tabs button{padding:11px 5px!important;font-size:12px!important;gap:5px}.vdgtfs-tab-icon{font-size:15px}.vdgtfs-view{padding:12px}.vdgtfs-screen-head{margin-bottom:14px}.vdgtfs-screen-head h2{font-size:24px!important}.vdgtfs-screen-head p{font-size:12px}.vdgtfs-picker-row{grid-template-columns:minmax(0,1fr) 46px 46px}.vdgtfs-picker-map,.vdgtfs-picker-locate{min-width:46px!important;padding:0!important;font-size:18px!important}.vdgtfs-picker-map span,.vdgtfs-picker-locate span{display:none}.vdgtfs-departure-row{grid-template-columns:82px minmax(48px,auto) 1fr 12px;gap:8px;padding:12px 10px!important}.vdgtfs-time-main{font-size:20px}.vdgtfs-time-plan{font-size:8px}.vdgtfs-route{min-width:34px;min-height:28px;font-size:12px;padding:2px 5px}.vdgtfs-departure-dest strong{font-size:13px}.vdgtfs-guaranteed{font-size:9px}.vdgtfs-date-controls{display:grid;grid-template-columns:1fr 1fr;width:100%}.vdgtfs-date-controls label{min-width:0}.vdgtfs-detail{padding:12px 10px}.vdgtfs-path:before{left:47px}.vdgtfs-path-stop{grid-template-columns:38px 1fr;gap:20px}.vdgtfs-path-stop:before{left:43px}.vdgtfs-transfer-card{grid-template-columns:25px 1fr auto;padding:9px}.vdgtfs-planner-form{padding:12px}.vdgtfs-planner-when{display:grid;grid-template-columns:1fr 1fr}.vdgtfs-search-button{grid-column:1/-1}.vdgtfs-journey-summary{padding:13px 12px!important}.vdgtfs-journey-times b{font-size:19px}.vdgtfs-route-list button span:last-child{display:none}.vdgtfs-route-filters{display:grid;grid-template-columns:1fr 1fr}.vdgtfs-direction{min-width:0;width:100%!important}.vdgtfs-map-modal{padding:0}.vdgtfs-map-sheet{width:100%;height:100%;border-radius:0}.vdgtfs-map-tools{flex-direction:column}.vdgtfs-nearest{width:100%}.vdgtfs-alerts{padding:8px 12px 0}.vdgtfs-alert{flex-direction:column;gap:3px}.vdgtfs-timetable th:first-child{min-width:145px;max-width:170px}.vdgtfs-axis-list{padding:10px}}

/* ===== 0.5.1 UX / mobile / realtime polish ===== */
.vdgtfs-screen,.vdgtfs-stop-picker,.vdgtfs-departure-panel,.vdgtfs-planner-form,.vdgtfs-planner-results,.vdgtfs-route-toolbar,.vdgtfs-route-content{width:100%;max-width:none}
.vdgtfs-screen{min-width:0}
.vdgtfs-picker-locate{background:#2583e8!important;border-color:#2583e8!important;color:#fff!important}
.vdgtfs-picker-locate:hover{background:#176fc9!important}
.vdgtfs-picker-map{background:#fff!important;color:var(--vd-accent)!important}
.vdgtfs-suggestion-area{border-bottom:1px solid var(--vd-line);background:#f5f9ff}
.vdgtfs-suggestion-area button{background:#f5f9ff!important}
.vdgtfs-suggestion-area button>span>span{font-size:11px;color:var(--vd-muted)!important;margin-top:2px}
.vdgtfs-suggestion-group.simple{border-top:1px solid #edf1f5}
.vdgtfs-suggestion-group.simple button{border-top:0!important}
.vdgtfs-suggestion-group.simple button strong{font-size:14px}
.vdgtfs-suggestion-group.simple button small{margin-top:2px;color:#7a8b99!important;text-transform:none;letter-spacing:0}
.vdgtfs-rt-icon{display:inline-flex;width:15px;height:15px;margin-left:4px;vertical-align:-2px;color:var(--vd-live)!important;flex:0 0 auto}
.vdgtfs-rt-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vdgtfs-time-main.is-live,.vdgtfs-journey-times b.is-live,.vdgtfs-path-time-live.is-live,.vdgtfs-cell-live{color:var(--vd-live)!important}
.vdgtfs-time-plan del,.vdgtfs-path-time-plan del,.vdgtfs-journey-times del,.vdgtfs-timetable del,.vdgtfs-transfer-time del{text-decoration-thickness:1.5px;color:#8897a5!important}
.vdgtfs-time-plan{display:flex;align-items:center;gap:5px;min-height:13px}
.vdgtfs-transfer-time{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.vdgtfs-transfer-time b{display:inline-flex;align-items:center;color:var(--vd-text)!important}
.vdgtfs-transfer-time .vdgtfs-rt-icon{width:13px;height:13px}
.vdgtfs-list-status:empty{display:none}

/* planner */
.vdgtfs-planner-stops{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);gap:10px;align-items:end}
.vdgtfs-swap{align-self:end;width:48px!important;height:50px!important;min-width:48px!important;padding:0!important;border:1px solid #cfd9e3!important;border-radius:14px!important;background:#f6f9fb!important;color:var(--vd-accent)!important;box-shadow:none!important;font-size:21px!important;font-weight:900!important;cursor:pointer;text-transform:none!important}
.vdgtfs-swap:hover{background:#eef5f9!important}
.vdgtfs-journey-places{flex-basis:100%;font-size:11px!important;color:#718494!important}

/* horizontal route axis */
.vdgtfs-route-content{display:block}
.vdgtfs-route-axis{margin:0 0 14px;background:#fff;border:1px solid var(--vd-line);border-radius:16px;overflow:hidden}
.vdgtfs-axis-head{padding:13px 16px;border-bottom:1px solid var(--vd-line);display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
.vdgtfs-axis-head>div{display:flex;flex-direction:column;gap:2px}
.vdgtfs-axis-head span{font-size:10px;font-weight:850;letter-spacing:.08em;color:var(--vd-muted)!important}
.vdgtfs-axis-head b{font-size:13px;color:var(--vd-text)!important}
.vdgtfs-axis-head em{font-style:normal;font-size:11px;color:var(--vd-muted)!important;text-align:right}
.vdgtfs-axis-scroll{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding:0 0 4px}
.vdgtfs-axis-track{position:relative;height:150px;padding:0 54px}
.vdgtfs-axis-line{position:absolute;left:54px;right:54px;top:78px;height:3px;border-radius:3px;background:#c8d4de}
.vdgtfs-axis-stops{position:absolute;left:0;right:0;top:70px;display:grid;align-items:start}
.vdgtfs-axis-stop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-height:70px;padding:0 4px;text-align:center}
.vdgtfs-axis-stop:after{display:none!important}
.vdgtfs-axis-dot{width:15px;height:15px;border-radius:50%;background:#fff;border:3px solid var(--vd-accent);z-index:2;box-shadow:0 0 0 2px #fff}
.vdgtfs-axis-stop strong{font-size:9.5px;color:var(--vd-text)!important;line-height:1.15;max-width:104px;font-weight:750}
.vdgtfs-axis-vehicles{position:absolute;left:54px;right:54px;top:7px;height:58px;pointer-events:none}
.vdgtfs-axis-vehicle{position:absolute;top:0;transform:translateX(-50%);z-index:4;max-width:180px}
.vdgtfs-vehicle-chip{display:flex;flex-direction:column;gap:1px;padding:5px 7px;border-radius:9px;background:#e9f6f1;border:1px solid #bee4d5;margin:0;box-shadow:0 4px 10px rgba(20,80,62,.08);white-space:nowrap}
.vdgtfs-vehicle-chip b{font-size:10px;color:#176747!important}
.vdgtfs-vehicle-chip span{font-size:8.5px;color:#4e7165!important;max-width:160px;overflow:hidden;text-overflow:ellipsis}
.vdgtfs-vehicle-chip.at-stop{background:#eef6fb;border-color:#c8deea}
.vdgtfs-vehicle-chip.at-stop b{color:#215e7a!important}

/* cleaner timetable */
.vdgtfs-timetable thead th{height:42px}
.vdgtfs-trip-head{display:block;max-width:94px;font-size:9px;line-height:1.15;color:#607486!important;font-weight:800;white-space:normal}
.vdgtfs-timetable td b{display:inline-flex;align-items:center;justify-content:center;gap:2px;font-size:11px;color:var(--vd-text)!important;font-variant-numeric:tabular-nums}
.vdgtfs-timetable td small{margin-top:2px;font-size:8px;color:var(--vd-muted)!important}
.vdgtfs-timetable td .vdgtfs-rt-icon{width:12px;height:12px;margin-left:2px}

@media(max-width:820px){
  .vdgtfs-view{padding:16px!important}
  .vdgtfs-screen-head{margin-bottom:16px}
  .vdgtfs-screen-head h2{font-size:26px!important}
  .vdgtfs-screen-head p{font-size:12.5px;line-height:1.45}
  .vdgtfs-planner-stops{grid-template-columns:1fr!important;gap:8px}
  .vdgtfs-swap{justify-self:center;align-self:center;width:44px!important;height:38px!important;min-width:44px!important;border-radius:12px!important;transform:rotate(90deg)}
  .vdgtfs-route-filters{justify-content:flex-start;flex-wrap:wrap}
  .vdgtfs-axis-head{align-items:flex-start}
}

@media(max-width:600px){
  .vdgtfs-app{margin-left:0!important;margin-right:0!important;width:100%!important}
  .vdgtfs-shell{border-radius:14px!important}
  .vdgtfs-appbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding:13px 12px!important}
  .vdgtfs-eyebrow{font-size:9px}
  .vdgtfs-app-title{font-size:19px!important}
  .vdgtfs-live-state{padding:6px 8px!important;font-size:10px!important;max-width:150px;overflow:hidden}
  .vdgtfs-live-state span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .vdgtfs-tabs{position:sticky;top:0;z-index:40}
  .vdgtfs-tabs button{min-height:46px;padding:9px 4px!important;font-size:11px!important;gap:4px!important}
  .vdgtfs-tab-icon{font-size:14px!important}
  .vdgtfs-view{padding:11px!important}
  .vdgtfs-screen-head{margin-bottom:12px}
  .vdgtfs-screen-head h2{font-size:22px!important;margin-bottom:3px!important}
  .vdgtfs-screen-head p{font-size:11.5px;line-height:1.4}
  .vdgtfs-kicker{font-size:9px}
  .vdgtfs-stop-picker{margin-bottom:12px}
  .vdgtfs-stop-picker>label{font-size:10px;margin-bottom:5px}
  .vdgtfs-picker-row{grid-template-columns:minmax(0,1fr) 44px 44px!important;gap:6px}
  .vdgtfs-picker-input input{min-height:46px!important;border-radius:12px!important;padding-left:12px!important;font-size:15px!important}
  .vdgtfs-picker-clear{width:38px!important;height:38px!important}
  .vdgtfs-picker-map,.vdgtfs-picker-locate{min-width:44px!important;height:46px!important;border-radius:12px!important;padding:0!important;font-size:17px!important}
  .vdgtfs-picker-map span,.vdgtfs-picker-locate span{display:none!important}
  .vdgtfs-suggestions{max-height:55vh;border-radius:12px}
  .vdgtfs-suggestions button{padding:10px!important;gap:8px}
  .vdgtfs-suggestions strong{font-size:13px}
  .vdgtfs-suggestions em{font-size:10px}
  .vdgtfs-panel-head{padding:13px 12px!important;gap:10px}
  .vdgtfs-current-stop{font-size:18px!important;line-height:1.1}
  .vdgtfs-panel-head span{font-size:10px}
  .vdgtfs-date-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;width:100%}
  .vdgtfs-date,.vdgtfs-time-input,.vdgtfs-direction{min-height:40px!important;font-size:12px!important;padding:6px 7px!important}
  .vdgtfs-list-status{padding:7px 10px;font-size:10px}
  .vdgtfs-departure-row{grid-template-columns:76px minmax(0,1fr) 13px!important;grid-template-areas:"clock dest chev" "route route chev";gap:5px 9px!important;padding:11px 10px!important;align-items:center}
  .vdgtfs-departure-clock{grid-area:clock}
  .vdgtfs-departure-route{grid-area:route}
  .vdgtfs-departure-dest{grid-area:dest}
  .vdgtfs-departure-row>.vdgtfs-chevron{grid-area:chev;align-self:center}
  .vdgtfs-time-main{font-size:21px!important}
  .vdgtfs-time-plan{font-size:8px!important;white-space:normal}
  .vdgtfs-delay{font-size:8px}
  .vdgtfs-route{min-width:31px!important;min-height:25px!important;font-size:11px!important;border-radius:7px!important;padding:2px 5px!important}
  .vdgtfs-route-chain{gap:3px}
  .vdgtfs-route-arrow{font-size:10px}
  .vdgtfs-departure-dest strong{font-size:12.5px!important;line-height:1.25}
  .vdgtfs-guaranteed{font-size:8.5px!important}
  .vdgtfs-more-wrap{padding:10px}
  .vdgtfs-more{width:100%;min-height:42px}
  .vdgtfs-detail{padding:11px 9px!important}
  .vdgtfs-leg{max-width:none}
  .vdgtfs-leg-head{font-size:11px}
  .vdgtfs-path:before{left:46px!important}
  .vdgtfs-path-stop{grid-template-columns:37px minmax(0,1fr)!important;gap:18px!important;font-size:11px}
  .vdgtfs-path-stop:before{left:42px!important}
  .vdgtfs-path-time-live{font-size:10px}
  .vdgtfs-path-time-plan{font-size:8px}
  .vdgtfs-transfer-card{grid-template-columns:22px minmax(0,1fr) auto!important;padding:9px 8px!important;gap:6px!important}
  .vdgtfs-transfer-card strong{font-size:11px}
  .vdgtfs-transfer-card span,.vdgtfs-transfer-card em{font-size:8.5px}
  .vdgtfs-planner-form{padding:10px!important}
  .vdgtfs-planner-stops{gap:6px!important}
  .vdgtfs-swap{width:40px!important;height:34px!important;min-width:40px!important;font-size:18px!important}
  .vdgtfs-planner-when{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:8px}
  .vdgtfs-search-button{grid-column:1/-1!important;min-height:44px!important;width:100%}
  .vdgtfs-journey-summary{display:grid!important;grid-template-columns:minmax(0,1fr) 16px!important;gap:8px!important;padding:11px 10px!important}
  .vdgtfs-journey-times{grid-column:1!important;gap:8px!important}
  .vdgtfs-journey-times b{font-size:18px!important}
  .vdgtfs-journey-times span{font-size:8px!important}
  .vdgtfs-journey-main{grid-column:1!important;gap:6px!important}
  .vdgtfs-journey-main>strong,.vdgtfs-journey-main>span{font-size:10px!important}
  .vdgtfs-journey-summary>.vdgtfs-chevron{grid-column:2!important;grid-row:1/3!important}
  .vdgtfs-route-toolbar{padding:10px!important;margin-bottom:10px!important}
  .vdgtfs-route-list{gap:6px}
  .vdgtfs-route-list button{padding:6px 7px!important;border-radius:10px!important}
  .vdgtfs-route-list button span:last-child{display:none!important}
  .vdgtfs-route-filters{display:grid!important;grid-template-columns:minmax(0,1fr) 128px!important;gap:7px!important;margin-top:9px!important;padding-top:9px!important}
  .vdgtfs-direction{min-width:0!important;width:100%!important}
  .vdgtfs-axis-head{padding:10px 11px!important;gap:8px}
  .vdgtfs-axis-head b{font-size:11px}
  .vdgtfs-axis-head em{font-size:9px;max-width:130px}
  .vdgtfs-axis-track{height:140px;padding:0 46px}
  .vdgtfs-axis-line{left:46px;right:46px;top:73px}
  .vdgtfs-axis-stops{top:65px}
  .vdgtfs-axis-stop strong{font-size:8.5px;max-width:92px}
  .vdgtfs-axis-vehicles{left:46px;right:46px;top:5px}
  .vdgtfs-vehicle-chip{padding:4px 6px;max-width:145px}
  .vdgtfs-vehicle-chip b{font-size:9px}
  .vdgtfs-vehicle-chip span{font-size:7.5px;max-width:130px}
  .vdgtfs-table-note{padding:7px 9px;font-size:9px}
  .vdgtfs-table-scroll{max-height:68vh}
  .vdgtfs-timetable th:first-child{min-width:128px!important;max-width:145px!important}
  .vdgtfs-timetable th,.vdgtfs-timetable td{min-width:64px!important;padding:6px 6px!important}
  .vdgtfs-timetable tbody th{font-size:9px!important}
  .vdgtfs-timetable td b{font-size:10px!important}
  .vdgtfs-trip-head{font-size:8px;max-width:76px}
  .vdgtfs-map-modal{padding:0!important}
  .vdgtfs-map-sheet{width:100%!important;height:100%!important;border-radius:0!important}
  .vdgtfs-map-tools{flex-direction:column!important;padding:8px!important}
  .vdgtfs-map-locate{width:100%;min-height:42px}
  .vdgtfs-nearest{width:100%!important}
}

/* ===== 0.5.1 width consistency / route path / walk help ===== */
.vdgtfs-view>.vdgtfs-screen{max-width:980px;margin:0 auto}
.vdgtfs-view>.vdgtfs-screen>.vdgtfs-stop-picker,
.vdgtfs-view>.vdgtfs-screen>.vdgtfs-departure-panel,
.vdgtfs-view>.vdgtfs-screen>.vdgtfs-planner-form,
.vdgtfs-view>.vdgtfs-screen>.vdgtfs-planner-results,
.vdgtfs-view>.vdgtfs-screen>.vdgtfs-route-toolbar,
.vdgtfs-view>.vdgtfs-screen>.vdgtfs-route-content,
.vdgtfs-view>.vdgtfs-screen>.vdgtfs-empty{width:100%;max-width:100%;margin-left:auto;margin-right:auto}
.vdgtfs-walk-help{margin-top:10px;padding:12px 13px;border:1px solid #d8e3ec;border-radius:14px;background:#f8fbfd;display:flex;flex-direction:column;gap:8px;color:var(--vd-text)!important}
.vdgtfs-walk-help span{font-size:13px;color:var(--vd-muted)!important;line-height:1.45}
.vdgtfs-walk-pick{align-self:flex-start;border:0!important;background:var(--vd-accent)!important;color:#fff!important;border-radius:10px!important;padding:9px 12px!important;font-weight:800!important}
.vdgtfs-axis-wrap{display:flex;flex-direction:column;gap:14px;padding:14px}
.vdgtfs-axis-row{position:relative;background:#fff;border:1px solid var(--vd-line);border-radius:14px;padding:14px 18px 16px}
.vdgtfs-axis-row-line{position:absolute;left:28px;right:28px;top:44px;height:3px;border-radius:3px;background:#c8d4de}
.vdgtfs-axis-row-stops{display:grid;gap:10px;position:relative}
.vdgtfs-axis-stop{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;text-align:center}
.vdgtfs-axis-stop-vehicles{min-height:24px;display:flex;flex-wrap:wrap;justify-content:center;gap:4px}
.vdgtfs-axis-stop .vdgtfs-vehicle-chip{padding:4px 6px;border-radius:8px}
.vdgtfs-axis-stop .vdgtfs-vehicle-chip b{font-size:8.5px}
.vdgtfs-axis-stop .vdgtfs-vehicle-chip span{display:none}
.vdgtfs-axis-turn{font-size:22px;font-weight:900;color:#7d91a3;text-align:right;padding-top:4px}
.vdgtfs-axis-turn.left{text-align:left}
.vdgtfs-trip-connections{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:78px}
.vdgtfs-trip-conn{display:flex;flex-direction:column;align-items:center;gap:3px}
.vdgtfs-trip-conn small{font-size:8px;line-height:1.1;color:#567083!important;text-align:center;max-width:74px}
.vdgtfs-legend-inline{display:inline-flex;align-items:center;gap:6px;margin-left:8px}
.vdgtfs-legend-chip{display:inline-block;width:12px;height:12px;border-radius:4px;background:linear-gradient(90deg,#6aa84f 0 50%,#3c78d8 50% 100%)}
.vdgtfs-transfer-legend{padding:10px 6px 2px;font-size:11px;color:var(--vd-muted)!important}
@media(max-width:820px){
  .vdgtfs-view>.vdgtfs-screen{max-width:100%}
}
@media(max-width:600px){
  .vdgtfs-axis-wrap{padding:10px}
  .vdgtfs-axis-row{padding:12px 10px 14px}
  .vdgtfs-axis-row-line{left:14px;right:14px;top:40px}
  .vdgtfs-axis-row-stops{grid-template-columns:repeat(4,minmax(58px,1fr))!important}
  .vdgtfs-axis-stop strong{font-size:8px!important;max-width:64px}
  .vdgtfs-axis-turn{font-size:18px}
  .vdgtfs-trip-connections{min-width:64px}
  .vdgtfs-trip-conn small{max-width:60px;font-size:7px}
}

/* ===== 0.5.2 full-width passenger UI + compact snake route ===== */
.vdgtfs-app{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
.vdgtfs-shell{width:100%!important;max-width:none!important}
.vdgtfs-view{width:100%!important;max-width:none!important}
.vdgtfs-view>.vdgtfs-screen{width:100%!important;max-width:none!important;margin:0!important}
.vdgtfs-screen>.vdgtfs-stop-picker,
.vdgtfs-screen>.vdgtfs-departure-panel,
.vdgtfs-screen>.vdgtfs-planner-form,
.vdgtfs-screen>.vdgtfs-planner-results,
.vdgtfs-screen>.vdgtfs-route-toolbar,
.vdgtfs-screen>.vdgtfs-route-content{width:100%!important;max-width:none!important}

.vdgtfs-suggestion-group.grouped{border-bottom:1px solid var(--vd-line)}
.vdgtfs-suggestion-group.grouped:last-child{border-bottom:0}
.vdgtfs-suggestion-group.grouped>button{width:100%;border:0!important;background:#fff!important;border-radius:0!important;display:flex!important;justify-content:space-between;align-items:center;text-align:left!important;padding:11px 12px!important;color:var(--vd-text)!important;box-shadow:none!important;text-transform:none!important}
.vdgtfs-suggestion-group.grouped>button:hover{background:#f7fafc!important}
.vdgtfs-suggestion-group.grouped strong{font-size:13px;color:var(--vd-text)!important}
.vdgtfs-suggestion-group.grouped small{display:block;margin-top:2px;font-size:9px;color:var(--vd-muted)!important}
.vdgtfs-suggestion-group.grouped em{font-style:normal;font-size:10px;color:var(--vd-muted)!important}

.vdgtfs-route-axis.compact{margin-bottom:12px;background:#fff;border:1px solid var(--vd-line);border-radius:16px;overflow:hidden}
.vdgtfs-snake{padding:12px 18px 8px;overflow:hidden}
.vdgtfs-snake-row{position:relative;min-height:98px;margin:0 14px}
.vdgtfs-snake-line{position:absolute;left:0;right:0;top:64px;height:3px;background:var(--snake,#164b6d);border-radius:999px;opacity:.72}
.vdgtfs-snake-stops{position:relative;display:grid;gap:5px;align-items:end}
.vdgtfs-snake-stop{position:relative;display:grid;grid-template-rows:48px 18px;justify-items:center;align-items:end;min-width:0}
.vdgtfs-snake-stop strong{align-self:end;max-width:100px;font-size:9px;line-height:1.05;color:var(--vd-text)!important;text-align:left;transform:rotate(-34deg);transform-origin:50% 100%;white-space:normal}
.vdgtfs-snake-dot{width:15px;height:15px;border:3px solid var(--snake,#164b6d);background:#fff;border-radius:50%;z-index:2;box-shadow:0 0 0 2px #fff}
.vdgtfs-snake-vehicles{position:absolute;z-index:4;top:-5px;left:50%;transform:translateX(-50%);min-height:20px}
.vdgtfs-snake-vehicles .vdgtfs-vehicle-chip{padding:3px 5px;border-radius:7px}
.vdgtfs-snake-vehicles .vdgtfs-vehicle-chip b{font-size:8px}
.vdgtfs-snake-vehicles .vdgtfs-vehicle-chip span{display:none}
.vdgtfs-snake-row:not(:last-child)::after{content:"";position:absolute;top:64px;height:98px;width:34px;border:3px solid var(--snake,#164b6d);opacity:.72;pointer-events:none}
.vdgtfs-snake-row:not(:last-child):not(.reverse)::after{right:-17px;border-left:0;border-top-right-radius:22px;border-bottom-right-radius:22px}
.vdgtfs-snake-row.reverse:not(:last-child)::after{left:-17px;border-right:0;border-top-left-radius:22px;border-bottom-left-radius:22px}
.vdgtfs-snake-turn{position:absolute;top:88px;font-size:12px;color:var(--snake,#164b6d);font-weight:900;z-index:3}
.vdgtfs-snake-turn.right{right:-10px;transform:rotate(90deg)}
.vdgtfs-snake-turn.left{left:-10px;transform:rotate(90deg)}

.vdgtfs-timetable thead th{height:18px!important;min-height:18px!important;padding-top:2px!important;padding-bottom:2px!important}
.vdgtfs-timetable thead th:not(:first-child){background:#fbfcfd}
.vdgtfs-table-note strong{color:var(--vd-text)!important}

@media(max-width:820px){
  .vdgtfs-snake{padding:10px 10px 5px}
  .vdgtfs-snake-row{margin:0 8px;min-height:92px}
  .vdgtfs-snake-line{top:60px}
  .vdgtfs-snake-stop{grid-template-rows:45px 18px}
  .vdgtfs-snake-stop strong{font-size:8px;max-width:78px;transform:rotate(-32deg)}
  .vdgtfs-snake-row:not(:last-child)::after{top:60px;height:92px;width:26px}
  .vdgtfs-snake-row:not(:last-child):not(.reverse)::after{right:-13px}
  .vdgtfs-snake-row.reverse:not(:last-child)::after{left:-13px}
}
@media(max-width:600px){
  .vdgtfs-app{margin-left:0!important;margin-right:0!important}
  .vdgtfs-snake{padding:8px 4px 4px}
  .vdgtfs-snake-row{margin:0 5px;min-height:86px}
  .vdgtfs-snake-line{top:56px}
  .vdgtfs-snake-stop{grid-template-rows:42px 17px}
  .vdgtfs-snake-stop strong{font-size:7px;max-width:58px;transform:rotate(-31deg)}
  .vdgtfs-snake-dot{width:12px;height:12px;border-width:2px}
  .vdgtfs-snake-row:not(:last-child)::after{top:56px;height:86px;width:20px;border-width:2px}
  .vdgtfs-snake-row:not(:last-child):not(.reverse)::after{right:-10px}
  .vdgtfs-snake-row.reverse:not(:last-child)::after{left:-10px}
  .vdgtfs-snake-turn{display:none}
}

/* ===== 0.5.4 production frontend / true full width ===== */
.vdgtfs-app{
  width:min(1220px,calc(100vw - clamp(32px,14vw,180px)))!important;
  max-width:none!important;
  margin:0!important;
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
}
.vdgtfs-shell,.vdgtfs-view,.vdgtfs-screen,
.vdgtfs-stop-picker,.vdgtfs-departure-panel,.vdgtfs-planner-form,.vdgtfs-planner-results,
.vdgtfs-route-toolbar,.vdgtfs-route-content{width:100%!important;max-width:none!important}
.vdgtfs-appbar{justify-content:flex-start!important}
.vdgtfs-live-state{display:none!important}
@media(max-width:700px){
  .vdgtfs-app{width:calc(100vw - 16px)!important;left:50%!important;transform:translateX(-50%)!important}
}

/* ===== 0.5.6 polish: full width, cleaner snake, professional public messaging ===== */
.vdgtfs-app,.vdgtfs-shell,.vdgtfs-view,.vdgtfs-screen,
.vdgtfs-stop-picker,.vdgtfs-departure-panel,.vdgtfs-planner-form,.vdgtfs-planner-results,
.vdgtfs-route-toolbar,.vdgtfs-route-content{width:100%!important;max-width:none!important;min-width:0!important}
.vdgtfs-view>.vdgtfs-screen{margin:0!important}
.vdgtfs-route-toolbar,.vdgtfs-route-content,.vdgtfs-departure-panel,.vdgtfs-planner-form,.vdgtfs-planner-results{overflow:hidden}
.vdgtfs-rt-icon{width:17px!important;height:17px!important;margin-left:5px!important;vertical-align:-3px}
.vdgtfs-timetable td .vdgtfs-rt-icon,.vdgtfs-transfer-time .vdgtfs-rt-icon{width:15px!important;height:15px!important}
.vdgtfs-time-plan,.vdgtfs-cell-plan,.vdgtfs-path-time-plan{font-size:12px!important;line-height:1.15}
.vdgtfs-path-time-plan{font-size:10px!important}
.vdgtfs-table-note{padding:12px 14px;font-size:13px;color:var(--vd-muted)!important;border-bottom:1px solid var(--vd-line)}
.vdgtfs-transfer-legend{padding:10px 12px 0;font-size:12px;line-height:1.5;color:var(--vd-muted)!important}
.vdgtfs-transfer-legend strong{color:var(--vd-text)!important}
.vdgtfs-legend-inline{display:inline-flex;align-items:center;gap:7px;margin:4px 12px 4px 0;vertical-align:middle}
.vdgtfs-legend-inline span:last-child{white-space:normal}
.vdgtfs-trip-headcell{padding:8px 6px!important;vertical-align:top;background:#f8fbfd}
.vdgtfs-trip-connections{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:72px}
.vdgtfs-trip-conn{display:flex;flex-direction:column;align-items:center;gap:4px}
.vdgtfs-trip-conn small{font-size:9px;line-height:1.2;color:#567083!important;text-align:center;max-width:78px;white-space:normal}
.vdgtfs-route-axis.compact{margin-bottom:14px}
.vdgtfs-axis-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid var(--vd-line)}
.vdgtfs-axis-head span{display:block;font-size:11px;font-weight:850;letter-spacing:.12em;color:var(--vd-muted)!important}
.vdgtfs-axis-head b{display:block;font-size:28px;line-height:1.05;color:var(--vd-text)!important}
.vdgtfs-axis-head em{font-style:normal;font-size:12px;line-height:1.45;color:var(--vd-muted)!important;max-width:260px;text-align:right}
.vdgtfs-snake{padding:12px 14px 10px;overflow:hidden}
.vdgtfs-snake-row{position:relative;min-height:84px;margin:0 8px}
.vdgtfs-snake-line{position:absolute;left:0;right:0;top:36px;height:3px;background:var(--snake,#164b6d);border-radius:999px;opacity:.82}
.vdgtfs-snake-stops{position:relative;display:grid;gap:6px;align-items:start}
.vdgtfs-snake-stop{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;text-align:center;padding-top:0}
.vdgtfs-snake-dot{order:1;width:16px;height:16px;border:3px solid var(--snake,#164b6d);background:#fff;border-radius:50%;z-index:2;box-shadow:0 0 0 2px #fff}
.vdgtfs-snake-stop strong{order:0;max-width:118px;font-size:10px;line-height:1.15;color:var(--vd-text)!important;white-space:normal;transform:rotate(-32deg);transform-origin:50% 100%;min-height:32px}
.vdgtfs-snake-vehicles{position:absolute;z-index:4;top:22px;left:50%;transform:translateX(-50%);min-height:16px}
.vdgtfs-snake-vehicles .vdgtfs-vehicle-chip{padding:3px 6px;border-radius:999px;background:#eff8f3;border-color:#c7e4d2}
.vdgtfs-snake-vehicles .vdgtfs-vehicle-chip b{font-size:10px}
.vdgtfs-snake-vehicles .vdgtfs-vehicle-chip span{display:none}
.vdgtfs-snake-row:not(:last-child)::after{content:"";position:absolute;top:36px;height:84px;width:22px;border:3px solid var(--snake,#164b6d);opacity:.82;pointer-events:none}
.vdgtfs-snake-row:not(:last-child):not(.reverse)::after{right:-11px;border-left:0;border-top-right-radius:20px;border-bottom-right-radius:20px}
.vdgtfs-snake-row.reverse:not(:last-child)::after{left:-11px;border-right:0;border-top-left-radius:20px;border-bottom-left-radius:20px}
.vdgtfs-snake-turn{position:absolute;top:66px;font-size:13px;color:var(--snake,#164b6d);font-weight:900;z-index:3}
.vdgtfs-snake-turn.right{right:-6px}
.vdgtfs-snake-turn.left{left:-6px}
.vdgtfs-vehicle-chip b{letter-spacing:0}
.vdgtfs-vehicle-chip span{font-size:9px}
.vdgtfs-path-stop time{gap:2px}
.vdgtfs-journey-times span del,.vdgtfs-time-plan del,.vdgtfs-cell-plan del,.vdgtfs-path-time-plan del{font-weight:650}
@media(max-width:900px){
  .vdgtfs-axis-head b{font-size:24px}
  .vdgtfs-snake-stop strong{max-width:88px;font-size:8.5px}
}
@media(max-width:700px){
  .vdgtfs-axis-head{flex-direction:column;align-items:flex-start}
  .vdgtfs-axis-head em{max-width:none;text-align:left}
  .vdgtfs-route-filters,.vdgtfs-date-controls,.vdgtfs-planner-when{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
  .vdgtfs-search-button{width:100%}
}
@media(max-width:600px){
  .vdgtfs-view{padding:12px!important}
  .vdgtfs-picker-row{grid-template-columns:minmax(0,1fr) 44px 44px!important}
  .vdgtfs-panel-head,.vdgtfs-planner-form{padding:12px!important}
  .vdgtfs-departure-row{grid-template-columns:88px minmax(42px,auto) minmax(0,1fr) 12px!important}
  .vdgtfs-time-main{font-size:22px!important}
  .vdgtfs-time-plan,.vdgtfs-cell-plan{font-size:11px!important}
  .vdgtfs-journey-times b{font-size:20px!important}
  .vdgtfs-route-list{overflow-x:auto;white-space:nowrap}
  .vdgtfs-route-list button{flex:0 0 auto}
  .vdgtfs-snake{padding:8px 6px 6px}
  .vdgtfs-snake-row{min-height:78px;margin:0 4px}
  .vdgtfs-snake-line{top:34px}
  .vdgtfs-snake-row:not(:last-child)::after{top:34px;height:78px;width:18px;border-width:2px}
  .vdgtfs-snake-row:not(:last-child):not(.reverse)::after{right:-9px}
  .vdgtfs-snake-row.reverse:not(:last-child)::after{left:-9px}
  .vdgtfs-snake-turn{display:none}
  .vdgtfs-snake-dot{width:13px;height:13px;border-width:2px}
  .vdgtfs-snake-stop strong{max-width:62px;font-size:7px;min-height:28px}
  .vdgtfs-snake-vehicles{top:21px}
  .vdgtfs-axis-head b{font-size:22px}
  .vdgtfs-axis-head em{font-size:11px}
  .vdgtfs-trip-headcell{padding:6px 4px!important}
  .vdgtfs-trip-conn small{font-size:7px;max-width:58px}
  .vdgtfs-transfer-legend,.vdgtfs-table-note{font-size:11px;padding-left:10px;padding-right:10px}
  .vdgtfs-timetable th:first-child{min-width:140px!important;max-width:140px!important}
  .vdgtfs-table-scroll{overflow:auto}
}

/* ===== 0.5.7 stable layout + passenger timetable + mobile ===== */
.vdgtfs-app{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  position:relative!important;
  min-width:0!important;
}
.vdgtfs-host-expand{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}
.vdgtfs-shell,.vdgtfs-view,.vdgtfs-screen,.vdgtfs-screen>*{min-width:0!important;max-width:none!important}
.vdgtfs-shell,.vdgtfs-view,.vdgtfs-screen{width:100%!important}
.vdgtfs-view{overflow:hidden}
.vdgtfs-screen>.vdgtfs-stop-picker,
.vdgtfs-screen>.vdgtfs-departure-panel,
.vdgtfs-screen>.vdgtfs-planner-form,
.vdgtfs-screen>.vdgtfs-planner-results,
.vdgtfs-screen>.vdgtfs-route-toolbar,
.vdgtfs-screen>.vdgtfs-route-content{width:100%!important;max-width:none!important;min-width:0!important}

/* Realtime: readable but not noisy. */
.vdgtfs-rt-icon{width:18px!important;height:18px!important;margin-left:5px!important;vertical-align:-4px!important}
.vdgtfs-time-main.is-live,.vdgtfs-cell-live,.vdgtfs-path-time-live.is-live,.vdgtfs-journey-times b.is-live{color:#078451!important}
.vdgtfs-time-plan,.vdgtfs-cell-plan,.vdgtfs-path-time-plan,.vdgtfs-live-plan{display:block;font-size:11px!important;line-height:1.15;color:#748391!important;margin-top:3px}
.vdgtfs-live-plan del,.vdgtfs-time-plan del,.vdgtfs-cell-plan del,.vdgtfs-path-time-plan del{text-decoration-thickness:1.5px}
.vdgtfs-inline-time{display:inline-flex;align-items:center;gap:3px;vertical-align:middle}
.vdgtfs-inline-time .vdgtfs-path-time-live{display:inline-flex;align-items:center}
.vdgtfs-inline-time .vdgtfs-path-time-plan{display:inline;margin-left:3px}

/* MPK-like route line: compact, one continuous snake on desktop; horizontal strip on mobile. */
.vdgtfs-route-axis.compact{overflow:hidden;border-radius:14px}
.vdgtfs-axis-head{padding:11px 15px!important;min-height:58px}
.vdgtfs-axis-head b{font-size:21px!important;line-height:1.1!important}
.vdgtfs-axis-head span{font-size:9px!important}
.vdgtfs-axis-head em{font-size:11px!important;max-width:280px!important}
.vdgtfs-snake{padding:12px 16px 8px!important;overflow:hidden!important}
.vdgtfs-snake-row{position:relative!important;min-height:74px!important;margin:0 10px!important}
.vdgtfs-snake-line{left:0!important;right:0!important;top:43px!important;height:2px!important;opacity:.9!important}
.vdgtfs-snake-stops{display:grid!important;position:relative!important;align-items:start!important;gap:0!important}
.vdgtfs-snake-stop{position:relative!important;display:grid!important;grid-template-rows:37px 14px 18px!important;justify-items:center!important;align-items:end!important;gap:0!important;min-width:0!important}
.vdgtfs-snake-stop strong{grid-row:1!important;align-self:end!important;max-width:94px!important;font-size:8.5px!important;line-height:1.05!important;transform:rotate(-38deg)!important;transform-origin:50% 100%!important;text-align:left!important;white-space:normal!important;min-height:0!important}
.vdgtfs-snake-dot{grid-row:2!important;order:unset!important;width:14px!important;height:14px!important;border-width:2px!important;align-self:center!important;z-index:3!important}
.vdgtfs-snake-vehicles{grid-row:3!important;position:static!important;transform:none!important;min-height:18px!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;z-index:5!important}
.vdgtfs-snake-vehicles .vdgtfs-vehicle-chip{margin-top:-2px!important;width:27px!important;height:22px!important;padding:1px!important;border-radius:7px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.vdgtfs-snake-vehicles .vdgtfs-vehicle-chip b{font-size:12px!important;line-height:1!important}
.vdgtfs-snake-row:not(:last-child)::after{top:43px!important;height:74px!important;width:20px!important;border-width:2px!important}
.vdgtfs-snake-row:not(:last-child):not(.reverse)::after{right:-10px!important;border-radius:0 18px 18px 0!important;border-left:0!important}
.vdgtfs-snake-row.reverse:not(:last-child)::after{left:-10px!important;border-radius:18px 0 0 18px!important;border-right:0!important}
.vdgtfs-snake-turn{top:64px!important;font-size:11px!important}
.vdgtfs-snake-turn.right{right:-5px!important}.vdgtfs-snake-turn.left{left:-5px!important}

/* Passenger-oriented combined timetable. Connected legs are shown as normal minutes with route-colour background. */
.vdgtfs-timetable thead th{height:12px!important;min-height:12px!important;padding:0!important;background:#f8fafc!important}
.vdgtfs-timetable thead th:first-child{padding:8px 12px!important;height:auto!important;text-align:left!important}
.vdgtfs-connection-cell{background:color-mix(in srgb,var(--conn,#526C7A) 16%,#fff)!important;box-shadow:inset 0 3px 0 var(--conn,#526C7A)}
.vdgtfs-connection-cell b{color:#172a3b!important}
.vdgtfs-connection-cell .vdgtfs-cell-live{color:#078451!important}
.vdgtfs-transfer-legend{padding:9px 12px!important;border-top:1px solid #e1e7ed;font-size:11px!important;line-height:1.5!important;background:#fbfcfd}
.vdgtfs-transfer-legend+.vdgtfs-transfer-legend{border-top:0;padding-top:4px!important}
.vdgtfs-legend-route{display:inline-flex;align-items:center;gap:5px;margin:3px 12px 3px 4px}
.vdgtfs-legend-route i{width:22px;height:14px;border-radius:3px;background:color-mix(in srgb,var(--conn,#526C7A) 18%,#fff);box-shadow:inset 0 3px 0 var(--conn,#526C7A)}
.vdgtfs-legend-route b{color:#23384a!important}
.vdgtfs-live-note{color:#53697a!important}

/* Details: denser and consistent on desktop and mobile. */
.vdgtfs-leg{max-width:820px!important}
.vdgtfs-path-stop{min-height:36px!important}
.vdgtfs-transfer-card{max-width:820px!important}
.vdgtfs-detail{overflow:hidden}

@media(max-width:820px){
  .vdgtfs-view{padding:14px!important}
  .vdgtfs-screen-head h2{font-size:24px!important}
  .vdgtfs-planner-form,.vdgtfs-departure-panel,.vdgtfs-route-toolbar,.vdgtfs-route-content{border-radius:14px!important}
  .vdgtfs-planner-stops{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)!important}
  .vdgtfs-picker-row{grid-template-columns:minmax(0,1fr) auto auto!important}
}

@media(max-width:600px){
  .vdgtfs-app,.vdgtfs-host-expand{width:100%!important;max-width:100%!important;overflow:visible!important}
  .vdgtfs-shell{width:100%!important;border-radius:14px!important;overflow:hidden!important}
  .vdgtfs-view{width:100%!important;padding:10px!important;overflow:hidden!important}
  .vdgtfs-screen{width:100%!important;overflow:hidden!important}
  .vdgtfs-screen-head{width:100%!important}
  .vdgtfs-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .vdgtfs-tabs button{min-width:0!important;font-size:10px!important;padding:10px 3px!important;gap:3px!important}
  .vdgtfs-appbar{padding:14px 12px!important}
  .vdgtfs-app-title{font-size:19px!important}

  .vdgtfs-picker-row{grid-template-columns:minmax(0,1fr) 42px 42px!important;gap:6px!important}
  .vdgtfs-picker-map,.vdgtfs-picker-locate{width:42px!important;min-width:42px!important;max-width:42px!important}
  .vdgtfs-panel-head{padding:11px!important}
  .vdgtfs-current-stop{font-size:18px!important}
  .vdgtfs-date-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important}
  .vdgtfs-date,.vdgtfs-time-input{width:100%!important;min-width:0!important;font-size:11px!important}
  .vdgtfs-departure-row{grid-template-columns:72px 36px minmax(0,1fr) 10px!important;gap:6px!important;padding:11px 8px!important}
  .vdgtfs-time-main{font-size:19px!important}.vdgtfs-time-plan{font-size:9px!important}
  .vdgtfs-route{min-width:30px!important;min-height:25px!important;font-size:10px!important}
  .vdgtfs-departure-dest strong{font-size:11.5px!important;line-height:1.25!important}
  .vdgtfs-guaranteed{font-size:8.5px!important}

  .vdgtfs-planner-form{padding:10px!important}
  .vdgtfs-planner-stops{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .vdgtfs-swap{justify-self:center!important;width:38px!important;height:34px!important}
  .vdgtfs-planner-when{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important}
  .vdgtfs-search-button{grid-column:1/-1!important;width:100%!important}
  .vdgtfs-journey-summary{grid-template-columns:minmax(0,1fr) 12px!important;padding:11px!important;gap:8px!important}
  .vdgtfs-journey-times{gap:7px!important}.vdgtfs-journey-times b{font-size:17px!important}
  .vdgtfs-journey-main{min-width:0!important}.vdgtfs-journey-places{font-size:9px!important;line-height:1.3!important}

  /* On phones the route diagram is one clean, horizontally scrollable MPK-style strip. */
  .vdgtfs-route-axis.is-mobile-scroll{overflow:hidden!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake{overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;padding:8px 8px 5px!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-row{margin:0!important;min-height:82px!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-line{top:45px!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-stop{grid-template-rows:39px 14px 20px!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-stop strong{font-size:8px!important;max-width:82px!important;transform:rotate(-35deg)!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-row::after{display:none!important}
  .vdgtfs-axis-head{padding:10px 11px!important}.vdgtfs-axis-head b{font-size:18px!important}.vdgtfs-axis-head em{font-size:9.5px!important}

  .vdgtfs-route-toolbar{padding:10px!important}
  .vdgtfs-route-list{width:100%!important;overflow-x:auto!important;display:flex!important;flex-wrap:nowrap!important}
  .vdgtfs-route-filters{grid-template-columns:minmax(0,1fr) 118px!important;width:100%!important}
  .vdgtfs-direction{width:100%!important;min-width:0!important;font-size:10px!important}
  .vdgtfs-route-content{width:100%!important;overflow:hidden!important}
  .vdgtfs-timetable-wrap{width:100%!important;overflow:hidden!important}
  .vdgtfs-table-scroll{width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  .vdgtfs-timetable{min-width:max-content!important}
  .vdgtfs-timetable th:first-child{position:sticky;left:0;z-index:4;background:#f8fafc!important;min-width:128px!important;max-width:128px!important}
  .vdgtfs-timetable td{min-width:72px!important;padding:8px 5px!important;font-size:10px!important}
  .vdgtfs-table-note,.vdgtfs-transfer-legend{font-size:9.5px!important;line-height:1.45!important}

  .vdgtfs-detail{padding:10px 8px!important}
  .vdgtfs-path:before{left:45px!important}
  .vdgtfs-path-stop{grid-template-columns:36px minmax(0,1fr)!important;gap:18px!important;min-height:34px!important}
  .vdgtfs-path-stop:before{left:41px!important}
  .vdgtfs-path-stop>span{font-size:10.5px!important}
  .vdgtfs-transfer-card{grid-template-columns:22px minmax(0,1fr) auto!important;gap:7px!important;padding:8px!important}
  .vdgtfs-transfer-card strong{font-size:11px!important}.vdgtfs-transfer-card span{font-size:9px!important}
}


/* ===== 0.5.8 realtime propagation + denser axis + compact timetable ===== */
.vdgtfs-snake{padding:10px 14px 6px!important}
.vdgtfs-snake-row{min-height:70px!important;margin:0 6px!important}
.vdgtfs-snake-line{top:45px!important;height:2px!important}
.vdgtfs-snake-stop{grid-template-rows:41px 14px 22px!important}
.vdgtfs-snake-stop strong{max-width:82px!important;font-size:8px!important;line-height:1.02!important;transform:rotate(-44deg)!important;transform-origin:50% 100%!important}
.vdgtfs-snake-dot{width:13px!important;height:13px!important;border-width:2px!important}
.vdgtfs-snake-vehicles{min-height:20px!important}
.vdgtfs-snake-vehicles .vdgtfs-vehicle-chip{width:31px!important;height:24px!important;border-radius:8px!important;padding:0!important;background:#eef7fb!important;border-color:#c8deea!important}
.vdgtfs-snake-vehicles .vdgtfs-vehicle-chip b{font-size:15px!important}
.vdgtfs-snake-row:not(:last-child)::after{top:45px!important;height:70px!important;width:18px!important}
.vdgtfs-snake-turn{top:63px!important}

.vdgtfs-connection-cell{background:color-mix(in srgb,var(--conn,#526C7A) 16%, #fff)!important;box-shadow:none!important}
.vdgtfs-legend-route i{background:color-mix(in srgb,var(--conn,#526C7A) 16%, #fff)!important;box-shadow:none!important;border:1px solid color-mix(in srgb,var(--conn,#526C7A) 28%, #fff)!important}
.vdgtfs-timetable th,.vdgtfs-timetable td{padding:5px 6px!important;min-width:66px!important}
.vdgtfs-timetable tbody th{padding-top:5px!important;padding-bottom:5px!important;line-height:1.15!important}
.vdgtfs-timetable td b{font-size:10px!important;line-height:1.05!important}
.vdgtfs-timetable td small,.vdgtfs-cell-plan{font-size:8px!important;line-height:1.05!important;margin-top:1px!important}
.vdgtfs-table-note{padding:10px 12px!important}

@media(max-width:600px){
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake{padding:8px 6px 4px!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-row{min-height:78px!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-line{top:48px!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-stop{grid-template-rows:43px 14px 21px!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-stop strong{font-size:8px!important;max-width:74px!important;transform:rotate(-40deg)!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-vehicles .vdgtfs-vehicle-chip{width:30px!important;height:24px!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-vehicles .vdgtfs-vehicle-chip b{font-size:14px!important}
  .vdgtfs-timetable th,.vdgtfs-timetable td{min-width:68px!important;padding:6px 4px!important}
  .vdgtfs-timetable th:first-child{min-width:124px!important;max-width:124px!important}
}

/* ===== 0.6.0 public release ===== */
.vdgtfs-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.vdgtfs-tabs button{min-width:0!important}

/* Route controls */
.vdgtfs-route-filters{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important}
.vdgtfs-direction-box{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 420px}
.vdgtfs-direction-label{font-size:12px;font-weight:800;color:var(--vd-text)!important;line-height:1.3;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vdgtfs-direction-toggle{border:1px solid #cfd9e3!important;border-radius:10px!important;background:#fff!important;color:var(--vd-accent)!important;padding:9px 12px!important;font-weight:850!important;box-shadow:none!important;white-space:nowrap;text-transform:none!important}
.vdgtfs-direction-toggle:disabled{opacity:.45;cursor:not-allowed}
.vdgtfs-route-date{display:flex;align-items:flex-end;gap:8px}
.vdgtfs-route-date>label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800;color:var(--vd-muted)!important}
.vdgtfs-date-quick{display:flex;gap:6px}
.vdgtfs-date-quick button{border:1px solid #cfd9e3!important;background:#fff!important;color:var(--vd-accent)!important;border-radius:9px!important;padding:9px 10px!important;font-weight:800!important;box-shadow:none!important;text-transform:none!important}

/* MPK-like compact route axis: labels stay above the line, moving bus sits ON the line. */
.vdgtfs-route-axis.compact{overflow:hidden!important}
.vdgtfs-axis-head{padding:10px 14px!important;min-height:52px!important}
.vdgtfs-axis-head b{font-size:18px!important}
.vdgtfs-axis-head em{font-size:10px!important}
.vdgtfs-snake{padding:7px 12px 4px!important;overflow:hidden!important}
.vdgtfs-snake-row{position:relative!important;min-height:83px!important;margin:0 6px!important}
.vdgtfs-snake-line{position:absolute!important;left:0!important;right:0!important;top:57px!important;height:2px!important;background:var(--snake,#164b6d)!important;opacity:.9!important}
.vdgtfs-snake-stops{position:relative!important;display:grid!important;gap:0!important;align-items:start!important}
.vdgtfs-snake-stop{position:relative!important;display:grid!important;grid-template-rows:50px 16px!important;align-items:end!important;justify-items:center!important;min-width:0!important}
.vdgtfs-snake-stop strong{grid-row:1!important;align-self:end!important;max-width:78px!important;min-height:0!important;font-size:7.7px!important;line-height:1.02!important;font-weight:750!important;text-align:left!important;transform:rotate(-42deg)!important;transform-origin:50% 100%!important;white-space:normal!important;color:var(--vd-text)!important}
.vdgtfs-snake-dot{grid-row:2!important;width:13px!important;height:13px!important;border:2px solid var(--snake,#164b6d)!important;background:#fff!important;border-radius:50%!important;z-index:4!important;box-shadow:0 0 0 2px #fff!important}
.vdgtfs-moving-bus{position:absolute;top:57px;transform:translate(-50%,-50%);z-index:8;pointer-events:none}
.vdgtfs-moving-bus .vdgtfs-vehicle-chip{width:32px!important;height:26px!important;padding:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:8px!important;background:#eaf7f2!important;border:1px solid #bcdccc!important;box-shadow:0 3px 8px rgba(17,80,58,.16)!important}
.vdgtfs-moving-bus .vdgtfs-vehicle-chip b{font-size:15px!important;line-height:1!important}
.vdgtfs-snake-row:not(:last-child)::after{content:""!important;position:absolute!important;top:57px!important;height:83px!important;width:17px!important;border:2px solid var(--snake,#164b6d)!important;opacity:.9!important;pointer-events:none!important}
.vdgtfs-snake-row:not(:last-child):not(.reverse)::after{right:-8px!important;border-left:0!important;border-radius:0 17px 17px 0!important}
.vdgtfs-snake-row.reverse:not(:last-child)::after{left:-8px!important;border-right:0!important;border-radius:17px 0 0 17px!important}
.vdgtfs-snake-turn{top:78px!important;font-size:10px!important;color:var(--snake,#164b6d)!important}

/* Timetable: connected segment uses a single, visible background and italic minutes. */
.vdgtfs-timetable th,.vdgtfs-timetable td{padding:4px 5px!important;min-width:61px!important;line-height:1.05!important}
.vdgtfs-timetable tbody th{font-size:9px!important;padding-top:5px!important;padding-bottom:5px!important}
.vdgtfs-timetable td b{font-size:9.5px!important;line-height:1!important}
.vdgtfs-timetable td small,.vdgtfs-cell-plan{font-size:7.5px!important;line-height:1!important;margin-top:1px!important}
.vdgtfs-connection-cell{box-shadow:none!important;font-style:italic!important}
.vdgtfs-connection-cell b{font-style:italic!important}
.vdgtfs-legend-route i{width:18px!important;height:12px!important;border-radius:2px!important;box-shadow:none!important}
.vdgtfs-transfer-legend{font-size:10px!important;line-height:1.4!important}

/* Stop board */
.vdgtfs-stopboard-content{width:100%}
.vdgtfs-stopboard-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 12px;padding:15px 16px;background:#fff;border:1px solid var(--vd-line);border-radius:14px}
.vdgtfs-stopboard-head span{display:block;font-size:9px;letter-spacing:.1em;font-weight:850;color:var(--vd-muted)!important}
.vdgtfs-stopboard-head h3{margin:2px 0 2px!important;font-size:23px!important;color:var(--vd-accent)!important}
.vdgtfs-stopboard-head p{margin:0!important;font-size:11px;color:var(--vd-muted)!important}
.vdgtfs-print-button{border:0!important;border-radius:10px!important;background:var(--vd-accent)!important;color:#fff!important;padding:10px 14px!important;font-weight:850!important;box-shadow:none!important;text-transform:none!important;white-space:nowrap}
.vdgtfs-stopboard-group{background:#fff;border:1px solid var(--vd-line);border-radius:14px;margin-bottom:11px;overflow:hidden}
.vdgtfs-stopboard-group>header{display:flex;align-items:center;gap:10px;padding:11px 13px;border-bottom:1px solid var(--vd-line);background:#fbfcfd}
.vdgtfs-stopboard-group>header>div{display:flex;flex-direction:column;min-width:0}
.vdgtfs-stopboard-group>header strong{font-size:15px;color:var(--vd-text)!important}
.vdgtfs-stopboard-group>header span{font-size:9px;color:var(--vd-muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vdgtfs-stopboard-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.vdgtfs-stopboard-days>section{padding:11px 12px;min-width:0}
.vdgtfs-stopboard-days>section+section{border-left:1px solid var(--vd-line)}
.vdgtfs-stopboard-days h4{margin:0 0 8px!important;font-size:11px!important;color:var(--vd-muted)!important;line-height:1.25}
.vdgtfs-stopboard-days h4 small{font-size:10px;color:var(--vd-accent)!important}
.vdgtfs-board-times{display:flex;flex-wrap:wrap;gap:5px 7px}
.vdgtfs-board-times>span{display:inline-flex;align-items:flex-start;gap:1px;font-variant-numeric:tabular-nums}
.vdgtfs-board-times b{font-size:15px;color:var(--vd-text)!important;line-height:1}
.vdgtfs-board-times sup{font-size:7px;font-weight:850;color:#7c5a16!important;line-height:1;top:0}
.vdgtfs-board-none{color:#a7b2bc!important}
.vdgtfs-print-board{display:none}

/* Print A4: only the static stop timetable is printed. */
@media print{
  @page{size:A4 portrait;margin:8mm}
  body.vdgtfs-print-mode *{visibility:hidden!important}
  body.vdgtfs-print-mode .vdgtfs-print-board,body.vdgtfs-print-mode .vdgtfs-print-board *{visibility:visible!important}
  body.vdgtfs-print-mode .vdgtfs-print-board{display:block!important;position:absolute!important;left:0!important;top:0!important;width:194mm!important;max-width:194mm!important;color:#111!important;background:#fff!important;font-family:Arial,sans-serif!important}
  .vdgtfs-print-head{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;border:2px solid #111!important;padding:5mm!important;margin-bottom:3mm!important}
  .vdgtfs-print-head span{font-size:8pt!important;font-weight:700!important}.vdgtfs-print-head h1{font-size:18pt!important;margin:1mm 0!important}.vdgtfs-print-head p{font-size:8pt!important;margin:0!important}.vdgtfs-print-head>strong{font-size:10pt!important}
  .vdgtfs-print-legend{font-size:8pt!important;border:1px solid #111!important;padding:2mm 3mm!important;margin-bottom:3mm!important}
  .vdgtfs-print-direction{break-inside:avoid;border:1px solid #111!important;margin-bottom:3mm!important}
  .vdgtfs-print-direction>header{display:flex!important;align-items:center!important;gap:3mm!important;background:#eef3f7!important;padding:2mm 3mm!important;border-bottom:1px solid #111!important}
  .vdgtfs-print-direction>header .vdgtfs-route{min-width:10mm!important;min-height:7mm!important;font-size:10pt!important;border-radius:1mm!important}
  .vdgtfs-print-direction>header div{display:flex!important;flex-direction:column!important}.vdgtfs-print-direction>header b{font-size:10pt!important}.vdgtfs-print-direction>header span{font-size:7pt!important;color:#444!important}
  .vdgtfs-print-days{display:grid!important;grid-template-columns:repeat(3,1fr)!important}.vdgtfs-print-days>div{padding:2mm 3mm!important}.vdgtfs-print-days>div+div{border-left:1px solid #111!important}.vdgtfs-print-days h3{margin:0 0 1.5mm!important;font-size:9pt!important}
  .vdgtfs-print-days .vdgtfs-board-times{gap:1.5mm 2.5mm!important}.vdgtfs-print-days .vdgtfs-board-times b{font-size:10pt!important}.vdgtfs-print-days .vdgtfs-board-times sup{font-size:5pt!important}
  .vdgtfs-print-board footer{font-size:6.5pt!important;margin-top:2mm!important;border-top:1px solid #777!important;padding-top:1.5mm!important}
}

@media(max-width:820px){
  .vdgtfs-tabs button{font-size:11px!important;padding-left:5px!important;padding-right:5px!important}
  .vdgtfs-route-filters{align-items:stretch!important}
  .vdgtfs-direction-box{flex-basis:100%!important}
  .vdgtfs-route-date{width:100%;justify-content:flex-end}
}

@media(max-width:600px){
  .vdgtfs-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .vdgtfs-tabs button{font-size:8.5px!important;line-height:1.1!important;padding:8px 2px!important;gap:2px!important;flex-direction:column!important}
  .vdgtfs-tab-icon{font-size:12px!important}
  .vdgtfs-direction-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;width:100%}
  .vdgtfs-direction-label{font-size:10px!important;white-space:normal!important}
  .vdgtfs-direction-toggle{padding:8px 9px!important;font-size:10px!important}
  .vdgtfs-route-date{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%}
  .vdgtfs-date-quick{display:grid;grid-template-columns:1fr 1fr;gap:5px}
  .vdgtfs-date-quick button{font-size:10px!important;padding:8px 6px!important}
  .vdgtfs-route-date>label{min-width:0}.vdgtfs-route-date input{width:100%!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake{overflow-x:auto!important;overflow-y:hidden!important;padding:7px 6px 3px!important;-webkit-overflow-scrolling:touch}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-row{min-height:84px!important;margin:0!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-line{top:58px!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-stop{grid-template-rows:51px 16px!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-snake-stop strong{font-size:7.5px!important;max-width:72px!important;transform:rotate(-40deg)!important}
  .vdgtfs-route-axis.is-mobile-scroll .vdgtfs-moving-bus{top:58px!important}
  .vdgtfs-timetable th,.vdgtfs-timetable td{padding:4px!important;min-width:61px!important}
  .vdgtfs-timetable th:first-child{min-width:116px!important;max-width:116px!important}
  .vdgtfs-stopboard-head{align-items:flex-start;padding:12px!important}.vdgtfs-stopboard-head h3{font-size:19px!important}.vdgtfs-print-button{font-size:10px!important;padding:8px 9px!important}
  .vdgtfs-stopboard-days{grid-template-columns:1fr!important}.vdgtfs-stopboard-days>section+section{border-left:0;border-top:1px solid var(--vd-line)}.vdgtfs-stopboard-days>section{padding:10px}
  .vdgtfs-board-times b{font-size:14px!important}
}

/* ===== 0.6.1 publish candidate: unified navigation, SVG route axis, stop-board connections ===== */
.vdgtfs-tabs button span:last-child{font-weight:850;letter-spacing:.015em}

/* Reliable connected-trip colouring: whole cell, no decorative stripe. */
.vdgtfs-connection-cell{
  background-color:var(--conn-bg,#eef3f7)!important;
  background-image:none!important;
  box-shadow:none!important;
}
.vdgtfs-connection-cell b,.vdgtfs-connection-cell small{font-style:italic!important}
.vdgtfs-legend-route i{background-color:var(--legend-bg,#e8eef3)!important;background-image:none!important;box-shadow:none!important}

/* SVG line diagram – line, stops, labels and vehicles share one geometry. */
.vdgtfs-axis-svg-scroll{width:100%;overflow:hidden;padding:0 8px 3px}
.vdgtfs-axis-svg{display:block;width:100%;height:auto;overflow:visible}
.vdgtfs-axis-route{fill:none;stroke:var(--snake,#164b6d);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
.vdgtfs-axis-stop-svg circle{fill:#fff;stroke:var(--snake,#164b6d);stroke-width:2.6}
.vdgtfs-axis-stop-svg text{font-size:10px;font-weight:750;fill:#172a3b;dominant-baseline:auto}
.vdgtfs-axis-arrow{font-size:12px;font-weight:900;fill:var(--snake,#164b6d)}
.vdgtfs-axis-bus-svg rect{fill:#eef8f4;stroke:#84bea6;stroke-width:1.5;filter:drop-shadow(0 2px 2px rgba(18,75,55,.15))}
.vdgtfs-axis-bus-svg text{font-size:17px;dominant-baseline:middle}
/* Old CSS snake elements are no longer used; keep them from reserving space if cached markup appears. */
.vdgtfs-axis-svg-scroll+.vdgtfs-snake{display:none!important}

/* Compact table. */
.vdgtfs-timetable th,.vdgtfs-timetable td{padding:4px 5px!important;min-width:59px!important;height:auto!important}
.vdgtfs-timetable tbody th{font-size:9px!important;line-height:1.12!important;padding-top:4px!important;padding-bottom:4px!important}
.vdgtfs-timetable td b{font-size:9.5px!important;line-height:1!important}
.vdgtfs-timetable td small,.vdgtfs-cell-plan{font-size:7.5px!important;line-height:1!important;margin-top:1px!important}

/* Stop-board time qualifiers and guaranteed connections. */
.vdgtfs-board-times{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 12px!important}
.vdgtfs-board-time{display:inline-flex!important;flex-direction:column;align-items:flex-start;gap:4px;min-width:max-content}
.vdgtfs-board-time-main{display:inline-flex;align-items:flex-start;gap:2px}
.vdgtfs-board-time-main b{font-size:16px!important;line-height:1!important}
.vdgtfs-board-time-main sup{font-size:10px!important;line-height:1!important;font-weight:900!important;top:-.05em!important;color:#8a5d05!important}
.vdgtfs-board-connections{display:flex;flex-direction:column;align-items:flex-start;gap:3px;max-width:220px}
.vdgtfs-board-connections>.vdgtfs-route{min-width:28px!important;min-height:22px!important;font-size:9px!important;padding:1px 5px!important}
.vdgtfs-board-connections em{font-size:8px;line-height:1.22;font-style:normal;color:#607384!important;white-space:normal}
.vdgtfs-stopboard-head p{font-size:11px!important}

/* Printing runs in an isolated iframe so the WordPress/theme DOM cannot block the print dialog. */
.vdgtfs-print-frame{position:fixed!important;right:0!important;bottom:0!important;width:1px!important;height:1px!important;border:0!important;opacity:0!important;pointer-events:none!important}

@media(max-width:820px){
  .vdgtfs-tabs button{font-size:9px!important;line-height:1.15!important;white-space:normal!important;text-align:center!important}
  .vdgtfs-axis-stop-svg text{font-size:9px}
}
@media(max-width:600px){
  .vdgtfs-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .vdgtfs-tabs button{font-size:7.4px!important;line-height:1.13!important;padding:8px 2px!important;gap:2px!important;min-height:48px!important}
  .vdgtfs-tab-icon{font-size:11px!important}
  .vdgtfs-axis-svg-scroll{overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;padding:0 4px 3px!important}
  .vdgtfs-axis-svg{width:auto!important;height:126px!important;max-width:none!important}
  .vdgtfs-axis-stop-svg text{font-size:9px}
  .vdgtfs-stopboard-group>header strong{font-size:14px!important}
  .vdgtfs-board-time-main b{font-size:15px!important}
  .vdgtfs-board-time-main sup{font-size:10px!important}
  .vdgtfs-board-connections{max-width:180px}
  .vdgtfs-board-connections em{font-size:7.5px!important}
}


/* ===== 0.6.2 hard fixes: stop-board REST + connection cell colour ===== */
.vdgtfs-timetable td.vdgtfs-connection-cell{position:relative!important;padding:0!important;background-image:none!important;overflow:hidden!important}
.vdgtfs-connection-fill{display:flex!important;min-height:100%!important;width:100%!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;padding:4px 5px!important;font-style:italic!important;background-image:none!important}
.vdgtfs-connection-fill b,.vdgtfs-connection-fill small{font-style:italic!important}
.vdgtfs-legend-route i{width:18px!important;height:12px!important;border-radius:3px!important;display:inline-block!important;border:1px solid rgba(0,0,0,.12)!important}


/* ===== 0.6.3 public-line-table fix ===== */
.vdgtfs-route-axis{display:none!important}
.vdgtfs-timetable-wrap{overflow:visible!important}
.vdgtfs-table-scroll{width:100%!important;max-height:none!important;height:auto!important;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch}
.vdgtfs-timetable{overflow:visible!important}
.vdgtfs-timetable tbody tr,.vdgtfs-timetable tbody th,.vdgtfs-timetable tbody td{overflow:visible!important}
.vdgtfs-timetable .vdgtfs-stop-cell{position:sticky!important;left:0!important;z-index:5!important;text-align:left!important;padding-left:30px!important;background:#fbfcfd!important;overflow:visible!important}
.vdgtfs-stop-cell::before{content:"";position:absolute;left:14px;top:0;bottom:0;width:2px;background:#b9cad7;z-index:0}
.vdgtfs-stop-cell.is-first::before{top:50%}
.vdgtfs-stop-cell.is-last::before{bottom:50%}
.vdgtfs-stop-rail-dot{position:absolute;left:9px;top:50%;width:12px;height:12px;border-radius:50%;background:#fff;border:2px solid var(--vd-accent);transform:translateY(-50%);z-index:2}
.vdgtfs-stop-name{position:relative;z-index:1;display:block}
.vdgtfs-table-bus{position:absolute;left:3px;top:calc(50% + (var(--bus-offset,0) * 100%));transform:translate(calc(var(--bus-shift,0) * 9px),-50%);z-index:8;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#e8f5fb;border:1px solid #bdd8e6;font-size:14px;box-shadow:0 2px 5px rgba(13,58,82,.14)}
.vdgtfs-cell-plan{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;white-space:nowrap!important}
.vdgtfs-cell-delay{font-size:7.5px!important;font-weight:850!important;text-decoration:none!important;white-space:nowrap!important}.vdgtfs-cell-delay.late{color:#b33a22!important}.vdgtfs-cell-delay.early{color:#2571a4!important}.vdgtfs-cell-delay.ontime{color:#14895c!important}
.vdgtfs-path-time-plan{display:flex!important;align-items:center!important;gap:4px!important}.vdgtfs-path-time-plan .vdgtfs-delay{font-size:8px!important}
.vdgtfs-connection-cell{padding:0!important;background:#fff!important}
.vdgtfs-connection-fill{display:flex!important;min-height:100%!important;width:100%!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;padding:4px 5px!important;font-style:italic!important}
@media(max-width:600px){.vdgtfs-timetable .vdgtfs-stop-cell{padding-left:27px!important;min-width:132px!important;max-width:132px!important}.vdgtfs-stop-cell::before{left:12px}.vdgtfs-stop-rail-dot{left:7px}.vdgtfs-table-bus{left:1px;width:23px;height:23px;font-size:13px}.vdgtfs-cell-delay{font-size:7px!important}}


/* ===== 0.6.4 stop board redesign + stable live refresh ===== */
.vdgtfs-list-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 12px;border-top:1px solid var(--vd-line);border-bottom:1px solid var(--vd-line);background:#f7f9fb}
.vdgtfs-list-meta .vdgtfs-list-status{border:0!important;padding:0!important;background:transparent!important}
.vdgtfs-realtime-age{font-size:10px;color:var(--vd-muted)!important;white-space:nowrap}
.vdgtfs-table-note{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}

.vdgtfs-stopboard-group{margin-bottom:14px!important;border-radius:16px!important;box-shadow:0 5px 16px rgba(22,75,109,.045)}
.vdgtfs-stopboard-group>header{padding:13px 15px!important;gap:12px!important;background:#fff!important}
.vdgtfs-stopboard-group>header>div small{display:block;font-size:8px;font-weight:900;letter-spacing:.12em;color:var(--vd-muted)!important;margin-bottom:2px}
.vdgtfs-stopboard-group>header strong{font-size:19px!important;line-height:1.05!important;color:var(--vd-accent)!important}
.vdgtfs-stopboard-days{grid-template-columns:repeat(3,minmax(0,1fr))!important;background:#fff}
.vdgtfs-stopboard-days>section{padding:12px 14px!important}
.vdgtfs-stopboard-days h4{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px!important;font-size:11px!important;color:var(--vd-text)!important}
.vdgtfs-stopboard-days h4 small{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:23px;padding:0 6px;border-radius:7px;background:var(--vd-soft);font-size:11px!important;font-weight:900;color:var(--vd-accent)!important}
.vdgtfs-board-hours{display:flex;flex-direction:column;gap:3px}
.vdgtfs-board-hour{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:7px;min-height:27px;padding:3px 0;border-bottom:1px solid #eef2f6}
.vdgtfs-board-hour:last-child{border-bottom:0}
.vdgtfs-board-hour>strong{display:flex;align-items:center;justify-content:center;min-height:24px;border-radius:6px;background:#f0f4f8;color:var(--vd-accent)!important;font-size:12px;line-height:1;font-weight:900}
.vdgtfs-board-hour>div{display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px;min-width:0;padding-top:1px}
.vdgtfs-board-minute{display:inline-flex;align-items:center;gap:2px;min-height:23px;font-variant-numeric:tabular-nums;white-space:nowrap}
.vdgtfs-board-minute>b{font-size:15px!important;line-height:1!important;color:var(--vd-text)!important}
.vdgtfs-board-minute>sup{font-size:8px!important;font-weight:900!important;color:#8a5d05!important;top:-.18em!important}
.vdgtfs-variant-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:18px;padding:0 4px;border-radius:5px;background:#263f53;color:#fff!important;font-size:8px!important;font-style:normal!important;font-weight:900!important;line-height:1}
.vdgtfs-board-minute .vdgtfs-route{min-width:22px!important;min-height:18px!important;height:18px!important;padding:0 4px!important;border-radius:5px!important;font-size:8px!important;line-height:1!important}
.vdgtfs-board-none{display:block;padding:6px 0;font-size:11px;color:#94a2ae!important}
.vdgtfs-board-legend{display:flex;flex-wrap:wrap;gap:7px 16px;padding:9px 14px 11px;border-top:1px solid var(--vd-line);background:#fbfcfd}
.vdgtfs-board-legend>span{display:inline-flex;align-items:center;gap:5px;font-size:9px;line-height:1.25;color:var(--vd-muted)!important}
.vdgtfs-board-legend .vdgtfs-route{min-width:25px!important;min-height:19px!important;height:19px!important;font-size:8px!important}

@media(max-width:700px){
  .vdgtfs-list-meta{align-items:flex-start;flex-direction:column;gap:3px}
  .vdgtfs-realtime-age{font-size:9px}
  .vdgtfs-stopboard-days{grid-template-columns:1fr!important}
  .vdgtfs-stopboard-days>section+section{border-left:0!important;border-top:1px solid var(--vd-line)!important}
  .vdgtfs-stopboard-group>header strong{font-size:17px!important}
  .vdgtfs-board-hour{grid-template-columns:28px minmax(0,1fr)}
  .vdgtfs-board-minute>b{font-size:14px!important}
  .vdgtfs-board-legend{flex-direction:column;gap:6px}
}

/* ===== 0.6.5 stop-board hierarchy + feeder semantics ===== */
.vdgtfs-board-hour{grid-template-columns:34px minmax(0,1fr)!important;gap:8px!important;padding:4px 0!important;min-height:31px!important}
.vdgtfs-board-hour>strong{min-height:27px!important;font-size:14px!important;border-radius:7px!important}
.vdgtfs-board-hour>div{gap:6px 9px!important;padding-top:1px!important}
.vdgtfs-board-minute{gap:3px!important;min-height:27px!important}
.vdgtfs-board-minute>b{font-size:18px!important;line-height:1!important;font-weight:850!important}
.vdgtfs-board-minute>sup{font-size:7px!important;top:-.2em!important}
.vdgtfs-board-minute .vdgtfs-route{min-width:19px!important;min-height:15px!important;height:15px!important;padding:0 3px!important;border-radius:4px!important;font-size:6.5px!important;line-height:1!important}
.vdgtfs-variant-badge{min-width:19px!important;height:15px!important;padding:0 3px!important;border-radius:4px!important;font-size:6.5px!important}
.vdgtfs-board-legend .vdgtfs-route{min-width:22px!important;min-height:17px!important;height:17px!important;font-size:7px!important}
.vdgtfs-board-legend>span{font-size:9px!important}

@media(max-width:700px){
  .vdgtfs-board-hour{grid-template-columns:32px minmax(0,1fr)!important}
  .vdgtfs-board-hour>strong{font-size:13px!important;min-height:26px!important}
  .vdgtfs-board-minute>b{font-size:17px!important}
  .vdgtfs-board-minute .vdgtfs-route,.vdgtfs-variant-badge{min-width:18px!important;height:14px!important;min-height:14px!important;font-size:6px!important}
}

/* ===== 0.6.6 favourites + mobile departures ===== */
.vdgtfs-shell>.vdgtfs-tabs:first-child{border-top-left-radius:16px;border-top-right-radius:16px;overflow:hidden}
.vdgtfs-favorites{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-5px 0 14px}
.vdgtfs-favorite-toggle{display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:34px!important;padding:6px 10px!important;border:1px solid #cfd9e3!important;border-radius:10px!important;background:#fff!important;color:var(--vd-accent)!important;font-size:11px!important;font-weight:800!important;box-shadow:none!important}
.vdgtfs-favorite-toggle.active{background:#fff9df!important;border-color:#e7c759!important;color:#7a5a00!important}
.vdgtfs-favorite-toggle:first-letter{font-size:16px}
.vdgtfs-favorite-list{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.vdgtfs-favorite-list>span{font-size:10px;font-weight:850;color:var(--vd-muted)!important;text-transform:uppercase;letter-spacing:.06em}
.vdgtfs-favorite-list button{display:inline-flex!important;align-items:center!important;min-height:30px!important;max-width:220px!important;padding:5px 9px!important;border:1px solid #d8e1e9!important;border-radius:999px!important;background:#f8fbfd!important;color:var(--vd-accent)!important;font-size:10px!important;font-weight:750!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;box-shadow:none!important}

@media(max-width:600px){
  .vdgtfs-favorites{margin-top:-2px;margin-bottom:12px;gap:8px}
  .vdgtfs-favorite-toggle{width:auto!important;min-width:0!important}
  .vdgtfs-favorite-toggle span{display:none}
  .vdgtfs-favorite-list{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
  .vdgtfs-favorite-list::-webkit-scrollbar{display:none}
  .vdgtfs-favorite-list>span{flex:0 0 auto}
  .vdgtfs-favorite-list button{flex:0 0 auto;max-width:175px!important}

  .vdgtfs-departure-row{
    display:grid!important;
    grid-template-columns:104px minmax(0,1fr) 14px!important;
    grid-template-areas:"clock dest chev" "route dest chev"!important;
    gap:4px 10px!important;
    align-items:center!important;
    padding:12px 12px!important;
  }
  .vdgtfs-departure-row>.vdgtfs-departure-clock{grid-area:clock!important;min-width:0!important}
  .vdgtfs-departure-row>.vdgtfs-departure-route{grid-area:route!important;justify-self:start!important;min-width:0!important}
  .vdgtfs-departure-row>.vdgtfs-departure-dest{grid-area:dest!important;min-width:0!important;padding-right:2px!important}
  .vdgtfs-departure-row>.vdgtfs-chevron{grid-area:chev!important;align-self:center!important}
  .vdgtfs-departure-dest strong{
    display:block!important;
    font-size:16px!important;
    line-height:1.16!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
  }
  .vdgtfs-departure-dest .vdgtfs-guaranteed{
    display:block!important;
    margin-top:4px!important;
    font-size:10px!important;
    line-height:1.25!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
  .vdgtfs-departure-route .vdgtfs-route{min-width:38px!important;height:34px!important;font-size:12px!important}
  .vdgtfs-time-main{font-size:28px!important;line-height:1!important}
  .vdgtfs-time-plan{font-size:11px!important;margin-top:3px!important;white-space:nowrap!important}
}


/* ===== 0.6.7 stop-board semantics, direction order and legends ===== */
.vdgtfs-guaranteed-note{margin:0 12px 12px;padding:9px 11px;border:1px solid #d9e4ec;border-radius:10px;background:#f8fbfd;color:var(--vd-muted)!important;font-size:10px;line-height:1.45}
.vdgtfs-guaranteed-note strong{color:var(--vd-text)!important}
.vdgtfs-board-route-head{display:flex;align-items:flex-start;gap:12px;min-width:0;width:100%}
.vdgtfs-board-route-head>.vdgtfs-route{flex:0 0 auto;min-width:38px!important;height:28px!important;font-size:11px!important;border-radius:7px!important}
.vdgtfs-board-route-head>div{min-width:0;flex:1}
.vdgtfs-board-route-path{margin:5px 0 0!important;font-size:10px!important;line-height:1.35;color:var(--vd-muted)!important;font-weight:500!important}
.vdgtfs-board-route-path strong{color:var(--vd-text)!important}
.vdgtfs-day-subtitle{margin:-4px 0 8px!important;font-size:9px!important;line-height:1.3;color:#8493a0!important}
.vdgtfs-service-flags{display:inline-flex;align-items:center;gap:2px;margin-left:1px}
.vdgtfs-service-flags i{display:inline-flex;align-items:center;justify-content:center;min-width:15px;height:15px;padding:0 3px;border-radius:4px;background:#eef3f7;border:1px solid #cad7e1;color:#214c68!important;font-size:9px!important;font-style:normal!important;font-weight:900!important;line-height:1!important}
.vdgtfs-board-minute .vdgtfs-route{margin-left:1px!important}
.vdgtfs-board-legend>span{align-items:flex-start!important;line-height:1.35!important}
.vdgtfs-board-full-legend{margin:16px 0 0;padding:13px 15px;border:1px solid var(--vd-line);border-radius:14px;background:#fff}
.vdgtfs-board-full-legend p{margin:0 0 5px!important;font-size:10px!important;line-height:1.4;color:var(--vd-muted)!important}
.vdgtfs-board-full-legend p:last-child{margin-bottom:0!important}
.vdgtfs-board-full-legend strong{color:var(--vd-text)!important}
.vdgtfs-board-connection-explainer{margin-top:10px!important;padding-top:10px;border-top:1px solid var(--vd-line)}
.vdgtfs-stopboard-group>header{align-items:flex-start!important}
.vdgtfs-stopboard-group>header .vdgtfs-route{box-shadow:none!important}

@media(max-width:700px){
  .vdgtfs-board-route-head{gap:9px}
  .vdgtfs-board-route-head>.vdgtfs-route{min-width:34px!important;height:26px!important;font-size:10px!important}
  .vdgtfs-board-route-path{font-size:9px!important}
  .vdgtfs-day-subtitle{font-size:8.5px!important}
  .vdgtfs-service-flags i{min-width:16px;height:16px;font-size:9px!important}
  .vdgtfs-board-full-legend{padding:11px 12px}
  .vdgtfs-board-full-legend p{font-size:9.5px!important}
}

/* ===== 0.6.8 compact horizontal journey + clearer stop board ===== */
.vdgtfs-screen-head>div{width:100%!important;min-width:0!important}
.vdgtfs-screen-head p{max-width:none!important;width:100%!important}

/* Expanded departure: compact horizontal trip path. */
.vdgtfs-detail{overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch}
.vdgtfs-journey-horizontal{display:flex!important;align-items:stretch!important;gap:10px!important;min-width:max-content!important;padding:2px 0 4px!important}
.vdgtfs-leg-horizontal{display:flex!important;flex-direction:column!important;min-width:max-content!important;background:#fff!important;border:1px solid var(--vd-line)!important;border-radius:12px!important;padding:8px 10px 10px!important}
.vdgtfs-leg-horizontal .vdgtfs-leg-head{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;margin:0 0 7px!important;min-height:24px!important}
.vdgtfs-leg-horizontal .vdgtfs-leg-head>span{font-size:9px!important;font-weight:850!important;color:var(--vd-muted)!important}
.vdgtfs-path-horizontal{display:flex!important;position:relative!important;gap:0!important;padding:0 10px!important;min-width:max-content!important}
.vdgtfs-path-horizontal:before{content:""!important;position:absolute!important;left:48px!important;right:48px!important;top:34px!important;width:auto!important;height:2px!important;background:#c8d7e2!important}
.vdgtfs-path-horizontal .vdgtfs-path-stop{display:grid!important;grid-template-columns:none!important;grid-template-rows:25px 18px auto!important;gap:0!important;width:96px!important;min-width:96px!important;min-height:0!important;padding:0 5px!important;position:relative!important;text-align:center!important;align-items:start!important;justify-items:center!important}
.vdgtfs-path-horizontal .vdgtfs-path-stop:before{content:""!important;position:relative!important;left:auto!important;top:auto!important;grid-row:2!important;width:10px!important;height:10px!important;border:2px solid var(--vd-accent)!important;background:#fff!important;border-radius:50%!important;z-index:2!important;box-sizing:border-box!important;margin-top:0!important}
.vdgtfs-path-horizontal .vdgtfs-path-stop time{grid-row:1!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;gap:2px!important;width:100%!important;font-size:9px!important;line-height:1!important;white-space:nowrap!important}
.vdgtfs-path-horizontal .vdgtfs-path-stop>span{grid-row:3!important;font-size:8.5px!important;line-height:1.15!important;color:var(--vd-text)!important;max-width:90px!important;margin-top:3px!important;white-space:normal!important}
.vdgtfs-path-horizontal .vdgtfs-path-time-live{font-size:10px!important;font-weight:850!important}
.vdgtfs-path-horizontal .vdgtfs-path-time-plan{font-size:7px!important;display:block!important}
.vdgtfs-transfer-card-horizontal{flex:0 0 220px!important;align-self:center!important;display:grid!important;grid-template-columns:24px minmax(0,1fr) auto!important;gap:7px!important;margin:0!important;padding:8px 9px!important;border-radius:12px!important;min-height:74px!important}
.vdgtfs-transfer-card-horizontal strong{font-size:10px!important;line-height:1.15!important}
.vdgtfs-transfer-card-horizontal span{font-size:8px!important;line-height:1.3!important}
.vdgtfs-transfer-card-horizontal em{font-size:7.5px!important}

/* Stop board: one compact legend, no duplicated category descriptions. */
.vdgtfs-day-subtitle{display:none!important}
.vdgtfs-board-full-legend{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px 16px!important;margin:0 0 12px!important;padding:10px 12px!important;background:#fbfcfd!important}
.vdgtfs-board-full-legend p{font-size:9px!important;line-height:1.3!important;margin:0!important}
.vdgtfs-board-full-legend .vdgtfs-board-connection-explainer{grid-column:1/-1!important;margin-top:4px!important;padding-top:7px!important}
.vdgtfs-board-route-head>.vdgtfs-route{color:var(--routeText)!important;font-weight:900!important;text-shadow:none!important}
.vdgtfs-board-minute .vdgtfs-route,.vdgtfs-board-legend .vdgtfs-route{color:var(--routeText)!important;font-weight:900!important;text-shadow:none!important}
.vdgtfs-board-route-path{font-size:9.5px!important;line-height:1.35!important;color:#536b7d!important}

@media(max-width:700px){
  .vdgtfs-board-full-legend{grid-template-columns:1fr!important;gap:4px!important}
  .vdgtfs-board-full-legend .vdgtfs-board-connection-explainer{grid-column:auto!important}
  .vdgtfs-journey-horizontal{gap:7px!important}
  .vdgtfs-path-horizontal .vdgtfs-path-stop{width:84px!important;min-width:84px!important}
  .vdgtfs-path-horizontal .vdgtfs-path-stop>span{font-size:8px!important;max-width:80px!important}
  .vdgtfs-transfer-card-horizontal{flex-basis:190px!important}
}


/* ===== 0.6.9 compact route rows + stop-board route/legend cleanup ===== */
.vdgtfs-journey-compact{display:flex;flex-direction:column;gap:9px;min-width:0;padding:2px 0 4px}
.vdgtfs-leg-compact{min-width:0!important;width:100%!important;border:0!important;border-radius:0!important;background:transparent!important}
.vdgtfs-path-rows{display:flex;flex-direction:column;gap:7px;min-width:0;width:100%}
.vdgtfs-path-row{position:relative;min-width:0;padding:0 18px 2px}
.vdgtfs-path-row-line{position:absolute;left:30px;right:30px;top:34px;height:2px;background:#c8d7e2;border-radius:999px;z-index:0}
.vdgtfs-path-row-stops{display:grid;grid-template-columns:repeat(var(--cols),minmax(70px,1fr));gap:0;position:relative;z-index:1;min-width:0}
.vdgtfs-path-row .vdgtfs-path-stop{display:grid!important;grid-template-rows:24px 18px minmax(24px,auto)!important;grid-template-columns:1fr!important;justify-items:center!important;align-items:start!important;gap:0!important;min-width:0!important;min-height:0!important;padding:0 4px!important;text-align:center!important;position:relative!important}
.vdgtfs-path-row .vdgtfs-path-stop:before{display:none!important}
.vdgtfs-path-row .vdgtfs-path-stop time{grid-row:1!important;display:flex!important;justify-content:center!important;align-items:flex-start!important;gap:2px!important;font-size:9px!important;white-space:nowrap!important}
.vdgtfs-path-dot{grid-row:2;width:10px;height:10px;border:2px solid var(--vd-accent);background:#fff;border-radius:50%;box-sizing:border-box;z-index:2;margin-top:0}
.vdgtfs-path-name{grid-row:3;font-size:8px!important;line-height:1.15!important;max-width:92px!important;color:var(--vd-text)!important;margin-top:3px!important;white-space:normal!important}
.vdgtfs-path-row-end,.vdgtfs-path-row-start{position:absolute;z-index:3;display:flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:50%;background:#fff;color:var(--vd-accent);font-size:15px;font-weight:900;line-height:1;border:1px solid #c8d7e2}
.vdgtfs-path-row-end{right:2px;top:25px}.vdgtfs-path-row-start{left:2px;top:25px}
.vdgtfs-transfer-card-compact{margin:1px 0 3px!important;padding:8px 10px!important;min-height:0!important}
.vdgtfs-board-legend-complete{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px!important;padding:9px 13px 11px!important}
.vdgtfs-board-legend-complete>span{font-size:8.5px!important;line-height:1.3!important;min-width:0}
.vdgtfs-legend-code{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:18px;border-radius:5px;background:#eef3f7;color:var(--vd-accent);font-size:9px;font-weight:900;padding:0 4px}
.vdgtfs-variant-badge{font-size:7px!important;min-width:21px!important;height:17px!important;min-height:17px!important;padding:0 4px!important}
@media(max-width:600px){
  .vdgtfs-path-row{padding-left:14px;padding-right:14px}
  .vdgtfs-path-row-line{left:25px;right:25px}
  .vdgtfs-path-row-stops{grid-template-columns:repeat(var(--cols),minmax(58px,1fr))}
  .vdgtfs-path-name{font-size:7.5px!important;max-width:72px!important}
  .vdgtfs-board-legend-complete{grid-template-columns:1fr!important;gap:4px!important}
}


/* ===== 0.6.11 stable expanded trip + stop-board direction/path ===== */
.vdgtfs-board-direction-line,
.vdgtfs-board-route-path{
  margin:2px 0!important;
  font-size:9.5px!important;
  line-height:1.35!important;
  color:#536b7d!important;
  font-weight:500!important;
}
.vdgtfs-board-direction-line strong,
.vdgtfs-board-route-path strong{color:var(--vd-text)!important;font-weight:850!important}

.vdgtfs-detail{overflow:visible!important}
.vdgtfs-journey-compact{width:100%!important;min-width:0!important;gap:8px!important}
.vdgtfs-leg-compact{overflow:hidden!important}
.vdgtfs-path-rows{gap:10px!important;width:100%!important}
.vdgtfs-path-row{padding:0 23px 3px!important;min-width:0!important}
.vdgtfs-path-row-stops{grid-template-columns:repeat(var(--cols),minmax(0,1fr))!important;width:100%!important;min-width:0!important}
.vdgtfs-path-row-line{left:7%!important;right:7%!important;top:43px!important;height:2px!important;background:#c8d7e2!important}
.vdgtfs-path-row .vdgtfs-path-stop{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:36px 14px 31px!important;
  min-width:0!important;
  padding:0 5px!important;
  gap:0!important;
  align-items:start!important;
  justify-items:center!important;
}
.vdgtfs-path-row .vdgtfs-path-stop time{
  grid-row:1!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:1px!important;
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  line-height:1!important;
}
.vdgtfs-path-primary{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;font-size:10px!important;font-weight:850!important;line-height:13px!important;color:var(--vd-text)!important}
.vdgtfs-path-primary.is-live{color:#078a59!important}
.vdgtfs-path-primary .vdgtfs-rt-icon{width:11px!important;height:11px!important;margin-left:1px!important;vertical-align:0!important}
.vdgtfs-path-meta{display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-height:12px!important;font-size:7px!important;line-height:10px!important;color:#7d8c98!important}
.vdgtfs-path-meta del{font-size:7px!important;color:#8696a2!important}
.vdgtfs-path-meta .vdgtfs-delay{font-size:6.5px!important;line-height:10px!important;padding:0 2px!important;border-radius:3px!important;white-space:nowrap!important}
.vdgtfs-path-meta.ontime{color:#078a59!important;font-weight:750!important}
.vdgtfs-path-meta.is-empty{visibility:hidden!important}
.vdgtfs-path-dot{grid-row:2!important;width:10px!important;height:10px!important;margin-top:0!important;align-self:center!important}
.vdgtfs-path-name{grid-row:3!important;margin-top:4px!important;max-width:100%!important;padding:0 2px!important;font-size:8px!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;color:var(--vd-text)!important}
.vdgtfs-path-row-start,.vdgtfs-path-row-end{
  top:34px!important;
  width:20px!important;
  height:20px!important;
  border:0!important;
  background:#fff!important;
  color:var(--vd-accent)!important;
  border-radius:0!important;
}
.vdgtfs-path-row-start{left:0!important}.vdgtfs-path-row-end{right:0!important}
.vdgtfs-path-row-start svg,.vdgtfs-path-row-end svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vdgtfs-transfer-card-compact{overflow:hidden!important}

@media(max-width:600px){
  .vdgtfs-path-row{padding-left:18px!important;padding-right:18px!important}
  .vdgtfs-path-row-line{left:8%!important;right:8%!important}
  .vdgtfs-path-row .vdgtfs-path-stop{grid-template-rows:38px 14px 34px!important;padding:0 3px!important}
  .vdgtfs-path-row .vdgtfs-path-stop time{height:38px!important}
  .vdgtfs-path-primary{font-size:9px!important}
  .vdgtfs-path-meta,.vdgtfs-path-meta del{font-size:6.5px!important}
  .vdgtfs-path-meta .vdgtfs-delay{font-size:6px!important}
  .vdgtfs-path-name{font-size:7.5px!important;line-height:1.12!important}
  .vdgtfs-board-direction-line,.vdgtfs-board-route-path{font-size:9px!important}
}


/* ===== 0.6.12 realtime detail regression hotfix ===== */
.vdgtfs-path-row .vdgtfs-path-stop{grid-template-rows:46px 14px 31px!important}
.vdgtfs-path-row .vdgtfs-path-stop time{
  height:46px!important;
  min-height:46px!important;
  overflow:visible!important;
  justify-content:flex-start!important;
  gap:2px!important;
}
.vdgtfs-path-row .vdgtfs-path-time-live{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:14px!important;
  white-space:nowrap!important;
}
.vdgtfs-path-row .vdgtfs-path-time-live.is-live{color:#078a59!important}
.vdgtfs-path-row .vdgtfs-path-time-live .vdgtfs-rt-icon{width:11px!important;height:11px!important;margin-left:1px!important}
.vdgtfs-path-row .vdgtfs-path-time-plan{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  min-height:15px!important;
  margin-top:1px!important;
  font-size:8px!important;
  line-height:12px!important;
  color:#7d8c98!important;
  white-space:nowrap!important;
}
.vdgtfs-path-row .vdgtfs-path-time-plan del{font-size:8px!important;color:#8696a2!important}
.vdgtfs-path-row .vdgtfs-path-time-plan .vdgtfs-delay{font-size:7px!important;line-height:11px!important;padding:0 3px!important}
@media(max-width:600px){
  .vdgtfs-path-row .vdgtfs-path-stop{grid-template-rows:48px 14px 34px!important}
  .vdgtfs-path-row .vdgtfs-path-stop time{height:48px!important;min-height:48px!important}
  .vdgtfs-path-row .vdgtfs-path-time-live{font-size:9px!important}
  .vdgtfs-path-row .vdgtfs-path-time-plan,.vdgtfs-path-row .vdgtfs-path-time-plan del{font-size:7px!important}
  .vdgtfs-path-row .vdgtfs-path-time-plan .vdgtfs-delay{font-size:6.5px!important}
}


/* ===== 0.6.13 realtime presentation: authoritative delay + always-visible secondary line ===== */
.vdgtfs-departure-clock{overflow:visible!important;min-height:42px!important;justify-content:center!important}
.vdgtfs-time-plan{display:flex!important;align-items:center!important;gap:5px!important;min-height:14px!important;margin-top:3px!important;font-size:10px!important;line-height:12px!important;overflow:visible!important;white-space:nowrap!important}
.vdgtfs-time-plan del{font-size:10px!important;color:#7e8d99!important}
.vdgtfs-time-plan .vdgtfs-delay{font-size:9px!important;line-height:12px!important;padding:1px 4px!important}

.vdgtfs-timetable td{overflow:visible!important}
.vdgtfs-timetable td .vdgtfs-cell-live{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;line-height:13px!important}
.vdgtfs-timetable td .vdgtfs-cell-plan{display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-height:12px!important;margin-top:2px!important;font-size:8px!important;line-height:10px!important;overflow:visible!important;white-space:nowrap!important}
.vdgtfs-timetable td .vdgtfs-cell-plan del{font-size:8px!important;color:#7e8d99!important}
.vdgtfs-timetable td .vdgtfs-cell-delay{display:inline-block!important;font-size:7.5px!important;line-height:10px!important;padding:0 3px!important}
.vdgtfs-connection-fill{overflow:visible!important}

.vdgtfs-path-row .vdgtfs-path-stop time{overflow:visible!important;height:50px!important;min-height:50px!important}
.vdgtfs-path-row .vdgtfs-path-stop{grid-template-rows:50px 14px 31px!important}
.vdgtfs-path-row .vdgtfs-path-time-plan{display:flex!important;visibility:visible!important;opacity:1!important;min-height:15px!important;margin-top:2px!important;overflow:visible!important}
.vdgtfs-path-row .vdgtfs-path-time-plan del{font-size:8px!important}
.vdgtfs-path-row .vdgtfs-path-time-plan .vdgtfs-delay{font-size:7px!important}
@media(max-width:600px){
  .vdgtfs-time-plan{font-size:9px!important}.vdgtfs-time-plan del{font-size:9px!important}.vdgtfs-time-plan .vdgtfs-delay{font-size:8px!important}
  .vdgtfs-path-row .vdgtfs-path-stop{grid-template-rows:52px 14px 34px!important}
  .vdgtfs-path-row .vdgtfs-path-stop time{height:52px!important;min-height:52px!important}
}
