: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}}

/* v1.6.5: compact two-line brand; leave navigation controls untouched. */
.map-page .brand-title{display:flex;flex-direction:column;min-width:0;gap:3px;flex:1}
.map-page .brand-title .wordmark{font-size:18px;letter-spacing:-.35px;line-height:1.15;white-space:normal;overflow-wrap:anywhere;align-self:flex-start}
.map-page .brand-description{color:#5f6368;font-size:12px;line-height:1.2}
.map-page header{height:58px}
.map-page main{height:calc(100dvh - 58px)}
.map-page .place{flex:none;margin-left:0}
.map-page .menu{flex:none}
@media(max-width:719px){.map-page header{height:60px;gap:4px;padding:0 12px}.map-page main{height:calc(100dvh - 60px)}.map-page .brand-title .wordmark{font-size:15px;letter-spacing:-.35px}.map-page .brand-description{font-size:11px}.map-page .place{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.map-page .menu summary{padding:8px}}

/* v1.6.6: quiet benefits line, idle state only. */
.map-page .benefits{margin:8px 0 3px;padding:9px 0 5px;border-top:1px solid var(--line);font-size:12px;line-height:1.5;color:#5f6368}
.map-page .benefits p{margin:0 0 3px;font-weight:400}
.map-page .benefits ol{display:flex;flex-wrap:wrap;gap:4px 24px;margin:0;padding-left:17px;color:#202124}
.map-page .benefits li{padding-left:0;white-space:nowrap}
.map-page .panel:has(#results:not([hidden])) .benefits{display:none}
