.hue-lab .heading{margin:12px auto 10px}.hue-lab .heading h1{font-size:27px}.hue-scene{display:block;width:100%;height:285px;touch-action:pan-y pinch-zoom}.hue-scene text{fill:#d3e5ea;font:20px system-ui}.hue-lab .scene-header{gap:8px;padding:8px 12px}.hue-lab #clock{white-space:nowrap}.hue-lab .scene-note{font-size:12px;padding:4px 10px;min-height:34px}.hue-lab .actions{padding:6px;gap:4px}.hue-lab .actions button{min-width:0;white-space:normal;padding:4px}.hue-tools{grid-column:1/-1;font-size:12px}.hue-tools p{margin:4px 0}.hue-lab .choices{gap:4px;margin:4px 0}.hue-lab .choices button{min-width:0;flex:1;font-size:12px;padding:4px}.hue-lab .control{margin:3px 0}.hue-lab .hint{font-size:13px;min-height:38px}.hue-lab input[type=range]{height:44px}.hue-ledger{font-size:12px;padding:3px 10px;color:#efb96c}.hue-comparison{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hue-comparison article{border:1px solid var(--line);border-radius:12px;padding:10px}.hue-comparison .hue-scene{height:auto}.hue-patch{display:inline-block;width:44px;height:25px;border:1px solid #a6b7c9;border-radius:6px;vertical-align:middle;margin-right:6px}.hue-lab .formula{white-space:pre-wrap;font-size:12px}
@media(max-width:760px){.hue-lab .heading{margin:8px auto}.hue-lab .heading h1{font-size:20px}.hue-lab .eyebrow,.hue-lab .question{display:none}.hue-scene{height:175px}.hue-lab .scene-header{font-size:10px}.hue-lab .view{top:6px}.hue-lab .scene-note{font-size:10px;min-height:28px}.hue-ledger{font-size:11px}.hue-lab .controls.compact{padding:10px}.hue-lab .hint{font-size:12px}.hue-comparison{grid-template-columns:1fr}.hue-comparison .hue-scene{height:155px}.hue-lights button{flex-basis:40%!important}}
@media(max-width:360px){.hue-scene{height:155px}.hue-lab .heading h1{font-size:18px}}
@media(max-height:500px) and (min-width:600px){.hue-lab .heading{margin:5px auto}.hue-lab .eyebrow,.hue-lab .question{display:none}.hue-lab .heading h1{font-size:19px}.hue-scene{height:160px}.hue-lab .scene-header{font-size:10px}.hue-lab .scene-note{font-size:10px}.hue-comparison{grid-template-columns:1fr 1fr}}

/* E10: keep live status and light ledgers readable on narrow screens. */
.hue-lab .scene-header,.hue-lab .scene-note,.hue-ledger{font-size:14px;line-height:1.4}
.hue-lab .scene-header strong{min-width:0}
@media(max-width:760px){.hue-lab .scene-header,.hue-lab .scene-note,.hue-ledger{font-size:14px}.hue-lab .scene-note{min-height:0}}
@media(max-height:500px) and (min-width:600px){.hue-scene{height:120px}}
