.studio-workspace{background:var(--theme-surface);height:100dvh;min-height:0;color:var(--theme-foreground);isolation:isolate;flex-direction:column;display:flex;overflow:hidden}.studio-header{padding:1rem max(1.25rem, env(safe-area-inset-right)) 1rem max(1.25rem, env(safe-area-inset-left));border-bottom:1px solid var(--theme-border);background:var(--theme-header-background);flex-shrink:0;justify-content:space-between;align-items:center;gap:1rem;display:flex}.studio-product-heading,.studio-header-actions{align-items:center;gap:.85rem;min-width:0;display:flex}.studio-product-heading>div{min-width:0}.studio-product-heading h1{text-overflow:ellipsis;white-space:nowrap;max-width:30vw;font-size:1rem;font-weight:800;overflow:hidden}.studio-product-heading p{color:var(--theme-muted);margin-top:.2rem;font-size:.75rem}.studio-eyebrow{color:var(--theme-primary);letter-spacing:.04em;font-size:.65rem;font-weight:800}.studio-back{border:1px solid var(--theme-border);min-width:44px;min-height:44px;color:var(--theme-foreground);background:var(--theme-surface);border-radius:.85rem;place-items:center;display:grid}.studio-draft-status{color:var(--theme-muted);align-items:center;gap:.4rem;font-size:.75rem;display:flex}.studio-body{flex:1;min-height:0;display:flex;position:relative}.studio-library{background:var(--theme-surface);border-inline-end:1px solid var(--theme-border);flex-direction:column;flex:0 0 clamp(15rem,16vw,17.5rem);min-height:0;display:flex}.studio-library>header{border-bottom:1px solid var(--theme-border-subtle);padding:1.2rem 1rem}.studio-library h2,.studio-selection h2,.studio-garment-colors h2{font-size:.875rem;font-weight:800}.studio-library>header p{color:var(--theme-muted);margin-top:.4rem;font-size:.75rem;line-height:1.9}.studio-library-content{flex:1;min-height:0;padding:.75rem;overflow:hidden}.studio-center{background:var(--theme-surface);flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.studio-command-bar{border-bottom:1px solid var(--theme-border);background:var(--theme-surface);flex-shrink:0;justify-content:space-between;align-items:center;gap:.5rem;padding:.4rem .75rem;display:flex}.studio-history-actions,.studio-command-actions{align-items:center;gap:.3rem;display:flex}.studio-command-actions button{align-items:center;gap:.4rem;font-size:.75rem;display:flex}.studio-command-bar button{border-radius:.75rem;min-height:44px}.studio-view-bar{flex-shrink:0;justify-content:space-between;align-items:center;gap:.5rem;padding:.6rem .9rem;display:flex}.studio-side-switch,.studio-zoom{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:.85rem;align-items:center;gap:.15rem;padding:.2rem;display:flex}.studio-side-switch button{min-height:44px;font-size:.75rem}.studio-side-switch .is-active{background:var(--theme-primary);color:var(--theme-primary-foreground)}.studio-zoom button{min-width:44px;min-height:44px;padding:.3rem;font-size:.75rem}.studio-canvas-zone{border:1px solid var(--theme-border);background:var(--theme-surface);isolation:isolate;border-radius:1.2rem;flex:1;min-height:0;margin:0 .75rem .25rem;position:relative;overflow:hidden}.studio-canvas-hint{z-index:3;inset-inline:.75rem;pointer-events:none;color:var(--theme-muted);flex-shrink:0;justify-content:center;align-items:center;gap:.5rem;padding:.45rem .8rem .8rem;font-size:.75rem;display:flex;position:absolute;bottom:.4rem}.studio-inspector{border-inline-start:1px solid var(--theme-border);background:var(--theme-surface);overscroll-behavior:contain;flex-shrink:0;width:225px;overflow:auto}.studio-selection{padding:1rem}.studio-selection-heading{border-bottom:1px solid var(--theme-border-subtle);align-items:center;gap:.5rem;padding-bottom:.8rem;display:flex}.studio-selection-label{overflow-wrap:anywhere;flex-direction:column;gap:.5rem;padding:1rem 0 .5rem;font-size:.8rem;display:flex}.studio-selection-label>span{color:var(--theme-muted);font-variant-numeric:tabular-nums}.studio-selection-description{color:var(--theme-muted);font-size:.75rem;line-height:1.9}.studio-selection-actions{grid-template-columns:1fr 1fr;gap:.4rem;margin-top:1rem;display:grid}.studio-selection-actions button{border-radius:.8rem;flex-direction:column;justify-content:center;align-items:center;gap:.4rem;display:flex;border:1px solid var(--theme-border)!important;min-height:62px!important;padding:.45rem!important;font-size:.7rem!important}.studio-selection-error{background:var(--theme-danger-background);color:var(--theme-danger);border-radius:.6rem;margin-top:.75rem;padding:.6rem;font-size:.75rem;line-height:1.9}.studio-selection-empty{text-align:center;color:var(--theme-muted);flex-direction:column;align-items:center;gap:.7rem;padding:1.5rem 0;font-size:.8rem;display:flex}.studio-selection-empty>span{font-size:.75rem;line-height:1.9}.studio-garment-colors{border-top:1px solid var(--theme-border);padding:1rem}.studio-garment-colors>div{flex-wrap:wrap;gap:.5rem;margin-top:.8rem;display:flex}.studio-garment-colors button{border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:.85rem;place-items:center;width:42px;height:42px;display:grid;position:relative}.studio-garment-colors button>span{border:1px solid var(--theme-border);border-radius:50%;width:25px;height:25px}.studio-garment-colors button>svg{inset-inline-end:-3px;color:var(--theme-primary-foreground);background:var(--theme-primary);border-radius:50%;position:absolute;bottom:-3px}.studio-garment-colors button.is-active{outline:2px solid var(--theme-primary);outline-offset:2px}.studio-garment-colors>p{color:var(--theme-muted);margin-top:.8rem;font-size:.75rem}.studio-print-note{color:var(--theme-muted);gap:.5rem;padding:1rem;font-size:.75rem;line-height:1.9;display:flex}.studio-print-note>svg{flex-shrink:0;width:18px}.studio-checkout-bar{border-top:1px solid var(--theme-border);background:var(--theme-surface);padding-bottom:env(safe-area-inset-bottom);flex-shrink:0}.studio-checkout-inner{align-items:center;gap:1rem;max-width:1120px;margin-inline:auto;padding:.8rem 1.25rem;display:flex}.studio-mobile-tools,.studio-mobile-selection{display:none}.studio-restoring{background:var(--theme-background);z-index:var(--layer-overlay,60);flex-direction:column;justify-content:center;align-items:center;gap:.8rem;font-size:.9rem;display:flex;position:absolute;inset:0}.studio-restoring p{color:var(--theme-muted);font-size:.75rem}.studio-spinner{border:3px solid var(--theme-border);border-top-color:var(--theme-primary);border-radius:50%;width:28px;height:28px;animation:.8s linear infinite studio-spin}.studio-clear-confirm{border-top:1px solid var(--theme-danger-border);background:var(--theme-danger-background);color:var(--theme-foreground);flex-shrink:0;justify-content:center;align-items:center;gap:.6rem;padding:.6rem 1rem;font-size:.8rem;display:flex}.studio-clear-confirm p{max-width:600px;line-height:1.8}.studio-price{flex:1;justify-content:space-between;align-items:center;gap:.5rem;min-width:0;display:flex}.studio-price-label{color:var(--theme-muted);font-size:.8rem}.studio-footer-draft{align-items:center;gap:.3rem;margin-block-start:.15rem;font-size:.72rem;display:flex}.studio-price-amount{direction:ltr;flex-wrap:wrap;align-items:baseline;gap:.15rem .3rem;font-weight:800;line-height:1.25;display:flex}.studio-price-amount bdi{white-space:nowrap;font-size:1.125rem}.studio-price-amount small{color:var(--theme-muted);font-size:.68rem}.studio-cart-shortcut{background:var(--theme-surface-strong);border-radius:.85rem;flex:none;place-items:center;width:44px;height:44px;display:grid;position:relative}.studio-purchase{border-radius:.85rem;flex:none;min-width:11rem;min-height:48px}.studio-workspace :is(.studio-back,.studio-cart-shortcut,.support-dock-button,.studio-garment-colors button):focus-visible{outline:2px solid var(--theme-focus-ring);outline-offset:2px}.studio-action-error{border-top:1px solid var(--theme-danger-border);background:var(--theme-danger-background);color:var(--theme-danger);flex:none;justify-content:space-between;align-items:center;gap:.5rem;padding:.25rem .75rem;font-size:.8rem;display:flex}.studio-action-error>span{overflow-wrap:anywhere;flex:1;min-width:0;max-height:5rem;overflow:auto}@keyframes studio-spin{to{transform:rotate(360deg)}}@media (max-width:1023px){.studio-inspector{display:none}.studio-mobile-selection{z-index:10;inset-inline:.5rem;border:1px solid var(--theme-border);background:var(--theme-surface);border-radius:.85rem;max-height:115px;display:block;position:absolute;bottom:58px;overflow-y:auto;box-shadow:0 8px 28px #0000001f}.studio-mobile-selection .studio-selection{flex-wrap:wrap;align-items:center;gap:.3rem;padding:.25rem .6rem;display:flex}.studio-mobile-selection .studio-selection-heading,.studio-mobile-selection .studio-selection-description{display:none}.studio-mobile-selection .studio-selection-label{gap:.15rem;max-width:140px;padding:0;font-size:.7rem}.studio-mobile-selection .studio-selection-label strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.studio-mobile-selection .studio-selection-actions{flex:1;gap:.25rem;min-width:0;margin:0;margin-inline-start:auto;display:flex;overflow-x:auto}.studio-mobile-selection .studio-selection-actions button{min-width:44px!important;min-height:44px!important;padding:.35rem!important}.studio-mobile-selection .studio-selection-actions button span,.studio-draft-status,.studio-library{display:none}.studio-mobile-tools{border-top:1px solid var(--theme-border);background:var(--theme-surface);flex-shrink:0;grid-template-columns:repeat(5,minmax(0,1fr));padding:.2rem .35rem;display:grid}.studio-mobile-tools button{white-space:nowrap;flex-direction:column;align-items:center;gap:.25rem;min-height:52px;padding:.25rem .1rem;font-size:.7rem;display:flex}.studio-mobile-tools button[data-active]{background:var(--theme-surface-strong);color:var(--theme-primary)}.studio-command-actions button{padding:.45rem}.studio-command-actions button span{display:none}.studio-header{gap:.5rem;padding:.55rem .75rem}.studio-eyebrow{font-size:.65rem}.studio-product-heading h1{max-width:42vw;font-size:.875rem}.studio-product-heading p{font-size:.7rem}.studio-view-bar{padding:.35rem .6rem}.studio-canvas-zone{border-radius:.85rem;margin:0 .5rem .2rem}.studio-checkout-inner{gap:.5rem;padding:.45rem .65rem}.studio-canvas-hint{padding:.25rem .5rem .5rem;font-size:.7rem;bottom:58px}.studio-clear-confirm{flex-wrap:wrap;gap:.4rem;padding:.5rem}.studio-clear-confirm p{text-align:center;width:100%;font-size:.75rem}.studio-mobile-selection .studio-selection-label{max-width:90px}.studio-mobile-selection .studio-selection-error{flex-basis:100%;margin:0;padding:.2rem .4rem}.studio-selection-actions{scrollbar-width:thin}}@media (max-width:639px){.studio-header,.studio-checkout-inner{padding-inline-start:max(.65rem, env(safe-area-inset-right));padding-inline-end:max(.65rem, env(safe-area-inset-left))}.studio-price{flex-direction:column;align-items:flex-start;gap:.2rem}.studio-price-amount bdi{font-size:.94rem}.studio-footer-draft{display:none}.studio-purchase{min-width:0;min-height:44px;padding-inline:.65rem;font-size:.78rem}.studio-command-bar{padding:.25rem .5rem}.studio-command-actions button{min-width:44px}}@media (max-height:520px){.studio-workspace{overflow-y:auto}.studio-body{flex-shrink:0;min-height:300px}}@media (prefers-reduced-motion:reduce){.studio-workspace *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
