/* Darb's original map-first interface. These rules intentionally follow the
   shared navigation styles, whose data/state contracts remain unchanged. */
body.experience-ui{--ink:#17263c;--muted:#7a879a;--blue:#3268f5;--aqua:#3268f5;--aqua-light:#edf3ff;--panel:#fff;--surface:#f4f6f9;--border:#e8edf4;--shadow:0 12px 44px #18335a14;--small-shadow:0 4px 20px #19355b13;--experience-mint:#4bc3aa;background:#e9eef3}
body.experience-ui.dark{--ink:#edf3fb;--muted:#9aaac0;--panel:#172538;--surface:#213249;--border:#30435b;--aqua-light:#263f69;--shadow:0 16px 42px #0004;--small-shadow:0 4px 22px #0003;background:#152334}
body.experience-ui button,body.experience-ui input,body.experience-ui select,body.experience-ui textarea{font-family:var(--font)}
body.experience-ui button{touch-action:manipulation}
body.experience-ui button:focus-visible,body.experience-ui select:focus-visible,body.experience-ui input:focus-visible,body.experience-ui textarea:focus-visible{outline:3px solid #4b87ff;outline-offset:3px}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.experience-ui .app-header{left:18px;right:18px;align-items:center}
body.experience-ui .brand{border-radius:19px;padding:7px 12px 7px 8px;background:var(--panel);box-shadow:var(--small-shadow);gap:8px;min-height:52px}
body.experience-ui .brand-mark{width:35px;height:35px;border-radius:12px;box-shadow:none}
body.experience-ui .brand-name{font-size:26px;line-height:1.3;letter-spacing:-1.2px;font-weight:900}
body.experience-ui .brand-dot{color:var(--experience-mint)}
body.experience-ui .header-actions{gap:8px;background:none;box-shadow:none;padding:0;border:0}
body.experience-ui .header-actions .icon-button{width:50px;height:50px;border-radius:18px;background:var(--panel);box-shadow:var(--small-shadow);color:var(--ink)}
body.experience-ui .header-actions .appearance-button{color:var(--blue)}
body.experience-ui .header-actions .icon-button svg{width:23px;height:23px}
body.experience-ui #theme-toggle{display:none}
body.experience-ui:not(.navigating) #voice-toggle{display:none}
body.experience-ui .region-switcher{top:calc(var(--darb-top) + 65px);right:18px;min-height:48px;border:0;width:155px;border-radius:17px;padding:0 11px;box-shadow:var(--small-shadow);gap:6px}
body.experience-ui .region-icon{color:#7992a4}
body.experience-ui .region-field select{font-size:12px;font-weight:700;min-height:48px;cursor:pointer}
body.experience-ui .app-shell .map-context{border-radius:10px;box-shadow:none;background:#ffffffdf;color:#6a7f92;padding:0 8px;max-width:220px;font-size:9px}
body.experience-ui.dark .app-shell .map-context{background:#172538e8;color:var(--muted)}
body.experience-ui .map-context .status-dot{background:var(--experience-mint);width:5px;height:5px;box-shadow:none}
body.experience-ui .map-vignette{background:linear-gradient(180deg,#edf3f94a,transparent 150px)}
body.experience-ui.dark .map-vignette{background:linear-gradient(180deg,#101c2b55,transparent 150px)}
body.experience-ui #planner{border:1px solid #e7edf470;border-radius:28px;box-shadow:var(--shadow);width:374px;right:18px}
body.experience-ui #planner .panel-toggle{height:48px;min-height:48px}
body.experience-ui #planner .panel-toggle span{width:35px;height:4px;background:#d0d9e5}
body.experience-ui #planner .planner-content{padding:0 21px 22px}
body.experience-ui #planner .planner-heading{margin-bottom:18px}
body.experience-ui #planner .planner-heading h1{font-size:25px;font-weight:850;letter-spacing:-.9px;line-height:1.6}
body.experience-ui #planner .planner-heading .eyebrow{display:block;font-size:10px;line-height:1.8;color:var(--muted);margin:0 0 2px}
body.experience-ui #planner .waypoints{padding:8px 12px;background:var(--surface);border:1px solid var(--border);border-radius:19px}
body.experience-ui #planner .waypoint-row{min-height:60px;gap:10px}
body.experience-ui #planner .waypoint-field label{font-size:9px;color:var(--muted)}
body.experience-ui #planner .waypoint-field input{font-size:15px;font-weight:650;min-width:0}
body.experience-ui #planner .waypoint-field input::placeholder{color:#8b98a9;font-weight:450}
body.experience-ui #planner .waypoint-symbol{width:10px;height:10px;flex-shrink:0}
body.experience-ui #planner .origin-symbol{border:3px solid #7d8fa8;background:transparent}
body.experience-ui #planner .destination-symbol{background:var(--blue);border:3px solid #dbe7ff;box-shadow:0 0 0 1px #3268f53d}
body.experience-ui #planner .waypoint-actions{gap:0}
body.experience-ui #planner .field-button{width:48px;height:48px;color:#6b83a4}
body.experience-ui #planner .field-button:hover{background:var(--aqua-light);color:var(--blue)}
body.experience-ui #planner .waypoint-divider span{background:var(--border)}
body.experience-ui #planner .swap-button{color:#7b91af;background:var(--surface)}
body.experience-ui .primary-button,body.experience-ui #planner .primary-button{background:var(--blue);color:#fff;border:0;box-shadow:none;border-radius:17px;min-height:54px;font-size:14px;font-weight:750}
body.experience-ui .primary-button:disabled{background:#dbe3f0;color:#8b9bb1;cursor:not-allowed;opacity:1;box-shadow:none}
body.experience-ui.dark .primary-button:disabled{background:#30425b;color:#8496ad}
body.experience-ui #planner .route-button{margin-top:13px}
body.experience-ui #planner .route-result{border-top:1px solid var(--border);padding-top:20px;margin-top:20px}
body.experience-ui #planner .result-heading strong{font-size:13px;font-weight:750}
body.experience-ui #planner .estimate-tag{font-size:9px;padding:4px 8px;background:var(--surface);border-radius:7px;color:var(--muted)}
body.experience-ui #planner .route-metrics{padding:3px 0 2px}
body.experience-ui #planner .metric.main-metric strong{font-size:38px;font-weight:850;letter-spacing:-1px}
body.experience-ui #planner .metric strong{font-size:23px;font-weight:700}
body.experience-ui #planner .metric span{font-size:10px}
body.experience-ui #planner .route-note{font-size:10px;line-height:1.9;color:var(--muted)}
body.experience-ui #planner .route-alternative{background:var(--surface);border:1px solid var(--border);border-radius:12px;font-size:10px;min-height:48px}
body.experience-ui #planner .route-alternative.selected{background:var(--aqua-light);border-color:#9bb8ff;color:var(--blue)}
body.experience-ui #planner .secondary-button{border:1px solid var(--border);background:var(--surface);color:var(--ink)}
body.experience-ui #planner .nearby-section{margin-top:25px}
body.experience-ui #planner .section-heading h2{font-size:12px;font-weight:750}
body.experience-ui #planner .section-heading>span{font-size:9px}
body.experience-ui #planner .quick-place{background:var(--surface);border:1px solid transparent;border-radius:15px;min-height:65px;padding:10px 12px}
body.experience-ui #planner .quick-place:hover{border-color:#c8d9f4;background:var(--aqua-light)}
body.experience-ui #planner .quick-place strong{font-size:11px}
body.experience-ui #planner .reports-section{padding-top:20px;margin-top:23px;border-top:1px solid var(--border)}
body.experience-ui #planner .local-badge{background:var(--surface);padding:3px 7px;border-radius:6px}
body.experience-ui #planner .planner-footer{display:flex;flex-wrap:wrap;gap:7px;border-top:1px solid var(--border);padding-top:13px;font-size:9px;color:var(--muted)}
body.experience-ui #planner .planner-footer .footer-mark{background:var(--experience-mint);box-shadow:none;width:5px;height:5px}
body.experience-ui #planner .planner-footer .company-name{color:#5f829a;font-size:9px}
body.experience-ui .destination-shortcut{background:var(--surface);border:1px solid #e3eaf4;border-radius:19px;width:100%;margin:0;min-height:64px;padding:12px 16px;gap:14px}
body.experience-ui .destination-shortcut>svg:first-child{color:var(--blue);width:25px;height:25px}
body.experience-ui .destination-shortcut-copy{display:flex;flex-direction:column;gap:2px;align-items:flex-start}
body.experience-ui .destination-shortcut-copy strong{font-size:21px;font-weight:850;line-height:1.5;letter-spacing:-.6px}
body.experience-ui .destination-shortcut-copy small{font-size:9px;color:var(--muted);font-weight:450;line-height:1.7}
body.experience-ui .destination-shortcut-arrow{width:18px!important;color:#9aadbf!important}
.home-shortcuts{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:9px}
.home-shortcut{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;border:0;background:none;color:#667d98;border-radius:12px;min-height:48px;padding:4px 5px;font:600 10px var(--font);white-space:nowrap}
.home-shortcut>svg{width:20px;height:20px;flex-shrink:0}
.home-shortcut:first-child{color:var(--blue)}
.home-shortcut:hover{background:var(--surface)}
.home-shortcut>span:not(.shortcut-count){display:flex;align-items:center;gap:4px}
.home-shortcut small{font-size:7px;font-weight:500;color:#9caabc;background:var(--surface);border-radius:4px;padding:2px 4px}
.home-shortcut.future-shortcut{color:#8fa0b5}
.shortcut-count{display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:5px;background:var(--aqua-light);color:var(--blue);font:700 9px Arial,sans-serif}
body.experience-ui.panel-collapsed #planner,body.experience-ui #planner.collapsed{padding:13px 13px 8px;bottom:var(--darb-bottom);border-radius:26px}
body.experience-ui.panel-collapsed #planner .panel-toggle,body.experience-ui #planner.collapsed .panel-toggle{display:none}
body.experience-ui.panel-collapsed .home-shortcuts,body.experience-ui #planner.collapsed .home-shortcuts{display:grid}
body.experience-ui .map-tool{border-radius:17px;width:50px;height:50px;box-shadow:var(--small-shadow)}
body.experience-ui .app-shell .report-button{width:58px;height:60px;border-radius:21px;background:var(--blue);color:#fff;box-shadow:0 6px 18px #3268f532;gap:0}
body.experience-ui .report-button svg{width:26px;height:26px}
body.experience-ui .report-button span{font-size:9px;font-weight:650}
body.experience-ui .app-shell .map-pick-banner{background:#18324c;border-radius:19px;padding:10px 12px;box-shadow:var(--shadow)}
body.experience-ui .map-pick-banner .pick-target{background:#ffffff13;color:#70d5bf}
body.experience-ui .map-pick-banner strong{font-size:12px;line-height:1.8}
body.experience-ui .app-shell .toast{background:#20334d;color:white;box-shadow:var(--shadow);border-radius:15px}
body.experience-ui .app-dialog{border:1px solid #ffffff36;border-radius:30px;padding:26px;background:var(--panel);color:var(--ink);box-shadow:0 24px 100px #0a203e3b}
body.experience-ui .app-dialog::backdrop{background:#1029444f;backdrop-filter:blur(5px)}
body.experience-ui .experience-sheet{width:calc(100% - 32px);max-width:460px;max-height:calc(100dvh - 32px);padding:14px 24px 21px;overflow:auto;overscroll-behavior:contain}
.sheet-handle{width:35px;height:4px;border-radius:5px;background:#d5deea;margin:0 auto 18px}
.experience-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.experience-ui .experience-sheet-heading .eyebrow{font-size:10px;font-weight:500;line-height:1.8;color:var(--muted);margin:0 0 3px}
body.experience-ui .experience-sheet h2{font-size:26px;font-weight:850;letter-spacing:-.9px;line-height:1.55;margin:0}
body.experience-ui .experience-sheet .dialog-close{width:48px;height:48px;flex-shrink:0;border:0;border-radius:16px;background:var(--surface);color:#7c8ba0}
body.experience-ui .experience-sheet .dialog-close svg{width:21px;height:21px}
body.experience-ui .experience-sheet .dialog-intro{font-size:11px;line-height:1.9;margin:8px 0 20px;color:var(--muted)}
.report-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.report-category{display:flex;position:relative;align-items:center;flex-direction:column;gap:5px;padding:10px 4px 12px;min-height:110px;border:1.5px solid transparent;border-radius:19px;background:var(--surface);color:var(--ink)}
.report-category .report-art{display:grid;place-items:center;width:57px;height:57px;border-radius:19px}
.report-category .report-art svg{width:51px;height:51px;stroke:none;fill:none}
.report-category strong{font-size:11px;font-weight:700;line-height:1.7}
.report-category[aria-pressed=true]{border-color:#7da5ff;background:var(--aqua-light);box-shadow:0 0 0 1px #3268f51a}
.report-category[aria-pressed=true]:after{content:'';position:absolute;left:8px;top:8px;width:7px;height:7px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 3px #fff}
.report-category.future-category{padding-bottom:7px;gap:2px;background:color-mix(in srgb,var(--surface) 80%,var(--panel));border:1px dashed var(--border);color:#8b99ad}
.report-category.future-category .report-art{opacity:.68}
.report-category.future-category small{font-size:8px;line-height:1.4;color:#93a0b2}
.future-feature-note{background:#f0f4fa;border:1px solid var(--border);padding:10px 12px;border-radius:12px;font-size:11px;line-height:1.9;color:#6e829e;margin:12px 0 0}
body.dark .future-feature-note{background:var(--surface);color:var(--muted)}
.report-location-button{display:flex;align-items:center;text-align:right;gap:12px;width:100%;border:1px solid var(--border);background:var(--panel);border-radius:17px;padding:12px;margin:18px 0 20px;color:var(--ink);min-height:72px}
.report-location-symbol{display:grid;place-items:center;width:40px;height:43px;border-radius:13px;background:var(--aqua-light);color:var(--blue);flex-shrink:0}
.report-location-symbol svg{width:22px;height:22px}
.report-location-button>span:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:0}
.report-location-button strong{font-size:12px;font-weight:750}
.report-location-button small{font-size:10px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}
.report-location-button .location-arrow{margin-right:auto;width:18px;height:18px;flex-shrink:0;color:#98aac0}
.report-detail-fields{padding:0 2px}
body.experience-ui .experience-sheet .form-label{font-size:11px;font-weight:650;gap:5px;margin:0 0 8px}
body.experience-ui .experience-sheet .form-label span{font-size:10px;color:#98a5b6;font-weight:400}
.report-delay-row{display:flex;align-items:center;gap:13px;margin-bottom:18px}
body.experience-ui .report-delay-row .dialog-select{width:50%;min-height:48px;font-size:12px;padding:10px 12px;border:1px solid var(--border);border-radius:13px;appearance:auto}
.report-delay-row p{font-size:10px;line-height:1.8;color:#7890a3;margin:0}
.report-delay-row p span{font-size:9px;color:#98a6b7}
body.experience-ui .experience-sheet textarea{border:1px solid var(--border);background:var(--surface);min-height:72px;border-radius:14px;padding:11px 12px;font-size:12px;line-height:1.8;resize:vertical}
body.experience-ui .experience-sheet textarea::placeholder{font-size:11px;color:#9ba8b9}
.report-submit-area{margin-top:17px}
.report-submit-area .primary-button{width:100%}
body.experience-ui .report-submit-area .dialog-note{display:flex;justify-content:center;align-items:center;gap:5px;font-size:9px;margin:11px 0 0;line-height:1.8;color:#8a9aae}
.report-submit-area .dialog-note svg{width:13px;height:15px;flex-shrink:0}
.appearance-section{margin-top:22px}
.appearance-section h3{font-size:12px;font-weight:750;margin:0 0 12px}
.map-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.map-mode-card{display:flex;flex-direction:column;border:1.5px solid var(--border);border-radius:18px;padding:6px;background:var(--panel);color:var(--ink);overflow:hidden;text-align:right;min-height:148px}
.map-mode-preview{display:block;width:100%;height:87px;border-radius:12px;overflow:hidden;background:#e9eef4}
.map-mode-preview svg{display:block;width:100%;height:100%;stroke:none;fill:none}
.map-mode-caption{position:relative;display:flex;flex-direction:column;gap:2px;padding:10px 7px 6px;width:100%}
.map-mode-caption strong{font-size:13px;font-weight:750;line-height:1.6}
.map-mode-caption small{font-size:8px;color:var(--muted);line-height:1.7}
.map-mode-caption i{position:absolute;top:15px;left:7px;width:15px;height:15px;border:1.5px solid #d3deeb;border-radius:50%}
.map-mode-card[aria-pressed=true]{border-color:#86a9ff;background:var(--aqua-light);box-shadow:0 0 0 1px #3268f51a}
.map-mode-card[aria-pressed=true] .map-mode-caption i{border:4px solid var(--blue);background:#fff}
.map-mode-card:disabled{opacity:.5;cursor:not-allowed}
.appearance-hint{font-size:9px;color:var(--muted);line-height:1.9;margin:9px 1px 0}
.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;background:var(--surface);border:1px solid var(--border);padding:6px;border-radius:18px}
.theme-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:79px;padding:12px 4px;border:1px solid transparent;border-radius:13px;background:none;color:#8c9cb1}
.theme-option svg{width:25px;height:25px}
.theme-option strong{font-size:10px;font-weight:650}
.theme-option[aria-pressed=true]{background:var(--panel);color:var(--blue);border-color:#dbe6f6;box-shadow:0 3px 10px #203a6310}
.appearance-future-row{display:flex;align-items:center;gap:10px;margin:24px 0 22px;padding:16px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.appearance-future-icon{display:grid;place-items:center;width:36px;height:40px;opacity:.65}
.appearance-future-icon svg{width:34px;height:34px;stroke:none}
.appearance-future-row>div{flex:1}
.appearance-future-row strong{font-size:11px;font-weight:650;color:#8393a9}
.appearance-future-row p{font-size:9px;line-height:1.8;margin:3px 0 0;color:#a0adbd}
.soon-pill{font-size:8px;color:#95a4b6;background:var(--surface);padding:4px 7px;border-radius:7px;white-space:nowrap}
.appearance-future-row input{appearance:none;width:31px;height:19px;background:#e2e8f0;border:0;border-radius:20px;position:relative;flex-shrink:0;margin:0}
.appearance-future-row input:before{content:'';width:13px;height:13px;position:absolute;right:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 1px 4px #91a1b52b}
body.experience-ui #appearance-done{width:100%}
.appearance-footnote{font-size:9px;text-align:center;color:#96a4b7;margin:12px 0 0;line-height:1.8}
.experience-announcement{position:fixed;z-index:100;left:50%;bottom:210px;transform:translateX(-50%);max-width:calc(100% - 36px);width:max-content;padding:13px 18px;border-radius:15px;background:#20334d;color:#fff;box-shadow:0 5px 24px #142a4c24;font-size:12px;line-height:1.9;text-align:center;pointer-events:none}
body.experience-ui .info-dialog{padding:26px;max-width:460px}
body.experience-ui .info-dialog .text-button{display:flex;align-items:center;min-height:48px;color:var(--blue);font-size:12px}
body.experience-ui.navigating #appearance-button{display:flex}
body.experience-ui.navigating .app-shell #report-button{display:flex}
body.experience-ui.navigating #nav-panel{background:#173154;border:1px solid #ffffff0a;box-shadow:var(--shadow);border-radius:25px}
body.experience-ui.navigating #nav-panel .nav-live-dot{background:#7ed9c7}
body.experience-ui.navigating #nav-panel .maneuver-icon{color:#fff}
body.experience-ui .trip-summary{border:1px solid var(--border);box-shadow:var(--shadow);border-radius:25px}
body.experience-ui .trip-summary .stop-button{background:#f6eeed;color:#b16d66;border-radius:16px}
body.experience-ui.dark .trip-summary .stop-button{background:#3c303a;color:#e9a7a0}
body.experience-ui .vehicle-marker .vehicle-heading{filter:drop-shadow(0 4px 6px #11294a50)}
@media(max-width:800px){
  body.experience-ui{--darb-bottom-space:min(68dvh,590px)}
  body.experience-ui.panel-collapsed{--darb-bottom-space:calc(160px + env(safe-area-inset-bottom))}
  body.experience-ui.picking{--darb-bottom-space:max(12px,env(safe-area-inset-bottom))}
  body.experience-ui.navigating{--darb-bottom-space:calc(142px + env(safe-area-inset-bottom))}
  body.experience-ui .app-header{right:14px;left:14px}
  body.experience-ui .region-switcher{right:14px;width:151px;top:calc(var(--darb-top) + 63px)}
  body.experience-ui .header-actions{gap:7px}
  body.experience-ui .header-actions .icon-button{width:48px;height:48px;border-radius:17px}
  body.experience-ui #planner{right:0;left:0;bottom:0;width:100%;max-height:var(--darb-bottom-space);border-radius:29px 29px 0 0;border-bottom:0}
  body.experience-ui #planner .planner-content{padding:0 20px calc(22px + env(safe-area-inset-bottom))}
  body.experience-ui #planner .waypoint-field input{font-size:16px}
  body.experience-ui.panel-collapsed #planner,body.experience-ui #planner.collapsed{right:12px;left:12px;bottom:var(--darb-bottom);width:auto;max-height:none;padding:12px 12px 7px;border-radius:26px}
  body.experience-ui .app-shell .map-tools{left:14px;bottom:calc(var(--darb-bottom-space) + 30px)}
  body.experience-ui .app-shell .report-button{right:14px;left:auto;bottom:calc(var(--darb-bottom-space) + 27px);width:55px;height:58px;border-radius:20px}
  body.experience-ui .app-shell .map-context{left:78px;bottom:calc(var(--darb-bottom-space) + 34px);max-width:calc(100% - 157px);height:25px;font-size:8px;padding:0 7px}
  body.experience-ui .app-shell .maplibregl-ctrl-bottom-left,body.experience-ui .app-shell .maplibregl-ctrl-bottom-right,body.experience-ui .app-shell .leaflet-bottom{bottom:calc(var(--darb-bottom-space) + 2px)!important}
  body.experience-ui .app-shell .toast{bottom:calc(var(--darb-bottom-space) + 95px);font-size:11px}
  body.experience-ui .experience-sheet{position:fixed;top:auto;bottom:0;left:0;right:0;margin:auto 0 0;width:100%;max-width:none;max-height:calc(100dvh - 28px - env(safe-area-inset-top));border-radius:29px 29px 0 0;border-bottom:0;padding:12px 23px calc(22px + env(safe-area-inset-bottom))}
  body.experience-ui .experience-sheet h2{font-size:26px}
  .report-category-grid{gap:9px}
  .report-category{min-height:105px;padding-top:8px;border-radius:18px}
  .report-category .report-art{width:55px;height:55px}
  .report-category .report-art svg{width:49px;height:49px}
  .report-category strong{font-size:10px}
  body.experience-ui .experience-sheet .dialog-intro{margin-bottom:17px}
  .report-location-button{margin-top:16px;margin-bottom:18px}
  .report-detail-fields{padding:0}
  .appearance-section{margin-top:20px}
  .map-mode-card{min-height:149px}
  .appearance-future-row{margin-top:22px;margin-bottom:20px}
  .experience-announcement{bottom:calc(var(--darb-bottom-space) + 88px);font-size:11px}
  body.experience-ui.navigating .app-shell .map-tools{bottom:calc(var(--darb-bottom-space) + 22px)}
  body.experience-ui.navigating .app-header{left:14px;right:auto;bottom:calc(var(--darb-bottom-space) + 82px)}
  body.experience-ui.navigating #nav-panel{right:12px;left:12px;width:auto}
}
@media(min-width:801px){body.experience-ui #planner.collapsed,body.experience-ui.panel-collapsed #planner{max-height:160px}.home-shortcuts{margin-top:8px}.experience-announcement{bottom:28px}.sheet-handle{display:none}.experience-sheet-heading{margin-top:8px}}
@media(max-width:360px){body.experience-ui .app-header{left:11px;right:11px}.home-shortcut{font-size:9px;gap:5px}.home-shortcut>svg{width:18px;height:18px}.home-shortcut small{font-size:6px;padding:2px 3px}.shortcut-count{min-width:13px;height:14px;font-size:8px}.home-shortcuts{gap:1px}body.experience-ui .experience-sheet{padding-left:18px;padding-right:18px}.report-category-grid{gap:7px}.report-category{min-height:100px}.report-category strong{font-size:9px}.report-category .report-art svg{width:45px;height:45px}.map-mode-grid{gap:9px}.map-mode-caption small{font-size:7px}.map-mode-caption strong{font-size:12px}body.experience-ui #planner .planner-content{padding-left:15px;padding-right:15px}body.experience-ui #planner .waypoints{padding-left:8px;padding-right:8px}body.experience-ui #planner .waypoint-row{gap:7px}body.experience-ui #planner .planner-heading h1{font-size:23px}}
@media(max-height:500px) and (min-width:550px){body.experience-ui #planner{right:12px;left:auto;top:12px;bottom:var(--darb-bottom);width:min(380px,55vw);max-height:calc(100dvh - 24px - env(safe-area-inset-bottom));border-radius:25px}body.experience-ui.panel-collapsed #planner,body.experience-ui #planner.collapsed{top:auto;right:12px;left:auto;width:min(380px,55vw)}body.experience-ui .app-header{right:auto;left:12px}body.experience-ui .region-switcher{left:12px;right:auto}body.experience-ui .app-shell .map-tools{left:12px;bottom:65px}body.experience-ui .app-shell .report-button{left:73px;right:auto;bottom:65px}body.experience-ui .app-shell .map-context{left:12px;bottom:30px;max-width:calc(45vw - 28px)}body.experience-ui .experience-sheet{position:fixed;margin:auto;top:12px;bottom:12px;left:50%;right:auto;transform:translateX(-50%);width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 24px);border-radius:26px}.report-category-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.report-category{min-height:89px;border-radius:13px;padding:8px 3px}.report-category .report-art{width:39px;height:43px}.report-category .report-art svg{width:37px;height:37px}.report-category strong{font-size:8px}.report-category.future-category small{font-size:7px}.experience-announcement{bottom:25px}body.experience-ui .app-shell .maplibregl-ctrl-bottom-left,body.experience-ui .app-shell .maplibregl-ctrl-bottom-right,body.experience-ui .app-shell .leaflet-bottom{bottom:2px!important}}
@media(max-height:560px) and (max-width:549px){body.experience-ui:not(.panel-collapsed):not(.navigating):not(.picking){--darb-bottom-space:calc(100dvh - 72px - env(safe-area-inset-top))}}
@media(prefers-reduced-motion:no-preference){.report-category,.map-mode-card,.theme-option,.home-shortcut{transition:background .16s,border-color .16s,box-shadow .16s}.experience-sheet[open]{animation:darbSheetIn .18s ease-out}@keyframes darbSheetIn{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}}
@media(prefers-reduced-motion:reduce){.experience-sheet,.report-category,.map-mode-card,.theme-option,.home-shortcut{animation:none!important;transition:none!important}}

/* Legibility is more important than fitting every detail in one phone screen. */
body.experience-ui .home-shortcut{font-size:12px;gap:6px}
body.experience-ui .home-shortcut small{font-size:10px;line-height:1.5;padding:0 3px}
body.experience-ui .home-shortcut.future-shortcut>span{flex-direction:column;gap:0;line-height:1.5}
body.experience-ui .destination-shortcut-copy small{font-size:12px;line-height:1.7}
body.experience-ui #planner .planner-heading .eyebrow{font-size:12px}
body.experience-ui #planner .waypoint-field label{font-size:12px}
body.experience-ui #planner .route-note{font-size:12px}
body.experience-ui #planner .section-heading h2{font-size:14px}
body.experience-ui #planner .section-heading>span{font-size:11px}
body.experience-ui #planner .quick-place strong{font-size:13px}
body.experience-ui #planner .quick-place span{font-size:11px}
body.experience-ui #planner .metric span{font-size:12px}
body.experience-ui #planner .route-alternative{font-size:12px}
body.experience-ui #planner .planner-footer,body.experience-ui #planner .planner-footer .company-name{font-size:11px}
body.experience-ui .experience-sheet .dialog-intro{font-size:12px}
body.experience-ui .experience-sheet-heading .eyebrow{font-size:12px}
body.experience-ui .report-category strong{font-size:13px}
body.experience-ui .report-category.future-category small{font-size:10px}
body.experience-ui .future-feature-note{font-size:12px}
body.experience-ui .report-location-button strong{font-size:14px}
body.experience-ui .report-location-button small{font-size:12px}
body.experience-ui .experience-sheet .form-label{font-size:14px}
body.experience-ui .experience-sheet .form-label span{font-size:12px}
body.experience-ui .report-delay-row .dialog-select{font-size:14px}
body.experience-ui .report-delay-row p,body.experience-ui .report-delay-row p span{font-size:12px}
body.experience-ui .experience-sheet textarea,body.experience-ui .experience-sheet textarea::placeholder{font-size:14px}
body.experience-ui .report-submit-area .dialog-note{font-size:12px}
body.experience-ui .appearance-section h3{font-size:14px}
body.experience-ui .map-mode-caption strong{font-size:14px}
body.experience-ui .map-mode-caption small{font-size:12px;line-height:1.65}
body.experience-ui .map-mode-caption i{top:14px}
body.experience-ui .map-mode-caption{padding-left:20px}
body.experience-ui .appearance-hint{font-size:12px}
body.experience-ui .theme-option strong{font-size:13px}
body.experience-ui .appearance-future-row strong{font-size:13px}
body.experience-ui .appearance-future-row p{font-size:12px}
body.experience-ui .soon-pill{font-size:10px}
body.experience-ui .appearance-footnote{font-size:12px}
body.experience-ui .experience-announcement{font-size:12px}
@media(max-width:800px){body.experience-ui.panel-collapsed{--darb-bottom-space:calc(182px + env(safe-area-inset-bottom))}.map-mode-card{min-height:170px}body.experience-ui .appearance-future-row{gap:8px}}
@media(max-width:360px){body.experience-ui .home-shortcut{gap:4px;font-size:12px}body.experience-ui .home-shortcut>svg{width:18px;height:18px}body.experience-ui .shortcut-count{font-size:10px}body.experience-ui .report-category{padding-left:2px;padding-right:2px}body.experience-ui .report-category strong{font-size:13px;letter-spacing:-.3px}body.experience-ui .appearance-future-icon{display:none}}
@media(max-height:500px) and (min-width:550px){body.experience-ui.panel-collapsed{--darb-bottom-space:12px}.report-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.experience-ui .report-category strong{font-size:13px}.report-category .report-art{width:44px;height:44px}.report-category .report-art svg{width:42px;height:42px}}

/* Intermediate addresses retain the map-first planner and native tap targets. */
.intermediate-stop-row{border-top:1px solid var(--border);padding-block:8px;flex-wrap:wrap}
.intermediate-stop-row .waypoint-field{flex:1;min-width:0}
.stop-symbol{display:grid;place-items:center;background:var(--blue);color:#fff;font-size:11px;font-weight:800;border-radius:50%;width:22px;height:22px;border:0;flex-shrink:0}
.stop-row-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}
.stop-row-actions .stop-action{min-width:44px;min-height:44px;width:44px;height:44px;font-size:21px;background:var(--surface);border-radius:10px}
.stop-row-actions .stop-action:disabled{opacity:.32;cursor:default}
.stop-planner-tools{display:flex;margin-top:8px}
.add-stop-button{display:flex;align-items:center;gap:7px;min-height:44px;border:0;border-radius:12px;background:var(--surface);color:var(--blue);padding:8px 12px;font-size:12px;font-weight:700;width:100%}
.add-stop-button svg{width:18px;height:18px}.add-stop-button small{margin-inline-start:auto;font-size:10px;color:var(--muted);direction:ltr}.add-stop-button:disabled{opacity:.45;cursor:default}
.stop-order-controls{border:0;padding:0;margin:14px 0 10px;min-width:0}.stop-order-controls legend{font-size:11px;font-weight:700;margin-bottom:8px}.stop-order-options{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:var(--surface);padding:5px;border-radius:13px}.stop-order-options button{min-height:44px;border:1px solid transparent;border-radius:10px;background:none;font-size:11px;font-weight:700;color:var(--muted);padding:7px}.stop-order-options button[aria-pressed=true]{background:var(--panel);color:var(--blue);border-color:var(--border);box-shadow:0 2px 5px #152b4910}.stop-order-controls p{font-size:10px;line-height:1.9;color:var(--muted);margin:8px 2px 0}.stop-order-controls .stop-order-limit{font-size:9px;margin-top:3px;color:var(--muted)}
.waypoint-stop-marker{display:grid;place-items:center;width:28px;height:28px;border:3px solid white;border-radius:50%;background:#3268f5;color:#fff;font-size:12px;font-weight:800;box-shadow:0 3px 10px #16366a4a}
.waypoint-navigation-note{font-size:10px;line-height:1.9;color:var(--muted);background:var(--surface);border-radius:10px;padding:9px 11px;margin:12px 0 0}
.nearby-cars-feature{margin-top:-22px}.nearby-cars-feature>div{min-width:0}.nearby-cars-feature .soon-pill{display:inline-block;margin-top:6px;font-size:9px;color:var(--muted)}.nearby-cars-feature strong{color:var(--muted)}.nearby-cars-feature p{color:var(--muted)}
@media(max-width:480px){.intermediate-stop-row{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:9px}.intermediate-stop-row .stop-row-actions{grid-column:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:5px}.intermediate-stop-row .stop-row-actions .stop-action{width:100%}.intermediate-stop-row .waypoint-field input{font-size:12px}}

/* Quiet inline startup credits; the existing About control retains the full licence links. */
body.experience-ui .startup-map-credit{position:absolute;z-index:2;left:10px;bottom:calc(env(safe-area-inset-bottom) + 116px);max-width:calc(100% - 20px);padding:1px 3px;border:0;border-radius:0;background:transparent;color:var(--muted);box-shadow:none;font-size:10px;line-height:1.5;text-shadow:0 1px 2px var(--panel);pointer-events:auto}
.startup-map-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}.startup-map-credit>div{white-space:normal}
