.materials-map-view{min-width:0}
.materials-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:16px 18px}
.materials-map-summary{display:flex;flex-direction:column;gap:3px;min-width:0}
.materials-map-summary strong{font-size:15px;color:#173f35}
.materials-map-summary span{font-size:12px;color:#75817d}
.materials-map-actions{display:flex;align-items:center;gap:8px}
.materials-map-actions input{width:min(340px,34vw);min-width:220px}
.materials-map-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.7fr);gap:16px;align-items:stretch;min-height:620px}
.materials-map-card{position:relative;padding:0;overflow:hidden;min-height:620px}
.materials-map-canvas{width:100%;height:100%;min-height:620px;background:#e7eeeb}
.materials-map-detail{padding:20px;min-width:0;overflow:auto;max-height:calc(100vh - 215px)}
.materials-map-placeholder{display:flex;flex-direction:column;justify-content:center;height:100%;min-height:340px;max-width:330px;margin:auto;text-align:center}
.materials-map-placeholder h2{margin:8px 0 6px;color:#173f35}
.materials-map-placeholder p{margin:0;color:#75817d;line-height:1.55}
.materials-map-detail-head h2{margin:7px 0 5px;font-size:22px;color:#173f35}
.materials-map-detail-head p{margin:0;color:#75817d;font-size:13px;line-height:1.45}
.materials-map-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}
.materials-map-kpis>div{padding:13px 14px;border:1px solid #dfe8e4;border-radius:12px;background:#f8fbf9;display:flex;flex-direction:column;gap:2px}
.materials-map-kpis strong{font-size:21px;color:#173f35}
.materials-map-kpis span{font-size:11px;color:#75817d;text-transform:uppercase;letter-spacing:.04em}
.materials-map-table-wrap{overflow:auto;border:1px solid #e1e8e5;border-radius:12px}
.materials-map-table{width:100%;border-collapse:collapse;font-size:12px}
.materials-map-table th{position:sticky;top:0;background:#f4f8f6;color:#5c6964;text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.05em;padding:10px;border-bottom:1px solid #e1e8e5}
.materials-map-table td{padding:11px 10px;border-bottom:1px solid #edf1ef;vertical-align:top;color:#49554f}
.materials-map-table tbody tr:last-child td{border-bottom:0}
.materials-map-table td strong{display:block;color:#263d34;font-size:12px}
.materials-map-table td small{display:block;color:#84908b;margin-top:2px}
.materials-map-table td.number{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.materials-map-no-stock{padding:22px;border:1px dashed #ccd9d3;border-radius:12px;background:#fafcfb;display:flex;flex-direction:column;gap:5px;color:#65716c}
.materials-map-no-stock strong{color:#344a40}
.materials-map-empty{position:absolute;inset:20px;z-index:500;pointer-events:none;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:5px;color:#65716c}
.materials-map-empty strong{font-size:16px;color:#344a40}
.materials-map-popup{display:flex;flex-direction:column;gap:3px;min-width:170px}
.materials-map-popup strong{font-size:14px;color:#173f35}
.materials-map-popup span{font-size:12px;color:#52615b}
.materials-map-popup small{font-size:10px;color:#88938f}
.materials-map-canvas .leaflet-control-attribution{font-size:9px}
@media(max-width:1100px){.materials-map-layout{grid-template-columns:1fr}.materials-map-detail{max-height:none;min-height:280px}.materials-map-card,.materials-map-canvas{min-height:520px}}
@media(max-width:720px){.materials-map-toolbar{align-items:stretch;flex-direction:column}.materials-map-actions{width:100%}.materials-map-actions input{width:100%;min-width:0}.materials-map-layout{gap:12px}.materials-map-card,.materials-map-canvas{min-height:58vh}.materials-map-detail{padding:16px}.materials-map-kpis{grid-template-columns:1fr 1fr}.materials-map-table th:nth-child(2),.materials-map-table td:nth-child(2){display:none}}
