/* Mobile map focus follows 돌봄한눈: keep the map instance and expand its layout. */
.mobile-map-toggle{display:none}
@media(max-width:1000px){
 .mobile-map-toggle{position:absolute;right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:15;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:46px;min-height:46px;padding:5px 6px;border:1px solid #d7e2ce;border-radius:12px;background:#fff;color:var(--green);box-shadow:0 3px 14px #17362e20;font-size:9px;font-weight:600;line-height:1.2;touch-action:manipulation}
 .mobile-map-toggle .icon svg{width:20px;height:20px}
 .mobile-map-toggle[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}
 body.mobile-map-fullscreen{overflow:hidden;overscroll-behavior:none}
 body.mobile-map-fullscreen>.app-header,body.mobile-map-fullscreen>.skip,body.mobile-map-fullscreen .workspace>.sidebar{display:none}
 body.mobile-map-fullscreen .workspace{height:100dvh;min-height:0;display:block}
 body.mobile-map-fullscreen #map-section{position:fixed;inset:0;height:100vh;height:100dvh;min-height:0;width:100%;border:0;z-index:100}
 body.mobile-map-fullscreen #map-section .map-top{top:calc(12px + env(safe-area-inset-top,0px));left:calc(12px + env(safe-area-inset-left,0px));right:calc(70px + env(safe-area-inset-right,0px))}
 body.mobile-map-fullscreen #map-section .data-status{min-width:0;max-width:100%;padding:9px 8px 9px 11px;gap:7px;border-radius:10px}
 body.mobile-map-fullscreen #map-section .data-status strong{font-size:11px;line-height:1.5}
 body.mobile-map-fullscreen #map-section .data-status div>span{display:none}
 body.mobile-map-fullscreen #map-section .data-status .icon-button{display:inline-flex;padding:7px}
 body.mobile-map-fullscreen #map-section .map-actions{display:flex;top:calc(12px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px));gap:8px}
 body.mobile-map-fullscreen #map-section .map-action{width:44px;height:44px;border-radius:12px}
 body.mobile-map-fullscreen #map-section .map-bottom{display:none}
 body.mobile-map-fullscreen #map-section .map-notice{left:calc(12px + env(safe-area-inset-left,0px));right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(82px + env(safe-area-inset-bottom,0px));transform:none;width:auto;max-width:none;font-size:10px;padding:8px 10px}
 body.mobile-map-fullscreen #map-section .mobile-list-toggle{position:absolute;z-index:15;display:flex;align-items:center;left:50%;right:auto;bottom:calc(22px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);min-height:44px;padding:11px 18px;font-size:12px;font-weight:600;white-space:nowrap;border:1px solid #d7e2ce;border-radius:24px;background:#fff;color:var(--green);box-shadow:0 3px 14px #17362e20;gap:7px}
 body.mobile-map-fullscreen #map-section .mobile-list-toggle svg{width:17px;height:17px}
 body.mobile-map-fullscreen .mobile-map-toggle{bottom:calc(22px + env(safe-area-inset-bottom,0px))}
 body.mobile-map-fullscreen .leaflet-top.leaflet-right{top:calc(126px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px))}
 body.mobile-map-fullscreen .map-provider-notice{bottom:calc(82px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 24px)}
 body.mobile-map-fullscreen .toast{z-index:200;bottom:calc(82px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:760px){
 .workspace .map-top{right:calc(65px + env(safe-area-inset-right,0px))}
 .workspace .map-actions{top:14px;right:calc(12px + env(safe-area-inset-right,0px))}
 .workspace .mobile-list-toggle{left:calc(12px + env(safe-area-inset-left,0px));right:auto;bottom:12px;min-height:44px;padding:9px 14px;font-size:11px}
 .workspace.list-expanded .map-section,.workspace.list-expanded:has(.route-panel:not([hidden])) .map-section{inset:0 0 auto;height:max(14%,112px)}
 .workspace.list-expanded .sidebar,.workspace.list-expanded:has(.route-panel:not([hidden])) .sidebar{inset:max(14%,112px) 0 0}
 .workspace.list-expanded .data-status{max-width:100%}
 .workspace.list-expanded .mobile-list-toggle{left:calc(12px + env(safe-area-inset-left,0px));right:auto;bottom:12px;min-height:44px;padding:9px 14px}
}


/* Mobile focus-detail / expanded-tools states follow the global 돌봄한눈 map focus standard. */
.detail-sheet-head{height:0}.detail-sheet-handle,.detail-expand-toggle{display:none}
@media(max-width:1000px){
  body.mobile-map-mode{overflow:hidden;overscroll-behavior:none}
  body.mobile-map-mode>.app-header,body.mobile-map-mode>.skip{display:none}
  body.mobile-map-mode .workspace{height:100dvh;min-height:0;display:block}
  body.mobile-map-mode #map-section{position:fixed;inset:0;height:100vh;height:100dvh;min-height:0;width:100%;border:0;z-index:100}
  body.mobile-map-mode .workspace>.sidebar{display:none}
  body.mobile-map-mode #map-section .map-bottom{display:none}
  body.mobile-map-mode #map-section .map-notice{left:calc(12px + env(safe-area-inset-left,0px));right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(60dvh + 18px + env(safe-area-inset-bottom,0px));transform:none;width:auto;max-width:none;font-size:10px;padding:8px 10px}
  body.mobile-map-focus #map-section .map-top{top:calc(10px + env(safe-area-inset-top,0px));left:calc(10px + env(safe-area-inset-left,0px));right:calc(10px + env(safe-area-inset-right,0px))}
  body.mobile-map-focus #map-section .data-status{min-width:0;max-width:min(74vw,320px);padding:8px 7px 8px 10px;border-radius:10px;gap:7px}
  body.mobile-map-focus #map-section .data-status strong{font-size:10px}
  body.mobile-map-focus #map-section .data-status div>span{display:none}
  body.mobile-map-focus #map-section .map-actions,body.mobile-map-focus .mobile-map-toggle,body.mobile-map-focus #map-section .mobile-list-toggle{display:none!important}

  body.mobile-map-expanded .workspace>.sidebar{display:block;position:fixed;inset:0;z-index:118;border:0;background:transparent;box-shadow:none;overflow:visible;pointer-events:none}
  body.mobile-map-expanded .workspace>.sidebar>:not(.search-block){display:none!important}
  body.mobile-map-expanded .workspace>.sidebar>.search-block{position:absolute;top:calc(10px + env(safe-area-inset-top,0px));left:calc(10px + env(safe-area-inset-left,0px));right:calc(10px + env(safe-area-inset-right,0px));z-index:2;display:block;max-height:42dvh;overflow:auto;pointer-events:auto;padding:10px;border:1px solid #dce6d6;border-radius:15px;background:#fffffff5;box-shadow:0 8px 28px #17362e24;backdrop-filter:blur(8px)}
  body.mobile-map-expanded .search-block .search-box{height:42px}
  body.mobile-map-expanded .search-block .fuel-tabs{margin-top:8px}
  body.mobile-map-expanded .search-block .filter-line{margin-top:7px}
  body.mobile-map-expanded #map-section .map-top{display:none}
  body.mobile-map-expanded #map-section .map-actions{display:flex;top:auto;left:calc(10px + env(safe-area-inset-left,0px));right:calc(68px + env(safe-area-inset-right,0px));bottom:calc(66dvh + 14px + env(safe-area-inset-bottom,0px));flex-direction:row;gap:6px;justify-content:flex-end}
  body.mobile-map-expanded #map-section .map-action{width:42px;height:42px;border-radius:11px;flex:none}
  body.mobile-map-expanded .mobile-map-toggle{display:flex;right:calc(10px + env(safe-area-inset-right,0px));bottom:calc(66dvh + 14px + env(safe-area-inset-bottom,0px));min-width:44px;min-height:44px}
  body.mobile-map-expanded #map-section .mobile-list-toggle{display:none!important}
  body.mobile-map-expanded #map-section .map-notice{bottom:calc(66dvh + 68px + env(safe-area-inset-bottom,0px))}

  body.mobile-map-focus .detail-dialog[open],body.mobile-map-expanded .detail-dialog[open]{display:block;position:fixed;left:0;right:0;top:auto;bottom:0;margin:0;width:100%;max-width:none;border:0;border-top:1px solid #dce6d6;border-radius:22px 22px 0 0;padding:0;background:#fff;box-shadow:0 -12px 36px #17362e30;z-index:190;overflow:hidden}
  body.mobile-map-focus .detail-dialog[open]{max-height:56dvh}
  body.mobile-map-expanded .detail-dialog[open]{max-height:66dvh}
  body.mobile-map-focus .detail-dialog::backdrop,body.mobile-map-expanded .detail-dialog::backdrop{background:transparent;backdrop-filter:none}
  body.mobile-map-focus .detail-sheet-head,body.mobile-map-expanded .detail-sheet-head{position:sticky;top:0;z-index:4;height:50px;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:7px 10px 6px;border-bottom:1px solid #edf1e9;background:#fffffff4;backdrop-filter:blur(8px)}
  body.mobile-map-focus .detail-sheet-handle,body.mobile-map-expanded .detail-sheet-handle{display:block;position:absolute;left:50%;top:6px;width:38px;height:4px;border-radius:3px;background:#cbd6c7;transform:translateX(-50%)}
  body.mobile-map-focus .detail-expand-toggle,body.mobile-map-expanded .detail-expand-toggle{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:6px 9px;border:1px solid #dce6d6;border-radius:9px;background:#f4f8ef;color:var(--green);font-size:10px;font-weight:700}
  body.mobile-map-focus .detail-expand-toggle svg,body.mobile-map-expanded .detail-expand-toggle svg{width:16px;height:16px}
  body.mobile-map-focus .detail-sheet-head .dialog-close,body.mobile-map-expanded .detail-sheet-head .dialog-close{position:static;min-width:36px;min-height:36px;padding:7px;border-radius:9px;background:#f5f7f3;color:#60745d}
  body.mobile-map-focus #detail-content,body.mobile-map-expanded #detail-content{overflow:auto;overscroll-behavior:contain;padding:12px 18px calc(22px + env(safe-area-inset-bottom,0px))}
  body.mobile-map-focus #detail-content{max-height:calc(56dvh - 50px)}
  body.mobile-map-expanded #detail-content{max-height:calc(66dvh - 50px)}
  body.mobile-map-focus #detail-content h2,body.mobile-map-expanded #detail-content h2{font-size:20px;margin:6px 0 4px}
  body.mobile-map-focus #detail-content .eyebrow,body.mobile-map-expanded #detail-content .eyebrow{display:none}
  body.mobile-map-focus #detail-content .detail-hero,body.mobile-map-expanded #detail-content .detail-hero{margin-top:12px}
  body.mobile-map-focus #detail-content .detail-hero strong,body.mobile-map-expanded #detail-content .detail-hero strong{font-size:34px}
  body.mobile-map-focus #detail-content .detail-actions,body.mobile-map-expanded #detail-content .detail-actions{position:sticky;top:-1px;z-index:2;background:#fffffff5;padding:8px 0;margin-top:12px;backdrop-filter:blur(5px)}
  body.mobile-map-focus #detail-content .detail-meta{margin-top:14px}
  body.mobile-map-fullscreen .detail-dialog[open]{display:none!important}
}
@media(max-width:430px){
  body.mobile-map-expanded .workspace>.sidebar>.search-block{left:8px;right:8px;top:calc(8px + env(safe-area-inset-top,0px));padding:8px}
  body.mobile-map-expanded #map-section .map-actions{left:8px;right:62px;gap:5px}
  body.mobile-map-expanded #map-section .map-action{width:40px;height:40px}
  body.mobile-map-expanded .mobile-map-toggle{right:8px;min-width:40px}
  body.mobile-map-focus #detail-content,body.mobile-map-expanded #detail-content{padding-left:15px;padding-right:15px}
}
@media(max-height:650px) and (max-width:1000px){
  body.mobile-map-focus .detail-dialog[open]{max-height:52dvh}
  body.mobile-map-focus #detail-content{max-height:calc(52dvh - 50px)}
  body.mobile-map-expanded .detail-dialog[open]{max-height:60dvh}
  body.mobile-map-expanded #detail-content{max-height:calc(60dvh - 50px)}
  body.mobile-map-expanded #map-section .map-actions,body.mobile-map-expanded .mobile-map-toggle{bottom:calc(60dvh + 10px + env(safe-area-inset-bottom,0px))}
}

.mobile-tool-action{display:none}
@media(max-width:1000px){body.mobile-map-expanded .mobile-tool-action,body.mobile-map-fullscreen .mobile-tool-action{display:flex}}


/* 2026-10-23 staged focus controls + functional sheet handle */
@media(max-width:1000px){
  body.mobile-map-focus #map-section .map-actions{display:flex!important;top:calc(96px + env(safe-area-inset-top,0px));left:calc(12px + env(safe-area-inset-left,0px));right:auto;bottom:auto;flex-direction:column;gap:0;border:1px solid #d9e4dc;border-radius:16px;overflow:hidden;background:#fffffff2;box-shadow:0 5px 18px #17362e20}
  body.mobile-map-focus #map-section .map-action{display:none!important;width:48px;height:48px;border:0;border-radius:0;box-shadow:none;background:transparent}
  body.mobile-map-focus #map-section .map-action.compact-map-action{display:flex!important}
  body.mobile-map-focus #map-section .map-action+ .map-action.compact-map-action{border-top:1px solid #e2e9e3}
  body.mobile-map-focus #map-section .expanded-map-action{display:none!important}
  body.mobile-map-focus .mobile-map-toggle,body.mobile-map-focus #map-section .mobile-list-toggle{display:none!important}

  body.mobile-map-expanded #map-section .map-actions{display:flex!important}
  body.mobile-map-expanded #map-section .map-action{display:flex!important}
  body.mobile-map-expanded #map-section .expanded-map-action{display:flex!important}

  body.mobile-map-focus .detail-dialog[open],body.mobile-map-expanded .detail-dialog[open]{
    transform:translateY(var(--sheet-drag-y,0px));
    transition:transform .18s ease,max-height .2s ease;
    will-change:transform;
  }
  body.mobile-map-focus .detail-dialog.is-dragging[open],body.mobile-map-expanded .detail-dialog.is-dragging[open]{transition:none}
  body.mobile-map-focus .detail-sheet-head,body.mobile-map-expanded .detail-sheet-head{justify-content:flex-end;padding-top:13px}
  body.mobile-map-focus .detail-sheet-title,body.mobile-map-expanded .detail-sheet-title{margin-right:auto;padding-left:8px;color:#526b61;font-size:13px;letter-spacing:-.2px}
  body.mobile-map-focus .detail-sheet-handle,body.mobile-map-expanded .detail-sheet-handle{
    display:block;position:absolute;left:50%;top:5px;width:54px;height:18px;min-width:54px;min-height:18px;padding:0;transform:translateX(-50%);border:0;background:transparent;touch-action:none;cursor:ns-resize;z-index:6
  }
  body.mobile-map-focus .detail-sheet-handle:before,body.mobile-map-expanded .detail-sheet-handle:before{
    content:"";position:absolute;left:50%;top:5px;width:40px;height:5px;transform:translateX(-50%);border-radius:4px;background:#c8d3cf
  }
  body.mobile-map-focus .detail-sheet-handle:focus-visible,body.mobile-map-expanded .detail-sheet-handle:focus-visible{outline:3px solid #90bc58;outline-offset:2px;border-radius:10px}
  body.mobile-map-focus .price-pin.selected .price-pin-name,body.mobile-map-expanded .price-pin.selected .price-pin-name{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  body.mobile-map-focus .detail-dialog[open],body.mobile-map-expanded .detail-dialog[open]{transition:none!important}
}


/* Visual system matching the approved 주유한눈 focus-mode mockups. */
@media(max-width:1000px){
 body.mobile-map-mode{--focus-green:#0f6b57;--focus-soft:#e8f3ed;--focus-blue:#2f7df6;--focus-line:#e6ebe7;--focus-muted:#7b8b84}
 body.mobile-map-mode #map-section{background:#dfe8df}
 body.mobile-map-focus #map-section .map-top{display:none}
 body.mobile-map-focus #map-section .map-actions{top:calc(150px + env(safe-area-inset-top,0px));left:calc(18px + env(safe-area-inset-left,0px));border:0;border-radius:18px;background:#fff;box-shadow:0 7px 22px #17362e24}
 body.mobile-map-focus #map-section .map-action,body.mobile-map-expanded #map-section .map-action{width:54px;height:54px;color:#1769d7}
 body.mobile-map-focus #map-section .map-action.compact-map-action+ .map-action.compact-map-action{border-top:1px solid #e4e8ec}
 body.mobile-map-focus #map-section .default-map-action{display:none!important}
 body.mobile-map-focus .map-secondary-actions{display:none!important}
 body.mobile-map-expanded .map-secondary-actions{position:fixed;right:calc(18px + env(safe-area-inset-right,0px));top:calc(190px + env(safe-area-inset-top,0px));z-index:175;display:flex;flex-direction:column;gap:14px}
 body.mobile-map-expanded .map-secondary-action{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border:1px solid #e0e6ea;border-radius:50%;background:#fff;color:#347ee8;box-shadow:0 6px 20px #17362e24}
 body.mobile-map-expanded .map-secondary-action svg{width:24px;height:24px}
 body.mobile-map-expanded .mobile-map-toggle{position:fixed;right:calc(18px + env(safe-area-inset-right,0px));top:calc(258px + env(safe-area-inset-top,0px));bottom:auto;width:54px;height:54px;min-width:54px;min-height:54px;padding:0;border-radius:50%;background:#fff;color:#347ee8;border:1px solid #e0e6ea;box-shadow:0 6px 20px #17362e24}
 body.mobile-map-expanded .mobile-map-toggle>span:last-child{display:none}
 body.mobile-map-expanded .mobile-map-toggle .icon svg{width:25px;height:25px}
 body.mobile-map-expanded .workspace>.sidebar>.search-block{top:calc(14px + env(safe-area-inset-top,0px));left:calc(16px + env(safe-area-inset-left,0px));right:calc(16px + env(safe-area-inset-right,0px));max-height:none;padding:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none;overflow:visible}
 body.mobile-map-expanded .search-block .search-box{height:58px;padding:0 8px 0 16px;border:1px solid #dfe6e1;border-radius:22px;background:#fff;box-shadow:0 7px 24px #17362e26}
 body.mobile-map-expanded .search-block .search-box>.icon{display:none}
 body.mobile-map-expanded .search-block .search-box input{font-size:16px;padding-left:28px;background:linear-gradient(90deg,transparent 0)}
 body.mobile-map-expanded .search-block .search-box:before{content:"‹";position:absolute;left:15px;color:#174b40;font-size:34px;line-height:1}
 body.mobile-map-expanded .search-block .search-box .icon-button{width:48px;height:48px;border-radius:16px}
 body.mobile-map-expanded .search-block .fuel-tabs{position:absolute;top:68px;left:0;display:flex;width:max-content;margin:0;padding:0;background:transparent;box-shadow:none}
 body.mobile-map-expanded .search-block .fuel-tabs button{display:none}
 body.mobile-map-expanded .search-block .fuel-tabs button.active{display:flex;align-items:center;gap:7px;min-height:46px;padding:0 16px;border:1px solid #e0e7e3;border-radius:22px;background:#fff;color:#173e34;font-size:13px;font-weight:800;box-shadow:0 5px 17px #17362e1e}
 body.mobile-map-expanded .search-block .fuel-tabs button.active:before{content:"●";color:#16a077;font-size:19px}
 body.mobile-map-expanded .search-block .filter-line{position:absolute;top:68px;left:118px;margin:0}
 body.mobile-map-expanded .search-block .brand-select{display:none}
 body.mobile-map-expanded .search-block .filter-button{height:46px;padding:0 16px;border:1px solid #e0e7e3;border-radius:22px;background:#fff;color:#173e34;font-size:13px;font-weight:800;box-shadow:0 5px 17px #17362e1e}
 body.mobile-map-expanded .search-block .filter-button .icon{display:flex;width:28px;height:28px;margin-left:-8px;border-radius:50%;background:#8a55d4;color:#fff}
 body.mobile-map-expanded .search-block .extra-filters{position:absolute;top:122px;left:0;right:0;padding:12px 14px;border:1px solid #e2e8e4;border-radius:16px;background:#fff;box-shadow:0 8px 24px #17362e28}
 body.mobile-map-expanded #map-section .map-actions{top:calc(178px + env(safe-area-inset-top,0px));left:calc(18px + env(safe-area-inset-left,0px));right:auto;bottom:auto;flex-direction:column;gap:0;border-radius:18px;background:#fff;box-shadow:0 7px 22px #17362e24}
 body.mobile-map-expanded #map-section .map-actions .default-map-action{display:none!important}
 body.mobile-map-expanded #map-section .map-action+ .map-action{border-top:1px solid #e4e8ec;border-radius:0}
 body.mobile-map-expanded #map-section .map-action:first-child{border-radius:18px 18px 0 0}
 body.mobile-map-expanded #map-section .map-action:nth-child(3){border-radius:0 0 18px 18px}
 body.mobile-map-focus .detail-dialog[open]{max-height:61dvh}
 body.mobile-map-expanded .detail-dialog[open]{max-height:62dvh}
 body.mobile-map-focus #detail-content{max-height:calc(61dvh - 58px)}
 body.mobile-map-expanded #detail-content{max-height:calc(62dvh - 58px)}
 body.mobile-map-focus .detail-dialog[open],body.mobile-map-expanded .detail-dialog[open]{border-radius:28px 28px 0 0;border-top:0;box-shadow:0 -9px 34px #172f2a2c;background:#fff}
 body.mobile-map-focus .detail-sheet-head,body.mobile-map-expanded .detail-sheet-head{height:58px;padding:15px 14px 8px 18px;border-bottom:1px solid var(--focus-line);background:#fff}
 body.mobile-map-focus .detail-sheet-title,body.mobile-map-expanded .detail-sheet-title{font-size:15px;color:#536b62}
 body.mobile-map-focus .detail-expand-toggle,body.mobile-map-expanded .detail-expand-toggle{min-height:42px;padding:0 15px;border:0;border-radius:12px;background:var(--focus-soft);color:#0f6655;font-size:13px}
 body.mobile-map-focus .detail-expand-toggle .icon,body.mobile-map-expanded .detail-expand-toggle .icon{display:none}
 body.mobile-map-focus .detail-sheet-head .dialog-close,body.mobile-map-expanded .detail-sheet-head .dialog-close{width:42px;height:42px;color:#526a61;background:transparent}
 body.mobile-map-focus .detail-sheet-handle,body.mobile-map-expanded .detail-sheet-handle{top:1px;width:60px;height:20px}
 body.mobile-map-focus .detail-sheet-handle:before,body.mobile-map-expanded .detail-sheet-handle:before{top:6px;width:42px;height:5px;background:#c7d2cf}
 body.mobile-map-focus #detail-content,body.mobile-map-expanded #detail-content{padding:13px 22px calc(26px + env(safe-area-inset-bottom,0px))}
 body.mobile-map-mode .station-focus-detail h2{font-size:26px;line-height:1.22;letter-spacing:-1.1px;color:#103e34;margin:5px 0 8px}
 body.mobile-map-mode .focus-breadcrumb{font-size:11px;color:#86938e;line-height:1.5}
 body.mobile-map-mode .focus-breadcrumb span{padding:0 5px;color:#a7b0ac}
 body.mobile-map-mode .focus-brand-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:15px;background:#f3f5f3;color:#65756f;font-size:10px}
 body.mobile-map-mode .brand-flame{color:#ed9815;font-size:11px}
 body.mobile-map-mode .focus-primary-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
 body.mobile-map-mode .other-stations-button{display:flex;align-items:center;gap:7px;color:#1b5548;font-size:12px;font-weight:700}
 body.mobile-map-mode .other-stations-button strong{display:flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 6px;border-radius:10px;background:#edf5f1}
 body.mobile-map-mode .fuel-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
 body.mobile-map-mode .fuel-price-card{min-width:0;padding:12px 10px 10px;border:1px solid #e1e8e4;border-radius:12px;background:#fff}
 body.mobile-map-mode .fuel-price-green{background:#eff9f4;border-color:#d0ebdf}.fuel-price-blue{background:#fbfcff}.fuel-price-orange{background:#fffaf1;border-color:#f4dfbb}
 body.mobile-map-mode .fuel-price-label{display:flex;align-items:center;gap:6px;font-size:11px;color:#486158}.fuel-price-label i{width:9px;height:9px;border-radius:50%;background:#16a077}.fuel-price-blue .fuel-price-label i{background:#347ee8}.fuel-price-orange .fuel-price-label i{background:#ed9815}
 body.mobile-map-mode .fuel-price-card strong{display:block;margin-top:7px;color:#103e34;font-size:22px;letter-spacing:-1px;white-space:nowrap}.fuel-price-card strong small{font-size:10px;font-weight:500;margin-left:2px}
 body.mobile-map-mode .fuel-price-date{display:block;margin-top:4px;font-size:9px;color:#7f8e88;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.mobile-map-mode .focus-detail-tabs{display:grid;grid-template-columns:1fr 1fr;margin-top:13px;border-bottom:1px solid #dfe6e2}
 body.mobile-map-mode .focus-detail-tabs button{height:46px;color:#899690;font-size:13px;font-weight:800;border-bottom:2px solid transparent}
 body.mobile-map-mode .focus-detail-tabs button.active{color:#08745e;border-bottom-color:#0d8b72}
 body.mobile-map-mode .focus-tab-panel{padding-top:15px}.focus-tab-panel h3{font-size:14px;color:#183f35;margin-bottom:10px}
 body.mobile-map-mode .contact-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;align-items:start;padding:12px 0;border-bottom:1px solid #edf1ef}.contact-icon{display:flex;color:#536d64;padding-top:2px}.contact-icon svg{width:20px;height:20px}.contact-row small{display:block;font-size:9px;color:#81918a;margin-bottom:5px}.contact-row p{font-size:12px;line-height:1.55;color:#334e45}.contact-row p a{color:#08745e;font-weight:700}
 body.mobile-map-mode .focus-route-button{display:flex;align-items:center;gap:5px;align-self:center;padding:10px 12px;border:1px solid #9bcfc3;border-radius:10px;color:#08745e;font-size:12px;font-weight:800}.focus-route-button svg{width:18px;height:18px}
 body.mobile-map-mode .focus-inline-actions{display:flex;gap:16px;padding:12px 0;font-size:11px}.focus-inline-actions button{color:#557269;text-decoration:underline;text-underline-offset:3px}
 body.mobile-map-mode .focus-detail-meta{display:grid;grid-template-columns:82px 1fr;gap:9px 12px;padding:14px;border-radius:12px;background:#f5f8f6;font-size:10px;line-height:1.6}.focus-detail-meta dt{color:#809088}.focus-detail-meta dd{margin:0;color:#3d5a50}
}
@media(max-width:380px){
 body.mobile-map-mode .fuel-price-card strong{font-size:19px}
 body.mobile-map-mode .fuel-price-grid{gap:5px}
 body.mobile-map-mode .fuel-price-card{padding-left:7px;padding-right:7px}
}


/* 2026-10-23 five-state focus toggle: detail -> map browse -> expanded detail -> list sheet -> expanded list. */
.mobile-list-sheet-handle,.mobile-list-sheet-collapse,.mobile-list-sheet-caption,.mobile-focus-dock,.focus-rescan,.focus-route-shortcut,.focus-collapsed-fuel,.route-mode-exit{display:none}.focus-quick-actions{display:contents}
@media(min-width:1001px){
  .focus-rescan{display:flex;position:absolute;left:50%;bottom:20px;z-index:14;transform:translateX(-50%);align-items:center;gap:7px;min-height:42px;padding:0 18px;border:1px solid #d5e2dd;border-radius:22px;background:#fffffff2;color:#1769d7;font-size:12px;font-weight:800;box-shadow:0 6px 20px #17362e24;backdrop-filter:blur(10px)}
  .focus-rescan:hover{border-color:#9fc8bb;background:#fff;transform:translateX(-50%) translateY(-1px)}
  .focus-rescan:focus-visible{outline:3px solid #1769d733;outline-offset:2px}
  .focus-rescan.is-progress{color:#667a73;cursor:wait}
  .focus-rescan .rescan-spinner{width:15px;height:15px;border:2px solid #d4e2dd;border-top-color:#1769d7;border-radius:50%;animation:spin .7s linear infinite}
  body.route-mode .focus-rescan,body.driving-mode .focus-rescan{display:none}
}
@media(max-width:1000px){
  body.mobile-map-browse .workspace>.sidebar{display:block;position:fixed;inset:0;z-index:118;border:0;background:transparent;pointer-events:none;box-shadow:none}
  body.mobile-map-browse .workspace>.sidebar>:not(.search-block){display:none!important}
  body.mobile-map-browse .workspace>.sidebar>.search-block{pointer-events:auto}
  body.mobile-map-browse #map-section .map-actions{display:flex!important;top:calc(178px + env(safe-area-inset-top,0px));left:calc(18px + env(safe-area-inset-left,0px));right:auto;bottom:auto;flex-direction:column;gap:0;border-radius:18px;background:#fff;box-shadow:0 7px 22px #17362e24}
  body.mobile-map-browse #map-section .map-action{display:flex!important;width:54px;height:54px;color:#1769d7;border-radius:0}
  body.mobile-map-browse #map-section .default-map-action{display:none!important}
  body.mobile-map-browse .map-secondary-actions{position:fixed;right:calc(18px + env(safe-area-inset-right,0px));top:calc(190px + env(safe-area-inset-top,0px));z-index:175;display:flex}
  body.mobile-map-browse .mobile-map-toggle{display:flex;position:fixed;right:calc(18px + env(safe-area-inset-right,0px));top:calc(258px + env(safe-area-inset-top,0px));bottom:auto;width:54px;height:54px;min-width:54px;min-height:54px;border-radius:50%;background:#fff;color:#347ee8;border:1px solid #e0e6ea;box-shadow:0 6px 20px #17362e24}
  body.mobile-map-browse .mobile-map-toggle>span:last-child{display:none}

  body.mobile-map-browse .focus-rescan{display:flex;position:fixed;left:50%;bottom:calc(104px + env(safe-area-inset-bottom,0px));z-index:180;transform:translateX(-50%);align-items:center;gap:6px;min-height:45px;padding:0 20px;border:1px solid #dce5e1;border-radius:23px;background:#fff;color:#2368c8;font-size:12px;font-weight:800;box-shadow:0 6px 20px #17362e20}
  body.mobile-map-browse .focus-rescan.is-progress{color:#667a73;cursor:wait}.rescan-spinner{width:15px;height:15px;border:2px solid #d4e2dd;border-top-color:#1769d7;border-radius:50%;animation:spin .7s linear infinite}
  body.mobile-map-browse .mobile-focus-dock{display:grid;position:fixed;left:50%;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:180;transform:translateX(-50%);grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;min-width:min(92vw,540px);height:56px;padding:0 10px;border:1px solid #dce5e1;border-radius:28px;background:#f8faf7ee;box-shadow:0 8px 30px #17362e28;backdrop-filter:blur(12px)}
  body.mobile-map-browse .mobile-focus-dock button{display:flex;height:44px;min-height:44px;align-items:center;justify-content:center;gap:8px;padding:0 15px;color:#164f43;font-size:13px;font-weight:800;line-height:1;white-space:nowrap}
  body.mobile-map-browse .mobile-focus-dock .focus-route-shortcut{display:flex;position:static;left:auto;top:auto;z-index:auto;transform:none;border:0;border-radius:0;background:transparent;color:#0f6b57;box-shadow:none;pointer-events:auto}
  body.mobile-map-browse .mobile-focus-dock button+button{border-left:1px solid #e2e8e4}
  body.mobile-map-browse .dock-icon{font-size:22px;line-height:1;color:#0f6b57}
  body.mobile-map-browse .dock-icon svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  body.mobile-map-browse #focus-dock-more .dock-icon{color:#765ac6;letter-spacing:2px}
  body.mobile-map-browse .mobile-focus-dock strong{font-size:12px}
  body.route-mode.mobile-map-browse #focus-dock-list.route-result-return{margin:6px 0;border-radius:27px;background:#0f6b57;color:#fff;box-shadow:0 5px 14px #0f6b5733}
  body.route-mode.mobile-map-browse #focus-dock-list.route-result-return .dock-icon{color:#fff}
  body.route-mode.route-results-ready.mobile-map-browse .mobile-focus-dock{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 62px;padding-left:8px;padding-right:8px}
  body.route-mode.route-results-ready.mobile-map-browse .mobile-focus-dock .route-mode-exit{display:flex!important;gap:4px;padding:0 8px;color:#8f3b3b}
  body.route-mode.route-results-ready.mobile-map-browse .route-mode-exit .dock-icon{color:#b54b4b}
  body.route-mode.route-results-ready.mobile-map-browse .route-mode-exit .dock-icon svg{width:18px;height:18px}

  body.mobile-list-sheet .workspace>.sidebar{display:flex!important;position:fixed!important;left:10px!important;right:10px!important;top:auto!important;bottom:0!important;inset:auto 10px 0!important;height:var(--list-live-height,50dvh)!important;max-height:90dvh!important;min-height:clamp(230px,38dvh,340px)!important;z-index:190;border:1px solid #e0e7e3;border-bottom:0;border-radius:26px 26px 0 0;background:#fff;box-shadow:0 -10px 34px #17362e2e;overflow:hidden;pointer-events:auto;transform:none;transition:height .2s cubic-bezier(.2,.8,.2,1)}
  body.mobile-list-sheet.mobile-list-expanded .workspace>.sidebar{height:var(--list-live-height,84dvh)!important}
  body.mobile-list-sheet .workspace>.sidebar.is-dragging{min-height:64px!important;transition:none!important;will-change:height}
  body.mobile-list-sheet .workspace>.sidebar>.mobile-list-sheet-handle{display:block;position:absolute;left:50%;top:0;z-index:9;width:150px;height:38px;transform:translateX(-50%);touch-action:none;cursor:ns-resize}
  body.mobile-list-sheet .workspace>.sidebar>.mobile-list-sheet-handle:before{content:"";position:absolute;left:50%;top:8px;width:58px;height:6px;transform:translateX(-50%);border-radius:4px;background:#82968d;box-shadow:0 1px 3px #17362e28}
  body.route-mode.mobile-list-sheet .workspace>.sidebar>.mobile-list-sheet-collapse{display:flex;position:absolute;left:calc(50% + 82px);top:3px;z-index:11;align-items:center;justify-content:center;min-width:52px;height:32px;padding:0 10px;border:1px solid #cfe1da;border-radius:16px;background:#edf6f3;color:#0f6b57;font-size:10px;font-weight:800;box-shadow:0 2px 7px #17362e16}
  body.route-mode.mobile-list-sheet .mobile-list-sheet-collapse:focus-visible{outline:3px solid #90bc58;outline-offset:2px}
  body.mobile-list-sheet .workspace>.sidebar>.mobile-list-sheet-caption{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;flex:none;height:58px;padding:19px 14px 5px;margin-top:7px;border-bottom:1px solid #edf1ef}
  body.mobile-list-sheet .mobile-list-sheet-caption strong{text-align:center;font-size:14px;color:#254c42}
  body.mobile-list-sheet .mobile-list-sheet-caption .mobile-list-sheet-back{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border-radius:50%;background:#f2f6f4;color:#174f43}
  body.mobile-list-sheet .mobile-list-sheet-caption .mobile-list-sheet-back svg{width:20px;height:20px}
  body.mobile-list-sheet .mobile-list-sheet-caption-spacer{display:block;width:40px;height:40px}
  body.mobile-list-sheet .workspace>.sidebar>.view-tabs,
  body.mobile-list-sheet .workspace>.sidebar>.search-block,
  body.mobile-list-sheet .workspace>.sidebar>.route-panel,
  body.mobile-list-sheet .workspace>.sidebar>.coverage-hint,
  body.mobile-list-sheet .workspace>.sidebar>.sidebar-footer{display:none!important}
  body.mobile-list-sheet .workspace>.sidebar>.results-header{display:flex!important;padding:11px 17px 9px;flex:none}
  body.mobile-list-sheet .workspace>.sidebar>.results{display:block!important;flex:1;min-height:0;overflow:auto;padding:0 12px calc(18px + env(safe-area-inset-bottom,0px))}
  body.mobile-list-sheet .focus-rescan,body.mobile-list-sheet .mobile-focus-dock{display:none!important}
  body.mobile-list-sheet #map-section .map-actions{display:flex!important;top:calc(178px + env(safe-area-inset-top,0px));left:calc(18px + env(safe-area-inset-left,0px));right:auto;bottom:auto;flex-direction:column}
  body.mobile-list-sheet .map-secondary-actions{display:flex;position:fixed;right:calc(18px + env(safe-area-inset-right,0px));top:calc(190px + env(safe-area-inset-top,0px));z-index:175}
  body.mobile-list-sheet .mobile-map-toggle{display:none!important}
  body.mobile-list-sheet .mobile-list-toggle{display:none!important}
}
@media(max-width:430px){
 body.mobile-map-browse .mobile-focus-dock{min-width:calc(100vw - 28px);padding:0 8px}
 body.mobile-map-browse .mobile-focus-dock button{padding:0 9px;font-size:12px}
 body.route-mode.route-results-ready.mobile-map-browse .mobile-focus-dock button{gap:5px;padding:0 6px;font-size:11px}
 body.route-mode.route-results-ready.mobile-map-browse .mobile-focus-dock .route-mode-exit{padding:0 5px}
 body.mobile-list-sheet .workspace>.sidebar{left:6px!important;right:6px!important;inset:auto 6px 0!important}
}

@media(max-width:1000px){body.mobile-map-mode .focus-primary-actions{justify-content:flex-end}.desktop-detail-title{display:none}}


/* Driving-first mobile map: expanded by default, one-tap collapse to a clean map. */
@media(max-width:1000px){
 body.mobile-map-collapsed{overflow:hidden;overscroll-behavior:none}
 body.mobile-map-collapsed>.app-header,body.mobile-map-collapsed>.skip{display:none}
 body.mobile-map-collapsed .workspace{height:100dvh;display:block}
 body.mobile-map-collapsed #map-section{position:fixed;inset:0;width:100%;height:100dvh;z-index:100;border:0}
 body.mobile-map-collapsed .workspace>.sidebar{display:none!important}
 body.mobile-map-collapsed #map-section .map-top,
 body.mobile-map-collapsed #map-section .map-bottom,
 body.mobile-map-collapsed .map-secondary-actions,
 body.mobile-map-collapsed .focus-rescan,
 body.mobile-map-collapsed .mobile-focus-dock,
 body.mobile-map-collapsed #map-section .mobile-list-toggle{display:none!important}
 body.mobile-map-collapsed #map-section .map-actions{display:flex!important;top:calc(150px + env(safe-area-inset-top,0px));left:calc(18px + env(safe-area-inset-left,0px));right:auto;bottom:auto;flex-direction:column;gap:0;border-radius:18px;background:#fff;box-shadow:0 7px 22px #17362e24}
 body.mobile-map-collapsed #map-section .map-action{display:none!important;width:54px;height:54px;color:#1769d7;border-radius:0}
 body.mobile-map-collapsed #map-section .map-action.compact-map-action{display:flex!important}
 body.mobile-map-collapsed .mobile-map-toggle{display:flex!important;position:fixed;right:calc(18px + env(safe-area-inset-right,0px));top:calc(258px + env(safe-area-inset-top,0px));bottom:auto;width:54px;height:54px;min-width:54px;min-height:54px;padding:0;border-radius:50%;background:#fff;color:#347ee8;border:1px solid #e0e6ea;box-shadow:0 6px 20px #17362e24;z-index:180}
 body.mobile-map-collapsed .mobile-map-toggle>span:last-child{display:none}
 body.mobile-map-collapsed .mobile-map-toggle .icon svg{width:25px;height:25px}

 body.mobile-map-browse .mobile-map-toggle .icon svg{width:25px;height:25px}
 body.mobile-map-browse .mobile-map-toggle>span:last-child{display:none}

 body.mobile-map-focus .detail-expand-toggle .icon,
 body.mobile-map-expanded .detail-expand-toggle .icon{display:inline-flex!important}
 body.mobile-map-focus .detail-expand-toggle .icon svg,
 body.mobile-map-expanded .detail-expand-toggle .icon svg{width:17px;height:17px}
}


/* Clear fuel selection + readable filter popover */
@media(max-width:1000px){
 body.mobile-map-expanded .search-block .fuel-tabs{
   position:absolute;top:68px;left:0;right:0;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:auto;margin:0;padding:4px;border:1px solid #e0e7e3;border-radius:18px;background:#fffffff2;box-shadow:0 5px 17px #17362e1e;overflow:visible
 }
 body.mobile-map-expanded .search-block .fuel-tabs button{
   display:flex!important;align-items:center;justify-content:center;min-width:0;min-height:42px;padding:0 7px;border-radius:14px;background:transparent;color:#5f726a;font-size:12px;font-weight:700;box-shadow:none
 }
 body.mobile-map-expanded .search-block .fuel-tabs button.active{
   display:flex!important;background:#0f6b57;color:#fff;font-weight:800;box-shadow:0 2px 7px #0f6b5730
 }
 body.mobile-map-expanded .search-block .fuel-tabs button.active:before{display:none}
 body.mobile-map-expanded .search-block .filter-line{position:absolute;top:122px;left:auto;right:0;margin:0}
 body.mobile-map-expanded .search-block .filter-button{height:44px;padding:0 15px;font-size:13px}
 body.mobile-map-expanded .search-block .extra-filters{
   top:174px;left:0;right:0;padding:16px;border-radius:18px
 }
 body.mobile-map-expanded #map-section .map-actions{top:calc(226px + env(safe-area-inset-top,0px))}
 body.mobile-map-browse #map-section .map-actions{top:calc(226px + env(safe-area-inset-top,0px))}
 body.mobile-map-browse .map-secondary-actions{top:calc(226px + env(safe-area-inset-top,0px))}
 body.mobile-map-browse .mobile-map-toggle{top:calc(294px + env(safe-area-inset-top,0px))}
}
@media(max-width:420px){
 body.mobile-map-expanded .search-block .fuel-tabs button{font-size:11px;padding:0 4px}
}


/* Fuel type controls mirror the filter chip: circular icon badge + readable label. */
@media(max-width:1000px){
 body.mobile-map-expanded .search-block .fuel-tabs{
   display:flex!important;grid-template-columns:none!important;gap:8px;right:0;width:auto;padding:0;border:0;background:transparent;box-shadow:none;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain
 }
 body.mobile-map-expanded .search-block .fuel-tabs::-webkit-scrollbar{display:none}
 body.mobile-map-expanded .search-block .fuel-tabs button{
   display:flex!important;flex:0 0 auto;justify-content:flex-start;gap:8px;min-height:48px;padding:4px 14px 4px 5px;border:1px solid #dfe7e3;border-radius:24px;background:#fff;color:#173e34;font-size:13px;font-weight:800;box-shadow:0 5px 17px #17362e1e
 }
 body.mobile-map-expanded .search-block .fuel-tabs button.active{
   background:#fff;color:#0f5d4e;border:2px solid #0f7b65;padding-left:4px;box-shadow:0 6px 19px #0f6b5726
 }
 body.mobile-map-expanded .search-block .fuel-tabs .fuel-tab-icon{
   width:38px;height:38px;box-shadow:none
 }
 body.mobile-map-expanded .search-block .fuel-tabs .fuel-tab-icon .icon svg{width:20px;height:20px}
 body.mobile-map-expanded .search-block .fuel-tabs button.active .fuel-tab-icon{box-shadow:0 0 0 3px #e9f5f1}
 body.mobile-map-expanded .search-block .filter-line{top:126px}
 body.mobile-map-expanded .search-block .extra-filters{top:178px}
}
@media(max-width:420px){
 body.mobile-map-expanded .search-block .fuel-tabs button{font-size:12px;padding-right:11px}
 body.mobile-map-expanded .search-block .fuel-tabs .fuel-tab-icon{width:36px;height:36px}
}


/* Stitch screen b4d1b8b0777145cdb4add508dfb2bb44 */
@media(max-width:1000px){
 body.mobile-map-mode{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Pretendard","Noto Sans KR",sans-serif}
 body.mobile-map-expanded .workspace>.sidebar>.search-block,
 body.mobile-map-browse .workspace>.sidebar>.search-block{
   top:calc(24px + env(safe-area-inset-top,0px));left:16px;right:16px;padding:0;max-height:none;overflow:visible;border:0;background:transparent;box-shadow:none;backdrop-filter:none
 }
 body.mobile-map-expanded .search-block .search-box,
 body.mobile-map-browse .search-block .search-box{
   position:relative;height:48px;padding:0 6px 0 10px;gap:6px;border:1px solid #f0f1f2;border-radius:999px;background:#fff;box-shadow:0 8px 24px -4px rgba(18,77,66,.18),0 3px 8px -2px rgba(0,0,0,.08)
 }
 body.mobile-map-expanded .search-block .search-box:before,
 body.mobile-map-browse .search-block .search-box:before{display:none!important}
 body.mobile-map-expanded .search-block .search-box>.search-leading,
 body.mobile-map-browse .search-block .search-box>.search-leading{display:none!important}
 body.mobile-map-expanded .search-block .search-box input,
 body.mobile-map-browse .search-block .search-box input{
   min-width:0;padding:0 3px;background:transparent;color:#374151;font-size:14px;font-weight:600;letter-spacing:-.2px
 }
 body.mobile-map-expanded .search-block .search-box input::placeholder,
 body.mobile-map-browse .search-block .search-box input::placeholder{color:#9ca3af;font-weight:500}
 body.mobile-map-expanded .mobile-search-back,
 body.mobile-map-browse .mobile-search-back{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:50%;color:#374151;flex:none}
 body.mobile-map-expanded .mobile-search-back svg,
 body.mobile-map-browse .mobile-search-back svg{width:20px;height:20px;stroke-width:2.5}
 body.mobile-map-expanded .voice-search,
 body.mobile-map-browse .voice-search{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:50%;color:#4b5563;flex:none}
 body.mobile-map-expanded .voice-search svg,
 body.mobile-map-browse .voice-search svg{width:20px;height:20px;stroke-width:2}
 body.mobile-map-expanded .search-submit,
 body.mobile-map-browse .search-submit{width:34px;height:34px;padding:0;border-radius:50%!important;background:#0d6e5d!important;color:#fff;box-shadow:0 2px 7px rgba(13,110,93,.25)}
 body.mobile-map-expanded .search-submit svg,
 body.mobile-map-browse .search-submit svg{width:17px;height:17px;stroke-width:2.5}

 body.mobile-map-expanded .workspace>.sidebar>.search-block:has(#search-candidates:not([hidden])),
 body.mobile-map-browse .workspace>.sidebar>.search-block:has(#search-candidates:not([hidden])){z-index:188}
 body.mobile-map-expanded #search-candidates:not([hidden]),
 body.mobile-map-browse #search-candidates:not([hidden]){
   display:block;position:absolute;top:56px;left:0;right:0;z-index:20;margin:0;max-height:min(52dvh,420px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #dfe7e3;border-radius:18px;background:#fff;box-shadow:0 16px 38px rgba(17,24,39,.22)
 }

 body.mobile-map-expanded .mobile-fuel-toggle,
 body.mobile-map-browse .mobile-fuel-toggle{
   display:flex;position:absolute;top:58px;left:0;z-index:5;align-items:center;gap:6px;height:40px;padding:4px 13px 4px 6px;border-radius:999px;background:#0b5c4f;color:#fff;font-size:12px;font-weight:800;box-shadow:0 5px 14px rgba(17,24,39,.16)
 }
 body.mobile-map-expanded .mobile-fuel-toggle .fuel-toggle-icon,
 body.mobile-map-browse .mobile-fuel-toggle .fuel-toggle-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#fff;color:#0b5c4f}
 body.mobile-map-expanded .mobile-fuel-toggle .fuel-toggle-icon svg,
 body.mobile-map-browse .mobile-fuel-toggle .fuel-toggle-icon svg{width:15px;height:15px;stroke-width:2}
 body.mobile-map-expanded .mobile-fuel-toggle .fuel-toggle-chevron svg,
 body.mobile-map-browse .mobile-fuel-toggle .fuel-toggle-chevron svg{width:12px;height:12px;color:#d1d5db}
 body.mobile-map-expanded .search-block .fuel-tabs,
 body.mobile-map-browse .search-block .fuel-tabs{display:none!important;position:absolute;top:104px;left:0;right:auto;width:238px;padding:8px;grid-template-columns:1fr 1fr;gap:7px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(17,24,39,.18);z-index:8}
 body.mobile-map-expanded .search-block .fuel-tabs.mobile-open,
 body.mobile-map-browse .search-block .fuel-tabs.mobile-open{display:grid!important}
 body.mobile-map-expanded .search-block .fuel-tabs button,
 body.mobile-map-browse .search-block .fuel-tabs button{display:flex!important;justify-content:flex-start;gap:7px;min-height:42px;padding:4px 9px 4px 5px;border:1px solid #edf0ef;border-radius:14px;background:#fff;color:#374151;font-size:11px;font-weight:750;box-shadow:none}
 body.mobile-map-expanded .search-block .fuel-tabs button.active,
 body.mobile-map-browse .search-block .fuel-tabs button.active{background:#e6f4f1;color:#0a6358;border-color:#bfe2da}
 body.mobile-map-expanded .search-block .fuel-tabs .fuel-tab-icon,
 body.mobile-map-browse .search-block .fuel-tabs .fuel-tab-icon{width:30px;height:30px}
 body.mobile-map-expanded .search-block .fuel-tabs .fuel-tab-icon .icon svg,
 body.mobile-map-browse .search-block .fuel-tabs .fuel-tab-icon .icon svg{width:16px;height:16px}

 body.mobile-map-expanded .search-block .filter-line,
 body.mobile-map-browse .search-block .filter-line{position:absolute;top:58px;left:116px;right:auto;margin:0}
 body.mobile-map-expanded .search-block .brand-select,
 body.mobile-map-browse .search-block .brand-select{display:none!important}
 body.mobile-map-expanded .search-block .filter-button,
 body.mobile-map-browse .search-block .filter-button{height:40px;padding:4px 13px 4px 6px;border:0;border-radius:999px;background:#ebedf9;color:#111827;font-size:12px;font-weight:800;box-shadow:0 5px 14px rgba(17,24,39,.14)}
 body.mobile-map-expanded .search-block .filter-button .icon,
 body.mobile-map-browse .search-block .filter-button .icon{display:flex;width:28px;height:28px;margin:0;border-radius:50%;background:#7565e3;color:#fff}
 body.mobile-map-expanded .search-block .filter-button .icon svg,
 body.mobile-map-browse .search-block .filter-button .icon svg{width:14px;height:14px}
 body.mobile-map-expanded .search-block .extra-filters,
 body.mobile-map-browse .search-block .extra-filters{top:104px;left:0;right:0;padding:16px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(17,24,39,.18);z-index:9}

 body.mobile-map-expanded #map-section .map-actions,
 body.mobile-map-browse #map-section .map-actions{top:calc(210px + env(safe-area-inset-top,0px));left:16px;right:auto;bottom:auto;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(17,24,39,.14)}
 body.mobile-map-expanded #map-section .map-action,
 body.mobile-map-browse #map-section .map-action{width:44px;height:44px;color:#2563eb}
 body.mobile-map-expanded .map-secondary-actions,
 body.mobile-map-browse .map-secondary-actions{top:calc(210px + env(safe-area-inset-top,0px));right:16px;gap:10px}
 body.mobile-map-expanded .map-secondary-action,
 body.mobile-map-browse .map-secondary-action{width:44px;height:44px;border:0;background:#fff;color:#2563eb;box-shadow:0 6px 18px rgba(17,24,39,.16)}
 body.mobile-map-expanded .mobile-map-toggle,
 body.mobile-map-browse .mobile-map-toggle{top:calc(264px + env(safe-area-inset-top,0px));right:16px;width:44px;height:44px;min-width:44px;min-height:44px;border:0;background:#fff;color:#2563eb;box-shadow:0 6px 18px rgba(17,24,39,.16)}
 body.mobile-map-expanded .mobile-map-toggle .icon svg,
 body.mobile-map-browse .mobile-map-toggle .icon svg{width:20px;height:20px}

 body.mobile-map-focus .detail-dialog[open],
 body.mobile-map-expanded .detail-dialog[open]{border-radius:32px 32px 0 0;background:#fff;box-shadow:0 -8px 30px rgba(0,0,0,.25)}
 body.mobile-map-focus .detail-sheet-head,
 body.mobile-map-expanded .detail-sheet-head{height:54px;padding:14px 20px 8px;border-bottom:1px solid #f1f2f3;background:#fff}
 body.mobile-map-focus .detail-sheet-title,
 body.mobile-map-expanded .detail-sheet-title{font-size:14px;font-weight:800;color:#1f2937}
 body.mobile-map-focus .detail-sheet-handle,
 body.mobile-map-expanded .detail-sheet-handle{top:1px;width:54px;height:18px}
 body.mobile-map-focus .detail-sheet-handle:before,
 body.mobile-map-expanded .detail-sheet-handle:before{top:6px;width:48px;height:4px;background:#d1d5db}
 body.mobile-map-focus .detail-expand-toggle,
 body.mobile-map-expanded .detail-expand-toggle{height:34px;min-height:34px;padding:0 12px;border:0;border-radius:8px;background:#edf5f3;color:#0a6358;font-size:12px;font-weight:800}
 body.mobile-map-focus .detail-sheet-head .dialog-close,
 body.mobile-map-expanded .detail-sheet-head .dialog-close{width:34px;height:34px;min-width:34px;min-height:34px;padding:6px;border:0;background:transparent;color:#374151}
 body.mobile-map-focus #detail-content,
 body.mobile-map-expanded #detail-content{padding:14px 20px calc(30px + env(safe-area-inset-bottom,0px))}
 body.mobile-map-mode .station-focus-detail h2{font-size:24px;line-height:1.22;font-weight:900;color:#111827;letter-spacing:-.8px;margin:5px 0 7px}
 body.mobile-map-mode .focus-breadcrumb{font-size:11px;color:#9ca3af;font-weight:600}
 body.mobile-map-mode .focus-brand-badge{padding:4px 8px;border:1px solid #fde8d4;border-radius:7px;background:#fff6ee;color:#d95d13;font-size:11px;font-weight:700}
 body.mobile-map-mode .other-stations-button{font-size:12px;color:#374151}
 body.mobile-map-mode .fuel-price-grid{gap:8px;margin-top:14px}
 body.mobile-map-mode .fuel-price-card{padding:10px;border-radius:12px;border-color:#e5e7eb}
 body.mobile-map-mode .fuel-price-green{background:#edf8f4;border-color:#d2ede2}
 body.mobile-map-mode .fuel-price-card strong{font-size:22px;font-weight:900;color:#111827}
 body.mobile-map-mode .fuel-price-label{font-size:11px;color:#4b5563}
 body.mobile-map-mode .fuel-price-date{font-size:9px;color:#9ca3af}
 body.mobile-map-mode .focus-detail-tabs{margin-top:16px;border-bottom-color:#e5e7eb}
 body.mobile-map-mode .focus-detail-tabs button{height:44px;font-size:13px;color:#9ca3af}
 body.mobile-map-mode .focus-detail-tabs button.active{color:#0a6358;border-bottom-color:#0a6358}
 body.mobile-map-mode .focus-tab-panel{padding-top:16px}
 body.mobile-map-mode .focus-tab-panel h3{font-size:14px;color:#111827}
 body.mobile-map-mode .contact-row{padding:13px 0;border-bottom-color:#f0f1f2}
 body.mobile-map-mode .contact-row small{color:#9ca3af}
 body.mobile-map-mode .contact-row p{font-size:12px;color:#374151}
 body.mobile-map-mode .focus-route-button{border-color:#0a6358;color:#0a6358;border-radius:8px}
}
@media(max-width:420px){
 body.mobile-map-expanded .search-block .filter-line,
 body.mobile-map-browse .search-block .filter-line{left:112px}
}


/* Detail bottom sheet: compact 58% -> expanded 82%, with live drag height. */
@media(max-width:1000px){
 body.mobile-map-focus .detail-dialog[open]{height:var(--sheet-live-height,58dvh)!important;max-height:var(--sheet-live-height,58dvh)!important}
 body.mobile-map-expanded .detail-dialog[open]{height:var(--sheet-live-height,82dvh)!important;max-height:var(--sheet-live-height,82dvh)!important}
 body.mobile-map-focus #detail-content,body.mobile-map-expanded #detail-content{height:calc(100% - 54px)!important;max-height:none!important;overflow:auto}
 body.mobile-map-focus .detail-dialog[open],body.mobile-map-expanded .detail-dialog[open]{transform:none!important;transition:height .22s cubic-bezier(.2,.8,.2,1),max-height .22s cubic-bezier(.2,.8,.2,1)}
 body.mobile-map-focus .detail-dialog.is-dragging[open],body.mobile-map-expanded .detail-dialog.is-dragging[open]{transition:none!important}
}
@media(max-height:650px) and (max-width:1000px){
 body.mobile-map-focus .detail-dialog[open]{height:var(--sheet-live-height,55dvh)!important;max-height:var(--sheet-live-height,55dvh)!important}
 body.mobile-map-expanded .detail-dialog[open]{height:var(--sheet-live-height,78dvh)!important;max-height:var(--sheet-live-height,78dvh)!important}
}


/* Real-time driving mode: persistent control + clear active state. */
.drive-mode-toggle[aria-pressed="true"]{background:#1769d7!important;color:#fff!important;border-color:#1769d7!important;box-shadow:0 0 0 4px #1769d726,0 7px 20px #17362e28!important}
.drive-mode-toggle[aria-pressed="true"] .icon{transform:translateY(-1px)}
.route-results-toggle[hidden]{display:none!important}
body.route-mode.route-results-ready .map-secondary-actions .route-results-toggle[aria-pressed="true"]{background:#0f6b57;color:#fff;border-color:#0f6b57;box-shadow:0 0 0 4px #0f6b5724,0 7px 20px #17362e28}
body.route-mode.route-results-ready .map-secondary-actions .route-results-toggle[aria-pressed="false"]{background:#fff;color:#765ac6;border-color:#ddd4f7;box-shadow:0 6px 20px #17362e24}
@media(max-width:1000px){
 body.driving-mode .drive-mode-toggle{display:flex!important}
 body.driving-mode .driving-station-status{display:flex;position:fixed;right:calc(86px + env(safe-area-inset-right,0px));top:calc(190px + env(safe-area-inset-top,0px));z-index:184;max-width:min(58vw,260px)}
 body.mobile-map-menu-collapsed.driving-mode:not(.mobile-map-collapsed) .driving-station-status{top:calc(64px + env(safe-area-inset-top,0px))}
 body.mobile-map-collapsed.driving-mode .driving-station-status{top:calc(190px + env(safe-area-inset-top,0px))}
 body.mobile-map-collapsed.driving-mode .map-secondary-actions{
   display:flex!important;position:fixed;right:calc(18px + env(safe-area-inset-right,0px));top:calc(190px + env(safe-area-inset-top,0px));z-index:185;flex-direction:column;gap:10px
 }
 body.mobile-map-collapsed.driving-mode .map-secondary-action{
   display:flex!important;width:54px;height:54px;border:1px solid #e0e6ea;border-radius:50%;background:#fff;color:#2563eb;box-shadow:0 6px 20px #17362e24
 }
 body.mobile-map-collapsed.driving-mode #map-type-toggle{display:none!important}
 body.driving-mode .map-you.is-driving{filter:drop-shadow(0 3px 6px #17362e45)}
}

/* Going-there planner reuses the map-browse and draggable list-sheet states. */
@media(max-width:1000px){
 body.mobile-map-browse .workspace>.sidebar>nav.view-tabs,
 body.mobile-map-expanded .workspace>.sidebar>nav.view-tabs{
   display:flex!important;position:fixed;left:16px;right:16px;top:calc(132px + env(safe-area-inset-top,0px));z-index:181;height:50px;padding:4px;border:2px solid #0f6b57;border-radius:26px;background:#fffffff7;box-shadow:0 8px 26px #17362e38;pointer-events:auto;backdrop-filter:blur(12px)
 }
 body.mobile-map-browse .workspace>.sidebar>nav.view-tabs .view-tab,
 body.mobile-map-expanded .workspace>.sidebar>nav.view-tabs .view-tab{min-height:38px;padding:0 4px;border-bottom:0;border-radius:20px;color:#365c51;font-size:11px;font-weight:750;letter-spacing:-.25px;transition:background-color .25s ease,color .25s ease,box-shadow .25s ease}
 body.mobile-map-browse .workspace>.sidebar>nav.view-tabs .view-tab.active,
 body.mobile-map-expanded .workspace>.sidebar>nav.view-tabs .view-tab.active{background:#0f6b57;color:#fff;box-shadow:0 4px 12px #0f6b5745}
 body.mobile-map-browse .workspace>.sidebar>nav.view-tabs .view-tab.active svg,
 body.mobile-map-expanded .workspace>.sidebar>nav.view-tabs .view-tab.active svg{stroke-width:2.35}
 body.route-mode.route-planner-open.mobile-map-browse .workspace>.sidebar>.route-panel,
 body.route-mode.route-planner-open.mobile-map-expanded .workspace>.sidebar>.route-panel{
   display:block!important;position:fixed;left:10px;right:10px;top:calc(184px + env(safe-area-inset-top,0px));bottom:calc(92px + env(safe-area-inset-bottom,0px));z-index:184;max-height:none;padding:17px 16px 24px;border:1px solid #dce7e2;border-radius:24px;background:#fffffff5;box-shadow:0 10px 34px #17362e2c;overflow:auto;pointer-events:auto;backdrop-filter:blur(13px)
 }
 body.route-mode.route-planner-open.mobile-map-browse #map-section .map-actions,
 body.route-mode.route-planner-open.mobile-map-browse .map-secondary-actions,
 body.route-mode.route-planner-open.mobile-map-browse .mobile-map-toggle,
 body.route-mode.route-planner-open.mobile-map-expanded #map-section .map-actions,
 body.route-mode.route-planner-open.mobile-map-expanded .map-secondary-actions,
 body.route-mode.route-planner-open.mobile-map-expanded .mobile-map-toggle,
 body.route-mode.mobile-map-browse .focus-rescan,body.route-mode .focus-route-shortcut{display:none!important}
 body.route-mode.mobile-map-browse .mobile-focus-dock{z-index:186}
 body.route-mode.mobile-map-browse #focus-dock-more.route-transition-control .dock-icon{color:#0f6b57;letter-spacing:0}
 body.route-mode.mobile-list-sheet .workspace>.sidebar>.route-panel{display:none!important}
 body.route-mode.mobile-list-sheet .workspace>.sidebar>.results-header{display:flex!important}
 body.route-mode.mobile-list-sheet .workspace>.sidebar>.results{display:block!important}
 body.route-mode .route-panel-head h2{font-size:18px}
 body.route-mode .route-panel-head-actions{gap:5px}body.route-mode .route-panel-close{width:42px;height:42px;min-width:42px;background:#f2f8f5;box-shadow:none}
 body.route-mode .route-panel-exit{min-height:46px;font-size:12px}
 body.route-mode .route-intro{font-size:10px}
 body.route-mode .route-settings-grid{gap:8px}
 body.route-mode .route-coordinate-note{padding-bottom:4px}
}
@media(max-width:430px){
 body.mobile-map-browse .workspace>.sidebar>nav.view-tabs,
 body.mobile-map-expanded .workspace>.sidebar>nav.view-tabs{left:10px;right:10px}
 body.route-mode.route-planner-open.mobile-map-browse .workspace>.sidebar>.route-panel,
 body.route-mode.route-planner-open.mobile-map-expanded .workspace>.sidebar>.route-panel{left:6px;right:6px;padding-left:13px;padding-right:13px}
}

/* Keep interactive map chrome above the fixed bottom ad instead of letting its iframe intercept taps. */
@media(max-width:1000px){
 body.juyu-bottom-ad-active.mobile-map-browse .mobile-focus-dock{bottom:calc(12px + var(--juyu-bottom-ad-space,0px) + env(safe-area-inset-bottom,0px))}
 body.juyu-bottom-ad-active.mobile-map-browse .focus-rescan{bottom:calc(104px + var(--juyu-bottom-ad-space,0px) + env(safe-area-inset-bottom,0px))}
 body.juyu-bottom-ad-active.route-mode .route-simulation{bottom:calc(82px + var(--juyu-bottom-ad-space,0px) + env(safe-area-inset-bottom,0px))}
 body.juyu-bottom-ad-active.route-mode.route-planner-open.mobile-map-browse .workspace>.sidebar>.route-panel,
 body.juyu-bottom-ad-active.route-mode.route-planner-open.mobile-map-expanded .workspace>.sidebar>.route-panel{bottom:calc(92px + var(--juyu-bottom-ad-space,0px) + env(safe-area-inset-bottom,0px))}
 body.juyu-bottom-ad-active.mobile-list-sheet .workspace>.sidebar{bottom:var(--juyu-bottom-ad-space,0px)!important;inset:auto 10px var(--juyu-bottom-ad-space,0px)!important;max-height:calc(90dvh - var(--juyu-bottom-ad-space,0px))!important}
}
@media(max-height:680px) and (max-width:1000px){
 body.route-mode.route-planner-open.mobile-map-browse .workspace>.sidebar>.route-panel,
 body.route-mode.route-planner-open.mobile-map-expanded .workspace>.sidebar>.route-panel{top:calc(176px + env(safe-area-inset-top,0px));bottom:calc(78px + env(safe-area-inset-bottom,0px))}
}

/* Route planner keeps the destination flow compact and the primary action reachable. */
@media(max-width:1000px){
 body.route-mode.route-planner-open.mobile-map-browse .workspace>.sidebar>.route-panel,
 body.route-mode.route-planner-open.mobile-map-expanded .workspace>.sidebar>.route-panel{
   display:flex!important;flex-direction:column;padding:0!important;overflow:hidden!important;background:#fffffff9
 }
 body.route-mode .route-planner-scroll{padding:13px 14px 9px;scrollbar-gutter:auto}
 body.route-mode .route-panel-head h2{margin-top:2px;font-size:17px;line-height:1.25}
 body.route-mode .route-mode-chip{min-height:26px;padding:0 8px}
 body.route-mode .route-intro{margin-top:5px;font-size:10px;line-height:1.45}
 body.route-mode .route-value-strip{margin-top:7px}
 body.route-mode .route-value-strip li{min-height:24px;padding:0 7px}
 body.route-mode .route-progress-steps{margin-top:9px}
 body.route-mode .route-progress-steps li{height:28px}
 body.route-mode .route-destination-card{margin-top:9px;padding:12px;border-radius:14px}
 body.route-mode .route-destination-card>label{font-size:13px}
 body.route-mode .route-destination-card form{margin-top:7px}
 body.route-mode .route-destination-card input{height:40px}
 body.route-mode .route-destination-card form button{min-width:58px}
 body.route-mode .route-address-help{margin-top:5px}
 body.route-mode .route-selected-point{margin-top:7px;padding:7px 8px}
 body.route-mode .route-destination-actions{margin-top:7px}
 body.route-mode .route-origin-compact{margin-top:8px;padding:9px 10px}
 body.route-mode .route-origin-compact>button{padding:7px 8px}
 body.route-mode .route-options{margin-top:8px}
 body.route-mode .route-options>summary{min-height:39px}
 body.route-mode .route-summary{margin-top:8px}
 body.route-mode .route-trust-note{margin-top:7px}
 body.route-mode .route-action-zone{padding:9px 14px 10px}
 body.route-mode .route-action-zone .route-submit{min-height:45px;font-size:12px}
 body.route-mode .route-action-copy{margin-top:6px}
 body.route-mode .route-action-zone .route-simple-note{display:none}
 body.route-mode .route-action-zone .route-api-state{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}
 body.route-mode .route-panel-exit{min-height:38px;margin-top:6px;border-color:transparent;background:transparent;color:#617a72}
}
@media(min-width:640px) and (max-width:1000px){
 body.mobile-map-browse .workspace>.sidebar>nav.view-tabs,
 body.mobile-map-expanded .workspace>.sidebar>nav.view-tabs{left:18px;right:auto;width:470px}
 body.route-mode.route-planner-open.mobile-map-browse .workspace>.sidebar>.route-panel,
 body.route-mode.route-planner-open.mobile-map-expanded .workspace>.sidebar>.route-panel{left:18px;right:auto;bottom:auto!important;width:470px;height:min(600px,calc(100dvh - 216px - var(--juyu-bottom-ad-space,0px) - env(safe-area-inset-top,0px)))}
}

/* Fuel triggers use the same icon-option language as their listbox items. */
@media(max-width:1000px){
 body.mobile-map-browse .mobile-fuel-toggle,
 body.mobile-map-expanded .mobile-fuel-toggle{
   min-width:106px;border:1px solid #dce7e2!important;border-radius:14px!important;background:#fff!important;color:#174b40!important;box-shadow:none!important
 }
 body.mobile-map-browse .mobile-fuel-toggle .fuel-tab-icon,
 body.mobile-map-expanded .mobile-fuel-toggle .fuel-tab-icon{width:30px;height:30px}
 body.mobile-map-browse .mobile-fuel-toggle .fuel-toggle-chevron,
 body.mobile-map-expanded .mobile-fuel-toggle .fuel-toggle-chevron,
 .focus-collapsed-fuel>#focus-fuel-toggle .fuel-toggle-chevron{display:flex!important;margin-left:auto;transition:transform .18s ease}
 body.mobile-map-browse .mobile-fuel-toggle[aria-expanded="true"] .fuel-toggle-chevron,
 body.mobile-map-expanded .mobile-fuel-toggle[aria-expanded="true"] .fuel-toggle-chevron,
 .focus-collapsed-fuel>#focus-fuel-toggle[aria-expanded="true"] .fuel-toggle-chevron{transform:rotate(180deg)}
 .focus-collapsed-fuel>#focus-fuel-toggle{
   min-width:112px!important;max-width:126px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 24px #17362e24!important
 }
}

/* Compact mobile map tools: fuel, filter, search and icon-only close. */
@media(max-width:1000px){
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .workspace>.sidebar>.search-block,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .workspace>.sidebar>.search-block{
   display:grid!important;grid-template-columns:max-content max-content max-content minmax(40px,1fr);align-items:center;column-gap:6px
 }
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .mobile-fuel-toggle,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .mobile-fuel-toggle{
   position:static!important;grid-column:1;grid-row:1;height:40px;padding:4px 10px 4px 5px;gap:5px
 }
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .search-block .filter-line,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .search-block .filter-line{
   position:static!important;grid-column:2;grid-row:1
 }
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .search-block .filter-button,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .search-block .filter-button{padding:4px 10px 4px 5px;gap:5px}
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .mobile-search-toggle,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .mobile-search-toggle{
   display:flex;position:relative;grid-column:3;grid-row:1;align-items:center;gap:5px;height:40px;padding:4px 10px 4px 5px;border:0;border-radius:999px;background:#edf4ff;color:#111827;font-size:12px;font-weight:800;box-shadow:0 5px 14px rgba(17,24,39,.14)
 }
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .mobile-search-toggle.has-search-query,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .mobile-search-toggle.has-search-query{background:#dce9ff;color:#174c9a;box-shadow:0 0 0 2px #7aa7ee,0 5px 14px rgba(17,24,39,.14)}
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .mobile-search-toggle .icon,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .mobile-search-toggle .icon{
   display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#2563eb;color:#fff
 }
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .mobile-search-toggle .icon svg,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .mobile-search-toggle .icon svg{width:15px;height:15px;stroke-width:2.3}
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .mobile-map-menu-toggle,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .mobile-map-menu-toggle{
   position:static;grid-column:4;grid-row:1;justify-self:end;width:40px;min-width:40px;height:40px;padding:0;border-color:#dce7e2;border-radius:50%
 }
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .search-block .search-box,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .search-block .search-box{
   display:none!important;position:absolute!important;top:48px;left:0;right:0;width:auto
 }
 body.mobile-map-search-open.mobile-map-browse:not(.mobile-map-menu-collapsed) .workspace>.sidebar>.search-block,
 body.mobile-map-search-open.mobile-map-expanded:not(.mobile-map-menu-collapsed) .workspace>.sidebar>.search-block{z-index:188}
 body.mobile-map-search-open.mobile-map-browse:not(.mobile-map-menu-collapsed) .search-block .search-box,
 body.mobile-map-search-open.mobile-map-expanded:not(.mobile-map-menu-collapsed) .search-block .search-box{display:flex!important}
 body.mobile-map-search-open.mobile-map-browse #search-candidates:not([hidden]),
 body.mobile-map-search-open.mobile-map-expanded #search-candidates:not([hidden]){display:block!important;top:104px}
 body.mobile-map-browse .search-block .fuel-tabs,
 body.mobile-map-expanded .search-block .fuel-tabs,
 body.mobile-map-browse .search-block .extra-filters,
 body.mobile-map-expanded .search-block .extra-filters{top:48px}
 body.route-mode .mobile-search-toggle{display:none!important}
}
@media(max-width:350px){
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .workspace>.sidebar>.search-block,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .workspace>.sidebar>.search-block{column-gap:4px}
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .mobile-fuel-toggle,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .mobile-fuel-toggle{padding-right:7px}
 body.mobile-map-browse:not(.mobile-map-menu-collapsed) .mobile-fuel-toggle .fuel-toggle-chevron,
 body.mobile-map-expanded:not(.mobile-map-menu-collapsed) .mobile-fuel-toggle .fuel-toggle-chevron{display:none}
}

/* The mobile map menu opens as one control group, then folds into one persistent menu icon. */
.mobile-map-menu-toggle{display:none}
@media(max-width:1000px){
 body.mobile-map-browse .workspace>.sidebar>.search-block,
 body.mobile-map-expanded .workspace>.sidebar>.search-block{
   height:44px;padding:2px!important;border:1px solid #dce7e2!important;border-radius:23px!important;background:#fffffff2!important;box-shadow:0 7px 22px #17362e24!important;backdrop-filter:blur(12px)!important
 }
 body.mobile-map-browse .mobile-map-menu-toggle,
 body.mobile-map-expanded .mobile-map-menu-toggle{
   display:flex;position:absolute;top:0;right:0;z-index:6;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:0;border:1px solid #dce7e2;border-radius:50%;background:#fff;color:#174b40;box-shadow:none;pointer-events:auto
 }
 body.mobile-map-browse .mobile-map-menu-toggle .icon,
 body.mobile-map-expanded .mobile-map-menu-toggle .icon{display:flex;align-items:center;justify-content:center}
 body.mobile-map-browse .mobile-map-menu-toggle svg,
 body.mobile-map-expanded .mobile-map-menu-toggle svg{width:16px;height:16px;stroke-width:2.3}
 body.mobile-map-menu-collapsed.mobile-map-browse .workspace>.sidebar>nav.view-tabs,
 body.mobile-map-menu-collapsed.mobile-map-expanded .workspace>.sidebar>nav.view-tabs{display:none!important}
 body.mobile-map-menu-collapsed.mobile-map-browse .workspace>.sidebar>.search-block,
 body.mobile-map-menu-collapsed.mobile-map-expanded .workspace>.sidebar>.search-block{
   top:calc(10px + env(safe-area-inset-top,0px));left:10px;right:auto!important;width:44px!important;height:44px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;pointer-events:none!important
 }
 body.mobile-map-menu-collapsed.mobile-map-browse .search-block>:not(.mobile-map-menu-toggle),
 body.mobile-map-menu-collapsed.mobile-map-expanded .search-block>:not(.mobile-map-menu-toggle){display:none!important}
 body.mobile-map-menu-collapsed.mobile-map-browse .mobile-map-menu-toggle,
 body.mobile-map-menu-collapsed.mobile-map-expanded .mobile-map-menu-toggle{
   left:0;right:auto;top:0;width:44px;min-width:44px;height:44px;border-color:#0f6b57;background:#0f6b57;color:#fff;box-shadow:0 7px 20px #17362e38;pointer-events:auto
 }
 body.mobile-map-menu-collapsed.mobile-map-browse .focus-quick-actions,
 body.mobile-map-menu-collapsed.mobile-map-expanded .focus-quick-actions{display:contents}
 body.mobile-map-menu-collapsed.mobile-map-browse .focus-collapsed-fuel,
 body.mobile-map-menu-collapsed.mobile-map-expanded .focus-collapsed-fuel{display:block;position:fixed;left:72px;right:auto;top:calc(10px + env(safe-area-inset-top,0px));z-index:193;pointer-events:auto}
 .focus-collapsed-fuel>#focus-fuel-toggle{display:flex;min-width:92px;max-width:108px;height:46px;align-items:center;justify-content:flex-start;gap:5px;padding:0 9px 0 5px;border:1px solid #c9ddd6;border-radius:23px;background:#fffffff5;color:#174b40;font-size:11px;font-weight:900;white-space:nowrap;box-shadow:0 8px 24px #17362e2d}
 .focus-collapsed-fuel>#focus-fuel-toggle .fuel-tab-icon{width:34px;height:34px;flex:none}
 .focus-collapsed-fuel>#focus-fuel-toggle .fuel-tab-icon svg{width:18px;height:18px}.focus-collapsed-fuel>#focus-fuel-toggle .fuel-toggle-chevron{display:none}.focus-collapsed-fuel>#focus-fuel-toggle #focus-fuel-label{overflow:hidden;text-overflow:ellipsis}
 .focus-fuel-tabs{position:absolute;left:0;top:54px;display:grid;width:224px;grid-template-columns:1fr 1fr;gap:7px;padding:8px;border:1px solid #dce7e2;border-radius:17px;background:#fff;box-shadow:0 12px 32px #17362e30}
 .focus-fuel-tabs[hidden]{display:none!important}.focus-fuel-tabs button{display:flex;min-height:42px;align-items:center;gap:7px;padding:4px 8px 4px 5px;border:1px solid #edf0ef;border-radius:13px;background:#fff;color:#374151;font-size:11px;font-weight:800}.focus-fuel-tabs button.active{border-color:#bfe2da;background:#e6f4f1;color:#0a6358}.focus-fuel-tabs .fuel-tab-icon{width:30px;height:30px}
 body.route-mode .focus-collapsed-fuel{display:none!important}
 @media(max-width:350px){body.mobile-map-menu-collapsed.mobile-map-browse .focus-collapsed-fuel,body.mobile-map-menu-collapsed.mobile-map-expanded .focus-collapsed-fuel{left:68px;right:auto}.focus-collapsed-fuel>#focus-fuel-toggle{min-width:96px;max-width:104px}}
 .mobile-search-indicator,.mobile-menu-search-indicator{position:absolute;z-index:2;width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#f59e0b;box-shadow:0 1px 4px #17362e33;pointer-events:none}
 .mobile-search-indicator{top:2px;right:3px}
 .mobile-menu-search-indicator{top:2px;right:2px}
 body.mobile-map-menu-collapsed.route-mode.route-planner-open.mobile-map-browse .workspace>.sidebar>.route-panel,
 body.mobile-map-menu-collapsed.route-mode.route-planner-open.mobile-map-expanded .workspace>.sidebar>.route-panel{top:calc(64px + env(safe-area-inset-top,0px))}
}

/* Route shortcut opens one focused planner: menu button, planner and bottom dock only. */
@media(max-width:1000px){
 body.route-mode.route-planner-open.mobile-map-menu-collapsed.mobile-map-browse .workspace>.sidebar>.route-panel,
 body.route-mode.route-planner-open.mobile-map-menu-collapsed.mobile-map-expanded .workspace>.sidebar>.route-panel{top:calc(66px + env(safe-area-inset-top,0px))}
 body.route-mode.route-planner-open .focus-collapsed-fuel,
 body.route-mode.route-planner-open .focus-rescan{display:none!important}
}
@media(max-width:370px){
 body.route-mode .route-progress-steps li{gap:4px;font-size:8px}
 body.route-mode .route-mode-chip{display:none}
 body.route-mode .route-destination-card>label small{font-size:8px}
}

/* Mobile hierarchy: view switching first, compact fuel/filter row second, map third. */
@media(max-width:1000px){
 body.mobile-map-browse .workspace>.sidebar>nav.view-tabs,
 body.mobile-map-expanded .workspace>.sidebar>nav.view-tabs{
   top:calc(10px + env(safe-area-inset-top,0px));z-index:187;right:calc(62px + env(safe-area-inset-right,0px));max-width:calc(100% - 80px - env(safe-area-inset-right,0px))
 }
 body.mobile-map-browse .workspace>.sidebar>.search-block,
 body.mobile-map-expanded .workspace>.sidebar>.search-block{
   position:fixed!important;top:calc(66px + env(safe-area-inset-top,0px));z-index:186
 }
 body.mobile-map-browse .search-block .search-box,
 body.mobile-map-expanded .search-block .search-box,
 body.mobile-map-browse #search-candidates,
 body.mobile-map-expanded #search-candidates{display:none!important}
 body.mobile-map-browse .mobile-fuel-toggle,
 body.mobile-map-expanded .mobile-fuel-toggle{top:0}
 body.mobile-map-browse .search-block .filter-line,
 body.mobile-map-expanded .search-block .filter-line{top:0}
 body.mobile-map-browse .search-block .fuel-tabs,
 body.mobile-map-expanded .search-block .fuel-tabs,
 body.mobile-map-browse .search-block .extra-filters,
 body.mobile-map-expanded .search-block .extra-filters{top:48px}
 body.mobile-map-collapsed #map-section .map-actions,
 body.mobile-map-browse #map-section .map-actions,
 body.mobile-map-expanded #map-section .map-actions,
 body.mobile-map-browse .map-secondary-actions,
 body.mobile-map-expanded .map-secondary-actions{top:calc(120px + env(safe-area-inset-top,0px))}
 body.mobile-map-browse .mobile-map-toggle,
 body.mobile-map-expanded .mobile-map-toggle{top:calc(174px + env(safe-area-inset-top,0px))}
 body.route-mode.route-planner-open.mobile-map-browse .workspace>.sidebar>.route-panel,
 body.route-mode.route-planner-open.mobile-map-expanded .workspace>.sidebar>.route-panel{top:calc(114px + env(safe-area-inset-top,0px))}
}
@media(min-width:640px) and (max-width:1000px){
 body.mobile-map-browse .workspace>.sidebar>.search-block,
 body.mobile-map-expanded .workspace>.sidebar>.search-block{left:18px;right:auto;width:470px}
 body.route-mode.route-planner-open.mobile-map-browse .workspace>.sidebar>.route-panel,
 body.route-mode.route-planner-open.mobile-map-expanded .workspace>.sidebar>.route-panel{height:min(620px,calc(100dvh - 146px - var(--juyu-bottom-ad-space,0px) - env(safe-area-inset-top,0px)))}
}

.brand-picker-trigger{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:44px;padding:0 10px;border:1px solid #ceded7;border-radius:18px;background:white;color:#154e40;font-weight:750}
#map-brand-options{position:fixed;z-index:9999;width:min(284px,calc(100vw - 16px));max-height:calc(100dvh - 24px);overflow:auto;padding:12px;border:1px solid #d4e2dc;border-radius:18px;background:white;color:#163e32;box-shadow:0 8px 30px #102d2930}
#map-brand-options[hidden]{display:none!important}
#map-brand-options small{display:block;margin:3px 0 8px;color:#50645b}
.brand-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.brand-picker-grid button{display:flex;align-items:center;gap:5px;min-height:48px;padding:5px 7px;text-align:left;border:1px solid #d9e3dd;border-radius:10px;background:white;color:#243e31;font-weight:650}
.brand-picker-grid button:first-child{grid-column:span 2}
.brand-picker-grid button[aria-pressed=true]{background:#e1f4eb;border-color:#16735b;color:#12503e}
.brand-picker-grid button[aria-pressed=true]:after{content:'✓';margin-left:auto}
@media(max-width:1000px){
body:is(.mobile-map-browse,.mobile-map-expanded):not(.mobile-map-menu-collapsed) .workspace>.sidebar>.search-block{grid-template-columns:max-content max-content auto auto minmax(40px,1fr)!important;column-gap:3px}
.search-block .brand-picker-trigger{grid-row:1;grid-column:2}
body:is(.mobile-map-browse,.mobile-map-expanded) .workspace>.sidebar>.search-block>.filter-line{grid-column:3}
body:is(.mobile-map-browse,.mobile-map-expanded) .workspace>.sidebar>.search-block>#mobile-search-toggle{grid-column:4}
body:is(.mobile-map-browse,.mobile-map-expanded) .workspace>.sidebar>.search-block>#mobile-map-menu-toggle{grid-column:5}
body.mobile-map-menu-collapsed .focus-collapsed-fuel:not([hidden]){display:flex!important;align-items:center;gap:4px}
.focus-collapsed-fuel .brand-picker-trigger{font-size:12px;padding:0 7px}
}
@media(max-width:520px){
body:is(.mobile-map-browse,.mobile-map-expanded) .search-block #toggle-filters{font-size:0!important;padding:0!important;min-width:44px;justify-content:center}
body:is(.mobile-map-browse,.mobile-map-expanded) .search-block #mobile-search-label{display:none}
body:is(.mobile-map-browse,.mobile-map-expanded) .search-block #mobile-search-toggle{padding:0;min-width:44px;justify-content:center}
.search-block .brand-picker-trigger{font-size:12px;padding:0 6px}
}
.map-fuel-brand-row{display:flex;align-items:center;gap:4px}
.map-fuel-brand-row .fuel-tabs{flex:1;min-width:0}
@media(max-width:1000px){.map-fuel-brand-row{display:contents}}
@media(max-width:350px){
body:is(.mobile-map-browse,.mobile-map-expanded) .search-block #mobile-fuel-toggle{min-width:0!important;padding:0 4px!important;gap:2px}
body:is(.mobile-map-browse,.mobile-map-expanded) .search-block #mobile-fuel-toggle .fuel-tab-icon{width:24px;height:24px}
}

/* Keep the comparison list high in the normal sidebar, outside map overlays. */
body:not(.energy-page):not(.mobile-map-mode):not(.mobile-map-fullscreen) .app-header{height:56px;padding-inline:16px}
body:not(.energy-page):not(.mobile-map-mode):not(.mobile-map-fullscreen) .brand{font-size:20px;gap:8px}
body:not(.energy-page):not(.mobile-map-mode):not(.mobile-map-fullscreen) .brand img{width:36px;height:36px}
body:not(.energy-page):not(.mobile-map-mode):not(.mobile-map-fullscreen) .brand small{display:none}
body:not(.energy-page):not(.mobile-map-mode):not(.mobile-map-fullscreen) .workspace{height:calc(100dvh - 56px - var(--juyu-bottom-ad-space,0px));min-height:0}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .workspace .view-tabs{padding-inline:10px}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .workspace .view-tab{min-height:48px;padding:6px 2px}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .workspace .search-block{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:6px;padding:8px 10px}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .search-block .search-box{grid-column:1;grid-row:1;min-width:0;height:48px;padding-left:10px}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .search-box .search-submit{min-width:44px;min-height:44px;padding:10px}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .search-block .filter-line{grid-column:2;grid-row:1;margin:0}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .search-block .filter-button{width:48px;height:48px;padding:3px;flex-direction:column;justify-content:center;gap:2px;font-size:10px}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .search-block .filter-button .icon svg{width:18px;height:18px}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .map-fuel-brand-row{grid-column:1 / -1;display:flex;gap:6px;min-width:0}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .workspace .fuel-tabs{margin:0;padding:0;gap:2px;min-width:0}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .workspace .fuel-tabs button{min-height:48px;min-width:44px;padding:4px;gap:4px;font-size:11px}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .fuel-tab-icon{width:20px;height:20px}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .fuel-tab-icon .icon svg{width:13px;height:13px}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .fuel-tabs button.active .fuel-tab-icon{box-shadow:none}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .search-block .brand-picker-trigger{min-height:48px;padding:0 8px;border-radius:10px;font-size:12px}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .search-block .extra-filters,
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .search-block .search-candidates{grid-column:1 / -1;margin:0}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .coverage-hint{padding:5px 12px;line-height:1.5}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .workspace .results-header{min-height:48px;padding:0 12px}
body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .results-header select{min-height:48px}
@media(max-width:380px){
 body:not(.mobile-map-mode):not(.mobile-map-fullscreen) .map-fuel-brand-row .fuel-tab-icon{display:none}
}

/* Mobile keyboard-safe station search: search takes precedence over the map/list sheet. */
@media (max-width:1000px){
 body.mobile-map-search-open:has(#query:focus) .workspace>.sidebar>.search-block{
   position:fixed!important;
   top:calc(var(--mobile-search-viewport-top,0px) + env(safe-area-inset-top,0px) + 8px)!important;
   left:10px!important;right:10px!important;width:auto!important;
   z-index:10020!important;
 }
 body.mobile-map-search-open:has(#query:focus) .workspace>.sidebar>.search-block .search-box{
   display:flex!important;position:relative!important;top:auto!important;left:auto!important;right:auto!important;
   grid-column:1/-1!important;grid-row:1!important;width:100%!important;min-width:0;
 }
 body.mobile-map-search-open:has(#query:focus) .workspace>.sidebar>.search-block>:not(.search-box):not(#search-candidates){display:none!important}
 body.mobile-map-search-open:has(#query:focus) #search-candidates:not([hidden]){
   display:block!important;position:absolute!important;
   top:calc(100% + 5px)!important;left:0!important;right:0!important;
   max-height:max(100px,calc(var(--mobile-search-visible-height,100dvh) - 105px))!important;
   overflow-y:auto!important;overscroll-behavior:contain;z-index:10021!important;
 }
 body.mobile-search-keyboard-visible .workspace>.sidebar>.results,
 body.mobile-search-keyboard-visible .workspace>.sidebar>.view-tabs,
 body.mobile-search-keyboard-visible .mobile-focus-dock,
 body.mobile-search-keyboard-visible .map-bottom{visibility:hidden!important;pointer-events:none!important}
}

/* Price levels are available directly beside the brand picker in both layouts. */
.price-picker-trigger{flex:none;min-height:48px;padding:0 7px;border:1px solid #ceded7;border-radius:18px;background:#fff;color:#154e40;font-size:12px;font-weight:750;white-space:nowrap}
.price-picker-trigger.has-selection{background:#e1f4eb;border-color:#16735b}
#quick-price-options{position:fixed;z-index:240;width:min(280px,calc(100vw - 16px));padding:12px;border:1px solid #c9ddd6;border-radius:16px;background:#fff;box-shadow:0 8px 24px #17362e2d;color:#174b40}
#quick-price-options[hidden]{display:none}
#quick-price-options p{margin:8px 0;font-size:12px;color:#60756b}
#quick-price-options .price-level-chip{min-height:48px}
@media(max-width:1000px){
 .search-block .price-picker-trigger{grid-row:1;grid-column:3}
 body:is(.mobile-map-browse,.mobile-map-expanded):not(.mobile-map-menu-collapsed) .workspace>.sidebar>.search-block{grid-template-columns:minmax(48px,1fr) 48px 62px repeat(3,44px)!important;column-gap:2px}
 body:is(.mobile-map-browse,.mobile-map-expanded) .workspace>.sidebar>.search-block>.filter-line{grid-row:1;grid-column:4}
 body:is(.mobile-map-browse,.mobile-map-expanded) .workspace>.sidebar>.search-block>#mobile-search-toggle{grid-row:1;grid-column:5}
 body:is(.mobile-map-browse,.mobile-map-expanded) .workspace>.sidebar>.search-block>#mobile-map-menu-toggle{grid-row:1;grid-column:6}
 .focus-collapsed-fuel .price-picker-trigger{padding:0 5px;font-size:11px}
}
@media(min-width:1001px){.map-fuel-brand-row .fuel-tab{padding-inline:3px}.map-fuel-brand-row .fuel-tab-icon{display:none}}
@media(max-width:1000px){
 body.mobile-map-menu-collapsed .focus-collapsed-fuel:not([hidden]){position:fixed;left:72px;right:auto;top:calc(10px + env(safe-area-inset-top,0px));z-index:193;pointer-events:auto}
}
@media(min-width:1001px){.map-fuel-brand-row .fuel-tabs button{padding-inline:3px}}

/* Large, shape-distinct price icons with readable labels and selection marks. */
#quick-price-options .price-level-chip{position:relative;flex-direction:column;gap:6px;min-height:80px;padding:10px 6px}
#quick-price-options .price-level-icon{width:32px;height:32px;min-width:32px}
#quick-price-options .price-level-icon svg{width:22px;height:22px}
#quick-price-options .price-level-chip[aria-pressed="true"]::after{position:absolute;top:4px;right:6px}

@media(max-width:1000px){
 body:is(.mobile-map-browse,.mobile-map-expanded) .search-block .price-picker-trigger{width:62px;min-width:0;min-height:44px;padding:0 2px;font-size:10px;letter-spacing:-.5px}
 body:is(.mobile-map-browse,.mobile-map-expanded) .search-block .brand-picker-trigger{min-width:0;padding:0 2px;font-size:11px}
 body:is(.mobile-map-browse,.mobile-map-expanded) .search-block #mobile-fuel-toggle{width:100%;min-width:0!important;max-width:none;padding:0 3px!important;gap:2px;font-size:11px}
 body:is(.mobile-map-browse,.mobile-map-expanded) .search-block #mobile-map-menu-toggle{width:44px;min-width:44px;height:44px;justify-self:end}
}
@media(max-width:380px){
 body:is(.mobile-map-browse,.mobile-map-expanded) .search-block #mobile-fuel-toggle .fuel-tab-icon{display:none!important}
}
@media(max-width:1000px){
 body:is(.mobile-map-browse,.mobile-map-expanded) .search-block :is(#mobile-fuel-toggle,#toggle-filters,#mobile-search-toggle){height:44px!important;min-height:44px!important}
}
@media(max-width:350px){
 body:is(.mobile-map-browse,.mobile-map-expanded):not(.mobile-map-menu-collapsed) .workspace>.sidebar>.search-block{padding-inline:0!important}
}
@media(max-width:350px){
 body:is(.mobile-map-browse,.mobile-map-expanded):not(.mobile-map-menu-collapsed) .workspace>.sidebar>.search-block{left:max(8px,env(safe-area-inset-left,0px))!important;right:max(8px,env(safe-area-inset-right,0px))!important;width:auto!important}
}
@media(max-width:350px){
 body:is(.mobile-map-browse,.mobile-map-expanded) .search-block #mobile-fuel-toggle .fuel-toggle-chevron{display:none!important}
 body:is(.mobile-map-browse,.mobile-map-expanded) .search-block #mobile-fuel-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}
}

/* Keep favorite action beside the station title, including compact sheets. */
.detail-dialog .detail-title-row{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.detail-dialog .detail-title-row h2{flex:1;min-width:0;margin:0;overflow-wrap:anywhere}
.detail-dialog .detail-favorite{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border:1px solid #d9b9bf;border-radius:50%;background:#fff3f5;color:#b43852;cursor:pointer}
.detail-dialog .detail-favorite svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2}
.detail-dialog .detail-favorite[aria-pressed="true"]{background:#b43852;border-color:#b43852;color:white}
.detail-dialog .detail-favorite[aria-pressed="true"] svg{fill:currentColor}
.detail-dialog .detail-favorite:focus-visible{outline:3px solid #277dc0;outline-offset:3px}

/* Driving follows GPS automatically; manual rescan must not overlap the scale. */
body.driving-mode .focus-rescan{display:none!important}
