/* Put the changing consequence beside the scene that explains it. */
.scene-batch-status dl {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;border:1px solid #718e72;border-radius:4px;overflow:hidden;}
.scene-batch-status dl>div {padding:8px;min-width:0;background:#1b4d3e;}
.scene-batch-status dl>div+div {border-left:1px solid #718e72;}
.scene-batch-status dt {font:8px/1.5 var(--mono);color:#d0dfc4;}
.scene-batch-status dd {margin:5px 0 0;font:600 11px/1.45 var(--sans);color:#fff9e8;}
.scene-batch-status dl>div:last-child {background:#4d492e;}
.scene-batch-status[data-state=reviewed] dl>div:last-child {background:#316149;}
#pod .pod-layer-detail {height:auto;min-height:192px;gap:11px;}
#pod .pod-stage {height:auto;min-height:690px;}
#pod .pod-view {flex:none;height:clamp(230px,32vh,300px);}
.pod-layer-readout {align-items:flex-start;}
#pod .pod-layer-readout #scene-batch-action {border:1px solid #d9bc76;background:#f0d399;color:#153e30;max-width:135px;cursor:pointer;}
#pod #pod-record-gap {display:none;}
.supply-stock-rail {margin:0;}
.supply-stock-rail button.supply-scene-label {cursor:pointer;pointer-events:auto;text-align:left;color:inherit;}
.supply-stock-rail button[aria-pressed=true] {background:#e5edcf;border-bottom:3px solid #1a6650;}
.supply-stock-rail button:hover {background:#e1e8cf;}
.supply-stock-rail button:focus-visible {outline:2px solid #123f35;outline-offset:-4px;}
.supply-theatre[data-view=flat] .supply-stock-rail {display:grid;}
.supply-stage[data-trace=resupply] [data-supply-anchor=alone],.supply-stage[data-trace=reserve] [data-supply-anchor=reserve],.supply-stage[data-trace=backup] [data-supply-anchor=backup] {box-shadow:0 0 0 3px #f4ce8270,0 2px 5px #041f1855;border-color:#f4ce82;}
.scene-supply-balance {padding:12px;background:#fffdf2;border-top:1px solid #b4c5a4;border-bottom:1px solid #b4c5a4;}
.scene-supply-balance h4 {font:600 13px/1.45 var(--sans);margin:0 0 10px;color:#173f34;}
.scene-balance-head {display:flex;justify-content:space-between;gap:4px 12px;align-items:baseline;flex-wrap:wrap;margin-bottom:10px;}
.scene-balance-head h4 {margin:0;}
.scene-balance-head>span {font:10px/1.5 var(--sans);color:#4b6552;}
.scene-stock-flow {display:grid;grid-template-columns:1fr 16px 1fr 16px 1fr;align-items:center;gap:3px;}
.scene-stock-flow>div {min-width:0;padding:7px 5px;background:#edf1df;border:1px solid #c0ceb0;text-align:center;border-radius:3px;}
.scene-stock-flow>div:last-child {background:#e0ebc6;border-color:#82a079;}
.scene-stock-flow b {display:block;font:25px/1.2 var(--mono);color:#174a37;}
.scene-supply-balance[data-wide-quantity=true] .scene-stock-flow b {font-size:clamp(12px,2vw,18px);}
.scene-stock-flow span {display:block;font:9px/1.4 var(--sans);color:#3e5c49;margin-top:5px;}
.scene-stock-flow>i {font-style:normal;text-align:center;color:#486a4c;}
.scene-supply-balance p {font:11px/1.65 var(--sans);color:#304e40;margin:9px 0 0;}
.scene-supply-balance p:last-child {border-left:2px solid #b88b40;padding-left:8px;}
#scale .network-pane .output-bars {margin-top:18px;flex-shrink:0;}
#scale .network-pane .bar-axis {flex-shrink:0;}
#network[data-scene-limit=quality] .network-bus {stroke:#f2c675;stroke-width:3;}
#network[data-scene-limit=utilities] .network-bus,#network[data-scene-limit=utilities] .pod-connection {stroke:#dca07c;stroke-dasharray:5 5;}
@media(max-width:760px){
 #pod .pod-stage {height:auto;min-height:670px;}
 #pod .pod-view {flex:none;height:230px;}
 .scene-batch-status dt {font-size:7px;}.scene-batch-status dd {font-size:10px;}
 .scene-batch-status dl>div {padding:7px 6px;}
 #pod .pod-layer-detail {min-height:200px;}
 .scene-stock-flow b {font-size:23px;}
 .scene-supply-balance {padding:10px;}
 #scale .network-pane .output-bars {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;}
 #scale .output-bars>div {display:flex;flex-direction:column;gap:5px;min-width:0;}
 #scale .output-bars>div>span {font-size:9px;line-height:1.4;}
 #scale .output-bars>div>b {font-size:18px;}
 #scale .network-pane .bar-axis {display:block;font-size:8px;line-height:1.5;}
}
@media print {.supply-stock-rail {display:none!important;}#scene-batch-action {display:none;}}
