/* Physical detail and state feedback share the Lab's existing scientific channels. */
.lab-activity .lp-hardware{fill:none;pointer-events:none}
.lab-activity .lp-edge-light{fill:none;stroke:#c5e7e2;stroke-opacity:.26;stroke-width:.65;vector-effect:non-scaling-stroke}
.lab-activity .lp-edge-dark{fill:none;stroke:#05161e;stroke-opacity:.74;stroke-width:1.4;vector-effect:non-scaling-stroke}
.lab-activity .lp-fastener{fill:#b4d1d1;stroke:#061b24;stroke-width:.6;opacity:.65}
.lab-activity .fth-group.is-current .lp-edge-light{stroke:#d9b093;stroke-opacity:.75;stroke-width:1}
.lab-activity .gl-inst.is-read{box-shadow:inset 2px 0 0 #84d6d9,inset 0 1px 0 #bfe4df20}
.lab-activity .gl-inst.is-read.is-off{box-shadow:inset 2px 0 0 #e4aa87,inset 0 1px 0 #e4aa8720}
.lab-activity .gl-panel .gl-inst{transition:border-color 160ms ease,background-color 160ms ease,box-shadow 160ms ease}
.lab-activity .gl-figure .gl-cdu{stroke:#88a7ac;stroke-width:1.25}
.lab-activity .gl-figure .gl-rack-body{fill:#1b3540;stroke:#89a9ae;stroke-width:1.25}
.lab-activity .gl-figure .gl-hx-body{fill:#234851}
.lab-activity .gl-figure .gl-plate{stroke:#c3dcdb;stroke-width:.8}
.lab-activity .eb-hall{stroke:#7198a0;fill:#0b232d}
.lab-activity .eb-rack{fill:#23434c;stroke:#8badb1}
.lab-activity .eb-cdu{fill:#234b55;stroke:#98dfe0}
.lab-activity .eb-svg svg[data-choice=a] [data-when=a] .lp-edge-light,
.lab-activity .eb-svg svg[data-choice=b] [data-when=b] .lp-edge-light{stroke:#c6e6df;stroke-opacity:.8}
.lab-activity .fth-group.is-current .fth-box{stroke:#a2c9c8}
.lab-activity .fth-group.is-current .fth-plate{fill:#2d6269;stroke:#b9e2d8}
.lab-activity .fth-group.is-current .fth-cooler-fin{opacity:.5}

/* A sorting desk with a visible route from choice to evidence to confirmation. */
.lab-activity.lab-four-kinds-of-number .fk-table{background-color:#0d2832;border-color:#5a828a;box-shadow:inset 0 1px 0 #c1e0da28,0 14px 32px -28px #06121c}
.lab-activity.lab-four-kinds-of-number .fk-card{background:#f8f5ed;border-color:#aebeb6;box-shadow:inset 0 3px 0 var(--fk-k,#c4ccbd),0 1px 0 #ffffff9c;overflow:visible}
.lab-activity.lab-four-kinds-of-number .fk-card[data-state=chosen]{border-color:#6c9798;box-shadow:inset 0 3px 0 var(--fk-k,#7ba3a3),0 0 0 1px #7aa3a038}
.lab-activity.lab-four-kinds-of-number .fk-card[data-state=retry]{border-color:#bd977b;box-shadow:inset 0 3px 0 #ae7d5e}
.lab-activity.lab-four-kinds-of-number .fk-card[data-state=right],
.lab-activity.lab-four-kinds-of-number .fk-card[data-state=shown]{border-color:#6d9c8b;box-shadow:inset 0 3px 0 var(--fk-k,#6d9c8b)}
.lab-activity.lab-four-kinds-of-number .fk-date{color:#4c645f;letter-spacing:.08em}
.lab-activity.lab-four-kinds-of-number .fk-stamp{min-width:30px;min-height:24px;align-items:center;justify-content:center;border-radius:3px}
.lab-activity.lab-four-kinds-of-number .fk-card[data-kind] .fk-stamp{background:var(--fk-kt,#e1e9db);box-shadow:inset 0 0 0 1px #718c7c30}
.lab-activity.lab-four-kinds-of-number .fk-card .fk-figure{font-variant-numeric:lining-nums tabular-nums}
.lab-activity.lab-four-kinds-of-number .fk-chip{position:relative;background:#fcfbf5;border-color:#bdc9be;box-shadow:inset 0 1px 0 #ffffff;transition:border-color 150ms ease,background-color 150ms ease,box-shadow 150ms ease}
.lab-activity.lab-four-kinds-of-number .fk-option input:hover+.fk-chip{background:#edf2e9;border-color:#6b9899}
.lab-activity.lab-four-kinds-of-number .fk-option input:checked+.fk-chip{background:var(--fk-kt,#e0ebe2);border-color:var(--fk-k,#4b8588);box-shadow:inset 3px 0 0 var(--fk-k,#4b8588),inset 0 0 0 1px #ffffff8a}
.lab-activity.lab-four-kinds-of-number .fk-option.is-tried input:checked+.fk-chip{background:#ebe4d8;border-color:#a18c78;box-shadow:inset 3px 0 0 #a18c78}
.lab-activity.lab-four-kinds-of-number .fk-hint{background:#efe5d7;color:#684936;border-left-color:#b17a55;border-radius:0 4px 4px 0}
.lab-activity.lab-four-kinds-of-number .fk-hint-lead{display:block;margin-bottom:3px;letter-spacing:.015em}
.lab-activity.lab-four-kinds-of-number .fk-verdict-head{padding:8px 10px;border:1px solid #a8c1ae;border-radius:3px;background:#e5eddf;min-height:40px}
.lab-activity.lab-four-kinds-of-number .fk-verdict-note{color:#436754;font-size:12px;letter-spacing:.025em}
.lab-activity.lab-four-kinds-of-number .fk-why{color:#3c514b}
.lp-game-readiness{margin-top:16px;display:flex;align-items:center;gap:18px}
.lab-activity .lp-game-count{flex:none;font:500 12px/1.5 var(--ed-sans,Inter,Arial,sans-serif);color:#b6d2d1;margin:0}
.lp-game-track{display:flex;gap:5px;width:100%;max-width:280px}
.lp-game-segment{height:5px;flex:1;background:#54727a;border-radius:1px;box-shadow:inset 0 0 0 1px #afc9c61a}
.lp-game-segment[data-state=chosen]{background:#c9b083}
.lp-game-segment[data-state=retry]{background:#d49c79}
.lp-game-segment[data-state=right],.lp-game-segment[data-state=shown]{background:#9dcdb1}

/* The viewport is a workbench, with constant-sized controls around the live apparatus. */
.lab-focus-dialog{background:#102731;color:#dbe9e3}
.lab-focus-dialog .lf-header{background:#0c222b;border-bottom-color:#5f8a8c4d}
.lab-focus-dialog .lf-header h2{color:#e9efe3;letter-spacing:-.015em}
.lab-focus-dialog .lf-header>button{background:#17353e;border-color:#668f94;color:#e3f0e8}
.lab-focus-dialog .lf-tabs{background:#102731}
.lab-focus-dialog .lf-tabs button{background:#14313b;border-color:#597f85;color:#b9d5d7;font-weight:500}
.lab-focus-dialog .lf-tabs button[aria-pressed=true]{background:#e9eddf;color:#1b3c43;border-color:#e9eddf;box-shadow:inset 0 -2px 0 #c68c67}
.lab-focus-dialog .lf-stage{background-color:#102731;background-image:linear-gradient(#b7d5d804 1px,transparent 1px),linear-gradient(90deg,#b7d5d804 1px,transparent 1px);background-size:48px 48px}
.lab-focus-dialog .lf-footer{background:#0c222b;border-top-color:#65888c4d}
.lab-focus-dialog .lf-footer>button{background:#17353e;color:#d3e6df;border-color:#5c838b;font-weight:500}
.lab-focus-dialog .lf-position{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#bfd8d7;min-height:32px}
.lf-position-label{display:block;text-wrap:balance}
.lf-game-progress{display:none;gap:4px;align-items:center;justify-content:center;width:100%;max-width:120px}
.lab-focus-dialog[data-kind=card] .lf-game-progress{display:flex}
.lf-game-mark{flex:1;min-width:7px;height:4px;border-radius:1px;background:#3f626c}
.lf-game-mark[data-state=chosen]{background:#d0b283}
.lf-game-mark[data-state=retry]{background:#dda27c}
.lf-game-mark[data-state=right],.lf-game-mark[data-state=shown]{background:#a3d5b2}
.lf-game-mark[data-current=true]{outline:1px solid #b9d9d7;outline-offset:2px}
.lab-focus-dialog[data-phase=right] .lf-position-label{color:#a9d8b9}
.lab-focus-dialog[data-phase=retry] .lf-position-label{color:#e7b899}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card[data-lf-target]{border-radius:5px;box-shadow:inset 0 3px 0 var(--fk-k,#b6c6b7),0 12px 30px -18px #020d13}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-answer{padding-top:14px}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-label{color:#243f3f}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-source{color:#62756b}
.lab-focus-dialog .lab-four-kinds-of-number .fk-controls .fk-status{color:#bed5d2}
.lab-focus-dialog .lab-four-kinds-of-number .fk-controls .lab-button{background:#183943;color:#e2eee4;border-color:#6c9a9e;box-shadow:inset 0 1px 0 #bcddd522}
.lab-focus-dialog .lab-four-kinds-of-number .fk-controls .lab-button.is-primary{background:#e7ecdd;color:#183b40;border-color:#e7ecdd;box-shadow:inset 0 -2px 0 #b58e65}
.lab-focus-dialog .lab-four-kinds-of-number .lab-actions .lab-button{background:#17333e;color:#bfd9d5;border-color:#5f858b}
.lab-focus-dialog .lab-four-kinds-of-number .lab-actions .lab-button.is-primary{background:#e7ecdd;color:#183b40;border-color:#e7ecdd}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-hint{font-size:14px;line-height:1.5}
.lab-focus-dialog .gl-head,.lab-focus-dialog .gl-decide-heading{color:#e6efe5}
.lab-focus-dialog .gl-head .gl-situation{color:#c3d8d3}
.lab-focus-dialog .gl-cases .gl-case{color:#dce9e2;border-top-color:#5c8388}
.lab-focus-dialog .gl-cases .gl-case[aria-current=step]{background:#1c3f48;box-shadow:inset 0 2px 0 #d39c74}
.lab-focus-dialog .gl-cases .gl-case-num{color:#a9c4c4}
.lab-focus-dialog .gl-choice[data-lf-target]{background:#e9ede1;color:#1d3c40;border-color:#a3c0b8;padding:20px;box-shadow:inset 0 2px 0 #ffffff5c}
.lab-focus-dialog .gl-choice[data-lf-target][aria-pressed=true]{background:#d6e7df;border-color:#94b8b4;box-shadow:inset 3px 0 0 #4d8d94;color:#173b3f}
.lab-focus-dialog .gl-show{color:#c6dfda}
.lab-focus-dialog .gl-answer{color:#e6eee4}
.lab-focus-dialog .gl-feedback{background:#efe5d5;color:#5d493b}
.lab-focus-dialog .gl-readout-wrap[data-lf-target]{border:1px solid #5e8b90;box-shadow:inset 0 1px 0 #bee2d225}
.lab-focus-dialog .gl-inst[data-lf-target]{border-radius:4px;padding:18px;border-color:#6c969b;box-shadow:inset 0 1px 0 #d2e4da20}
.lab-focus-dialog .eb-head,.lab-focus-dialog .eb-consequence>h3{color:#e4eee5}
.lab-focus-dialog .eb-framing{color:#c3d8d1}
.lab-focus-dialog .eb-choice[data-lf-target]{background:#e8ede0;border-color:#abc2b6;padding:20px;box-shadow:inset 0 2px 0 #ffffff72}
.lab-focus-dialog .eb-choice[data-lf-target][aria-pressed=true]{background:#d6e7df;box-shadow:inset 3px 0 0 #4b8d96}
.lab-focus-dialog .eb-nav .lab-button{background:#e6ebdd;border-color:#e6ebdd;color:#193b40}
.lab-focus-dialog .eb-consequence [data-lf-target],.lab-focus-dialog .eb-readout>div[data-lf-target]{padding:20px!important;background:#193b45;border:1px solid #628e94;border-radius:4px}
.lab-focus-dialog .eb-readout>div[data-lf-target] dt{color:#b8d6d5}
.lab-focus-dialog .eb-readout>div[data-lf-target] dd{color:#a9e1df}
.lab-focus-dialog .fth-control[data-lf-target]{border:1px solid #628d94;background:#173843;box-shadow:inset 0 1px 0 #b8e1d821}
.lab-focus-dialog .fth-readout>div[data-lf-target]{border-color:#628d94;background:#173843;box-shadow:inset 0 1px 0 #b8e1d821}
.lab-focus-dialog .fth-under .lab-button{background:#173944;border-color:#719ba0;color:#deede5}
.lab-focus-dialog .fth-under .lab-button.is-primary{background:#e7eddf;border-color:#e7eddf;color:#173c42}
.lab-focus-dialog button:focus-visible{outline-color:#a9e2df}
@media(max-width:600px){
 .lab-focus-dialog .lf-position{font-size:10px;line-height:1.35}.lab-focus-dialog .lf-game-progress{max-width:84px}
 .lab-focus-dialog .lab-four-kinds-of-number .fk-card[data-lf-target]{padding:14px!important}
 .lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-verdict-head{padding:7px 8px;gap:5px;min-height:36px}
 .lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-why{font-size:14px;line-height:1.5}
 .lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-source{margin-bottom:10px}
}
@media(max-height:520px) and (orientation:landscape){
 .lab-focus-dialog .lf-position{font-size:11px}.lab-focus-dialog .lf-game-progress{max-width:110px}
 .lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-answer{padding:0}
 .lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-verdict-head{padding:6px 8px;min-height:34px}
 .lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-why{font-size:12px;line-height:1.45;margin-top:8px}
 .lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-hint{font-size:12px;line-height:1.4;padding:8px 10px;margin-top:8px}
 .lab-focus-dialog .gl-inst[data-lf-target]{padding:12px}.lab-focus-dialog .eb-choice[data-lf-target]{padding:14px}
}
@media(prefers-reduced-motion:no-preference){
 html[data-motion=on] .lab-activity.lab-four-kinds-of-number .fk-option input:checked+.fk-chip .fk-glyph{animation:lp-sign-arrive 320ms cubic-bezier(.2,.7,.2,1) both}
 html[data-motion=on] .lab-activity.lab-four-kinds-of-number .fk-card[data-state=right] .fk-verdict-glyph{animation:lp-sign-arrive 420ms cubic-bezier(.2,.7,.2,1) both}
 html[data-motion=on] .lab-activity.lab-four-kinds-of-number .fk-card[data-state=chosen] .fk-stamp{animation:lp-sign-arrive 280ms ease-out both}
}
@keyframes lp-sign-arrive{from{opacity:.3;transform:translateY(3px) scale(.94)}to{opacity:1;transform:none}}
html[data-motion=off] .lab-activity :is(.fk-chip,.fk-stamp,.fk-verdict-glyph){animation:none!important;transition:none!important}
html[data-motion=off] .lab-activity .gl-inst{transition:none!important}
html[data-motion=off] .lab-activity.lab-four-kinds-of-number :is(.fk-card,.fk-card *,.fk-controls button){animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.lab-activity .lp-hardware,.lab-activity :is(.fk-chip,.fk-stamp,.fk-verdict-glyph){animation:none!important;transition:none!important}}
@media(forced-colors:active){.lp-hardware{display:none}.lab-focus-dialog .lf-stage{background:Canvas}.lab-focus-dialog .lf-game-mark{background:CanvasText}.lab-activity.lab-four-kinds-of-number .fk-verdict-head{background:Canvas;color:CanvasText}}

/* A quiet studio surface gives the apparatus and measured pathways the contrast. */
.lab-activity .lp-bevel{fill:none;stroke:#d4ddd9;stroke-opacity:.12;stroke-width:.7;vector-effect:non-scaling-stroke}
.lab-activity .lp-edge-light{stroke:#e0ded0;stroke-opacity:.38;stroke-width:.7}
.lab-activity .lp-edge-dark{stroke:#030d15;stroke-opacity:.82;stroke-width:1.2}
.lab-activity .lp-fastener{fill:#acb9b8;stroke:#182b35;opacity:.7}
.lab-activity .lp-tooling{fill:none;stroke:#b4c0bf;stroke-opacity:.24;stroke-width:.8;vector-effect:non-scaling-stroke}
.lab-activity .fth-group.is-current .lp-edge-light{stroke:#e6c6aa;stroke-opacity:.78}
.lab-activity .fth-scene-grid{display:none}
.lab-activity.lab-expansion-brief .eb{--eb-night:#0b1b23;--eb-grid:none}
.lab-activity.lab-expansion-brief :is(.eb-figure,.eb-controls){background-image:none;box-shadow:none;border-color:#62757c80}
.lab-activity.lab-green-light .gl-figure{--gl-bg:#0b1b23;background-image:none;box-shadow:none;border-color:#62757c80}
.lab-activity .eb-hall{fill:#10232e;stroke:#6e7f86;stroke-width:1}
.lab-activity :is(.gl-cdu,.gl-rack-body,.eb-rack,.eb-drycooler,.eb-chiller){stroke:#8d9c9e;stroke-width:1}
.lab-activity .gl-inst.is-read{box-shadow:inset 2px 0 0 #a7c3c4}
.lab-activity .gl-inst.is-read.is-off{box-shadow:inset 2px 0 0 #c69473}
.lab-activity.lab-four-kinds-of-number .fk-table{background:#0b1b23;border-color:#53636b;box-shadow:none}
.lab-activity.lab-four-kinds-of-number .fk-card{background:#f5f3ec;border-color:#bdc4bc;box-shadow:inset 0 2px 0 #b4c1b9; border-radius:3px}
.lab-activity.lab-four-kinds-of-number .fk-card[data-state=chosen]{border-color:#8b9d9a;box-shadow:inset 0 2px 0 #7c9997}
.lab-activity.lab-four-kinds-of-number .fk-card[data-state=retry]{border-color:#b69b83;box-shadow:inset 0 2px 0 #ba8a65}
.lab-activity.lab-four-kinds-of-number .fk-card:is([data-state=right],[data-state=shown]){border-color:#8da594;box-shadow:inset 0 2px 0 #809d89}
.lab-activity.lab-four-kinds-of-number .fk-chip{background:#faf9f4;border-color:#c5cdc5;box-shadow:none;border-radius:3px}
.lab-activity.lab-four-kinds-of-number .fk-hint{background:#ede4d7;border-radius:0}
.lab-activity.lab-four-kinds-of-number .fk-date{letter-spacing:.02em;text-transform:none;color:#607068}
.lab-activity.lab-four-kinds-of-number .fk-verdict-head{background:#e8eee3;border-color:#b6c7b6;border-radius:2px}
.lab-activity .lp-game-count{color:#b6c7c5}
.lp-game-segment{height:3px;background:#45565e;box-shadow:none}
.lab-focus-launch{background:transparent;color:#18343d;border:0;border-bottom:1px solid #ac8264;border-radius:0;padding-inline:0;font-weight:500;letter-spacing:.01em}
.lab-focus-dialog{background:#0b1b23;color:#dce2dc}
.lab-focus-dialog :is(.lf-header,.lf-tabs,.lf-stage,.lf-footer){background:#0b1b23;background-image:none}
.lab-focus-dialog :is(.lf-header,.lf-footer){border-color:#62727745}
.lab-focus-dialog .lf-header h2{color:#f0eee4;letter-spacing:-.015em}
.lab-focus-dialog :is(.lf-header>button,.lf-footer>button){background:transparent;border-color:#677a8059;color:#dce2dc;box-shadow:none;border-radius:2px;font-weight:400}
.lab-focus-dialog .lf-tabs{gap:12px}
.lab-focus-dialog .lf-tabs button{background:transparent;border-color:transparent;border-radius:0;color:#aebdbd;box-shadow:none;font-weight:400}
.lab-focus-dialog .lf-tabs button[aria-pressed=true]{background:transparent;color:#f0eee4;border-color:transparent;border-bottom-color:#c49a79;box-shadow:none}
.lab-focus-dialog .lf-position{color:#aebebc}
.lab-focus-dialog[data-kind=visual] .gl-diagrams{container-type:inline-size;container-name:glboard;width:100%;justify-self:center}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card[data-lf-target]{box-shadow:inset 0 2px 0 var(--fk-k,#a1b1a6);border-radius:3px}
.lab-focus-dialog :is(.gl-inst[data-lf-target],.gl-readout-wrap[data-lf-target],.fth-control[data-lf-target],.fth-readout>div[data-lf-target],.eb-consequence [data-lf-target],.eb-readout>div[data-lf-target]){background:#132a34;border-color:#73868a80;box-shadow:none}
.lab-focus-dialog .gl-cases .gl-case{border-radius:0;border-top-color:#596a70;background:transparent;color:#dce2dc}
.lab-focus-dialog .gl-cases .gl-case[aria-current=step]{background:#182d36;box-shadow:inset 0 2px 0 #c49a79}
.lab-focus-dialog .gl-cases .gl-case-num{text-transform:none;letter-spacing:.02em}
.lab-focus-dialog .gl-cases .gl-case[aria-current=step] .gl-case-num{color:#d0ad90}
.lab-focus-dialog .gl-head .gl-tag{color:#afbfbd;text-transform:none;letter-spacing:.025em;font-weight:400}
.lab-focus-dialog :is(.gl-choice[data-lf-target],.eb-choice[data-lf-target]){background:#f0efe6;box-shadow:none;border-radius:3px}
.lab-focus-dialog :is(.gl-choice[data-lf-target],.eb-choice[data-lf-target])[aria-pressed=true]{background:#dfe8df;box-shadow:inset 3px 0 0 #779f9e}
.lab-focus-dialog .fth-scene-tools:has(.fth-motion:disabled){display:none!important}
.lab-focus-dialog[data-kind=visual] .fth-figure:has(.fth-motion:disabled){grid-template-rows:minmax(0,1fr) auto}
.lab-focus-dialog .lf-active:has(.gl-cases[data-lf-target]){grid-template-columns:minmax(0,1fr);gap:22px;align-content:center}
.lab-focus-dialog .gl-cases[data-lf-target]{width:100%;max-width:800px;justify-self:center}
.lab-focus-dialog .gl-head[data-lf-target]{grid-area:auto;width:100%;max-width:800px;justify-self:center}
.lab-focus-dialog .gl-cases[data-lf-target] ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media(max-width:600px){
 .lab-focus-dialog .lf-active:has(.gl-cases[data-lf-target]){grid-template-columns:minmax(0,1fr);gap:18px}
 .lab-focus-dialog .gl-cases[data-lf-target] ol{gap:8px}
 .lab-focus-dialog .gl-head[data-lf-target] .gl-case-heading{font-size:27px}
 .lab-focus-dialog .gl-head[data-lf-target] .gl-situation{font-size:15px;line-height:1.55}
}
@media(max-height:520px) and (orientation:landscape){
 .lab-focus-dialog .lf-active:has(.gl-cases[data-lf-target]){grid-template-columns:minmax(0,1fr);gap:8px}
 .lab-focus-dialog .gl-head[data-lf-target] .gl-case-heading{font-size:23px;margin-bottom:6px}
 .lab-focus-dialog .gl-head[data-lf-target] .gl-situation{font-size:14px;line-height:1.4}
 .lab-focus-dialog .gl-cases[data-lf-target] .gl-case{min-height:44px;padding-block:8px;gap:2px}
 .lab-focus-dialog .gl-cases[data-lf-target] .gl-case-title{display:none}
}
@media(min-width:900px) and (min-height:600px){
 .lab-focus-dialog[data-kind=visual] .gl-diagrams{max-width:min(100%,calc((100dvh - 224px)*1.7767))}
}
@media(forced-colors:active){
 .lab-focus-dialog :is(.lf-header,.lf-tabs,.lf-stage,.lf-footer){background:Canvas;color:CanvasText}
 .lab-focus-dialog .lf-tabs button[aria-pressed=true]{border-bottom-color:Highlight;color:Highlight}
}

/* Light is a response to a choice or reading, not an invented operating state. */
.lab-activity .lp-flow-trace{fill:none;stroke:#f4e8cc;stroke-width:1.25;stroke-linecap:round;stroke-dasharray:3 17;opacity:0;pointer-events:none;vector-effect:non-scaling-stroke}
.lab-activity .gl-branch:not(.is-flowing) .lp-flow-trace{display:none}
.lab-activity .fth-group.is-current .lp-bevel{stroke:#e7c4a4;stroke-opacity:.28}
.lab-activity .fth-group.is-dim .lp-hardware{opacity:.5}
.lab-activity .gl-panel .gl-inst.is-read{background:linear-gradient(118deg,#243b43,#142b35);border-color:#80939080}
.lab-activity .gl-panel .gl-inst.is-read.is-off{border-left-color:#c69775}
.lab-activity :is(.gl-inst-value,.gl-readout dd,.eb-readout dd,.fth-readout dd){font-variant-numeric:lining-nums tabular-nums}
.lab-activity.lab-expansion-brief .eb-controls .eb-choice[aria-pressed=true]{background:linear-gradient(120deg,#fbf8ee,#ebece2);box-shadow:inset 3px 0 0 #759a96,inset 0 1px 0 #fff}
.lab-activity.lab-expansion-brief .eb-controls .eb-choice[aria-pressed=true] strong{color:#17373b}
.lab-activity.lab-expansion-brief .eb-controls .eb-choice[aria-pressed=true] small{color:#4a605d}
.lab-activity.lab-four-kinds-of-number .fk-card[data-state=chosen]{background:linear-gradient(145deg,#faf8f0,#f0f1e9);border-color:#8b9d9a}
.lab-activity.lab-four-kinds-of-number .fk-card:is([data-state=right],[data-state=shown]){background:linear-gradient(145deg,#faf9f2,#edf1e6);border-color:#91a58e}
.lab-activity.lab-four-kinds-of-number .fk-option input:checked+.fk-chip{background:var(--fk-kt,#e2eae1);box-shadow:inset 3px 0 0 var(--fk-k,#4b8588),inset 0 1px 0 #fff; border-color:var(--fk-k,#4b8588)}
.lab-activity.lab-four-kinds-of-number .fk-option.is-tried input:checked+.fk-chip{background:#eee6da;box-shadow:inset 3px 0 0 #b58e6e;border-color:#baa38b}
.lab-activity.lab-four-kinds-of-number .fk-card .fk-verdict-head{box-shadow:inset 3px 0 0 #829a7e;background:#e5ecdf;border-color:#bbc9b5}
.lab-activity.lab-four-kinds-of-number .fk-card .fk-verdict-note{color:#476044}
.lab-activity.lab-four-kinds-of-number .fk-card .fk-stamp{background:transparent;box-shadow:none}
.lab-activity.lab-four-kinds-of-number .fk-card[data-state=retry] .fk-hint{border-left-color:#b58a65;background:#eee6da}
.lp-game-segment,.lf-game-mark{transform-origin:left center}
.lab-focus-dialog .lf-game-mark[data-current=true]{outline-color:#d5bc9c;outline-offset:3px}
.lab-focus-dialog[data-phase=right] .lf-position-label{color:#b7d1ab}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 html[data-motion=on] .lab-activity .fk-option input+.fk-chip{transition:background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease}
 html[data-motion=on] .lab-activity .fk-option input:not(:checked):hover+.fk-chip{box-shadow:inset 0 -2px 0 #b9c6b5;background:#fffdf6}
}
@media(prefers-reduced-motion:reduce){.lab-activity .lp-flow-trace{display:none!important}}
html[data-motion=off] .lab-activity .lp-flow-trace{display:none!important}
@media(forced-colors:active){.lab-activity .lp-flow-trace{display:none}.lab-activity.lab-four-kinds-of-number .fk-card{background:Canvas!important}}

/* The first view teaches one idea. Full drawings and source notes remain available. */
.lab-activity.lb-collapsed:not(.lf-active){display:none!important}
.lab-entry{margin:20px 0 30px;padding:24px 26px;border:1px solid #d1d3c9;border-radius:4px;background:#f4f3eb;max-width:780px}
.lab-entry-title{margin:0 0 10px;font:400 clamp(22px,2.4vw,29px)/1.2 var(--ed-display,Georgia,serif);letter-spacing:-.025em;color:#203d40}
.lab-entry-copy{margin:0;max-width:62ch;color:#53625b;font:400 15px/1.65 var(--ed-sans,Arial,sans-serif)}
.lab-entry-actions{display:flex;align-items:center;gap:14px 24px;margin-top:20px;flex-wrap:wrap}
.lab-entry .lab-focus-launch{margin:0;min-height:44px;padding:10px 16px;border:1px solid #263f41;border-radius:3px;background:#263f41;color:#fbfaf2;font-size:14px}
.lab-entry-details{min-height:44px;background:transparent;border:0;border-bottom:1px solid #b5bdb1;padding:8px 0;font:400 13px/1.4 var(--ed-sans,Arial,sans-serif);color:#51615b;cursor:pointer}
.lab-entry button:focus-visible{outline:2px solid #477475;outline-offset:4px}
.lab-activity :is(.fk-chip,.fk-stamp,.fk-verdict-glyph,.lp-hardware){animation:none!important}
.lab-activity .lp-flow-trace{display:none!important}
.lab-focus-dialog{background:#f5f4ec;color:#233d3e}
.lab-focus-dialog :is(.lf-header,.lf-tabs,.lf-stage,.lf-footer){background:#f5f4ec;background-image:none}
.lab-focus-dialog :is(.lf-header,.lf-footer){border-color:#d8dcd1}
.lab-focus-dialog .lf-header{gap:8px;padding:7px 18px}
.lab-focus-dialog .lf-header h2{color:#294142;flex:1;max-width:none;font-size:19px}
.lab-focus-dialog .lf-header>button,.lab-focus-dialog .lf-footer>button{border-color:#bac7bc;background:transparent;color:#294142;flex:none;font-size:13px;padding:8px 12px}
.lab-focus-dialog .lf-header>.lf-detail-link{border-color:transparent;border-bottom-color:#bac7bc}
.lab-focus-dialog .lf-tabs{gap:12px}
.lab-focus-dialog .lf-tabs button{color:#5a6b61}
.lab-focus-dialog .lf-tabs button[aria-pressed=true]{color:#253e3d;border-bottom-color:#a77856}
.lab-focus-dialog .lf-tabs:empty{display:none}
.lab-focus-dialog[data-single-mode=true][open]{grid-template-rows:auto minmax(0,1fr) auto}
.lab-focus-dialog .lf-stage{padding:18px 24px}
.lab-focus-dialog .lf-active{max-width:640px;height:auto;max-height:100%;gap:14px;align-content:center;overflow:visible;color:#233d3e}
.lab-focus-dialog .lf-guide[data-lf-target]{width:100%;max-height:none;padding:0;border:0;box-shadow:none;background:none;color:#233d3e}
.lab-focus-dialog .lf-guide-title{margin:0 0 12px;font:400 27px/1.15 var(--ed-display,Georgia,serif);letter-spacing:-.025em;color:#233d3e}
.lab-focus-dialog .lf-guide-copy{margin:0 0 12px;font:400 15px/1.6 var(--ed-sans,Arial,sans-serif);color:#42594f}
.lab-focus-dialog .lf-guide-copy:last-child{margin-bottom:0}
.lab-focus-dialog .lf-guide-note{margin:12px 0 0;padding-top:12px;border-top:1px solid #d2d9cd;font:400 12px/1.5 var(--ed-sans,Arial,sans-serif);color:#607065}
.lab-focus-dialog .lf-position{color:#597063;font-size:11px;max-width:45%;line-height:1.35}
.lab-focus-dialog .lf-footer>button:last-child:not(:disabled){background:#2c4847;color:#f8f7ed;border-color:#2c4847}
.lab-focus-dialog button:focus-visible{outline-color:#3f7777}
.lf-heat-track{display:flex;gap:5px;margin-top:24px}
.lf-heat-track>span{height:3px;flex:1;background:#ced6ca}
.lf-heat-track>span[data-current=true]{background:#a77755}
.lab-focus-dialog .lf-evidence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:12px 0 0}
.lab-focus-dialog .lf-evidence>div{padding:8px;border:1px solid #cbd5c8;border-radius:3px}
.lab-focus-dialog .lf-evidence dt{font-size:11px;color:#657367}
.lab-focus-dialog .lf-evidence dd{margin:4px 0 0;font-size:16px;color:#294746}
.lab-focus-dialog .lf-active:has(.gl-cases[data-lf-target]){gap:14px}
.lab-focus-dialog .gl-head[data-lf-target]{padding:0}
.lab-focus-dialog .gl-head .gl-tag{color:#627467;margin-bottom:8px}
.lab-focus-dialog .gl-head .gl-tag{display:none}
.lab-focus-dialog .gl-head[data-lf-target] .gl-case-heading{color:#284340;font-size:24px;margin-bottom:8px}
.lab-focus-dialog .gl-head[data-lf-target] .gl-situation{color:#415a4e;font-size:15px;line-height:1.55}
.lab-focus-dialog .gl-cases .gl-case{background:transparent;color:#4d6256;border-color:#c1cdc0;min-height:44px;padding:10px 8px;box-shadow:none}
.lab-focus-dialog .gl-cases .gl-case[aria-current=step]{background:#e8ecdf;color:#29463d;box-shadow:inset 0 2px 0 #a87856}
.lab-focus-dialog .gl-cases .gl-case-num,.lab-focus-dialog .gl-cases .gl-case[aria-current=step] .gl-case-num{color:#67715e;font-size:11px}
.lab-focus-dialog .gl-cases .gl-case-title{font-size:13px;line-height:1.3}
.lab-focus-dialog .gl-inst[data-lf-target]{background:#e9eee3!important;color:#294b47;border:1px solid #b1c4b2;padding:12px 16px;box-shadow:none;min-height:64px}
.lab-focus-dialog .gl-inst[data-lf-target] :is(.gl-inst-head,.gl-inst-detail){color:#4d6657}
.lab-focus-dialog .gl-inst[data-lf-target] .gl-inst-value{color:#274b45}
.lab-focus-dialog .gl-readout-wrap[data-lf-target]{padding:12px 16px!important;border:1px solid #cad6c6;background:#eff1e8;color:#294b45;box-shadow:none}
.lab-focus-dialog .gl-readout-wrap :is(dt,.gl-readout-empty-label,.gl-readout-empty-text){color:#4d6956}
.lab-focus-dialog .gl-readout-wrap .gl-readout dd{color:#2e4a41}
.lab-focus-dialog .gl-readout-wrap .gl-about{color:#4b6254}
.lab-focus-dialog .gl-choice[data-lf-target],.lab-focus-dialog .eb-choice[data-lf-target]{width:100%;min-height:48px;padding:12px 14px;background:#fafaf3;border-color:#bdccba;box-shadow:none;font-size:15px;line-height:1.4;color:#28453b}
.lab-focus-dialog .eb-choice[data-lf-target] :is(strong,small){color:#29493d}
.lab-focus-dialog .eb-choice[data-lf-target] strong{font-size:17px}
.lab-focus-dialog .eb-choice[data-lf-target] small{font-size:13px;line-height:1.4}
.lab-focus-dialog :is(.gl-choice,.eb-choice)[data-lf-target][aria-pressed=true]{background:#e5ecde;box-shadow:inset 3px 0 0 #6e9580}
.lab-focus-dialog .gl-show{color:#5b715f;font-size:13px;min-height:44px}
.lab-focus-dialog .gl-feedback{background:#f0e7d8;color:#654f3a;padding:14px 16px;border:1px solid #dac4a6}
.lab-focus-dialog .gl-feedback-text{font-size:15px;line-height:1.55}
.lab-focus-dialog .gl-answer{color:#2b493c;font-size:18px;line-height:1.5}
.lab-focus-dialog .gl-reason-grid>p[data-lf-target]{color:#3d584b;font-size:15px;line-height:1.6}
.lab-focus-dialog .gl-actions .lab-button,.lab-focus-dialog .eb-nav .lab-button,.lab-focus-dialog .eb-actions .lab-button{background:#e8eddf;color:#2d493e;border:1px solid #b8c7b1;box-shadow:none}
.lab-focus-dialog .gl-actions .is-primary,.lab-focus-dialog .eb-nav .is-primary,.lab-focus-dialog .eb-actions .is-primary{background:#2d4a44;color:#f7f7ed;border-color:#2d4a44}
.lab-focus-dialog .eb-consequence [data-lf-target],.lab-focus-dialog .eb-readout>div[data-lf-target]{padding:12px 16px!important;background:#ebefe3;border-color:#c1cfb8;box-shadow:none;color:#294439}
.lab-focus-dialog .eb-readout>div[data-lf-target] dt{color:#4a6652;font-size:13px}
.lab-focus-dialog .eb-readout>div[data-lf-target] dd{color:#294b3b;font-size:28px;line-height:1.25}
.lab-focus-dialog .eb-readout>div[data-lf-target] small,.lab-focus-dialog .eb-con-text p{color:#4d6353;font-size:14px;line-height:1.5}
.lab-focus-dialog .eb-ref[data-lf-target]{font-size:12px;color:#58705b;padding:0!important;border:0;background:none}
.lab-focus-dialog .eb-share[data-lf-target]{padding:12px 16px;background:#e8eddf;color:#2d4a3b}
.lab-focus-dialog .eb-share-label,.lab-focus-dialog .eb-share .eb-segmented label{color:#385640}
.lab-focus-dialog .fth-control[data-lf-target]{padding:12px 16px;border-color:#c2cfbc;background:#e9eee1;color:#29483c;box-shadow:none}
.lab-focus-dialog .fth-control[data-lf-target] :is(label,legend,.fth-scale,.fth-control-name,.fth-range-value){color:#294f3b}
.lab-focus-dialog .fth-readout>div[data-lf-target]{padding:12px 16px;border-color:#c2cfbc;background:#f8f8ef;color:#294b3c;box-shadow:none}
.lab-focus-dialog .fth-readout>div[data-lf-target] dt{color:#5b715d;font-size:12px}
.lab-focus-dialog .fth-readout>div[data-lf-target] dd{color:#294f3b;font-size:27px;line-height:1.25}
.lab-focus-dialog .fth-readout .fth-gauge{height:22px}
.lab-focus-dialog .fth-key[data-lf-target]{color:#526c56;font-size:14px;line-height:1.6}
.lab-focus-dialog .lab-four-kinds-of-number .fk-controls .fk-status{color:#5b705d}
.lab-focus-dialog .lab-four-kinds-of-number .fk-controls .lab-button{color:#2c493d;background:#eef1e6;border-color:#b7c7ae;box-shadow:none}
.lab-focus-dialog .lab-four-kinds-of-number .fk-controls .is-primary{background:#304e43;color:#f7f8ee;border-color:#304e43;box-shadow:none}
.lab-focus-dialog .lab-four-kinds-of-number .lab-actions .lab-button{background:#e8eddf;color:#294638;border-color:#b3c7ab}
.lab-focus-dialog .lab-four-kinds-of-number .lab-actions .is-primary{background:#304e43;color:#f7f8ee;border-color:#304e43}
.lab-focus-dialog[data-phase=right] .lf-position-label{color:#42704b}
.lab-focus-dialog[data-phase=retry] .lf-position-label{color:#8b6140}
.lab-focus-dialog .lf-game-mark{background:#c7d1bf}
.lab-focus-dialog .lf-game-mark[data-state=right],.lab-focus-dialog .lf-game-mark[data-state=shown]{background:#71966b}
.lab-focus-dialog .lf-game-mark[data-current=true]{outline-color:#ac815f}
.lab-focus-dialog .lf-heat-journey{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:0 0 26px}
.lab-focus-dialog .lf-heat-journey button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-height:62px;padding:7px 8px;border:0;border-top:2px solid #c6d2c4;border-radius:0;background:transparent;color:#58705e;font:400 12px/1.3 var(--ed-sans,Arial,sans-serif);text-align:left}
.lab-focus-dialog .lf-heat-journey button[aria-current=step]{border-top-color:#9f7252;background:#e5eada;color:#2e513d}
.lab-focus-dialog .lf-heat-number{font-size:10px;color:#6d7e69}
.lab-focus-dialog .lab-expansion-brief .eb-choice[data-lf-target]{background:#fafaf3;color:#29493d;box-shadow:none;border-color:#bdccba}
.lab-focus-dialog .lab-expansion-brief .eb-choice[data-lf-target][aria-pressed=true]{background:#e5ecde;color:#29493d;box-shadow:inset 3px 0 0 #6e9580}
#main .ed-lab-tiles svg.ed-scene .s-flow,#main .ed-lab-hero svg.ed-scene .s-flow,#main .ed-invite svg.ed-scene .s-flow,#main .ed-related-lab svg.ed-scene .s-flow{animation:none!important;stroke-dasharray:none}
.lab-focus-dialog .lab-follow-the-heat .fth-instrument{--n-paper:#284e3c;--n-muted:#536d5b;--n-bg:#f5f4ec;--n-water:#4f8884;--n-air:#8c9e80;--n-heat:#a27755;--n-line:#c8d3c2;--n-faint:#d1dacb;--n-deep:#fafaf3;--n-power:#7b7954;color-scheme:light}
.lab-focus-dialog[data-kind=setting] .lab-follow-the-heat{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.lab-focus-dialog[data-kind=setting] .lab-follow-the-heat .lf-guide,.lab-focus-dialog[data-kind=setting] .lab-follow-the-heat .fth-control[data-lf-target]{grid-column:1/-1;grid-row:auto}
.lab-focus-dialog .lab-follow-the-heat .fth-control[data-lf-target]{background:#e9eee1;color:#29483c;border-color:#c2cfbc;box-shadow:none}
.lab-focus-dialog .lab-follow-the-heat .fth-readout>div[data-lf-target]{grid-column:auto;grid-row:auto;display:block;padding:10px 12px;min-height:80px}
.lab-focus-dialog .lab-follow-the-heat .fth-readout dd{display:block}
.lab-focus-dialog .lab-follow-the-heat .fth-gauge{height:14px;margin-top:8px}
.lab-focus-dialog .lab-follow-the-heat .fth-control .fth-route{padding:7px 8px;margin:0;min-height:44px}
.lab-focus-dialog .lab-follow-the-heat .fth-control .fth-route strong{font-size:12px;line-height:1.4}
.lab-focus-dialog .lab-follow-the-heat .fth-control .fth-route small{font-size:11px;line-height:1.4}
.lab-focus-dialog .lab-follow-the-heat .fth-control .fth-token{display:none}
.lab-focus-dialog .lab-follow-the-heat .fth-control legend{min-height:0;margin-bottom:4px;font-size:12px}
.lab-focus-dialog .lab-follow-the-heat .fth-routes[data-lf-target]{padding:8px 10px}
.lab-focus-dialog .lab-follow-the-heat .fth-routes .fth-route{padding:5px 7px}
.lab-focus-dialog .gl-readout-detail[data-lf-target],.lab-focus-dialog .gl-readout-about[data-lf-target]{padding:12px 14px;border:1px solid #c6d2bd;background:#eef1e6;border-radius:3px;color:#385440}
.lab-focus-dialog .lab-green-light .gl-readout-detail[data-lf-target] dt{color:#60735e;font-size:12px}
.lab-focus-dialog .lab-green-light .gl-readout-detail[data-lf-target] dd{color:#2e4d3a;font-size:18px;line-height:1.4}
.lab-focus-dialog .lab-green-light .gl-readout-about[data-lf-target] dd{color:#40583f;font-size:14px;line-height:1.5}
.lab-focus-dialog .lab-green-light .gl-readout-detail[data-lf-target] dd small{color:#60735e}
.lab-focus-dialog .lab-follow-the-heat .fth-readout .fth-v{min-height:0}
.lab-focus-dialog .lab-follow-the-heat .fth-changed{display:none}
.lab-focus-dialog .lab-expansion-brief .eb-controls .eb-choice[data-lf-target]{padding:10px 12px}
.lab-focus-dialog .lab-green-light .gl-choice[data-lf-target]{padding:8px 10px}
.lab-focus-dialog .lab-follow-the-heat .fth-routes legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;padding:0;margin:0;border:0}
@media(max-width:600px){
 .lab-entry{padding:20px;margin-block:16px 24px}.lab-entry-title{font-size:24px}.lab-entry-actions{gap:10px;margin-top:16px}.lab-entry-copy{font-size:14px;line-height:1.6}
 .lab-focus-dialog .lf-header{padding:6px 10px}.lab-focus-dialog .lf-header h2{font-size:17px}.lab-focus-dialog .lf-header>button{padding:7px 9px;font-size:12px}.lab-focus-dialog .lf-stage{padding:12px 14px}.lab-focus-dialog .lf-active{gap:10px}.lab-focus-dialog .lf-guide-title{font-size:25px;margin-bottom:10px}.lab-focus-dialog .lf-guide-copy{font-size:14px;line-height:1.55;margin-bottom:10px}.lab-focus-dialog .lf-guide-note{font-size:12px;line-height:1.45;padding-top:10px;margin-top:10px}.lab-focus-dialog .lf-footer{padding-inline:10px;gap:6px}.lab-focus-dialog .lf-footer>button{padding:8px;font-size:12px}.lab-focus-dialog .lf-position{font-size:10px;max-width:40%}
 .lab-focus-dialog .lf-active:has(.gl-cases[data-lf-target]){gap:12px}.lab-focus-dialog .gl-head[data-lf-target] .gl-case-heading{font-size:23px}.lab-focus-dialog .gl-head[data-lf-target] .gl-situation{font-size:14px}.lab-focus-dialog .gl-cases[data-lf-target] ol{gap:6px}
 .lab-focus-dialog .gl-choice[data-lf-target],.lab-focus-dialog .eb-choice[data-lf-target]{padding:10px 12px;font-size:14px}.lab-focus-dialog .eb-choice[data-lf-target] strong{font-size:16px}.lab-focus-dialog .eb-choice[data-lf-target] small{font-size:12px}
 .lab-focus-dialog .gl-readout-wrap[data-lf-target]{padding:10px 12px!important}.lab-focus-dialog .gl-readout-wrap .gl-about{font-size:13px;line-height:1.5}
 .lab-focus-dialog .lf-heat-journey{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:18px}.lab-focus-dialog .lf-heat-journey button{min-height:44px;gap:2px;padding:5px 7px;font-size:11px}.lab-focus-dialog .lf-heat-number{font-size:9px}
}
@media(max-height:700px) and (orientation:portrait){
 .lab-focus-dialog .lf-guide-title{font-size:22px;margin-bottom:8px}.lab-focus-dialog .lf-guide-copy{font-size:13px;line-height:1.5;margin-bottom:8px}.lab-focus-dialog .lf-guide-note{font-size:11px;line-height:1.4;margin-top:8px;padding-top:8px}.lab-focus-dialog .lf-active{gap:8px}.lab-focus-dialog .lf-stage{padding:10px 12px}
 .lab-focus-dialog .gl-head[data-lf-target] .gl-case-heading{font-size:22px}.lab-focus-dialog .gl-head[data-lf-target] .gl-situation{font-size:13px;line-height:1.5}.lab-focus-dialog .gl-head .gl-tag{font-size:11px;margin-bottom:6px}
 .lab-focus-dialog .fth-control[data-lf-target],.lab-focus-dialog .fth-readout>div[data-lf-target]{padding:10px 12px}.lab-focus-dialog .fth-readout>div[data-lf-target] dd{font-size:24px}.lab-focus-dialog .fth-control .fth-control-note{font-size:11px;line-height:1.4}
 .lab-focus-dialog .lf-evidence{margin-top:8px;gap:4px}.lab-focus-dialog .lf-evidence>div{padding:5px}.lab-focus-dialog .lf-evidence dd{font-size:14px}.lab-focus-dialog .lf-evidence dt{font-size:10px}
 .lab-focus-dialog .gl-feedback-text{font-size:13px;line-height:1.5}.lab-focus-dialog .gl-reason-grid>p[data-lf-target]{font-size:14px;line-height:1.5}
}
@media(max-height:520px) and (orientation:landscape){
 .lab-focus-dialog[open]{grid-template-rows:48px 44px minmax(0,1fr) 50px}.lab-focus-dialog[data-single-mode=true][open]{grid-template-rows:48px minmax(0,1fr) 50px}
 .lab-focus-dialog .lf-header{padding:2px 12px}.lab-focus-dialog .lf-header h2{max-width:none}.lab-focus-dialog .lf-tabs{position:static;padding:0;gap:12px}.lab-focus-dialog .lf-tabs button{padding-block:4px;font-size:12px}.lab-focus-dialog .lf-stage{padding:6px 14px}.lab-focus-dialog .lf-active{max-width:980px;gap:8px}
 .lab-focus-dialog .lf-guide-title{font-size:22px;margin-bottom:6px}.lab-focus-dialog .lf-guide-copy{font-size:13px;line-height:1.5;margin-bottom:6px}.lab-focus-dialog .lf-guide-note{font-size:11px;line-height:1.4;padding-top:6px;margin-top:6px}.lab-focus-dialog .lf-heat-track{margin-top:12px}
 .lab-focus-dialog[data-kind=instrument] .lf-active,.lab-focus-dialog[data-kind=decision] .lab-expansion-brief,.lab-focus-dialog[data-kind=setting] .lf-active{grid-template-columns:1fr 1fr;align-items:center;column-gap:22px}
 .lab-focus-dialog[data-kind=instrument] .lf-guide,.lab-focus-dialog[data-kind=decision] .lab-expansion-brief .lf-guide,.lab-focus-dialog[data-kind=setting] .lf-guide{grid-column:1;grid-row:1 / span 4}
 .lab-focus-dialog[data-kind=instrument] .gl-inst[data-lf-target],.lab-focus-dialog[data-kind=instrument] .gl-readout-wrap[data-lf-target],.lab-focus-dialog[data-kind=decision] .lab-expansion-brief .eb-choice[data-lf-target],.lab-focus-dialog[data-kind=decision] .lab-expansion-brief .eb-readout>div[data-lf-target],.lab-focus-dialog[data-kind=setting] [data-lf-target]:not(.lf-guide){grid-column:2}
 .lab-focus-dialog[data-kind=decision] .lab-green-light{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}.lab-focus-dialog[data-kind=decision] .lab-green-light .lf-guide{grid-column:1/-1}.lab-focus-dialog[data-kind=decision] .lab-green-light .gl-show-wrap{grid-column:1/-1}.lab-focus-dialog[data-kind=decision] .lab-green-light .lf-guide-copy{font-size:12px;margin-bottom:4px}
 .lab-focus-dialog .gl-choice[data-lf-target],.lab-focus-dialog .eb-choice[data-lf-target]{min-height:44px;padding:8px 10px;font-size:13px}.lab-focus-dialog .eb-choice[data-lf-target] strong{font-size:15px}.lab-focus-dialog .eb-choice[data-lf-target] small{font-size:12px}
 .lab-focus-dialog .gl-head[data-lf-target] .gl-case-heading{font-size:22px}.lab-focus-dialog .gl-head[data-lf-target] .gl-situation{font-size:13px;line-height:1.4}.lab-focus-dialog .gl-cases .gl-case-title{display:block}.lab-focus-dialog .lf-active:has(.gl-cases[data-lf-target]){gap:6px}
 .lab-focus-dialog .gl-readout-wrap[data-lf-target]{padding:8px 10px!important}.lab-focus-dialog .gl-readout-wrap .gl-about{font-size:12px;line-height:1.4}.lab-focus-dialog .gl-readout dd{font-size:24px}
 .lab-focus-dialog .eb-readout>div[data-lf-target],.lab-focus-dialog .fth-readout>div[data-lf-target],.lab-focus-dialog .fth-control[data-lf-target]{padding:8px 12px!important}.lab-focus-dialog .eb-readout>div[data-lf-target] dd,.lab-focus-dialog .fth-readout>div[data-lf-target] dd{font-size:23px}.lab-focus-dialog .eb-readout>div[data-lf-target] dt{font-size:12px}
 .lab-focus-dialog .lf-evidence{margin-top:6px;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.lab-focus-dialog .lf-evidence>div{padding:4px 8px;display:flex;align-items:center;justify-content:space-between;gap:8px}.lab-focus-dialog .lf-evidence dd{font-size:13px;margin:0}.lab-focus-dialog .lf-evidence dt{font-size:10px}
 .lab-focus-dialog .gl-reason-grid>p[data-lf-target],.lab-focus-dialog .eb-con-text p{font-size:13px;line-height:1.5}
}

/* A landscape screen keeps its guide beside its controls, with navigation in the header. */
@media(max-height:520px) and (orientation:landscape){
 .lab-focus-dialog[open],.lab-focus-dialog[data-single-mode=true][open]{grid-template-rows:48px minmax(0,1fr) 50px}
 .lab-focus-dialog .lf-tabs{position:absolute;top:2px;left:30%;right:16%;padding:0;z-index:1;gap:6px}
 .lab-focus-dialog .lf-header h2{max-width:27vw}.lab-focus-dialog .lf-header>.lf-detail-link{display:none}
 .lab-focus-dialog[data-kind=heat-guide] .lf-guide{display:grid;grid-template-columns:160px minmax(0,1fr);column-gap:20px}
 .lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey{grid-column:1;grid-row:1 / span 5;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0;align-content:start}
 .lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey button{min-height:44px;font-size:11px;gap:2px;padding:5px 6px}
 .lab-focus-dialog[data-kind=heat-guide] .lf-guide :is(h3,p){grid-column:2}
 .lab-focus-dialog[data-kind=setting] .lab-follow-the-heat{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:7px 18px;align-items:center}
 .lab-focus-dialog[data-kind=setting] .lab-follow-the-heat .lf-guide{grid-column:1;grid-row:1}
 .lab-focus-dialog[data-kind=setting] .lab-follow-the-heat .fth-control[data-lf-target]{grid-column:2;grid-row:1 / span 4}
 .lab-focus-dialog[data-kind=setting] .lab-follow-the-heat .fth-readout>div[data-lf-target]{grid-column:1;min-height:0;padding:7px 10px!important}
 .lab-focus-dialog .lab-follow-the-heat .fth-readout>div[data-lf-target] dt{margin:0;font-size:11px}.lab-focus-dialog .lab-follow-the-heat .fth-readout>div[data-lf-target] dd{font-size:22px}.lab-focus-dialog .lab-follow-the-heat .fth-gauge{margin-top:4px;height:10px}
 .lab-focus-dialog[data-kind=instrument] .lf-active{grid-template-rows:auto auto;align-items:center}
 .lab-focus-dialog[data-kind=instrument] .lf-guide{grid-column:1;grid-row:1}
 .lab-focus-dialog[data-kind=instrument] .gl-inst[data-lf-target]{grid-column:2;grid-row:1}
 .lab-focus-dialog[data-kind=instrument] .gl-readout-about[data-lf-target]{grid-column:1;grid-row:2}
 .lab-focus-dialog[data-kind=instrument] .gl-readout-detail[data-lf-target]{grid-column:2;grid-row:2}
 .lab-focus-dialog .lab-green-light .gl-readout-about[data-lf-target] dd{font-size:13px;line-height:1.5}
 .lab-focus-dialog .gl-readout-detail[data-lf-target],.lab-focus-dialog .gl-readout-about[data-lf-target]{padding:8px 10px}
 .lab-focus-dialog[data-kind=decision] .lab-green-light .lf-guide-copy{font-size:12px;line-height:1.4}
 .lab-focus-dialog .lf-evidence{grid-template-columns:repeat(3,minmax(0,1fr))}
 .lab-focus-dialog .eb-consequence .eb-con-text[data-lf-target]{font-size:14px;line-height:1.5;padding:12px 16px!important}
 .lab-focus-dialog .lab-green-light .gl-reason-grid [data-lf-target] p{font-size:13px;line-height:1.5}
 .lab-focus-dialog .lab-green-light .gl-chip{gap:8px;min-height:34px;padding:6px 10px}
 .lab-focus-dialog .lab-green-light .gl-chip .gl-meter{width:40px}
 .lab-focus-dialog[data-kind=decision] .lab-expansion-brief .lf-guide{grid-column:1;grid-row:1}
 .lab-focus-dialog[data-kind=decision] .lab-expansion-brief .eb-choice[data-lf-target]{grid-column:2;grid-row:auto;padding:8px 10px}
 .lab-focus-dialog[data-kind=decision] .lab-expansion-brief .eb-choice[data-lf-target]:first-child{grid-row:1}
 .lab-focus-dialog[data-kind=decision] .lab-expansion-brief .eb-choice[data-lf-target]:nth-child(2){grid-row:2}
 .lab-focus-dialog[data-kind=decision] .lab-expansion-brief .eb-readout>div[data-lf-target]{grid-column:1;grid-row:2}
 .lab-focus-dialog[data-kind=setting] .lab-expansion-brief .lf-guide{grid-column:1;grid-row:1}
 .lab-focus-dialog[data-kind=setting] .lab-expansion-brief .eb-share[data-lf-target]{grid-column:2;grid-row:1 / span 2}
 .lab-focus-dialog[data-kind=setting] .lab-expansion-brief .eb-readout>div[data-lf-target]{grid-column:1;grid-row:2}
}
/* Eight key readings make one compact comparison, rather than a long stack. */
.lab-focus-dialog .lf-evidence:has(>div:nth-child(7)){grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:600px) and (orientation:portrait){
 .lab-focus-dialog .lf-evidence:has(>div:nth-child(7))>div{padding:5px 4px}
 .lab-focus-dialog .lf-evidence:has(>div:nth-child(7)) dt{min-height:26px;line-height:1.3}
 .lab-focus-dialog .lf-evidence:has(>div:nth-child(7)) dd{font-size:13px}
}

/* Small explanatory drawings. Every state comes from the original activity. */
.lab-focus-dialog .lf-heat-journey{position:relative;isolation:isolate;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,54px);gap:20px 14px;margin:0 0 22px;padding:0}
.lab-focus-dialog .lf-heat-journey .lf-heat-routes{position:absolute;inset:0;width:100%;height:100%;z-index:-1;overflow:visible}
.lab-focus-dialog .lf-heat-journey .lf-heat-routes.is-folded{display:none}
.lf-heat-routes path{fill:none;stroke:#c0cdc2;stroke-width:1.4;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.lab-focus-dialog .lf-heat-journey button{min-height:44px;height:54px;border:1px solid #c6d0c3;border-radius:3px;background:#f8f7ef;gap:3px;padding:6px 8px;color:#526359;font-size:12px;box-shadow:0 1px 0 #fff}
.lab-focus-dialog .lf-heat-journey button[data-stage="0"]{grid-column:1;grid-row:1}
.lab-focus-dialog .lf-heat-journey button[data-stage="1"]{grid-column:2;grid-row:1}
.lab-focus-dialog .lf-heat-journey button[data-stage="2"]{grid-column:3;grid-row:1}
.lab-focus-dialog .lf-heat-journey button[data-stage="3"]{grid-column:4;grid-row:1}
.lab-focus-dialog .lf-heat-journey button[data-stage="4"]{grid-column:2;grid-row:2}
.lab-focus-dialog .lf-heat-journey button[data-stage="5"]{grid-column:3;grid-row:2}
.lab-focus-dialog .lf-heat-journey button[data-stage="6"]{grid-column:4;grid-row:2}
.lab-focus-dialog .lf-heat-journey button[aria-current=step]{background:#294745;border-color:#294745;color:#f7f5e8;box-shadow:inset 0 2px 0 #b88c68}
.lab-focus-dialog .lf-heat-journey button[aria-current=step] .lf-heat-number{color:#d6b594}
.lab-focus-dialog .lf-branch-board,.lab-focus-dialog .lf-hall-figure{margin:18px 0 0;padding:14px 16px;background:#edeFE6;border:1px solid #cbd3c7;border-radius:4px;color:#294740}
.lf-branch-board>figcaption{font:400 12px/1.4 var(--ed-sans,Arial,sans-serif);color:#607064;margin-bottom:9px}
.lf-branch-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.lf-branch-cell{display:flex;flex-direction:column;align-items:center;min-width:0;color:#537b70;font-variant-numeric:tabular-nums}
.lf-branch-name{font-size:11px;line-height:1.4;color:#5f6f62}
.lf-branch-cell svg{display:block;width:100%;height:42px;max-width:110px;margin:4px 0}
.lf-branch-cell svg path{fill:none;stroke:currentColor;stroke-width:1.5;vector-effect:non-scaling-stroke}
.lf-branch-cell svg rect{fill:#dbe5d8;stroke:currentColor;stroke-width:1.3;vector-effect:non-scaling-stroke}
.lf-branch-flow{font-size:16px;font-weight:500;line-height:1.4;color:#284a40;white-space:nowrap}
.lf-branch-return{font-size:11px;line-height:1.5;color:#617565;margin-top:2px}
.lf-branch-cell[data-state=unknown] svg{opacity:.45}.lf-branch-cell[data-state=unknown] path{stroke-dasharray:3 3}.lf-branch-cell[data-state=unknown] .lf-branch-flow{font-size:12px;color:#748271;font-weight:400}
.lf-branch-cell[data-state=stopped]{color:#a87855}.lf-branch-cell[data-state=stopped] svg rect{fill:#ede0d2}.lf-branch-cell[data-state=stopped] svg path{stroke-dasharray:2 3}.lf-branch-cell[data-state=stopped] .lf-branch-flow{color:#885c40}
.lab-focus-dialog .lf-evidence>div{border:0;border-top:2px solid #a6b6a4;background:#eef0e6;border-radius:0;padding:8px 10px}
.lab-focus-dialog .lf-evidence>div[data-reading=flow]{border-top-color:#568777}.lab-focus-dialog .lf-evidence>div[data-reading=stopped]{border-top-color:#af805a;background:#f0e8dc}
.lab-focus-dialog .lf-hall-figure{display:flex;gap:20px;align-items:center;justify-content:center;min-height:94px;padding:10px 14px}
.lf-rack-plan{min-width:0;flex:1}.lf-rack-plan svg{display:block;width:100%;height:86px}.lf-rack-plan svg rect{fill:#31514e;stroke:#24433f;stroke-width:.4}.lf-rack-slot{fill:none;stroke:#e8d3bb;stroke-width:.65;opacity:.75}.lf-rack-plan figcaption,.lf-hall-figure>figcaption{font-size:11px;line-height:1.4;color:#5d7062;text-align:center;margin-top:5px}
.lf-hall-figure[data-chosen="1"] .lf-rack-plan rect{fill:#9c775b;stroke:#795943}
.lf-cooling-path{display:grid;grid-template-columns:.8fr 1.4fr .8fr;gap:20px;width:100%;position:relative;isolation:isolate}
.lf-cooling-path:before{content:'';position:absolute;left:10%;right:10%;top:50%;border-top:2px solid #8fa99b;z-index:-1}
.lf-cooling-node{display:flex;align-items:center;justify-content:center;min-height:56px;border:1px solid #aabdab;background:#f8f8ef;border-radius:3px;font-size:12px;line-height:1.4;padding:9px;text-align:center}
.lf-cooling-node:first-child{background:#e7d5c2;border-color:#c0a489}.lf-cooling-node:last-child{background:#e2e9db;border-color:#9fb695}
.lab-focus-dialog .lf-hall-figure[data-round="2"]{display:block}.lf-test-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.lf-test-level{padding:7px 4px;border-top:3px solid #c8d2c2;background:#f7f7ee;color:#788473;font-size:10px;line-height:1.3;display:flex;flex-direction:column;gap:5px;min-height:62px;text-align:center}.lf-test-level[data-completed=true]{border-top-color:#6d9683;background:#e0e9d9;color:#345843}.lf-level-id{font-size:15px;font-weight:500;letter-spacing:.03em}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card[data-lf-target]{background:#f9f8f1;border:1px solid #bcc7ba;box-shadow:0 4px 18px -14px #334e42,inset 0 3px 0 var(--fk-k,#809c89);border-radius:4px}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card:is(:hover,:has(:focus-visible)){transform:none}
.lab-focus-dialog .lab-four-kinds-of-number .fk-date{display:flex;align-items:center;justify-content:space-between;gap:12px;letter-spacing:.015em}
.lab-focus-dialog .lab-four-kinds-of-number .fk-date>.fk-stamp{display:none}
.lp-sort-receipt{max-width:60%;text-align:right;font-size:10px;font-weight:500;color:#657b68;line-height:1.35}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-figure{letter-spacing:-.035em;font-size:42px;line-height:1.1}.lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-unit{font-size:.4em;margin-left:4px;letter-spacing:.025em;color:#657668}
.lab-focus-dialog .lab-four-kinds-of-number .fk-chip{gap:9px;background:#f3f5ec;border-color:#c3cec0;box-shadow:none;border-radius:3px}
.lab-focus-dialog .lab-four-kinds-of-number .fk-chip .fk-glyph{padding:4px;box-sizing:content-box;background:var(--fk-kt,#e4eadd);border-radius:2px;width:28px;height:18px}
.lab-focus-dialog .lab-four-kinds-of-number .fk-option input:checked+.fk-chip{background:var(--fk-kt,#e0e9d8);box-shadow:inset 0 -2px 0 var(--fk-k,#548576)}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card[data-state=retry]{background:#faf6ec;box-shadow:inset 0 3px 0 #b38a62}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-hint{border:0;border-top:1px solid #d8c9b4;border-bottom:1px solid #d8c9b4;background:#f0e7d9;color:#725337;border-radius:0}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card:is([data-state=right],[data-state=shown]){background:#f2f5e9;box-shadow:inset 0 3px 0 #759570}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-verdict-head{border:0;border-bottom:1px solid #bacbb1;background:transparent;box-shadow:none;border-radius:0;padding-inline:0}
@media(prefers-reduced-motion:no-preference){
 .lab-focus-dialog .lf-heat-journey button,.lab-focus-dialog .fk-chip,.lab-focus-dialog .lf-evidence>div{transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease}
}
@media(max-width:600px){
 .lab-focus-dialog .lf-heat-journey{gap:16px 8px;grid-template-rows:repeat(2,52px);margin-bottom:18px}.lab-focus-dialog .lf-heat-journey button{height:52px;padding:5px 6px;font-size:11px}
 .lab-focus-dialog .lf-hall-figure,.lab-focus-dialog .lf-branch-board{padding:10px;margin-top:14px}.lab-focus-dialog .lf-hall-figure{gap:10px}.lf-rack-plan svg{height:68px}.lf-rack-plan figcaption{font-size:10px}.lf-cooling-path{gap:12px}.lf-cooling-node{font-size:11px;padding:7px;min-height:50px}
 .lf-branch-row{gap:8px}.lf-branch-flow{font-size:14px}.lf-branch-cell svg{height:34px}.lf-branch-return{font-size:10px}.lf-branch-board>figcaption{font-size:11px;margin-bottom:6px}
 .lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-figure{font-size:38px}.lab-focus-dialog .lab-four-kinds-of-number .fk-chip .fk-glyph{width:24px;height:18px;padding:3px}
}
@media(max-height:700px) and (orientation:portrait){
 .lab-focus-dialog .lf-heat-journey{grid-template-rows:repeat(2,48px);gap:14px 6px;margin-bottom:13px}.lab-focus-dialog .lf-heat-journey button{height:48px;font-size:11px;padding:4px 5px}
 .lab-focus-dialog .lf-hall-figure,.lab-focus-dialog .lf-branch-board{margin-top:10px;padding:7px 9px}.lf-rack-plan svg{height:48px}.lf-rack-plan figcaption{font-size:11px;margin-top:3px}.lab-focus-dialog .lf-hall-figure{min-height:66px}.lf-cooling-node{min-height:44px;font-size:11px;padding:5px}.lf-test-level{font-size:11px;min-height:50px;gap:3px;padding:4px 2px}.lf-level-id{font-size:13px}
 .lf-branch-cell svg{height:24px}.lf-branch-flow{font-size:13px}.lf-branch-name{font-size:11px}.lf-branch-return{font-size:12px}
 .lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-figure{font-size:28px}.lab-focus-dialog .lab-four-kinds-of-number .fk-chip .fk-glyph{width:20px;height:16px;padding:2px}.lab-focus-dialog .lp-sort-receipt{display:none}
}
@media(max-height:520px) and (orientation:landscape){
 .lab-focus-dialog[data-kind=heat-guide] .lf-guide{grid-template-columns:minmax(210px,.85fr) minmax(0,1.15fr);column-gap:20px}.lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,50px);gap:18px 7px;align-self:center}.lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey button{height:50px;padding:4px;font-size:11px}
 .lab-focus-dialog .lf-hall-figure,.lab-focus-dialog .lf-branch-board{margin-top:9px;padding:7px 10px;min-height:60px}.lf-rack-plan svg{height:48px}.lf-rack-plan figcaption{margin-top:2px;font-size:11px}.lf-cooling-node{min-height:44px;font-size:11px;padding:4px}.lf-cooling-path{gap:9px}.lf-test-level{font-size:11px;min-height:46px;padding:4px 2px;gap:3px}.lf-level-id{font-size:12px}
 .lab-focus-dialog[data-kind=answer] .lab-green-light{grid-template-columns:1fr 1fr;gap:24px;align-items:center}.lab-focus-dialog[data-kind=case] .lab-green-light .lf-guide{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.lab-focus-dialog[data-kind=case] .lf-guide-title,.lab-focus-dialog[data-kind=case] .lf-guide-copy{grid-column:1}.lab-focus-dialog[data-kind=case] .lf-branch-board{grid-column:2;grid-row:1/span 2;margin-top:0}
 .lf-branch-cell svg{height:24px}.lf-branch-flow{font-size:13px}.lf-branch-name{font-size:11px}.lf-branch-return{font-size:12px}
 .lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-figure{font-size:28px}.lab-focus-dialog .lab-four-kinds-of-number .fk-chip .fk-glyph{width:20px;height:16px;padding:2px}.lab-focus-dialog .lp-sort-receipt{display:none}
}
.lab-focus-dialog .lf-rack-plan figcaption,.lab-focus-dialog .lf-test-level{font-size:11px}
.lab-focus-dialog .lf-branch-return{font-size:12px}.lab-focus-dialog .lp-sort-receipt{font-size:11px}
.lab-focus-dialog .lf-heat-node-head{display:flex;align-items:center;gap:7px;height:14px;min-height:14px}
.lab-focus-dialog .lf-heat-glyph{display:block;width:21px;height:14px;flex:none;overflow:visible}
.lf-heat-glyph path{fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.lab-focus-dialog .lf-heat-node-head .lf-heat-number{font-size:10px;line-height:1}
.lab-focus-dialog .lf-heat-journey button{justify-content:center;gap:2px;padding-block:4px}
/* In the shortest view, the optional route drawing accompanies the result,
   leaving the choice descriptions and measured outcome together without compression. */
@media(max-height:700px) and (orientation:portrait){
 .lab-focus-dialog[data-kind=decision] .lf-hall-figure:is([data-round="1"],[data-round="2"]),.lab-focus-dialog[data-kind=setting] .lf-hall-figure{display:none}
}
@media(max-height:520px) and (orientation:landscape) and (max-width:600px){
 .lab-focus-dialog[data-kind=decision] .lf-hall-figure:is([data-round="1"],[data-round="2"]),.lab-focus-dialog[data-kind=setting] .lf-hall-figure{display:none}
 .lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,44px);gap:8px 14px}
 .lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey button{height:44px;min-height:44px;padding:4px 7px}
 .lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey button[data-stage="0"]{grid-column:1;grid-row:1}
 .lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey button[data-stage="1"]{grid-column:2;grid-row:1}
 .lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey button[data-stage="2"]{grid-column:2;grid-row:2}
 .lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey button[data-stage="3"]{grid-column:2;grid-row:3}
 .lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey button[data-stage="4"]{grid-column:1;grid-row:2}
 .lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey button[data-stage="5"]{grid-column:1;grid-row:3}
 .lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey button[data-stage="6"]{grid-column:1;grid-row:4}
 .lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey .lf-heat-routes{display:none}.lab-focus-dialog[data-kind=heat-guide] .lf-heat-journey .lf-heat-routes.is-folded{display:block}
}

/* Physical apparatus stays within the existing teaching views. */
.lab-activity .lp-recess{fill:#36545e;stroke:#bdd0c2;stroke-width:.6}
.lab-activity .lp-door-handle{fill:none;stroke:#d9e1d5;stroke-width:2;stroke-linecap:round}
.lab-activity .lp-server-tray{fill:#9dafaa;stroke:#253e4b;stroke-width:1}
.lab-activity .lp-tray-seam{fill:none;stroke:#dce4d6;stroke-width:.7}
.lab-activity .lp-server-led{fill:#cee4ad;stroke:#58736c;stroke-width:.4}
.lab-focus-dialog .lf-heat-node-head{height:27px;min-height:27px;width:100%;justify-content:center}
.lab-focus-dialog .lf-heat-glyph{width:43px;height:28px}
.lab-focus-dialog .lf-heat-journey button{align-items:center;text-align:center;gap:0;padding:2px 4px;background:linear-gradient(145deg,#fcfbf4,#edf0e6);box-shadow:inset 0 1px #fff,0 2px 4px -3px #56766a55}
.lab-focus-dialog .lf-heat-journey button[aria-current=step]{background:linear-gradient(145deg,#3d5d5a,#213e45);border-color:#496c68;box-shadow:inset 0 1px #89a79a,0 2px 5px -2px #183b3b55}
.lab-focus-dialog .lf-branch-cell .lf-physical{height:52px;max-width:94px;opacity:1}
.lab-focus-dialog .lf-branch-cell[data-state=unknown] .lf-physical{opacity:.75}
.lab-focus-dialog .lf-branch-cell .lf-physical path{stroke-dasharray:none;vector-effect:none}
.lab-focus-dialog .lf-branch-cell .lf-physical rect{vector-effect:none}
.lf-rack-plan .lf-rack-body{fill:#708c8d!important;stroke:#304e58;stroke-width:.6}
.lf-rack-plan .lf-rack-highlight{fill:none;stroke:#c6d5c8;stroke-width:.65}
.lf-rack-plan .lf-rack-shadow{fill:none;stroke:#29424b;stroke-width:1.2}
.lab-focus-dialog .lf-cooling-node{flex-direction:column;gap:0;padding:3px 5px;border:0;background:transparent;box-shadow:none;min-height:0}
.lab-focus-dialog .lf-cooling-node .lf-physical{display:block;width:78px;height:46px;max-width:100%}
.lab-focus-dialog .lf-cooling-path:before{top:27px;border-color:#b38d6a}
.lab-focus-dialog .lf-cooling-node>span{display:block;background:#edefe6;padding:2px 0}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card[data-lf-target]{background:linear-gradient(125deg,#fffef8,#f4f2e8);border:1px solid #b7c4b6;border-radius:2px;box-shadow:inset 0 1px #fff,inset 0 -3px #e2e5d8,0 6px 12px -9px #31473f88}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card[data-state=chosen]{box-shadow:inset 0 2px #829e89,inset 0 -3px #e0e7da,0 6px 12px -9px #31473f88}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card:is([data-state=right],[data-state=shown]){background:linear-gradient(125deg,#fafff2,#eaf0df);box-shadow:inset 0 2px #759570,inset 0 -3px #d9e2ca,0 5px 12px -9px #31473f88}
.lab-focus-dialog .lab-four-kinds-of-number .fk-chip{background:linear-gradient(#fafbf2,#edf0e4);box-shadow:inset 0 1px #fff}
@media(max-width:600px){.lab-focus-dialog .lf-branch-cell .lf-physical{height:40px}.lab-focus-dialog .lf-cooling-node .lf-physical{height:39px}.lab-focus-dialog .lf-heat-node-head{height:25px;min-height:25px}.lab-focus-dialog .lf-heat-glyph{height:25px;width:39px}}
@media(max-height:700px) and (orientation:portrait){.lab-focus-dialog .lf-branch-cell .lf-physical{height:29px}.lab-focus-dialog .lf-cooling-node .lf-physical{height:28px}.lab-focus-dialog .lf-heat-node-head{height:22px;min-height:22px}.lab-focus-dialog .lf-heat-glyph{height:23px;width:35px}.lab-focus-dialog .lf-cooling-path:before{top:18px}}
@media(max-height:520px) and (orientation:landscape){.lab-focus-dialog .lf-branch-cell .lf-physical{height:29px}.lab-focus-dialog .lf-cooling-node .lf-physical{height:28px}.lab-focus-dialog .lf-heat-node-head{height:21px;min-height:21px}.lab-focus-dialog .lf-heat-glyph{height:22px;width:34px}.lab-focus-dialog .lf-cooling-path:before{top:18px}}

/* Keep a focused choice readable when the full-diagram skin loads later. */
.lab-focus-dialog .lab-activity.lab-expansion-brief .eb-controls .eb-choice[data-lf-target]:hover{background:#f0f2e7;border-color:#8da592;color:#29493d}
.lab-focus-dialog .lab-activity.lab-expansion-brief .eb-controls .eb-choice[data-lf-target][aria-pressed=true]:hover{background:#e5ecde;border-color:#8da592}

/* Fine construction detail carries the same restraint as the Home equipment. */
.lab-activity .lp-tray-grip{fill:none;stroke:#d5e0d0;stroke-width:1.2;stroke-linecap:round}
.lab-focus-dialog .lf-rack-top{fill:#c0d1c2;stroke:#779597;stroke-width:.3}
.lab-focus-dialog .lf-rack-side{fill:#36535e;stroke:#36535e;stroke-width:.3}
.lab-focus-dialog .lf-rack-vent{fill:none;stroke:#35515c;stroke-width:1.6;stroke-dasharray:.6 1}
.lab-focus-dialog .lf-rack-led{fill:#d5ddae;stroke:#446762;stroke-width:.25}
.lab-focus-dialog .lf-branch-board,.lab-focus-dialog .lf-hall-figure{background:linear-gradient(125deg,#f4f5ed,#e9eee3);border-color:#c0cec0;box-shadow:inset 0 1px #fff,inset 0 -1px #d8e0d2}
.lab-focus-dialog .lab-green-light .gl-inst[data-lf-target]{background:linear-gradient(110deg,#e0e7dc 0%,#b8cac1 6%,#d6e0d2 50%,#afc3ba 94%,#e0e7dc 100%)!important;border-color:#90a79d;box-shadow:inset 0 1px #f4f5e8,inset 0 -2px #95ada5,0 4px 8px -7px #294741;padding:12px 16px}
.lab-focus-dialog .lab-green-light .gl-inst[data-lf-target] .gl-inst-value{background:linear-gradient(#17333b,#25494e);color:#e4edda;border:1px solid #869f96;border-radius:2px;box-shadow:inset 0 1px 3px #071b26;padding:3px 9px;min-width:3.4em;text-align:right;line-height:1.3;letter-spacing:.02em}
.lab-focus-dialog .lab-green-light .gl-inst[data-lf-target] .gl-inst-detail{color:#365347}
.lab-focus-dialog .lab-green-light .gl-inst[data-lf-target].is-read{border-left:3px solid #789c7b}
.lab-focus-dialog .lab-green-light .gl-inst[data-lf-target].is-off{border-left-color:#b18561}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card[data-lf-target]{border-color:#b9c6b7;box-shadow:inset 0 1px #fff,inset 0 -2px #d5dfd0,0 2px 0 #ebeee2,0 3px 0 #bdcbbb,0 8px 13px -10px #2d463f7d}
.lab-focus-dialog .lab-four-kinds-of-number .fk-chip{border-bottom-color:#9eb39e;box-shadow:inset 0 1px #fff,inset 0 -1px #dde5d3}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card .fk-verdict-head{border-top:1px solid #c8d5bc;border-bottom:1px solid #b6c9aa;padding-block:7px}
.lab-focus-dialog .lab-four-kinds-of-number .fk-card:is([data-state=right],[data-state=shown]) .fk-verdict-glyph{color:#416a4b}
@media(max-height:700px) and (orientation:portrait){.lab-focus-dialog .lab-green-light .gl-inst[data-lf-target]{padding:10px 12px}.lab-focus-dialog .lab-green-light .gl-inst[data-lf-target] .gl-inst-value{padding:2px 7px;line-height:1.2}}
@media(max-height:520px) and (orientation:landscape){.lab-focus-dialog .lab-green-light .gl-inst[data-lf-target]{padding:8px 12px}.lab-focus-dialog .lab-green-light .gl-inst[data-lf-target] .gl-inst-value{padding:2px 7px;line-height:1.2}}

/* A single controlled response owns each sorting glyph. */
.lab-activity.lab-four-kinds-of-number .fk-option input:checked+.fk-chip .fk-glyph,.lab-activity.lab-four-kinds-of-number .fk-card[data-state=right] .fk-verdict-glyph{animation:none!important}

/* The full diagram's dark-surface text must not override a focused context card. */
.lab-focus-dialog .lab-activity.lab-green-light .gl-readout .gl-readout-detail[data-lf-target] dd{color:#2e4d3a}
.lab-focus-dialog .lab-activity .lm-flow{stroke-dasharray:4 6;stroke-dashoffset:0}
.lab-focus-dialog .lab-activity .lf-branch-cell[data-state=stopped] .lm-flow{opacity:0}
