/* Keep the backstage conversation and the full running order visible and scrollable. */
@media (min-width:1181px) and (min-height:600px){
 #tv .s-back>.win{max-width:1520px;min-height:0;height:100%}
 #tv .s-back .wbody{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(380px,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:0;overflow:hidden;min-height:0;padding:0}
 #tv .s-back .match-night-matchup{grid-column:1/-1;grid-row:1;min-width:0}
 #tv .s-back .scene{grid-column:1;grid-row:2;min-height:0;height:auto;max-height:none;overflow:auto;overscroll-behavior:contain;padding:12px}
 #tv .s-back .decide2{grid-column:2;grid-row:2;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;border-top:0;border-left:2px solid var(--ink)}
 #tv .s-back .sheetline{grid-column:1/-1;grid-row:3;max-height:80px;min-height:0;overflow:auto}
}
@media (max-width:1180px), (max-height:599px){
 #tv .s-back>.win{max-width:1100px;min-height:0}
 #tv .s-back .wbody{display:flex;flex-direction:column;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0}
 #tv .s-back .scene{flex:0 0 auto;min-height:105px;height:auto;max-height:min(220px,28dvh);overflow-y:auto;overscroll-behavior:contain}
 #tv .s-back .decide2{flex:0 0 auto;min-height:0;max-height:none;overflow:visible;border-left:0;border-top:2px solid var(--ink)}
 #tv .s-back .sheetline{flex:0 0 auto;max-height:none}
}
@media (max-width:900px){
 #tv .s-back>.win{height:auto}
 #tv .s-back .wbody{overflow:visible}
 #tv .s-back .scene{min-height:100px;max-height:190px}
 #tv .s-back .decide2{overflow:visible;max-height:none}
}

