.map-layout .legend{width:330px;max-width:calc(100% - 80px);font-size:14px}
.map-layout #legend-toggle{font-size:14px;min-height:30px}
.map-layout #legend-items{grid-template-columns:1fr;gap:10px;padding-top:10px}
.map-layout #legend-items[hidden]{display:none}
.map-layout #legend-items>span{display:flex;align-items:center;gap:10px;line-height:1.35;font-size:14px}
.map-layout .zone-key{display:inline-block;width:27px;height:19px;flex:none;border:1px solid var(--key-color);background:var(--key-fill);border-radius:3px;transform:skew(-8deg)}
.map-layout .zone-key-uav{--key-color:#d8c06a;--key-fill:#d8c06a3d}
.map-layout .zone-key-attention{--key-color:#e8e4c4;--key-fill:#e8e4c43d}
.map-layout .zone-key-missile{--key-color:#dc2626;--key-fill:#dc262670}
.map-layout .zone-key-clear{--key-color:#2fb778;--key-fill:#2fb7783d}
.map-layout .zone-key-unknown{--key-color:#6b7d88;--key-fill:#35404722}
.map-layout .zone-key-boundary{--key-color:#578ca5;--key-fill:transparent}
@media(max-width:900px){.map-layout .legend{width:292px}.map-layout #legend-toggle{min-height:44px}}
