/* Persistent controls: no systems drawer, no secondary action menu. */
footer{display:grid;grid-template-columns:minmax(0,1fr) 310px 116px;grid-template-rows:1fr;gap:10px;height:204px;min-height:204px;max-height:204px;padding:8px;overflow:visible}
#squadWrap{grid-column:1;grid-row:1;min-width:0;width:auto;height:188px;min-height:0;overflow:hidden}
#squadWrap #all{width:44px;min-width:44px}
#squad{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;height:188px;max-height:188px;scroll-snap-type:x proximity;touch-action:pan-x}
.agent{box-sizing:border-box;flex:0 0 288px;min-height:180px;height:180px;padding:6px;scroll-snap-align:start;position:relative}
.agent em{display:none}.agent .portrait{display:block!important;position:absolute;left:6px;bottom:8px;width:54px;height:76px;object-fit:cover;image-rendering:pixelated;border:1px solid #33566c;background:#091522}.agent .operative-sliders{margin-left:62px!important}
.agent strong{font-size:13px;display:inline-block;margin:0 8px 0 0}.agent small{font-size:11px;display:inline-block}.agent .bar{height:3px;margin:3px 0}
.agent .inventory{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;margin:4px 0 0}
.agent .inventory-slot{min-height:44px!important;min-width:0!important;height:44px}.inventory-slot svg{width:32px;height:32px}
.agent .operative-sliders{padding:0;margin:0;border:0;background:transparent;min-width:0}
.agent .operative-sliders label{display:grid!important;grid-template-columns:49px minmax(0,1fr) 35px;gap:5px;align-items:center!important;height:44px;min-height:44px;font-size:12px;line-height:1.1}
.agent .operative-sliders input{display:block;min-height:44px;height:44px;width:100%!important;min-width:0!important;margin:0;touch-action:none;accent-color:#64e9e3;cursor:ew-resize}
.agent .operative-sliders output{font-size:10px;overflow:hidden;text-align:right;white-space:nowrap;color:#c7eceb}
#orders{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:44px;align-content:start;column-gap:6px;row-gap:3px;width:auto;min-height:0}
#actions,#interactions,#systems,.systems-open #systems{display:contents;position:static;max-height:none;overflow:visible;margin:0;padding:0;border:0;box-shadow:none}
#orders button,#actions button,#actions #persuade,#actions #stop,#systems>button{min-height:44px!important;height:44px;font-size:12px;letter-spacing:0;line-height:1.2;padding:4px;min-width:0;width:100%}
#actions button b{display:none}#orders #exit{grid-column:auto;order:0;border:2px solid #65e4ed;background:#173c48;font-weight:700}#orders #exitBuilding{display:none}
#orders #supportStatus{grid-column:span 2;font-size:11px;line-height:1.2;max-height:26px;overflow:hidden;margin:0;order:11}
#telemetry,#agentSystems,#hint{display:none}
#mapWrap{grid-column:3;grid-row:1;width:auto;max-height:none}#minimap{width:106px;height:130px}
#toggleSystems{display:none!important}
@media(max-width:1100px){footer{grid-template-columns:minmax(0,1fr) 286px}#mapWrap{display:none}#toggleMap{display:block}.map-open #mapWrap{display:block;position:fixed;top:102px;right:8px;bottom:auto;background:#0b2030;width:116px;z-index:8}#squadWrap,#squad{height:188px}.agent{flex-basis:288px}#orders{width:auto}}
@media(orientation:landscape) and (max-height:600px){footer{height:198px;min-height:198px;max-height:198px;padding:5px 8px;gap:6px}#squadWrap,#squad{height:188px;max-height:188px}#orders{grid-column:2;grid-row:1;width:auto}#orders #supportStatus{font-size:10px}#pauseNotice{top:54px!important;max-width:200px}#mission{max-height:80px;width:190px}#camera{gap:3px}#camera button{min-height:44px}#toast{top:100px!important;pointer-events:none}}
@media(max-width:700px) and (orientation:landscape){footer{grid-template-columns:minmax(0,1fr) 252px}.agent{flex-basis:288px}#orders button{font-size:11px}#squadWrap #all{width:44px;min-width:44px}}
.augment-effect{color:#bfe9df!important;margin:8px 0;font-size:13px;line-height:1.5}.augment-summary{font-size:14px!important;line-height:1.5}

[data-audio]{min-width:58px;min-height:44px!important;padding:5px 8px!important;font-size:12px!important;margin-right:4px}[data-audio][aria-pressed="false"]{color:#a2b3bb;background:#10202a}
