@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#1d2927;background:#f4f2ec;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink:#1d2927;--muted:#6d7774;--green:#087e68;--green-dark:#076d5b;--line:#e5e7df;--paper:#fffefa;--shadow:0 12px 36px #1825211c}*{box-sizing:border-box}html,body,.app-shell{height:100%;width:100%;margin:0}body{overflow:hidden}.app-shell{position:relative;overflow:hidden;background:#dfebe5}#map{position:absolute;inset:0;z-index:0}.leaflet-container{background:#e3eae5;font:inherit}.leaflet-control-attribution{font-size:9px!important;opacity:.86}.leaflet-control-zoom{display:none!important}.topbar{position:absolute;z-index:400;top:0;left:0;right:0;height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:10px;color:#1c2926;text-decoration:none;font-family:Manrope,sans-serif;font-weight:800;font-size:19px;letter-spacing:-.7px}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:#087e68;color:white;font:800 17px Manrope,sans-serif;box-shadow:0 4px 11px #087e6840}.brand-chi{color:#087e68}.topbar-right{display:flex;gap:18px;align-items:center}.service-status{display:flex;gap:8px;align-items:center;padding:8px 12px;border:1px solid #ffffffad;border-radius:20px;background:#ffffffc9;box-shadow:0 3px 10px #162a2210;color:#465550;font-size:11px;font-weight:600;backdrop-filter:blur(12px)}.service-status i{height:7px;width:7px;border-radius:50%;background:#e6a43a}.service-status.ready i{background:#22a16c}.service-status.error i{background:#d5644c}.icon-button{border:0;border-radius:50%;width:40px;height:40px;background:#fffefa;color:#263632;box-shadow:0 5px 17px #1a2c281a;cursor:pointer;font-size:23px;line-height:1}.icon-button:hover{color:var(--green)}.planner-panel{position:absolute;z-index:450;left:24px;top:92px;bottom:24px;width:380px;display:flex;flex-direction:column;border:1px solid #ffffffc9;border-radius:24px;background:var(--paper);box-shadow:var(--shadow);overflow:visible}.panel-grabber{display:none}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:23px 22px 14px}.eyebrow{margin:0 0 7px;color:var(--green);font-size:9px;font-weight:700;letter-spacing:1.35px}.panel-header h1{margin:0;font:800 25px Manrope,sans-serif;letter-spacing:-.9px}.swap-button{box-shadow:none;border:1px solid var(--line);background:#f8f8f3;width:36px;height:36px;font-size:20px;color:#697672}#route-form{padding:0 18px}.field-stack{position:relative;display:flex;flex-direction:column;gap:7px}.place-field{position:relative;display:flex;align-items:center;gap:11px;height:49px;padding:0 12px;border:1px solid #e6e7df;border-radius:12px;background:#fff;transition:border .15s,box-shadow .15s}.place-field:focus-within{border-color:#53a995;box-shadow:0 0 0 3px #087e6813}.place-field input{width:100%;height:100%;min-width:0;padding:0;border:0;outline:0;background:transparent;color:var(--ink);font:500 13px 'DM Sans',sans-serif}.place-field input::placeholder{color:#98a19d}.place-dot{flex:0 0 auto;width:10px;height:10px;border-radius:50%}.origin-dot{background:#1587e2;box-shadow:0 0 0 3px #1587e21d}.destination-dot{background:#e26356;box-shadow:0 0 0 3px #e263561d}.field-connector{position:absolute;top:41px;left:17px;height:22px;border-left:1.5px dashed #bdc5c0;z-index:1}.clear-field{display:none;border:0;background:transparent;color:#9aa39f;font-size:20px;cursor:pointer}.clear-field.visible{display:block}.suggestions{display:none;position:absolute;left:-1px;right:-1px;top:calc(100% + 5px);z-index:700;max-height:224px;overflow:auto;border:1px solid #e2e7e1;border-radius:13px;background:#fff;box-shadow:0 12px 26px #1728221d}.suggestions.open{display:block}.suggestion{display:flex;width:100%;align-items:flex-start;gap:10px;padding:10px 12px;border:0;border-bottom:1px solid #f0f1ec;background:#fff;text-align:left;cursor:pointer;color:var(--ink)}.suggestion:last-child{border-bottom:0}.suggestion:hover{background:#f2f7f4}.suggestion-icon{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:8px;background:#eef5f1;color:var(--green);font-size:13px}.suggestion-text{min-width:0}.suggestion-text strong{display:block;overflow:hidden;color:#283833;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.suggestion-text small{display:block;margin-top:3px;color:#8a9691;font-size:9px}.map-tip{display:flex;align-items:center;gap:7px;margin:10px 2px 14px;color:#87918c;font-size:10px;line-height:1.35}.map-tip span{font-size:14px;color:#697a73}.planning-options{display:flex;align-items:center;justify-content:space-between;padding:11px 2px 13px;border-top:1px solid #eef0ea}.mode-chip{display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid #e7eae3;border-radius:9px;color:#52625c;font-size:10px;font-weight:600}.bus-icon{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#e8f4ef;color:var(--green);font-size:12px}.chip-caret{margin-left:4px;color:#9ba5a0}.toggle-row{position:relative;display:flex;align-items:center;gap:6px;color:#59655f;font-size:10px;font-weight:600;cursor:pointer}.divvy-dot{font-size:11px;color:#d26d4c}.toggle-row input{position:absolute;opacity:0}.toggle-track{position:relative;width:29px;height:16px;border-radius:10px;background:#dfe4df;transition:.15s}.toggle-track:after{content:'';position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:white;box-shadow:0 1px 2px #0002;transition:.15s}.toggle-row input:checked+.toggle-track{background:#d56d4b}.toggle-row input:checked+.toggle-track:after{transform:translateX(13px)}.plan-button{display:flex;width:100%;align-items:center;justify-content:space-between;padding:13px 15px;border:0;border-radius:12px;background:var(--green);color:#fff;font:700 12px 'DM Sans',sans-serif;box-shadow:0 6px 14px #087e682b;cursor:pointer;transition:background .15s,transform .15s}.plan-button:hover{background:var(--green-dark);transform:translateY(-1px)}.plan-button:disabled{opacity:.62;cursor:wait;transform:none}.plan-button span:last-child{font-size:17px}.route-results{min-height:100px;overflow:auto;flex:1;margin-top:16px;padding:0 18px 13px}.results-empty{text-align:center;padding:22px 17px 16px;border:1px dashed #e3e8e0;border-radius:15px;background:#fbfcf8}.empty-icon{display:grid;place-items:center;width:34px;height:34px;margin:0 auto 9px;border-radius:11px;background:#eaf4ee;color:var(--green);font-size:18px}.results-empty h2{margin:0 0 5px;font:700 13px Manrope,sans-serif}.results-empty p{max-width:230px;margin:0 auto;color:#87918b;font-size:10px;line-height:1.5}.results-heading{display:flex;align-items:center;justify-content:space-between;margin:0 2px 10px}.results-heading h2{margin:0;font:700 13px Manrope,sans-serif}.results-heading small{color:#87918b;font-size:9px}.itinerary{position:relative;margin-bottom:9px;padding:13px 13px 12px;border:1px solid #e7ebe4;border-radius:14px;background:white;cursor:pointer;transition:.15s}.itinerary:hover,.itinerary.active{border-color:#67b5a3;box-shadow:0 4px 13px #087e6815}.itinerary-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.itinerary-time{font:800 18px Manrope,sans-serif;letter-spacing:-.6px}.itinerary-duration{margin-top:4px;color:#7d8984;font-size:10px}.itinerary-badge{padding:5px 7px;border-radius:7px;background:#eaf5ef;color:#167c5e;font-size:9px;font-weight:700}.route-summary{display:flex;align-items:center;gap:5px;margin-top:12px;overflow:hidden;white-space:nowrap}.route-pill{flex:0 0 auto;padding:5px 7px;border-radius:6px;background:#e9f0ff;color:#285d99;font-size:9px;font-weight:700}.walk-pill{background:#f1f2ed;color:#717d76}.summary-sep{color:#a4ada6;font-size:10px}.agency-tag{margin-left:auto;color:#8b9790;font-size:8px}.itinerary-details{display:none;margin-top:12px;padding-top:9px;border-top:1px solid #eff1ec}.itinerary.active .itinerary-details{display:block}.step-row{display:flex;gap:9px;padding:6px 0;color:#627069;font-size:10px;line-height:1.4}.step-marker{flex:0 0 17px;text-align:center;color:var(--green);font-size:11px}.step-row strong{color:#34423c;font-weight:700}.schedule-note{display:flex;gap:8px;margin:11px 2px 3px;padding:9px 10px;border-radius:9px;background:#f7f6ee;color:#7f7761;font-size:9px;line-height:1.45}.schedule-note span{font-size:12px}.panel-footer{display:flex;align-items:center;gap:6px;padding:11px 20px 13px;border-top:1px solid #eef0ea;color:#919b96;font-size:9px}.footer-separator{color:#c7ccc5}.map-tools{position:absolute;z-index:400;right:22px;bottom:26px;display:flex;flex-direction:column;gap:7px}.map-tool{display:flex;align-items:center;justify-content:center;gap:6px;min-width:38px;height:38px;padding:0 9px;border:1px solid #ffffffa8;border-radius:11px;background:#fffefa;color:#495b54;box-shadow:0 4px 14px #18282221;font-size:18px;cursor:pointer}.map-tool:hover{color:var(--green)}.map-tool span{font-size:10px;font-weight:600}.toast{position:absolute;z-index:800;left:50%;bottom:34px;transform:translate(-50%,12px);padding:10px 14px;border-radius:11px;background:#1e302b;color:#fff;box-shadow:0 5px 16px #14241f30;font-size:11px;opacity:0;pointer-events:none;transition:.2s}.toast.visible{transform:translate(-50%,0);opacity:1}.map-legend{position:absolute;z-index:420;right:22px;bottom:174px;display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid #ffffffa8;border-radius:11px;background:#fffefa;color:#526159;box-shadow:0 4px 14px #18282221;font-size:10px}.map-legend[hidden]{display:none}.map-legend span:first-child{display:flex;align-items:center;gap:7px;font-weight:700}.map-legend span:last-child{color:#8a948e;font-size:9px}.legend-bike{width:9px;height:9px;border:2px solid white;border-radius:50%;background:#d36d4d;box-shadow:0 0 0 1px #d36d4d}.leaflet-divvy{display:grid;place-items:center;width:24px;height:24px;border:2px solid white;border-radius:50%;background:#d46d4d;color:white;box-shadow:0 2px 6px #0005;font-size:12px}.leaflet-endpoint{display:grid;place-items:center;width:25px;height:25px;border:3px solid white;border-radius:50%;background:#1488e2;box-shadow:0 2px 7px #0005}.leaflet-endpoint.destination{background:#e26356}
@media(max-width:700px){.topbar{top:0;left:0;right:0;height:58px;padding:0 15px}.brand{font-size:17px}.brand-mark{width:29px;height:29px}.service-status{padding:7px 9px;font-size:9px}.topbar-right{gap:9px}.topbar-right .icon-button{width:35px;height:35px}.planner-panel{left:0;right:0;top:auto;bottom:0;width:auto;height:min(67vh,620px);border-radius:22px 22px 0 0;border:0;box-shadow:0 -8px 32px #162b2728}.panel-grabber{display:block;width:34px;height:4px;margin:8px auto 0;border-radius:3px;background:#d5dbd5}.panel-header{padding:11px 18px 12px}.panel-header h1{font-size:22px}#route-form{padding:0 15px}.field-stack{gap:6px}.place-field{height:45px}.map-tip{margin:8px 2px 10px;font-size:9px}.planning-options{padding:9px 2px 10px}.plan-button{padding:12px 14px}.route-results{margin-top:12px;padding:0 15px 10px}.results-empty{padding:15px 12px}.empty-icon{width:30px;height:30px;margin-bottom:6px}.panel-footer{padding:9px 17px calc(10px + env(safe-area-inset-bottom))}.map-tools{right:13px;bottom:calc(min(67vh,620px) + 15px);gap:6px}.map-tool{min-width:35px;height:35px}.map-legend{right:12px;bottom:calc(min(67vh,620px) + 149px);max-width:170px}.toast{bottom:calc(min(67vh,620px) + 15px);max-width:80%;text-align:center}.leaflet-bottom.leaflet-right{bottom:calc(min(67vh,620px) + 14px)}.leaflet-control-attribution{margin-bottom:2px!important}}
@media(max-width:700px){.brand{padding:5px 8px;border-radius:12px;background:#fffefae8;box-shadow:0 3px 11px #13262113}.leaflet-bottom.leaflet-right{left:10px;right:auto}.leaflet-control-attribution{max-width:calc(100vw - 80px)!important;font-size:8px!important}}
.leaflet-container{background:#f5f5f2}.leaflet-control-attribution{padding:2px 6px!important;border-radius:6px 0 0 0;background:#fffefae8!important;color:#66716c!important;font-size:9px!important;opacity:1!important;backdrop-filter:blur(8px)}.leaflet-control-attribution a{color:#52635b!important}.map-route-badge{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:22px;padding:0 7px;border:2px solid #fffefa;border-radius:7px;background:#087e68;color:white;box-shadow:0 2px 8px #17282235;font:700 10px DM Sans,sans-serif;letter-spacing:.1px}
.map-tool.active{border-color:#244e42;background:#244e42;color:#fff}.map-tool.active:hover{color:#fff;background:#1d4338}.rail-legend{position:absolute;z-index:420;top:82px;right:22px;width:190px;padding:11px 12px;border:1px solid #ffffffb8;border-radius:12px;background:#fffefaeF;color:#43534c;box-shadow:0 4px 14px #18282221;backdrop-filter:blur(10px)}.rail-legend[hidden]{display:none}.rail-legend>strong{display:block;margin-bottom:8px;font-size:10px;font-weight:700}.rail-legend-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}.rail-legend-item{display:flex;min-width:0;align-items:center;gap:6px;font-size:9px;white-space:nowrap}.rail-legend-item span{overflow:hidden;text-overflow:ellipsis}.rail-swatch{flex:0 0 16px;height:4px;border-radius:3px;background:var(--rail-color);box-shadow:0 0 0 1px #25352f1f}.rail-legend>small{display:block;margin-top:8px;color:#87918b;font-size:8px}
@media(max-width:700px){.rail-legend{top:65px;left:12px;right:auto;width:174px;padding:9px 10px}.rail-legend-list{gap:5px 8px}.rail-legend>small{margin-top:6px}}
.cta-map-links{display:flex;gap:10px;margin-top:8px;padding-top:7px;border-top:1px solid #e7e9e3;font-size:9px;font-weight:700}.cta-map-links a{color:#087e68;text-decoration:none}.cta-map-links a:hover{text-decoration:underline}
.bus-network-legend{position:absolute;z-index:420;top:82px;left:422px;width:190px;padding:11px 12px;border:1px solid #ffffffb8;border-radius:12px;background:#fffefaeF;color:#43534c;box-shadow:0 4px 14px #18282221;backdrop-filter:blur(10px)}.bus-network-legend[hidden]{display:none}.bus-network-legend strong{display:block;margin-bottom:5px;font-size:10px}.bus-network-legend span,.bus-network-legend small{display:block;color:#68766f;font-size:9px;line-height:1.4}.bus-network-legend small{margin-top:5px;color:#87918b;font-size:8px}
@media(max-width:900px){.bus-network-legend{top:225px;left:auto;right:22px}}
@media(max-width:700px){.bus-network-legend{top:65px;right:12px;width:160px;padding:9px 10px}.rail-legend{width:160px}}
.rail-station-icon{border:0;background:transparent;pointer-events:auto}.rail-station-pill{display:block;box-sizing:border-box;border-style:solid;border-color:#f2f2ef;border-radius:999px;background:#222529;box-shadow:0 0 1px #08090a;transform-origin:center}

.find-more-trips{display:block;width:100%;margin:2px 0 10px;padding:11px;border:1px solid #cfe2d9;border-radius:11px;background:#f3f8f4;color:var(--green-dark);font:700 11px 'DM Sans',sans-serif;cursor:pointer}.find-more-trips:hover{background:#e8f3ed}

#google-map{position:absolute;inset:0;z-index:0;background:#111418}#map{z-index:1}.google-map-active #map,.google-map-active #map .leaflet-container{background:transparent!important;pointer-events:none}.google-map-active #map *{pointer-events:none!important}.google-map-active .leaflet-control-container{display:none!important}
