.color-lab{padding:clamp(14px,3vw,23px);border:1px solid #ded0b9;border-radius:14px;background:#fffaf1;margin:0 0 26px}.color-set{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reveal-figure{margin:0;min-width:0}.reveal-figure h2{font-weight:400;margin:.55rem 0;font-size:clamp(23px,4vw,32px)}.reveal-stage{--color-reveal:50%;position:relative;height:clamp(205px,35vw,300px);border-radius:7px;overflow:hidden;background:#f3ecdf;isolation:isolate}.reveal-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;padding:12px}.reveal-stage .color-layer{clip-path:inset(0 calc(100% - var(--color-reveal)) 0 0);background:#eff0e3}.reveal-stage::after{position:absolute;content:"";top:0;bottom:0;left:var(--color-reveal);width:2px;background:#436753;box-shadow:0 0 4px #fff}.lab-control{display:block;margin-top:13px;font:600 .8rem system-ui;color:#345647}.lab-control input{display:block;width:100%;min-height:40px;accent-color:#496f59;margin:2px 0}.lab-control input:focus-visible{outline:2px solid #295442;outline-offset:2px}.lab-key{display:flex;justify-content:space-between;gap:7px;font:500 .75rem/1.3 system-ui}.lab-key output{font-weight:650;text-align:center;color:#345647}.lab-small{display:flex;align-items:center;gap:12px;font:550 .82rem system-ui;color:#53483d;margin-top:12px}.lab-small img{object-fit:contain}.lab-steps{margin:0 0 20px}.lab-steps a{color:#315345;text-underline-offset:3px}.lab-hint{font:500 .85rem/1.45 system-ui;max-width:62ch;color:#574738;margin:0 0 .6rem}@media(max-width:640px){.color-set{grid-template-columns:1fr}.reveal-figure + .reveal-figure{margin-top:11px}.reveal-stage{height:230px}}
