/* Scope only the tactical drawer's nested categories. Inner HUD hidden flags
   remain independent of category visibility. */
#battle-hud #drawer-tactics{gap:12px}
#battle-hud #drawer-tactics .battle-command-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;background:#061017;border:1px solid #526b7659;position:sticky;top:-1px;z-index:2}
#battle-hud #drawer-tactics .battle-command-tabs button{min-width:0;min-height:42px;padding:7px 3px;font:inherit;font-size:11px;white-space:nowrap;color:#a2b6bf;border:1px solid transparent;background:transparent}
#battle-hud #drawer-tactics .battle-command-tabs button[aria-selected="true"]{color:#ebd5a2;background:#b99b4f20;border-color:#aa94624d}
#battle-hud #drawer-tactics .battle-command-tabs button:focus-visible{outline:2px solid #c4d9d9;outline-offset:-2px}
#battle-hud #drawer-tactics .battle-command-pane{display:grid;gap:14px;min-width:0;align-content:start}
#battle-hud #drawer-tactics .battle-command-pane[hidden]{display:none!important}
#battle-hud #drawer-tactics .battle-command-intro,#battle-hud #drawer-tactics .battle-command-unavailable{font-size:11px;line-height:1.75;color:#9fb5bd;margin:0}
#battle-hud #drawer-tactics .battle-command-unavailable{display:none;padding:14px;background:#10212a;border:1px solid #526b7659}
#battle-hud #drawer-tactics #tactical-planning-panel[hidden]+.battle-command-unavailable{display:block}
#battle-hud #drawer-tactics .advanced-commands{gap:7px}
#battle-hud #drawer-tactics .advanced-commands button{min-height:57px;padding:8px 10px}
#battle-hud #drawer-tactics .strategy-plan-buttons{gap:7px}
#battle-hud #drawer-tactics .strategy-plan-buttons button{min-height:58px;padding:8px}
#battle-hud #drawer-tactics .strategy-plan-buttons button small{line-height:1.5}
#battle-hud #drawer-tactics .strategy-reading p{margin-bottom:9px}
@media(max-width:420px){
 #battle-hud #drawer-tactics .battle-command-tabs button{font-size:10px;min-height:42px}
 #battle-hud #drawer-tactics .advanced-commands button{padding:7px 8px}
 #battle-hud #drawer-tactics .advanced-commands small{font-size:9px;line-height:1.5}
 #battle-hud #drawer-tactics .battle-command-pane{gap:12px}
}
