@font-face{font-family:Wanted;src:url('/fonts/wanted_sans_regular.ttf')}@font-face{font-family:Wanted;src:url('/fonts/wanted_sans_semibold.ttf');font-weight:600}@font-face{font-family:Wanted;src:url('/fonts/wanted_sans_extrabold.ttf');font-weight:800}
:root{--bg:#fafaf8;--surface:#fff;--soft:#f2f3f0;--soft-green:#ebf6f1;--ink:#151615;--muted:#7b7e7a;--faint:#acafaa;--line:#dedfdc;--accent:#278463;--danger:#b84d48;--shadow:0 16px 44px rgba(31,39,35,.07);font-family:Wanted,system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg)}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(39,132,99,.2);outline-offset:2px}.page-shell{width:min(720px,100%);margin:auto;padding:26px 22px 80px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-weight:800;font-size:17px;text-decoration:none}.brand-pin{position:relative;width:26px;height:29px;transform:rotate(10deg)}.brand-pin:before{content:"";position:absolute;inset:0;background:#111;clip-path:path('M13 0C5.8 0 0 5.7 0 12.7 0 21.5 13 29 13 29s13-7.5 13-16.3C26 5.7 20.2 0 13 0Z')}.brand-pin i{position:absolute;width:4px;height:9px;left:11px;top:6px;background:#fff;border-radius:3px}.brand-pin b{position:absolute;width:8px;height:4px;left:11px;top:12px;background:#fff;border-radius:3px;transform:rotate(7deg);transform-origin:left center}.format-toggle{display:flex;padding:3px;background:var(--soft);border:1px solid var(--line);border-radius:13px}.format-toggle button{width:48px;height:38px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-weight:700;font-size:12px}.format-toggle button.active{background:var(--ink);color:#fff}.hero{margin-bottom:28px}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;border-radius:18px;background:var(--soft)}.mode-tabs button{height:58px;border:1px solid transparent;border-radius:14px;background:transparent;color:var(--faint);font-size:19px;font-weight:700}.mode-tabs button.active{background:#fff;border-color:var(--line);color:var(--ink);box-shadow:0 2px 5px rgba(0,0,0,.025)}.hero p{margin:13px 0 0;text-align:center;color:var(--muted);font-size:14px}.card{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:0 1px 2px rgba(0,0,0,.015)}.place-card{padding:13px 18px;margin-bottom:24px}.place-field{min-height:94px;display:flex;align-items:center;gap:12px;border-radius:15px;padding:4px}.place-field.active{background:var(--soft-green)}.place-icon{flex:0 0 43px;width:43px;height:43px;border:0;border-radius:14px;background:var(--soft);display:grid;place-items:center}.place-icon span{display:block}.origin-icon span{width:19px;height:19px;border:5px solid #111;border-radius:50%}.destination-icon{background:var(--soft-green)}.destination-icon span{position:relative;width:17px;height:22px;border:3px solid var(--accent);border-radius:12px 12px 14px 14px;clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%)}.destination-icon span:after{content:"";position:absolute;width:5px;height:5px;border:2px solid var(--accent);border-radius:50%;left:3px;top:3px}.place-copy{min-width:0;flex:1}.place-copy label{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.place-copy input{display:block;width:100%;border:0;background:transparent;padding:0;font-size:19px;font-weight:700;outline:0;text-overflow:ellipsis}.place-copy input::placeholder{color:var(--faint)}.place-address{display:none;color:var(--muted);font-size:11px;line-height:1.45;margin-top:5px}.place-field.selected .place-address{display:block}.field-action{display:none;flex:0 0 33px;width:33px;height:33px;border:0;background:transparent;color:var(--muted);font-size:25px;border-radius:10px;padding:0}.place-field.selected .favorite-place,.place-field.selected .clear-place{display:block}.place-field.selected .favorite-place.saved{color:var(--accent)}.place-field:not(.selected) .current-place{display:block;color:var(--accent)}.swap-row{height:22px;display:grid;grid-template-columns:1fr 42px 1fr;align-items:center;gap:8px}.swap-row span{height:1px;background:var(--line)}.swap-row button{width:34px;height:34px;border:0;background:#fff;border-radius:10px;color:var(--accent);font-size:20px;z-index:1}.suggestions{display:none;border-top:1px solid var(--line);padding:6px 0}.suggestions.visible{display:block}.suggestion-label{padding:9px 6px 4px;color:var(--accent);font-size:11px;font-weight:700}.suggestion{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:11px 6px;border:0;border-bottom:1px solid #eee;background:#fff;width:100%;text-align:left}.suggestion:last-child{border-bottom:0}.suggestion strong{display:block;font-size:14px}.suggestion small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.suggestion b{color:var(--accent);font-size:16px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 11px}.section-heading h2,.when-section h2{font-size:21px;margin:0;font-weight:800;letter-spacing:-.03em}.section-heading>button{border:0;background:transparent;color:var(--accent);font-weight:700;font-size:12px}.favorite-route{display:grid;grid-template-columns:31px minmax(0,1fr) 36px 36px;align-items:center;gap:8px;padding:15px 11px;margin-bottom:8px;background:#fff;border:1px solid var(--line);border-radius:18px}.favorite-route.dragging{opacity:.55;transform:scale(.985)}.drag-handle{border:0;background:transparent;color:var(--muted);font-size:20px;touch-action:none}.favorite-route-copy{min-width:0}.favorite-route-copy strong,.favorite-route-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.favorite-route-copy strong{font-size:14px}.favorite-route-copy small{color:var(--muted);font-size:11px;margin-top:4px}.tiny-button{border:0;background:transparent;color:var(--muted);font-size:18px;width:36px;height:36px}.tiny-button.star{color:var(--accent);font-size:22px}.save-current{margin:-13px 0 17px;border:0;background:transparent;color:var(--muted);font-size:12px;padding:10px 2px}.when-section{margin-top:30px}.when-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.select-control{height:58px;display:flex;align-items:center;gap:9px;padding:0 14px;border:1px solid var(--line);background:#fff;border-radius:16px}.select-control span{color:var(--muted);font-size:17px}.select-control input{min-width:0;width:100%;border:0;background:transparent;font-size:13px;font-weight:700;outline:0}.primary{width:100%;height:60px;margin-top:18px;border:0;border-radius:17px;background:var(--ink);color:#fff;font-size:15px;font-weight:800}.primary:disabled{background:#b7b9b6;color:rgba(255,255,255,.78);cursor:default}.primary.loading:after{content:"";display:inline-block;width:14px;height:14px;margin-left:9px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;vertical-align:-2px}@keyframes spin{to{transform:rotate(360deg)}}.error{padding:14px;margin:12px 0 0;border-radius:14px;background:#f7ecea;color:var(--danger);font-size:12px;white-space:pre-line}.route-heading>div{display:flex;align-items:center;gap:8px}.route-heading b{color:var(--accent);font-size:12px}.route-heading select{border:0;background:transparent;color:var(--muted);font-size:12px;font-weight:700}.route-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;margin-bottom:13px}.route-top{display:flex;align-items:center;gap:11px}.route-mode-icon{width:38px;height:38px;border-radius:13px;background:var(--soft-green);display:grid;place-items:center;color:var(--accent);font-weight:800}.route-top-copy{flex:1}.route-top-copy strong,.route-top-copy small{display:block}.route-top-copy strong{font-size:18px}.route-top-copy small{font-size:11px;color:var(--muted);margin-top:2px}.route-duration{font-size:18px;font-weight:800}.route-time{font-size:39px;line-height:1.1;font-weight:800;letter-spacing:-.055em;margin-top:17px}.route-time span{font-size:12px;color:var(--muted);letter-spacing:0;margin-left:4px}.route-arrival{color:var(--muted);font-size:12px;margin:4px 0 13px}.route-meta{color:var(--muted);font-size:11px;margin:7px 0 4px}.leg{display:grid;grid-template-columns:48px 1fr;gap:9px;padding:15px 0;border-top:1px solid var(--line)}.leg:first-of-type{margin-top:10px}.leg-time{text-align:center;color:var(--muted);font-size:10px}.leg-time i{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;margin:6px auto;background:color-mix(in srgb,var(--leg-color) 15%,white);color:var(--leg-color);font-style:normal;font-size:12px}.leg-main strong{display:block;font-size:14px;line-height:1.45;color:var(--leg-color)}.leg-main>small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.leg.walk .leg-main strong{color:var(--ink);font-size:13px}.express{display:inline-block;padding:3px 7px;margin-top:5px;border-radius:7px;background:var(--leg-color);color:#fff;font-size:9px;font-weight:800}.departure-pill{display:flex;align-items:center;width:100%;margin-top:10px;padding:11px 12px;border:0;border-radius:11px;background:var(--soft);text-align:left}.departure-pill b{font-size:13px}.departure-pill span{color:var(--muted);font-size:11px;margin-left:6px}.departure-pill em{margin-left:auto;color:var(--leg-color);font-style:normal}.stops-toggle{border:0;background:transparent;color:var(--muted);font-size:11px;padding:9px 0}.stops-list{display:none;padding:3px 0 10px 4px}.stops-list.open{display:block}.stops-list span{display:block;color:var(--muted);font-size:11px;padding:3px 0}.stops-list span:first-child,.stops-list span:last-child{color:var(--ink);font-weight:600}.route-action{width:100%;height:48px;margin-top:12px;border:0;border-radius:13px;background:var(--ink);color:#fff;font-size:13px;font-weight:800}.route-action.loading:after{content:"";display:inline-block;width:12px;height:12px;margin-left:8px;border:2px solid #777;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.dialog{width:min(560px,calc(100% - 28px));max-height:min(820px,calc(100vh - 28px));padding:0;border:0;border-radius:24px;background:var(--bg);box-shadow:0 28px 90px rgba(0,0,0,.28);overflow:auto}.dialog::backdrop{background:rgba(19,21,20,.55);backdrop-filter:blur(2px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;padding:20px}.dialog-head.sticky{position:sticky;top:0;background:rgba(250,250,248,.94);backdrop-filter:blur(12px);z-index:2;border-bottom:1px solid var(--line)}.dialog-head h3{margin:0;font-size:21px}.dialog-head p{margin:4px 0 0;color:var(--muted);font-size:11px}.dialog-head button{border:0;background:transparent;font-size:27px;color:var(--ink)}.compact-dialog form{padding-bottom:16px}.compact-dialog>form>input{display:block;width:calc(100% - 40px);height:48px;margin:0 20px;border:1px solid var(--line);border-radius:13px;padding:0 13px;background:#fff}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding:16px 20px 0}.dialog-actions button{height:40px;padding:0 18px;border:0;border-radius:11px;background:var(--soft);font-weight:700}.dialog-actions button.dark{background:var(--ink);color:#fff}.schedule-list{padding:0 20px 20px}.schedule-row{min-height:64px;display:grid;grid-template-columns:72px 1fr auto;align-items:center;border-bottom:1px solid var(--line);padding:7px 9px}.schedule-row.selected{background:var(--soft-green);border-radius:2px}.schedule-row time{font-weight:800;font-size:16px}.schedule-row div{font-size:12px}.schedule-row div small{display:block;color:var(--muted);margin-top:2px}.schedule-row b{color:var(--accent);font-size:11px}.route-dialog #last-route{padding:0 16px 16px}.route-dialog .route-card{margin-bottom:0}.skeleton{height:170px;border-radius:22px;background:linear-gradient(90deg,#f0f1ee 25%,#f7f7f5 40%,#f0f1ee 60%);background-size:400% 100%;animation:shimmer 1.2s infinite;margin-bottom:12px}@keyframes shimmer{to{background-position:-135% 0}}#toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);padding:11px 16px;border-radius:12px;background:#111;color:#fff;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:20}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:900px){.page-shell{width:min(1120px,100%);padding-left:36px;padding-right:36px}.topbar{margin-bottom:28px}.hero{width:650px;margin-left:auto;margin-right:auto}.place-card{width:650px;margin-left:auto;margin-right:auto}.favorite-routes-section,.save-current,.when-section,.primary,.error{width:650px;margin-left:auto;margin-right:auto}#route-section{width:100%}#routes{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:14px}.route-card{margin-bottom:0}.route-heading{margin-top:38px}}
@media(max-width:520px){.page-shell{padding:18px 14px 64px}.brand{font-size:15px}.hero{margin-bottom:22px}.mode-tabs button{height:51px;font-size:17px}.place-card{padding:10px 12px}.place-field{gap:8px}.place-copy input{font-size:18px}.field-action{flex-basis:29px;width:29px}.when-grid{gap:7px}.select-control{padding:0 10px}.route-card{padding:15px}.route-time{font-size:36px}.dialog{width:calc(100% - 16px);max-height:calc(100vh - 16px)}}
.favorite-place-row,.favorite-route{user-select:none;-webkit-user-select:none}.favorite-route{grid-template-columns:minmax(0,1fr) 36px 36px}.favorite-route.dragging,.favorite-place-row.dragging{opacity:.96;transform:scale(1.025) rotate(.35deg);box-shadow:0 18px 44px rgba(22,29,25,.18);transition:transform .14s,box-shadow .14s}.drag-placeholder{border:1px dashed rgba(39,132,99,.35);border-radius:18px;background:rgba(39,132,99,.055);margin-bottom:8px}
[hidden]{display:none!important}

/* Restored arrive header */
.topbar{margin-bottom:42px}.brand{gap:14px;color:#7f827d;font-size:21px;font-weight:400;letter-spacing:.01em}.brand-dot{width:17px;height:17px;border-radius:50%;background:#858883}.format-toggle{padding:4px;border-radius:22px;background:#f3f3f0}.format-toggle button{width:67px;height:54px;border-radius:18px;font-size:17px}.hero{width:100%;margin-bottom:31px}.mode-tabs{gap:24px;padding:0;background:transparent;border-radius:0}.mode-tabs button{position:relative;height:91px;border:0;border-radius:0;background:transparent;font-size:42px;font-weight:700;letter-spacing:-.045em}.mode-tabs button.active{border:0;background:transparent;box-shadow:none}.mode-tabs button.active:after{content:"";position:absolute;left:50%;bottom:4px;width:66px;height:6px;border-radius:999px;background:var(--ink);transform:translateX(-50%)}.hero p{margin:20px 0 0;text-align:left;font-size:20px}
@media(max-width:520px){.topbar{margin-bottom:30px}.brand{gap:10px;font-size:15px}.brand-dot{width:12px;height:12px}.format-toggle{padding:3px;border-radius:15px}.format-toggle button{width:47px;height:38px;border-radius:12px;font-size:12px}.hero{margin-bottom:24px}.mode-tabs{gap:10px}.mode-tabs button{height:65px;font-size:30px}.mode-tabs button.active:after{bottom:1px;width:45px;height:4px}.hero p{margin-top:15px;font-size:14px}}

/* Compact web UI and custom controls */
.ui-icon,button svg{display:block;width:20px;height:20px;fill:none}.page-shell{width:min(660px,100%);padding-top:22px}.topbar{margin-bottom:28px}.format-toggle{border-radius:14px}.format-toggle button{width:50px;height:40px;border-radius:11px;font-size:13px}.hero{margin-bottom:22px}.mode-tabs{gap:12px}.mode-tabs button{height:64px;font-size:30px}.mode-tabs button.active:after{bottom:2px;width:48px;height:4px}.hero p{margin-top:12px;font-size:15px}.place-card{padding:8px 14px;margin-bottom:18px;border-radius:20px}.place-field{min-height:78px;gap:10px;padding:3px}.place-icon{flex-basis:38px;width:38px;height:38px;border-radius:12px;color:var(--ink)}.place-icon svg{width:23px;height:23px}.destination-icon{color:var(--accent)}.place-copy label{font-size:10px;margin-bottom:2px}.place-copy input{font-size:17px}.place-address{font-size:10px;margin-top:3px}.field-action{flex-basis:30px;width:30px;height:30px}.field-action svg{width:19px;height:19px;margin:auto}.field-action.favorite-place{color:var(--muted)}.field-action.favorite-place.saved{color:var(--accent)}.swap-row{height:18px}.swap-row button{display:grid;place-items:center;width:30px;height:30px}.swap-row button svg{width:18px;height:18px}.suggestion{min-height:54px;padding:9px 5px}.suggestion>.ui-icon{color:var(--accent)}.save-current{display:flex;align-items:center;gap:6px}.save-current svg{width:16px;height:16px}.when-section{margin-top:22px}.when-section h2,.section-heading h2{font-size:18px}.when-grid{gap:8px;margin-top:10px}.select-control{display:grid;grid-template-columns:22px 1fr 16px;gap:8px;height:54px;padding:0 12px;border-radius:14px;text-align:left}.select-control>svg{width:19px;height:19px;color:var(--accent)}.select-control>span{display:block;min-width:0}.select-control>span small,.select-control>span strong{display:block}.select-control>span small{margin-bottom:2px;color:var(--muted);font-size:9px;font-weight:600}.select-control>span strong{overflow:hidden;font-size:13px;white-space:nowrap;text-overflow:ellipsis}.select-control .control-chevron{width:15px;height:15px;color:var(--muted)}.primary{height:53px;margin-top:14px;border-radius:14px;font-size:14px}.section-heading{margin:25px 0 10px}.route-heading{padding:0 2px}.route-heading select{height:34px;padding:0 28px 0 11px;border:1px solid var(--line);border-radius:11px;background-color:#fff;font-size:11px}.route-card{padding:15px;border-radius:18px}.route-mode-icon{width:34px;height:34px;border-radius:11px}.route-mode-icon svg{width:19px;height:19px}.route-top-copy strong{font-size:16px}.route-duration{font-size:16px}.route-time{margin-top:13px;font-size:32px}.leg{grid-template-columns:44px 1fr;gap:8px;padding:13px 0}.leg-time i{width:25px;height:25px}.leg-time i svg{width:15px;height:15px}.departure-pill{padding:10px 11px}.departure-pill em{display:flex;align-items:center;gap:3px}.departure-pill em svg,.stops-toggle svg{display:inline-block;width:13px;height:13px;vertical-align:-2px}.dialog-head{padding:17px 18px}.dialog-head h3{font-size:18px}.dialog-head .icon-button{display:grid;place-items:center;width:32px;height:32px;padding:0}.dialog-head .icon-button svg{width:20px;height:20px}.when-dialog{width:min(420px,calc(100% - 24px));overflow:hidden}.when-dialog #when-picker-body{padding:0 18px 18px}.calendar-picker{padding-top:2px}.calendar-nav{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;margin-bottom:10px}.calendar-nav strong{text-align:center;font-size:15px}.calendar-nav button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:var(--soft)}.calendar-nav button svg{width:17px;height:17px}.weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.weekdays span{padding:6px 0;text-align:center;color:var(--muted);font-size:10px;font-weight:700}.calendar-days button{aspect-ratio:1;border:0;border-radius:11px;background:transparent;font-size:12px}.calendar-days button.outside{color:#c5c7c3}.calendar-days button.today{box-shadow:inset 0 0 0 1px var(--line)}.calendar-days button.selected{background:var(--ink);color:#fff;font-weight:800;box-shadow:none}.picker-apply{width:100%;height:45px;margin-top:13px;border:0;border-radius:12px;background:var(--ink);color:#fff;font-size:12px;font-weight:800}.time-picker{padding-top:3px}.time-editor{display:grid;grid-template-columns:1fr 22px 1fr;align-items:center;gap:8px}.time-editor>i{text-align:center;font-size:26px;font-style:normal;font-weight:800}.time-unit{display:grid;grid-template-rows:18px 34px 52px 34px;justify-items:center;padding:10px 8px;border:1px solid var(--line);border-radius:17px;background:#fff}.time-unit>span{color:var(--muted);font-size:10px}.time-unit>button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;background:var(--soft)}.time-unit>button svg{width:16px;height:16px}.time-unit>button svg.up{transform:rotate(180deg)}.time-unit>strong{align-self:center;font-size:30px;font-weight:800;font-variant-numeric:tabular-nums}.picker-period{margin:10px 0 8px;text-align:center;color:var(--accent);font-size:12px;font-weight:800}.minute-presets{display:grid;grid-template-columns:repeat(6,1fr);gap:5px}.minute-presets button{height:34px;padding:0;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);font-size:10px}.minute-presets button.selected{border-color:var(--accent);background:var(--soft-green);color:var(--accent);font-weight:800}.favorite-route-copy{display:flex;align-items:center;gap:10px}.favorite-route-copy>.ui-icon{flex:none;width:20px;height:20px;color:var(--accent)}.tiny-button svg{width:18px;height:18px;margin:auto}
@media(min-width:900px){.page-shell{width:min(1040px,100%)}.hero,.place-card,.favorite-routes-section,.save-current,.when-section,.primary,.error{width:610px}.mode-tabs button{font-size:34px}#routes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.page-shell{padding:15px 13px 56px}.topbar{margin-bottom:20px}.hero{margin-bottom:18px}.mode-tabs button{height:53px;font-size:24px}.mode-tabs button.active:after{width:39px;height:3px}.hero p{margin-top:10px;font-size:12px}.place-card{padding:7px 11px}.place-field{min-height:72px}.place-copy input{font-size:16px}.when-section h2,.section-heading h2{font-size:17px}.select-control{height:51px;padding:0 10px}.select-control>span strong{font-size:12px}.route-card{padding:13px}.dialog{border-radius:20px}}

/* Spacious rhythm, wheel picker, and site scrollbar */
html{scrollbar-width:thin;scrollbar-color:#a7aaa5 transparent}*::-webkit-scrollbar{width:9px;height:9px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{min-height:42px;border:2px solid transparent;border-radius:999px;background:#a7aaa5;background-clip:content-box}*::-webkit-scrollbar-thumb:hover{background:#7f837e;background-clip:content-box}.hero p{text-align:center}.brand{font-size:17px}.page-shell{padding-bottom:96px}.place-card{padding:12px 17px}.place-field{min-height:76px}.place-address{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.when-section{margin-top:28px}.primary{margin-top:17px}.section-heading{margin-top:31px}.route-card{margin-bottom:17px;padding:18px}.route-top{align-items:center}.route-time{font-size:29px}.leg{grid-template-columns:52px minmax(0,1fr);gap:13px;padding:18px 0}.leg-time{display:flex;flex-direction:column;align-items:center;gap:7px;justify-content:flex-start;line-height:1.1;white-space:nowrap}.leg-time i{flex:none;margin:0 auto}.leg-main{min-width:0;padding-top:1px}.departure-pill{margin-top:12px}.stops-toggle{display:inline-flex;align-items:center;gap:3px}.favorite-route{grid-template-columns:minmax(0,1fr) 34px 34px;gap:10px;min-height:74px;padding:13px 15px;border-radius:17px}.favorite-route-copy{height:auto;padding:0;color:var(--ink)}.favorite-route-copy>.ui-icon{width:36px;height:36px;padding:8px;border-radius:11px;background:var(--soft-green)}.favorite-route-copy>span{min-width:0;flex:1;text-align:left}.favorite-route-copy strong{font-size:13px}.favorite-route-copy small{font-size:10px}.favorite-route .tiny-button:not(.favorite-route-copy){display:grid;place-items:center;width:32px;height:32px;border-radius:10px}.favorite-route .tiny-button:not(.favorite-route-copy):hover{background:var(--soft)}.schedule-dialog{width:min(610px,calc(100% - 28px))}.schedule-dialog .dialog-head{padding:20px 24px}.schedule-list{padding:7px 24px 25px}.schedule-row{grid-template-columns:104px minmax(0,1fr) 42px;gap:16px;min-height:68px;padding:0 13px;border-bottom:1px solid #e6e7e4}.schedule-row.selected{margin:3px 0;border-bottom-color:transparent;border-radius:10px;background:var(--soft-green)}.schedule-row time{font-size:14px;font-weight:800;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}.schedule-info{display:flex;align-items:center;gap:10px;min-width:0}.schedule-info strong,.schedule-info span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.schedule-info strong{font-size:13px}.schedule-info span{color:var(--muted);font-size:11px}.schedule-row>b{justify-self:end;font-size:11px}.wheel-stage{position:relative;display:grid;align-items:end;gap:7px}.wheel-stage.three{grid-template-columns:.8fr 1fr 18px 1fr}.wheel-stage.two{grid-template-columns:1fr 18px 1fr;padding-inline:30px}.wheel-stage>i{align-self:center;margin-top:22px;text-align:center;font-size:24px;font-style:normal;font-weight:800}.wheel-highlight{position:absolute;z-index:0;top:80px;right:0;left:0;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--soft);pointer-events:none}.time-wheel-wrap{position:relative;z-index:1;min-width:0}.time-wheel-wrap>span{display:block;height:22px;text-align:center;color:var(--muted);font-size:10px;font-weight:700}.time-wheel{height:160px;overflow-y:auto;padding-block:58px;scroll-behavior:smooth;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;touch-action:pan-y}.time-wheel::-webkit-scrollbar{display:none}.time-wheel button{display:block;width:100%;height:44px;padding:0;border:0;background:transparent;color:var(--muted);font-size:15px;font-variant-numeric:tabular-nums;scroll-snap-align:center;transition:color .15s,font-size .15s}.time-wheel button.selected{color:var(--ink);font-size:18px;font-weight:800}.wheel-hint{margin:9px 0 15px;text-align:center;color:var(--muted);font-size:10px}.time-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.time-quick button{height:36px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);font-size:10px}.time-quick button:hover{border-color:#b9bcb7;background:var(--soft)}
@media(max-width:520px){.brand{font-size:14px}.mode-tabs button{font-size:22px}.place-card{padding:10px 13px}.route-card{padding:16px}.route-time{font-size:27px}.leg{grid-template-columns:48px minmax(0,1fr);gap:10px;padding:16px 0}.schedule-dialog{width:calc(100% - 16px)}.schedule-dialog .dialog-head{padding:17px 18px}.schedule-list{padding:5px 16px 20px}.schedule-row{grid-template-columns:88px minmax(0,1fr) 34px;gap:10px;min-height:64px;padding:0 9px}.schedule-row time{font-size:12px}.schedule-info{gap:7px}.schedule-info strong{font-size:12px}.schedule-info span{font-size:10px}.wheel-stage.two{padding-inline:12px}}

/* Harmonized sizing and overlay scroll controls */
:root{--content-width:600px;--control-height:48px;--control-radius:13px}html,*{scrollbar-width:none!important}*::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}.page-shell{width:min(1040px,100%);padding-top:18px}.hero,.place-card,.favorite-routes-section,.save-current,.when-section,.primary,.error{width:min(var(--content-width),100%);margin-left:auto;margin-right:auto}.topbar{margin-bottom:20px}.format-toggle button{width:46px;height:38px}.hero{margin-bottom:22px}.mode-tabs button{height:50px;font-size:25px}.mode-tabs button.active:after{bottom:0;width:40px;height:3px}.hero p{margin-top:12px;font-size:12px}.place-card{margin-bottom:26px;padding:11px 15px}.place-field{min-height:70px}.place-icon{width:36px;height:36px;flex-basis:36px}.place-copy input{font-size:15px}.field-action,.swap-row button,.favorite-route .tiny-button:not(.favorite-route-copy){width:32px;height:32px;flex-basis:32px;border-radius:10px}.field-action svg{width:18px;height:18px}.current-place{color:var(--accent)!important}.section-heading{margin-top:28px;margin-bottom:12px}.section-heading h2,.when-section h2{font-size:16px}.when-section{margin-top:27px}.when-grid{gap:10px}.select-control{height:var(--control-height);border-radius:var(--control-radius)}.select-control>span strong{font-size:12px}.primary{display:block!important;height:var(--control-height);margin:16px auto 0!important;border-radius:var(--control-radius);font-size:13px}.route-heading select{height:36px;border-radius:11px}.route-card{border-radius:18px}.route-action{height:var(--control-height);border-radius:var(--control-radius)}.dialog{border-radius:20px}.dialog-head{align-items:center}.dialog-head h3{font-size:17px}.dialog-head p:empty{display:none}.when-dialog #when-picker-body{padding:2px 20px 20px}.period-toggle{display:grid;grid-template-columns:1fr 1fr;gap:4px;width:150px;margin:0 auto 10px;padding:3px;border-radius:11px;background:var(--soft)}.period-toggle button{height:34px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:11px;font-weight:700}.period-toggle button.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.06)}.wheel-stage.two{max-width:260px;margin:auto;padding-inline:0}.time-quick{margin-top:14px}.time-quick button,.picker-apply{height:42px;border-radius:11px}.picker-apply{margin-top:10px}.departure-pill{min-height:48px;border-radius:12px}.departure-pill em{display:grid;width:30px;height:30px;margin-left:auto;place-items:center;border-radius:9px;color:var(--leg-color)}.departure-pill em svg{width:18px;height:18px}.schedule-dialog .dialog-head h3{font-size:16px}.schedule-dialog .dialog-head p{font-size:10px}.schedule-row{min-height:66px}.schedule-row time,.schedule-info strong{font-size:12px}.schedule-info span{font-size:11px}.custom-scrollbar{position:fixed;z-index:2147483646;width:4px;border-radius:999px;background:rgba(21,22,21,.07);opacity:.72;touch-action:none;transition:opacity .18s}.custom-scrollbar:hover{opacity:1}.custom-scrollbar-thumb{position:absolute;top:0;left:0;width:4px;border-radius:999px;background:#858984;cursor:grab;touch-action:none}.custom-scrollbar-thumb:active{cursor:grabbing;background:var(--accent)}.page-scrollbar{right:4px}.dialog-scrollbar{width:4px;background:rgba(21,22,21,.08)}
@media(max-width:520px){:root{--control-height:47px}.page-shell{padding:14px 13px 64px}.topbar{margin-bottom:16px}.brand{font-size:13px}.brand-dot{width:10px;height:10px}.format-toggle button{width:43px;height:36px}.mode-tabs button{height:47px;font-size:21px}.hero{margin-bottom:20px}.place-card{padding:9px 12px;margin-bottom:24px}.place-field{min-height:66px}.section-heading{margin-top:26px}.route-card{padding:15px}.route-time{font-size:25px}.schedule-list{padding-inline:18px}.schedule-row{grid-template-columns:82px minmax(0,1fr) 32px;gap:9px;min-height:62px;padding-inline:7px}.schedule-info span{font-size:10px}.when-dialog #when-picker-body{padding-inline:18px}.custom-scrollbar{width:3px}.custom-scrollbar-thumb{width:3px}}

/* Interaction polish */
.hero{margin-bottom:18px}.hero p{margin:18px 0 0;line-height:1.25}.when-grid.single{grid-template-columns:minmax(0,1fr)}.when-grid.single .select-control{width:100%}.leg{align-items:center}.leg-main{padding-top:0}.time-wheel{-webkit-overflow-scrolling:touch;scroll-snap-type:y proximity;scroll-padding-block:58px;overscroll-behavior-y:contain}.time-wheel button{scroll-snap-stop:normal}.dialog-head.sticky{z-index:4}
@media(max-width:520px){.hero{margin-bottom:17px}.hero p{margin-top:17px}.when-grid.single{gap:0}.leg-main{align-self:center}}
