/* A readable planning/result pair. Secondary content remains in normal page
   flow; only optional utility menus use the inherited overlay behavior. */
.game-page .allocation-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:10px 0 12px;font-variant-numeric:tabular-nums}
.game-page .allocation-choice-col{width:23%}.game-page .allocation-share-col{width:19%}.game-page .allocation-units-col{width:18%}.game-page .allocation-effect-col{width:40%}
.game-page .allocation-table th,.game-page .allocation-table td{padding:10px 5px;text-align:left;vertical-align:middle;border:0;border-bottom:1px solid var(--ck-divider);background:transparent}
.game-page .allocation-table thead th{padding:6px 5px 9px;font-size:14px;font-weight:600;line-height:1.25;color:var(--ck-ink-2)}
.game-page .allocation-table .allocation-row{display:table-row;padding:0}
.game-page .allocation-table tbody th{font-size:17px;line-height:1.2;font-weight:600;color:var(--ck-ink)}
.game-page .allocation-table .allocation-input{display:flex;align-items:center;gap:3px;font-size:15px}
.game-page .allocation-table .allocation-input input{box-sizing:border-box;width:64px;min-height:44px;padding:7px 4px;font-size:21px;line-height:1.2;text-align:right}
.game-page .allocation-units{font-size:21px;line-height:1.2;color:var(--side,var(--ck-ink))}
.game-page .allocation-capability{font-size:16px;line-height:1.35;color:var(--ck-ink)}
.game-page .allocation-capability>span{display:block}
.game-page .allocation-capability strong{font-weight:700}
.game-page .allocation-table .lesson-focus{border-left:0;background:#ebe5cf66}
.game-page .allocation-table .lesson-focus>th{box-shadow:inset 3px 0 var(--ck-brass)}
.game-page .forecast-readable>strong{display:block;font-size:17px;line-height:1.3;color:var(--ck-ink)}
.game-page .research-forecast .forecast-condition{font-size:15px;line-height:1.35;margin:4px 0;color:var(--ck-ink-2)}
.game-page .resolution-secondary{font-size:15px;line-height:1.35;margin:0 0 12px;color:var(--ck-ink-2)}

.game-page.presentation-play .game-wrap{max-width:1500px;padding:10px 20px 34px}
.game-page.presentation-play .game-intro h1{font-size:27px;line-height:1.1;margin-bottom:4px}
.game-page.presentation-play .game-intro p{font-size:15px;line-height:1.3}
.game-page.presentation-play .game-rules-link{font-size:14px}
.game-page.presentation-play .game-toolbar{margin-bottom:10px}
.game-page.presentation-play #game-week-label>strong{font-size:22px}
.game-page.presentation-play #game-week-label>span{font-size:14px}
.game-page.presentation-play .game-toolbar .game-button,.game-page.presentation-play .presentation-tools>summary{min-height:40px;font-size:14px;padding:8px 10px}
.game-page.presentation-play .game-phase{display:grid;grid-template-columns:minmax(220px,.62fr) minmax(0,1fr);gap:12px;padding:7px 13px;margin:0 0 7px;align-items:center}
.game-page.presentation-play[data-presenting=false]:is([data-phase=recap],[data-phase=ended]) .game-phase{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.game-page.presentation-play .game-phase .phase-eyebrow{display:none}
.game-page.presentation-play .game-phase h2{grid-column:1;grid-row:1;font-size:21px;line-height:1.15;margin:0}
.game-page.presentation-play .game-phase #phase-note{grid-column:2;grid-row:1;font-size:15px;line-height:1.3;margin:0}
.game-page.presentation-play .experience-context{font-size:14px;line-height:1.3;margin:0 0 8px}
.game-page.presentation-play .experience-context>strong,.game-page.presentation-play .experience-context details>summary{font-size:14px}
.game-page.presentation-play .game-workspace{grid-template-columns:minmax(0,1fr) minmax(460px,500px);gap:18px;align-items:start}
.game-page.presentation-play .game-score-grid{gap:12px}
.game-page.presentation-play .game-score{padding:8px 10px 10px}
.game-page.presentation-play .score-top h3{font-size:18px}
.game-page .score-territory{font-size:16px;line-height:1.2;color:var(--ck-ink-2);font-variant-numeric:tabular-nums}
.game-page .score-territory small{font-size:13px}
.game-page.presentation-play .concept-score .concept-metrics{grid-template-columns:1.05fr .95fr 1.3fr;gap:3px;margin-top:7px}
.game-page.presentation-play .public-metric{padding:4px 3px;gap:3px;min-height:58px}
.game-page.presentation-play .public-metric>span{font-size:14px;line-height:1.2}
.game-page.presentation-play .public-metric>strong{font-size:23px;line-height:1.1}
.game-page.presentation-play .public-metric>small,.game-page.presentation-play .public-metric strong small{font-size:12px;line-height:1.25}
.game-page.presentation-play .metric-compute>strong{font-size:30px;color:var(--side)}
.game-page.presentation-play #tabletop-host{height:auto;--board-stage-height:clamp(350px,calc(100svh - 330px),460px);margin-top:8px}
.game-page.presentation-play[data-lesson=true] #tabletop-host{--board-stage-height:clamp(350px,calc(100svh - 365px),440px)}
.game-page.presentation-play .presentation-board-tools>summary{font-size:14px;min-height:36px}
.game-page.presentation-play .game-decision{padding:15px;border-top-width:3px}
.game-page.presentation-play .decision-heading{margin-bottom:10px}
.game-page.presentation-play .decision-heading h2{font-size:27px;line-height:1.15}
.game-page.presentation-play .private-label{font-size:12px;letter-spacing:.7px;margin-bottom:4px}
.game-page.presentation-play .decision-capacity{font-size:34px;line-height:1}
.game-page.presentation-play .decision-capacity small{font-size:14px;margin-top:4px}
.game-page .planning-heading-main{display:flex;align-items:center;gap:10px;min-width:0}
.game-page.presentation-play .planning-heading-main h2{font-size:25px}
.game-page .allocation-presets{position:relative;flex:none;font-size:14px}
.game-page .allocation-presets>summary{padding:7px 8px;min-height:36px;line-height:1.4;border:1px solid var(--ck-control-boundary);border-radius:3px;background:var(--ck-mineral)}
.game-page .allocation-presets>.game-presets{position:absolute;z-index:15;left:0;top:calc(100% + 5px);width:max-content;max-width:min(370px,calc(100vw - 50px));padding:10px;margin:0;border:1px solid var(--ck-divider);border-radius:4px;background:var(--ck-ivory);box-shadow:0 5px 18px #17201b2a}
.game-page.presentation-play .planning-form .decision-capacity{white-space:nowrap;font-size:30px}
.game-page.presentation-play .planning-form .decision-capacity small{display:inline;font-size:14px;margin:0 0 0 5px}
.game-page.presentation-play .game-presets{gap:7px;margin:0 0 6px}
.game-page.presentation-play .game-presets .game-button{min-height:38px;font-size:14px;padding:8px 10px}
.game-page.presentation-play .planning-form .allocation-table .allocation-row{display:table-row;padding:0}
.game-page.presentation-play .allocation-table .allocation-input input{min-height:44px;width:64px;font-size:21px}
.game-page.presentation-play .planning-form .research-forecast{padding:10px 12px;margin:10px 0 12px;font-size:17px;line-height:1.3}
.game-page.presentation-play .planning-form .research-forecast .forecast-condition{font-size:15px;line-height:1.35;margin:4px 0}
.game-page.presentation-play .commit-tray{position:static;margin:0;padding:3px 0;gap:10px}
.game-page.presentation-play #allocation-total{font-size:15px;line-height:1.3}
.game-page.presentation-play #commit-week{min-height:46px;font-size:17px;padding:10px 15px}
.game-page.presentation-play .planning-explanation{margin-top:9px;font-size:15px}
.game-page.presentation-play .planning-explanation summary{font-size:15px;line-height:1.4;padding:7px 0;min-height:34px}
.game-page.presentation-play .planning-explanation p{font-size:15px;line-height:1.45}
.game-page.presentation-play .resolution-panel>.decision-heading{margin-bottom:9px}
.game-page.presentation-play .turn-teaching{padding:13px;margin:10px 0 13px}
.game-page.presentation-play .turn-teaching>p{font-size:17px;line-height:1.35;margin:0 0 12px}
.game-page.presentation-play .teaching-facts{gap:16px;font-size:16px;line-height:1.3;margin:10px 0}
.game-page.presentation-play .teaching-facts strong{font-size:22px;line-height:1.15;margin:6px 0}
.game-page.presentation-play .teaching-facts p{font-size:15px;line-height:1.35}
.game-page.presentation-play .turn-teaching .teaching-note{font-size:15px;line-height:1.35;margin:12px 0 0}
.game-page.presentation-play .turn-stepper{margin:12px 0;padding-top:12px;gap:8px}
.game-page.presentation-play .turn-stepper button{min-height:42px;font-size:15px;padding:9px 11px}
.game-page.presentation-play .turn-stepper>span{font-size:14px}
.game-page.presentation-play .resolution-actions{gap:8px}
.game-page.presentation-play .resolution-actions .game-button{min-height:44px;font-size:16px;padding:9px 13px}
.game-page.presentation-play .turn-arithmetic{margin:10px 0;font-size:15px}
.game-page.presentation-play .turn-arithmetic>summary{min-height:34px;font-size:15px;line-height:1.4;padding:7px 0}
.game-page.presentation-play .reveal-panel h2{font-size:26px}
.game-page.presentation-play .reveal-panel>p{font-size:16px;line-height:1.35}
.game-page.presentation-play .handoff-panel{min-height:400px}
.game-page.presentation-play .small-note{font-size:14px!important}

@media(min-width:1151px){
  .game-page.presentation-play .game-wrap{grid-template-columns:minmax(390px,.38fr) minmax(0,1fr);column-gap:14px}
  .game-page.presentation-play .game-intro{margin-bottom:10px;gap:10px}
  .game-page.presentation-play .game-intro>div{min-width:0}
  .game-page.presentation-play #game-root>.game-toolbar{margin-bottom:10px}
  .game-page.presentation-play .connected-context{padding:3px 10px;margin-bottom:8px;gap:6px 12px}
  .game-page.presentation-play .connected-context .connected-steps{flex-basis:275px}
  .game-page.presentation-play .connected-context .connected-steps li{font-size:13px;padding:5px 7px}
  .game-page.presentation-play .connected-context .lesson-known-plan{font-size:13px;white-space:normal}
  .game-page.presentation-play .connected-context .game-button{min-height:36px;font-size:13px}
  .game-page.presentation-play .connected-context details{font-size:13px}
}
@media(max-width:1150px){
  .game-page.presentation-play .game-workspace{grid-template-columns:1fr;gap:14px}
  .game-page.presentation-play .game-arena{display:grid;grid-template-columns:1fr;gap:0}
  .game-page.presentation-play #tabletop-host,.game-page.presentation-play[data-lesson=true] #tabletop-host{--board-stage-height:clamp(350px,52vw,460px)}
  .game-page.presentation-play .game-decision{margin-top:0}
  .game-page.presentation-play .planning-form{display:block}
  .game-page.presentation-play .game-phase{grid-template-columns:1fr}
  .game-page.presentation-play .game-phase #phase-note{grid-column:1;grid-row:2}
}
@media(max-width:650px){
  .game-page.presentation-play .game-wrap{padding:12px 12px 30px}
  .game-page.presentation-play .game-intro{display:block}
  .game-page.presentation-play .game-intro h1{font-size:27px}
  .game-page.presentation-play .game-intro p{font-size:15px;max-width:none}
  .game-page.presentation-play .game-rules-link{display:inline-block;margin-top:8px}
  .game-page.presentation-play .game-phase{padding:10px 12px;gap:6px}
  .game-page.presentation-play .game-phase h2{font-size:23px}
  .game-page.presentation-play .concept-score .concept-metrics{grid-template-columns:1fr 1fr;gap:5px}
  .game-page.presentation-play .concept-score .metric-compute{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto;min-height:54px}
  .game-page.presentation-play .public-metric{min-height:62px}
  .game-page.presentation-play .public-metric>span{font-size:13px}
  .game-page.presentation-play .public-metric>strong{font-size:20px}
  .game-page.presentation-play .metric-compute>strong{font-size:28px}
  .game-page .score-territory{font-size:14px;text-align:right}
  .game-page .score-territory small{display:block;font-size:12px}
  .game-page.presentation-play #tabletop-host,.game-page.presentation-play[data-lesson=true] #tabletop-host{--board-stage-height:340px}
  .game-page.presentation-play .game-decision{padding:14px}
  .game-page.presentation-play .decision-heading h2{font-size:26px}
  .game-page.presentation-play .planning-form .decision-heading{flex-wrap:wrap;gap:9px}
  .game-page .planning-heading-main{width:100%;justify-content:space-between}
  .game-page .allocation-presets>.game-presets{left:auto;right:0}
  .game-page.presentation-play .planning-form .decision-capacity{margin-left:auto}
  .game-page .allocation-table,.game-page .allocation-table tbody{display:block}
  .game-page .allocation-table colgroup,.game-page .allocation-table thead{display:none}
  .game-page .planning-form{display:block}
  .game-page .planning-form .allocation-table .allocation-row,.game-page.presentation-play .planning-form .allocation-table .allocation-row{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px;padding:12px 0;border-bottom:1px solid var(--ck-divider)}
  .game-page .allocation-table .allocation-row>th,.game-page .allocation-table .allocation-row>td{display:block;padding:0;border:0}
  .game-page .allocation-table .allocation-row>th{grid-column:1;grid-row:1;font-size:18px;align-self:center}
  .game-page .allocation-table .allocation-row>td:nth-child(2){grid-column:2;grid-row:1;justify-self:end}
  .game-page .allocation-table .allocation-row>td:nth-child(3){grid-column:1;grid-row:2}
  .game-page .allocation-table .allocation-row>td:nth-child(3)::before{content:'Compute assigned';display:block;font-size:14px;line-height:1.3;color:var(--ck-ink-2);margin-bottom:3px}
  .game-page .allocation-table .allocation-row>td:nth-child(4){grid-column:2;grid-row:2}
  .game-page .allocation-table .allocation-row>td:nth-child(4)::before{content:'Resulting capability';display:block;font-size:14px;line-height:1.3;color:var(--ck-ink-2);margin-bottom:3px}
  .game-page .allocation-table .lesson-focus>th{box-shadow:none}
  .game-page .allocation-units{font-size:23px}
  .game-page .allocation-capability{font-size:16px}
  .game-page.presentation-play .commit-tray{flex-wrap:wrap;padding:8px 0}
  .game-page.presentation-play #commit-week{min-height:46px;margin-left:auto}
  .game-page.presentation-play .teaching-facts{grid-template-columns:1fr}
  .game-page.presentation-play .turn-stepper button,.game-page.presentation-play .resolution-actions .game-button{min-height:44px}
}
