/* The mission and the 44px inspector each own a row. The mission must not
   shrink the inspector to zero or put its hit target underneath the footer. */
.recruit-mission-220 .mission-progress-note{margin-left:4px}
body[data-game=defense][data-field-dock=portrait] .layout:has(.recruit-mission-220:not([hidden])){grid-template-rows:minmax(0,1fr) 80px}
body[data-game=defense][data-field-dock=portrait][data-inspection-open=true] .layout:has(.recruit-mission-220:not([hidden])){grid-template-rows:minmax(0,1fr) min(34dvh,280px)}
body[data-game=defense][data-field-dock=portrait] .side:has(.recruit-mission-220:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:32px minmax(44px,1fr);gap:4px;min-height:0}
body[data-game=defense][data-field-dock=portrait] .recruit-mission-220{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:1fr;align-items:center;gap:6px;height:32px;min-height:32px;padding:3px 8px;margin:0}
body[data-game=defense][data-field-dock=portrait] .recruit-mission-220 strong{font-size:11px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-game=defense][data-field-dock=portrait] .recruit-mission-220 [role=status]{grid-row:1;grid-column:2;font-size:10px;white-space:nowrap}
body[data-game=defense][data-field-dock=portrait] .recruit-mission-220 .mission-progress-note{display:none}
body[data-game=defense][data-field-dock=portrait] .recruit-mission-220 .recruit-mission-award{grid-row:1;grid-column:3;font-size:12px;line-height:16px;white-space:nowrap}
body[data-game=defense][data-field-dock=portrait] .side>.tactical-panel{box-sizing:border-box;position:relative;min-height:44px;height:100%;margin:0}
body[data-game=defense][data-field-dock=portrait] .side:has(.recruit-mission-220:not([hidden]))>.recruit-mission-220{grid-column:1;grid-row:1}
body[data-game=defense][data-field-dock=portrait] .side:has(.recruit-mission-220:not([hidden]))>.tactical-panel{grid-column:1;grid-row:2}
body[data-game=defense][data-field-dock=portrait] .side>.tactical-panel[open]{display:flex;flex-direction:column}
body[data-game=defense][data-field-dock=portrait] .side>.tactical-panel>summary{box-sizing:border-box;flex:0 0 44px;height:44px;min-height:44px}
body[data-game=defense][data-field-dock=portrait] .side>.tactical-panel[open]>.tactical-content{position:absolute;inset:44px 0 0;min-height:0;height:auto!important;max-height:none!important;margin:0;overflow-y:auto}
body[data-game=defense][data-field-dock=landscape] .recruit-mission-220{box-sizing:border-box;flex:0 0 44px;height:44px;min-height:44px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:16px 14px;gap:2px 5px;padding:5px 6px}
body[data-game=defense][data-field-dock=landscape] .recruit-mission-220 strong{font-size:10px;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-game=defense][data-field-dock=landscape] .recruit-mission-220 [role=status]{font-size:10px;line-height:14px;white-space:nowrap}
body[data-game=defense][data-field-dock=landscape] .recruit-mission-220 .mission-progress-note{display:none}
body[data-game=defense][data-field-dock=landscape] .recruit-mission-220 .recruit-mission-award{font-size:11px;line-height:14px;white-space:nowrap}
