:root{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:#202124;background:#fff;font-size:15px;--blue:#006bd6;--line:#e7e7e9;--muted:#63676d;--soft:#f4f5f7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}[hidden]{display:none!important}header{height:60px;display:flex;align-items:center;padding:0 24px;gap:16px;border-bottom:1px solid var(--line);background:#fff;position:relative;z-index:1001}.wordmark{font-weight:700;letter-spacing:-1.1px;font-size:26px;color:#171719;white-space:nowrap}.wordmark span{color:var(--blue)}.place{margin-left:auto;color:var(--muted);font-size:12px}.menu{position:relative}.menu summary{list-style:none;font-size:20px;letter-spacing:2px;padding:10px;cursor:pointer}.menu summary::-webkit-details-marker{display:none}.menu div{position:absolute;right:0;top:44px;min-width:200px;box-shadow:0 6px 30px #0002;border:1px solid var(--line);border-radius:12px;background:#fff;padding:8px}.menu a,.menu button{display:block;padding:12px;background:none;border:0;text-align:left;width:100%;color:#222}main{display:grid;grid-template-columns: minmax(330px,390px) 1fr;height:calc(100dvh - 60px)}.mapwrap{position:relative;grid-column:2;grid-row:1;min-height:0;background:#e8ecee}#map{height:100%;width:100%;background:#e8ecee}.maptop{position:absolute;top:12px;right:12px;z-index:500;font-size:12px;background:#fff;border-radius:8px;padding:8px 10px;box-shadow:0 1px 5px #0001}.panel{grid-column:1;grid-row:1;overflow:auto;background:#fff;padding:24px 20px 18px;min-width:0;border-right:1px solid var(--line);scrollbar-width:thin}.handle{display:none}.row{display:flex;align-items:center;gap:10px;justify-content:space-between}.pointgroup{border:1px solid #dadde1;border-radius:13px;overflow:hidden}.point{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 13px;min-height:62px}.point+.point{border-top:1px solid var(--line)}.point>div{flex:1;min-width:0}.point label{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.dot{width:9px;height:9px;border-radius:50%;flex:none}.start{background:var(--blue);box-shadow:0 0 0 3px #006bd61a}.end{background:#fff;border:2px solid #303238}.point input{width:100%;border:0;background:none;padding:3px 0;outline-offset:0;font-size:16px;min-width:0}.icon{background:none;border:0;width:40px;height:44px;flex:none;font-size:24px;color:var(--blue);padding:0}.time{margin:12px 0;color:#444;font-size:14px}.time select,select{border:0;background:var(--soft);padding:10px;border-radius:8px;max-width:100%}input:not(.point input):not([type=checkbox]),textarea{border:1px solid var(--line);background:var(--soft);padding:12px;border-radius:8px;min-width:0;width:100%;font-size:16px}.primary,.secondary,.chip,.textbtn{display:flex;align-items:center;justify-content:center;border:0;border-radius:11px;padding:12px 14px;min-height:44px;font-weight:600;text-align:center}.primary{background:var(--blue);color:white;width:100%;font-size:16px}.secondary,.chip{background:var(--soft);color:#222}.textbtn{background:transparent;color:var(--blue);font-weight:500}.consent{font-size:12px;line-height:1.5;color:var(--muted);padding:8px 0 15px}.consent input,.voice input{accent-color:var(--blue);vertical-align:middle}.consent a{white-space:nowrap}#login{margin-bottom:14px}#login label{font-size:12px;display:block;margin-bottom:6px}#message{font-size:13px;line-height:1.5;color:var(--muted);margin:10px 0}#message:empty{display:none}#searchResults{margin-top:8px;border:1px solid var(--line);border-radius:10px;max-height:220px;overflow:auto}#searchResults button{display:block;border:0;border-bottom:1px solid var(--line);background:white;text-align:left;width:100%;padding:12px;font-size:14px;min-height:44px}.section-title{margin:18px 0 8px;font-size:15px}.section-title span{color:var(--muted);font-size:12px}.routecard{width:100%;display:block;text-align:left;padding:12px 13px;background:#fff;border:1px solid var(--line);border-radius:11px;margin-bottom:7px;color:#222}.routecard.selected{border:2px solid var(--blue);padding:11px 12px;background:#f3f8ff}.routecard strong{font-size:23px;letter-spacing:-.6px}.routecard .row span{font-size:12px;color:var(--muted);text-align:right}.routecard>span{font-size:12px;color:var(--muted);display:block;margin-top:5px}.notice{font-size:12px;color:#66420b;background:#fff5e4;padding:10px;border-radius:8px;line-height:1.5;margin:9px 0}.actions{display:grid;grid-template-columns:1fr;gap:6px;margin-top:12px}.fine{font-size:12px;line-height:1.55;color:var(--muted);margin:8px 0}details.advanced,#guidanceBox{border-top:1px solid var(--line);padding:12px 0;margin-top:5px;font-size:13px}summary{cursor:pointer;color:#444;padding:4px 0}.tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}textarea{margin:8px 0;resize:vertical;min-height:65px}footer{font-size:11px;color:var(--muted);padding:12px 0;line-height:1.5}footer span{margin:0 3px}.pin{color:white;font-size:12px;font-weight:700;border:2px solid white;border-radius:50%;display:grid;place-items:center;box-shadow:0 1px 4px #0003}.leaflet-control-attribution{font-size:10px!important}.article{display:block;max-width:720px;height:auto;margin:auto;padding:24px;line-height:1.65}.article h1{font-size:30px;letter-spacing:-.8px;line-height:1.2}.article h2{font-size:18px;margin-top:24px}.article label{display:block;margin:12px 0 4px}.article .row{flex-wrap:wrap}.article .row>*{flex:1}.article button{margin:8px 0}.article pre{white-space:pre-wrap;overflow-wrap:anywhere}.panel.picking{outline:2px solid var(--blue);outline-offset:-2px}@media(max-width:719px){header{height:52px;padding:0 15px;gap:8px}.wordmark{font-size:24px}.place{font-size:11px}.menu summary{padding:8px}main{display:flex;flex-direction:column;height:calc(100dvh - 52px);overflow:hidden}.mapwrap{flex:1;min-height:180px}.panel{flex:0 1 auto;max-height:57%;border:0;border-top:1px solid var(--line);border-radius:18px 18px 0 0;margin-top:-10px;z-index:600;padding:8px 16px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -4px 24px #0001}.handle{display:block;width:32px;height:4px;background:#d9dadd;border-radius:4px;margin:0 auto 10px}.point{min-height:54px;padding:5px 5px 5px 10px}.consent{padding:4px 0 8px}.time{margin:8px 0}.maptop{top:8px;right:8px}.actions{grid-template-columns:1fr 1fr}.actions .primary{grid-column:1/-1}.panel.picking{max-height:160px}.article{display:block;height:auto;overflow:visible}.article .row>*{flex-basis:100%}}

.nav-bar{position:absolute;z-index:550;left:12px;right:12px;top:50px;max-width:440px;padding:15px 18px;background:#fff;border-radius:16px;box-shadow:0 3px 18px #0002}.nav-bar #navTitle{font-size:23px;font-weight:650;letter-spacing:-.5px;line-height:1.2}.nav-bar #navDetail{font-size:15px;color:#60646b;margin:6px 0 12px}.nav-bar .row{justify-content:space-between}.nav-bar button{width:auto;min-height:44px}.nav-bar #navDistance{font-size:18px}.navigating .maptop{display:none}.navigating .nav-bar{top:12px}.navigating main{grid-template-columns:1fr}.navigating .mapwrap{grid-column:1/-1}.navigating .panel{display:none}.navigating .mapwrap{flex:1}.actions .primary{grid-column:1/-1}.actions a{text-align:center}.voice{display:flex;align-items:center;gap:8px;padding-top:8px}.voice input{width:18px;height:18px}
/* v1.6 — quieter native-like controls, no decorative cards */
:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;--blue:#1769c6;--line:#e5e7eb;--soft:#f3f4f6;--muted:#5c6470}header{height:56px}.wordmark{font-size:23px;letter-spacing:-.7px;font-weight:680}main{height:calc(100dvh - 56px)}.panel{padding:20px 18px}.maptop{box-shadow:none;border:1px solid #e1e4e7}.pointgroup{border-radius:12px}.point .icon{width:32px;font-size:21px}.point input{font-size:16px}.primary,.secondary,.chip{border-radius:10px;font-weight:550}.routecard{border-radius:9px;padding:11px 12px}.routecard.selected{background:#f5f9ff}.routecard strong{font-size:22px}.routecard .row span{font-size:11px}.actions{grid-template-columns:1fr 1fr}.notice{background:#f3f5f7;color:#3d4652}.footer-link{border:0;background:none;color:var(--blue);padding:0;font:inherit;cursor:pointer}.sheet{border:0;border-radius:20px;padding:24px;width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 36px);overflow:auto;box-shadow:0 12px 60px #0003;color:#202124;background:#fff}.sheet::backdrop{background:#13182066}.sheet h2{font-size:23px;letter-spacing:-.6px;margin:0 0 12px;font-weight:650}.sheet p{font-size:14px;line-height:1.55;color:#505762}.sheet .choice{display:flex;gap:12px;align-items:flex-start;padding:14px 0;border-top:1px solid var(--line)}.sheet .choice input{width:20px;height:20px;accent-color:var(--blue);flex:none}.sheet .choice strong{display:block;font-size:15px;font-weight:600}.sheet small{display:block;margin-top:5px;color:var(--muted);font-size:13px;line-height:1.5}.sheet button{width:100%;margin-top:8px}.sheet .row .icon{width:44px;margin:0}.sheet label:not(.choice){display:block;font-size:13px;margin:12px 0 5px}.sheet select{width:100%}.sheet textarea{min-height:110px}.sheet details{margin-top:14px}.sheet .fine{font-size:12px}.admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px}.admin-stat{padding:14px;border:1px solid var(--line);border-radius:12px}.admin-stat strong{font-size:24px;display:block}.admin-list article{border-top:1px solid var(--line);padding:15px 0;overflow-wrap:anywhere}.admin-list .row{justify-content:flex-start}.admin-list input,.admin-list select{margin:5px 0}.admin-list button{min-height:44px}.admin-list .fine{margin:3px 0}.admin-page{max-width:960px}.admin-page table{border-collapse:collapse;width:100%;font-size:13px}.admin-page th,.admin-page td{padding:8px;text-align:left;border-bottom:1px solid var(--line)}@media(max-width:719px){header{height:52px}.panel{padding:8px 14px calc(12px + env(safe-area-inset-bottom));max-height:62%}.point .icon{width:30px;height:44px}.point{gap:6px}.point label{font-size:11px}.sheet{padding:19px}.maptop{font-size:11px}.article.admin-page{padding:18px}.routecard .row{gap:5px}}

/* v1.6.4: map-first layout, scoped so admin and privacy pages remain unchanged. */
.map-page{--blue:#1a73e8;font-family:Arial,"Helvetica Neue",sans-serif;overflow:hidden;background:#eef0ee}
.map-page header{height:52px;padding:0 18px;background:#fff;border-bottom:1px solid #e6e7e8;gap:12px}
.map-page .wordmark{font-size:21px;letter-spacing:-.65px;font-weight:700}
.map-page main{position:relative;display:block;height:calc(100dvh - 52px);overflow:hidden}
.map-page .mapwrap{position:absolute;inset:0;min-height:0;background:#e9ece9}
.map-page #map{background:#e9ece9;isolation:isolate}
.map-page .leaflet-tile-pane{filter:saturate(.72)}
.map-page .panel{position:absolute;left:16px;top:16px;bottom:auto;width:354px;max-height:calc(100% - 32px);z-index:600;background:white;border:1px solid #e5e7e8;border-radius:14px;box-shadow:0 3px 16px #20212422;padding:16px;overflow:auto;scrollbar-width:thin;margin:0}
.map-page .pointgroup{border:1px solid #dadce0;border-radius:10px}
.map-page .point{min-height:58px;padding:7px 5px 7px 12px;gap:8px}
.map-page .point label{font-size:11px;color:#62666c}
.map-page .point input{font-size:16px}
.map-page .point .icon{display:grid;place-items:center;width:36px;height:44px;color:#5f6368}
.map-page .point .icon svg{width:19px;height:19px}
.map-page .time{margin:10px 0;font-size:13px}
.map-page .time select{background:#f3f4f5;padding:9px 12px}
.map-page .primary{border-radius:24px;min-height:46px;font-weight:600}
.map-page .secondary{border-radius:22px;min-height:44px}
.map-page .maptop{top:14px;right:14px;border:0;background:none;box-shadow:none;padding:7px 9px;max-width:65%;color:#50555a;pointer-events:none}
.map-page .maptop:has(#mapStatus:empty){display:none}
.map-page .maptop:not(:has(#mapStatus:empty)){background:#ffffffed;border-radius:8px}
.map-page .locate{position:absolute;bottom:36px;right:16px;width:52px;height:52px;border:1px solid #dadce0;border-radius:50%;background:#fff;box-shadow:0 2px 8px #20212425;z-index:550;display:grid;place-items:center;color:#1a73e8;padding:0}
.map-page .locate svg{width:27px;height:27px}
.map-page .locate[aria-busy="true"] svg{animation:gps-pulse 1s ease-in-out infinite alternate}
@keyframes gps-pulse{to{opacity:.3}}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.map-page .leaflet-bottom.leaflet-right .leaflet-control-zoom{margin:0 19px 94px 0;border:1px solid #dadce0;border-radius:12px;box-shadow:0 2px 8px #20212420;overflow:hidden}
.map-page .leaflet-control-zoom a{width:44px;height:42px;line-height:42px;font-weight:400;color:#3c4043}
.map-page .leaflet-control-attribution{max-width:100%;background:#ffffffdd;color:#54585c}
.map-page .extras{border-top:1px solid var(--line);margin-top:12px;padding-top:8px;font-size:13px}
.map-page .extras>summary{padding:8px 0;color:#5f6368}
.map-page .extras .advanced{padding:7px 0}
.map-page footer{padding:7px 0 0}
.map-page .routecard{border:1px solid #e4e6e9;border-radius:10px;padding:11px 12px;background:#fff}
.map-page .routecard.selected{border:2px solid #1a73e8;padding:10px 11px;background:#f4f8ff}
.map-page .routecard strong{font-size:22px;letter-spacing:-.5px}
.map-page .routecard .row span{font-size:12px}
.map-page .routecard>span{font-size:12px;line-height:1.4}
.map-page .actions{gap:8px}
.map-page .handoff-note{font-size:11px;margin-top:5px}
.map-page .travel-notes{font-size:12px;margin:8px 0}
.map-page .pilot-only{display:none}
.map-page.pilot-mode .pilot-only{display:block}
.map-page.navigating .panel{display:none}
.map-page.navigating .nav-bar{left:16px;top:16px;right:80px;max-width:440px}
@media(max-width:719px){
 .map-page header{height:48px;padding:0 14px}.map-page main{display:flex;flex-direction:column;height:calc(100dvh - 48px)}
 .map-page .mapwrap{position:relative;flex:1;min-height:120px;inset:auto}
 .map-page .panel{position:relative;inset:auto;width:100%;flex:0 1 auto;max-height:46%;border:0;border-radius:16px 16px 0 0;box-shadow:0 -2px 14px #20212416;padding:9px 15px calc(10px + env(safe-area-inset-bottom));margin-top:-9px}
 .map-page .handle{margin:0 auto 7px;width:32px;background:#d2d5d8}
 .map-page .point{min-height:52px;gap:6px;padding:4px 4px 4px 10px}
 .map-page .point .icon{width:36px;height:44px}
 .map-page .locate{right:13px;bottom:34px;width:50px;height:50px}
 .map-page .leaflet-bottom.leaflet-right .leaflet-control-zoom{margin:0 16px 90px 0}
 .map-page .leaflet-control-zoom a{width:42px;height:38px;line-height:38px}
 .map-page .maptop{top:9px;right:10px;max-width:70%}
 .map-page .panel:has(#results:not([hidden])){max-height:54%}
 .map-page .panel.picking{max-height:180px}
 .map-page.navigating .mapwrap{flex:1;min-height:0}
 .map-page.navigating .nav-bar{left:12px;right:12px;top:12px}
 .map-page .sheet{padding:19px}
}
@media(max-height:460px) and (max-width:719px){.map-page .panel{max-height:55%}.map-page .mapwrap{min-height:90px}.map-page .leaflet-control-zoom{display:none}}
@media(prefers-reduced-motion:reduce){.map-page .locate[aria-busy="true"] svg{animation:none}}


/* 1.7 – navigation first, neutral and readable. */
.map-page{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;--blue:#1768d4;--line:#e6e8ec;--muted:#606770;--soft:#f4f5f7;background:#fff;color:#1c2025}
.map-page header{height:56px;padding:0 22px;gap:12px}
.map-page .brand-title{flex:1;min-width:0}
.map-page .brand-title .wordmark{font-size:25px;letter-spacing:-.9px;line-height:1.2;white-space:nowrap;font-weight:700;color:#1b2027}
.map-page .place{font-size:13px;color:#606770;flex:none}
.map-page main{height:calc(100dvh - 56px);display:grid;grid-template-columns:344px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.map-page .mapwrap{position:relative;inset:auto;grid-column:2;grid-row:1;min-width:0;height:100%}
.map-page #map{height:100%;width:100%;background:#eef0ec}
/* Raster labels are supplied by TomTom; 512px source tiles are rendered at 256 CSS px. */
.map-page .leaflet-tile-pane{filter:saturate(.84) contrast(.88) brightness(1.07)}
.map-page .panel{position:relative;inset:auto;grid-column:1;grid-row:1;width:100%;height:100%;max-height:none;margin:0;padding:20px 18px;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;overflow-y:auto;overscroll-behavior:contain}
.map-page .pointgroup{border-color:#dfe2e7;border-radius:12px;background:#fff}
.map-page .point{min-height:60px;padding:7px 7px 7px 13px;gap:8px}
.map-page .point label{font-size:12px;margin-bottom:2px}
.map-page .point .icon{width:44px;height:44px;color:#49515b}
.map-page .point .icon svg{width:20px;height:20px}
.map-page .time{margin:12px 0 10px;font-size:14px}
.map-page .primary{min-height:48px;border-radius:12px;background:var(--blue);font-size:16px}
.map-page .origin-action{border:0;background:transparent;color:var(--blue);min-height:44px;font-weight:550;width:100%;font-size:14px;margin:2px 0 0}
.map-page .extras{margin-top:6px;padding-top:5px;font-size:14px}
.map-page .extras>summary{min-height:42px;line-height:26px;color:#414852}
.map-page .benefits{margin:20px 0 12px;padding:19px 0 4px;border-top:1px solid var(--line);color:#1c2025}
.map-page .benefits p{font-size:16px;margin:0 0 11px;font-weight:600;line-height:1.35;letter-spacing:-.2px}
.map-page .benefits ol{font-size:22px;font-weight:650;line-height:1.62;margin:0;padding-left:29px;letter-spacing:-.4px}
.map-page .benefits li{padding-left:4px}
.map-page .panel:has(#results:not([hidden])) .benefits{display:none}
.map-page .panel:has(#results:not([hidden])) .origin-action{display:none}
.map-page footer{font-size:12px;padding:12px 0;line-height:1.5}
.map-page .locate{width:54px;height:54px;right:18px;bottom:30px;color:var(--blue);box-shadow:0 1px 6px #20212422}
.map-page .leaflet-bottom.leaflet-right .leaflet-control-zoom{margin:0 22px 96px 0}
.map-page .maptop{display:flex;align-items:center;gap:6px;pointer-events:auto;max-width:80%;background:#fff;border-radius:8px}
.map-page .maptop:has(#mapStatus:empty){display:none}
.map-page #retryMap{font-size:12px;border:0;background:#eef3fa;color:var(--blue);border-radius:6px;padding:8px}
.map-page .routecard strong{font-size:24px}
.map-page .routecard[aria-pressed="true"]{border-color:var(--blue)}
.map-page .navigating .panel,.map-page.navigating .panel{display:none}
.map-page.navigating main{grid-template-columns:1fr}
.map-page.navigating .mapwrap{grid-column:1/-1}
@media(max-width:719px){
 .map-page header{height:50px;padding:0 16px}
 .map-page .brand-title .wordmark{font-size:23px}
 .map-page main{height:calc(100dvh - 50px);display:flex;flex-direction:column}
 .map-page .mapwrap{flex:1;min-height:140px;height:auto}
 .map-page .panel{height:auto;max-height:48%;flex:0 1 auto;margin-top:0;border-right:0;border-top:1px solid var(--line);border-radius:17px 17px 0 0;padding:10px 15px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -2px 10px #20212410}
 .map-page .point{min-height:53px;padding:3px 4px 3px 10px;gap:5px}
 .map-page .point .icon{width:38px;height:44px}
 .map-page .time{margin:8px 0}
 .map-page .benefits{margin:12px 0 4px;padding:12px 0 0}
 .map-page .benefits p{font-size:15px;margin:0 0 5px}
 .map-page .benefits ol{font-size:18px;line-height:1.6;display:flex;flex-wrap:wrap;column-gap:24px;row-gap:1px;padding-left:21px}
 .map-page .benefits li{white-space:nowrap;padding:0}
 .map-page .panel:has(#results:not([hidden])){max-height:56%}
 .map-page .panel.picking{max-height:160px}
 .map-page .locate{right:12px;bottom:29px;width:50px;height:50px}
 .map-page .leaflet-bottom.leaflet-right .leaflet-control-zoom{margin:0 15px 90px 0}
 .map-page .place{font-size:12px}
 .map-page .nav-bar{max-width:none}
}
@media(max-height:460px) and (max-width:719px){.map-page .mapwrap{min-height:90px}.map-page .panel{max-height:52%}}

/* 1.8 – familiar, compact navigation controls; no new map provider. */
.map-page{--blue:#007aff;--muted:#666b73;--soft:#f2f2f7;--line:#e7e7eb;color:#202124;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif}
.map-page header{height:52px;padding:0 20px}.map-page .brand-title .wordmark{font-size:24px;letter-spacing:-.9px}
.map-page main{height:calc(100dvh - 52px);grid-template-columns:365px minmax(0,1fr)}
.map-page .panel{padding:22px 20px}.map-page .pointgroup{border:0;background:#f2f2f7;border-radius:15px;overflow:hidden}
.map-page .point{min-height:64px;padding:9px 12px 9px 15px;gap:12px}.map-page .point+.point{border-top:1px solid #dedee4}.map-page .point input{font-size:17px;font-weight:450;padding:4px 0;line-height:1.3}.map-page .point label{font-size:11px;color:#666b73}.map-page .point:focus-within{background:#e9edf5}.map-page .dot{width:10px;height:10px}.map-page .end{background:#fff;border-color:#8c9098}
.map-page .clear-input{flex:none;width:44px;height:44px;border:0;background:transparent;color:#777c85;font-size:25px;line-height:1;font-weight:400}.map-page .point-actions{display:flex;gap:8px;align-items:center;margin-top:5px}.map-page .point-actions button{display:flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:var(--blue);font-size:13px;font-weight:550;min-height:44px;width:auto;flex:1;margin:0;padding:0}.map-page .panel:has(#results:not([hidden])) .origin-action{display:flex}
.map-page #searchResults{margin:8px 0 0;padding:0;border:0;border-radius:0;overflow:visible;max-height:none}.search-head{display:flex;justify-content:space-between;align-items:center;padding:0 0 5px;font-size:14px;font-weight:600}.map-page #searchResults .search-head button{width:auto;border:0;color:var(--blue);font-size:15px;padding:8px 2px;background:transparent}.map-page #searchHint{font-size:13px;color:#666b73;margin:5px 0 9px;line-height:1.45}.map-page #searchHint:empty{display:none}.map-page #searchResults #searchList{max-height:300px;overflow:auto;overscroll-behavior:contain}.map-page #searchResults .place-result{display:flex;align-items:center;gap:12px;padding:12px 2px;min-height:60px;background:white;border-bottom:1px solid #efeff2;text-align:left}.map-page #searchResults .place-result:hover,.map-page #searchResults .place-result[aria-selected="true"]{background:#f2f6fd}.place-pin{width:34px;height:34px;display:grid;place-items:center;flex:none;background:#f0f2f5;border-radius:50%;font-size:22px;color:#007aff}.place-copy{min-width:0;display:block}.place-copy strong{display:block;font-size:15px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}.place-copy small{display:block;font-size:12px;color:#717680;margin-top:3px;line-height:1.35;overflow-wrap:anywhere}.map-page #searchResults .search-map-action,.map-page #searchResults #retrySearch{color:var(--blue);border:0;background:transparent;padding:12px 2px;font-weight:550;text-align:left}.map-page.searching .benefits,.map-page.searching .extras,.map-page.searching footer,.map-page.searching .time,.map-page.searching #customTime,.map-page.searching #find,.map-page.searching #message,.map-page.searching .point-actions{display:none}
.map-page .primary{background:#007aff;border-radius:14px;min-height:49px;font-weight:650}.map-page .secondary{border-radius:12px}.map-page .time{margin:12px 0}.map-page .time select{background:#f2f2f7}.map-page .benefits{margin:22px 0 8px;padding-top:16px}.map-page .benefits ol{font-size:22px;line-height:1.5}.map-page .locate{border:0;border-radius:16px;box-shadow:0 2px 9px #0002;color:#007aff}.map-page .leaflet-bottom.leaflet-right .leaflet-control-zoom{border:0;border-radius:15px}.map-page .leaflet-tile-pane{filter:saturate(.65) contrast(.86) brightness(1.09)}
.pick-hint{position:absolute;z-index:580;top:14px;left:14px;right:14px;max-width:430px;border-radius:14px;padding:10px 12px;background:white;box-shadow:0 2px 12px #0002;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}.pick-hint button{border:0;color:var(--blue);background:#f2f2f7;padding:10px 14px;border-radius:10px;min-height:44px}.map-page .panel.picking{outline:none}
.map-page .routecard{border:0;border-radius:13px;padding:13px;background:#f5f5f8;margin-bottom:8px}.map-page .routecard.selected{background:#eaf3ff;box-shadow:inset 0 0 0 2px #007aff}.map-page .routecard strong{font-size:26px;font-weight:650}.map-page .routecard .row span{font-size:12px}.map-page .actions{gap:8px}.map-page .actions .primary{background:#16843d}.map-page .actions a{border-radius:12px}.map-page .notice{background:#f5f5f7;border-radius:12px}
.map-page.navigating .nav-bar{top:15px;left:15px;right:15px;background:#fff;border-radius:19px;padding:17px 18px;box-shadow:0 3px 18px #0002;max-width:470px}.nav-turn{display:flex;align-items:center;gap:16px}.nav-arrow{font-size:54px;line-height:1;min-width:50px;text-align:center;color:#007aff;font-weight:700}.nav-copy{min-width:0}.nav-copy #navNextDistance{display:block;font-size:29px;letter-spacing:-1px;font-weight:700}.nav-copy #navNextDistance:empty{display:none}.map-page .nav-bar #navTitle{font-size:19px;font-weight:600;line-height:1.3}.map-page .nav-bar #navDetail{font-size:14px;line-height:1.35;margin:4px 0 0}.map-page #navDetail:empty{display:none}.nav-trip{position:absolute;z-index:560;bottom:30px;left:15px;right:85px;max-width:430px;border-radius:18px;padding:14px 17px;background:#fff;box-shadow:0 3px 18px #0002;display:flex;align-items:center;justify-content:space-between;gap:8px}.nav-trip span{display:block;color:#777;font-size:12px}.nav-trip strong{display:block;font-size:24px;letter-spacing:-.6px}.nav-trip #navStop{color:#b3261e;font-weight:650;background:#fff0ee;white-space:nowrap;border-radius:12px}
@media(max-width:719px){.map-page header{height:48px;padding:0 16px}.map-page main{height:calc(100dvh - 48px);display:flex;flex-direction:column}.map-page .panel{padding:9px 16px calc(12px + env(safe-area-inset-bottom));max-height:49%;border-radius:21px 21px 0 0}.map-page .point{min-height:52px;padding:4px 9px 4px 13px;gap:10px}.map-page .point input{font-size:16px}.map-page .point-actions{margin-top:0}.map-page .point-actions button{min-height:42px;font-size:13px}.map-page .time{margin:5px 0 8px}.map-page .benefits ol{font-size:18px}.map-page.searching .panel{max-height:78%;flex:0 1 auto}.map-page.searching .mapwrap{min-height:64px}.map-page.searching #searchResults #searchList{max-height:32dvh}.map-page.searching .mapwrap .locate,.map-page.searching .leaflet-control-zoom{display:none}.map-page .panel.picking{max-height:120px}.map-page .locate{right:13px;bottom:28px}.map-page.navigating .nav-bar{left:12px;right:12px;top:12px;padding:16px}.nav-trip{left:12px;right:75px;bottom:28px;padding:12px}.nav-copy #navNextDistance{font-size:26px}.nav-arrow{font-size:46px;min-width:44px}}
@media(max-height:500px) and (max-width:719px){.map-page.searching .panel{max-height:85%}.map-page.searching .mapwrap{min-height:30px}.map-page.searching #searchResults #searchList{max-height:26dvh}}
.pick-hint{align-items:flex-start;flex-wrap:wrap}.pick-buttons{display:flex;gap:8px;margin-left:auto}.pick-hint #confirmPick{color:white;background:#007aff}.map-page .panel.picking{pointer-events:none;opacity:.85}.map-page .panel.picking *{pointer-events:none}.map-page #searchResults #searchGps{color:var(--blue);border:0;background:transparent;padding:12px 2px;font-weight:550;text-align:left}

/* 1.9 — quiet dark map, compact utility panel. Native map style, no light-map filter. */
.map-page{--blue:#2586ed;--line:#e4e7eb;--soft:#f3f4f6;--muted:#626b76;background:#1b2028;color:#20242b}
.map-page header{height:48px;background:#fff;border-color:#e7e9ec;padding:0 18px}
.map-page .brand-title .wordmark{font-size:21px;font-weight:650;letter-spacing:-.55px}
.map-page .place{font-size:12px;letter-spacing:0;color:#5d6570}
.map-page main{height:calc(100dvh - 48px);grid-template-columns:330px minmax(0,1fr)}
.map-page .mapwrap,.map-page #map{background:#1a2029}
.map-page .leaflet-tile-pane{filter:none}
.map-page.fallback-map .leaflet-tile-pane{filter:invert(.9) hue-rotate(180deg) saturate(.65) brightness(.92)}
.map-page .panel{padding:18px 16px;background:#fff}
.map-page .pointgroup{border:1px solid #e6e8ec;background:#f7f8fa;border-radius:12px}
.map-page .point{min-height:60px;padding:8px 10px 8px 13px}
.map-page .point input{font-size:16px;font-weight:400}
.map-page .point+.point{border-color:#e4e7eb}
.map-page .primary{min-height:46px;border-radius:11px;font-weight:600;background:#1479e8}
.map-page .benefits{margin:15px 0 5px;padding:13px 0 0;color:#525b66}
.map-page .benefits p{font-size:13px;font-weight:500;letter-spacing:0;margin:0 0 6px;color:#525b66}
.map-page .benefits ol{display:flex;flex-wrap:wrap;column-gap:20px;row-gap:2px;list-style:decimal;font-size:14px;font-weight:550;line-height:1.5;letter-spacing:0;margin:0;padding-left:18px}
.map-page .benefits li{padding:0;white-space:nowrap}
.map-page footer{font-size:12px;padding:10px 0}
.map-page .extras>summary{font-size:13px;min-height:38px}
.map-page .locate{background:#252b35;color:#70b7ff;border:1px solid #475262;box-shadow:0 2px 8px #0005;border-radius:13px;width:52px;height:52px}
.map-page .locate:active{background:#353f4e}
.map-page .leaflet-control-zoom a{background:#252b35;color:#ecf2fa;border-color:#475262}
.map-page .leaflet-control-zoom a:hover{background:#354154}
.map-page .leaflet-control-attribution{background:#242b35e8;color:#d3dce9}
.map-page .leaflet-control-attribution a{color:#a5ccff}
.map-page .maptop:not(:has(#mapStatus:empty)){background:#242b35;color:#f4f6fa;border:1px solid #475262}
.map-page #retryMap{background:#394557;color:#e1eeff}
.gps-notice{position:absolute;z-index:590;bottom:32px;right:80px;max-width:min(320px,calc(100% - 96px));background:#252b35;color:#f4f6fa;border:1px solid #475262;border-radius:10px;padding:11px 13px;font-size:13px;line-height:1.4;box-shadow:0 2px 9px #0003;pointer-events:none}
.map-page.navigating .gps-notice{bottom:110px}
.map-page.navigating .nav-bar,.map-page .nav-trip{background:#202630;color:#f7f9fc;border:1px solid #3a4453;box-shadow:0 2px 12px #0004;border-radius:15px}
.map-page .nav-bar #navDetail,.map-page .nav-trip span{color:#bec9d8}
.nav-arrow{color:#70b7ff}
.nav-trip #navStop{background:#392d33;color:#ffb2ab}
.map-page .routecard{background:#f6f7f9;border-radius:10px}
.map-page .routecard.selected{background:#eaf3ff}
.map-page .routecard strong{font-size:22px}
@media(max-width:719px){.map-page header{height:46px;padding:0 14px}.map-page main{height:calc(100dvh - 46px)}.map-page .panel{padding:8px 14px calc(10px + env(safe-area-inset-bottom));max-height:48%}.map-page .point{min-height:52px;padding:5px 8px 5px 12px}.map-page .benefits{margin:10px 0 2px;padding-top:10px}.map-page .benefits ol{font-size:13px;column-gap:18px}.map-page .locate{width:48px;height:48px}.map-page .gps-notice{right:73px;bottom:28px}.map-page.navigating .gps-notice{bottom:110px}}
@media(prefers-reduced-motion:reduce){.map-page *, .map-page *::before,.map-page *::after{animation-duration:0.01ms!important;transition-duration:0.01ms!important;scroll-behavior:auto!important}}

/* Pilot access on ordinary URL; focus stays visible on mobile. */
.map-page #login{padding:10px 12px;background:#f7f8fa;border:1px solid #e6e8ec;border-radius:12px;margin:0 0 10px}.map-page #login label{font-size:13px;font-weight:600}.map-page #login input{font-size:16px;min-width:0;flex:1}.map-page #loginHint{margin:4px 0 0}.map-page #loginHint:empty{display:none}.map-page #searchLogin{padding:8px 0;color:var(--blue)}

/* v2.0 compact mode switch */
.trip-modes{margin:15px 0 8px}.mode-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}.mode-heading strong{font-size:15px;letter-spacing:-.3px}.mode-heading small{font-size:11px;color:#626a73}.mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.mode-options button{min-height:54px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;text-align:left;padding:8px 9px;border:1px solid #e3e5e8;border-radius:12px;background:#f4f5f7;color:#24262b;min-width:0}.mode-options button strong{font-size:14px;letter-spacing:-.35px;white-space:nowrap}.mode-options button small{font-size:10px;color:#59616b;white-space:nowrap}.mode-options button[aria-pressed=true]{border-color:#007aff;background:#e9f3ff;color:#0058b8;box-shadow:inset 0 0 0 1px #007aff}.trip-modes #modeHint{margin:7px 0 0;font-size:11px}.searching .trip-modes{display:none}.discover-title{font-weight:650;font-size:13px;margin:12px 0 5px}.discover-options{display:flex;gap:5px;flex-wrap:wrap}.discover-options button,.discover-place{border:1px solid #e2e5e8;background:#fff;color:#174e87;border-radius:9px;padding:8px 10px;font-size:12px}.discover-place{display:block;width:100%;text-align:left;margin:4px 0}.entry-result{padding-left:30px!important;font-size:12px!important;color:#1766af!important}.map-page .benefits p{font-weight:600;font-size:14px;color:#434b57}.map-page .panel:has(#results:not([hidden])) .benefits{display:none}

/* 2.1 — a full-map pin picker and route-specific preview. */
.map-page .field-pin{width:44px;height:44px;flex:none;border:0;background:transparent;color:var(--blue);font-size:22px;padding:0}.map-page .point{gap:6px}.map-page .point .clear-input{width:36px}.map-page.map-picking main{grid-template-columns:1fr}.map-page.map-picking .panel{display:none}.map-page.map-picking .mapwrap{grid-column:1/-1;flex:1;height:100%}.map-page.map-picking #gps,.map-page.map-picking #gpsNotice{display:none!important}.map-page.map-picking .leaflet-bottom.leaflet-right .leaflet-control-zoom{margin-bottom:170px}.map-page.map-picking .pick-hint{top:auto;bottom:calc(24px + env(safe-area-inset-bottom));left:12px;right:12px;max-width:440px;display:block;padding:14px;border-radius:17px}.pick-copy{display:grid;gap:5px}.pick-copy strong{font-size:18px;letter-spacing:-.3px}.pick-copy span{font-size:13px;color:#59616b}.pick-buttons{margin-top:12px;display:grid;grid-template-columns:1fr 2fr;gap:8px}.pick-buttons button{min-height:48px}.pick-crosshair{position:absolute;top:50%;left:50%;transform:translate(-50%,-100%);z-index:560;pointer-events:none;filter:drop-shadow(0 3px 3px #0007)}.map-page.map-picking .leaflet-marker-pane,.map-page.map-picking .leaflet-overlay-pane{pointer-events:none}.map-page.map-picking .leaflet-interactive{pointer-events:none!important}.route-preview{border-top:1px solid var(--line);padding:13px 0 6px;margin:10px 0}.route-preview>.row strong{font-size:16px}.route-preview>.row small{font-size:12px;color:var(--muted)}.preview-streets{list-style:none;padding:0;margin:8px 0}.preview-streets li{position:relative;border-left:2px solid #b4d6fa;padding:3px 10px 10px 14px;margin-left:5px;font-size:13px;overflow-wrap:anywhere}.preview-streets li:before{content:'';position:absolute;top:7px;left:-5px;width:8px;height:8px;border-radius:50%;background:#2586ed}.preview-streets li:last-child{border-color:transparent;padding-bottom:3px}.preview-stop{background:#f2f4f6;padding:9px;border-radius:10px;font-size:12px;margin:8px 0;overflow-wrap:anywhere}.preview-poi{padding-top:10px}.preview-poi>strong{font-size:13px}.preview-categories{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.preview-categories button{border:1px solid #e2e5e8;background:#f5f7f9;border-radius:10px;min-height:40px;padding:7px 10px;font-size:12px}.preview-categories button[aria-pressed=true]{background:#e9f3ff;color:#0058b8;border-color:#2586ed}#alongPlaces{padding:0;margin:0;list-style:none}.along-place{display:grid;width:100%;text-align:left;border:0;border-bottom:1px solid #e7e9ec;background:white;padding:10px 3px;min-height:48px;gap:4px}.along-place strong{font-size:13px;overflow-wrap:anywhere}.along-place small{font-size:11px;color:#626b76}#moreStreets{font-size:12px;padding:5px 0;min-height:40px;justify-content:flex-start}.map-page.searching .route-preview{display:none}@media(max-width:719px){.map-page .point{gap:4px}.map-page .field-pin{width:44px}.map-page.map-picking .pick-hint{max-width:none}.map-page.map-picking .leaflet-bottom.leaflet-right .leaflet-control-zoom{margin-bottom:174px}}

.map-page .routecard .route-via{font-size:12px;line-height:1.4;color:#385777;overflow-wrap:anywhere}

/* 2.2 — little illustrated discoveries, not street-name lists */
#alongPlaces{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 6px}#alongPlaces li{min-width:0}.along-place{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:1px solid #e6e7e6;background:#fff;border-radius:13px;overflow:hidden;height:100%;text-align:left;min-height:132px}.along-place:focus-visible{outline:2px solid #007aff;outline-offset:2px}.spot-art{display:grid;place-items:center;min-height:52px;height:52px;width:100%;position:relative}.spot-art svg{width:36px;height:36px}.spot-copy{display:flex;flex-direction:column;gap:3px;padding:8px;min-width:0}.spot-copy strong{font-size:13px;line-height:1.25;overflow-wrap:anywhere}.spot-copy small{font-size:10px;line-height:1.3}.spot-copy .spot-kicker{font-weight:700;font-size:10px;color:#6b6054}.spot-culture{background:#f1dfba;color:#775027}.spot-market{background:#f7d9c2;color:#914b36}.spot-park{background:#dcebd2;color:#386741}.spot-view{background:#d5e5f2;color:#3c6281}.spot-coffee{background:#e9dfd5;color:#76523e}.spot-food{background:#fae5ba;color:#85571c}.spot-pin{width:34px;height:34px;border-radius:11px;border:2px solid white;display:grid;place-items:center;box-shadow:0 2px 6px #0008}.spot-pin svg{width:23px;height:23px}.spot-summary{display:block;color:#76523e!important;font-size:12px!important;line-height:1.35;overflow-wrap:anywhere;margin-top:4px}.map-page.navigating .spot-pin-wrap,.map-page.map-picking .spot-pin-wrap{display:none!important}#alongNote{font-size:11px}#retryAlong{min-height:40px}.map-page .route-preview #alongHint{margin:8px 0 0}.map-page .route-preview>.row strong{font-size:17px}

.wander-box{padding:12px 0 5px}.wander-box .row{gap:8px}.wander-box label{font-weight:700;font-size:14px}.wander-box strong{font-size:13px;color:#775027}.wander-box input[type=range]{width:100%;accent-color:#775027;margin:12px 0 0;min-height:32px}.wander-labels{font-size:11px;color:#666}.meander-pin{width:45px;height:45px;background:#fff2d6;color:#253d83;border:2px solid #253d83;border-radius:43% 55% 48% 53%;display:grid;place-items:center;box-shadow:0 2px 8px #0008;transform:rotate(-5deg)}.meander-pin svg{width:31px;height:31px;stroke-width:2.8}.meander-pin b{position:absolute;right:-5px;bottom:-5px;font-size:11px;background:#253d83;color:#fff;border-radius:50%;width:17px;height:17px;text-align:center;line-height:17px}.leaflet-tooltip.meander-label{font-size:12px;font-weight:700;background:#fff2d6;color:#253d83;border:0;box-shadow:0 1px 5px #0008;border-radius:5px;max-width:140px;white-space:normal;text-align:center}.map-page.navigating .meander-pin-wrap,.map-page.map-picking .meander-pin-wrap,.map-page.navigating .meander-label,.map-page.map-picking .meander-label{display:none!important}

.alley-pin-wrap{background:none;border:0}.alley-pin{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#fcf2d9;color:#422b1b;border:2px solid #c98d44;box-shadow:0 2px 5px #0005}.alley-pin svg{width:19px;height:19px}

/* v4.7 City map. Provider imagery stays unfiltered; controls remain legible on every map. */
.map-page .mapwrap,.map-page #map{background:#e8ebe4}
.map-page[data-map-style=night] .mapwrap,.map-page[data-map-style=night] #map{background:#1a2029}
.map-page .leaflet-tile-pane,.map-page.fallback-map .leaflet-tile-pane{filter:none}
.map-page .locate{top:16px;right:16px;bottom:auto;width:auto;min-width:52px;height:52px;display:flex;gap:9px;align-items:center;justify-content:center;padding:0 15px;background:#fff;color:#226751;border:1px solid #dce2da;border-radius:16px;box-shadow:0 3px 14px #2036291c;touch-action:manipulation;font-size:13px;font-weight:650;white-space:nowrap}
.map-page .locate svg{width:23px;height:23px;flex:none}.map-page .locate.gps-fixed{color:#087af4}.map-page .locate:active:not(:disabled){background:#edf2ec;transform:scale(.97)}.map-page .locate[aria-busy=true]{opacity:1;color:#4b6157}
.map-style-control{position:absolute;top:16px;left:16px;z-index:550;display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #dce2da;border-radius:13px;box-shadow:0 3px 14px #2036291c;padding:0 9px;max-width:calc(100% - 180px);height:48px}
.map-style-control svg{width:19px;height:19px;flex:none;fill:none;stroke:#34584b;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}.map-style-control select{width:100%;min-width:0;min-height:44px;padding:0 2px;border:0;background:#fff;color:#273c33;font-size:13px;font-weight:600;cursor:pointer}
.map-page .maptop{top:78px;left:16px;right:auto;max-width:calc(100% - 32px);box-shadow:0 2px 8px #20362912}.map-page .maptop:not(:has(#mapStatus:empty)),.map-page .gps-notice{color:#273c33;background:#fff;border:1px solid #dce2da}.map-page #retryMap{background:#edf2ec;color:#226751}
.map-page .gps-notice{top:78px;right:16px;bottom:auto;max-width:min(300px,calc(100% - 32px));z-index:590}
.map-page .leaflet-bottom.leaflet-right .leaflet-control-zoom{margin:0 16px 32px 0;border:1px solid #dce2da;border-radius:14px;box-shadow:0 3px 14px #2036291c}.map-page .leaflet-control-zoom a{width:44px;height:44px;line-height:44px;background:#fff;color:#284439;border-color:#e1e6df}.map-page .leaflet-control-zoom a:hover{background:#edf2ec}.map-page .leaflet-control-attribution{background:#fffffff0;color:#49534c}.map-page .leaflet-control-attribution a{color:#275c49}
#maptilerLogo{position:absolute;bottom:22px;left:12px;z-index:500;background:#fff;padding:3px 6px;border-radius:4px}#maptilerLogo img{display:block;width:88px;height:auto}
.map-page.navigating .map-style-control,.map-page.map-picking .map-style-control{display:none}.map-page.navigating .locate{width:52px;padding:0}.map-page.navigating .gps-caption{display:none}.map-page.navigating .nav-bar{right:84px}.map-page.navigating .gps-notice{top:auto;bottom:110px}.map-page.searching .map-style-control{display:none}
@media(max-width:719px){.map-page .locate{top:12px;right:12px;height:50px;padding:0 11px;gap:6px}.map-style-control{top:12px;left:12px;max-width:calc(100% - 164px);height:46px;padding:0 6px}.map-style-control select{font-size:16px}.map-style-control svg{width:17px;height:17px}.map-page .maptop{top:70px;left:12px}.map-page .gps-notice{top:70px;right:12px;bottom:auto}.map-page .leaflet-bottom.leaflet-right .leaflet-control-zoom{margin:0 12px 26px 0}.map-page.navigating .nav-bar{right:76px}.map-page.navigating .gps-notice{top:auto;bottom:110px}}
@media(max-width:350px){.map-page .gps-caption{font-size:12px}.map-style-control{max-width:calc(100% - 151px)}}
@media(prefers-reduced-motion:no-preference){.map-page .locate{transition:transform .12s ease-out,background .12s ease-out,color .12s ease-out}}

/* brand wordmark only; navigation and hazard colors remain semantic */
.wordmark{color:#c54b08!important}
