/* Element UI icon font already used by the deployed OA. */
@font-face{font-family:element-icons;src:url('/oa/fonts/element-icons.535877f5.woff') format('woff');font-display:swap}[class*="el-icon-"]{font-family:element-icons!important;font-style:normal;font-weight:400;font-variant:normal;line-height:1;text-transform:none;display:inline-block;speak:none;-webkit-font-smoothing:antialiased}.el-icon-location:before{content:"\e79e"}.el-icon-search:before{content:"\e778"}.el-icon-arrow-up:before{content:"\e6e1"}.el-icon-arrow-down:before{content:"\e6df"}.el-icon-aim:before{content:"\e71c"}.el-icon-map-location:before{content:"\e704"}.el-icon-plus:before{content:"\e6d9"}.el-icon-minus:before{content:"\e6d8"}.el-icon-close:before{content:"\e6db"}
:root{--green:#16aaa9;--ink:#25343a;--muted:#889296;--border:#e8eded;--paper:#f5f7f7}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.view-tabs{gap:20px;overflow-x:auto;scrollbar-width:none}.view-tabs button.active{color:#109f9f;border-color:#109f9f}.text-button{color:#149c9b}.action-button,.primary-button{background:#16aaa9}.secondary-button{background:#eef7f6;color:#258e8c}.filter-panel{background:#fff;border-radius:12px;padding:12px 12px 0;border:1px solid var(--border);margin-bottom:12px}.geographic-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.geographic-filters select{height:40px;border:0;background:#f6f7f7;border-radius:3px;color:#667174;font-size:13px;padding:0 7px}.search-line{display:flex;gap:10px;margin-top:12px}.search-line .search{flex:1;border-radius:3px;background:#fafafa;height:40px;padding:0;border-color:#edf0f0;gap:0}.search-line input{padding:0 9px}.search-line .search button{align-self:stretch;border-radius:3px;background:#16aaa9;color:#fff;white-space:nowrap;padding:0 13px;font-size:13px}.reset-filters{border:0;background:#16aaa9;color:white;border-radius:3px;font-size:13px;padding:0 14px}.expand-filters{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;height:37px;color:#737d80;background:#fff;border:0;font-size:13px}.expand-filters[aria-expanded=true] i{transform:rotate(180deg)}.advanced-filters{border-top:1px solid #f0f2f2;padding:12px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.advanced-filters .area-filters{grid-template-columns:1fr;margin:0}.advanced-filters>label{display:flex;flex-direction:column;font-size:10px;gap:6px;color:#889296}.advanced-filters p{grid-column:1/-1;font-size:10px;line-height:1.7;margin:0;color:#89969a}.map-date-label{max-width:200px}.workspace.map-mode{padding:0;max-width:none;height:calc(100dvh - 64px);display:flex;flex-direction:column}.map-mode>.workspace-heading,.map-mode>#operations-summary,.map-mode>footer,.map-mode>.directory-section{display:none!important}.map-mode .view-toolbar{margin:0;padding:0 20px;border-color:#f2f4f4;background:#fff;flex-shrink:0}.map-mode .view-tabs{gap:22px}.map-mode .view-tabs button{font-size:13px;padding:13px 0}.map-mode .view-toolbar>.text-button{font-size:12px}.map-scopebar{display:flex;gap:12px;justify-content:center;padding:10px 18px 12px;background:#fff;flex-shrink:0}.map-scopebar>button{border:0;border-radius:16px;background:#f3f4f4;color:#4d5558;min-width:90px;height:33px;padding:0 13px;font-size:14px}.map-scopebar button.active{background:#16aaa9;color:#fff}.map-stage{position:relative;flex:1;min-height:0;overflow:hidden;background:#edf1ed}#workbench-map{position:absolute;inset:0;background:#e9efea}.map-filters-slot{position:absolute;top:12px;left:20px;right:20px;z-index:4;pointer-events:none}.map-filters-slot .filter-panel{pointer-events:auto;margin:0;border:0;padding:12px 12px 0;box-shadow:0 2px 14px #263c3215}.map-mode .advanced-filters{max-height:27dvh;overflow:auto}.map-legend{position:absolute;top:170px;left:20px;right:20px;z-index:3;border-radius:9px;background:#fff;box-shadow:0 2px 14px #263c3215;padding:9px 9px 7px}.legend-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.legend-buttons button{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px;min-height:31px;border:1px solid transparent;background:white;color:#70787b;padding:3px 0;font-size:10px;border-radius:5px}.legend-buttons button[aria-pressed=true]{background:#effafa;border-color:#3cbab5;color:#1b6564}.legend-buttons small{font-size:9px;color:#929fa2}.status-icon{font-size:16px}.normal{color:#15bd64}.offline{color:#fb4a68}.visit{color:#1cafe1}.offline_visit{color:#f2ab35}.empty{color:#9da7ac}.map-legend p{font-size:10px;color:#df6880;line-height:1.6;margin:5px 1px 0}.map-notice{position:absolute;top:248px;left:20px;right:20px;z-index:2;display:flex;align-items:center;gap:8px;font-size:10px;color:#5d7579;pointer-events:none}.map-notice>span{padding:5px 8px;border-radius:5px;background:#ffffffed;box-shadow:0 1px 5px #253b3410}.map-notice>button{pointer-events:auto;background:white;border-radius:4px;padding:4px 9px;min-height:26px}.map-tools{position:absolute;right:15px;bottom:78px;z-index:3;display:flex;flex-direction:column;border-radius:9px;background:white;box-shadow:0 2px 13px #20392e20;overflow:hidden}.map-tools button{border:0;background:white;width:42px;height:42px;color:#737f82;font-size:21px}.map-tools button+button{border-top:1px solid #f0f2f2}.map-tools button[aria-pressed=true]{color:#16aaa9;background:#e9faf8}.map-drawer{position:absolute;bottom:0;left:0;right:0;z-index:5;border-radius:15px 15px 0 0;background:white;box-shadow:0 -3px 18px #243b3910}.map-drawer-toggle{display:flex;align-items:center;justify-content:center;gap:9px;border:0;width:100%;min-height:52px;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:white;border-radius:15px 15px 0 0;color:#8f989d;font-size:13px}.map-drawer-toggle[aria-expanded=true] i{transform:rotate(180deg)}#map-drawer-content{max-height:49dvh;overflow:auto;overscroll-behavior:contain;padding:0 12px 12px}.map-mode .result-toolbar{position:sticky;top:0;z-index:1;background:#fff;padding:5px 0;font-size:11px}.map-mode .result-toolbar .text-button{font-size:11px}.map-mode .compact-list{border:0}.map-mode .merchant-row>summary{padding:10px 0;gap:9px;min-height:68px}.map-mode .row-name{font-size:13px;color:#354446}.map-mode .row-owner{color:#889497}.map-mode .row-details{padding-left:53px}.map-mode .load-more{margin-top:14px}.map-mode .empty-state{padding:20px 12px}.map-selection{position:absolute;left:15px;right:68px;bottom:72px;z-index:4;background:white;border-radius:12px;box-shadow:0 3px 25px #1c383029;padding:16px;max-height:38%;overflow:auto}.map-selection>button{position:absolute;top:7px;right:7px;border:0;background:white;color:#8f9b9e;width:30px;height:30px}.map-selection h2{font-size:15px;font-weight:600;padding-right:18px;margin:0 0 8px;color:#344849}.map-selection p{font-size:11px;line-height:1.7;color:#899598;margin:4px 0}.map-selection>div:not(.map-coincident){display:flex;gap:8px;margin-top:10px}.map-selection .action-button,.map-selection .secondary-button{padding:8px 12px;min-height:34px;font-size:11px;text-decoration:none}.map-coincident{border-top:1px solid #edf1f0;margin-top:8px}.map-coincident button{font-size:11px;background:#f4f8f7;color:#668481;border:0;margin:4px;padding:5px;border-radius:3px}.workbench-pin{padding:0;border:0;background:none;height:42px;width:40px;font-size:42px;line-height:1;filter:drop-shadow(0 2px 1px #ffffff);cursor:pointer}.workbench-pin:hover,.workbench-pin:focus-visible{filter:drop-shadow(0 2px 4px #245552);outline:0}.map-cluster{width:44px;height:44px;border-radius:50%;border:3px solid #ffffffd9;background:#16aaa9;color:white;font-size:14px;font-weight:600;box-shadow:0 2px 8px #23686138}.map-mode .amap-logo{bottom:57px!important}.map-mode .amap-copyright{bottom:56px!important;max-width:75%;font-size:9px!important}.map-mode .topbar{position:relative}.map-detail-dialog{max-height:85dvh;overflow:auto;width:min(520px,calc(100vw - 24px))}.map-detail-dialog .merchant-row>summary{padding:10px 0}.map-detail-dialog .row-details{padding:6px 0}.map-detail-dialog .merchant-card{border:0}
@media(min-width:761px){.map-mode .map-stage{min-height:500px}.map-filters-slot{max-width:480px}.map-legend{max-width:480px}.map-notice{max-width:600px}.map-drawer{left:auto;right:20px;bottom:20px;width:380px;border-radius:14px}.map-drawer-toggle{border-radius:14px}.map-mode #map-drawer-content{max-height:57dvh}.map-selection{left:auto;right:425px;bottom:20px;width:330px}.map-tools{right:20px;bottom:90px}.map-mode .map-tools{right:420px;bottom:20px}.map-mode .amap-copyright{bottom:2px!important}.map-mode .amap-logo{bottom:5px!important}.map-mode .advanced-filters{max-height:40dvh}}
@media(max-width:760px){.workspace.map-mode{height:calc(100dvh - 59px)}.topbar-inner{padding:0 14px}.map-mode .view-toolbar{padding:0 14px}.map-mode .view-tabs{gap:19px}.map-mode .view-tabs button{font-size:12px}.map-scopebar{gap:10px;padding-top:7px;padding-bottom:10px}.map-scopebar>button{min-width:83px;font-size:13px}.map-filters-slot{top:12px;left:16px;right:16px}.map-legend{left:16px;right:16px}.map-notice{left:16px;right:16px}.account-bar>span{max-width:90px}.brand-sub{font-size:9px}.brand{font-size:16px}.brand-icon{width:27px;height:27px}.brand-icon svg{width:18px;height:18px}.geographic-filters{gap:8px}.geographic-filters select{font-size:12px;padding-left:5px}.search-line{gap:9px}.search-line .search button{font-size:12px;padding:0 10px}.reset-filters{padding:0 12px;font-size:12px}.search-line input::placeholder{font-size:11px}.view-tabs{gap:16px}.view-tabs button{font-size:12px}}
@media(max-width:350px){.brand-sub{display:none}.map-mode .view-tabs{gap:14px}.map-mode .view-tabs button{font-size:11px}.map-mode .view-toolbar{padding:0 10px}.map-scopebar>button{font-size:12px;min-width:78px}.map-filters-slot,.map-legend{left:12px;right:12px}.geographic-filters select{font-size:11px}.map-legend{padding:7px}.legend-buttons button{font-size:9px}.legend-buttons small{font-size:8px}.status-icon{font-size:14px}.map-legend p{font-size:9px}.map-selection{left:12px;right:65px;padding:12px}.search-line .search button{padding:0 8px}.reset-filters{padding:0 10px}.view-tabs{gap:13px}.view-tabs button{font-size:11px}}
@media(max-height:650px){.map-filters-slot{top:8px}.map-filters-slot .geographic-filters select{height:34px}.map-filters-slot .search-line{margin-top:7px}.map-filters-slot .search{height:34px}.expand-filters{height:30px}.map-legend p{display:none}}

.map-empty-filter{display:inline-block;border:0;background:transparent;color:#909c9f;padding:4px 3px;font-size:9px;min-height:24px}.map-empty-filter[aria-pressed=true]{background:#edf4f5;color:#3b7375;border-radius:4px}.map-legend p{display:inline;font-size:9px}.map-legend p::before{content:" ";white-space:pre} .map-mode .result-toolbar>span{overflow-wrap:anywhere}

.area-picker{display:grid;grid-template-columns:1fr 1.2fr;gap:8px;margin-top:10px}.area-picker select{height:36px;font-size:11px;background:#f6f8f8;border:0}.area-total{font-size:10px;color:#667e80;line-height:1.6;margin:7px 1px 0}.quantity-fields{display:flex;align-items:center;gap:8px;margin-top:12px}.quantity-fields label{font-size:11px;color:#63827e}.quantity-fields input{width:70px;min-width:50px;height:35px;border:1px solid #d9e6e3;border-radius:5px;text-align:center;font-size:13px}.quantity-fields .secondary-button{font-size:11px;padding:8px 10px;min-height:35px}.map-mode #plan-panel{margin:0;padding:10px;background:#f1f9f7;border-color:#e1efeb}.map-mode .plan-fields{margin-top:5px}.map-mode .plan-panel p{font-size:9px;margin-top:8px}.map-mode .selection-bar{z-index:8}.map-mode .map-drawer{bottom:0}.map-mode:has(#plan-panel:not([hidden])) .map-drawer{bottom:62px}.map-mode #map-drawer-content{max-height:48dvh}.workbench-pin.is-selected{filter:drop-shadow(0 0 3px #174e68);background:#fff9;border-radius:50%;outline:2px solid #16aaa9}.map-selection>#map-toggle-selected{position:static;margin-top:8px;width:auto;height:auto;padding:8px 12px;color:#258e8c;background:#eef7f6}.map-selection{max-height:42%}.map-stage:has(#map-drawer-toggle[aria-expanded=true]) .map-selection{bottom:auto;top:10px;z-index:6;max-height:32%;right:15px;left:15px}.map-stage:has(#map-drawer-toggle[aria-expanded=true]) .map-selection h2{font-size:13px}.map-stage:has(#plan-panel:not([hidden])) .map-tools{bottom:140px}@media(min-width:761px){.map-mode:has(#plan-panel:not([hidden])) .map-drawer{bottom:80px}.map-stage:has(#map-drawer-toggle[aria-expanded=true]) .map-selection{left:auto;top:auto;bottom:80px;right:425px;width:330px;max-height:45%}.map-stage:has(#plan-panel:not([hidden])) .map-tools{bottom:20px}.map-mode #map-drawer-content{max-height:55dvh}}

/* Keep the map usable while assigning: settings are edited in a dialog. */
.map-mode.planning-mode .map-drawer{bottom:62px}.map-mode.planning-mode .map-tools{bottom:140px}.selection-bar{gap:10px}.selection-bar>div{margin-right:auto}.selection-bar>.secondary-button{font-size:11px;min-height:38px;padding:8px 11px}#plan-settings-dialog{max-height:90dvh;overflow:auto}#plan-settings-dialog .plan-panel{margin:0;padding:14px;border-color:#dcece7;background:#f5faf8}#plan-settings-dialog .plan-title>strong{font-size:12px}#plan-settings-dialog .plan-fields{grid-template-columns:minmax(0,1fr) 135px}#plan-settings-dialog .plan-panel p{font-size:10px;line-height:1.7}#plan-settings-dialog .quantity-fields{flex-wrap:wrap}#plan-settings-dialog h2{margin-bottom:14px}.map-mode .map-notice{max-width:calc(100% - 32px)}@media(max-width:350px){.selection-bar{padding-left:10px;padding-right:10px;gap:7px}.selection-bar>div{gap:8px}.selection-bar strong{font-size:11px}.selection-bar>.secondary-button{padding:8px;font-size:10px}.selection-bar>.action-button{padding:9px 11px;font-size:11px}#plan-settings-dialog{padding:18px}#plan-settings-dialog .plan-fields{grid-template-columns:minmax(0,1fr) 121px}}

.map-filters-slot .filter-panel{padding-bottom:2px}.map-filters-slot .expand-filters{height:31px}.map-mode.planning-mode .map-selection{bottom:124px}.map-mode .area-total{padding-bottom:2px}@media(min-width:761px){.map-mode.planning-mode .map-selection{bottom:80px}}
.search-line .search{min-width:0}.reset-filters{white-space:nowrap;flex-shrink:0}
@media(max-height:650px) and (max-width:760px){.map-tools{flex-direction:row;right:12px;bottom:66px}.map-tools button{width:38px;height:38px;font-size:19px}.map-tools button+button{border-top:0;border-left:1px solid #f0f2f2}.map-legend{padding:6px 8px}.map-legend p,.map-legend .map-empty-filter{display:none!important}.map-notice{top:auto!important;bottom:112px;font-size:9px}.map-filters-slot .filter-panel{max-height:calc(100dvh - 270px);overflow:auto}.map-filters-slot .area-picker select{height:31px}.map-filters-slot .expand-filters{height:27px}.map-mode.planning-mode .map-tools{bottom:126px}.map-mode.planning-mode .map-notice{bottom:172px}.map-stage:has(#expand-filters[aria-expanded=true]) .map-legend{display:none}.map-mode.planning-mode .map-selection{bottom:125px;max-height:46%}.map-selection h2{font-size:13px}.map-selection p{font-size:10px}.map-selection{padding:12px}}

.map-filter-toggle{position:absolute;right:12px;bottom:5px;pointer-events:auto;min-height:27px;padding:4px 6px;border:0;border-radius:5px;background:white;color:#6e8f91;font-size:10px}.map-filters-slot.filters-collapsed #filter-panel{display:none}.map-filters-slot.filters-collapsed .map-filter-toggle{position:static;display:block;margin-left:auto;min-height:34px;padding:7px 13px;box-shadow:0 2px 12px #284c4320;font-size:12px}.map-filters-slot.filters-collapsed{pointer-events:none}@media(max-height:650px) and (max-width:760px){.map-filters-slot.filters-collapsed~.map-notice{top:105px!important;bottom:auto}.map-filters-slot.filters-collapsed .map-filter-toggle{min-height:32px}}

/* Reference-led map home: one header, one filter sheet, and the map. */
.el-icon-back:before{content:"\e6ea"}.el-icon-more:before{content:"\e794"}
.merchant-map-view>.topbar{display:none}
.merchant-map-view .workspace.map-mode{height:100dvh;min-height:0;padding:0}
.map-page-header{height:52px;min-height:52px;display:flex;align-items:center;justify-content:space-between;background:#fff;padding:0 12px;position:relative;flex-shrink:0}
.map-page-header h1{position:absolute;left:50%;transform:translateX(-50%);font-size:17px;font-weight:600;line-height:1.4;margin:0;color:#222b2d;white-space:nowrap}
.map-page-header button{border:0;background:#fff;color:#344246;min-height:40px;cursor:pointer}
.map-back{width:40px;font-size:23px;text-align:left}
#map-header-actions{display:flex;align-items:center;gap:2px;margin-left:auto}
#map-header-actions #zones-tab{font-size:12px;color:#119f9f;padding:0 8px;min-width:56px;background:#fff}
#map-more{font-size:22px;min-width:36px}
.map-scopebar{padding:3px 20px 10px;gap:11px}
.map-scopebar>button{height:33px;min-width:79px;padding:0 12px;border-radius:14px;font-size:14px}
.map-filters-slot{left:20px;right:20px;top:11px}
.map-filters-slot .filter-panel{padding:12px 11px 2px;border-radius:11px}
.map-filters-slot .geographic-filters select{height:35px;font-size:13px;padding-left:7px;color:#62686a;background:#f7f8f8}
.map-filters-slot .search-line{margin-top:11px;gap:11px}
.map-filters-slot .search-line .search{height:34px}
.map-filters-slot .search-line .search button{min-width:70px;padding:0 9px;font-size:13px}
.map-filters-slot .reset-filters{padding:0 13px;font-size:13px}
.map-filters-slot .expand-filters{height:35px;font-size:13px;color:#697174}
.map-filters-slot .search-line input::placeholder{font-size:11px;color:#acb5b6}
.map-filters-slot .advanced-filters{max-height:min(40dvh,330px);padding:10px 0;gap:11px}
.advanced-filters .area-picker,.advanced-filters .area-total{grid-column:1/-1;margin:0}
.map-mode .map-legend{left:20px;right:20px;border-radius:8px;padding:7px 9px 8px}
.legend-buttons{gap:2px}
.legend-buttons button{font-size:11px;flex-wrap:nowrap;gap:3px;min-height:27px;padding:1px 0;white-space:nowrap}
.legend-buttons small{display:none}
.map-legend .status-icon{font-size:16px}
.map-legend p{display:block;font-size:10px;margin:4px 0 0;color:#df6880;line-height:1.5}
.map-legend p::before{content:none}
.map-legend .map-empty-filter{display:none}
.map-filters-slot .map-filter-toggle{display:none}
.map-filters-slot.filters-collapsed .map-filter-toggle{display:block}
.map-mode .map-notice{top:auto!important;bottom:73px;left:14px;right:68px;max-width:390px;font-size:10px;line-height:1.6}
.map-notice>span{padding:5px 9px;background:#fffffff2}
.map-tools{right:17px;bottom:80px;border-radius:12px}
.map-tools button{width:43px;height:43px;font-size:21px}
.map-tools button:disabled{color:#b7c0c1}
.map-drawer{border-radius:0;box-shadow:0 -1px 5px #263b3510}
.map-drawer-toggle{border-radius:0;min-height:42px;color:#a1a7aa;font-size:13px;padding:10px 16px max(10px,env(safe-area-inset-bottom))}
.map-mode .amap-logo{bottom:48px!important}.map-mode .amap-copyright{bottom:47px!important}
.workbench-pin{position:relative;height:48px;width:44px;font-size:48px;filter:drop-shadow(0 1px 1px #ffffffb0)}
.workbench-pin .pin-bolt{position:absolute;left:50%;top:6px;transform:translateX(-50%);width:25px;height:28px;object-fit:contain;filter:brightness(0) invert(1);pointer-events:none}
.map-workspace-menu{width:min(350px,calc(100vw - 32px));padding:18px;border:0;border-radius:14px;color:#344447;max-height:85dvh;overflow:auto}
.map-workspace-menu::backdrop{background:#20343740}
.workspace-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.workspace-menu-heading strong{font-size:15px}.workspace-menu-heading p{font-size:11px;color:#819092;margin:7px 0 0}.workspace-menu-heading button{padding:7px;min-width:32px}
.map-workspace-menu .view-toolbar{display:block;margin:0;padding:0;border:0}
.map-workspace-menu .view-tabs{display:flex;flex-direction:column;gap:0;overflow:visible}
.map-workspace-menu .view-tabs button{font-size:14px;text-align:left;padding:13px 9px;border:0;border-bottom:1px solid #edf1f0;border-radius:0}
.map-workspace-menu .view-tabs button.active{background:#eff9f8;color:#169c9b}
.map-workspace-menu #refresh{padding:13px 9px;width:100%;justify-content:flex-start;font-size:14px}
.map-workspace-menu #map-menu-logout{border-top:1px solid #edf1f0;border-radius:0;padding:13px 9px;width:100%;text-align:left;font-size:13px;color:#8b9798}
@media(min-width:761px){.map-page-header{padding:0 22px}.map-filters-slot,.map-mode .map-legend{max-width:450px}.map-scopebar{padding-bottom:12px}.map-mode .map-tools{right:420px;bottom:20px}.map-mode .map-notice{bottom:20px;left:20px;right:auto;max-width:380px}.map-mode .map-drawer{border-radius:14px;bottom:20px}.map-drawer-toggle{border-radius:14px}.map-mode .amap-copyright{bottom:2px!important}.map-mode .amap-logo{bottom:5px!important}}
@media(max-width:350px){.map-page-header{padding:0 10px}.map-page-header h1{font-size:16px}.map-scopebar>button{font-size:13px;min-width:76px}.map-filters-slot,.map-mode .map-legend{left:13px;right:13px}.map-filters-slot .geographic-filters select{font-size:11px;padding-left:4px}.map-filters-slot .search-line{gap:8px}.map-filters-slot .search-line .search button{min-width:57px;font-size:12px}.map-filters-slot .reset-filters{padding:0 10px;font-size:12px}.map-filters-slot .search-line input::placeholder{font-size:10px}.legend-buttons button{font-size:10px;gap:1px}.map-legend .status-icon{font-size:15px}}
@media(max-height:650px) and (max-width:760px){.map-filters-slot.filters-collapsed~.map-notice{top:auto!important;bottom:73px}.map-tools{flex-direction:row;right:12px;bottom:70px}.map-tools button{width:35px;height:35px;font-size:18px}.map-filters-slot .filter-panel{max-height:calc(100dvh - 210px);overflow:auto}.map-mode .map-notice{bottom:111px;right:12px}.map-mode.planning-mode .map-notice{bottom:172px}.map-mode.planning-mode .map-tools{bottom:126px}.map-mode .map-legend{padding:6px 7px}.map-legend p{display:none}.map-stage:has(#expand-filters[aria-expanded=true]) .map-legend{display:none}}
@media(max-height:650px) and (max-width:760px){.map-filters-slot .map-filter-toggle{display:block}}
.map-page-header{height:48px;min-height:48px}.map-scopebar{padding-top:1px;padding-bottom:8px}
.map-tools{bottom:76px}
.map-display-heading{font-size:11px;color:#8b9798;margin:14px 9px 8px}
.map-extra-tools{display:flex;gap:10px;margin:0 8px 12px}
.map-extra-tools button{border:1px solid #e6eeed;border-radius:7px;background:#f6f9f8;color:#6e8384;width:49px;height:42px;font-size:22px}
.map-extra-tools button[aria-pressed=true]{color:#16aaa9;background:#eaf8f7;border-color:#cce9e6}
@media(max-height:650px) and (max-width:760px){.map-tools{flex-direction:column;bottom:70px}.map-tools button+button{border-top:1px solid #f0f2f2;border-left:0}.map-mode .map-notice{right:58px;bottom:73px}.map-mode.planning-mode .map-tools{bottom:126px}.map-mode.planning-mode .map-notice{bottom:135px}}
.map-stage:has(#workbench-map-retry:not([hidden])) .map-notice{top:var(--notice-top,220px)!important;bottom:auto;z-index:7}

.workbench-pin .pin-shape{display:block;width:44px;height:48px;background:currentColor;-webkit-mask:url('/merchants/icons/map-pin.svg') center/contain no-repeat;mask:url('/merchants/icons/map-pin.svg') center/contain no-repeat}
.nearby-status{position:absolute;left:14px;right:68px;bottom:113px;z-index:6;background:#fffef2;color:#5c756d;padding:7px 10px;border-radius:7px;font-size:11px;line-height:1.7;box-shadow:0 1px 7px #253b341a;pointer-events:none;margin:0}
.map-mode.planning-mode .nearby-status{bottom:170px}
@media(min-width:761px){.nearby-status{bottom:65px;left:20px;right:auto;max-width:380px}}
/* Merchant detail sheet follows the map reference; map remains available above it. */
.map-detail-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;height:55.5dvh;max-height:66dvh;padding:0;border:0;border-radius:12px 12px 0 0;box-shadow:0 -5px 22px #253d3520;overflow:hidden;z-index:25;background:#fff;color:#354446}
.map-detail-dialog[open]{display:flex;flex-direction:column}.map-detail-dialog #map-detail-content{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}.map-detail-dialog>.dialog-actions{margin:0;padding:0;flex:none;background:#f2f3f3}.map-detail-dialog #close-map-detail{border:0;border-radius:0;background:transparent;color:#7a8687;width:100%;min-height:43px;font-size:14px;padding:10px 0 max(10px,env(safe-area-inset-bottom))}
.detail-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:none;background:white;border-bottom:1px solid #f1f3f3;min-height:49px}.detail-tabs button{position:relative;border:0;background:white;font-size:13px;font-weight:600;color:#3e494a;padding:13px 1px 15px;white-space:nowrap}.detail-tabs button[aria-selected=true]{color:#16aaa9}.detail-tabs button[aria-selected=true]:after{content:'';position:absolute;height:3px;width:25px;border-radius:3px;background:#16aaa9;bottom:6px;left:calc(50% - 12.5px)}.detail-tabs button:focus-visible{outline:2px solid #16aaa9;outline-offset:-4px}.detail-badge{position:absolute;top:3px;background:#f94f69;color:#fff;border-radius:7px;font-size:10px;font-weight:400;min-width:12px;padding:1px 3px;line-height:13px}
.detail-pane{min-height:0;overflow:auto;overscroll-behavior:contain;flex:1;padding:12px 10px 18px;background:#fff}.detail-pane[hidden]{display:none!important}.detail-pane .row-name{white-space:normal;overflow:visible;line-height:1.5;overflow-wrap:anywhere}.detail-pane .merchant-row>summary{align-items:flex-start}.detail-pane .row-info{min-width:0}.detail-pane .row-owner{max-width:none;white-space:normal;overflow-wrap:anywhere}.detail-pane .row-sub{flex-wrap:wrap}.detail-pane .row-details p{overflow-wrap:anywhere}.map-detail-dialog .row-state{font-size:10px;min-width:60px}
.official-alert{background:#f7f8f9;padding:12px 10px;margin:0 0 12px;border-radius:3px}.official-alert dl,.detail-visit dl{margin:0}.detail-field{display:flex;align-items:flex-start;gap:5px;margin:0 0 8px;font-size:13px;line-height:1.6}.detail-field dt{color:#7a8185;flex:none}.detail-field dt:after{content:'：'}.detail-field dd{margin:0;min-width:0;overflow-wrap:anywhere;color:#3c4548}.alert-heading{display:flex;justify-content:space-between;gap:5px;flex-wrap:wrap}.alert-heading .detail-field{font-size:12px}.detail-link{border:0;background:none;padding:0;color:#459ac4;text-decoration:underline;font-size:inherit;line-height:inherit;text-align:left;overflow-wrap:anywhere}.alert-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px}.alert-footer small,.detail-muted{font-size:10px;color:#889496;line-height:1.7}.detail-state{display:inline-block;font-size:11px;color:#7f8c8c}.detail-state.online{color:#3f9b71}.detail-state.offline{color:#ee526d}.detail-device,.detail-visit{padding:12px;background:#f7f9f9;border-radius:5px;margin-bottom:10px}.detail-device>div,.detail-visit>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.detail-device p{display:flex;justify-content:space-between;font-size:12px;color:#7e8e8e}.device-sn{font-size:14px;color:#334c51;overflow-wrap:anywhere;user-select:text}.device-highlight{outline:2px solid #16aaa9}.detail-summary{font-size:12px;color:#647d7e;margin:0 0 12px}.detail-empty{font-size:13px;color:#8b989a;text-align:center;line-height:1.8;padding:28px 10px;margin:0}.detail-visit strong{font-size:13px}.detail-visit dl{margin-top:10px}.detail-visit .secondary-button{font-size:11px;min-height:32px;padding:6px 10px}.detail-copy-status{position:absolute;bottom:48px;left:20px;right:20px;background:#f1fcf8;padding:8px;color:#328476;font-size:11px;border-radius:5px}.map-shop-label{display:block;max-width:190px;white-space:normal;overflow-wrap:anywhere;color:#36494a;font-size:11px;font-weight:600;line-height:1.5}.workbench-pin.is-focused{filter:drop-shadow(0 0 4px #2f5852);outline:2px solid #fff;border-radius:50%}.map-selection>div:not(.map-coincident){flex-wrap:wrap}
@media(min-width:761px){.map-detail-dialog{left:auto;right:20px;bottom:20px;width:490px;height:64dvh;max-height:calc(100dvh - 120px);border-radius:12px}.detail-pane{padding:16px}.detail-field{font-size:14px}}
@media(max-width:350px){.detail-tabs button{font-size:12px}.detail-field{font-size:12px}.alert-heading{display:block}.map-detail-dialog{height:58dvh}}
.amap-marker-label:has(.map-shop-label){border:0;border-radius:3px;background:white;padding:6px 9px;box-shadow:0 2px 9px #243b3924}
.map-stage{isolation:isolate}.map-shop-label{width:max-content}.amap-marker-label:has(.map-shop-label){width:max-content;max-width:210px}.alert-heading .detail-field{font-size:13px}
@media(max-width:760px){body:has(#map-detail-dialog[open]) .amap-logo{bottom:calc(55.5dvh + 4px)!important}body:has(#map-detail-dialog[open]) .amap-copyright{bottom:calc(55.5dvh + 3px)!important}}
@media(max-width:350px){body:has(#map-detail-dialog[open]) .amap-logo{bottom:calc(58dvh + 4px)!important}body:has(#map-detail-dialog[open]) .amap-copyright{bottom:calc(58dvh + 3px)!important}}
.official-alert .detail-field dt{color:#657074}.official-alert .detail-field dd{color:#303c3e;font-weight:500}.alert-footer small,.detail-muted{color:#657779}.detail-muted{font-size:11px}.detail-empty{color:#667578}

/* Official assistant reference, captured in the signed-in WeChat app on 2026-11-04. */
.advanced-filters .official-filter-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 8px}
.official-filter-grid>label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px;min-width:0;font-size:12px;color:#30383a;font-weight:500;white-space:nowrap}
.official-filter-grid select,.filter-date-range input{width:100%;min-width:0;height:33px;border:0;border-radius:3px;background:#f6f7f7;color:#646e71;font-size:12px;padding:0 5px;text-align:center;box-sizing:border-box}
.official-filter-grid .filter-date-range{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);gap:6px;align-items:center;grid-column:1/-1;font-size:12px;color:#30383a;min-width:0}
.filter-date-range input{font-size:10px;text-align:left;padding:0 2px}
.official-filter-note{grid-column:1/-1;font-size:10px;line-height:1.6;color:#768487;margin:0}
.assignment-filter-heading{grid-column:1/-1;font-size:11px;color:#819092;border-top:1px solid #edf1f1;padding-top:8px}
.map-filters-slot .advanced-filters{padding-top:8px;padding-bottom:8px;gap:9px}
.map-filters-slot .expand-filters{border-top:0;background:#fff;width:100%;flex:none}
.map-detail-dialog{height:51.5dvh;border-radius:0;max-height:70dvh}
.detail-pane{padding:12px 10px 18px}.detail-basic-record{border:0;box-shadow:none;border-radius:0;background:transparent;padding:0;display:block}
.detail-shop-heading{display:flex;gap:10px;align-items:center;margin:0 2px 12px}.detail-shop-heading>div{min-width:0}.detail-shop-heading img{width:45px;height:45px;object-fit:cover;border-radius:5px;flex:none}
.detail-shop-heading h2{font-size:14px;color:#293a3c;line-height:1.5;overflow-wrap:anywhere;margin:0;font-weight:600}.detail-shop-heading p{font-size:11px;color:#718084;line-height:1.5;margin:4px 0 0;overflow-wrap:anywhere}
.detail-basic-grid,.detail-device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 10px;margin:0;padding:12px 10px;background:#f7f8f9;border-radius:3px}
.detail-basic-grid>.detail-field,.detail-device-grid>.detail-field{display:block;margin:0;font-size:12px;line-height:1.65}.detail-basic-grid .detail-field dt,.detail-device-grid .detail-field dt{color:#7b8588}.detail-basic-grid .detail-field dd,.detail-device-grid .detail-field dd{color:#344346;font-weight:500}
.detail-wide{grid-column:1/-1}.detail-wide .detail-field{margin:0;font-size:12px}
.detail-address{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:15px 3px 12px}.detail-address>div{min-width:0}.detail-address strong{font-size:13px;color:#3d4b4d}.detail-address p{font-size:12px;line-height:1.7;color:#718084;margin:5px 0;overflow-wrap:anywhere}
.detail-go{display:flex;flex-direction:column;align-items:center;gap:5px;flex:none;color:#829295;text-decoration:none;font-size:11px;min-width:52px}
.detail-go i{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#16aaa9;color:#fff;font-size:23px}.detail-go:focus-visible{outline:2px solid #16aaa9;outline-offset:3px}
.detail-device{padding:12px 10px;background:#f7f8f9}.detail-device-grid{padding:10px 0 0;gap:8px;background:transparent}.detail-summary{line-height:1.8}
.detail-tabs{min-height:48px}.detail-tabs button{font-weight:500}.map-detail-dialog #close-map-detail{min-height:44px;color:#939d9e;background:#f0f1f1}
.map-detail-dialog .detail-muted{line-height:1.7}.map-detail-dialog .detail-pane>article:last-of-type{margin-bottom:10px}
@media(max-width:760px){body:has(#map-detail-dialog[open]) .amap-logo{bottom:calc(51.5dvh + 4px)!important}body:has(#map-detail-dialog[open]) .amap-copyright{bottom:calc(51.5dvh + 3px)!important}}
@media(max-width:350px){.official-filter-grid>label,.official-filter-grid .filter-date-range{font-size:10px;gap:3px}.official-filter-grid select{font-size:10px;padding:0 2px}.filter-date-range input{font-size:9px}.detail-basic-grid{gap:9px;padding:10px 8px}.detail-basic-grid>.detail-field,.detail-device-grid>.detail-field{font-size:11px}.detail-shop-heading h2{font-size:13px}.map-detail-dialog{height:56dvh}body:has(#map-detail-dialog[open]) .amap-logo{bottom:calc(56dvh + 4px)!important}body:has(#map-detail-dialog[open]) .amap-copyright{bottom:calc(56dvh + 3px)!important}}
@media(min-width:761px){.map-detail-dialog{height:66dvh;border-radius:12px}.detail-pane{padding:16px}.detail-basic-grid>.detail-field,.detail-device-grid>.detail-field{font-size:13px}.official-filter-grid>label,.official-filter-grid .filter-date-range{font-size:13px}}
.map-area-filters{grid-column:1/-1;border-top:1px solid #edf1f1}.map-area-filters>summary{cursor:pointer;font-size:12px;color:#687e80;padding:9px 1px;list-style-position:inside}.assignment-filter-content{display:grid;grid-template-columns:1fr;gap:9px;padding:1px 0 8px}.assignment-filter-content .area-total{grid-column:auto}.assignment-filter-content .map-date-label{display:flex;align-items:center;gap:10px;font-size:12px}.map-mode #filter-scope-note{display:none}.map-mode .official-filter-note{display:none}.map-mode .advanced-filters:has(#stock-filter option:checked:not([value=""])) .official-filter-note{display:block}
.detail-basic-grid>.detail-field,.detail-device-grid>.detail-field{display:flex;align-items:flex-start;gap:3px;line-height:1.7}.detail-basic-grid .detail-field dt,.detail-device-grid .detail-field dt{color:#68777a}.detail-basic-grid .detail-field dd,.detail-device-grid .detail-field dd{min-width:0}.detail-more{margin:4px 0 10px}.detail-more>summary{color:#73888a;font-size:12px;padding:10px 3px;cursor:pointer}.detail-more .detail-basic-grid{padding-top:10px}.detail-basic-record .detail-basic-grid{gap:12px 8px}.detail-basic-record .detail-go{position:static!important}
@media(min-width:351px){.detail-basic-grid>.detail-field{font-size:13.5px}.detail-shop-heading h2{font-size:15px}.official-filter-grid>label,.official-filter-grid .filter-date-range{font-size:13px}.legend-buttons button{font-size:12px}.map-legend .status-icon{font-size:17px}}
/* The brand in the top bar identifies the system; content starts with operations. */
.view-toolbar>.view-tabs{flex:1;min-width:0}.view-toolbar>#start-plan{flex:none;white-space:nowrap;font-size:12px;padding:8px 11px}.map-mode .view-toolbar>#start-plan{display:none}
/* Keep the filters reachable above the open mobile merchant list. */
@media(max-width:760px){
  .map-stage:has(#map-drawer-toggle[aria-expanded=true]) .filter-panel{--drawer-safe-gap:max(0px,calc(env(safe-area-inset-bottom,0px) - 10px));max-height:max(64px,calc(52dvh - 148px - var(--drawer-safe-gap)));overflow-y:auto;overscroll-behavior-y:contain;scroll-padding-bottom:44px}
  .planning-mode .map-stage:has(#map-drawer-toggle[aria-expanded=true]) .filter-panel{max-height:max(64px,calc(52dvh - 210px - var(--drawer-safe-gap)))}
  .map-stage:has(#map-drawer-toggle[aria-expanded=true]) .advanced-filters{max-height:none;overflow:visible}
  .map-stage:has(#map-drawer-toggle[aria-expanded=true]) .expand-filters{position:sticky;bottom:-2px;z-index:1}
}
.workspace:not(.map-mode){padding-top:12px}.workspace:not(.map-mode) .summary-strip{padding-top:10px}
.active-filter-summary{display:flex;align-items:center;gap:8px;margin-top:8px;padding-top:6px;border-top:1px solid #edf1f1;color:#567678;font-size:11px;line-height:1.6}.active-filter-summary>span{flex:1;min-width:0;overflow-wrap:anywhere}.active-filter-summary>button{flex:none;border:0;border-radius:4px;background:#eef7f6;color:#178f90;min-height:32px;padding:5px 8px;font-size:11px}
.detail-coincident{margin:0 0 10px;border:1px solid #e5edeb;border-radius:4px}.detail-coincident>summary{padding:9px;font-size:12px;color:#528381;cursor:pointer}.detail-coincident>div{display:flex;flex-direction:column;padding:0 9px 8px;gap:6px}.detail-coincident button{padding:9px;text-align:left;border:0;background:#f0f7f6;border-radius:4px;color:#396b69;font-size:12px;line-height:1.6;overflow-wrap:anywhere;cursor:pointer}
.mini-program-view>.topbar,.mini-program-view #map-page-header{display:none!important}
.mini-program-view .map-scopebar{display:flex;align-items:center;gap:4px;padding:5px 10px 8px;min-height:48px}
.mini-program-view .map-scopebar>button{min-width:0;flex:1;padding:0 8px;font-size:12px}
.mini-program-view #map-header-actions{flex-shrink:0;gap:0}
.mini-program-view #map-header-actions button{border:0;min-height:36px;background:#fff;cursor:pointer}
.mini-program-view #map-header-actions #zones-tab{min-width:0;padding:0 5px;font-size:11px}
.mini-program-view #map-more{min-width:32px;padding:0 6px;border:0;background:#fff;font-size:18px}
