:root{color:#20262b;font-synthesis:none;text-rendering:optimizelegibility;--ink:#20262b;--muted:#67727a;--paper:#fcfbf8;--paper-strong:#fff;--line:#dedbd5;--red:#e30613;--red-deep:#b3000c;--red-soft:#fff0f1;--navy:#17324d;--blue-soft:#edf3f6;--green:#2b725d;--shadow:0 18px 50px #252c311a;background:#f5f3ef;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}html{background:#f5f3ef;min-width:320px}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}body:before{content:"";background:linear-gradient(90deg, var(--red) 0 82%, var(--navy) 82%);z-index:100;height:7px;position:fixed;inset:0 0 auto}button,input,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #e3061347}button,summary,select{-webkit-tap-highlight-color:transparent}h1,h2,h3,p{margin-top:0}#root{min-height:100vh}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.app-shell,.onboarding-shell{width:min(100%,760px);min-height:100vh;padding:max(28px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(34px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));margin:0 auto}.app-header,.onboarding-header{justify-content:space-between;align-items:center;gap:20px;margin:18px 2px 30px;display:flex}.app-header h1,.onboarding-header h1{letter-spacing:-.055em;margin:2px 0 0;font-size:clamp(1.85rem,7vw,2.65rem);line-height:1}.eyebrow{color:var(--red-deep);letter-spacing:.09em;text-transform:uppercase;font-size:.76rem;font-weight:780;line-height:1.2}.icon-button{border:1px solid var(--line);background:var(--paper);cursor:pointer;border-radius:50%;flex:none;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 7px 18px #252c3112}.icon-button:hover{color:var(--red-deep);border-color:#e3a7ab}.brand-mark{color:#fff;background:var(--red);border-radius:22px;place-items:center;width:68px;height:68px;display:grid;box-shadow:0 12px 30px #b3000c2e}.brand-mark svg{width:36px;height:36px}.brand-mark.small{border-radius:18px;flex:none;width:54px;height:54px}.brand-mark.small svg{width:28px}.route-heading{border:1px solid var(--line);background:#fffdf9db;border-radius:24px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:15px;padding:18px;display:grid}.line-badge{color:#fff;background:var(--red);letter-spacing:-.03em;border-radius:18px;place-items:center;min-width:62px;height:62px;padding:0 12px;font-size:1.15rem;font-weight:850;display:grid}.line-badge.small{border-radius:14px;min-width:50px;height:50px;font-size:1rem}.route-heading p{color:var(--muted);margin:0 0 3px;font-size:.88rem}.route-heading h2{letter-spacing:-.025em;margin:0;font-size:clamp(1.05rem,4vw,1.35rem);line-height:1.2}.route-heading small{color:var(--muted);margin-top:4px;display:block}.refresh-button{width:44px;height:44px;color:var(--red-deep);background:var(--red-soft);cursor:pointer;border:1px solid #f1cace;border-radius:13px;place-items:center;padding:0;transition:background .15s,border-color .15s;display:grid}.refresh-button:hover{background:#ffe4e7;border-color:#e6a5a9}.refresh-button:active{background:#ffd5d9}.refresh-button svg{stroke-width:2px;width:21px;height:21px}.refresh-button:disabled{cursor:progress}.refresh-button.is-loading svg{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.favorite-tabs{scrollbar-width:none;gap:9px;margin:0 0 12px;padding:4px 2px 6px;display:flex;overflow-x:auto}.favorite-tabs::-webkit-scrollbar{display:none}.favorite-tabs button{border:1px solid var(--line);background:var(--paper);text-align:left;cursor:pointer;border-radius:15px;min-width:max-content;min-height:54px;padding:9px 14px;font-weight:780}.favorite-tabs button small{color:var(--muted);margin-top:2px;font-size:.7rem;font-weight:550;display:block}.favorite-tabs button.is-active{color:#fff;border-color:var(--red);background:var(--red)}.favorite-tabs button.is-active small{color:#fff0f1}.status-banner{border-radius:14px;margin:10px 0;padding:13px 15px;font-size:.9rem;line-height:1.4}.status-banner.warning{color:#74420b;background:#fff0ce}.status-banner.offline{color:#56515a;background:#eee9e2}.stale-label{color:#7d4a15;text-transform:uppercase;letter-spacing:.05em;background:#fff0ce;border-radius:99px;margin:2px 0 8px;padding:5px 9px;font-size:.72rem;font-weight:800;display:inline-flex}.service-alert{background:var(--red-soft);border:1px solid #efbcc0;border-radius:15px;margin:0 0 12px;padding:14px 16px}.service-alert summary{cursor:pointer;font-weight:750}.service-alert p{color:#4a5055;margin:10px 0 0;line-height:1.5}.departure-list{gap:12px;display:grid}.departure-card{border:1px solid var(--line);background:var(--paper-strong);border-radius:24px;position:relative;overflow:hidden;box-shadow:0 8px 25px #252c310e}.departure-card:before{content:"";background:#d7d9da;width:5px;position:absolute;inset:0 auto 0 0}.departure-card.is-recommended{box-shadow:var(--shadow);border-color:#e3061361}.departure-card.is-recommended:before{background:linear-gradient(var(--red), #b3000c);width:7px}.departure-card.is-tight{opacity:.73}.departure-card .recommendation{color:var(--red-deep);margin-left:auto;font-weight:800}.departure-card.is-recommended footer{background:var(--red-soft);border-color:#fae1e2}.departure-main{grid-template-columns:minmax(105px,auto) 1fr;align-items:center;gap:18px;padding:19px 20px 17px 24px;display:grid}.time-block time{letter-spacing:-.06em;font-variant-numeric:tabular-nums;font-size:clamp(2rem,11vw,3rem);font-weight:820;line-height:.95;display:block}.time-block span{color:var(--navy);background:var(--blue-soft);border-radius:99px;margin-top:9px;padding:4px 9px;font-size:.8rem;font-weight:780;display:inline-block}.leave-block{gap:3px;min-width:0;display:grid}.leave-block strong{letter-spacing:-.025em;font-size:clamp(1rem,4.4vw,1.25rem);line-height:1.18;display:block}.leave-times{gap:3px;display:grid}.leave-block small{color:var(--muted);font-size:.76rem;line-height:1.35;display:block}.departure-card footer{color:var(--muted);border-top:1px solid #eee8e1;flex-wrap:wrap;align-items:center;gap:9px 14px;padding:11px 18px 12px 24px;font-size:.73rem;display:flex}.departure-card footer span{align-items:center;gap:6px;display:inline-flex}.live-dot:before,.plan-dot:before{content:"";background:var(--green);border-radius:50%;width:7px;height:7px}.plan-dot:before{background:#a47e43}.skeleton{background:linear-gradient(105deg,#f1ebe4 25%,#faf7f2 40%,#f1ebe4 55%) 0 0/250% 100%;height:144px;animation:1.3s infinite shimmer}@keyframes shimmer{to{background-position-x:-250%}}.empty-departures{text-align:center;background:#ffffff8c;border:1px dashed #d0d4d7;border-radius:24px;padding:35px 24px}.empty-departures svg{width:34px;height:34px;color:var(--red-deep)}.empty-departures h3{margin:12px 0 6px}.empty-departures p{max-width:430px;color:var(--muted);margin:0 auto;line-height:1.5}.last-updated{color:var(--muted);text-align:center;margin:16px 5px 0;font-size:.75rem}.last-updated small{font-size:inherit;margin-left:6px}.last-updated small:before{content:"·";margin-right:6px}.app-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:16px;margin:34px 4px 0;padding-top:18px;font-size:.74rem;display:flex}.app-footer button{min-height:38px;color:var(--red-deep);cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-weight:720}.onboarding-shell{flex-direction:column;justify-content:center;display:flex}.onboarding-header{justify-content:flex-start;width:100%;max-width:580px;margin:10px auto 26px}.onboarding-header p{color:var(--muted);margin:7px 0 0;line-height:1.4}.connection-form{border:1px solid var(--line);background:var(--paper);width:100%;max-width:580px;box-shadow:var(--shadow);border-radius:28px;margin:0 auto;padding:24px}.step-dots{grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:28px;display:grid}.step-dots span{background:#e6ddd4;border-radius:99px;height:4px}.step-dots span.is-active{background:var(--red)}.step-heading{margin-bottom:23px}.step-heading h2{letter-spacing:-.045em;margin:7px 0 6px;font-size:clamp(1.55rem,6vw,2rem)}.step-heading p{color:var(--muted);margin:0;line-height:1.45}.field-label{margin:0 0 8px;font-size:.84rem;font-weight:760;display:block}select,input[type=search]{width:100%;min-height:54px;color:var(--ink);background:#fff;border:1px solid #c9c8c5;border-radius:14px;padding:0 15px;font-size:1rem}select:focus,input[type=search]:focus{border-color:var(--red)}.primary-button,.secondary-button,.text-button{cursor:pointer;border-radius:14px;min-height:50px;font-weight:760}.primary-button{color:#fff;background:var(--red);border:0;justify-content:center;align-items:center;gap:8px;width:100%;margin-top:19px;padding:0 18px;display:inline-flex}.primary-button:hover{background:var(--red-deep)}.primary-button:disabled{opacity:.4;cursor:not-allowed}.primary-button svg{width:19px}.secondary-button{width:100%;color:var(--red-deep);background:#fff;border:1px solid #e3a7ab;justify-content:center;align-items:center;gap:8px;padding:0 16px;display:flex}.secondary-button svg{width:20px}.text-button{color:var(--red-deep);background:0 0;border:0;padding:0 8px}.search-results{gap:7px;max-height:min(42vh,370px);margin-top:10px;display:grid;overflow-y:auto}.search-results button{border:1px solid var(--line);text-align:left;cursor:pointer;background:#fff;border-radius:13px;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;min-height:60px;padding:10px 12px;display:grid}.search-results button:hover{background:#fff7f7;border-color:#e3a7ab}.search-results button>svg:first-child{color:var(--red-deep)}.search-results button>svg:last-child{color:#a292a4;width:18px}.search-results button span{font-weight:690}.search-results button small{color:var(--muted);margin-top:3px;font-size:.72rem;font-weight:500;display:block}.empty-search{color:var(--muted);text-align:center;padding:22px 13px;line-height:1.5}.direction-options{border:0;gap:10px;margin:0;padding:0;display:grid}.direction-options label{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:15px;align-items:center;gap:12px;min-height:76px;padding:14px;display:flex}.direction-options label.is-selected{border-color:var(--red);background:var(--red-soft);box-shadow:inset 0 0 0 1px var(--red)}.direction-options input{width:20px;height:20px;accent-color:var(--red)}.direction-options span{flex-direction:column;display:flex}.direction-options small{color:var(--muted);font-size:.72rem}.direction-options strong{margin-top:2px}.direction-options em{color:var(--muted);margin-top:4px;font-size:.74rem;font-style:normal}.button-row{justify-content:flex-end;align-items:center;gap:7px;margin-top:18px;display:flex}.button-row .primary-button{flex:1;width:auto;margin:0}.number-fields{gap:13px;display:grid}.number-fields>label{border:1px solid var(--line);background:#fff;border-radius:15px;justify-content:space-between;align-items:center;gap:14px;min-height:64px;padding:10px 12px 10px 15px;font-weight:700;display:flex}.number-control{grid-template-columns:36px 40px 30px 36px;align-items:center;display:grid}.number-control button{width:34px;height:34px;color:var(--red-deep);cursor:pointer;background:#faf9f7;border:1px solid #d4d1cc;border-radius:10px;font-size:1.3rem}.number-control input{text-align:center;-moz-appearance:textfield;background:0 0;border:0;width:40px;padding:0;font-weight:800}.number-control input::-webkit-inner-spin-button{appearance:none}.number-control small{color:var(--muted);font-size:.7rem}.selection-summary{background:#f1ebe4;border-radius:14px;align-items:center;gap:11px;margin-top:17px;padding:13px;display:flex}.selection-summary svg{color:var(--red-deep)}.selection-summary span{flex-direction:column;min-width:0;display:flex}.selection-summary small{color:var(--muted);margin-top:3px}.data-credit{max-width:580px;color:var(--muted);text-align:center;margin:18px auto 0;font-size:.7rem}.center-state{text-align:center;place-content:center;justify-items:center;min-height:100vh;padding:28px;display:grid}.center-state h1{letter-spacing:-.05em;margin:20px 0 8px;font-size:2rem}.center-state p{color:var(--muted)}.center-state .primary-button{width:auto}.loading-line{background:#ebe2e2;border-radius:99px;width:150px;height:4px;overflow:hidden}.loading-line:before{content:"";border-radius:inherit;background:var(--red);width:45%;height:100%;animation:1s ease-in-out infinite alternate load;display:block}@keyframes load{to{transform:translate(125%)}}.trip-switch{isolation:isolate;touch-action:pan-y;background:#ece7e0;border:1px solid #e3dbd1;border-radius:17px;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;min-height:54px;margin:0 0 12px;padding:4px;display:grid;position:relative}.trip-switch:before{content:"";z-index:-1;background:var(--red-deep);border-radius:12px;width:calc(50% - 5px);transition:transform .2s ease-out;position:absolute;top:4px;bottom:4px;left:4px;box-shadow:0 2px 6px #80161e33}.trip-switch-right:before{transform:translate(calc(100% + 2px))}.trip-switch label{color:#4b4542;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:12px;font-size:.96rem;font-weight:780;display:grid;position:relative}.trip-switch input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.trip-switch span{border-radius:inherit;place-items:center;padding:7px 4px;display:grid}.trip-switch input:checked+span{color:#fff}.trip-switch input:focus-visible+span{outline:2px solid var(--navy);outline-offset:3px}.onboarding-shell .trip-switch{margin-inline:auto;width:min(100%,580px);margin-bottom:16px}.u3-badge{background:#a63c00}.journey-details{background:#fff8f1;border:1px solid #ecd7c6;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:0 0 12px;padding:11px 13px;display:grid}.journey-details strong{font-size:.94rem;line-height:1.24;display:block}.journey-details p{color:#625750;margin:3px 0 0;font-size:.75rem;line-height:1.32}.journey-details p span{white-space:nowrap}.journey-duration{color:#803405;white-space:nowrap;background:#f7e5d4;border-radius:10px;justify-items:center;gap:2px;padding:5px 8px;display:grid}.journey-duration b{font-size:.86rem}.journey-duration small{font-size:.66rem}.modal-backdrop{z-index:90;padding:18px 18px max(18px, calc(env(safe-area-inset-bottom) + 8px));-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#211b296b;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.modal{background:var(--paper);border-radius:28px 28px 22px 22px;width:min(100%,620px);max-height:min(90vh,820px);padding:20px;animation:.22s ease-out rise;overflow-y:auto;box-shadow:0 26px 80px #211b2947}@keyframes rise{0%{opacity:0;transform:translateY(18px)}}.modal-header{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}.modal-header h2{letter-spacing:-.03em;margin:0;font-size:1.35rem}.modal .connection-form{box-shadow:none;border:0;padding:5px 0 0}.settings-list{gap:12px;display:grid}.favorite-item{border:1px solid var(--line);background:#fff;border-radius:18px;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:17px;display:grid;position:relative}.favorite-copy{flex-direction:column;min-width:0;display:flex}.favorite-copy span,.favorite-copy small{color:var(--muted);margin-top:3px;font-size:.8rem}.favorite-actions{flex-wrap:wrap;grid-column:1/-1;gap:7px;padding-top:5px;display:flex}.favorite-actions button{min-height:36px;color:var(--red-deep);cursor:pointer;background:#faf9f7;border:1px solid #d8d4cf;border-radius:10px;padding:0 10px;font-size:.74rem;font-weight:700}.favorite-actions button.danger{color:#a0392d;background:#fff7f6;border-color:#efcdc8}.main-label{color:var(--red-deep);background:var(--red-soft);text-transform:uppercase;border-radius:99px;padding:4px 7px;font-size:.62rem;font-weight:780;position:absolute;top:12px;right:12px}.install-help{padding:10px 8px 18px}.share-symbol{width:60px;height:60px;color:var(--red-deep);background:var(--red-soft);border-radius:19px;place-items:center;margin:0 auto 20px;font-size:2rem;font-weight:700;display:grid}.install-help ol{gap:12px;padding-left:23px;line-height:1.5;display:grid}.install-help p{color:var(--muted);background:#f1ebe4;border-radius:14px;margin:20px 0 0;padding:14px;line-height:1.5}@media (width>=720px){.app-shell{padding-top:48px}.departure-list{grid-template-columns:repeat(3,1fr);align-items:stretch}.departure-card{flex-direction:column;display:flex}.departure-main{flex:1;grid-template-columns:1fr;align-content:start;gap:20px}.time-block time{font-size:2.7rem}.departure-card footer{margin-top:auto}.modal-backdrop{align-items:center}.modal{border-radius:28px}}@media (width<=719px){.app-shell{padding:max(11px, calc(env(safe-area-inset-top) + 7px)) max(12px, env(safe-area-inset-right)) max(8px, calc(env(safe-area-inset-bottom) + 5px)) max(12px, env(safe-area-inset-left))}.app-header{gap:8px;margin:0 1px 9px}.app-header h1{font-size:clamp(1.48rem,6.6vw,2rem)}.app-header .icon-button{width:44px;height:44px}.trip-switch{margin-bottom:8px}.route-heading{border-radius:17px;gap:9px;margin-bottom:7px;padding:8px 9px}.route-heading p{margin-bottom:2px;font-size:.75rem}.route-heading h2{font-size:clamp(.94rem,4vw,1.14rem)}.route-heading small{margin-top:2px;font-size:.7rem}.route-heading .line-badge{border-radius:12px;min-width:42px;height:44px;padding:0 7px;font-size:1.04rem}.journey-details{gap:7px;margin-bottom:7px;padding:7px 9px}.journey-details strong{font-size:.86rem}.journey-details p{font-size:.7rem}.departure-list{gap:7px}.departure-card{border-radius:16px}.departure-card.is-recommended:before{width:5px}.departure-main{grid-template-columns:minmax(67px,auto) minmax(0,1fr);gap:10px;padding:6px 8px 4px 12px}.time-block time{font-size:clamp(1.54rem,7vw,2rem)}.time-block span{margin-top:4px;padding:2px 6px;font-size:.67rem;line-height:1.25}.leave-block{gap:2px}.leave-block strong{font-size:clamp(.88rem,3.8vw,1.05rem)}.leave-times{flex-wrap:wrap;gap:2px 6px;display:flex}.leave-times:empty{display:none}.leave-block small{white-space:nowrap;font-size:.71rem}.departure-card footer{gap:3px 8px;padding:2px 9px 4px 12px;font-size:.66rem}.live-dot:before,.plan-dot:before{width:6px;height:6px}.last-updated{margin-top:7px;font-size:.69rem}.app-footer{align-items:center;gap:8px;margin:8px 1px 0;padding-top:2px;font-size:.66rem}.app-footer button{min-height:32px}.skeleton{height:78px}}@media (width<=390px){.onboarding-shell{padding-left:14px;padding-right:14px}.connection-form{border-radius:23px;padding:20px 16px}.number-fields>label{flex-direction:column;align-items:flex-start}.number-control{grid-template-columns:40px 1fr 34px 40px;align-self:stretch}.button-row{flex-wrap:wrap}.button-row .primary-button{flex-basis:100%;order:-1}}@media (width<=719px) and (height<=620px){.app-shell{padding-bottom:max(4px, calc(env(safe-area-inset-bottom) + 5px))}.app-header{margin-bottom:6px}.route-heading,.journey-details{padding-block:4px}.departure-list{gap:6px}.last-updated,.app-footer{margin-top:5px}.app-footer button{min-height:28px}}@media (width<=719px) and (height>=700px){.app-header{margin-bottom:14px}.trip-switch,.route-heading,.journey-details{margin-bottom:10px}.route-heading,.journey-details{padding-block:10px}.departure-list{gap:9px}.departure-main{padding:10px 10px 8px 14px}.departure-card footer{padding:4px 10px 6px 14px;font-size:.73rem}.leave-block small{font-size:.76rem}.app-footer button{min-height:38px}}@media (width>=720px){.departure-list.has-four-departures{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=719px){.departure-list.has-four-departures{gap:5px}.has-four-departures .departure-main{padding-block:3px}.has-four-departures .time-block time{font-size:clamp(1.38rem,6.1vw,1.66rem)}.has-four-departures .time-block span{margin-top:2px;padding-block:1px;line-height:1.15}.has-four-departures .departure-card footer{padding-block:0}}
