.demo-section{padding-top:100px;padding-bottom:85px}.demo-shell{--demo-surface:#fff;--demo-ground:#f0f3f6;--demo-block:#e4e9ef;--demo-soft:#f3f6fc;--demo-edge:#e2e8f1;--demo-copy:#17263d;--demo-secondary:#65748c;background:var(--demo-surface);border:1px solid var(--demo-edge);border-radius:30px;box-shadow:0 18px 70px #162b4c0a;overflow:hidden;color:var(--demo-copy)}.demo-topline{display:flex;align-items:center;justify-content:space-between;padding:21px 26px;border-bottom:1px solid var(--demo-edge);gap:15px}.demo-label{font-size:10px;letter-spacing:1.8px;font-weight:650;display:flex;align-items:center;gap:9px}.demo-live-dot{width:7px;height:7px;border-radius:50%;background:#457bf0;box-shadow:0 0 0 4px #316bf40d}.demo-reset{border:0;background:none;color:var(--demo-secondary);font-size:12px;padding:8px 0;display:flex;gap:10px;align-items:center;white-space:nowrap}.demo-reset>span{font-size:19px}.demo-workspace{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(310px,1fr)}.demo-map-wrap{position:relative;background:var(--demo-ground);overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-width:0;padding-bottom:20px}.demo-map-caption{position:relative;z-index:2;padding:30px 30px 0;display:flex;flex-direction:column;gap:4px;pointer-events:none}.demo-map-caption strong{font-size:22px;font-weight:550;letter-spacing:-.7px}.demo-map-caption span{color:var(--demo-secondary);font-size:11px}.demo-map{width:100%;display:block;height:auto;min-height:275px;flex:1;overflow:visible}.demo-ground{fill:var(--demo-ground)}.demo-block{fill:var(--demo-block)}.demo-shore{stroke:#faffff;stroke-width:8}.demo-park{fill:#d1e9dc;stroke:#e8f6ed;stroke-width:7}.demo-streets{stroke:var(--demo-surface);stroke-width:13;stroke-linecap:round}.demo-map-landmarks{fill:#7896b1;font-size:10px;letter-spacing:2px;font-weight:600}.demo-map-landmarks text:nth-child(2){fill:#79a18a;font-size:9px}.demo-map-landmarks text:nth-child(3){fill:#97a4b6;font-size:8px}.demo-route-under{fill:none;stroke:#fff;stroke-width:13;stroke-linejoin:round;stroke-linecap:round}.demo-route{fill:none;stroke:#316bf4;stroke-width:7;stroke-linejoin:round;stroke-linecap:round;transition:stroke .25s}.demo-shell[data-mode=caminar] .demo-route{stroke-dasharray:2 11;stroke:#258568}.demo-shell[data-mode=bici] .demo-route{stroke:#258568}.demo-shell[data-mode=auto] .demo-route{stroke:#655ee6}.demo-shell[data-detour=true] .demo-route{stroke:#be831a;stroke-dasharray:8 8}.demo-marker-circle{fill:var(--demo-surface);stroke:#316bf4;stroke-width:3}.demo-marker-text{font-size:11px;fill:var(--demo-copy);font-weight:700;text-anchor:middle;dominant-baseline:central}.demo-marker-label{font-size:12px;font-weight:650;fill:var(--demo-copy);paint-order:stroke;stroke:var(--demo-ground);stroke-width:5;stroke-linejoin:round}.demo-start-circle{fill:#316bf4;stroke:var(--demo-surface);stroke-width:4}.demo-end-circle{fill:#172c52;stroke:var(--demo-surface);stroke-width:4}.demo-map-status{display:flex;align-items:center;gap:8px;background:var(--demo-surface);border:1px solid var(--demo-edge);border-radius:100px;padding:7px 12px;width:max-content;max-width:calc(100% - 40px);margin:-18px 20px 18px;position:relative;font-size:11px;color:var(--demo-secondary);box-shadow:0 3px 16px #12325008}.demo-status-dot{height:6px;width:6px;border-radius:50%;background:#316bf4;flex-shrink:0}.demo-shell[data-detour=true] .demo-status-dot{background:#be831a}.demo-quickbar-card{background:color-mix(in srgb,var(--demo-surface) 90%,transparent);border:1px solid color-mix(in srgb,var(--demo-surface) 90%,var(--demo-edge));border-radius:19px;margin:0 20px;padding:17px 18px 13px;box-shadow:0 12px 22px #172d5010;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}.demo-quickbar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.demo-quickbar-heading>span{font-size:9px;letter-spacing:1.5px;font-weight:650;color:var(--demo-secondary)}.demo-inline{border:0;background:none;padding:5px 0;color:var(--blue);font-size:12px;font-weight:600}.demo-quickbar{display:flex;gap:7px;overflow-x:auto;padding:3px 3px 9px;scrollbar-width:thin;scrollbar-color:#becce1 transparent}.demo-quickbar button{flex-shrink:0;border:1px solid var(--demo-edge);background:var(--demo-surface);color:var(--demo-copy);padding:10px 14px;border-radius:100px;font-size:12px;min-height:42px;display:inline-flex;align-items:center;gap:7px;transition:background .15s}.demo-quickbar button[aria-pressed=true]{background:#316bf4;color:#fff;border-color:#316bf4}.demo-category-result{font-size:11px;color:var(--demo-secondary);margin:4px 0 0;line-height:1.5;min-height:17px}.demo-controls{padding:27px 30px;min-width:0;border-left:1px solid var(--demo-edge)}.demo-mode-field{padding:0;margin:0;border:0;min-width:0}.demo-mode-field legend{font-size:15px;font-weight:600;letter-spacing:-.2px;padding:0;margin-bottom:13px}.demo-modes{display:flex;background:var(--demo-soft);padding:4px;border-radius:12px;gap:2px}.demo-modes button{flex:1;padding:10px 3px;min-height:42px;border:0;background:transparent;color:var(--demo-secondary);font-size:12px;border-radius:9px}.demo-modes button[aria-pressed=true]{background:var(--demo-surface);color:var(--demo-copy);box-shadow:0 2px 7px #1c2e5020;font-weight:650}.demo-mode-note{font-size:11px;line-height:1.6;color:var(--demo-secondary);margin:13px 0 24px;min-height:53px}.demo-route-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.demo-route-heading h3{font-size:15px;font-weight:600;letter-spacing:-.35px;margin:0 0 14px}.demo-route-heading>span{font-size:10px;color:var(--demo-secondary);white-space:nowrap;margin-bottom:14px}.demo-endpoint{font-size:12px;display:flex;align-items:center;gap:13px;min-height:30px}.demo-endpoint>span:first-child{width:21px;text-align:center;color:#316bf4;flex-shrink:0}.demo-start-pin{width:10px!important;height:10px;background:#316bf4;border-radius:100%;margin:0 5px 0 6px;box-shadow:0 0 0 4px #316bf414}.demo-stops{list-style:none;counter-reset:demo-stops;padding:5px 0;margin:0}.demo-stop-item{display:flex;align-items:center;gap:8px;padding:5px 0;min-height:49px}.demo-stop-number{border:1px solid var(--demo-edge);width:23px;height:23px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:10px;font-weight:650;color:var(--blue);flex-shrink:0}.demo-stop-name{font-size:12px;flex:1;min-width:0}.demo-item-actions{display:flex;gap:1px}.demo-icon-button{border:0;background:transparent;border-radius:9px;min-width:34px;height:42px;color:var(--demo-secondary);font-size:16px;display:flex;align-items:center;justify-content:center;padding:0}.demo-icon-button:hover{background:var(--demo-soft);color:var(--demo-copy)}.demo-icon-button:disabled{opacity:.28;cursor:default}.demo-destination{margin-bottom:18px}.demo-add-stop label,.demo-restore label{display:block;font-size:11px;font-weight:550;color:var(--demo-secondary);margin-bottom:7px}.demo-add-stop>div,.demo-restore>div{display:flex;gap:7px}.demo-add-stop select,.demo-restore select{font:inherit;font-size:12px;min-width:0;flex:1;border:1px solid var(--demo-edge);background:var(--demo-surface);color:var(--demo-copy);border-radius:10px;padding:12px 9px;min-height:44px}.demo-add-stop>div>button,.demo-restore>div>button{border:0;background:#316bf4;color:#fff;border-radius:10px;font-size:12px;font-weight:550;padding:11px 12px;min-height:44px;white-space:nowrap}.demo-add-stop button:disabled,.demo-restore button:disabled{opacity:.4;cursor:default}.demo-detour-panel{margin-top:24px;border-top:1px solid var(--demo-edge);padding-top:20px}.demo-detour{border:1px solid var(--demo-edge);background:var(--demo-surface);color:var(--demo-copy);font-size:12px;font-weight:600;width:100%;min-height:46px;border-radius:12px;padding:10px;display:flex;align-items:center;justify-content:center;gap:10px}.demo-detour>span:first-child{font-size:22px;color:#316bf4}.demo-detour[aria-pressed=true]{border-color:#e7c780;background:#fff7e6;color:#795512}.demo-detour-panel p{font-size:11px;color:var(--demo-secondary);line-height:1.6;margin:10px 0 0}.demo-shortcut-editor{border-top:1px solid var(--demo-edge);padding:25px 30px;background:var(--demo-soft)}.demo-shortcut-editor[hidden]{display:none}.demo-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:19px}.demo-editor-heading h3{font-size:20px;letter-spacing:-.7px;font-weight:550;margin:0 0 5px}.demo-editor-heading p{font-size:12px;color:var(--demo-secondary);margin:0}.demo-done{background:var(--demo-surface);color:var(--demo-copy);border:1px solid var(--demo-edge);border-radius:100px;font-size:12px;padding:11px 17px;min-height:44px;white-space:nowrap}.demo-shortcut-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;list-style:none;margin:0 0 22px;padding:0}.demo-shortcut-item{display:flex;align-items:center;gap:7px;padding:5px 5px 5px 12px;background:var(--demo-surface);border:1px solid var(--demo-edge);border-radius:12px;min-width:0}.demo-shortcut-name{font-size:12px;flex:1;min-width:0}.demo-restore{max-width:420px}.demo-feedback{margin:0;border-top:1px solid var(--demo-edge);padding:17px 26px;font-size:12px;color:var(--demo-secondary);min-height:53px;background:var(--demo-surface)}.demo-disclaimer{font-size:12px;line-height:1.7;color:var(--muted);max-width:800px;margin:20px 0 0}.demo-empty{font-size:12px;color:var(--demo-secondary);padding:10px 0;list-style:none}.demo-place{fill:var(--demo-surface);stroke:#7c61e7;stroke-width:2}.demo-place-glyph{fill:#7c61e7;font-size:11px;text-anchor:middle;dominant-baseline:central;font-weight:650}.demo-shell select:focus-visible{outline:3px solid #5990ff;outline-offset:3px}html[data-theme=dark] .demo-shell{--demo-surface:#151d2c;--demo-ground:#101b2b;--demo-block:#1b2a3d;--demo-soft:#101827;--demo-edge:#2a384d;--demo-copy:#e7edf8;--demo-secondary:#a3b0c6;box-shadow:0 18px 70px #0002}html[data-theme=dark] .demo-water{opacity:.22}html[data-theme=dark] .demo-shore{stroke:#203d59}html[data-theme=dark] .demo-park{fill:#203e36;stroke:#25483d}html[data-theme=dark] .demo-route-under{stroke:#0b1728}html[data-theme=dark] .demo-end-circle{fill:#93baff}html[data-theme=dark] .demo-detour[aria-pressed=true]{background:#392d18;border-color:#725721;color:#f0d49c}html[data-theme=dark] .demo-map-landmarks{fill:#8eb4cc}html[data-theme=dark] .demo-map-landmarks text:nth-child(3){fill:#617792}
@media(min-width:1600px){.demo-map{max-height:580px}}
@media(max-width:1150px){.demo-workspace{grid-template-columns:minmax(0,1.1fr) minmax(310px,1fr)}.demo-controls{padding:25px 22px}.demo-map-caption{padding:27px 24px 0}.demo-shortcut-list{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-map-caption strong{font-size:21px}}
@media(max-width:820px){.demo-workspace{grid-template-columns:1fr}.demo-map-wrap{padding-top:0}.demo-map{min-height:0;max-height:420px;margin:-10px 0 -5px}.demo-map-caption{padding:25px 24px 0}.demo-map-status{margin-top:-12px}.demo-controls{border-left:0;border-top:1px solid var(--demo-edge);padding:25px}.demo-mode-note{min-height:0}.demo-stops{max-width:none}.demo-stop-name{font-size:14px}.demo-icon-button{min-width:44px;height:44px}.demo-shortcut-list{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-shortcut-item .demo-icon-button{min-width:34px}.demo-topline{padding:15px 20px}.demo-label{font-size:9px;letter-spacing:1px}.demo-feedback{padding:16px 23px}}
@media(max-width:520px){.demo-section{padding-top:70px}.demo-shell{border-radius:23px}.demo-topline{align-items:flex-start;gap:10px;padding:18px}.demo-label{line-height:1.7;max-width:170px;letter-spacing:.8px;gap:8px}.demo-live-dot{flex-shrink:0}.demo-reset{font-size:10px;padding:0;gap:5px}.demo-reset>span{font-size:16px}.demo-map-caption strong{font-size:21px}.demo-map-caption{padding:23px 20px 0}.demo-map-caption span{font-size:10px}.demo-map{width:112%;max-width:none;margin-left:-6%;min-height:255px;margin-top:3px}.demo-quickbar-card{margin:0 12px;padding:14px}.demo-map-status{margin-left:14px}.demo-controls{padding:23px 19px}.demo-shortcut-editor{padding:23px 18px}.demo-editor-heading{gap:12px}.demo-editor-heading h3{font-size:19px}.demo-editor-heading p{font-size:11px;line-height:1.7}.demo-shortcut-list{grid-template-columns:1fr}.demo-shortcut-item{padding-left:14px}.demo-shortcut-item .demo-icon-button{min-width:44px}.demo-shortcut-name{font-size:14px}.demo-add-stop select,.demo-restore select{font-size:16px}.demo-add-stop label,.demo-restore label{font-size:12px}.demo-done{padding:9px 13px}.demo-feedback{font-size:11px;line-height:1.7}.demo-disclaimer{font-size:11px}}
/* Keep touch controls and instructions readable at iPhone sizes. */
.demo-label,.demo-map-caption span,.demo-map-status,.demo-quickbar-heading>span,.demo-route-heading>span,.demo-category-result,.demo-disclaimer{font-size:12px}
.demo-reset,.demo-inline,.demo-quickbar button,.demo-modes button,.demo-endpoint,.demo-stop-name,.demo-shortcut-name,.demo-add-stop label,.demo-restore label,.demo-add-stop>div>button,.demo-restore>div>button,.demo-detour,.demo-done,.demo-empty{font-size:14px}
.demo-mode-note,.demo-detour-panel p,.demo-editor-heading p,.demo-feedback{font-size:14px;line-height:1.7}
.demo-add-stop select,.demo-restore select{font-size:16px}.demo-reset,.demo-inline{min-height:44px}.demo-topline{flex-wrap:wrap}
