/* Self-contained Sketch surface. The workbench can mount it without changing its layout. */
.sketch-surface{display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid #e5e5ea;border-radius:20px;background:#fff;color:#1d1d1f;--sketch-line:#e5e5ea;--sketch-muted:#77777f;--sketch-panel:#f6f6f8;--sketch-accent:#1d1d1f}
.sketch-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.sketch-heading h2{font-size:18px;line-height:1.35;margin:0 0 4px}.sketch-heading p{font-size:11px;line-height:1.6;color:var(--sketch-muted);margin:0;max-width:520px}.sketch-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:8px;border:1px solid var(--sketch-line);border-radius:14px;background:var(--sketch-panel)}.sketch-tool-group,.sketch-actions{display:flex;align-items:center;gap:4px}.sketch-tool,.sketch-action{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#5d5d66;font:inherit;font-size:11px;cursor:pointer;transition:background .16s,border-color .16s,color .16s}.sketch-tool:hover,.sketch-action:hover{background:#fff;border-color:var(--sketch-line);color:var(--sketch-accent)}.sketch-tool.is-active{background:#fff;border-color:#d1d1d8;color:var(--sketch-accent);box-shadow:0 1px 4px #0000000b}.sketch-tool:focus-visible,.sketch-action:focus-visible,.sketch-canvas:focus-visible,.sketch-control input:focus-visible{outline:2px solid #0071e3;outline-offset:2px}.sketch-action{border-color:var(--sketch-line);background:#fff}.sketch-action-primary{background:#1d1d1f;color:#fff;border-color:#1d1d1f}.sketch-action-primary:hover{background:#38383d;color:#fff}.sketch-action-danger{color:#9b4337}.sketch-action:disabled{opacity:.45;cursor:not-allowed}.sketch-control{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 6px;font-size:10px;color:var(--sketch-muted);white-space:nowrap}.sketch-control input[type=color]{width:27px;height:27px;padding:1px;border:1px solid var(--sketch-line);border-radius:7px;background:#fff;cursor:pointer}.sketch-width-control input[type=range]{width:76px;accent-color:var(--sketch-accent)}.sketch-width-value{min-width:16px;text-align:center;font-size:10px;color:var(--sketch-muted)}.sketch-actions{margin-left:auto;flex-wrap:wrap}.sketch-canvas-frame{width:100%;overflow:auto;border:1px solid var(--sketch-line);border-radius:14px;background:#fafafa;box-shadow:inset 0 0 0 1px #00000003}.sketch-canvas{display:block;width:100%;min-width:480px;height:auto;touch-action:none;cursor:crosshair}.sketch-canvas.is-eraser{cursor:cell}.sketch-meta{display:flex;align-items:center;gap:13px;flex-wrap:wrap;color:var(--sketch-muted);font-size:10px;line-height:1.7}.sketch-hint{color:#595960}.sketch-model-hint{margin-left:auto}.sketch-count{font-variant-numeric:tabular-nums}.sketch-status{min-height:18px;margin:0;color:#287a45;font-size:11px;line-height:1.6}.sketch-status:empty{display:none}
@media(max-width:760px){.sketch-surface{padding:14px;border-radius:16px}.sketch-heading{display:block}.sketch-heading p{margin-top:6px}.sketch-toolbar{gap:6px}.sketch-actions{margin-left:0;width:100%;justify-content:flex-start}.sketch-model-hint{margin-left:0}.sketch-canvas{min-width:380px}}
@media(prefers-reduced-motion:reduce){.sketch-tool,.sketch-action{transition:none}}
