.oc-lab { max-width: 72rem; margin-inline:auto; }
.oc-workbench { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(18rem,1fr); gap:clamp(.9rem,2vw,1.7rem); align-items:start; }
.oc-stage { padding:clamp(.7rem,1.7vw,1.4rem); border:1px solid #335d60; border-radius:1rem; background:#102e34; color:#f1f7ed; position:sticky; top:1rem; }
.oc-stage-heading { display:flex; align-items:baseline; justify-content:space-between; gap:.7rem; flex-wrap:wrap; }
.oc-stage-heading h2,.oc-controls h2 { margin:0; }
.oc-stage-heading span,.oc-stage p { color:#cee4df; }
.oc-stage-heading span {font-size:.85rem;}
.oc-stage canvas {width:100%; height:clamp(20rem,40vw,31rem); display:block; border-radius:.6rem; background:#102e34; }
.oc-stage p { margin:.5rem 0 0; font-size:.94rem; line-height:1.6; }
#oc-state {color:#ffe2a1; min-height:1.65em;}
.oc-controls { padding:clamp(.85rem,2vw,1.35rem);background:var(--sheet);border:1px solid var(--rule);border-radius:.8rem; }
.oc-controls label {display:block;font-weight:650;margin:.5rem 0 .2rem;}
.oc-selects {display:grid;grid-template-columns:1fr 1fr;gap:.6rem;}
.oc-controls select { width:100%; display:block;margin-top:.2rem;background:#fff;min-height:44px;color:var(--ink);border:1px solid #819e9c;padding:.3rem .5rem;font:inherit; }
.oc-controls h3 { margin:.8rem 0 .35rem; }
.oc-controls p,.oc-controls summary { font-size:.96em;line-height:1.65; }
.oc-controls p { margin:.4rem 0 .6rem; }
.oc-controls .actions {margin:.55rem 0;}
.oc-controls button,.oc-controls summary { min-height:44px; }
.oc-controls button[hidden] { display:none; }
.oc-sensor {border-block:1px solid var(--rule);margin-top:1rem;padding:.3rem 0;}
.oc-presets {display:flex;flex-wrap:wrap;gap:.4rem;}
.oc-presets [aria-pressed="true"] {background:var(--deep);color:white;}
.oc-controls input[type=range] {display:block;width:100%;min-height:38px;accent-color:var(--accent);}
.oc-controls output {float:right;font-variant-numeric:tabular-nums;}
.oc-reading {margin-top:1.25rem;}
@media(max-width:760px){.oc-workbench{grid-template-columns:1fr;}.oc-stage{position:static;}.oc-stage canvas{height:clamp(16rem,71vw,26rem);}}
.oc-stage h3 {font-size:1rem;color:#ecf6ef;margin:.75rem 0 .35rem;}
.oc-stage .oc-presets button {background:#1e4046;color:#e7f3ef;border:1px solid #77959a;min-height:44px;}
.oc-stage .oc-presets button[aria-pressed="true"] {background:#d1efe0;color:#123b38;border-color:#d1efe0;}
.oc-stage #oc-pose-help {font-size:.85rem;}

.oc-key {display:flex;flex-wrap:wrap;gap:.3rem .9rem;list-style:none;margin:.65rem 0 .3rem;padding:0;font-size:.88rem;}
.oc-key li {display:flex;align-items:center;gap:.35rem;}
.oc-key li::before {content:"";background:#76b9b2;width:.8rem;height:.5rem;border-radius:.3rem;}
.oc-key li:nth-child(2)::before {background:#c3a6cf;}
.oc-key li:nth-child(3)::before {background:#e4bb7a;}
#oc-compare {margin:.35rem 0;min-height:44px;background:transparent;color:#e8f7ed;border:1px solid #8bafaf;}
@media(max-height:820px){.oc-stage{position:static;}}
