.cut-spotlight{position:fixed;inset:0;z-index:2000;pointer-events:none;font-family:inherit;color:#f2f0df;isolation:isolate}
.cut-spotlight-shade{position:fixed;z-index:0;background:transparent;pointer-events:auto;touch-action:none}
.cut-spotlight-ring{position:fixed;z-index:1;box-sizing:border-box;border:3px solid #f0d57f;border-radius:11px;pointer-events:none;box-shadow:0 0 0 3px #f0d57f28,0 0 26px #f0d57f55}
.cut-spotlight-ring[hidden]{display:none}
.cut-spotlight-coach{position:fixed;z-index:2;box-sizing:border-box;display:flex;flex-direction:column;pointer-events:auto;overflow:hidden;background:linear-gradient(145deg,#29402d,#17291e);border:1px solid #e3cc83;border-radius:16px;padding:12px 16px 5px;color:#f2f0df}
.cut-spotlight-coach[hidden]{display:none}
.cut-spotlight-copy{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d7c47b #17291e}
.cut-spotlight-meta{font-size:14px;font-weight:750;letter-spacing:.1em;line-height:1.5;color:#e8d69d}
.cut-spotlight-coach h2{font:inherit;font-weight:800;font-size:25px;letter-spacing:-.025em;line-height:1.15;margin:4px 0;color:#f8f3da}
.cut-spotlight-coach p{font-size:17px;line-height:1.5;margin:0;color:#e0e7d4;text-wrap:pretty}
.cut-spotlight-tools{display:flex;flex:none;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #63805b66;margin-top:6px;padding-top:0}
.cut-spotlight-tools button{font-family:inherit;font-size:15px;font-weight:650;line-height:1.3;min-height:44px;box-sizing:border-box;border:0;background:transparent;padding:6px 3px;border-radius:6px;cursor:pointer;box-shadow:none;color:#d2dfc6}
.cut-spotlight-tools button:hover{background:#b8d89615;color:#fff5d7}
.cut-spotlight-tools button:focus-visible{outline:2px solid #f0d57f;outline-offset:2px}
.cut-spotlight-tools .cut-spotlight-language{min-width:38px;text-align:left;color:#f0dc9e}
.cut-spotlight-tools .cut-spotlight-exit{font-weight:450;text-align:right;text-decoration:underline;text-decoration-color:#d2dfc655;text-underline-offset:3px}
@media(max-width:500px){.cut-spotlight-coach{border-radius:13px;padding:13px 15px 7px}.cut-spotlight-coach h2{font-size:22px;margin:6px 0}.cut-spotlight-coach p{font-size:16px;line-height:1.45}.cut-spotlight-meta{font-size:13px}.cut-spotlight-tools{margin-top:9px}.cut-spotlight-tools button{min-height:44px}}

/* A stable reserved instruction area keeps the whole piece and its previews
   visible, with no board reflow when the next action changes. */
.cut-coach-slot{flex:0 0 clamp(210px,25vh,230px);flex:0 0 clamp(210px,25svh,230px);min-width:0;min-height:0}
.tool-comparison .tool-now.is-parked{border:2px solid #87c7e5;background:#203c40}
.tool-placement-label{color:#c2edff;font-weight:750}
.awaiting-placement{font-size:16px;line-height:1.25;color:#b8c9b0}
.is-guided .action-panel .cut-status{display:none}
.is-guided .sheet-inspection{padding:6px;gap:4px}
.is-guided .sheet-inspection p{display:none}
@media(max-width:700px){
 .is-guided .cut-workspace{grid-template-rows:90px minmax(0,1fr) auto;gap:6px}
 .is-guided .decision-panel .target-box{height:90px;grid-template-rows:24px 18px minmax(16px,1fr);gap:1px 4px;padding:4px 6px}
 .is-guided .decision-panel .target-shape,.is-guided .decision-panel .target-shape svg{width:24px;height:24px}
 .is-guided .tool-comparison>section{height:90px;gap:1px;padding:3px 2px}
 .is-guided .tool-comparison .large-shape,.is-guided .tool-comparison .large-shape svg{height:28px;max-height:28px}
 .is-guided .tool-comparison .tool-count{font-size:13px;line-height:17px;white-space:normal}
 .is-guided .chain-panel .sheet-queue{height:48px;min-height:48px}
 .is-guided .chain-panel .sheet-queue button{height:48px;min-height:48px;min-width:56px;max-width:56px;flex-basis:56px;padding:2px;gap:0}
 .is-guided .chain-panel .sheet-queue svg{height:24px;width:32px}
 .is-guided .board-legend{font-size:13px;line-height:18px;min-height:18px;gap:8px}
 .cut-coach-slot{flex-basis:210px}
 .cut-spotlight-coach{padding:8px 11px 3px}
 .cut-spotlight-coach h2{margin:4px 0}
 .cut-spotlight-tools{margin-top:4px}
}
@media(min-width:560px) and (max-height:420px){
 .is-guided .cut-workspace{grid-template-columns:minmax(0,1fr) 248px;grid-template-rows:minmax(0,1fr);gap:8px}
 .is-guided .play-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.85fr);grid-template-rows:minmax(0,1fr) auto auto;gap:5px}
 .is-guided .board-area{grid-column:1;grid-row:1}
 .is-guided .board-legend{display:none}
 .is-guided .sheet-inspection .inspection-heading{display:none}
 .is-guided .chain-panel{grid-column:1;grid-row:3}
 .is-guided .cut-coach-slot{grid-column:2;grid-row:1/-1}
 .is-guided .decision-panel{grid-template-rows:76px 72px minmax(0,1fr)}
 .is-guided .decision-panel .target-box{height:76px}
 .is-guided .tool-comparison>section{height:72px}
 .is-guided .tool-comparison .tool-count{white-space:normal;font-size:13px;line-height:16px}
 .is-guided .chain-panel .sheet-queue{height:48px;min-height:48px}
 .is-guided .chain-panel .sheet-queue button{height:46px;min-height:46px}
 .is-guided .chain-panel .sheet-queue svg{height:22px}
 .cut-spotlight-coach{padding:7px 9px 3px}
 .cut-spotlight-coach h2{font-size:22px;margin:4px 0}
 .cut-spotlight-coach p{font-size:16px;line-height:1.4}
 .cut-spotlight-meta{font-size:13px;line-height:1.4}
 .cut-spotlight-tools{margin-top:4px;gap:4px}
}
