/* Sized drawings share the image workspace and its dockable toolbar. */
.sketch-layer{position:absolute;inset:0;width:100%;height:100%;touch-action:pinch-zoom;cursor:crosshair;outline:none}
.is-sketching{position:relative;overflow:hidden;outline:2px solid #7c7a7d;outline-offset:2px}
.sketch-toolbar{color:#fff;z-index:140;max-width:calc(100% - 16px)}
.sketch-controls{display:flex;align-items:center;gap:2px;min-width:0}
.sketch-toolbar[data-orientation=vertical] .sketch-controls{flex-direction:column}
.sketch-toolbar button,.sketch-color{min-width:44px;min-height:44px;display:grid;place-items:center}
.sketch-toolbar button[aria-pressed=true]{background:rgba(255,255,255,.22)}
.sketch-color input{width:28px;height:28px;padding:0;border:0;background:none;cursor:pointer}
.sketch-size{display:flex;align-items:center;gap:4px;min-height:44px}.sketch-size input{width:64px}.sketch-dimensions{font-size:12px;white-space:nowrap;padding:0 6px}
.sketch-custom{display:flex;flex-wrap:wrap;gap:8px;padding:12px}.sketch-custom label{flex:1;min-width:90px}.sketch-custom input{width:100%;min-height:44px}.sketch-custom button{min-height:44px;width:100%}
@media(max-width:760px){.sketch-toolbar button,.sketch-color{min-width:48px;min-height:48px}.sketch-controls{flex-wrap:wrap;justify-content:center}.sketch-dimensions{font-size:11px}.sketch-size input{width:48px}}

.design-sketch-wrap{position:relative;flex:none;overflow:hidden;box-shadow:0 0 0 1px #d8d6d9;background:#fff}.design-sketch-wrap img{width:100%;height:100%;object-fit:contain}

.design-sketch-reference{display:flex;align-items:center;gap:4px;padding:2px 8px;border-bottom:1px solid #e9e7ea;max-width:100%}.design-sketch-reference[hidden]{display:none}.design-sketch-reference button{min-height:44px;background:none;border:0;color:#615963}.design-sketch-reference [data-reference-edit]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.design-sketch-reference [data-reference-remove]{min-width:44px;font-size:24px}

#imageStudio.canvas-sketching .canvas-tip,#imageStudio.canvas-sketching .canvas-guest-note{display:none}
