.shape-workspace{min-width:0;color:#173b46}
.shape-workspace button{min-height:44px;margin:0}
.shape-workspace button[aria-pressed=true]{background:#205a60;color:#fff;border-color:#205a60}
.shape-workspace button:focus-visible{outline:2px solid #3159ab;outline-offset:2px}
.shape-workspace .shape-tools,.shape-workspace .shape-stages,.shape-workspace [data-shape-actions]{display:flex;flex-wrap:wrap;gap:4px;margin:.35rem 0}
.shape-workspace .shape-tools button{flex:1 0 44px;min-width:44px;padding:4px!important;font-size:.82rem;white-space:nowrap}
.shape-workspace [data-shape-scroll]{width:min(100%,490px);min-width:0;touch-action:none}
.shape-workspace [data-shape-canvas]{display:block;width:100%;height:auto;box-sizing:border-box;border:1px solid #c2d6d7;border-radius:12px;background:#f6faf9;touch-action:none;user-select:none}
.shape-workspace .shape-grid circle{fill:#678b90;pointer-events:none}
.shape-workspace .shape-edge{fill:none;stroke:#176c5c;stroke-width:3;vector-effect:non-scaling-stroke;pointer-events:none}
.shape-workspace .shape-edge-hit{fill:none;stroke:transparent;stroke-width:44;pointer-events:stroke}
.shape-workspace .shape-cursor{fill:none;stroke:#9c5100;stroke-width:2;stroke-dasharray:4 3;pointer-events:none}
.shape-workspace [data-shape-current-tool="erase"] [data-shape-vertex]{pointer-events:none}
.shape-workspace .shape-hit{fill:transparent;pointer-events:all}
.shape-workspace .shape-dot,.shape-workspace .shape-curve{fill:#176c5c;stroke:white;stroke-width:2;pointer-events:none}
.shape-workspace .shape-curve{fill:#ad5922}
.shape-workspace [data-shape-vertex],.shape-workspace [data-shape-control]{touch-action:none;cursor:grab}
.shape-workspace [data-shape-vertex]:focus .shape-dot,.shape-workspace [data-shape-control]:focus .shape-curve{stroke:#a54800;stroke-width:5}
.shape-workspace [data-shape-preview-line]{fill:none;stroke:#a64b18;stroke-width:2.5;stroke-dasharray:5 4;vector-effect:non-scaling-stroke;pointer-events:none}
.shape-workspace [data-shape-preview-removed]{visibility:hidden}
.shape-workspace [data-shape-hint]{margin:.35rem 0;color:#315763;font-size:.88rem;line-height:1.3}
.shape-workspace [data-shape-review]:empty,.shape-workspace [data-shape-preview-line][visibility=hidden]{display:none}
.shape-workspace .shape-minis{display:flex;gap:5px;flex-wrap:wrap;margin:.35rem 0}
.shape-workspace .shape-mini{display:flex;align-items:center;justify-content:center;gap:5px;flex:1 1 64px;width:auto;max-width:110px;min-height:44px;background:#fff;border:1px solid #b3cccc;border-radius:8px;padding:4px}
.shape-workspace .shape-mini svg{display:block;width:46px;height:32px;pointer-events:none}
.shape-workspace .shape-mini path{fill:none;stroke:currentColor;stroke-width:14}
.shape-workspace .shape-minis button[aria-pressed=true],.shape-workspace .shape-stages button[aria-pressed=true]{background:#205a60;color:#fff}
#mis-studio .mis-studio__canvas>[data-shape-exercise="Y051"].studio-native-model{padding:3px 5px 7px!important}
#mis-studio [data-shape-exercise="Y051"] .shape-tools{margin:0 0 4px}
#mis-studio [data-shape-exercise="Y051"] :is(.shape-tools,.shape-stages,.shape-minis)>button[aria-pressed=true]{background:#205a60!important;color:#fff!important}
@media (max-width:620px){
 #mis-studio [data-shape-exercise="Y051"] [data-shape-scroll]{width:calc(100% - 12px)}
 #mis-studio [data-shape-exercise="Y051"] .shape-tools button[data-geometry-compact-label]{font-size:0!important}
 #mis-studio [data-shape-exercise="Y051"] .shape-tools button[data-geometry-compact-label]::after{content:attr(data-geometry-compact-label);font-size:.78rem;line-height:1.05}
}
