.subject-editor{background:white;border:1px solid var(--line);border-radius:20px;padding:24px;margin-bottom:26px}.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.editor-heading h2{font-size:23px;margin:5px 0}.editor-heading p:not(.eyebrow){font-size:12px;color:#758070;max-width:650px}.photo-upload{position:relative;overflow:hidden;border-radius:10px;padding:14px 24px;background:#27664f;color:white;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}.photo-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.editor-body{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:22px}.photo-toolbar{display:grid;grid-template-columns:1.5fr 1fr;gap:12px}.photo-toolbar select{margin-bottom:10px}.photo-panel,.cutout-panel{min-width:0}#editorViewport{background:#e9ece7;max-height:480px;overflow:auto;border-radius:12px;border:1px solid #dce2d9;overscroll-behavior:contain}#photoCanvas{max-width:none;width:100%;height:auto;touch-action:none;cursor:crosshair;display:block;margin:0}.edit-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.edit-tools button{background:#eff4ed;border:1px solid #d6e2d4;border-radius:8px;font-size:11px;padding:10px 12px;cursor:pointer;color:#315c40}.edit-tools label{display:flex;gap:8px;align-items:center;flex:1 1 130px;font-size:11px}.edit-tools input{min-width:50px;margin:4px;width:100%}.cutout-panel{background:#f6f8f3;border-radius:14px;padding:18px}.cutout-panel h3{font-size:13px;margin:0 0 14px}.cutout-panel canvas{width:100%;max-height:330px;object-fit:contain;background:repeating-conic-gradient(#e8ece5 0% 25%,#f9faf7 0% 50%) 50% / 18px 18px;border-radius:8px}.cutout-panel p{font-size:12px;line-height:1.7}#modelStatus{font-size:10px;color:#7b8577;min-height:32px}#modelProgress{width:100%;accent-color:#27664f}.primary{border:0;background:#27664f;color:white;width:100%;padding:14px 10px;border-radius:9px;cursor:pointer;font-size:12px}.primary:disabled{background:#b7c3b7;cursor:not-allowed}.edit-tools button:disabled{opacity:.4}.photo-upload:focus-within{outline:3px solid #97bc9d}@media(max-width:700px){.subject-editor{padding:17px}.editor-heading{align-items:flex-start;flex-direction:column;gap:7px}.editor-heading h2{font-size:20px}.photo-upload{width:100%;text-align:center}.editor-body{grid-template-columns:1fr;gap:14px}.photo-toolbar{gap:8px}.photo-toolbar select{font-size:11px}#editorViewport{max-height:380px}.cutout-panel canvas{max-height:230px}.cutout-panel{padding:14px}.edit-tools button{min-height:42px}.workspace .preview{order:2}.workspace .controls{order:1}}
