.store-map-panel{margin:24px 0 30px;padding:22px;background:#fff;border:1px solid #dce5d9;border-radius:22px;color:#203a2b;box-shadow:0 12px 34px rgba(41,65,42,.07)}
.store-map-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.store-map-eyebrow{display:block;color:#7a8a7b;font-size:10px;font-weight:800;letter-spacing:.14em}.store-map-head h2{margin:5px 0 3px;font:700 25px/1.2 Onest,Arial,sans-serif;color:#203a2b}.store-map-head p{margin:0;color:#6b796d;font-size:12px}
.store-map-search{width:min(300px,40%);height:40px;padding:0 12px;border:1px solid #dce5d9;border-radius:10px;background:#fbfcfa;color:#203a2b;font:inherit;font-size:13px}.store-map-search:focus{outline:3px solid rgba(100,151,75,.2);border-color:#71985e}
.store-map-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.78fr);gap:16px;min-height:520px}#storeMapCanvas{position:relative;min-width:0;height:540px;overflow:hidden;border:1px solid #d9e2d5;border-radius:15px;background:#eef1eb}
.store-map-tile-warning{position:absolute;z-index:700;top:10px;left:50%;transform:translateX(-50%);max-width:calc(100% - 72px);padding:8px 11px;border:1px solid #eadbb4;border-radius:9px;background:#fff9e9;color:#725b22;font-size:11px;box-shadow:0 3px 12px rgba(0,0,0,.08)}.store-map-tile-warning[hidden]{display:none}
.store-map-side{display:flex;min-width:0;flex-direction:column;border:1px solid #e4e9e0;border-radius:15px;background:#fbfcfa;overflow:hidden}.store-map-side-head{padding:14px 15px 10px;border-bottom:1px solid #e6ebe3}.store-map-side-head strong{display:block;color:#243e2c;font-size:13px}.store-map-side-head span{display:block;margin-top:4px;color:#718071;font-size:11px}.store-map-list{max-height:435px;overflow:auto}
.store-map-row{display:grid;width:100%;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px 13px;border:0;border-bottom:1px solid #edf0eb;background:transparent;color:#21392b;text-align:left;cursor:pointer}.store-map-row:hover,.store-map-row:focus-visible{background:#f0f6e9;outline:none}
.store-map-status{width:9px;height:9px;border-radius:50%;background:#839384}.store-map-status.good{background:#4c9a5e}.store-map-status.mid{background:#dda942}.store-map-status.low{background:#c66c58}.store-map-row-copy{min-width:0}.store-map-row-copy strong,.store-map-row-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-map-row-copy strong{font-size:12px;font-weight:700}.store-map-row-copy small{margin-top:4px;color:#778378;font-size:10px}.store-map-row-value{text-align:right;white-space:nowrap;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.store-map-row-value small{display:block;margin-top:4px;color:#718071;font-size:10px;font-weight:500}
.store-map-angarsk{padding:10px;border-top:1px solid #e6ebe3}.store-map-angarsk[hidden]{display:none}.store-map-angarsk-btn{display:grid;width:100%;gap:4px;padding:10px 11px;border:1px solid #d9e6ce;border-radius:10px;background:#f2f7e9;color:#27432e;text-align:left;cursor:pointer}.store-map-angarsk-btn span{color:#718071;font-size:10px;font-weight:800;letter-spacing:.08em}.store-map-angarsk-btn strong{font-size:12px}.store-map-angarsk-btn small{color:#58705b;font-size:10px}
.store-map-unmatched{margin:0;padding:10px 13px;border-top:1px solid #ebd9ad;background:#fff8e8;color:#735b26;font-size:11px;line-height:1.45}.store-map-unmatched[hidden]{display:none}.store-map-empty{margin:0;padding:15px;color:#718071;font-size:12px;line-height:1.5}
.store-map-pin{display:grid;width:31px;height:31px;place-items:center;border:2px solid #fff;border-radius:50% 50% 50% 5px;background:#397348;box-shadow:0 3px 10px rgba(18,50,29,.36);transform:rotate(-45deg)}.store-map-pin>span{width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#dcff70}.store-map-pin.good{background:#2f7b46}.store-map-pin.mid{background:#b18126}.store-map-pin.low{background:#a94f43}.store-map-cluster{display:grid;width:40px;height:40px;place-items:center;border:3px solid #fff;border-radius:50%;background:#315c3c;color:#fff;font-size:13px;font-weight:800;box-shadow:0 3px 12px rgba(20,48,29,.3)}
.store-map-panel .leaflet-tooltip{border:1px solid #d9e4d4;border-radius:8px;color:#203a2b;font:600 11px/1.5 Onest,Arial,sans-serif;box-shadow:0 4px 14px rgba(28,46,29,.12)}.store-map-panel .leaflet-control-attribution{font-size:9px}.store-map-panel .leaflet-control-zoom a{color:#284532}
.store-map-dialog{width:min(1050px,calc(100vw - 28px));max-width:none;max-height:min(92vh,920px);padding:0;border:1px solid #dce5d9;border-radius:20px;background:#fbfcfa;color:#203a2b;box-shadow:0 25px 100px rgba(7,25,12,.4);overflow:auto}.store-map-dialog::backdrop{background:rgba(11,25,15,.66);backdrop-filter:blur(3px)}
.store-map-dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 24px 17px;border-bottom:1px solid #e5ebe2;background:rgba(255,255,255,.97)}.store-map-dialog-head h2{margin:5px 0 4px;font:700 25px/1.2 Onest,Arial,sans-serif}.store-map-dialog-head p{margin:0;color:#68776b;font-size:12px}.store-map-dialog-actions{display:flex;align-items:center;gap:8px;flex:none}.store-map-dialog-actions a,.store-map-dialog-actions button{min-height:36px;padding:8px 11px;border:1px solid #dce5d9;border-radius:9px;background:#fff;color:#315b3b;font:600 11px Onest,Arial,sans-serif;text-decoration:none;cursor:pointer}.store-map-dialog-actions button:hover,.store-map-dialog-actions a:hover{background:#f1f6eb}
.store-map-dialog-body{padding:19px 24px 24px}.store-map-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:16px}.store-map-kpis article{min-width:0;padding:12px;border:1px solid #e2e9de;border-radius:11px;background:#fff}.store-map-kpis span{display:block;color:#738174;font-size:10px;line-height:1.3}.store-map-kpis strong{display:block;margin-top:7px;overflow-wrap:anywhere;color:#243d2c;font-size:15px;font-variant-numeric:tabular-nums}
.store-map-dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.store-map-chart-card,.store-map-products{min-width:0;padding:15px;border:1px solid #e2e9de;border-radius:13px;background:#fff}.store-map-chart-card h3,.store-map-products h3{margin:0;color:#294531;font-size:14px}.store-map-chart-card p,.store-map-products>p{margin:5px 0 0;color:#758176;font-size:10px}.store-map-chart{position:relative;height:220px;margin-top:8px}.store-map-products-chart{height:245px}.store-map-products{margin-top:12px}.store-map-products-table{max-height:330px;margin-top:11px;overflow:auto;border:1px solid #edf0eb;border-radius:9px}.store-map-products-table table{width:100%;border-collapse:collapse;font-size:11px}.store-map-products-table th{position:sticky;top:0;background:#f6f8f3;color:#6d7b70;text-align:right}.store-map-products-table th:first-child,.store-map-products-table td:first-child{text-align:left}.store-map-products-table th,.store-map-products-table td{padding:8px 10px;border-bottom:1px solid #edf0eb;white-space:nowrap}.store-map-products-table td:first-child{white-space:normal;min-width:190px}.store-map-products-table td:first-child strong,.store-map-products-table td:first-child small{display:block}.store-map-products-table td:first-child small{margin-top:3px;color:#7b887c;font-size:9px}
@media(max-width:950px){.store-map-layout{grid-template-columns:minmax(0,1.3fr) minmax(255px,.8fr)}.store-map-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.store-map-panel{margin:17px 0 22px;padding:14px;border-radius:16px}.store-map-head{align-items:stretch;flex-direction:column;gap:11px}.store-map-head h2{font-size:22px}.store-map-search{width:100%;height:42px}.store-map-layout{grid-template-columns:1fr;gap:10px;min-height:0}#storeMapCanvas{height:390px}.store-map-side{max-height:440px}.store-map-list{max-height:330px}.store-map-dialog{width:calc(100vw - 14px);max-height:94vh;border-radius:15px}.store-map-dialog-head{padding:15px 14px 12px;gap:9px}.store-map-dialog-head h2{font-size:20px}.store-map-dialog-actions{flex-direction:column;align-items:stretch}.store-map-dialog-actions a,.store-map-dialog-actions button{padding:7px 9px;text-align:center}.store-map-dialog-body{padding:12px}.store-map-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.store-map-kpis article{padding:10px}.store-map-kpis strong{font-size:13px}.store-map-dialog-grid{grid-template-columns:1fr}.store-map-chart{height:205px}.store-map-products-chart{height:240px}.store-map-products-table td:first-child{min-width:140px}}
@media(prefers-reduced-motion:reduce){.store-map-panel *{scroll-behavior:auto!important;transition:none!important}}
.store-map-insights{margin-top:12px;padding:15px;border:1px solid #e2e9de;border-radius:14px;background:#fbfcf9}.store-map-insights-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-map-insights-head h3{margin:0;color:#294531;font-size:14px}.store-map-insights-head p{margin:5px 0 0;color:#758176;font-size:10px}.store-map-insights-head label{display:flex;align-items:center;gap:8px;color:#758176;font-size:10px}.store-map-insights-head select{height:34px;padding:0 10px;border:1px solid #dce5d8;border-radius:8px;background:white;color:#294531;font:inherit}.store-map-trend-chart{position:relative;height:245px;margin-top:10px}.store-map-compare-metrics,.store-map-cash-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.store-map-compare-metrics article{min-width:0;padding:10px 11px;border:1px solid #e5ebe1;border-radius:10px;background:white}.store-map-compare-metrics span,.store-map-compare-metrics strong,.store-map-compare-metrics small{display:block}.store-map-compare-metrics span{color:#758176;font-size:9px}.store-map-compare-metrics strong{margin-top:4px;color:#294531;font-size:14px}.store-map-compare-metrics small{margin-top:4px;color:#7d897e;font-size:9px}.store-map-cash-metrics{grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 12px;border-radius:9px;background:#f2f6ee;color:#647366;font-size:10px}.store-map-cash-metrics span{display:flex;justify-content:space-between;gap:8px}.store-map-cash-metrics strong{color:#334d37;white-space:nowrap}.store-map-forecast{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;padding:12px;border:1px solid #d9e7d0;border-radius:10px;background:#f1f7eb}.store-map-forecast div span,.store-map-forecast div strong,.store-map-forecast div small{display:block}.store-map-forecast span{color:#687a67;font-size:9px}.store-map-forecast strong{margin-top:4px;color:#285837;font-size:16px}.store-map-forecast small{margin-top:3px;color:#758176;font-size:9px}
@media(max-width:700px){.store-map-insights{padding:12px}.store-map-insights-head{align-items:stretch;flex-direction:column}.store-map-insights-head label{justify-content:space-between}.store-map-insights-head select{flex:1;max-width:65%}.store-map-trend-chart{height:220px}.store-map-compare-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.store-map-compare-metrics article{padding:9px}.store-map-compare-metrics strong{font-size:13px}.store-map-cash-metrics{grid-template-columns:1fr;gap:7px}.store-map-forecast{grid-template-columns:1fr}}

.store-map-load-state{display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 15px;border:1px solid #dce8d5;border-radius:11px;background:rgba(248,251,245,.96);color:#36533b;font-size:12px;font-weight:600;box-shadow:0 5px 16px rgba(26,54,30,.1)}
.store-map-load-state[hidden]{display:none!important}
.store-map-spinner{display:inline-block;width:17px;height:17px;flex:none;border:2px solid #d1dfc9;border-top-color:#4d8050;border-right-color:#4d8050;border-radius:50%;animation:store-map-spin .75s linear infinite}
.store-map-initial-loading{position:absolute;inset:0;z-index:650;pointer-events:none}
.store-map-loading-inline{display:flex;align-items:center;gap:8px;margin:0;padding:15px;color:#657766;font-size:11px}
.store-map-loading-inline .store-map-spinner{width:14px;height:14px}
.store-map-dialog-loading{justify-content:flex-start;margin-bottom:14px}
@keyframes store-map-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.store-map-spinner{animation-duration:1.8s}}
