.cutout-editor { margin:24px 0; border:1px solid var(--line); border-radius:12px; background:var(--panel); }
.cutout-editor summary { padding:16px; cursor:pointer; color:var(--text); font-weight:650; }
.cutout-editor-body { padding:0 16px 16px; }
.cutout-editor-hint { color:var(--muted); font-size:14px; margin:0 0 14px; }
.cutout-editor-controls { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:14px; }
.cutout-editor-controls label { display:grid; grid-template-columns:auto auto; gap:6px 12px; font-size:14px; color:var(--text); }
.cutout-editor-controls input { grid-column:1 / -1; width:145px; accent-color:var(--accent); }
.cutout-editor-controls output { color:var(--muted); text-align:right; }
.cutout-editor-modes { display:flex; flex-wrap:wrap; gap:6px; }
.cutout-editor [aria-pressed=true] { background:var(--surface-4); border-color:var(--accent); color:var(--accent); }
.cutout-editor-view { overflow:auto; max-height:600px; padding:12px; border:1px solid var(--line); border-radius:8px; background:var(--panel-light); }
.cutout-editor canvas { display:block; max-width:none; touch-action:none; cursor:crosshair; background-color:var(--panel-light); background-image:linear-gradient(45deg,var(--surface-4) 25%,transparent 25%),linear-gradient(-45deg,var(--surface-4) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--surface-4) 75%),linear-gradient(-45deg,transparent 75%,var(--surface-4) 75%); background-size:20px 20px; background-position:0 0,0 10px,10px -10px,-10px 0; }
.cutout-editor-actions { display:flex;flex-wrap:wrap;gap:8px;margin-top:14px; }
.cutout-editor canvas { margin:0 auto; }
.cutout-editor-status { color:var(--muted);font-size:14px;min-height:1.5em;margin:12px 0 0; }
@media(max-width:480px){.cutout-editor-body{padding:0 12px 12px}.cutout-editor-controls{gap:12px 18px}.cutout-editor-controls input{width:120px}.cutout-editor-view{max-height:450px}}
