@font-face{font-family:Inter;src:url('assets/InterVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1f3534;background:#fafbf8;--teal:#08776e;--muted:#637574;--border:#dee6e1;--sheet-height:240px;--nav-height:calc(78px + env(safe-area-inset-bottom,0px))}html,body{height:100%;overflow:hidden}button{color:inherit}button img{flex-shrink:0;display:block}.phone-workspace{position:relative;height:100dvh;width:100%;overflow:hidden}.map-area{position:absolute;inset:0;height:100%;min-height:0;z-index:0}#map{height:100%;width:100%;background:#eff0e8}.leaflet-tile-pane{filter:saturate(.48) brightness(1.035)}.map-top{position:absolute;z-index:500;top:calc(16px + env(safe-area-inset-top,0px));left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.map-top button{pointer-events:auto}.location-pill{background:#fffffff2;border:1px solid #dee6e188;border-radius:24px;height:38px;padding:0 13px;display:flex;align-items:center;gap:8px;font-size:12px;box-shadow:0 4px 16px #243c320a}.layers-glyph{font-size:20px;margin-left:8px}.profile-button{background:#e5f2ef;border:3px solid white;border-radius:50%;width:38px;height:38px;display:flex;align-items:center;justify-content:center}.map-actions{top:auto;bottom:calc(var(--sheet-height) + var(--nav-height) + 30px);right:18px;gap:10px}.map-actions button{height:44px;width:44px;border:0;display:flex;align-items:center;justify-content:center}.map-status{top:calc(68px + env(safe-area-inset-top,0px));left:18px;right:18px;max-width:440px;font-size:11px;line-height:1.5;padding:9px 12px}.bottom-sheet{position:absolute;z-index:600;bottom:var(--nav-height);left:0;width:100%;background:white;border-radius:28px 28px 0 0;box-shadow:0 -3px 25px #243c3208}.sheet-handle{height:4px;width:34px;margin:7px auto 13px;border-radius:100px;background:#dee6e1;flex-shrink:0}.home-sheet{padding-bottom:12px}.community-summary{padding:5px 22px 0}.section-heading h1{font-size:20px;font-weight:700;letter-spacing:-.45px;margin:0;line-height:1.3}.section-heading>span{background:#fff1d6;color:#a7620a;padding:6px 10px;font-size:11px;white-space:nowrap;font-weight:400}.nearby-report{border:0;background:none;width:100%;padding:13px 0 10px;display:flex;align-items:center;gap:12px;text-align:left}.hazard-icon{background:#fff1d6;border-radius:12px;height:40px;width:40px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.nearby-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.nearby-copy strong{font-size:14px;line-height:1.3;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nearby-copy small{font-size:12px;color:#637574;line-height:1.4}.community-context{display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.45;color:#637574;margin:0}.community-context img{margin-top:1px;flex-shrink:0}.destination-search{display:flex;align-items:center;gap:12px;width:calc(100% - 40px);height:56px;border:0;margin:24px 20px 0;border-radius:14px;background:white;box-shadow:0 4px 16px #243c3212;padding:0 16px;text-align:left;font-size:16px}.destination-search span{flex:1}.main-navigation{position:absolute;z-index:610;left:0;bottom:0;width:100%;height:var(--nav-height);padding:5px 16px calc(10px + env(safe-area-inset-bottom,0px));background:white;border-top:1px solid #dee6e1;display:flex;align-items:center;justify-content:space-around;gap:8px}.main-navigation button{height:58px;min-width:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;background:none;font-size:10px;color:#637574;flex:1}.main-navigation button[aria-current]{color:#08776e;font-weight:700}.main-navigation .report-tab{max-width:156px;min-width:140px;background:#08776e;border-radius:16px;color:white;font-size:12px;font-weight:700;gap:4px}.leaflet-bottom.leaflet-left{left:9px;bottom:calc(var(--sheet-height) + var(--nav-height) + 8px)}.leaflet-control-zoom{display:none}.leaflet-control-scale{font-size:9px;color:#637574}.leaflet-bottom.leaflet-right{bottom:calc(var(--sheet-height) + var(--nav-height) + 8px)}.leaflet-control-attribution{margin-bottom:0!important;font-size:8px!important;background:#fafbf8db!important}.detail{z-index:800;bottom:calc(var(--nav-height) + 10px);left:12px;width:calc(100% - 24px);max-height:calc(100dvh - var(--nav-height) - 100px);padding:24px;border-radius:24px}.map-area:has(.detail:not([hidden])){z-index:800}.data-sheet{z-index:700;bottom:var(--nav-height);height:70dvh;max-height:calc(100dvh - var(--nav-height) - env(safe-area-inset-top,0px) - 20px);padding:0 22px 20px;overflow:auto;overscroll-behavior:contain}.data-sheet>h2{font-size:20px;margin:8px 0 10px}.form-hint{font-size:11px;color:#637574;line-height:1.55;margin:12px 0}.text-button{border:0;background:none;padding:12px 0;font-size:12px;color:#08776e;text-align:center}.data-sheet #sources-button{width:100%;margin-top:12px}.planner-header{position:absolute;z-index:650;left:0;top:0;width:100%;padding:calc(16px + env(safe-area-inset-top,0px)) 20px 14px;background:#fafbf8;display:flex;gap:14px;align-items:center;border-bottom:1px solid #dee6e144}.back-button{border:1px solid #dee6e1;background:white;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.planner-header>div{min-width:0}.planner-header h1{font-size:20px;font-weight:700;line-height:24px;letter-spacing:-.4px;margin:0 0 5px}.planner-header p{font-size:11px;line-height:15px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#637574}.planner-header p:last-child{color:#1f3534}.planner-sheet{bottom:0;padding:0 20px calc(16px + env(safe-area-inset-bottom,0px));max-height:69dvh;overflow:auto;overscroll-behavior:contain}.travel-modes{display:flex;gap:7px;padding:2px 0 14px}.travel-modes button{border:1px solid #dee6e1;background:white;border-radius:22px;padding:8px 20px;color:#637574;font-size:12px}.travel-modes .active{background:#e5f2ef;border-color:#08776e;color:#075e57}.endpoint-field{display:flex;gap:10px;align-items:center;border-bottom:1px solid #dee6e1;min-height:60px}.endpoint-field label{flex:1;font-size:10px;color:#637574;min-width:0}.endpoint-field input{display:block;width:100%;border:0;background:none;color:#1f3534;font-size:14px;height:32px;padding:0}.endpoint-field button{border:0;border-radius:10px;background:#f1f8f5;font-size:11px;color:#08776e;padding:9px}.endpoint-dot{height:11px;width:11px;flex-shrink:0;border:1.5px solid #08776e;border-radius:50%}.destination-dot{background:#08776e}.endpoint-result{display:block;width:100%;border:0;border-bottom:1px solid #dee6e1;background:white;text-align:left;font-size:13px;padding:13px 2px;line-height:1.5}.endpoint-result small{display:block;color:#637574;font-size:10px}.primary-action{width:100%;height:54px;border:0;border-radius:14px;background:#08776e;color:white;display:flex;align-items:center;justify-content:center;gap:10px;font-size:16px;font-weight:400;margin-top:14px}.primary-action:disabled{background:#d8e5df;color:#607971;cursor:default}.planner-status{font-size:12px;line-height:1.6;color:#795315;background:#fff6e6;border-radius:10px;margin:12px 0 0;padding:10px}.planner-status:empty{display:none}.route-card{border:1px solid #dee6e1;background:white;border-radius:14px;padding:10px;display:block;width:100%;text-align:left;margin:0 0 10px}.route-card[aria-pressed=true]{border:1.5px solid #08776e;background:#f1f8f5}.route-summary{display:flex;justify-content:space-between;align-items:center;gap:8px}.route-estimate{font-size:22px;font-weight:700;letter-spacing:-.5px}.route-distance{font-size:12px;color:#637574;font-weight:400;letter-spacing:0;margin-left:8px}.recommended-tag{border-radius:100px;background:#e5f2ef;padding:6px 10px;display:flex;align-items:center;gap:5px;color:#075e57;font-size:11px;font-weight:400}.route-kind{font-size:12px;font-weight:600;color:#637574}.route-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:6px;gap:8px}.route-description{font-size:12px;color:#637574;margin:0 0 5px;line-height:1.5}.route-hazards{font-size:12px;color:#a7620a;display:flex;gap:5px;align-items:center}.route-card[aria-pressed=true] .route-hazards{color:#075e57}.route-selection{height:22px;width:22px;flex-shrink:0;border:1.5px solid #dee6e1;border-radius:50%;display:flex;align-items:center;justify-content:center}.route-card[aria-pressed=true] .route-selection{background:#08776e;border-color:#08776e}.route-footnote{font-size:11px;line-height:1.5;text-align:center;color:#637574;margin:10px 0 0}.planner-sheet #edit-trip{display:block;margin:0 auto;padding:10px}.map-pick{position:absolute;left:20px;right:20px;bottom:35px;z-index:750;border:1px solid #08776e;border-radius:14px;padding:15px;background:white;color:#08776e;box-shadow:0 4px 20px #243c3215}.route-label{background:#08776e;color:white;border-radius:10px;padding:8px 12px;font-size:14px;font-weight:700;white-space:nowrap;width:max-content!important;height:auto!important;box-shadow:0 4px 16px #243c3214}.route-endpoint{background:white;border:3px solid #08776e;border-radius:50%;box-shadow:0 2px 8px #243c3230}.route-endpoint.destination{background:#08776e;border-color:white}#maneuver-list{padding-left:22px;font-size:13px;line-height:1.6}#maneuver-list li{padding:10px 0;border-bottom:1px solid #dee6e1}body[data-view=planner] .home-sheet,body[data-view=planner] .main-navigation,body[data-view=planner] .map-top{display:none}body[data-view=planner] .map-actions{bottom:calc(var(--sheet-height) + 20px)}body[data-view=planner] .leaflet-bottom.leaflet-left,body[data-view=planner] .leaflet-bottom.leaflet-right{bottom:calc(var(--sheet-height) + 8px)}body[data-picking=true] .planner-sheet{display:none}body[data-picking=true] .map-actions{bottom:100px}dialog h2{font-size:22px}dialog .primary-action{font-size:14px}
@media(min-width:760px){.bottom-sheet{width:402px;left:24px;border-radius:28px;bottom:calc(var(--nav-height) + 24px);box-shadow:0 6px 35px #243c321c}.main-navigation{width:402px;left:24px;bottom:24px;border-radius:0 0 24px 24px}.home-sheet{border-bottom-left-radius:0;border-bottom-right-radius:0}.map-top{left:24px;right:24px;top:24px}.map-actions{bottom:35px;right:25px}.leaflet-bottom.leaflet-left{left:450px;bottom:20px}.leaflet-bottom.leaflet-right{bottom:12px}.data-sheet{max-height:calc(100dvh - var(--nav-height) - 110px)}.planner-header{left:24px;top:24px;width:402px;border-radius:20px;padding:16px;box-shadow:0 4px 20px #243c3210}.planner-sheet{left:24px;bottom:24px;width:402px;max-height:calc(100dvh - 150px)}body[data-view=planner] .map-actions{bottom:35px}body[data-view=planner] .leaflet-bottom.leaflet-left,body[data-view=planner] .leaflet-bottom.leaflet-right{bottom:15px}.map-status{left:auto;right:80px;top:24px;max-width:380px}.detail{width:370px;left:auto;right:24px;bottom:90px;max-height:calc(100dvh - 180px)}.map-pick{left:calc(50% - 180px);right:auto;width:360px;bottom:35px}}
@media(max-height:690px) and (max-width:759px){.community-summary{padding-top:0}.destination-search{margin-top:12px}.sheet-handle{margin-bottom:8px}.home-sheet{padding-bottom:9px}.nearby-report{padding:10px 0}.community-context{font-size:10px}.planner-sheet{max-height:65dvh}}

body[data-view=planner] .leaflet-reports-pane{opacity:.22}body[data-view=planner] .leaflet-streets-pane{opacity:.35}@media(max-width:759px){body[data-view=planner] .map-status{top:calc(104px + env(safe-area-inset-top,0px))}}

#connect-search{padding:0 0 8px}#search-key{width:100%;height:44px;border:1px solid #dee6e1;border-radius:10px;padding:10px;font-size:14px}.search-credit{font-size:10px;display:block;padding:8px 0}#search-config-status{font-size:12px;line-height:1.6}

/* Destination-first search with live location by default. */
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #08776e;outline-offset:3px}
.endpoint-field input:focus-visible{outline:none}
.endpoint-field:focus-within{border-bottom:2px solid #08776e}
.live-origin{display:flex;gap:10px;align-items:center;padding:10px 0 14px;border-bottom:1px solid #dee6e1}
.live-origin>div{flex:1;min-width:0}.live-origin strong{font-size:12px;font-weight:500}.live-origin small{display:block;color:#637574;font-size:10px;line-height:1.5;margin-top:4px}.live-origin button{height:36px;width:36px;border:0;border-radius:50%;background:#f1f8f5;display:flex;align-items:center;justify-content:center}
.live-origin[data-state=error] small{color:#8c4d27}#refresh-route{width:100%;font-weight:600}.planner-status{background:#f1f8f5;color:#315b53}

.layer input:focus-visible+.switch{outline-color:#08776e}

.planner-header>div{flex:1}.trip-endpoint{display:flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;padding:5px 0;text-align:left;font-size:12px;min-width:0}.trip-endpoint>span:first-child{color:#637574;width:30px;flex-shrink:0}.trip-endpoint strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.trip-endpoint>span:last-child{color:#08776e}.trip-endpoint:hover{background:#e5f2ef;border-radius:6px}.planner-header h1{font-size:18px}.planner-sheet{max-height:calc(100dvh - 165px)}@media(min-width:760px){.planner-sheet{max-height:calc(100dvh - 200px)}}

.planner-header:not(.editable) h1{font-size:20px}#trip-summary p{font-size:11px;line-height:15px;margin:0}#trip-summary p:last-child{color:#1f3534}

#origin-status{display:block;font-size:10px;font-weight:400;line-height:1.5;color:#637574;margin:0 0 7px}#origin-editor[data-state=error] #origin-status{color:#8c4d27}#origin-location{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:7px;border-radius:50%;flex-shrink:0}#origin-editor{padding-top:6px}

.route-unavailable{padding:12px;border:1px dashed #c4d4cb;border-radius:14px;margin-bottom:10px;background:#fafbf8;font-size:12px;line-height:1.5}.route-unavailable strong{font-weight:600}.route-unavailable p{color:#637574;font-size:11px;margin:5px 0 0}.route-improvement{font-size:11px;color:#075e57;margin:5px 0 0}


/* Keep the phone map full-size even while Safari's viewport settles. */
.phone-workspace{height:100vh;height:100dvh}.phone-workspace>.map-area{position:absolute;inset:0;width:100%;height:100%;min-height:0}
