/* Keep commands in one scroll flow. No overlay may cover an upgrade. */
body[data-game=defense][data-field-dock=wide] .tactical-panel[open]>.tactical-content,
body[data-game=defense][data-field-dock=landscape] .tactical-panel[open]>.tactical-content{
 display:flex;flex-direction:column;align-items:stretch
}
body[data-game=defense][data-field-dock] .tactical-content>*{flex:0 0 auto;min-width:0}
body[data-game=defense][data-field-dock] .tactical-content>.specialty-command{
 order:-4;margin-top:0;position:static
}
/* A column must not wrap its 100%-basis explanation into another column. */
body[data-game=defense][data-field-dock] .tactical-content>.tactical-upgrade{
 flex-direction:column;flex-wrap:nowrap;align-items:stretch
}
body[data-game=defense][data-field-dock] .tactical-upgrade>.refit-preview{
 flex:0 0 auto;width:100%;min-width:0;box-sizing:border-box
}
