#attackLandscapePanel, .attack-landscape { min-width: 0; }
.attack-landscape { color: var(--text); }
.attack-landscape [hidden] { display: none !important; }
.attack-landscape .attack-summary { margin: 0 0 12px; color: var(--muted); }
.attack-landscape .attack-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: .85rem; margin-bottom: 12px; }
.attack-landscape .attack-key::before { content: ''; display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; background: #557dbc; }
.attack-landscape .attack-key.level::before { background: #c27a18; }
.attack-landscape .attack-key.timbre::before { background: #8c58ad; }
.attack-landscape .attack-key.band::before { background: #c5d9dd; border-radius: 2px; }
.attack-landscape .attack-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--panel-border); border-radius: 12px; background: linear-gradient(#fff, #f0f4f8); }
.attack-landscape svg { display: block; }
.attack-landscape .attack-hill { cursor: pointer; }
.attack-landscape .attack-hill:focus { outline: none; }
.attack-landscape .attack-hill:focus .attack-outline { stroke: #131739; stroke-width: 4; }
.attack-landscape .attack-selectors, .attack-landscape .attack-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.attack-landscape label { display: flex; align-items: center; gap: 8px; }
.attack-landscape select { max-width: 100%; min-width: 0; }
.attack-landscape .attack-controls button { max-width: 100%; white-space: normal; }
.attack-landscape .attack-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.attack-landscape .attack-card { padding: 16px; border: 1px solid var(--panel-border); border-radius: 12px; background: #f8fafc; min-width: 0; }
.attack-landscape .attack-card h3 { font-size: 1rem; margin: 0 0 8px; }
.attack-landscape .attack-card p { min-height: 2.5em; margin: 0 0 8px; }
.attack-landscape .attack-envelope { width: 100%; height: 90px; }
.attack-landscape .attack-observation { padding: 12px 16px; border-left: 3px solid #557dbc; background: #edf3f8; }
.attack-landscape .attack-status { min-height: 1.5em; color: var(--muted); margin: 10px 0 0; }
.attack-landscape .attack-group-view { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--panel-border); }
.attack-landscape .attack-matrix-scroll { overflow: auto; max-height: 540px; margin-top: 12px; border: 1px solid var(--panel-border); }
.attack-landscape .attack-matrix { width: max-content; border-collapse: separate; border-spacing: 2px; margin: 0; }
.attack-landscape .attack-matrix th { position: sticky; background: #fff; padding: 6px; font-size: .8rem; }
.attack-landscape .attack-matrix thead th { top: 0; z-index: 2; }
.attack-landscape .attack-matrix tbody th { left: 0; z-index: 1; }
.attack-landscape .attack-matrix td { padding: 0; }
.attack-landscape .attack-matrix-cell { min-height: 30px; min-width: 30px; padding: 5px; border: 0; border-radius: 3px; color: #131739; font-size: .7rem; box-shadow: none; }
.attack-landscape .attack-matrix-cell.diagonal { opacity: .35; }
.attack-landscape .attack-matrix-cell:focus { outline: 3px solid #131739; outline-offset: -3px; }
.attack-landscape .attack-matrix-cell[aria-pressed="true"] { outline: 3px solid #131739; outline-offset: -3px; }
.attack-landscape .attack-group-view > label { flex-wrap: wrap; margin-bottom: 12px; }
.attack-landscape .attack-group-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.attack-landscape .attack-group-buttons button { font-size: .8rem; min-height: 34px; padding: 6px 10px; }
@media (max-width: 650px) {
    .attack-landscape .attack-comparison { grid-template-columns: 1fr; }
    .attack-landscape .attack-selectors label { flex-direction: column; align-items: flex-start; width: 100%; }
    .attack-landscape [data-attack-detail] > label { flex-direction: column; align-items: flex-start; }
    .attack-landscape select { width: 100%; }
}
