@font-face{font-family:Vazirmatn;src:url('fonts/vazirmatn.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
:root{font-family:Vazirmatn,Tahoma,sans-serif;color:#20332f;background:#e8ede7;font-synthesis:none;--ink:#20332f;--muted:#66756f;--accent:#08786b;--accent-dark:#075e55;--accent-soft:#e6f3ef;--surface:#fff;--line:#e3e9e5;--shadow:0 6px 24px #1c383019,0 1px 4px #1c38300a;--radius:16px;color-scheme:light}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button{color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #08786b80;outline-offset:3px}button:disabled{cursor:default;opacity:.35}::selection{background:#b5ded3;color:#173f35}input::placeholder{color:#74817b;opacity:1}input{caret-color:var(--accent)}[hidden]{display:none!important}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}button{border:0;background:none}button .icon{pointer-events:none}.surface{background:var(--surface);box-shadow:var(--shadow)}.map-shell,#map{position:absolute;inset:0;width:100%;height:100%;height:100dvh}.map-shell{isolation:isolate}#map{z-index:-2;background:#edf0e9}.map-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#fff0 65%,#ffffff2e 100%)}
.brand{position:absolute;top:24px;right:24px;border-radius:var(--radius);padding:11px 16px 11px 14px}.brand-link{display:flex;align-items:center;gap:11px;text-decoration:none}.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:var(--accent);border-radius:12px;color:#fff}.brand-mark svg{width:33px;height:33px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.brand-mark .brand-route{fill:currentColor;stroke:none}.brand-copy{display:flex;flex-direction:column;gap:1px}.brand-copy strong{font-size:25px;font-weight:850;letter-spacing:-.04em;line-height:1.3}.brand-copy small{font-size:10px;color:var(--muted);font-weight:500;white-space:nowrap}
.search-dock{position:absolute;top:114px;right:24px;width:392px;border-radius:var(--radius);overflow:hidden}.search-row{height:57px;display:flex;align-items:center;padding:0 15px;gap:11px}.search-leading{color:var(--accent);width:24px;height:24px}#search-input{min-width:0;flex:1;height:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:13px;font-weight:450}#search-input:focus-visible{outline:0}#search-input::-webkit-search-cancel-button{display:none}.search-dock:focus-within{outline:2px solid #08786b7a;outline-offset:2px}.search-row:has(#search-input:focus) .search-leading{stroke-width:2.1}.icon-button{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;transition:background .16s,color .16s,transform .16s}.icon-button:hover{background:#edf3f0;color:var(--accent)}.icon-button:active{transform:scale(.94)}.clear-search{width:32px;height:32px}.clear-search .icon{width:18px;height:18px}.search-divider{width:1px;height:25px;background:var(--line);margin:0 -3px}.saved-toggle{width:34px;height:36px;position:relative}.saved-toggle.active{background:var(--accent-soft);color:var(--accent)}.saved-toggle.active .icon{fill:#c9e9df}.saved-count{position:absolute;left:-3px;top:-2px;background:var(--accent);color:#fff;border:2px solid #fff;border-radius:20px;font-size:8px;min-width:16px;height:16px;display:grid;place-items:center;font-variant-numeric:tabular-nums}.category-strip{display:flex;align-items:center;gap:7px;border-top:1px solid var(--line);padding:11px 13px;overflow-x:auto;scrollbar-width:none}.category-strip::-webkit-scrollbar{display:none}.category-chip{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:5px 10px;border:1px solid #dfe7e2;border-radius:9px;color:#53675f;background:#fff;font-size:11px;font-weight:600;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}.category-chip .icon{width:16px;height:16px;stroke-width:1.7}.category-chip:hover,.category-chip.active{background:var(--accent-soft);border-color:#c2ded4;color:var(--accent-dark)}
.side-panel{position:absolute;top:255px;right:24px;width:392px;max-height:calc(100dvh - 333px);border-radius:var(--radius);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b8c8bf transparent;animation:panel-in .22s cubic-bezier(.2,.75,.3,1)}.sheet-handle{display:none}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 20px 13px}.panel-heading{display:flex;flex-direction:column;gap:4px}.panel-heading h2{font-size:15px;margin:0;font-weight:750}.panel-heading p{font-size:11px;margin:0;color:var(--muted)}.panel-close{width:32px;height:32px;background:#f1f5f2}.panel-close .icon{width:17px;height:17px}.result-actions{padding:2px 10px 8px}.show-all-button{display:flex;width:100%;align-items:center;justify-content:center;gap:7px;padding:9px 12px;border:1px solid #d5e5dc;border-radius:11px;background:#f4f9f6;color:var(--accent-dark);font-size:11px;font-weight:650;transition:background .15s,border-color .15s,color .15s}.show-all-button .icon{width:16px;height:16px}.show-all-button:hover{background:#e9f4ef;border-color:#c2ded4}.show-all-button.active{background:var(--accent);border-color:var(--accent);color:#fff}.result-item[data-category="fuel"] .result-icon,.result-item[data-category="charging"] .result-icon{background:#eef1f7;color:#4f6383}.result-marker{width:26px;height:31px;cursor:default;filter:drop-shadow(0 2px 4px #1c383033)}.result-marker svg{width:100%;height:100%}.result-marker .marker-body{fill:#4f6383;stroke:#fff;stroke-width:1.6}.result-marker .marker-center{fill:#fff}
.result-list{list-style:none;padding:0 8px 10px;margin:0}.result-item{margin:2px 0}.result-button{display:flex;width:100%;align-items:center;text-align:right;gap:12px;padding:12px 12px;border-radius:12px;transition:background .15s}.result-button:hover,.result-button.active{background:#edf5f1}.result-icon{display:grid;place-items:center;width:39px;height:39px;flex:none;border-radius:11px;background:#edf3ef;color:#617c6e}.result-icon .icon{width:20px;height:20px}.result-item[data-category="park"] .result-icon{background:#e8f2df;color:#47743c}.result-item[data-category="museum"] .result-icon{background:#f5eee3;color:#86623c}.result-item[data-category="hospital"] .result-icon{background:#faecea;color:#a2524d}.result-item[data-category="university"] .result-icon{background:#e9eef7;color:#4c648a}.result-copy{display:flex;flex-direction:column;min-width:0;gap:4px;flex:1}.result-name{font-size:13px;font-weight:650;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.result-kind{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px}.result-arrow{width:16px;height:16px;color:#91a099;transform:rotate(180deg)}.result-distance{direction:ltr;font-size:9px;font-variant-numeric:tabular-nums;color:#74847c}.empty-state{padding:20px 30px 30px;text-align:center;display:flex;align-items:center;flex-direction:column}.empty-state .empty-icon{width:58px;height:58px;border-radius:18px;background:#eef4f0;display:grid;place-items:center;color:#789184;margin:8px 0 18px}.empty-state h3{font-size:15px;margin:0 0 8px}.empty-state p{font-size:12px;color:var(--muted);line-height:1.9;margin:0;max-width:270px}.empty-state button{margin-top:18px;font-size:11px;color:var(--accent);font-weight:650}.place-detail{padding:0 20px 20px}.place-hero{position:relative;padding:9px 0 19px;border-bottom:1px solid var(--line)}.place-type-icon{width:50px;height:50px;border-radius:15px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);margin-bottom:14px}.place-type-icon .icon{width:26px;height:26px}.place-hero h2{font-size:22px;line-height:1.65;font-weight:800;letter-spacing:-.025em;margin:0 0 4px;overflow-wrap:anywhere}.place-hero p{margin:0;font-size:12px;color:var(--muted)}.place-actions{display:grid;grid-template-columns:1fr 1fr 44px;gap:8px;padding:17px 0}.action-button{min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:11px;font-size:11px;font-weight:650;border:1px solid var(--line);background:#fff;transition:background .15s,border-color .15s}.action-button .icon{width:18px;height:18px}.action-button:hover{background:#f0f5f2;border-color:#cbdbd2}.action-button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.action-button.primary:hover{background:var(--accent-dark)}.action-button.saved{color:var(--accent);background:var(--accent-soft)}.action-button.saved .icon{fill:#c9e9df}.action-button.icon-only{padding:0}.place-secondary-actions{display:flex;gap:8px;padding-bottom:8px}.place-secondary-actions .action-button{flex:1;min-height:40px;font-size:11px}.place-facts{margin:0}.place-facts>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-top:1px solid #edf1ee;font-size:11px}.place-facts dt{color:var(--muted)}.place-facts dd{margin:0;font-weight:550;text-align:left;overflow-wrap:anywhere}.coordinates{direction:ltr;font-family:ui-monospace,SFMono-Regular,monospace;font-size:10px;font-variant-numeric:tabular-nums}.local-disclaimer{display:flex;align-items:flex-start;gap:8px;background:#f0f5f2;border-radius:10px;padding:11px 12px;margin-top:13px;font-size:10px;color:#5c7066;line-height:1.9}.local-disclaimer .icon{width:17px;height:17px;margin-top:2px}
.map-controls{position:absolute;left:24px;top:50%;transform:translateY(-28%);display:flex;flex-direction:column;padding:5px;border-radius:15px}.map-controls .icon-button{width:39px;height:42px}.control-divider{height:1px;background:var(--line);margin:0 7px}.compass-control{position:absolute;left:24px;top:calc(50% + 172px);border-radius:13px;padding:3px}.compass-control .icon-button{width:39px;height:39px}.compass-needle{transition:transform .15s}.layers-control{position:absolute;left:24px;bottom:78px;border-radius:13px;padding:3px}.layers-control .icon-button{width:39px;height:39px}.layers-panel{position:absolute;left:88px;bottom:133px;width:224px;border-radius:14px;padding:16px;animation:panel-in .18s ease-out}.layers-heading{display:flex;justify-content:space-between;align-items:center;font-size:13px;padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:5px}.layers-heading .icon{width:18px;height:18px;color:var(--accent)}.switch-row{display:flex;align-items:center;justify-content:space-between;position:relative;font-size:11px;padding:11px 0;cursor:pointer}.switch-row input{position:absolute;opacity:0;left:0;width:34px;height:20px;margin:0;z-index:1;cursor:pointer}.switch{width:34px;height:20px;border-radius:20px;background:#c8d2cb;position:relative;transition:background .15s}.switch:after{content:"";position:absolute;top:3px;right:3px;width:14px;height:14px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #16362d25;transition:transform .15s}.switch-row input:checked+.switch{background:var(--accent)}.switch-row input:checked+.switch:after{transform:translateX(-14px)}.switch-row input:focus-visible+.switch{outline:3px solid #08786b55;outline-offset:3px}.layers-hint{margin:2px 0 0;padding:9px 10px;border-radius:9px;background:#f3f7f4;font-size:9.5px;line-height:1.8;color:#52675c}.layers-hint strong{font-weight:700;color:var(--ink,#20332f)}.layers-hint .dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-left:4px;vertical-align:middle}
.coverage-note{position:absolute;bottom:24px;right:24px;border-radius:10px;padding:7px 10px;display:flex;align-items:center;gap:6px;font-size:9px;color:#52675c;box-shadow:0 2px 10px #1c383014}.status-dot{width:6px;height:6px;border-radius:50%;background:#389172}.note-separator{color:#9caaa1}.coverage-info{width:20px;height:20px;padding:0;display:grid;place-items:center;color:#61776a}.coverage-info .icon{width:14px;height:14px}.coverage-info:hover{color:var(--accent)}
.map-loading{position:absolute;inset:0;background:#eef2ed;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;z-index:20;color:var(--ink);transition:opacity .25s}.map-loading strong{font-size:17px}.map-loading>span:last-child{font-size:11px;color:var(--muted)}.loading-spinner{width:36px;height:36px;border:2px solid #c9dbd2;border-top-color:var(--accent);border-radius:50%;margin-bottom:9px;animation:spin .8s linear infinite}.map-error{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100% - 32px));padding:24px;border-radius:16px;display:flex;gap:14px;z-index:25}.map-error>.icon{color:#a34d43;margin-top:3px}.map-error strong{font-size:15px}.map-error p{font-size:12px;line-height:1.8;color:var(--muted);margin:6px 0 15px}.primary-button{background:var(--accent);color:#fff;padding:9px 18px;border-radius:9px;font-size:12px}.toast{position:absolute;bottom:31px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;background:#203b32;color:#fff;padding:12px 18px;border-radius:12px;box-shadow:0 8px 30px #122c2540;font-size:12px;z-index:40;animation:toast-in .2s ease-out;white-space:nowrap}.toast .icon{width:18px;height:18px;color:#94dfc2}.about-dialog{color:var(--ink);width:min(460px,calc(100% - 32px));border:0;border-radius:20px;padding:30px;box-shadow:0 24px 100px #112f2740}.about-dialog::backdrop{background:#132f2866;backdrop-filter:blur(3px)}.dialog-close{position:absolute;top:12px;left:12px;width:34px;height:34px}.about-symbol{width:52px;height:52px;border-radius:15px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;margin-bottom:22px}.about-symbol .icon{width:26px;height:26px}.about-dialog h2{font-size:21px;line-height:1.6;margin:0 0 12px}.about-dialog p{font-size:12px;color:var(--muted);line-height:2.05}.about-dialog dl{margin:20px 0}.about-dialog dl>div{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line);font-size:11px}.about-dialog dt{color:var(--muted)}.about-dialog dd{margin:0;font-weight:600}.about-dialog .data-note{font-size:10px;padding:12px;background:#f2f5f2;border-radius:10px}.about-dialog>a{display:flex;align-items:center;gap:5px;color:var(--accent);font-size:11px;font-weight:650;margin-top:20px;text-decoration:none}.about-dialog>a .icon{width:15px;height:15px}.about-dialog>a .icon use[href='#i-chevron']{transform:rotate(180deg);transform-origin:center}.about-dialog>a:hover{text-decoration:underline;text-underline-offset:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.maplibregl-map{font-family:Vazirmatn,Tahoma,sans-serif;direction:ltr}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right{bottom:3px}.maplibregl-ctrl-attrib.maplibregl-compact{background:#ffffffdc;border-radius:7px;padding:3px 7px;font-family:Vazirmatn,Tahoma,sans-serif;font-size:8px;direction:ltr}.maplibregl-ctrl-attrib-button{width:20px;height:20px;background-color:#ffffffb3;border-radius:50%;filter:none}.maplibregl-ctrl-attrib a{color:#48675b;text-underline-offset:2px}.place-marker{width:38px;height:46px;filter:drop-shadow(0 4px 5px #163c3433);cursor:pointer;transform-origin:50% 100%;animation:marker-in .3s cubic-bezier(.16,1,.3,1)}.place-marker svg{width:100%;height:100%;overflow:visible}.place-marker .marker-body{fill:var(--accent);stroke:#fff;stroke-width:2}.place-marker .marker-center{fill:#fff}.place-marker.active .marker-body{fill:#b55b34}.user-location-marker{width:22px;height:22px;border:3px solid #fff;background:#2679d1;border-radius:50%;box-shadow:0 0 0 8px #2679d129,0 2px 8px #144c7d55}.maplibregl-popup-content{font-family:Vazirmatn,Tahoma,sans-serif;direction:rtl;border-radius:10px;padding:9px 12px;font-size:11px;box-shadow:var(--shadow)}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{border-top-color:#fff}.maplibregl-canvas{outline:none}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes panel-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-in{from{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%,0)}}@keyframes marker-in{from{opacity:0;transform:translateY(-10px) scale(.7)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(min-width:1500px){.brand,.search-dock,.side-panel{right:32px}.brand{top:28px}.search-dock{top:122px;width:420px}.side-panel{top:263px;width:420px}.map-controls,.compass-control,.layers-control{left:32px}.layers-panel{left:96px}.coverage-note{right:32px;bottom:28px}}
@media(max-width:700px){:root{--radius:14px;--shadow:0 4px 20px #1c383021,0 1px 3px #1c38300b}.brand{top:max(12px,env(safe-area-inset-top));right:12px;padding:7px 10px;border-radius:12px}.brand-mark{width:34px;height:34px;border-radius:9px}.brand-mark svg{width:27px;height:27px}.brand-link{gap:8px}.brand-copy strong{font-size:21px}.brand-copy small{display:none}.search-dock{top:calc(max(12px,env(safe-area-inset-top)) + 56px);right:12px;left:12px;width:auto;border-radius:14px}.search-row{height:52px;padding:0 12px;gap:8px}#search-input{font-size:12px}.search-leading{width:22px;height:22px}.category-strip{padding:9px 10px;gap:6px}.category-chip{font-size:10px;padding:5px 9px;min-height:32px}.map-controls{left:12px;right:auto;top:auto;bottom:151px;transform:none;padding:3px;border-radius:13px}.map-controls .icon-button{width:38px;height:41px}.compass-control{left:12px;right:auto;top:auto;bottom:72px;padding:2px;border-radius:12px}.layers-control{left:64px;bottom:71px}.layers-panel{left:64px;bottom:126px}.coverage-note{right:12px;bottom:max(14px,env(safe-area-inset-bottom));font-size:8px;padding:6px 8px}.side-panel{top:auto;right:8px;left:8px;bottom:8px;width:auto;max-height:min(55dvh,470px);border-radius:20px;padding-top:8px;z-index:5;animation:sheet-in .24s cubic-bezier(.2,.75,.3,1)}.sheet-handle{display:block;width:38px;height:4px;border-radius:5px;background:#d5ded8;margin:0 auto 2px}.panel-header{padding:12px 16px 10px}.result-list{padding-bottom:max(10px,env(safe-area-inset-bottom))}.result-button{padding:11px 10px}.place-detail{padding:0 18px max(18px,env(safe-area-inset-bottom))}.place-hero{padding-top:3px}.place-type-icon{width:42px;height:42px;margin-bottom:10px}.place-hero h2{font-size:20px}.map-shell:has(.side-panel:not([hidden])) .coverage-note{display:none}.map-shell:has(.side-panel:not([hidden])) .map-controls{bottom:calc(min(55dvh,470px) + 20px)}.map-shell:has(.side-panel:not([hidden])) .compass-control,.map-shell:has(.side-panel:not([hidden])) .layers-control{display:none}.toast{bottom:max(26px,env(safe-area-inset-bottom));max-width:calc(100% - 32px);white-space:normal;text-align:center;font-size:11px}.maplibregl-ctrl-bottom-left{bottom:3px}.about-dialog{padding:25px}.about-dialog h2{font-size:19px}@keyframes sheet-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}}
@media(max-width:370px){.category-chip{padding:5px 7px}.search-dock{right:8px;left:8px}.brand{right:8px}.brand-copy strong{font-size:19px}.result-name{font-size:12px}.place-actions{grid-template-columns:1fr 1fr 42px;gap:6px}.action-button{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.loading-spinner{animation:spin 1.5s linear infinite!important}}
.directions-toggle.active{background:var(--accent-soft);color:var(--accent-dark)}
.directions-panel{position:absolute;top:255px;right:24px;width:392px;max-height:calc(100dvh - 333px);border-radius:var(--radius);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b8c8bf transparent;animation:panel-in .22s cubic-bezier(.2,.75,.3,1);z-index:4}
.directions-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 20px 14px}
.directions-fields{padding:2px 20px 4px;position:relative}
.field-row{display:flex;align-items:center;gap:12px;padding:10px 0;position:relative}
.field-dot{width:11px;height:11px;border-radius:50%;flex:none;position:relative;z-index:1}
.field-dot.start{background:#fff;border:3px solid var(--accent)}
.field-dot.end{background:var(--accent);border:3px solid #b9ded3}
.fields-join{position:absolute;right:25px;top:41px;bottom:41px;width:2px;background:repeating-linear-gradient(#c9d8d0 0 3px,transparent 3px 7px);pointer-events:none}
.field-control{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.field-control label{font-size:9px;color:var(--muted);font-weight:600}
.field-control input{width:100%;border:1px solid var(--line);background:#f7faf8;border-radius:9px;padding:9px 11px;color:var(--ink);font-size:12px;outline:0}
.field-control input:focus{border-color:#9ecdc0;background:#fff;box-shadow:0 0 0 3px #08786b1f}
.field-control input::placeholder{color:#84938c}
.field-action{width:32px;height:32px;background:#f1f5f2;color:#5e746a}
.field-action .icon{width:17px;height:17px}
.route-suggestions{max-height:230px;overflow:auto;padding:2px 10px 8px;border-top:1px solid var(--line)}
.route-suggestion{display:flex;width:100%;text-align:right;align-items:center;gap:10px;padding:10px;border-radius:10px;font-size:12px;transition:background .15s}
.route-suggestion:hover,.route-suggestion:focus-visible{background:#edf5f1}
.route-suggestion .icon{width:17px;height:17px;color:#688173}
.route-suggestion small{color:var(--muted);font-size:9px;margin-right:auto;display:block}
.route-suggestions .empty-state{padding:14px 8px 18px}
.route-options{padding:12px 20px 4px;display:flex;flex-direction:column;gap:9px}
.route-submit{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;font-size:12px;font-weight:650;width:100%}
.route-submit .icon{width:18px;height:18px}
.route-submit[aria-busy="true"]{opacity:.7}
.route-hint-row{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);cursor:pointer;padding:2px 0}
.route-hint-row input{accent-color:var(--accent);width:15px;height:15px;margin:0}
.route-status{margin:6px 20px 0;padding:10px 12px;background:#fbf2e9;border-radius:9px;color:#8a5a2e;font-size:10px;line-height:1.9}
.route-result{padding:12px 20px 20px;border-top:1px solid var(--line);margin-top:10px}
.route-summary{display:flex;gap:18px;align-items:baseline;margin-bottom:13px}
.route-summary strong{font-size:23px;font-weight:800;letter-spacing:-.03em}
.route-summary span{font-size:11px;color:var(--muted)}
.route-approximate{background:#fbf2e9;color:#8a5a2e;border-radius:8px;padding:9px 11px;font-size:10px;line-height:1.9;margin-bottom:13px;display:flex;gap:7px}
.route-approximate .icon{width:16px;height:16px;flex:none;margin-top:2px}
.route-steps{list-style:none;margin:0;padding:0;counter-reset:step}
.route-step{display:flex;gap:12px;padding:11px 0;border-top:1px solid #eef2ef;align-items:flex-start}
.route-step:first-child{border-top:0}
.route-step-icon{width:31px;height:31px;flex:none;display:grid;place-items:center;border-radius:9px;background:#eef4f0;color:#47695c}
.route-step-icon .icon{width:17px;height:17px}
.route-step-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.route-step-copy strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}
.route-step-copy span{font-size:10px;color:var(--muted)}
.route-step-distance{font-size:9px;color:#7a8a82;direction:ltr;font-variant-numeric:tabular-nums;flex:none;padding-top:2px}
.route-start,.route-end{width:31px;height:31px;flex:none;display:grid;place-items:center;border-radius:50%;font-size:10px;font-weight:700}
.route-start{background:#e7f3ee;color:var(--accent-dark)}
.route-end{background:var(--accent);color:#fff}
.route-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.route-actions .action-button{min-height:41px}
@media(min-width:1500px){.directions-panel{right:32px;top:263px;width:420px}}
@media(max-width:700px){.directions-panel{top:auto;right:8px;left:8px;bottom:8px;width:auto;max-height:min(62dvh,560px);border-radius:18px;z-index:6;padding-bottom:max(8px,env(safe-area-inset-bottom));animation:sheet-in .24s cubic-bezier(.2,.75,.3,1)}.directions-head{padding:13px 16px 10px}.directions-fields{padding:0 16px 4px}.route-options{padding:10px 16px 4px}.route-result{padding:8px 16px max(14px,env(safe-area-inset-bottom))}.route-suggestions{padding:0 8px 6px}.field-control input{font-size:12px;padding:10px 11px}.route-step{padding:10px 0}.route-summary strong{font-size:21px}.map-shell:has(.directions-panel:not([hidden])) .coverage-note{display:none}.map-shell:has(.directions-panel:not([hidden])) .map-controls,.map-shell:has(.directions-panel:not([hidden])) .compass-control,.map-shell:has(.directions-panel:not([hidden])) .layers-control,.map-shell:has(.directions-panel:not([hidden])) .search-dock,.map-shell:has(.directions-panel:not([hidden])) .brand{opacity:.25;pointer-events:none}}
.route-endpoint{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:750;border:2.5px solid #fff;box-shadow:0 3px 10px #123d3238}
.route-endpoint.origin{background:var(--accent);color:#fff}
.route-endpoint.destination{background:#b55b34;color:#fff}

/* Driving guidance view */
.drive-view{position:absolute;inset:0;z-index:6;pointer-events:none}
.drive-hud{position:absolute;top:max(12px,env(safe-area-inset-top));left:12px;right:12px;margin:0 auto;max-width:430px;border-radius:16px;padding:14px 16px 12px;pointer-events:auto;animation:panel-in .22s cubic-bezier(.2,.75,.3,1)}
.drive-top{display:flex;align-items:center;gap:12px}
.drive-maneuver-icon{width:52px;height:52px;border-radius:14px;background:var(--accent);color:#fff;display:grid;place-items:center;flex:none}
.drive-maneuver-icon .icon{width:28px;height:28px;stroke-width:2}
.drive-maneuver-icon.arrive{background:var(--destination)}
.drive-instruction{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.drive-instruction strong{font-size:17px;font-weight:800;letter-spacing:-.02em;line-height:1.4}
.drive-instruction span{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drive-voice{width:38px;height:38px;background:#f1f5f2;flex:none}
.drive-voice[aria-pressed="true"]{background:var(--accent-soft);color:var(--accent-dark)}
.drive-progress{height:4px;border-radius:4px;background:#e6ece8;margin:12px 0 10px;overflow:hidden}
.drive-progress span{display:block;height:100%;width:0;background:var(--accent);border-radius:4px;transition:width .3s ease}
.drive-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0}
.drive-metrics>div{display:flex;flex-direction:column;gap:2px}
.drive-metrics dt{font-size:9px;color:var(--muted);font-weight:600}
.drive-metrics dd{margin:0;font-size:14px;font-weight:800;letter-spacing:-.02em;direction:rtl;font-variant-numeric:tabular-nums}
.drive-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px}
.drive-actions .action-button{min-height:38px;font-size:11px;padding:0 6px}
.drive-actions .action-button[aria-pressed="true"]{background:var(--accent-soft);border-color:#c2ded4;color:var(--accent-dark)}
.drive-status{margin-top:10px;font-size:11px;color:var(--caution-ink);background:var(--caution-bg);border-radius:9px;padding:8px 11px;line-height:1.8}
.drive-arrived{position:absolute;top:max(12px,env(safe-area-inset-top));left:12px;right:12px;margin:0 auto;max-width:360px;z-index:7;background:#fff;border-radius:16px;padding:22px;text-align:center;box-shadow:var(--shadow);pointer-events:auto;display:flex;flex-direction:column;align-items:center;gap:8px;animation:panel-in .22s}
.drive-arrived-icon{width:52px;height:52px;border-radius:15px;background:#f7eee7;color:var(--destination);display:grid;place-items:center}
.drive-arrived-icon .icon{width:26px;height:26px}
.drive-arrived strong{font-size:18px;font-weight:800}
.drive-arrived span{font-size:12px;color:var(--muted)}
.drive-arrived .primary-button{margin-top:8px;min-height:42px}
body.driving .layers-control,body.driving .compass-control,body.driving .coverage-note{display:none}
body.driving .map-controls{bottom:24px;top:auto;transform:none}
body.driving .side-panel,body.driving .directions-panel,body.driving .search-dock,body.driving .brand{opacity:0;pointer-events:none}
@media(max-width:700px){.drive-hud{padding:12px 13px 10px}.drive-maneuver-icon{width:46px;height:46px;border-radius:12px}.drive-maneuver-icon .icon{width:25px;height:25px}.drive-instruction strong{font-size:15px}.drive-metrics dd{font-size:13px}.drive-actions .action-button{font-size:10px;min-height:36px}.drive-arrived{padding:18px}}
@media(prefers-reduced-motion:reduce){.drive-progress span{transition:none}}
.drive-launch{position:sticky;bottom:0;z-index:3;padding:10px 16px max(10px,env(safe-area-inset-bottom));background:linear-gradient(#ffffff00,#ffffffee 32%);margin:0 -16px}
.drive-start{display:flex;align-items:center;gap:11px;width:100%;padding:12px 14px;border-radius:12px;background:var(--accent);color:#fff;text-align:right;transition:background .15s;box-shadow:0 6px 18px #123a2f45}
.drive-start:hover{background:var(--accent-dark)}
.drive-start>span{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.drive-start strong{font-size:12.5px;font-weight:750}
.drive-start small{font-size:10px;opacity:.85}
.drive-start .icon{width:19px;height:19px}
.drive-start .icon:last-child{width:15px;height:15px;transform:rotate(180deg);opacity:.8}

.route-traffic{display:flex;align-items:center;gap:8px;background:#f0f5f2;border-radius:10px;padding:9px 11px;margin-top:10px;font-size:10px;color:#52675c;line-height:1.8}
.route-traffic .icon{width:16px;height:16px;color:var(--accent);flex:none}