/* Programme arcs: the chapter sits with Dennis's signed match plan, not in another modal. */
.programme-chapter{margin:12px 0 16px;border-top:1px solid var(--line,#b9b9b9);padding-top:10px}
.programme-chapter .section-h small{font:inherit;font-size:.65em;opacity:.7;margin-left:.35em}
.programme-chapter .arc-follow{margin:8px 0;padding-left:12px;border-left:3px solid var(--blood,#982b32);font-size:14px}
.arc-recap{display:block;margin-top:4px;color:var(--ink-2);font-size:13px;line-height:1.4}

.arc-signing{padding:8px 12px;border-left:3px solid var(--blood,#982b32);margin:7px 12px;font-size:14px}
.arc-signing span{display:block;margin-top:3px;color:var(--ink-2)}

/* Planning and promos share one scrollable desk, without nested panes.
   History opens only on request; desktop uses the vertical split below. */
#tv:has(:is(.s-meeting,.s-promo)){overflow:hidden}
#tv :is(.s-meeting,.s-promo){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;align-content:start;overflow:auto;padding:5px 8px;gap:0}
#tv :is(.s-meeting,.s-promo)>.win{max-width:none;width:100%;height:auto;min-height:0;overflow:visible;align-self:start}
#tv :is(.s-meeting,.s-promo) .wbody{display:block;overflow:visible;padding:0;min-height:0}
#tv :is(.s-meeting,.s-promo) .match-night-matchup{padding:4px 10px;gap:6px}
#tv :is(.s-meeting,.s-promo) .match-night-matchup .portrait.x2{width:36px;height:45px}
#tv :is(.s-meeting,.s-promo) .match-night-matchup .mu b{font-size:22px}
#tv :is(.s-meeting,.s-promo) .scene{display:block;height:auto;min-height:0;max-height:none;overflow:visible;padding:5px 8px;border:0;background:var(--paper)}
#tv :is(.s-meeting,.s-promo) :is(.dialogue-current,.dialogue-history-lines){display:flex;flex-direction:column;gap:3px}
#tv :is(.s-meeting,.s-promo) .dialogue-current .bub{max-width:100%;width:auto}
#tv :is(.s-meeting,.s-promo) .dialogue-current .bub .portrait{width:28px;height:35px}
#tv :is(.s-meeting,.s-promo) .bub .say{padding:3px 7px;box-shadow:none}
#tv :is(.s-meeting,.s-promo) .dialogue-history>summary{cursor:pointer;color:var(--ink-2);font-size:13px;margin:0 0 3px}
#tv :is(.s-meeting,.s-promo) .dialogue-history[open]{margin-bottom:5px;border-bottom:1px solid var(--stone-lo)}
#tv :is(.s-meeting,.s-promo) .decide2{padding:6px 8px;min-width:0;max-height:none;overflow:visible;border-left:0;border-top:2px solid var(--ink)}
#tv :is(.s-meeting,.s-promo) .decide2 .section-h{font-size:clamp(22px,1.65vw,28px);margin:0 0 2px}
#tv :is(.s-meeting,.s-promo) .decide2 .lede{max-width:none;margin:0 0 5px}
#tv :is(.s-meeting,.s-promo) .picks{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:5px}
#tv :is(.s-meeting,.s-promo) .decision-option{min-width:0;min-height:0;gap:3px;padding:6px 8px;line-height:1.15;overflow-wrap:anywhere}
#tv :is(.s-meeting,.s-promo) .decision-option>span:not(.tags){font-size:15px;line-height:1.2}
#tv :is(.s-meeting,.s-promo) .tags{gap:3px;margin-top:1px}
#tv :is(.s-meeting,.s-promo) .tags i{font-size:13px;padding:1px 4px;white-space:normal}
#tv .s-promo .promo-conversation{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;min-width:0;overflow:visible}
#tv .s-promo .promo-conversation:has(.promo-context){grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
#tv .s-promo .promo-context{min-width:0;max-height:none;overflow:visible;padding:5px 8px;border-left:2px solid var(--ink);background:var(--stone-2);font-size:14px;line-height:1.2}
#tv .s-promo .promo-context p{margin:0 0 4px}
#tv .s-promo .promo-context .claim span{display:block}
#tv .s-promo .promo-context :is(.mic-read,.mic-cue,.mic-open){margin:0 0 4px;padding:4px 6px}
#tv .s-meeting .structure-chooser{margin:0 0 5px;padding:5px 7px}
#tv .s-meeting .structure-chooser>p{margin:2px 0 4px}
#tv .s-meeting .structure-option{min-height:0;padding:5px 7px}
#tv .s-meeting .structure-change{flex:1;min-width:0}
#tv .s-meeting .structure-change>summary{cursor:pointer;color:var(--gold);font-size:15px;padding:3px 0}
#tv .s-meeting .structure-change[open]>.structure-options{margin:5px 0}
#tv .s-meeting .structure-picked{display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px}
#tv .s-meeting .structure-picked:has(.structure-change[open]){display:block}
#tv .s-meeting .structure-lead{margin:0;gap:6px}
#tv .s-meeting .structure-lead .btn{padding:3px 8px;min-height:32px}
#tv .s-meeting .structure-chooser>.structure-help{margin:4px 0 0}
#tv .s-meeting .rorder{gap:4px;margin-top:4px}
#tv .s-meeting .rorder-heading{margin:4px 0}
#tv .s-meeting .finish-choice{margin:0 0 5px;padding:5px 7px}
#tv .s-meeting .finish-options{gap:4px}
#tv .s-meeting .rorder-slot{padding:3px 6px}
#tv .s-meeting .rorder-picks{gap:4px}
#tv .s-meeting .structure-review{margin:5px 0;padding:5px 8px}
#tv .s-meeting :is(.rorder-pick,.finish-option) .tags i{display:inline-block}
#tv :is(.s-meeting,.s-promo) .sheetline{max-height:none;overflow:visible;padding:3px 8px;font-size:14px}
#tv:has(.s-meeting) .match-brief>div{padding:3px 9px}
#tv:has(:is(.s-meeting,.s-promo)) .tv-foot{padding:4px 10px}
/* Vertical split on desktop: dialogue on the left, decisions on the right.
   The enclosing stage remains the only scroll owner when content overflows. */
@media(min-width:901px){
 #tv :is(.s-meeting,.s-promo) .wbody{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);grid-template-rows:auto auto auto;align-items:start;gap:0;overflow:visible}
 #tv :is(.s-meeting,.s-promo) .match-night-matchup{grid-column:1/-1;grid-row:1}
 #tv :is(.s-meeting,.s-promo) .wbody>.scene,#tv .s-promo .wbody>.promo-conversation{grid-column:1;grid-row:2;min-width:0;align-self:start}
 #tv :is(.s-meeting,.s-promo) .wbody>.decide2{grid-column:2;grid-row:2;align-self:stretch;border-top:0;border-left:2px solid var(--ink)}
 #tv :is(.s-meeting,.s-promo) .sheetline{grid-column:1/-1;grid-row:3}
 #tv :is(.s-meeting,.s-promo) .dialogue-current .bub{min-width:0}
 #tv .s-promo .promo-conversation:has(.promo-context){grid-template-columns:minmax(0,1fr)}
 #tv .s-promo .promo-context{border-left:0;border-top:1px solid var(--ink)}
 #tv :is(.s-meeting,.s-promo) .picks{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}
 #tv .s-meeting .structure-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 #tv .s-meeting .rorder-row{grid-template-columns:minmax(100px,20%) minmax(0,1fr);gap:5px}
 #tv .s-meeting .rorder-picks{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}
 #tv .s-meeting .structure-review dl{grid-template-columns:repeat(2,minmax(0,1fr))}
 /* Segment and mouthpiece selectors have no dialogue yet. */
 #tv .s-promo .wbody:not(:has(.scene)){grid-template-columns:minmax(0,1fr)}
 #tv .s-promo .wbody:not(:has(.scene))>.decide2{grid-column:1/-1;border-left:0}
}
@media(min-width:1200px){
 #tv .s-meeting .structure-options{grid-template-columns:repeat(3,minmax(0,1fr))}
 #tv .s-promo .picks.five{grid-template-columns:repeat(2,minmax(0,1fr))}
 #tv .s-meeting .rorder-picks{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
}
@media(max-width:900px){
 #tv:has(:is(.s-meeting,.s-promo)){overflow:auto}
 #tv :is(.s-meeting,.s-promo){flex:none;overflow:visible}
 #tv .s-promo .promo-conversation:has(.promo-context){grid-template-columns:minmax(0,1fr)}
 #tv .s-promo .promo-context{border-left:0;border-top:1px solid var(--ink)}
 #tv :is(.s-meeting,.s-promo) .decision-option{min-height:44px}
 #tv .s-meeting .structure-option{min-height:44px}
}
@media(max-width:720px){
 #tv .s-meeting .rorder-picks{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
 #tv .s-meeting .rorder-slot{flex-wrap:wrap}
 #tv :is(.s-meeting,.s-promo) .picks{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}
 #tv :is(.s-meeting,.s-promo) .decision-option{min-height:48px}
}

/* The decision renderer restores these offsets explicitly. Do not let browser
   scroll anchoring move them again after the conversation DOM is replaced. */
#tv:has(.s-meeting,.s-promo),#tv :is(.s-meeting,.s-promo) :is(.win,.wbody,.decide2,.promo-context),#tv :is(.s-meeting,.s-promo){overflow-anchor:none}

/* Match sheet and broadcast: the same paper, well, gold and grid language as the roster. */
#tv :is(.sheet-redesign,.broadcast-redesign) .wbody{display:flex;flex-direction:column;gap:6px;padding:6px;min-width:0}
#tv :is(.sheet-redesign,.broadcast-redesign)>.win{min-height:100%;align-self:stretch}
#tv .desk-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
#tv .desk-rail span{background:var(--deep);color:var(--dim);border:1px solid var(--ink);padding:4px 6px;font-size:15px}
#tv .desk-rail .active{background:var(--gold);color:var(--ink);font-weight:bold}
#tv .match-desk{display:grid;grid-template-columns:minmax(220px,30%) minmax(0,1fr);gap:6px;flex:1;align-items:stretch}
#tv .match-desk-sheet,#tv .match-desk-room{min-width:0;border:2px solid var(--ink)}
#tv .desk-title{margin:0;background:var(--blood);color:white;padding:4px 8px;font:22px/1.2 var(--jersey);border-bottom:2px solid var(--ink)}
#tv .sheet-body{padding:8px;line-height:1.25;overflow-wrap:anywhere}
#tv .sheet-body h3{font:25px/1.1 var(--jersey);margin:3px 0}
#tv .sheet-body p{margin:4px 0 7px}
#tv .sheet-mobile{display:none}
#tv .momentum-shape{display:block;width:100%;height:auto;background:var(--well);border:1px solid var(--ink);margin:5px 0}
#tv .structure-option .momentum-shape{height:42px;margin:2px 0 0}
#tv .desk-objectives{list-style:decimal;margin:5px 0 8px;padding-left:24px;font-size:16px}
#tv .desk-objectives li{padding:4px 3px;margin:1px 0}
#tv .desk-objectives li span{display:block;color:var(--ink-2)}
#tv .desk-objectives .active{background:var(--gold);outline:1px solid var(--ink)}
#tv .desk-finish{border-top:1px solid var(--stone-lo);padding-top:5px}
#tv .desk-notes{font-size:14px}
#tv .match-desk-room{display:flex;flex-direction:column;background:var(--stone)}
#tv .match-desk-room .match-night-matchup{background:var(--well);color:var(--white);border-bottom:2px solid var(--ink)}
#tv :is(.sheet-redesign,.broadcast-redesign) .desk-transcript{background:var(--well);color:var(--white);border:1px solid var(--ink);outline:0;display:block;padding:6px 8px;max-height:none;overflow:visible;min-width:0}
#tv .desk-line{display:grid;grid-template-columns:minmax(65px,16%) minmax(0,1fr) 40px;gap:6px;padding:2px 0;line-height:1.22;font-size:16px}
#tv .desk-line b{color:var(--cyan);font-weight:500;overflow-wrap:anywhere}
#tv .desk-line.w b{color:var(--gold)}
#tv .desk-line.f b{color:var(--white)}
#tv .desk-line.c{color:var(--dim)}
#tv .desk-line>span:last-child{text-align:right}
#tv .desk-line .up,#tv .desk-table .up{color:var(--good)}
#tv .desk-line .down,#tv .desk-table .down{color:var(--bad)}
#tv :is(.sheet-redesign,.broadcast-redesign) .decide2{border:0;padding:5px 6px;min-width:0;overflow:visible}
#tv .desk-table{min-width:0;overflow:visible;border:1px solid var(--ink);outline:0}
#tv .desk-table .grid{table-layout:auto;font-size:16px;color:var(--white)}
#tv .desk-table .grid th{position:static;font-size:15px;padding:4px 5px}
#tv .desk-table .grid td{padding:3px 5px;white-space:normal;overflow-wrap:anywhere}
#tv .desk-table .desk-response{width:54%}
#tv .desk-table .desk-index{width:24px}
#tv .desk-table .desk-effect{font-size:14px;text-align:left}
#tv .desk-table .desk-effect span{display:inline-block}
#tv .desk-table .row-pick.decision-option{border:0;box-shadow:none;background:none;color:inherit;display:block;width:100%;text-align:left;padding:2px;min-height:0;font:inherit}
#tv .desk-table .row-pick b{font-weight:500}
#tv .desk-table .row-pick small{display:block;font-size:13px;color:var(--dim);line-height:1.15}
#tv .desk-table .grid tr:focus-within td{background:var(--gold);color:var(--ink)}
#tv .desk-table .grid tr:focus-within small,#tv .desk-table .grid tr:focus-within .desk-effect span{color:var(--ink)}
#tv .desk-table .risk-pips{white-space:nowrap;letter-spacing:1px}
#tv .risk-0,#tv .risk-1{color:var(--good)}
#tv .risk-2{color:var(--warn)}
#tv .risk-3{color:var(--bad)}
#tv .sheet-redesign .finish-options{display:grid;grid-template-columns:1fr;gap:2px}
#tv .sheet-redesign .finish-option{display:block;text-align:left;padding:4px 6px}
#tv .sheet-redesign .finish-option b:before{content:'○ ';color:var(--ink)}
#tv .sheet-redesign .finish-option.on b:before{content:'● '}
#tv .sheet-redesign .rorder-row{display:grid;grid-template-columns:minmax(100px,25%) minmax(0,1fr);gap:4px}
#tv .sheet-redesign .rorder-picks{display:flex;flex-wrap:wrap;gap:3px}
#tv .sheet-redesign .rorder-pick{display:inline-block;flex:1 1 125px;text-align:left;padding:3px 5px;font-size:14px;line-height:1.15}
#tv .sheet-redesign .rorder-pick>span:not(.tags){font-size:13px}
#tv .sheet-redesign .rorder-pick small{display:block;font-size:12px}
#tv .crowd-broadcast{padding:8px 10px;min-width:0;outline:0}
#tv .broadcast-meter{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center}
#tv .broadcast-meter>div:not(.crowd-axis){display:flex;align-items:center;gap:6px;font:22px/1 var(--jersey)}
#tv .broadcast-meter>div:first-child{color:var(--gold)}
#tv .crowd-axis{height:26px;position:relative;background:var(--deep);border:2px solid var(--ink)}
#tv .crowd-axis:after{content:'';position:absolute;left:50%;top:-3px;bottom:-3px;width:2px;background:var(--white)}
#tv .crowd-axis i{position:absolute;top:0;bottom:0}
#tv .crowd-axis .towards{right:50%;background:var(--gold)}
#tv .crowd-axis .away{left:50%;background:var(--bad)}
#tv .crowd-word{display:block;text-align:center;color:var(--gold);font:32px/1.1 var(--jersey);margin:2px 0}
#tv .crowd-trace{display:flex;gap:4px;align-items:end;min-width:0}
#tv .crowd-event{flex:1;min-width:0;text-align:center}
#tv .trace-plot{height:55px;position:relative;border-bottom:0;background:linear-gradient(to bottom,transparent 49%,var(--well-line) 49% 51%,transparent 51%)}
#tv .trace-plot i{position:absolute;left:10%;right:10%}
#tv .trace-plot .positive{bottom:50%;background:var(--good)}
#tv .trace-plot .negative{top:50%;background:var(--bad)}
#tv .crowd-event small{display:block;font-size:12px;overflow-wrap:anywhere;line-height:1.1}
#tv .broadcast-redesign .promo-conversation:has(.promo-context){display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:6px;align-items:stretch}
#tv .broadcast-redesign .promo-context{background:var(--paper);color:var(--ink);border:2px solid var(--ink);padding:7px 9px}
#tv .desk-context-title{font:22px/1.1 var(--jersey);color:var(--blood);margin-bottom:4px}
#tv .broadcast-redesign .desk-table .desk-response{width:47%}
@media(max-width:900px){
 #tv .match-desk{grid-template-columns:minmax(0,1fr)}
 #tv .sheet-mobile{display:block;padding:6px 8px}
 #tv .match-desk-sheet:not(:has(.sheet-mobile[open])) .sheet-body{display:none}
 #tv .match-desk-sheet>.desk-title{display:none}
 #tv .desk-rail span{font-size:12px;padding:4px 2px}
 #tv .broadcast-redesign .promo-conversation:has(.promo-context){grid-template-columns:minmax(0,1fr)}
 #tv .desk-table .grid,#tv .desk-table .grid tbody{display:block}
 #tv .desk-table .grid thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #tv .desk-table .grid tr{display:flex;flex-wrap:wrap;align-items:center;border-bottom:1px solid var(--well-line);padding:3px 5px}
 #tv .desk-table .grid tr:nth-child(even){background:var(--well-row)}
 #tv .desk-table .grid td{border:0;background:transparent!important}
 #tv .desk-table .desk-index{width:22px}
 #tv .desk-table .desk-response{flex:1 1 calc(100% - 30px);width:auto!important}
 #tv .desk-table .desk-effect{flex:0 1 auto;font-size:12px;padding:2px 5px}
 #tv .desk-table .desk-effect:before{content:attr(data-label) ' ';color:var(--cyan)}
 #tv .desk-table .row-pick.decision-option{min-height:40px}
 #tv .desk-table .grid tr:focus-within{background:var(--well-hover)}
 #tv .desk-table .grid tr:focus-within td,#tv .desk-table .grid tr:focus-within small,#tv .desk-table .grid tr:focus-within .desk-effect span{color:var(--white)}
 #tv .broadcast-meter>div:not(.crowd-axis){font-size:16px}
 #tv .broadcast-meter .portrait{width:24px;height:30px}
 #tv .desk-line{grid-template-columns:minmax(50px,17%) minmax(0,1fr) 30px;font-size:14px}
}

/* Planning transcript must never grow with its contents. Match the actual #tv
   container and override the shared transcript rule in this stylesheet. */
#tv .s-meeting.sheet-redesign #roomTalk.desk-transcript{
 box-sizing:border-box;height:144px;min-height:144px;max-height:144px;
 flex:0 0 144px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
}
#tv .s-meeting.sheet-redesign .structure-options{grid-template-columns:repeat(2,minmax(0,1fr))}
#tv .s-meeting.sheet-redesign .structure-option .momentum-shape{
 width:100%;height:120px;max-height:none;margin:6px 0 2px;
}
#tv .s-meeting.sheet-redesign .shape-axis{display:flex;justify-content:space-between;font-size:12px}
@media(max-width:520px){
 #tv .s-meeting.sheet-redesign .structure-options{grid-template-columns:minmax(0,1fr)}
 #tv .s-meeting.sheet-redesign .structure-option .momentum-shape{height:128px}
}

/* Finish and spots: match the compact match-sheet mockup. */
#tv .sheet-redesign .desk-rail>*{box-sizing:border-box;min-width:0;width:100%;padding:5px 6px;border:1px solid var(--ink);font:inherit;text-align:left;background:var(--deep);color:var(--dim)}
#tv .sheet-redesign .desk-rail .active{background:var(--gold);color:var(--ink);font-weight:bold}
#tv .sheet-redesign .desk-rail button.complete{cursor:pointer}
#tv .sheet-redesign .desk-rail button:focus-visible{outline:2px solid var(--cyan);outline-offset:-2px}
#tv .board-redesign .match-desk-sheet .momentum-shape{height:50px;width:100%}
#tv .board-redesign .match-night-matchup .mid{display:none}
#tv .board-redesign .match-night-matchup{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;align-items:center}
#tv .board-redesign .match-night-matchup .mu.you{grid-column:1;grid-row:1;justify-content:flex-start;text-align:left}
#tv .board-redesign .match-night-matchup .mu.them{grid-column:2;grid-row:1;justify-content:flex-end;text-align:right}
#tv .board-redesign .match-night-matchup .mu>div{min-width:0}
#tv .board-redesign .match-night-matchup .mu .portrait{flex:none}
#tv .board-redesign .match-attributes{white-space:normal;font-size:14px}
#tv .board-redesign .match-attributes b{display:inline;font-size:inherit}
#tv .board-conversation{position:relative;background:var(--well);color:var(--white);border-bottom:1px solid var(--ink)}
#tv .board-conversation summary{display:flex;align-items:center;gap:8px;padding:5px 8px;cursor:pointer;min-width:0}
#tv .board-conversation summary b{color:var(--cyan)}
#tv .board-conversation summary span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tv .board-conversation summary small{white-space:nowrap;color:var(--dim)}
#tv .board-redesign .board-conversation #roomTalk{position:absolute;top:100%;left:0;right:0;z-index:5;margin:0;box-shadow:0 4px 8px #0008}
#tv .board-redesign .finish-spots{padding:0;display:block}
#tv .board-redesign .rorder-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:0;padding:6px 8px}
#tv .board-redesign .finish-table,#tv .board-redesign .spots-table{width:100%;table-layout:fixed;border-collapse:collapse}
#tv .board-redesign .finish-table th:first-child{width:58%}
#tv .board-redesign .finish-table td,#tv .board-redesign .spots-table td{padding:4px 7px;white-space:normal;overflow-wrap:anywhere;vertical-align:top}
#tv .board-redesign .finish-table .row-pick{width:100%;text-align:left;color:inherit;padding:4px 0;min-height:28px}
#tv .board-redesign :is(.finish-table,.spots-table) tbody td{background:var(--well);color:var(--white)}
#tv .board-redesign :is(.finish-table,.spots-table) tbody tr:nth-child(even) td{background:var(--well-row);color:var(--white)}
#tv .board-redesign .finish-table tbody tr.chosen td{background:var(--gold);color:var(--ink)}
#tv .board-redesign .finish-table tbody tr.chosen .row-pick{color:var(--ink)}
#tv .board-redesign .finish-table tbody tr:not(.chosen) .row-pick{color:var(--white)}
#tv .board-redesign .finish-objection{display:block;font-size:12px}
#tv .board-redesign .finish-preparation{display:flex;align-items:center;gap:10px;padding:8px;margin:6px;background:var(--paper);color:var(--ink);border:2px solid var(--ink);font-size:14px}
#tv .board-redesign .prep-boxes{display:flex;gap:3px;flex:none}
#tv .board-redesign .prep-boxes i{width:16px;height:16px;border:1px solid var(--ink);background:var(--white)}
#tv .board-redesign .prep-boxes i.filled{background:var(--gold)}
#tv .board-redesign .spots-table th:nth-child(1){width:26%}
#tv .board-redesign .spots-table th:nth-child(2){width:18%}
#tv .board-redesign .spots-table th:nth-child(4){width:15%}
#tv .board-redesign button.spot-select{cursor:pointer;border:1px solid var(--well-line);padding:3px 6px;color:var(--white);background:var(--deep);font:inherit;text-align:left;max-width:100%;white-space:normal}
#tv .board-redesign .spot-select[aria-expanded="true"]{color:var(--gold);border-color:var(--gold)}
#tv .board-redesign .spot-expanded[hidden]{display:none}
#tv .board-redesign .spot-expanded td{padding:4px 12px;background:var(--deep)}
#tv .board-redesign .spot-options{display:flex;flex-wrap:wrap;gap:3px;padding:4px 0}
#tv .board-redesign .spot-options .btn{font-size:13px;white-space:normal;text-align:left;min-height:28px}
#tv .board-redesign .finish-fixed td{color:var(--dim)}
#tv .board-redesign .rorder-verdict{margin:4px 8px;font-size:14px}
@media(max-width:600px){
 #tv .board-redesign .finish-table,#tv .board-redesign .spots-table{font-size:13px}
 #tv .board-redesign .finish-table td,#tv .board-redesign .spots-table td{padding:4px}
 #tv .board-redesign .spots-table th:nth-child(2){width:17%}
 #tv .board-redesign .spots-table th:nth-child(4){width:18%}
 #tv .board-redesign .finish-preparation{flex-wrap:wrap}
 #tv .board-redesign .spot-options .btn{min-height:40px}
 #tv .sheet-redesign .desk-rail>*{font-size:12px;padding:4px 2px}
}

/* Compact planning matchup stats: keep each label and value together. */
#tv .s-meeting.sheet-redesign .match-attributes>span{display:contents}
@media(max-width:720px){
 #tv .s-meeting.sheet-redesign .match-night-matchup{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px 6px}
 #tv .s-meeting.sheet-redesign .match-night-matchup .mid{grid-column:1/-1;grid-row:1}
 #tv .s-meeting.sheet-redesign .match-night-matchup .mu{gap:4px;min-width:0}
 #tv .s-meeting.sheet-redesign .match-night-matchup .mu>div{flex:1;min-width:0}
 #tv .s-meeting.sheet-redesign .match-night-matchup .mu .portrait.x2{flex:none;width:30px;height:38px}
 #tv .s-meeting.sheet-redesign .match-night-matchup .mu .match-attributes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 5px;margin:3px 0;white-space:normal;text-align:left}
 #tv .s-meeting.sheet-redesign .match-attributes>.match-stat{display:flex;align-items:baseline;justify-content:space-between;gap:2px;margin:0;font-size:12px;white-space:nowrap}
 #tv .s-meeting.sheet-redesign .match-attributes>.match-stat>b{display:inline;font-size:16px;line-height:1}
 #tv .s-meeting.sheet-redesign .match-attributes>.match-stat-separator{display:none}
}
@media(max-width:350px){
 #tv .s-meeting.sheet-redesign .match-night-matchup .mu .portrait.x2{width:24px;height:30px}
 #tv .s-meeting.sheet-redesign .match-night-matchup .mu .match-attributes{column-gap:3px}
 #tv .s-meeting.sheet-redesign .match-attributes>.match-stat{font-size:11px}
 #tv .s-meeting.sheet-redesign .match-attributes>.match-stat>b{font-size:14px}
}

/* The planning desk is a column of full-width rows, not the old split wbody. */
@media(min-width:901px){
 #tv .s-meeting.sheet-redesign>.win>.wbody{display:flex;flex-direction:column;align-items:stretch;min-width:0;grid-template:none}
 #tv .s-meeting.sheet-redesign .match-desk{grid-template-columns:clamp(220px,23%,340px) minmax(0,1fr);min-width:0}
}
/* Desktop/tablet matchup: keep names, attributes and mood compact. */
@media(min-width:721px){
 #tv .s-meeting.sheet-redesign:not(.board-redesign) .match-night-matchup{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
 #tv .s-meeting.sheet-redesign .match-night-matchup .mu>div{min-width:0}
 #tv .s-meeting.sheet-redesign .match-night-matchup .mu .match-attributes{display:grid;width:max-content;max-width:100%;grid-template-columns:repeat(2,max-content);gap:3px 12px;margin:3px 0;white-space:normal;text-align:left}
 #tv .s-meeting.sheet-redesign .match-night-matchup .mu.them .match-attributes{margin-left:auto}
 #tv .s-meeting.sheet-redesign .match-attributes>.match-stat{display:flex;align-items:baseline;gap:4px;margin:0;font-size:14px;white-space:nowrap}
 #tv .s-meeting.sheet-redesign .match-attributes>.match-stat>b{display:inline;font-size:18px;line-height:1}
 #tv .s-meeting.sheet-redesign .match-attributes>.match-stat-separator{display:none}
}
@media(min-width:1200px){
 #tv .s-meeting.sheet-redesign .match-night-matchup .mu .match-attributes{grid-template-columns:repeat(4,max-content)}
 #tv .s-meeting.sheet-redesign .structure-options{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1450px){
 #tv .s-meeting.sheet-redesign:not(.board-redesign) #roomTalk.desk-transcript{height:112px;min-height:112px;max-height:112px;flex-basis:112px}
}
@media(min-width:2100px){
 #tv .s-meeting.sheet-redesign .structure-options{grid-template-columns:repeat(5,minmax(0,1fr))}
}

/* Use the existing accessible body typeface on desktop planning screens.
   Keep the pixel title bars and wrestler names; leave phone rules alone. */
@media(min-width:721px){
 #tv .s-meeting.sheet-redesign .wbody{font:16px/1.4 'Atkinson Hyperlegible Next',system-ui,sans-serif}
 #tv .s-meeting.sheet-redesign .desk-rail>*{font-size:16px;line-height:1.3}
 #tv .s-meeting.sheet-redesign .sheet-body small,#tv .s-meeting.sheet-redesign .desk-notes{font-size:15px}
 #tv .s-meeting.sheet-redesign .desk-objectives{font-size:16px}
 #tv .s-meeting.sheet-redesign .desk-line{font-size:17px;line-height:1.35}
 #tv .s-meeting.sheet-redesign .desk-line b{font-weight:700}
 #tv .s-meeting.sheet-redesign .match-attributes>.match-stat{font-size:15px}
 #tv .s-meeting.sheet-redesign .match-attributes>.match-stat>b{font:700 17px/1.2 'Atkinson Hyperlegible Next',system-ui,sans-serif}
 #tv .s-meeting.sheet-redesign .structure-option b{font-size:18px;line-height:1.25;font-weight:700}
 #tv .s-meeting.sheet-redesign .structure-option small{font-size:16px;line-height:1.3}
 #tv .s-meeting.sheet-redesign .structure-option .momentum-shape{height:150px}
 #tv .s-meeting.sheet-redesign .structure-option .momentum-shape text{font:12px 'Atkinson Hyperlegible Next',system-ui,sans-serif}
 #tv .s-meeting.sheet-redesign .shape-axis{font-size:14px}
 #tv .s-meeting.sheet-redesign .structure-help,#tv .s-meeting.sheet-redesign .structure-change>summary,#tv .s-meeting.sheet-redesign .structure-lead>span{font-size:16px}
 #tv .s-meeting.sheet-redesign .desk-table .grid{font-size:16px}
 #tv .s-meeting.sheet-redesign .desk-table .grid th,#tv .s-meeting.sheet-redesign .desk-table .desk-effect,#tv .s-meeting.sheet-redesign .desk-table .row-pick small{font-size:15px;line-height:1.3}
 #tv .s-meeting.sheet-redesign .desk-table .row-pick b{font-weight:700}
 #tv .s-meeting.sheet-redesign .finish-objection,#tv .s-meeting.sheet-redesign .spot-options .btn,#tv .s-meeting.sheet-redesign .rorder-verdict,#tv .s-meeting.sheet-redesign .finish-preparation{font-size:15px}
}

/* One-to-one promos are a vertical broadcast desk, not the generic
   split backstage grid. The generic tight well fills its parent; the
   scoreboard must instead occupy only its own content height. */
#tv .s-promo.broadcast-redesign>.win{height:auto;min-height:0;overflow:visible;align-self:start}
#tv .s-promo.broadcast-redesign>.win>.wbody{display:flex;flex-direction:column;align-items:stretch;flex:0 0 auto;min-height:0;overflow:visible}
#tv .s-promo.broadcast-redesign>.win>.wbody>:is(.crowd-broadcast,.promo-conversation,.decide2){flex:0 0 auto;min-width:0;min-height:0;width:100%;box-sizing:border-box}
#tv .s-promo.broadcast-redesign .crowd-broadcast{overflow:visible;padding:5px 8px}
#tv .s-promo.broadcast-redesign .crowd-word{font-size:26px;margin:1px 0}
#tv .s-promo.broadcast-redesign .trace-plot{height:36px}
#tv .s-promo.broadcast-redesign .promo-conversation{min-width:0;max-width:100%}
#tv .s-promo.broadcast-redesign .decide2{border:0}
#tv .s-promo.broadcast-redesign .broadcast-meter{grid-template-columns:minmax(0,auto) minmax(40px,1fr) minmax(0,auto)}
#tv .s-promo.broadcast-redesign .broadcast-meter>div{min-width:0}
#tv .s-promo.broadcast-redesign .broadcast-meter b{overflow-wrap:anywhere;min-width:0}
#tv .s-promo.broadcast-redesign .broadcast-meter .portrait{flex:none}


/* Dense move comparison list. One selectable row, separate description and cost. */
#tv .board-redesign .spot-choice-list{display:grid;width:100%;margin:3px 0 5px;border:1px solid var(--well-line);background:var(--deep)}
#tv .board-redesign .spot-choice-heading{display:flex;justify-content:space-between;gap:8px;padding:4px 8px;color:var(--cyan);font-size:13px;border-bottom:1px solid var(--well-line)}
#tv .board-redesign .spot-choice-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) minmax(0,auto);align-items:center;gap:8px;width:100%;min-width:0;padding:5px 8px;border:0;border-bottom:1px solid var(--well-line);background:var(--well);color:var(--white);text-align:left;font:inherit;cursor:pointer;white-space:normal}
#tv .board-redesign .spot-choice-row:nth-of-type(even){background:var(--well-row)}
#tv .board-redesign .spot-choice-row:last-child{border-bottom:0}
#tv .board-redesign .spot-choice-row.selected{box-shadow:inset 3px 0 var(--gold);background:var(--well-row)}
#tv .board-redesign .spot-choice-row.selected .spot-choice-name{color:var(--gold)}
#tv .board-redesign .spot-choice-row:hover,#tv .board-redesign .spot-choice-row:focus-visible{outline:1px solid var(--gold);outline-offset:-1px}
#tv .board-redesign .spot-choice-name{font-weight:bold;min-width:0;overflow-wrap:anywhere}
#tv .board-redesign .spot-choice-name small{display:block;font-weight:normal;color:var(--white);font-size:.85em}
#tv .board-redesign .spot-choice-detail{min-width:0;color:var(--white);font-weight:normal;font-size:.9em;overflow-wrap:anywhere}
#tv .board-redesign .spot-choice-meta{color:var(--cyan);font-size:.85em;text-align:right}
#tv .board-redesign .spot-choice-row.open-choice{grid-template-columns:1fr;background:var(--deep)}
#tv .board-redesign .spot-choice-row.open-choice .spot-choice-detail,#tv .board-redesign .spot-choice-row.open-choice .spot-choice-meta{display:none}
#tv .board-redesign .spot-choice-list>p{padding:6px 8px;margin:0}
@media(max-width:600px){
 #tv .board-redesign .spot-choice-row{grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;min-height:40px;padding:7px 8px}
 #tv .board-redesign .spot-choice-detail{grid-row:2;grid-column:1/-1}
 #tv .board-redesign .spot-choice-meta{grid-column:2;grid-row:1}
 #tv .board-redesign .spot-choice-heading{flex-wrap:wrap}
 #tv .board-redesign .spot-choice-detail:empty{display:none}
}


/* Shared comparison columns, without repeating labels in each desktop row. */
#tv .board-redesign .spot-choice-columns,#tv .board-redesign .spot-choice-row:not(.open-choice){grid-template-columns:minmax(0,1fr) minmax(0,1.55fr) minmax(64px,.35fr) minmax(65px,.4fr) minmax(75px,.55fr)}
#tv .board-redesign .spot-choice-columns{display:grid;gap:8px;padding:4px 8px;border-bottom:1px solid var(--well-line);color:var(--cyan);font-size:12px}
#tv .board-redesign .spot-choice-columns>span:nth-child(n+3){text-align:right}
#tv .board-redesign .spot-choice-stamina,#tv .board-redesign .spot-choice-crowd{font-size:.9em;text-align:right;font-variant-numeric:tabular-nums}
#tv .board-redesign .spot-mobile-label{display:none}
#tv .board-redesign .open-choice .spot-choice-stamina,#tv .board-redesign .open-choice .spot-choice-crowd{display:none}
@media(max-width:760px){
 #tv .board-redesign .spot-choice-columns{display:none}
 #tv .board-redesign .spot-choice-row:not(.open-choice){grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:3px 8px}
 #tv .board-redesign .spot-choice-name{grid-column:1/-1;grid-row:1}
 #tv .board-redesign .spot-choice-detail{grid-column:1/-1;grid-row:2}
 #tv .board-redesign .spot-choice-detail:empty{display:none}
 #tv .board-redesign .spot-choice-stamina{grid-column:1;grid-row:3;text-align:left}
 #tv .board-redesign .spot-choice-crowd{grid-column:2;grid-row:3;text-align:left}
 #tv .board-redesign .spot-choice-meta{grid-column:3;grid-row:3;overflow-wrap:anywhere}
 #tv .board-redesign .spot-mobile-label{display:inline;color:var(--cyan)}
}


/* Reclaim unused risk/credit space for the move and its tactical detail. */
#tv .board-redesign .spot-choice-list.no-meta .spot-choice-columns,
#tv .board-redesign .spot-choice-list.no-meta .spot-choice-row:not(.open-choice){grid-template-columns:minmax(0,1fr) minmax(0,1.8fr) minmax(64px,.35fr) minmax(65px,.4fr)}
@media(max-width:760px){
 #tv .board-redesign .spot-choice-list.no-meta .spot-choice-row:not(.open-choice){grid-template-columns:repeat(2,minmax(0,1fr))}
}
