/* Cut-Path only: CAD remains an independent workspace. */
#cutpathPanel .expert-only{display:none!important}
body.cutpath-advanced #cutpathPanel .expert-only{display:revert!important}
#cutpathPanel .studio-layout{max-width:none;width:100%;box-sizing:border-box;margin:0;height:auto;min-height:0;grid-template-columns:310px minmax(0,1fr);gap:18px;padding:18px}
#cutpathPanel .controls{height:auto;max-height:none;overflow:visible;align-self:start;border-radius:14px}
#cutpathPanel .control-scroll{overflow:visible;max-height:none;display:block}
#cutpathPanel .controls-heading{padding:16px 16px 4px}
#cutpathPanel .controls-heading .eyebrow,#cutpathPanel .controls-heading .small-mark{display:none}
#cutpathPanel .controls-heading h2{font-size:20px}
#cutpathPanel .control-section{display:block;padding:14px 16px;border-left:0!important}
#cutpathPanel .section-heading{margin-bottom:10px}
#cutpathPanel .section-heading h3{font-size:13px}
#cutpathPanel .upload{min-height:57px;padding:12px}
#cutpathPanel .supported{font-size:9px;gap:8px;margin:8px 0}
#cutpathPanel .source-info{font-size:10px;overflow-wrap:anywhere;margin:8px 0}
#cutpathPanel label{margin-top:8px;font-size:11px}
#cutpathPanel input:not([type=range],[type=checkbox],[type=file]),#cutpathPanel select{min-height:36px;height:36px;font-size:13px;padding:7px 10px}
#cutpathPanel .size-row{grid-template-columns:1fr 1fr;gap:12px}
#cutpathPanel .height-readout strong{font-size:15px}
#cutpathPanel .height-readout>span{font-size:10px}
#cutpathPanel .scale-check:has(input:checked){display:none}
#cutpathPanel .simple-offset-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#cutpathPanel .simple-note{font-size:10px;line-height:1.5;color:#bac5d2;margin:8px 0 0}
#cutpathPanel .generation-recovery{margin-top:12px;padding:12px;border:1px solid #596572;border-radius:6px;background:#242b32}
#cutpathPanel .generation-recovery .simple-note{margin:0 0 10px;color:#d5dce2}
#cutpathPanel .generation-recovery button{width:100%;min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
#cutpathPanel .generate-dock{position:static;padding:10px 0 0;border:0;background:none;display:block}
#cutpathPanel #generate{width:100%;min-height:44px;font-size:13px}
#cutpathPanel .dock-note{display:none}
#cutpathPanel #cancel:not(:disabled){margin-top:8px;display:block;width:100%}
#cutpathPanel #cancel:disabled{display:none}
#cutpathPanel .simple-smoothing output{font-size:12px;color:#ffb26d}
#cutpathPanel #autoSmooth{width:100%;height:24px;accent-color:#ff9b54;cursor:pointer}
#cutpathPanel .check{font-size:10px;min-height:25px;margin-top:8px;padding:0}
#cutpathPanel .export-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#cutpathPanel .export-pair button{min-height:47px;height:auto;padding:10px;font-size:13px;justify-content:center}
#cutpathPanel #pdf small,#cutpathPanel #pdf .icon,#cutpathPanel #pdf>.icon{display:none}
#cutpathPanel #advancedTools{margin-top:12px;font-size:11px;min-height:30px;color:#bdc7d4;width:100%}
#cutpathPanel .workspace{min-width:0;gap:10px;align-self:start}
#cutpathPanel .canvas-wrap{height:calc(100dvh - 225px);min-height:450px;max-height:none;border-radius:14px}
#cutpathPanel .workspace-bottom{gap:10px}
#cutpathPanel .status-panel{margin:0;min-height:35px;padding:10px 12px}
#cutpathPanel #status{font-size:11px;line-height:1.5}
#cutpathPanel .canvas-legend .legend-pin{display:none}
body.cutpath-advanced #cutpathPanel .canvas-legend .legend-pin{display:revert}
#cutpathPanel .workspace-art{display:none}
#cutpathPanel .workspace-start{display:block;text-align:center;width:auto;max-width:500px;padding:30px}
#cutpathPanel .workspace-start-copy h3{font-size:28px}
#cutpathPanel .workspace-start-copy p{font-size:14px;line-height:1.7}
#cutpathPanel .empty-actions{justify-content:center}
.smooth-brush-cursor{position:absolute;pointer-events:none;border:2px solid #12857a;background:#12857a20;border-radius:50%;transform:translate(-50%,-50%);z-index:5}
body.cutpath-brush #cutpathPanel #canvas{cursor:crosshair}
body.cutpath-advanced #cutpathPanel .canvas-wrap{height:calc(100dvh - 350px);min-height:400px}
body.cutpath-advanced #cutpathPanel .controls{max-height:calc(100dvh - 130px);overflow:auto}
@media(max-width:900px){#cutpathPanel .studio-layout{grid-template-columns:270px minmax(0,1fr);gap:12px;padding:12px}#cutpathPanel .canvas-wrap{min-height:380px}#cutpathPanel .workspace-start{padding:20px}}
@media(max-width:650px){#cutpathPanel .studio-layout{display:flex;flex-direction:column;padding:10px;gap:12px}#cutpathPanel .controls{width:100%;max-height:none!important;overflow:visible!important}#cutpathPanel .control-scroll{display:grid;grid-template-columns:1fr 1fr;overflow:visible}#cutpathPanel #artwork-section,#cutpathPanel #export-section{grid-column:1/-1}#cutpathPanel .controls-heading{padding:14px 14px 4px}#cutpathPanel .control-section{padding:12px 14px}#cutpathPanel .workspace{width:100%;order:2;padding:13px 8px}#cutpathPanel .canvas-wrap,body.cutpath-advanced #cutpathPanel .canvas-wrap{height:55dvh;min-height:340px}#cutpathPanel .simple-offset-row{grid-template-columns:1fr}#cutpathPanel #boundary-section{border-right:1px solid #344050}#cutpathPanel .simple-note{font-size:10px}#cutpathPanel .workspace-start-copy h3{font-size:22px}#cutpathPanel .workspace-start-copy p{font-size:12px}#cutpathPanel .workspace-start{padding:15px}#cutpathPanel .workflow-nav{display:none!important}.processing-log{margin:10px}}
/* Advanced mobile navigation retains its existing one-panel behavior. */
@media(max-width:600px){
 body.cutpath-advanced #cutpathPanel .workflow-nav{display:flex!important}
 body.cutpath-advanced #cutpathPanel .control-scroll{display:block}
 body.cutpath-advanced #cutpathPanel .control-section{display:none!important}
 body.cutpath-advanced[data-mobile-panel=artwork] #cutpathPanel #artwork-section,
 body.cutpath-advanced[data-mobile-panel=boundary] #cutpathPanel #boundary-section,
 body.cutpath-advanced[data-mobile-panel=boundary] #cutpathPanel #smoothing-section,
 body.cutpath-advanced[data-mobile-panel=export] #cutpathPanel #export-section{display:block!important}
}

/* Retained for old project/test compatibility; artwork imports no longer require a confirmation control. */
#scaleConfirmed{display:none!important}
