:root{--color-primary:#0f766e;--color-primary-hover:#115e59;--color-primary-light:#f0fdf4;--color-primary-ring:#0f766e26;--bg-app:#f8fafc;--bg-card:#fff;--bg-input:#f1f5f9;--text-main:#0f172a;--text-muted:#64748b;--text-placeholder:#94a3b8;--border-light:#e2e8f0;--border-subtle:#cbd5e1;--radius-sm:8px;--radius-md:14px;--radius-card:22px;--radius-pill:9999px;--shadow-sm:0 1px 3px #0000000a;--shadow-card:0 10px 25px -4px #0f172a0f, 0 4px 8px -2px #0f172a08;--shadow-floating:0 14px 30px #0000001f}*,:before,:after{box-sizing:border-box}body{background-color:var(--bg-app);color:var(--text-main);-webkit-font-smoothing:antialiased;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang TC,Noto Sans TC,sans-serif}input,button,select,textarea{font-family:inherit;font-size:inherit;background:0 0;border:none;outline:none}.app-shell{flex-direction:column;gap:1.25rem;max-width:680px;min-height:100vh;margin:0 auto;padding:1.25rem 1rem 3.5rem;display:flex}.topbar{justify-content:space-between;align-items:center;padding:.5rem 0;display:flex}.brand{color:var(--text-main);align-items:center;gap:.6rem;text-decoration:none;display:flex}.brand-icon{border-radius:var(--radius-sm);object-fit:contain;flex-shrink:0;width:38px;height:38px;display:block}.brand-copy strong{letter-spacing:-.2px;font-size:1.15rem;line-height:1.1;display:block}.brand-copy small{color:var(--text-muted);letter-spacing:.8px;font-size:.65rem}.status-pill{color:var(--color-primary);border-radius:var(--radius-pill);background:#ccfbf1;align-items:center;gap:.45rem;padding:.35rem .75rem;font-size:.75rem;font-weight:700;display:flex}.status-dot{background:var(--color-primary);border-radius:50%;width:6px;height:6px}.hero{margin:.25rem 0}.hero-eyebrow{color:var(--color-primary);letter-spacing:1px;align-items:center;gap:.5rem;font-size:.7rem;font-weight:800;display:flex}.eyebrow-line{background:var(--color-primary);width:18px;height:2px}.hero h1{color:var(--text-main);letter-spacing:-.5px;margin:.4rem 0 .5rem;font-size:1.75rem;font-weight:900;line-height:1.25}.hero-desc{color:var(--text-muted);margin:0;font-size:.88rem;line-height:1.5}.search-card{background:var(--bg-card);border-radius:var(--radius-card);box-shadow:var(--shadow-card);border:1px solid var(--border-light);flex-direction:column;gap:1.1rem;padding:1.35rem;display:flex}.search-card-topbar{justify-content:space-between;align-items:center;margin-bottom:-.25rem;display:flex}.search-card-title{color:var(--text-muted);letter-spacing:.5px;text-transform:uppercase;font-size:.82rem;font-weight:800}.top-gps-btn{color:var(--color-primary);border-radius:var(--radius-pill);cursor:pointer;white-space:nowrap;background:#f0fdf4;border:1.5px solid #bbf7d0;align-items:center;gap:.35rem;padding:.35rem .75rem;font-size:.78rem;font-weight:800;transition:all .2s cubic-bezier(.4,0,.2,1);display:inline-flex;box-shadow:0 1px 3px #0f766e0f}.top-gps-btn:hover:not(:disabled){background:var(--color-primary);color:#fff;border-color:var(--color-primary);transform:translateY(-1px)}.top-gps-btn:active:not(:disabled){transform:translateY(0)}.top-gps-btn.is-locating{animation:1s infinite alternate pulse}.search-inputs-container{border:1.5px solid var(--border-light);background:#fff;border-radius:18px;align-items:stretch;gap:.75rem;padding:.6rem .75rem;transition:all .2s;display:flex;position:relative;box-shadow:inset 0 1px 3px #00000005}.search-inputs-container:focus-within{border-color:var(--color-primary);box-shadow:0 0 0 4px var(--color-primary-ring)}.search-visual-route{flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:14px;padding:.75rem 0;display:flex}.route-node-dot{border-radius:50%;width:10px;height:10px}.origin-dot{background:#10b981;box-shadow:0 0 0 3px #d1fae5}.dest-dot{background:#ef4444;box-shadow:0 0 0 3px #fee2e2}.route-node-line{background:repeating-linear-gradient(#cbd5e1 0 4px,#0000 4px 8px);flex:1;width:2px;margin:5px 0}.search-fields-body{flex-direction:column;flex:1;gap:.4rem;min-width:0;display:flex}.field-row{align-items:center;gap:.5rem;width:100%;min-height:48px;display:flex;position:relative}.fields-divider{background:#f1f5f9;width:100%;height:1px}.modern-autocomplete{flex:1;min-width:0;position:relative}.input-inner-wrapper{background:var(--bg-input);border:1px solid #0000;border-radius:12px;flex-direction:row;justify-content:space-between;align-items:center;gap:.5rem;padding:.4rem .85rem;transition:all .2s;display:flex}.input-inner-wrapper:focus-within{border-color:var(--color-primary);background:#fff;box-shadow:0 2px 8px #0f766e14}.input-text-col{flex-direction:column;flex:1;min-width:0;display:flex}.field-mini-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;font-size:.65rem;font-weight:800}.clean-text-input{width:100%;color:var(--text-main);padding:.2rem 0;font-size:.98rem;font-weight:700}.clean-text-input::placeholder{color:var(--text-placeholder);font-size:.88rem;font-weight:400}.input-clear-btn{color:#475569;cursor:pointer;background:#e2e8f0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;padding:0;font-size:.72rem;font-weight:700;line-height:1;transition:all .15s;display:inline-flex}.input-clear-btn:hover{color:#0f172a;background:#cbd5e1}.swap-action-wrapper{justify-content:center;align-items:center;padding:0 .15rem;display:flex}.modern-swap-btn{border:1.5px solid var(--border-light);color:#475569;cursor:pointer;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;transition:all .3s cubic-bezier(.34,1.56,.64,1);display:flex;box-shadow:0 3px 8px #0000000f}.modern-swap-btn:hover{background:var(--color-primary);color:#fff;border-color:var(--color-primary);transform:rotate(180deg)scale(1.08)}.nearby-hints-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:14px;flex-direction:column;gap:.5rem;padding:.75rem .95rem;display:flex}.hint-header{align-items:center;gap:.45rem;display:flex}.hint-pulse-dot{background:#16a34a;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 2px #dcfce7}.hint-label{color:#166534;font-size:.78rem;font-weight:800}.hint-tags{flex-wrap:wrap;gap:.45rem;display:flex}.hint-tag{cursor:pointer;text-align:start;overflow-wrap:anywhere;color:#15803d;border-radius:var(--radius-pill);background:#fff;border:1px solid #86efac;max-width:100%;min-height:44px;padding:.3rem .65rem;font-family:inherit;font-size:.76rem;font-weight:700;box-shadow:0 1px 3px #00000008}.search-alert-notice{color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:12px;align-items:center;gap:.45rem;padding:.65rem .9rem;font-size:.84rem;font-weight:600;display:flex}.primary-search-submit{color:#fff;cursor:pointer;background:linear-gradient(135deg,#0f766e 0%,#0d9488 100%);border-radius:16px;justify-content:center;align-items:center;width:100%;padding:.95rem 1.4rem;font-size:1.05rem;font-weight:900;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex;box-shadow:0 6px 16px #0f766e47}.primary-search-submit:hover:not(:disabled){background:linear-gradient(135deg,#115e59 0%,#0f766e 100%);transform:translateY(-2px);box-shadow:0 8px 22px #0f766e61}.primary-search-submit:active:not(:disabled){transform:translateY(0)}ul.suggestions-dropdown{touch-action:pan-y;border:1px solid var(--border-light);width:100%;min-width:0;max-width:100%;max-height:300px;box-shadow:var(--shadow-floating);box-sizing:border-box;z-index:999;background:#fff;border-radius:16px;margin:0;padding:.4rem;list-style:none;position:absolute;top:calc(100% + 8px);left:0;overflow:hidden auto}ul.suggestions-dropdown li{list-style-type:none}.dropdown-item{cursor:pointer;border-radius:10px;flex-direction:column;gap:.25rem;padding:.75rem .9rem;transition:background .15s;display:flex}.dropdown-item:hover{background:#f1f5f9}.item-row-main{flex-direction:row;align-items:center;gap:.5rem;min-width:0;display:flex}.item-type-icon{flex-shrink:0;font-size:1rem;line-height:1}.item-name{color:#1e293b;white-space:normal;overflow-wrap:anywhere;flex:1;min-width:0;font-size:.95rem;font-weight:700}.item-sub-desc{color:#64748b;white-space:normal;overflow-wrap:anywhere;padding-left:1.6rem;font-size:.72rem}.poi-tag,.mtr-tag,.gov-tag{white-space:nowrap;flex-shrink:0}.poi-tag{color:#854d0e;background:#fef08a;border-radius:4px;padding:.1rem .35rem;font-size:.65rem;font-weight:700}.mtr-tag{color:#991b1b;background:#fee2e2;border-radius:4px;padding:.1rem .35rem;font-size:.65rem;font-weight:700}.gov-tag{color:#0369a1;background:#e0f2fe;border-radius:4px;padding:.1rem .35rem;font-size:.65rem;font-weight:700}.searching-indicator{color:#64748b;border-top:1px dashed #e2e8f0;align-items:center;gap:.5rem;padding:.6rem .8rem;font-size:.78rem;display:flex}@media (width<=480px){.item-row-main{grid-template-columns:1rem minmax(0,1fr);align-items:start;display:grid}.item-row-main>:is(.poi-tag,.mtr-tag,.gov-tag){grid-column:2;justify-self:start}}.hint-tag:hover:not(:disabled),.hint-tag[aria-pressed=true]{background:#dcfce7;border-color:#16a34a}.hint-tag:focus-visible{outline-offset:3px;outline:2px solid #0f766e}.hint-tag:disabled{cursor:wait;opacity:.6}.pwa-map-workspace ul.suggestions-dropdown{z-index:100;overscroll-behavior:contain;margin:0;font-size:16px}.gps-suggestion button{text-align:left;color:#0f766e;cursor:pointer;align-items:center;gap:.65rem;width:100%;min-height:48px;font-weight:700;display:flex}.gps-suggestion button:disabled{opacity:.5}.place-search-screen{z-index:3000;pointer-events:auto;padding:calc(env(safe-area-inset-top,0px) + 12px) 12px 12px;touch-action:pan-y;background:#f8fafc;flex-direction:column;display:flex;position:absolute;inset:0}.place-search-bar{box-shadow:var(--shadow-sm);background:#fff;border:1px solid #e2e8f0;border-radius:999px;flex-shrink:0;align-items:center;gap:8px;padding:4px;display:flex}.place-search-input{color:#0f172a;background:0 0;border:0;outline:none;flex:1;min-width:0;padding:10px 0;font-size:16px}.place-search-back,.place-search-clear{color:#0f766e;cursor:pointer;background:0 0;border:0;border-radius:50%;flex-shrink:0;width:44px;height:44px;font-size:26px}.place-search-clear{font-size:17px}.place-search-results{overscroll-behavior:contain;flex:1;min-height:0;margin:12px 0 0;padding:8px 0;list-style:none;overflow-y:auto}.place-search-results .dropdown-item{border-bottom:1px solid #e2e8f0;border-radius:0;padding:16px 12px}.place-search-results .gps-suggestion{background:#f0fdfa;border-radius:16px}.results-container{flex-direction:column;gap:1.5rem;margin-top:1rem;display:flex}.results-header h2{color:var(--text-main);margin:0 0 .5rem;font-size:1.35rem;font-weight:900}.journey-summary{color:#334155;border:1px solid var(--border-light);box-shadow:var(--shadow-sm);background:#fff;border-radius:12px;flex-wrap:wrap;align-items:center;gap:.45rem;padding:.6rem .9rem;font-size:.95rem;font-weight:700;display:flex}.dot-origin{background:#10b981;border-radius:50%;flex-shrink:0;width:8px;height:8px}.dot-dest{background:#ef4444;border-radius:50%;flex-shrink:0;width:8px;height:8px}.summary-arrow{color:#94a3b8;font-size:.8rem}.results-count-text{color:var(--text-muted);margin:.4rem 0 0;font-size:.84rem}.routes-group{flex-direction:column;gap:.85rem;display:flex}.group-title{align-items:center;gap:.55rem;display:flex}.group-title h3{margin:0;font-size:1.15rem;font-weight:800}.badge-pill{border-radius:var(--radius-pill);padding:.25rem .65rem;font-size:.72rem;font-weight:800}.direct-pill{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.transfer-pill{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.two-transfer-pill{color:#b45309;background:#fef3c7;border:1px solid #fde68a}.cards-list{flex-direction:column;gap:.95rem;display:flex}.route-card{background:var(--bg-card);border:1px solid var(--border-light);box-shadow:var(--shadow-card);box-sizing:border-box;border-radius:18px;flex-direction:column;gap:.75rem;width:100%;max-width:100%;padding:1.1rem 1.2rem;transition:transform .18s,box-shadow .18s,border-color .18s;display:flex;overflow:hidden}.summary-route-card{cursor:pointer}.summary-route-card:hover,.summary-route-card:focus-visible{border-color:#99f6e4;outline:none;transform:translateY(-2px);box-shadow:0 12px 24px #0f766e1a}.summary-route-card:active{transform:translateY(0)}.card-top-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.45rem;width:100%;display:flex}.route-identity{flex-wrap:wrap;align-items:center;gap:.4rem;min-width:0;display:flex}.route-no{color:var(--text-main);letter-spacing:-.5px;font-size:1.5rem;font-weight:900;line-height:1.1}.route-no-chip{border:1px solid var(--border-subtle);color:var(--text-main);background:#f1f5f9;border-radius:8px;padding:.22rem .55rem;font-size:1.02rem;font-weight:800}.transfer-joiner{color:#94a3b8;font-size:.85rem;font-weight:800}.transfer-count-pill{border-radius:var(--radius-pill);white-space:nowrap;flex-shrink:0;padding:.22rem .6rem;font-size:.72rem;font-weight:800}.transfer-count-pill.is-direct{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.transfer-count-pill.is-one-transfer{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.transfer-count-pill.is-two-transfer{color:#b45309;background:#fef3c7;border:1px solid #fde68a}.summary-metrics-strip{box-sizing:border-box;flex-wrap:wrap;align-items:center;gap:.38rem;width:100%;max-width:100%;display:flex}.eta-time-badge{color:var(--color-primary);border-radius:var(--radius-pill);white-space:nowrap;background:#f0fdf4;border:1px solid #bbf7d0;align-items:center;gap:.22rem;padding:.22rem .55rem;font-size:.75rem;display:inline-flex}.eta-time-badge strong{font-weight:800}.fare-badge{color:#92400e;border-radius:var(--radius-pill);white-space:nowrap;background:#fffbeb;border:1px solid #fde68a;align-items:center;gap:.25rem;padding:.22rem .55rem;font-size:.75rem;font-weight:700;display:inline-flex}.fare-adult{color:#78350f;font-weight:800}.fare-divider{color:#d97706}.fare-conc{color:#b45309}.stops-count-tag{color:#475569;border-radius:var(--radius-pill);white-space:nowrap;background:#f8fafc;border:1px solid #e2e8f0;align-items:center;gap:.2rem;padding:.22rem .55rem;font-size:.75rem;display:inline-flex}.summary-endpoints-box{background:#f8fafc;border:1px solid #f1f5f9;border-radius:12px;flex-direction:column;gap:.4rem;padding:.6rem .75rem;display:flex}.endpoint-row{align-items:baseline;gap:.45rem;min-width:0;font-size:.85rem;display:flex}.endpoint-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;position:relative;top:-1px}.endpoint-dot.start-dot{background:#10b981}.endpoint-dot.transfer-dot{background:#3b82f6}.endpoint-dot.end-dot{background:#ef4444}.endpoint-role{color:#64748b;flex-shrink:0;font-size:.7rem;font-weight:800}.endpoint-name{color:#1e293b;word-break:break-word;font-weight:700}.endpoint-transfer-text{color:#1d4ed8;word-break:break-word;font-size:.82rem;font-weight:600}.card-tap-hint{color:var(--color-primary);border-top:1px dashed #e2e8f0;justify-content:space-between;align-items:center;padding-top:.2rem;font-size:.76rem;font-weight:700;display:flex}.tap-arrow{transition:transform .18s}.summary-route-card:hover .tap-arrow{transform:translate(4px)}.route-detail-page{padding-bottom:calc(5rem + env(safe-area-inset-bottom,0px));flex-direction:column;gap:1rem;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.detail-nav-bar{justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.detail-back-btn{right:calc(1.25rem + env(safe-area-inset-right,0px));bottom:calc(1.5rem + env(safe-area-inset-bottom,0px));z-index:50;background:var(--color-primary);color:#fff;cursor:pointer;touch-action:manipulation;border:1px solid #ffffffa6;border-radius:50%;place-items:center;width:56px;height:56px;padding:0;transition:background .15s,box-shadow .15s;display:grid;position:fixed;box-shadow:0 6px 20px #0f766e47}.detail-back-btn:hover{background:var(--color-primary-hover)}.detail-back-btn:focus-visible{outline:3px solid var(--text-main);outline-offset:3px}.detail-page-tag{color:var(--color-primary);border-radius:var(--radius-pill);background:#ccfbf1;padding:.3rem .7rem;font-size:.74rem;font-weight:800}.detail-overview-card{background:var(--bg-card);border:1px solid var(--border-light);box-shadow:var(--shadow-card);border-radius:18px;flex-direction:column;gap:.85rem;padding:1.15rem 1.25rem;display:flex}.detail-journey-bar{background:#f8fafc}.detail-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.65rem;display:grid}.detail-metric-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:.18rem;padding:.65rem .75rem;display:flex}.metric-label{color:#64748b;font-size:.68rem;font-weight:800}.metric-val{color:#0f172a;font-size:1rem;font-weight:900}.metric-val.highlight-teal{color:var(--color-primary)}.metric-val.highlight-amber{color:#b45309}.metric-sub{color:#64748b;font-size:.7rem;font-weight:600}.detail-discount-banner{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:.45rem .75rem;font-size:.78rem;font-weight:700}.detail-timeline-card{background:var(--bg-card);border:1px solid var(--border-light);box-shadow:var(--shadow-card);border-radius:18px;flex-direction:column;gap:1rem;padding:1.2rem 1.25rem;display:flex}.detail-section-title{color:var(--text-main);border-bottom:1px solid var(--border-light);margin:0;padding-bottom:.65rem;font-size:1rem;font-weight:800}.detail-eta-panel{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;flex-direction:column;gap:.45rem;margin-top:.35rem;padding:.6rem .75rem;display:flex}.detail-eta-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.4rem;display:flex}.detail-eta-title{color:#065f46;align-items:center;gap:.4rem;font-size:.76rem;font-weight:800;display:inline-flex}.eta-refresh-btn{color:#047857;border-radius:var(--radius-pill);cursor:pointer;background:#fff;border:1px solid #86efac;padding:.18rem .55rem;font-size:.7rem;font-weight:800}.eta-refresh-btn:hover:not(:disabled){color:#fff;background:#047857}.live-eta-dot{background:#10b981;border-radius:50%;flex-shrink:0;width:7px;height:7px;box-shadow:0 0 0 2px #d1fae5}.live-eta-dot.loading-dot{box-shadow:none;background:#94a3b8}.live-eta-muted{color:#64748b;font-size:.75rem}.live-eta-chips{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.live-eta-chip{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:.3rem;padding:.25rem .6rem;font-size:.78rem;display:inline-flex}.live-eta-chip.is-next{color:#fff;background:#047857;border-color:#047857}.eta-order,.eta-rmk{opacity:.85;font-size:.68rem}.badge-agency{border-radius:6px;padding:.2rem .5rem;font-size:.7rem;font-weight:800}.kmb-agency{color:#dc2626;background:#fef2f2;border:1px solid #fecaca}.ctb-agency{color:#ca8a04;background:#fefce8;border:1px solid #fef08a}.mtr-agency{color:#be185d;background:#fdf2f8;border:1px solid #fbcfe8}.timeline-wrapper{flex-direction:column;padding-left:.25rem;display:flex}.timeline-item{align-items:flex-start;gap:.75rem;display:flex}.timeline-node{border-radius:50%;flex-shrink:0;width:11px;height:11px;margin-top:.25rem}.start-node{background:#10b981;box-shadow:0 0 0 3px #d1fae5}.end-node{background:#ef4444;box-shadow:0 0 0 3px #fee2e2}.transfer-node{background:#3b82f6;box-shadow:0 0 0 3px #dbeafe}.timeline-connector{background:#cbd5e1;width:2px;height:16px;margin-left:4.5px}.timeline-expand-rail{border-left:2px dashed #cbd5e1;flex-direction:column;align-items:flex-start;gap:.35rem;margin-left:4.5px;padding:.4rem 0 .4rem 18px;display:flex;position:relative}.timeline-expand-rail.is-expanded{border-left-color:#0d9488}.intermediate-toggle-btn{color:#475569;border-radius:var(--radius-pill);cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;align-items:center;gap:.35rem;padding:.22rem .65rem;font-size:.75rem;font-weight:700;transition:all .15s;display:inline-flex}.intermediate-toggle-btn:hover{color:var(--color-primary);background:#f0fdf4;border-color:#86efac}.toggle-chevron{font-size:.7rem;line-height:1}.intermediate-stops-list{flex-direction:column;gap:.3rem;width:100%;margin:.1rem 0 .15rem;padding:0;list-style:none;display:flex}.intermediate-stop-item{color:#475569;align-items:baseline;gap:.35rem;font-size:.82rem;line-height:1.38;display:flex;position:relative}.intermediate-stop-dot{box-sizing:border-box;background:#fff;border:2px solid #0d9488;border-radius:50%;width:7px;height:7px;position:absolute;top:.32rem;left:-22.5px}.intermediate-stop-index{color:#94a3b8;min-width:1.3rem;font-size:.72rem;font-weight:700}.intermediate-stop-name{color:#334155;word-break:break-word;font-weight:600}.timeline-content{flex-direction:column;flex:1;gap:.2rem;min-width:0;display:flex}.leg-meta{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.leg-route-name{color:var(--text-main);font-size:.88rem;font-weight:800}.leg-direction-note,.sub-stops{color:var(--text-muted);font-size:.75rem}.step-label{color:#94a3b8;text-transform:uppercase;font-size:.68rem;font-weight:800}.stop-title{color:#1e293b;word-break:break-word;font-size:.95rem}.transfer-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;flex-wrap:wrap;align-items:center;gap:.45rem;padding:.35rem .75rem;display:inline-flex;flex-direction:row!important}.transfer-badge{color:#fff;background:#2563eb;border-radius:4px;padding:.15rem .4rem;font-size:.65rem;font-weight:800}.transfer-station-name{color:#1e293b;font-size:.88rem;font-weight:800}.transfer-summary-card{gap:0}.transfer-summary-header{border-bottom:1px solid var(--border-light);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem 1rem;padding-bottom:.9rem;display:flex}.transfer-summary-time,.transfer-summary-fare{flex-direction:column;gap:.25rem;min-width:0;display:flex}.transfer-summary-time>.journey-estimated-value{color:var(--text-main);font-size:1.15rem;font-weight:800}.transfer-summary-time strong{font-variant-numeric:tabular-nums;font-size:1.8rem;line-height:1.15}.transfer-summary-meta,.transfer-summary-fare-label,.transfer-summary-role{color:var(--text-muted);overflow-wrap:anywhere;font-size:.74rem;line-height:1.5}.transfer-summary-fare{text-align:right;margin-left:auto}.transfer-summary-fare>strong{color:var(--text-main);font-variant-numeric:tabular-nums;font-size:1.35rem;line-height:1.2}.transfer-summary-timeline{margin:1rem 0;padding:0;list-style:none}.transfer-summary-step{--segment-color:#0d9488;flex-direction:column;align-items:flex-start;min-width:0;padding:0 0 .85rem 1.8rem;display:flex;position:relative}.transfer-summary-step:before{content:"";border:2px solid var(--segment-color);background:var(--bg-card);box-sizing:border-box;z-index:1;border-radius:50%;width:.8rem;height:.8rem;position:absolute;top:.3rem;left:.15rem}.transfer-summary-step:first-child:before,.transfer-summary-end:before{background:var(--segment-color)}.transfer-summary-step:not(:last-child):after{content:"";background:var(--segment-color);width:2px;position:absolute;top:1.1rem;bottom:-.3rem;left:.49rem}.transfer-summary-stop{color:var(--text-main);overflow-wrap:anywhere;max-width:100%;font-size:.98rem;line-height:1.5}.transfer-summary-leg{flex-wrap:wrap;align-items:center;gap:.4rem;min-width:0;max-width:100%;margin-top:.5rem;display:flex}.transfer-summary-route{border:1.5px solid var(--segment-color);color:var(--segment-color);overflow-wrap:anywhere;box-sizing:border-box;border-radius:7px;max-width:100%;padding:.12rem .5rem;font-size:1.05rem;font-weight:800}.transfer-summary-leg-count{color:var(--text-muted);font-size:.74rem}.transfer-summary-end{padding-bottom:0}.transfer-summary-footer{border-top:1px solid var(--border-light);gap:.5rem;padding-top:.75rem;font-size:.84rem}.transfer-summary-footer .tap-arrow{font-size:1.5rem;line-height:1}.detail-overview-card,.detail-timeline-card{gap:.8rem;min-width:0;padding:1.1rem 1.2rem}.detail-summary-main{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.8rem;display:flex}.detail-summary-duration,.detail-summary-price{flex-direction:column;gap:.3rem;min-width:0;display:flex}.detail-summary-duration>strong,.detail-summary-price>strong{color:var(--text-main);font-variant-numeric:tabular-nums;font-size:clamp(1.25rem,5vw,1.7rem);line-height:1.3}.detail-summary-price{text-align:right;margin-left:auto}.detail-concession-row{color:var(--text-muted);border-top:1px solid var(--border-light);flex-wrap:wrap;gap:.35rem 1rem;padding-top:.7rem;font-size:.75rem;display:flex}.detail-concession-row strong{color:#475569}.detail-journey-bar{box-shadow:none;border:0;padding:.6rem .7rem;font-size:.85rem;line-height:1.5}.detail-journey-bar .summary-name{overflow-wrap:anywhere;min-width:0}.detail-section-title{border-bottom:0;padding-bottom:0;font-size:1.05rem}.detail-section-note{border-bottom:1px solid var(--border-light);color:var(--text-muted);margin:-.4rem 0 0;padding-bottom:.8rem;font-size:.75rem;line-height:1.5}.detail-timeline-card .timeline-item{gap:.8rem}.detail-timeline-card .timeline-content{gap:.45rem}.detail-timeline-card .step-label{color:var(--text-muted)}.detail-leg-route{color:var(--color-primary);overflow-wrap:anywhere;font-size:1.15rem;font-weight:900;line-height:1.2}.detail-timeline-card .stop-title{font-size:1rem;line-height:1.5}.detail-timeline-card .leg-direction-note{overflow-wrap:anywhere;font-size:.75rem;line-height:1.5}.detail-leg-stats{color:#475569;flex-wrap:wrap;gap:.3rem .6rem;font-size:.74rem;line-height:1.5;display:flex}.detail-leg-stats span+span{border-left:1px solid var(--border-subtle);padding-left:.6rem}.detail-timeline-card .detail-eta-panel{background:#f0fdfa;border-color:#ccfbf1;gap:.6rem;margin-top:.15rem;padding:.7rem}.detail-timeline-card .detail-eta-header{gap:.5rem}.detail-timeline-card .detail-eta-title{font-size:.78rem}.detail-timeline-card .eta-refresh-btn{border-color:#99f6e4;flex-shrink:0;min-height:32px;padding:.25rem .65rem}.detail-timeline-card .live-eta-chips{align-items:stretch;gap:.4rem}.detail-timeline-card .live-eta-chip{box-sizing:border-box;border-color:#dbe5e4;flex-wrap:wrap;min-height:2rem;font-size:.8rem}.detail-timeline-card .live-eta-muted{font-size:.75rem;line-height:1.6}.detail-timeline-card .transfer-box{border:1px solid var(--border-light);background:#f8fafc;border-radius:10px;align-items:flex-start;padding:.55rem .65rem}.detail-timeline-card .transfer-station-name{overflow-wrap:anywhere;flex:1;min-width:0;font-size:.85rem;line-height:1.5}.detail-timeline-card .timeline-connector{height:20px}.detail-timeline-card .timeline-expand-rail{padding-top:.6rem;padding-bottom:.6rem}.detail-timeline-card .intermediate-toggle-btn{text-align:left;min-height:36px;padding:.35rem .65rem}@media (width<=380px){.detail-overview-card,.detail-timeline-card,.transfer-summary-card{padding:1rem}.detail-timeline-card .timeline-item{gap:.6rem}.detail-timeline-card .detail-eta-panel{padding:.55rem}}.badge-agency{align-items:center;gap:.3rem;min-width:0;max-width:100%;line-height:1.4;display:inline-flex}.transport-icon{flex:0 0 16px;width:16px;height:16px}.agency-name{overflow-wrap:anywhere;min-width:0}.joint-agency,.local-bus-agency{color:#475569;background:#f1f5f9;border:1px solid #cbd5e1}.minibus-agency,.tram-agency{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.ferry-agency{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.funicular-agency{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa}.transfer-summary-step{--segment-color:var(--route-color,#0d9488)}.transfer-summary-step:nth-child(2){--segment-color:var(--route-color,#0284c7)}.transfer-summary-step:nth-child(3){--segment-color:var(--route-color,#6366f1)}.transfer-summary-route{color:var(--route-text-color,var(--segment-color))}.mtr-route-identity{color:var(--route-text-color,var(--text-main));border-color:var(--route-color,var(--border-subtle))}.detail-leg-route{color:var(--route-text-color,var(--color-primary))}.timeline-item[style] .timeline-node{background:var(--route-color);box-shadow:0 0 0 3px color-mix(in srgb, var(--route-color) 20%, white)}.timeline-connector[style]{background:var(--route-color)}.timeline-expand-rail[style],.timeline-expand-rail[style].is-expanded{border-left-color:var(--route-color)}.timeline-expand-rail[style] .intermediate-stop-dot{border-color:var(--route-color)}.journey-type-banner{border:1px solid;border-radius:10px;align-items:center;gap:.45rem;margin-bottom:.85rem;padding:.55rem .75rem;font-size:.88rem;font-weight:800;line-height:1.4;display:flex}.journey-type-banner svg{flex-shrink:0}.journey-type-banner.is-direct{color:#065f46;background:#ecfdf5;border-color:#a7f3d0}.journey-type-banner.needs-transfer{color:#92400e;background:#fffbeb;border-color:#fde68a}.transfer-summary-header{border-bottom:0;padding-bottom:0}.journey-route-preview{border-bottom:1px solid var(--border-light);flex-wrap:wrap;align-items:center;gap:.4rem;margin:0;padding:.8rem 0;list-style:none;display:flex}.journey-route-preview li{align-items:center;gap:.4rem;min-width:0;max-width:100%;display:flex}.journey-route-chip{color:var(--route-text-color,#0f766e);overflow-wrap:anywhere;order:3;min-width:0;padding:0;font-size:.88rem;font-weight:800;line-height:1.5}.journey-route-change,.journey-preview-destination{color:var(--text-muted);font-size:.8rem}.journey-route-change{flex-shrink:0;font-size:1rem}.journey-route-change.mtr-line-change,.transfer-joiner.mtr-line-change{color:#94a3b8;flex-shrink:0;justify-content:center;align-items:center;font-size:1.2rem;font-weight:400;line-height:1;display:inline-flex}.journey-route-preview .badge-agency{display:contents}.journey-route-preview .transport-icon{flex-shrink:0;order:1}.journey-route-preview .agency-name{color:#64748b;order:4;font-size:.7rem;font-weight:500}.journey-route-preview .mtr-agency .agency-name{order:2;font-weight:600}.journey-transfer-callout{box-sizing:border-box;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;flex-direction:column;gap:.2rem;width:100%;min-width:0;padding:.6rem .7rem;display:flex}.journey-transfer-label{color:#92400e;font-size:.76rem;font-weight:800}.journey-transfer-next{color:#78542c;overflow-wrap:anywhere;font-size:.75rem;line-height:1.5}.compact-route-card .journey-type-banner{border-radius:7px;align-self:flex-start;margin-bottom:.6rem;padding:.25rem .55rem;font-size:.76rem}.compact-route-card .journey-type-banner svg{width:16px;height:16px}.compact-route-card .journey-route-preview{gap:.4rem .55rem;padding:.6rem 0}.compact-route-card .journey-route-preview li{flex-wrap:nowrap;gap:.35rem}.compact-route-card .badge-agency{padding:.12rem .3rem;font-size:.65rem}.compact-endpoints{gap:.45rem;padding:.7rem 0;display:grid}.compact-endpoint{align-items:baseline;gap:.6rem;min-width:0;display:flex}.compact-endpoint-role{color:var(--text-muted);flex-shrink:0;font-size:.72rem}.compact-endpoint-copy{flex-direction:column;gap:.12rem;min-width:0;display:flex}.compact-stop-name{overflow-wrap:anywhere;font-size:.85rem;line-height:1.5}.stop-walk-note{color:var(--text-muted);font-size:.73rem;line-height:1.5;display:block}.compact-route-card .transfer-summary-footer{padding-top:.6rem;font-size:.78rem}.journey-estimate-label{color:var(--text-muted);font-size:.7rem;font-weight:700}.estimate-explanation,.eta-explanation{color:var(--text-muted);font-size:.7rem;line-height:1.5}.eta-explanation{color:#426660;margin:0}.intermediate-stop-copy,.transfer-stop-note{flex-direction:column;gap:.12rem;min-width:0;display:flex}.transfer-stop-name{color:#475569;overflow-wrap:anywhere;font-size:.82rem;line-height:1.5}.results-sort-controls{gap:.5rem;display:grid}.results-sort-options{background:#eaf0f3;border-radius:12px;grid-template-columns:repeat(4,minmax(0,1fr));gap:.3rem;padding:.3rem;display:grid}.results-sort-options button{color:#475569;cursor:pointer;border:1px solid #0000;border-radius:9px;min-height:44px;padding:.35rem .2rem;font-size:.78rem;font-weight:700;line-height:1.4}.results-sort-options button[aria-pressed=true]{color:var(--color-primary);box-shadow:var(--shadow-sm);background:#fff;border-color:#99f6e4}.results-sort-options button:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.results-sort-note{color:var(--text-muted);margin:0;font-size:.73rem;line-height:1.5}.summary-route-card.returned-route-highlight{outline-offset:3px;outline:2px solid #0f766e;animation:2.2s ease-out returned-route-highlight}@keyframes returned-route-highlight{0%{outline-color:#0f766e}to{outline-color:#0000}}@media (prefers-reduced-motion:reduce){.summary-route-card.returned-route-highlight{animation:none}}.light-rail-agency{color:#775000;background:#fff3d6;border-color:#d8ad49}.ferry-ticket-notice{color:#92400e;overflow-wrap:anywhere;background:#fffbeb;border:1px solid #fde68a;border-radius:12px;flex-direction:column;gap:.4rem;margin:.3rem 0 .8rem;padding:.75rem;font-size:.76rem;line-height:1.6;display:flex}.ferry-ticket-notice strong{font-size:.85rem}.ferry-ticket-notice small{font-size:.68rem}.detail-route-header .route-no,.detail-route-header .route-no-chip{overflow-wrap:anywhere;min-width:0;max-width:100%}.ferry-fare-note{color:#475569;overflow-wrap:anywhere;background:#f1f5f9;border-radius:10px;flex-direction:column;gap:.3rem;margin:.3rem 0 .8rem;padding:.65rem;font-size:.74rem;line-height:1.6;display:flex}.detail-map-entry{display:flex}.detail-map-entry .journey-map-open{color:#0f766e;cursor:pointer;background:#f0fdfa;border:1px solid #99f6e4;border-radius:12px;width:100%;min-height:44px;padding:.7rem;font-weight:800}.detail-map-entry button:focus-visible{outline-offset:2px;outline:2px solid #0f766e}.journey-step-select{text-align:left;width:100%;min-height:44px;color:var(--text-main);cursor:pointer;align-items:center;gap:.5rem;font-size:.8rem;font-weight:700;display:flex}.journey-step-letter{background:var(--route-text-color,#0f766e);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:28px;height:28px;display:grid}.journey-step-select:focus-visible{outline-offset:3px;border-radius:8px;outline:2px solid #0f766e}.detail-page-title{color:var(--text-main);margin:0 auto 0 0;font-size:1.05rem;font-weight:800}.results-sort-options{isolation:isolate;border-radius:999px;gap:0;padding:4px;position:relative}.results-sort-options button{z-index:1;border-radius:999px;position:relative}.results-sort-options button[aria-pressed=true]{box-shadow:none;background:0 0;border-color:#0000}.results-sort-thumb{width:calc(25% - 2px);box-shadow:var(--shadow-sm);pointer-events:none;background:#fff;border:1px solid #99f6e4;border-radius:999px;transition:transform .26s cubic-bezier(.2,.7,.3,1);position:absolute;top:4px;bottom:4px;left:4px}.results-slide-next{animation:.26s ease-out results-from-right}.results-slide-previous{animation:.26s ease-out results-from-left}@keyframes results-from-right{0%{opacity:.45;transform:translate(22px)}to{opacity:1;transform:translate(0)}}@keyframes results-from-left{0%{opacity:.45;transform:translate(-22px)}to{opacity:1;transform:translate(0)}}@media (prefers-reduced-motion:reduce){.results-sort-thumb{transition:none}.results-slide-next,.results-slide-previous{animation:none}}.results-header .journey-summary{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:8px;display:grid}.summary-endpoint{align-items:center;gap:6px;min-width:0;display:flex}.summary-endpoint .summary-name{overflow-wrap:anywhere;min-width:0}.summary-endpoint .dot-origin,.summary-endpoint .dot-dest{flex-shrink:0}.summary-destination{text-align:right;justify-content:flex-end}.results-header .summary-arrow{text-align:center}.popular-card{background:var(--bg-card);border-radius:var(--radius-card);border:1px solid var(--border-light);box-shadow:var(--shadow-card);flex-direction:column;gap:.95rem;padding:1.35rem 1.45rem;display:flex}.popular-header{flex-direction:column;gap:.2rem;display:flex}.popular-eyebrow{color:var(--text-muted);letter-spacing:.8px;font-size:.68rem;font-weight:800}.popular-header h3{color:var(--text-main);margin:0;font-size:1.05rem;font-weight:800}.popular-chips{flex-wrap:wrap;gap:.6rem;display:flex}.chip-btn{border:1.5px solid var(--border-light);color:#334155;border-radius:var(--radius-pill);cursor:pointer;background:#f8fafc;align-items:center;gap:.45rem;padding:.5rem .95rem;font-size:.86rem;font-weight:700;transition:all .2s cubic-bezier(.4,0,.2,1);display:inline-flex;box-shadow:0 1px 3px #00000005}.chip-btn:hover{color:var(--color-primary);background:#f0fdf4;border-color:#86efac;transform:translateY(-2px);box-shadow:0 4px 10px #0f766e1f}.chip-btn:active{transform:translateY(0)}.chip-icon{font-size:.95rem}.coming-card{border-radius:var(--radius-card);background:linear-gradient(135deg,#f0fdfa 0%,#e6fffa 100%);border:1.5px dashed #99f6e4;align-items:center;gap:1.1rem;padding:1.25rem 1.4rem;display:flex}.coming-icon{width:44px;height:44px;color:var(--color-primary);background:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:1.3rem;display:flex;box-shadow:0 2px 6px #0f766e1a}.coming-copy{flex-direction:column;gap:.2rem;display:flex}.coming-tag{color:#0f766e;letter-spacing:.8px;font-size:.65rem;font-weight:800}.coming-copy h3{color:#0f766e;margin:0;font-size:.98rem;font-weight:800}.coming-copy p{color:#115e59;margin:0;font-size:.8rem;line-height:1.4}.app-footer{color:var(--text-muted);border-top:1px solid var(--border-light);flex-direction:column;gap:.65rem;margin-top:2rem;padding-top:1.25rem;font-size:.76rem;display:flex}.footer-brand-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.4rem;display:flex}.footer-brand-row strong{color:var(--color-primary);letter-spacing:.5px;font-weight:800}.footer-copyright-row{color:var(--text-placeholder);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;font-size:.72rem;display:flex}.footer-email-link{color:var(--text-muted);font-weight:600;text-decoration:none;transition:color .15s}.footer-email-link:hover{color:var(--color-primary);text-decoration:underline}.error-banner{color:#dc2626;border-radius:var(--radius-md);background:#fef2f2;border:1px solid #fecaca;padding:.75rem 1rem;font-size:.85rem}.pwa-install-banner{color:#fff;z-index:1000;background:#0f172a;border-radius:18px;flex-direction:column;gap:.75rem;max-width:580px;margin:0 auto;padding:.9rem 1.1rem;animation:.3s cubic-bezier(.16,1,.3,1) slideUpBanner;display:flex;position:fixed;bottom:1.25rem;left:1rem;right:1rem;box-shadow:0 16px 36px #00000047,0 0 0 1px #ffffff1a}@keyframes slideUpBanner{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.install-banner-content{align-items:center;gap:.75rem;display:flex}.install-app-icon{background:var(--color-primary);color:#fff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:1.2rem;font-weight:900;display:flex}.install-app-info{flex-direction:column;gap:.15rem;min-width:0;display:flex}.install-app-info strong{color:#fff;font-size:.92rem;font-weight:800}.install-app-info small{color:#94a3b8;font-size:.74rem;line-height:1.35}.install-actions{justify-content:flex-end;align-items:center;gap:.6rem;display:flex}.install-cta-btn{color:#fff;border-radius:var(--radius-pill);cursor:pointer;background:linear-gradient(135deg,#0f766e 0%,#0d9488 100%);padding:.45rem 1rem;font-size:.82rem;font-weight:800;transition:all .15s;box-shadow:0 2px 8px #0d948866}.install-cta-btn:hover{background:#115e59;transform:translateY(-1px)}.install-close-btn{color:#94a3b8;cursor:pointer;background:#ffffff1a;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;font-size:.75rem;transition:background .15s;display:flex}.install-close-btn:hover{color:#fff;background:#fff3}.ios-guide-bubble{color:#cbd5e1;background:#1e293b;border:1px solid #334155;border-radius:12px;flex-direction:column;gap:.5rem;padding:.75rem .85rem;font-size:.78rem;line-height:1.4;display:flex}.ios-guide-step{align-items:baseline;gap:.45rem;display:flex}.step-num{background:var(--color-primary);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;font-size:.65rem;font-weight:800;display:inline-flex}.ios-icon{color:#38bdf8;font-size:.9rem}.language-switcher{align-items:center;gap:8px;margin-left:auto;font-size:13px;display:flex}.topbar>.status-pill{margin-left:12px}.language-switcher select{color:inherit;background:var(--bg-card,#fff);border:1px solid #cbd5e1;border-radius:8px;max-width:150px;padding:8px}@media (width<=600px){.topbar{flex-wrap:wrap;gap:12px}.language-switcher>span{display:none}.status-pill{max-width:100%}}.pwa-map-workspace{isolation:isolate;background:#e8f0f2;height:100dvh;position:fixed;inset:0;overflow:hidden}.pwa-map-workspace>.journey-map-card{box-shadow:none;border:0;border-radius:0;padding:0;display:block;position:absolute;inset:0}.pwa-map-workspace .journey-map-heading{display:none}.pwa-map-workspace .journey-map-frame{border:0;border-radius:0;position:absolute;inset:0}.pwa-map-workspace .journey-map-canvas{height:100%}.pwa-map-workspace .journey-map-overview,.pwa-map-workspace .journey-map-locate{bottom:calc(var(--journey-panel-height,320px) + 30px)}.pwa-map-workspace .maplibregl-ctrl-top-right{top:calc(env(safe-area-inset-top,0px) + 76px)}.pwa-map-workspace .maplibregl-ctrl-bottom-right{bottom:var(--journey-panel-height,320px)}.workspace-map-loading{color:#0f766e;margin:0;padding:1rem}.search-map-viewport,.pwa-map-workspace .route-detail-page{pointer-events:none;margin:0;padding:0;position:absolute;inset:0}.workspace-search-sheet,.pwa-map-workspace .journey-bottom-panel{z-index:10;pointer-events:auto;background:var(--bg-card);max-height:none;padding-bottom:env(safe-area-inset-bottom,0px);border-radius:24px 24px 0 0;flex-direction:column;display:flex;position:absolute;bottom:0;left:0;right:0;overflow:hidden;box-shadow:0 -6px 30px #0f172a1c}.workspace-sheet-handle{color:#64748b;touch-action:none;-webkit-user-select:none;user-select:none;cursor:ns-resize;flex-shrink:0;justify-content:center;align-items:center;gap:.5rem;min-height:44px;padding:14px .75rem 4px;font-size:.7rem;font-weight:600;display:flex;position:relative}.workspace-drag-bar{background:#cbd5e1;border-radius:8px;width:40px;height:4px;position:absolute;top:7px;left:calc(50% - 20px)}.workspace-sheet-handle:focus-visible{outline-offset:-4px;border-radius:20px;outline:2px solid #0f766e}.is-dragging .workspace-drag-bar{background:#0f766e}.search-sheet-content{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;width:100%;max-width:none;min-height:0;margin:0;padding:0 1rem 2rem;overflow:auto}.search-sheet-content .hero,.search-sheet-content .status-pill{display:none}.search-sheet-content .app-footer{margin-top:1rem}.pwa-map-workspace .detail-nav-bar{z-index:3;top:calc(env(safe-area-inset-top,0px) + 82px);pointer-events:auto;background:#fffffff0;border-radius:12px;width:fit-content;max-width:calc(100% - 76px);padding:.5rem .65rem;position:absolute;left:12px;right:64px}.pwa-map-workspace .detail-page-title{font-size:.8rem}.pwa-map-workspace .detail-page-tag{padding:.25rem .5rem;font-size:.65rem}.journey-sheet-summary{border-bottom:1px solid #f1f5f9;flex-shrink:0;padding:.15rem 1rem .75rem}.journey-sheet-metrics{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.journey-sheet-metrics>div{flex-direction:column;gap:.15rem;display:flex}.journey-sheet-metrics>div:last-child{text-align:right}.journey-sheet-metrics span{color:#64748b;font-size:.65rem}.journey-sheet-metrics strong{color:#0f172a;font-size:1.5rem;line-height:1.2}.journey-sheet-metrics>div:last-child strong{font-size:1.25rem}.journey-sheet-endpoints{color:#64748b;flex-wrap:wrap;align-items:center;gap:.3rem;margin:.4rem 0 0;font-size:.72rem;display:flex}.journey-sheet-endpoints small{white-space:nowrap;margin-left:auto}.journey-sheet-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;min-height:0;padding:.5rem 1rem 1.5rem;overflow:auto}.journey-itinerary{margin:0;padding:0;list-style:none}.journey-itinerary-step{border-radius:14px;padding:.4rem .4rem .6rem;position:relative}.journey-itinerary-step.is-map-selected{background:#f0fdfa;box-shadow:inset 0 0 0 1px #99f6e4}.journey-itinerary-step .journey-step-select{gap:.65rem;margin:0;padding:.15rem 0}.journey-step-heading{flex-direction:column;flex:1;gap:.2rem;min-width:0;display:flex}.journey-step-heading small{color:#64748b;font-size:.67rem;font-weight:500}.journey-step-heading strong{color:#0f172a;font-size:.96rem;line-height:1.4}.journey-step-target{color:#0f766e;margin-left:auto;font-size:1rem}.journey-step-details{border-left:2px solid var(--route-text-color,#99d5ce);gap:.45rem;margin-left:13px;padding:.4rem 0 .2rem 1.25rem;display:grid}.journey-itinerary-step:last-child .journey-step-details{border-left-color:#0000}.journey-leg-identity{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.journey-leg-identity>strong{color:var(--route-text-color,#0f766e);font-size:.95rem}.journey-leg-identity .badge-agency{font-size:.65rem}.journey-leg-meta{color:#64748b;flex-wrap:wrap;gap:.25rem .5rem;margin:0;font-size:.7rem;line-height:1.5;display:flex}.journey-walk-row{color:#64748b;align-items:center;gap:.4rem;margin:0;font-size:.72rem;display:flex}.journey-step-details .timeline-expand-rail{border:0;margin:0;padding:0}.journey-step-details .intermediate-toggle-btn{min-height:36px;padding:.35rem .6rem;font-size:.68rem}.detail-eta-panel[data-compact=true]{background:#f0fdfa;border-color:#ccfbf1;border-radius:12px;margin:0;padding:.55rem .65rem}.detail-eta-panel[data-compact=true] .detail-eta-title{font-size:.7rem}.detail-eta-panel[data-compact=true] .eta-refresh-btn{min-height:32px;padding:.2rem .5rem;font-size:.65rem}.detail-eta-panel[data-compact=true] .live-eta-chips{margin-top:.3rem}.detail-eta-panel[data-compact=true] .live-eta-chip{color:#0f766e;box-shadow:none;background:0 0;border:0;padding:0;font-size:.8rem}.detail-eta-panel[data-compact=true] .eta-order{font-size:.65rem}.detail-eta-panel[data-compact=true] .live-eta-muted{font-size:.7rem}.eta-more-btn{color:#0f766e;cursor:pointer;min-height:32px;margin-left:auto;font-size:.65rem;display:block}.journey-fare-details{border-top:1px solid #e2e8f0;padding-top:.7rem;font-size:.75rem}.journey-fare-details summary{color:#0f766e;cursor:pointer;align-content:center;min-height:40px;font-weight:700}.journey-fare-details>:not(summary){margin-top:.6rem}.journey-estimate-note{color:#64748b;font-size:.7rem}@media (width>=800px){.workspace-search-sheet,.pwa-map-workspace .journey-bottom-panel{border-radius:24px;width:480px;bottom:12px;left:16px;right:auto}}.search-map-viewport[hidden]{display:none}.search-sheet-content input{font-size:16px}.workspace-topbar{z-index:20;top:calc(env(safe-area-inset-top,0px) + 10px);background:#fffffff0;border:1px solid #ffffffb3;border-radius:16px;flex-wrap:nowrap;gap:8px;max-width:640px;min-height:54px;margin:0 auto;padding:6px 10px;display:flex;position:absolute;left:12px;right:12px;box-shadow:0 2px 12px #0f172a12}.workspace-topbar .brand{gap:.5rem;min-width:0}.workspace-topbar .brand-icon{width:32px;height:32px}.workspace-topbar .brand-copy strong{white-space:nowrap;font-size:1rem}.workspace-topbar .brand-copy small{white-space:nowrap;font-size:.58rem}.workspace-topbar .language-switcher{flex-shrink:0;margin-left:auto}.workspace-topbar .language-switcher>span{display:none}.workspace-topbar .language-switcher select{max-width:130px;min-height:38px;padding:6px;font-size:16px}.workspace-topbar .detail-back-btn{color:#0f766e;width:36px;min-width:36px;height:36px;box-shadow:none;background:#f0fdfa;flex-shrink:0;position:static}.workspace-search-sheet,.journey-bottom-panel{touch-action:pan-y}.workspace-sheet-handle{min-height:30px;padding:0}.workspace-drag-bar{top:12px}.journey-sheet-license{color:#64748b;align-content:center;min-height:44px;font-size:.7rem;display:inline-block}html,body{background-color:#f4f5f0}@media (width<=359px){.workspace-topbar .brand-copy small{display:none}.workspace-topbar:has(.detail-back-btn) .brand-copy{display:none}}.pwa-map-workspace .journey-map-feedback{top:calc(env(safe-area-inset-top,0px) + 126px)}.workspace-topbar,.pwa-map-workspace ul.suggestions-dropdown{touch-action:pan-y}.search-map-viewport>ul.suggestions-dropdown{pointer-events:auto}.workspace-plan-route.primary-search-submit{z-index:15;bottom:calc(var(--journey-panel-height,320px) + 30px);border-radius:999px;width:auto;min-height:44px;margin:0;padding:.5rem .75rem;font-size:.8rem;transition:background-color .15s,box-shadow .15s;position:absolute;left:132px;right:72px}.workspace-plan-route.primary-search-submit:hover,.workspace-plan-route.primary-search-submit:active{transform:none}.journey-step-letter{border:2px solid #fff;width:18px;height:18px;margin:5px;box-shadow:0 0 0 1px #cbd5e1}@media (width>=1024px){.pwa-map-workspace{--desktop-panel-width:clamp(360px, 28vw, 420px)}.pwa-map-workspace .workspace-topbar{width:var(--desktop-panel-width);max-width:none;min-height:60px;margin:0;padding:10px 12px;top:16px;left:16px;right:auto}.pwa-map-workspace .workspace-search-sheet,.pwa-map-workspace .journey-bottom-panel{width:var(--desktop-panel-width);border-radius:20px;inset:88px auto 16px 16px;box-shadow:0 8px 32px #0f172a24;height:auto!important}.pwa-map-workspace .workspace-sheet-handle{display:none}.pwa-map-workspace .search-sheet-content{scrollbar-width:thin;gap:20px;padding:20px 16px}.pwa-map-workspace .search-map-viewport:not(:has([data-results-scroll])) .search-sheet-content{padding-bottom:92px}.pwa-map-workspace .search-card{box-shadow:none;border:0;border-radius:0;padding:0}.pwa-map-workspace .search-card-topbar{margin-bottom:16px}.pwa-map-workspace .search-inputs-container{border-radius:20px;padding:12px}.pwa-map-workspace .search-fields-body{min-width:0}.pwa-map-workspace .search-sheet-content .app-footer{margin-top:auto;padding-top:16px;font-size:12px}.pwa-map-workspace .footer-brand-row,.pwa-map-workspace .footer-copyright-row{flex-wrap:wrap;gap:8px;display:flex}.pwa-map-workspace .footer-brand-row>span{display:none}.pwa-map-workspace .workspace-plan-route{width:calc(var(--desktop-panel-width) - 32px);min-height:48px;font-size:15px;bottom:32px;left:32px;right:auto}.pwa-map-workspace .journey-map-overview{left:calc(var(--desktop-panel-width) + 40px);bottom:24px}.pwa-map-workspace .journey-map-locate{bottom:24px;right:24px}.pwa-map-workspace .maplibregl-ctrl-top-right{top:24px;right:24px}.pwa-map-workspace .maplibregl-ctrl-bottom-right{bottom:0}.pwa-map-workspace .detail-nav-bar{left:calc(var(--desktop-panel-width) + 40px);max-width:calc(100% - var(--desktop-panel-width) - 140px);top:24px}.pwa-map-workspace .journey-sheet-summary{padding:20px 20px 16px}.pwa-map-workspace .journey-sheet-body{scrollbar-width:thin;padding:12px 16px 20px}.pwa-map-workspace .place-search-screen{width:var(--desktop-panel-width);border-radius:20px;padding:12px;inset:88px auto 16px 16px;box-shadow:0 8px 32px #0f172a24}.pwa-map-workspace .results-header h2{font-size:24px}.pwa-map-workspace .results-sort-options button{padding:10px 4px;font-size:13px}}.workspace-journey-edit{cursor:pointer;text-align:left;flex:1;min-width:0;padding:0}.workspace-route-header .journey-summary{box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:8px;padding:4px 0;font-size:14px;display:grid}.workspace-route-header .summary-name{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.4;display:-webkit-box;overflow:hidden}.workspace-route-header .summary-arrow{text-align:center}.workspace-journey-edit:focus-visible{outline-offset:4px;border-radius:8px;outline:2px solid #0f766e}.workspace-sheet-controls{flex-shrink:0;position:relative}.workspace-sheet-controls:has(.sheet-close-btn){min-height:44px}.workspace-sheet-controls:has(.sheet-close-btn) .workspace-sheet-handle{min-height:44px}.sheet-close-btn{z-index:2;color:#475569;cursor:pointer;background:#f1f5f9;border-radius:50%;place-items:center;width:36px;height:36px;display:grid;position:absolute;top:4px;right:12px}.sheet-close-btn:hover{background:#e2e8f0}.sheet-close-btn:focus-visible{outline-offset:2px;outline:2px solid #0f766e}.workspace-sheet-toolbar{border-bottom:1px solid #f1f5f9;flex-shrink:0;padding:0 16px 12px}.workspace-sheet-toolbar .results-sort-options{margin:0}.search-sheet-content:has(.results-container){padding-top:12px}.search-sheet-content .results-container{margin-top:0}@media (width>=1024px){.workspace-sheet-toolbar{padding-bottom:16px}.pwa-map-workspace .journey-sheet-summary{padding-top:0}}.results-container{touch-action:pan-y}.settings-trigger{color:#0f766e;cursor:pointer;background:#f0fdfa;border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;margin-left:auto;display:grid}.settings-trigger:focus-visible,.settings-back:focus-visible{outline-offset:2px;outline:2px solid #0f766e}.settings-page{z-index:4000;padding:calc(env(safe-area-inset-top,0px) + 20px) 20px 32px;touch-action:pan-y;background:#f8fafc;position:absolute;inset:0;overflow:auto}.settings-page-heading,.settings-card{max-width:560px;margin:0 auto}.settings-page-heading{align-items:center;gap:12px;margin-bottom:24px;display:flex}.settings-page-heading h1{margin:0;font-size:24px}.settings-back{color:#0f766e;cursor:pointer;background:#fff;border-radius:50%;place-items:center;width:44px;height:44px;font-size:32px;display:grid}.settings-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:20px}.settings-card .language-switcher{justify-content:space-between;align-items:center;gap:16px;width:100%;display:flex}.settings-card .language-switcher>span{font-size:16px;font-weight:700}.settings-card .language-switcher select{border:1px solid #cbd5e1;border-radius:12px;padding:10px 12px;font-size:16px}.detail-eta-panel[data-compact=true]{background:#f0fdfa;padding:12px}.detail-eta-panel[data-compact=true] .detail-eta-header{margin-bottom:10px}.detail-eta-panel[data-compact=true] .live-eta-chips{gap:8px;display:grid}.detail-eta-panel[data-compact=true] .live-eta-chip{color:#334155;background:#ffffffa6;border-radius:12px;gap:6px;padding:10px 12px;display:grid}.detail-eta-panel[data-compact=true] .live-eta-chip.is-next{background:#fff;border:1px solid #b5eadc}.eta-arrival-main{justify-content:space-between;align-items:baseline;gap:8px;width:100%;display:flex}.eta-countdown{flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:5px;display:flex}.detail-eta-panel[data-compact=true] .live-eta-chip.is-next strong{color:#047857;font-size:24px;line-height:1.3}.detail-eta-panel[data-compact=true] .eta-order{color:#64748b;flex-shrink:0;font-size:12px}.detail-eta-panel[data-compact=true] .eta-countdown-caption{color:#64748b;font-size:12px}.detail-eta-panel[data-compact=true] .eta-rmk{color:#64748b;overflow-wrap:anywhere;font-size:12px;line-height:1.5;display:block}.detail-eta-panel[data-compact=true] .eta-more-btn{border-top:1px solid #cdece4;justify-content:space-between;align-items:center;width:100%;margin:10px 0 0;padding:8px 2px 0;font-size:12px;display:flex}.eta-more-count{background:#d9f5eb;border-radius:999px;padding:2px 8px;font-weight:700}@media (width<=1023px){.workspace-plan-route.primary-search-submit{left:16px;right:72px}}.settings-card .language-switcher{grid-template-columns:minmax(0,1fr) auto;display:grid}.settings-card .language-switcher>span{display:block}.settings-card .language-switcher select{justify-self:end}.journey-step-row{align-items:center;gap:6px;display:flex}.journey-step-row .journey-step-select{flex:1;width:auto;min-width:0}.journey-step-row .journey-step-target{color:#0f766e;text-align:center;flex-shrink:0;width:12px;margin-left:0;font-size:14px}.eta-info-btn{color:#8793a3;cursor:pointer;background:0 0;flex-shrink:0;place-items:center;width:32px;height:36px;display:grid}.eta-info-btn>span{font-size:18px;font-weight:400}.eta-info-btn:focus-visible{outline-offset:2px;outline:2px solid #0f766e}@media (width<=1023px){.journey-map-card .maplibregl-ctrl-top-right .maplibregl-ctrl-group{display:none}}.journey-map-legend{z-index:3;left:12px;bottom:calc(var(--journey-panel-height,320px) + 86px);color:#475569;pointer-events:none;background:#fffffff0;border:1px solid #e2e8f0;border-radius:10px;gap:4px;max-width:calc(100% - 24px);padding:7px 10px;font-size:11px;line-height:1.5;display:grid;position:absolute;box-shadow:0 2px 8px #0f172a12}.journey-map-legend>span{align-items:center;gap:7px;display:flex}.journey-map-legend small{color:#92400e}.ride-line-swatch,.walk-line-swatch{border-top:4px solid #0f766e;border-radius:2px;flex-shrink:0;width:22px;display:inline-block}.walk-line-swatch{border-top:3px dashed #0d9488}@media (width>=1024px){.journey-map-legend{left:calc(var(--desktop-panel-width) + 40px);max-width:calc(100% - var(--desktop-panel-width) - 100px);bottom:82px}}.schematic-line-swatch{opacity:.6;border-top:3px dashed #64748b;flex-shrink:0;width:22px;display:inline-block}
