/* Shared workflow refinements. Keep the board and its fixed controls in the
 * same measured column, independent of expanded reference and media panels. */
.producer-workspace.explorer-workspace .host-board-workbench {
  grid-template-columns:var(--desk-explorer,0px) minmax(0,1fr) 0px 5px minmax(155px,min(18vw,var(--host-notation-width,225px)))!important;
}
.producer-workspace.explorer-workspace:not(.explorer-collapsed) .host-board-workbench {--desk-explorer:clamp(155px,14vw,248px)}
.producer-workspace .phase10-board-tools {display:flex;align-items:center;gap:6px;justify-content:center;flex:0 0 auto;max-width:100%;order:10}
.phase10-board-tools .mark-color-strip {display:flex!important;gap:5px}
.phase10-board-tools .mark-color-btn {width:20px;height:20px}
.producer-workspace .phase10-board-tools .producer-dock {position:relative;padding:0 5px}
.producer-workspace .phase10-board-tools .producer-dock>summary {margin:0;font-size:12px}
.producer-workspace .phase10-board-tools .producer-dock[open] {z-index:6}
.producer-workspace .phase10-board-tools .producer-dock[open]>*:not(summary) {position:absolute;bottom:100%;right:0;width:220px;padding:8px;background:#122a2d;border:1px solid #487276}
.producer-workspace .phase10-board-tools .workspace-tool-help {display:none}
.producer-workspace .producer-tools-hidden .phase10-board-tools {display:none}
.producer-workspace .producer-board-controls {grid-template-columns:minmax(145px,1fr) minmax(122px,1fr)}
.producer-workspace .producer-board-controls .btn {white-space:normal;line-height:1.15}
.producer-workspace[data-producer-mode="dedicated"] main.shell:not(.producer-board-focus) {grid-template-rows:auto minmax(0,1fr) minmax(130px,.36fr)!important}
.producer-workspace[data-producer-mode="dedicated"] main.shell.producer-dedicated-board-hidden:not(.producer-board-focus) {grid-template-rows:auto minmax(0,1fr)!important}
.producer-workspace[data-producer-mode="dedicated"] .producer-dedicated-board-hidden .host-board-panel,
.producer-workspace[data-producer-mode="dedicated"] .producer-dedicated-board-hidden .games-panel {display:none!important}
.producer-workspace [data-workspace="editorial"] {grid-template-columns:minmax(0,1.9fr) minmax(275px,1fr);grid-template-rows:minmax(0,1fr)}
.producer-workspace [data-workspace="editorial"] > main.shell {grid-column:2;grid-row:1;display:flex!important;min-height:0!important}
.producer-workspace [data-workspace="editorial"] > main.shell > :not(.producer-live-side) {display:none!important}
.producer-workspace [data-workspace="editorial"] > main.shell>.producer-live-side {display:flex!important;width:100%}
.producer-workspace .producer-workspaces[data-workspace="editorial"] main.shell .host-program-monitor {height:auto!important;overflow:visible!important;flex:none!important}
.producer-workspace .producer-workspaces[data-workspace="editorial"] main.shell .host-preview-screens {display:flex!important;flex-flow:column;flex:none!important}
.producer-workspace .producer-workspaces[data-workspace="editorial"] main.shell .host-program-monitor-screen {width:100%!important;height:auto!important;flex:none;aspect-ratio:16/9;container-type:normal}
.producer-workspace .producer-workspaces[data-workspace="editorial"] main.shell .host-program-monitor-screen iframe {inset:0;transform:none;width:100%!important;height:100%!important}
.producer-workspace [data-workspace="editorial"] .host-preview-screens::before,
.producer-workspace [data-workspace="editorial"] .producer-participant-summary,
.producer-workspace [data-workspace="editorial"] .producer-shortcuts,
.producer-workspace [data-workspace="editorial"] .producer-live-side>.producer-dock,
.producer-workspace [data-workspace="editorial"] #producerLiveToolsDock {display:none!important}
.producer-workspace [data-workspace="editorial"]>.producer-page:not([hidden]) {grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr)}
#phase10StagedStatus {color:#fae0a5;font-size:12px}
.phase10-section-index {display:flex;flex-wrap:wrap;gap:5px;padding:9px 0;position:sticky;top:-1px;z-index:3;background:#102427}
.phase10-section-index .btn {font-size:13px;min-height:32px}
.producer-workspace #presenterBar {display:grid!important;grid-template-columns:auto 1fr auto;gap:8px}
.producer-workspace #presenterBar .presenter-people {grid-column:1/-1}
.producer-workspace #presenterBar .presenter-person.producer-seat {display:grid;grid-template-columns:1fr 1fr;align-content:start;align-items:center;gap:5px;min-width:0}
.producer-workspace #presenterBar .producer-seat > :first-child,.producer-workspace .producer-seat-health {grid-column:1/-1}
.producer-workspace #presenterBar [data-person-status] {display:none!important}
.producer-workspace #presenterBar .producer-seat-health {grid-template-columns:1fr;gap:3px}
.producer-workspace #presenterBar .producer-seat-health span {white-space:normal!important}
.producer-workspace #presenterBar .presenter-media-controls {grid-column:1/-1}
.producer-workspace #studioPanel {width:100%;max-width:1610px}
.producer-workspace #studioPanel #studioGuestName {max-width:34rem}
.producer-workspace #studioPanel #studioGuestRole,.producer-workspace #studioPanel #studioProvider {max-width:22rem}
.producer-workspace #studioCrewFrameSlot:not(:empty) {max-width:900px}
.producer-workspace #studioCrewFrameSlot iframe {height:185px!important}
.guest-console.guest-layout-v2180ai #guestTransitionNotice {padding:2px 9px;margin:0;font-size:12px}
.guest-console #guestProgramPanel iframe {width:100%;height:auto;aspect-ratio:16/9}
@media(min-width:1001px) {
  body.guest-console.guest-layout-v2180ai:not(.guest-stacked-layout):not(.guest-games-collapsed) .guest-workspace {
    grid-template-columns:clamp(190px,min(23vw,var(--guest-games-width,250px)),380px) 6px minmax(0,1fr)!important;
  }
  body.guest-console.guest-layout-v2180ai.guest-reference-expanded:not(.guest-stacked-layout):not(.guest-games-collapsed) .guest-workspace {
    grid-template-columns:clamp(225px,min(28vw,calc(var(--guest-games-width,250px) + 45px)),380px) 6px minmax(0,1fr)!important;
  }
}
@media(max-width:1450px) {
  .producer-workspace .producer-workspaces>main.shell{--producer-games-width:165px;--producer-monitor-width:260px}
}
@media(max-width:1100px) {
  .producer-workspace .producer-status{gap:4px}
  .producer-workspace .producer-status span{font-size:11px}
  .producer-workspace .producer-workspaces>main.shell{--producer-games-width:135px;--producer-monitor-width:232px}
  .producer-workspace.explorer-workspace .host-board-workbench{grid-template-columns:min(130px,var(--desk-explorer,0px)) minmax(0,1fr) 0px 4px minmax(115px,min(18vw,var(--host-notation-width,225px)))!important}
  .producer-workspace .producer-board-controls {grid-template-columns:minmax(0,1fr);gap:2px}
}

/* Legible even when a profile contains only an official standings snapshot. */
#phase6RecapRows.phase10-stat-summary .phase10-stat-metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:4px 0 22px}
.phase10-stat-metrics>div {display:flex;flex-direction:column;justify-content:center;gap:16px;min-height:225px;padding:22px 28px;border:1px solid #6e9992;border-top:4px solid #aedacc;background:linear-gradient(135deg,#28565b,#102a30)}
.phase10-stat-metrics small {font-size:26px;letter-spacing:.045em;color:#b9d9d3}
.phase10-stat-metrics strong {font-size:90px;line-height:1;color:#f4fffb}
#phase6RecapRows.phase10-match-recap {display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
#phase6RecapRows.phase10-match-recap article {min-width:0;min-height:92px;gap:7px}
#phase6RecapRows .phase10-recap-match {display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;padding:8px 14px}
.phase10-recap-match>div {display:flex;gap:9px;align-items:center;justify-content:space-between;padding:4px 7px;border-bottom:1px solid #416b6b}
.phase10-recap-match>div strong {overflow-wrap:anywhere;font-size:23px}
.phase10-recap-match>div b {flex:none;font-size:34px}
.phase10-recap-match .recap-winner {background:#24534a;color:#dcffeb}
.phase10-recap-match footer {grid-column:1/-1;font-size:19px;color:#b5ded0;overflow-wrap:anywhere}
html.tl-teal .rs-score-value.clinched {background:#255b49;color:#edfff7;border-radius:4px;box-shadow:inset 0 -3px #a0d8b9}
html.tl-teal .phase5-canvas .vp2-lower-third .vp2-lower-copy :is(strong,span) {white-space:normal;text-overflow:clip;overflow-wrap:anywhere;line-height:1.08}
html.tl-teal .phase5-canvas .vp2-lower-third.wide-copy .vp2-lower-copy strong {font-size:24px}
html.tl-teal .phase5-desk .vp2-lower-third {bottom:38px}

.producer-workspace .producer-board-controls {width:min(100%,840px);grid-template-columns:minmax(126px,1fr) minmax(120px,1fr) auto}
.producer-workspace .phase10-board-tools {gap:4px}
.producer-workspace .phase10-board-tools #undoLastBtn {font-size:11px}
.producer-workspace .phase10-board-tools [data-board-mode="move"] {grid-column:1/-1}
.producer-workspace .producer-tools-hidden .producer-board-controls {grid-template-columns:minmax(145px,1fr) minmax(120px,1fr)}
@media(max-width:1120px){.producer-workspace .producer-board-controls {grid-template-columns:minmax(120px,1fr) minmax(110px,1fr)}
 .producer-workspace .phase10-board-tools {grid-column:1/-1}}
