.studio-work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.studio-work-grid article:nth-child(3) { border-top-color: #f9bb7c; }
.studio-work-grid article:nth-child(3) .feature-icon { color: #ffd7ad; background: #533b43; }
.lab-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(16px, 3vw, 36px); align-items: start; }
.lab-art { overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); }
.lab-art img { width: 100%; }
.lab-board { padding: clamp(14px, 3vw, 28px); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); }
.lab-stage { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 138px; background: #1b1832; border-radius: 12px; }
.lab-gate { position: relative; width: 76px; height: 97px; border: 13px solid #8b65d9; border-bottom-width: 9px; border-radius: 48px 48px 14px 14px; background: #282143; }
.lab-gate::before { position: absolute; inset: 0; border-radius: inherit; background: #bdeed8; content: ""; transform: scaleY(0); transform-origin: bottom; }
.lab-pad { position: absolute; bottom: 11px; width: 116px; height: 7px; border-radius: 20px; background: #403364; }
.lab-board[data-progress="1"] .lab-gate, .lab-board[data-progress="2"] .lab-gate { border-color: #87d9c2; }
.lab-board[data-progress="2"] .lab-pad, .lab-board[data-progress="3"] .lab-pad { background: #66c9b5; }
.lab-board[data-progress="3"] .lab-gate { border-color: #bdeed8; }
.lab-board[data-progress="3"] .lab-gate::before { transform: scaleY(1); }
.lab-progress { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-block: 13px; }
.lab-progress span { height: 4px; border-radius: 5px; background: #564669; }
.lab-board[data-progress="1"] .lab-progress span:nth-child(1),
.lab-board[data-progress="2"] .lab-progress span:nth-child(-n+2),
.lab-board[data-progress="3"] .lab-progress span { background: #a2e7ce; }
.lab-feedback { min-height: 3.3em; color: var(--ink); }
.lab-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.lab-actions button, .lab-reset { min-height: 44px; border: 1px solid var(--rule); border-radius: 9px; padding: 4px 6px; color: var(--ink); background: var(--wash); font-size: 14px; font-weight: 750; }
.lab-actions button:not([aria-disabled="true"]):hover, .lab-reset:not(:disabled):hover { border-color: var(--accent); color: var(--accent); }
.lab-actions button[aria-disabled="true"] { color: var(--accent); background: transparent; cursor: default; }
.lab-reset { margin-top: 9px; min-width: 115px; background: transparent; }
.lab-reset:disabled { opacity: .6; cursor: default; }
@media (max-width: 760px) {
  .studio-work-grid, .lab-grid { grid-template-columns: 1fr; }
  .lab-board { grid-row: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .lab-gate, .lab-pad, .lab-progress span { transition: background-color 200ms ease, border-color 200ms ease; }
  .lab-gate::before { transition: transform 400ms var(--motion-ease); }
  .lab-actions button:active, .lab-reset:active { transform: scale(.97); }
}
