/* Stage 97: compact ticket workspace and radar-first tactical board. */
#s92Main #ticketDesk .tk-layout{min-height:0;margin:0;padding:0;background:transparent}
#s92Main #ticketDesk .tk-master-head{padding:10px 0;gap:12px;flex-wrap:wrap;align-items:center}
#s92Main #ticketDesk .tk-filterbar,#s92Main #ticketDesk .tk-items{padding-inline:0}
#s92Main #ticketDesk .tk-search{flex:1;min-width:min(100%,180px);max-width:500px}
#s92Main #ticketDesk .s97-ticket-actions{margin-left:auto;display:flex;flex-wrap:wrap;gap:8px}
#s92Main #stage83Board .tb-body{margin:0;gap:10px;grid-template-columns:clamp(125px,11vw,195px) minmax(0,1fr);height:calc(100dvh - 105px);min-height:510px}
#s92Main #stage83Board aside{max-height:none;min-height:0;overflow:auto;padding:10px;align-self:stretch}
#s92Main #stage83Board main{display:grid;grid-template-columns:clamp(180px,15vw,260px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:10px;height:100%;min-height:0}
#s92Main #stage83Board .s97-board-controls{display:flex;flex-direction:column;gap:8px;min-width:0;overflow:auto;min-height:0}
#s92Main #stage83Board .tb-row{padding:8px;gap:5px;border-radius:8px}
#s92Main #stage83Board .tb-row label{flex:1;min-width:70px}#s92Main #stage83Board .tb-row input,#s92Main #stage83Board .tb-row select{width:100%;max-width:none;min-width:0}
#s92Main #stage83Board .tb-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#s92Main #stage83Board .tb-tools button{padding:5px;min-height:30px;white-space:normal;overflow-wrap:anywhere;line-height:1.15}
#s92Main #stage83Board .tb-canvas{height:100%;min-height:0;width:100%;align-self:stretch;border-radius:8px}
#s92Main #stage83Board .tb-footer{margin:0}#s92Main #stage83Board .tb-status:empty{display:none}
#s92Main #stage83Board .s97-board-help{font-size:11px;color:#b0b4d2;padding:4px 8px}#s92Main #stage83Board .s97-board-help summary{cursor:pointer}
.s97-queue{display:grid;gap:7px;margin:12px 0;padding:10px;background:#191d32;border:1px solid #373c58;border-radius:8px;color:#eeeefa;font-size:12px}.s97-queue[hidden]{display:none!important}.s97-queue ol{list-style:none;padding:0;margin:0;max-height:230px;overflow:auto}.s97-queue li{display:flex;align-items:center;justify-content:space-between;gap:6px;border-top:1px solid #303552;padding:7px 0}.s97-queue li span{overflow-wrap:anywhere;min-width:0}.s97-queue button{font-size:11px;min-height:25px;padding:4px 8px}
.s97-zone-editor{background:#191d32;color:#eeeefa;border:1px solid #454967;border-radius:12px;max-width:min(880px,94vw);max-height:94dvh;padding:14px;overflow:auto;box-sizing:border-box}.s97-zone-editor::backdrop{background:#080b17cc}.s97-zone-editor header{font-size:17px;font-weight:700}.s97-zone-editor p{font-size:12px;color:#b0b4d2}.s97-zone-editor>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:8px 0}.s97-zone-editor input,.s97-zone-editor select{background:#101323;color:#eeeefa;border:1px solid #454967;padding:6px;border-radius:5px;max-width:100%}.s97-zone-editor canvas{display:block;width:auto;height:auto;max-width:100%;max-height:60dvh;object-fit:contain;cursor:crosshair;margin:auto;background:#101323}.s97-zone-editor button{min-height:30px;padding:6px 9px}
#viewerSection .viewer-tab-scoreboard table{min-width:1000px}
@media(max-width:1050px){#s92Main #stage83Board .tb-body{grid-template-columns:minmax(100px,145px) minmax(0,1fr);height:auto;min-height:0}#s92Main #stage83Board main{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(340px,65dvh);height:auto}#s92Main #stage83Board .s97-board-controls{overflow:visible;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#s92Main #stage83Board .tb-tools{display:flex;flex-wrap:wrap}#s92Main #stage83Board .tb-canvas{height:100%;min-height:340px}}
@media(max-width:650px){#s92Main #stage83Board .tb-body{grid-template-columns:minmax(0,1fr)}#s92Main #stage83Board aside{max-height:120px}#s92Main #stage83Board .s97-board-controls{grid-template-columns:minmax(0,1fr)}#s92Main #stage83Board main{grid-template-rows:auto minmax(260px,55dvh)}#s92Main #stage83Board .tb-canvas{min-height:260px}#s92Main #ticketDesk .s97-ticket-actions{margin-left:0}}
