/* v23 — deeper emergency communications and specialist-equipment workflow. */
.channel-stage,.resource-composer{min-height:0;overflow:auto;background:#070c10}
.channel-grid--extended{grid-template-columns:repeat(4,minmax(0,1fr));padding-bottom:1px;overflow:visible}
.channel-grid--extended button{min-height:72px;padding:11px}
.channel-detail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0 16px 8px;background:#283740;border:1px solid #283740}
.channel-detail>div{display:grid;gap:6px;min-width:0;padding:10px 12px;background:#091015}
.channel-detail span{color:#70828d;font:600 6px/1 var(--mono);letter-spacing:.12em}
.channel-detail b{overflow:hidden;color:#d9e2e7;font:500 7px/1.35 var(--mono);text-overflow:ellipsis;white-space:nowrap}
.channel-test{grid-template-columns:auto 1fr auto 1fr auto 1fr auto;margin-top:10px;margin-bottom:12px}
.stage-form--ack{grid-template-columns:repeat(4,minmax(0,1fr))}
.stage-form--ack label{min-height:82px}
.review-checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.review-checks label{min-height:62px;padding:9px}
.resource-subhead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-bottom:1px solid #2a3942;background:#0c1419}
.resource-subhead>span{color:#7897ff;font:600 6px/1 var(--mono);letter-spacing:.13em}
.resource-subhead>b{font:600 9px/1 var(--ui)}
.equipment-heading{position:sticky;top:0;z-index:3;border-top:1px solid #2a3942}
.equipment-heading label{display:flex;align-items:center;gap:8px;margin-left:auto;color:#8d9ca5;font:600 6px/1 var(--mono);letter-spacing:.08em;cursor:pointer}
.equipment-heading label input{position:absolute;opacity:0;pointer-events:none}
.equipment-heading label i{width:22px;height:12px;border:1px solid #40525d;border-radius:10px;background:#111a20;position:relative}
.equipment-heading label i::after{content:"";position:absolute;width:6px;height:6px;left:2px;top:2px;border-radius:50%;background:#657680;transition:transform .2s ease,background .2s ease}
.equipment-heading label input:checked+i{border-color:#70d5a4;background:#102019}.equipment-heading label input:checked+i::after{transform:translateX(10px);background:#70d5a4}
.equipment-manifest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;padding:1px 16px 16px;background:#26343d;transition:opacity .2s ease}
.equipment-manifest[aria-disabled="true"]{opacity:.28;pointer-events:none;filter:saturate(.35)}
.equipment-manifest>label{display:grid;grid-template-columns:18px minmax(0,1fr) 38px;align-items:center;gap:7px;min-height:58px;padding:8px;background:#091015;cursor:pointer}
.equipment-manifest input[type="checkbox"]{accent-color:#7897ff}.equipment-manifest input[type="number"]{width:38px;height:26px;border:1px solid #30414b;background:#0c1419;color:#fff;text-align:center;font:600 7px/1 var(--mono)}
.equipment-manifest span{display:grid;gap:4px;min-width:0}.equipment-manifest b{font:600 8px/1.15 var(--ui)}.equipment-manifest small{color:#788891;font:500 6px/1.25 var(--mono)}
.final-brief>section.equipment-brief{border-left:2px solid #7897ff}

@container (max-width:980px){.channel-grid--extended{grid-template-columns:repeat(2,minmax(0,1fr))}.stage-form--ack{grid-template-columns:repeat(2,minmax(0,1fr))}.equipment-manifest{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.channel-grid--extended,.channel-detail,.stage-form--ack,.review-checks,.equipment-manifest{grid-template-columns:1fr}.channel-test{grid-template-columns:1fr}.channel-detail b{white-space:normal}.equipment-heading{align-items:flex-start;flex-wrap:wrap}.equipment-heading label{margin-left:0}.resource-subhead{position:relative}}
@media(max-width:520px){.channel-detail{margin:0 8px 8px}.equipment-manifest{padding:1px 8px 10px}.resource-subhead{padding:10px}.equipment-manifest>label{min-height:54px}.channel-grid--extended{padding:8px}.channel-grid--extended button{min-height:58px}}
@media(prefers-reduced-motion:reduce){.equipment-heading label i::after,.equipment-manifest{transition:none}}
