.recliner {grid-template-columns:minmax(0,1fr) minmax(300px,30%);}
.recliner .stage {background:#8b8171;}
#mechanism-viewport,#mechanism-viewport canvas {display:block;width:100%;height:100%;touch-action:none;}
#mechanism-viewport {position:absolute;inset:0;}
#mechanism-viewport canvas:focus-visible {outline:2px solid #e0c09a;outline-offset:-4px;}
#mechanism-status {position:absolute;z-index:2;inset:auto 12px 15px 12px;margin:auto;width:max-content;max-width:calc(100% - 72px);background:#fcf9f2ef;border-radius:4px;padding:8px 11px;font-size:14px;}
.mechanism-panel {gap:21px;align-content:center;}
.motion-actions {display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.motion-actions .outline {background:#fbf7ef;}
.phase-header,.phase-ends {display:flex;justify-content:space-between;align-items:center;gap:10px;}
.phase-header {font-weight:600;}
.phase-ends,#structure-note {font-size:14px;color:#5a584d;}
#motion-value {font-variant-numeric:tabular-nums;color:#535d45;}
#motion-range {width:100%;margin:6px 0;accent-color:#455740;height:32px;}
.cutaway {min-height:48px;width:100%;font-weight:650;}
.cutaway[aria-pressed=true] {background:#e3e5d9;border-color:#74816b;color:#344333;}
#structure-note {margin-top:8px;line-height:1.55;}
.mechanism-views {grid-template-columns:repeat(3,minmax(0,1fr));}
.mechanism-scope {display:grid;grid-template-columns:max-content minmax(0,1fr);margin:22px 0 38px;gap:14px;line-height:1.7;font-size:14px;color:#515247;background:#ebe9de;padding:13px 17px;border-left:3px solid #878d77;}
.mechanism-scope strong {color:#36392e;}
.mechanism-entry {display:block;text-align:center;min-height:44px;line-height:1.5;padding:11px 8px;font-weight:600;}
@media (max-width:820px){
  .mechanism-panel {padding:14px 15px 16px;gap:13px;}
  .recliner .stage {height:clamp(324px,85vw,540px);}
  .mechanism-scope {margin:15px 0 27px;padding:10px 12px;gap:9px;}
}
.mast-action.upload-entry { min-height:44px; padding:0 16px; text-decoration:none; }
