/* Pony Peel storefront tokens shared by single, sheet and roll studios. */
#sticker-studio-root,.ss-sheet-dialog{--studio-pink:#ff0084;--studio-ink:#1d1d1f;--studio-stone:#f5f4f2;--studio-line:#e5e1e0;--studio-tint:#fff0f7;--ss-yellow:#ff0084;color:var(--studio-ink);font-family:PPNunito,'Nunito Sans',Arial,sans-serif}
#sticker-studio-root h2,.ss-sheet-dialog h2{font-family:PPJakarta,'Plus Jakarta Sans',Arial,sans-serif;letter-spacing:-.025em}
#sticker-studio-root .ss-stage,#sticker-studio-root .ss-app[data-product-type=roll] .ss-stage,.ss-sheet-dialog .sse-stage{background-color:var(--studio-stone);border:1px solid var(--studio-line);border-radius:20px}
#sticker-studio-root .ss-app[data-material=transparent] .ss-stage{background-color:var(--studio-stone)}
#sticker-studio-root .ss-sidebar,.ss-sheet-dialog .sse-sidebar{background:#fff}
#sticker-studio-root .ss-primary,#sticker-studio-root .ss-yellow,.ss-sheet-dialog .sse-primary,.ss-sheet-dialog .sse-yellow{background:var(--studio-ink)!important;color:#fff!important;border-radius:999px!important;transition:background .16s,box-shadow .16s}
#sticker-studio-root .ss-primary:hover,#sticker-studio-root .ss-yellow:hover,.ss-sheet-dialog .sse-primary:hover,.ss-sheet-dialog .sse-yellow:hover{background:#333!important;box-shadow:0 4px 16px #1d1d1f16}
#sticker-studio-root .ss-mode-button,.ss-sheet-dialog .sse-mode{border-radius:999px}
#sticker-studio-root button:focus-visible,#sticker-studio-root textarea:focus-visible,.ss-sheet-dialog button:focus-visible,.ss-sheet-dialog textarea:focus-visible{outline:2px solid #b80060;outline-offset:3px}
#sticker-studio-root .ss-rail button[aria-pressed=true],#sticker-studio-root .ss-shapes button[aria-pressed=true],#sticker-studio-root .ss-align button[aria-pressed=true],#sticker-studio-root .ss-finishes button[aria-pressed=true],#sticker-studio-root .ss-material-list button[aria-pressed=true],.ss-sheet-dialog .sse-finishes [aria-pressed=true],.ss-sheet-dialog .sse-material-list [aria-pressed=true],.ss-sheet-dialog .sse-quantities [aria-pressed=true]{background:var(--studio-tint);border-color:var(--studio-pink);color:#97134e}
#sticker-studio-root .ss-shapes button[aria-pressed=true]{box-shadow:0 0 0 1px var(--studio-pink)}
#sticker-studio-root .ss-layer-toolbar,.ss-sheet-dialog .sse-tools{border:1px solid var(--studio-line);border-radius:12px;box-shadow:0 3px 14px #1d1d1f0c}
#sticker-studio-root .ss-layer-toolbar button:hover,.ss-sheet-dialog .sse-tools button:hover,#sticker-studio-root .ss-utilities button:not(:disabled):hover,.sse-utilities button:not(:disabled):hover{background:var(--studio-tint)}
#sticker-studio-root .ss-toast,.ss-sheet-dialog .sse-alert{background:#fff7fb;border:1px solid #f3c7dc;border-radius:12px;color:var(--studio-ink)}
#sticker-studio-root .ss-settings-tabs>button[aria-pressed=true]::after,#sticker-studio-root .ss-settings-tabs>button[aria-selected=true]::after,#sticker-studio-root .ss-mobile-effect-tabs>button[aria-pressed=true]::after{background:var(--studio-pink)}
#sticker-studio-root input[type=range]{accent-color:var(--studio-pink)}
#sticker-studio-root .ss-direct-text{border-color:#f2c5dc}
.ss-sheet-dialog .sse-success-actions a{background:var(--studio-ink);color:white;border-radius:999px}
.ss-sheet-dialog .sse-edit-background,.ss-sheet-dialog .sse-material-current,.ss-sheet-dialog .sse-quantity-current{border-radius:12px!important;border-color:var(--studio-line)!important}
.ss-sheet-dialog .sse-back{border-radius:999px;border:1px solid var(--studio-line)}
@media(max-width:767px){#sticker-studio-root .ss-stage,#sticker-studio-root .ss-app[data-product-type=roll] .ss-stage,.ss-sheet-dialog .sse-stage{border-radius:0;border-width:1px 0}#sticker-studio-root .ss-direct-text{border-radius:18px}}
@media(prefers-reduced-motion:reduce){#sticker-studio-root .ss-primary,.ss-sheet-dialog .sse-primary{transition:none}}

#sticker-studio-root .ss-laminates button[aria-pressed=true],#sticker-studio-root .ss-finish-row button[aria-pressed=true],#sticker-studio-root .ss-quantity-list button[aria-pressed=true],#sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-material-list>button[aria-pressed=true],#sticker-studio-root .ss-sidebar.ss-options-open:has(.ss-settings-tabs) .ss-finish-list>button[aria-pressed=true]{background:var(--studio-tint);border-color:var(--studio-pink);color:#97134e}
.ss-sheet-dialog .sse-primary{display:flex;align-items:center;justify-content:center;text-align:center}
.ss-sheet-dialog .sse-shape{background:var(--studio-tint);border-color:var(--studio-pink)!important;border-radius:8px}
.ss-sheet-dialog .sse-size input:disabled{opacity:1;color:#6b6669;-webkit-text-fill-color:#6b6669}
#sticker-studio-root .ss-dialog{font-family:PPNunito,'Nunito Sans',Arial,sans-serif}
#sticker-studio-root .ppe-roll-strip{background:var(--studio-stone)}
#sticker-studio-root .ss-roll-direction-grid>button[aria-pressed=true]{border-color:var(--studio-pink);background:var(--studio-tint)}

#sticker-studio-root .ss-header-guides{position:absolute;top:16px;left:16px;z-index:4;min-height:36px;padding:8px 12px;border:1px solid #edccdd;border-radius:999px;background:#fff;color:#97134e;font-size:12px}
#sticker-studio-root .ss-header-guide-note{font-size:12px;line-height:1.6;color:#6b6669;border-top:1px solid var(--studio-line);padding-top:16px}
@media(max-width:767px){#sticker-studio-root .ss-header-guides{top:10px;left:12px;min-height:40px}}

@media(max-width:767px){#sticker-studio-root .ss-header-guides{top:60px}#sticker-studio-root .ss-app[data-text-editing=true] .ss-header-guides{top:10px}#sticker-studio-root .ss-header-dimensions{font-size:13px;color:#6b6669;flex:1;text-align:center;padding:12px}}

/* Separate child editing tools from the return action at every viewport width. */
.ppe-embedded #sticker-studio-root .ss-layer-toolbar{top:72px;max-width:calc(100% - 24px);overflow-x:auto}
.ss-inline-error{color:#b51b3e;font:14px/1.4 'Nunito Sans',Arial,sans-serif;margin:6px 0;grid-column:1/-1}


/* =====================================================================================
   Editor UX v2 (single, roll and embedded sticker editor) — layered on top of editor.css.
   Tokens follow the storefront: pink #ff0084, ink #1d1d1f, stone #f5f4f2, beige #ece2d5.
   ===================================================================================== */
#sticker-studio-root{--ux-pink:#ff0084;--ux-pink-ink:#b80060;--ux-tint:#fff0f7;--ux-ink:#1d1d1f;--ux-muted:#6b6669;--ux-line:#e5e1e0;--ux-stone:#f5f4f2;--ux-beige:#ece2d5;--ux-ok:#0f7a55;--ux-ok-bg:#eefaf4;--ux-ok-line:#bfe6d5;--ux-warn:#9a4a05;--ux-warn-bg:#fff6e8;--ux-warn-line:#f3d3a4;--ux-top:60px;--ux-shadow:0 6px 24px #1d1d1f14}
#sticker-studio-root .ss-ux-icon{width:20px;height:20px;flex:none}
#sticker-studio-root .ss-mobile-header{display:none!important}

/* ---- top bar ---- */
#sticker-studio-root .ss-topbar{grid-column:1/-1;grid-row:1;position:relative;z-index:9;display:flex;align-items:center;gap:12px;height:var(--ux-top);padding:0 20px 0 12px;background:#fff;border-bottom:1px solid var(--ux-line)}
#sticker-studio-root .ss-top-back{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:0 0 auto;min-height:44px;padding:0 14px 0 8px;border:1px solid var(--ux-line);border-radius:999px;font-size:14px;font-weight:800;color:var(--ux-ink);background:#fff;text-decoration:none}
#sticker-studio-root .ss-top-back:hover{background:var(--ux-stone)}
#sticker-studio-root .ss-top-back:focus-visible{outline:3px solid var(--studio-pink);outline-offset:3px}
#sticker-studio-root .ss-top-back[hidden]{display:none!important}
#sticker-studio-root .ss-top-title{flex:1 1 0;min-width:0;padding-left:14px;border-left:1px solid var(--ux-line);line-height:1.25}
#sticker-studio-root .ss-top-title strong{display:block;overflow:hidden;font:700 15px/20px PPJakarta,"Plus Jakarta Sans",Arial,sans-serif;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}
#sticker-studio-root .ss-top-title small{display:block;overflow:hidden;font-size:12px;line-height:16px;color:var(--ux-muted);text-overflow:ellipsis;white-space:nowrap}
#sticker-studio-root .ss-steps{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;gap:2px;margin:0;padding:4px;list-style:none;background:var(--ux-stone);border-radius:999px}
#sticker-studio-root .ss-steps li{display:block;margin:0;padding:0}
#sticker-studio-root .ss-steps button,#sticker-studio-root .ss-steps li>span{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 16px 0 8px;border-radius:999px;font-size:14px;font-weight:800;color:var(--ux-muted);white-space:nowrap}
#sticker-studio-root .ss-steps b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;border:1px solid var(--ux-line);font-size:12px;font-weight:800;color:var(--ux-muted)}
#sticker-studio-root .ss-steps button:hover{background:#ebe8e5}
#sticker-studio-root .ss-steps button[aria-current=step]{background:#fff;color:var(--ux-ink);box-shadow:0 1px 5px #1d1d1f1f}
#sticker-studio-root .ss-steps button[aria-current=step] b{background:var(--ux-pink);border-color:var(--ux-pink);color:#fff}
#sticker-studio-root .ss-steps .ss-step-end{opacity:.65}
#sticker-studio-root .ss-top-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex:0 0 auto}
#sticker-studio-root .ss-history{display:flex;gap:2px}
#sticker-studio-root .ss-history button,#sticker-studio-root .ss-top-icon{width:38px;height:38px;border-radius:50%;color:var(--ux-ink)}
#sticker-studio-root .ss-history button:not(:disabled):hover,#sticker-studio-root .ss-top-icon:hover{background:var(--ux-stone)}
#sticker-studio-root .ss-save-state{display:inline-flex;align-items:center;gap:6px;max-width:190px;padding:0 4px;border:0;font-size:12px;line-height:16px;color:var(--ux-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sticker-studio-root .ss-save-state::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--ux-ok)}
#sticker-studio-root .ss-save-state[data-state=saving]::before{background:#d19a1d;animation:ux-pulse 1s ease-in-out infinite}
#sticker-studio-root .ss-save-state[data-error=true],#sticker-studio-root .ss-save-state[data-state=error]{color:#b51b3e}
#sticker-studio-root .ss-save-state[data-error=true]::before,#sticker-studio-root .ss-save-state[data-state=error]::before{background:#b51b3e}
@keyframes ux-pulse{50%{opacity:.35}}
#sticker-studio-root .ss-top-cta{min-width:140px;height:42px;padding:0 22px;border-radius:999px;background:var(--ux-ink);color:#fff;font:800 14px/1 PPNunito,"Nunito Sans",Arial,sans-serif;white-space:nowrap}
#sticker-studio-root .ss-top-cta:hover{background:#3a3a3d}
#sticker-studio-root .ss-top-modeswitch{display:none}
#sticker-studio-root .ss-app[data-sheet-part=true] .ss-steps{display:none}
#sticker-studio-root .ss-top-cancel{height:40px;padding:0 16px;border-radius:999px;font-size:14px;font-weight:800;color:var(--ux-muted)}
#sticker-studio-root .ss-top-cancel:hover{background:var(--ux-stone);color:var(--ux-ink)}
#sticker-studio-root .ss-top-cancel[hidden]{display:none!important}

/* ---- main grid ---- */
@media(min-width:768px){
 #sticker-studio-root .ss-app{grid-template-columns:84px minmax(0,1fr) 360px;grid-template-rows:var(--ux-top) minmax(0,1fr)}
 #sticker-studio-root .ss-rail,#sticker-studio-root .ss-stage,#sticker-studio-root .ss-sidebar{grid-row:2}
 #sticker-studio-root .ss-rail{padding:16px 8px;gap:6px}
 #sticker-studio-root .ss-rail button:not(.ss-logo-button){height:68px;gap:5px;border-radius:14px;color:var(--ux-muted);font-size:12px;font-weight:700}
 #sticker-studio-root .ss-rail button:not(.ss-logo-button):hover{background:var(--ux-stone);color:var(--ux-ink)}
 #sticker-studio-root .ss-rail button[aria-pressed=true]{background:var(--ux-tint);color:var(--ux-pink-ink);font-weight:800;box-shadow:inset 0 0 0 1px #ffc2de}
 #sticker-studio-root .ss-rail .ss-ux-icon{width:24px;height:24px;stroke-width:1.7}
 #sticker-studio-root .ss-stage{margin:12px 0 16px;border-radius:20px}
 #sticker-studio-root .ss-sidebar{padding:20px 24px 20px;border-left:1px solid var(--ux-line)}
 #sticker-studio-root .ss-drawer{top:var(--ux-top);width:320px;left:84px;border-radius:0 20px 20px 0;box-shadow:var(--ux-shadow)}
 #sticker-studio-root .ss-stage>.ss-mode-button{display:none}
 #sticker-studio-root .ss-app[data-mode=edit] .ss-artboard{padding:60px 16px 56px}
 #sticker-studio-root .ss-app[data-mode=edit] .ss-stage{background-image:radial-gradient(#e2dcd5 1px,transparent 1.2px);background-size:22px 22px}
 #sticker-studio-root .ss-options>h2{margin-bottom:6px;font-size:22px;line-height:30px}
}
#sticker-studio-root .ss-options>.ppe-engine-hint{margin:0 0 4px;font-size:13px;line-height:19px;color:var(--ux-muted)}
#sticker-studio-root .ss-order{border-top:1px solid var(--ux-line)}
#sticker-studio-root .ss-total-row{margin-bottom:14px}
#sticker-studio-root .ss-approve-note{margin:0 0 12px;font-size:12px;line-height:17px;color:var(--ux-muted)}
@media(max-width:1100px) and (min-width:768px){
 #sticker-studio-root .ss-app{grid-template-columns:76px minmax(0,1fr) 320px}
 #sticker-studio-root .ss-drawer{left:76px}
 #sticker-studio-root .ss-top-title small,#sticker-studio-root .ss-save-state{display:none}
 #sticker-studio-root .ss-top-back-long{display:none}
 #sticker-studio-root .ss-steps button,#sticker-studio-root .ss-steps li>span{padding:0 12px 0 6px}
 #sticker-studio-root .ss-top-cta{min-width:0;padding:0 16px}
}

/* ---- canvas controls, legend, zoom ---- */
#sticker-studio-root .ss-canvas-bar{position:absolute;right:16px;bottom:16px;z-index:5;display:flex;align-items:center;gap:8px}
#sticker-studio-root .ss-app[data-mode=preview] .ss-canvas-bar,#sticker-studio-root .ss-app[data-mode=preview] .ss-guide-legend,#sticker-studio-root .ss-app[data-empty=true] .ss-canvas-bar,#sticker-studio-root .ss-app[data-empty=true] .ss-guide-legend,#sticker-studio-root .ss-app[data-empty=true] .ss-back-button{display:none}
#sticker-studio-root .ss-canvas-bar>button,#sticker-studio-root .ss-zoom{height:38px;border:1px solid var(--ux-line);border-radius:999px;background:#fffffff2;box-shadow:0 2px 10px #1d1d1f12}
#sticker-studio-root .ss-guides-toggle{gap:6px;padding:0 14px 0 10px;font-size:13px;font-weight:700;color:var(--ux-muted)}
#sticker-studio-root .ss-guides-toggle[aria-pressed=true]{color:#0c6b4b;border-color:var(--ux-ok-line);background:var(--ux-ok-bg)}
#sticker-studio-root .ss-zoom{display:inline-flex;align-items:center;padding:0 2px}
#sticker-studio-root .ss-zoom button{width:34px;height:34px;border-radius:50%}
#sticker-studio-root .ss-zoom .ss-zoom-value{width:auto;min-width:52px;padding:0 6px;border-radius:999px;font-size:13px;font-weight:800}
#sticker-studio-root .ss-guide-legend{position:absolute;left:16px;bottom:16px;z-index:5;display:flex;align-items:center;gap:14px;max-width:calc(100% - 300px);height:38px;padding:0 14px;border:1px solid var(--ux-line);border-radius:999px;background:#fffffff2;box-shadow:0 2px 10px #1d1d1f12;font-size:12px;line-height:16px;color:var(--ux-muted);cursor:help}
#sticker-studio-root .ss-guide-legend span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
#sticker-studio-root .ss-guide-legend i{display:block;width:20px;height:0;border-top:2px solid #b80060}
#sticker-studio-root .ss-guide-legend i.safe{border-top:2px dashed #12875f}
#sticker-studio-root .ss-app[data-zoomed=true] .ss-artboard{display:grid;place-items:start;overflow:auto;scrollbar-width:thin}
#sticker-studio-root .ss-app[data-zoomed=true] .ss-artboard canvas{flex:none;margin:auto;width:calc(min(100cqw,100cqh)*var(--ss-zoom,1));height:calc(min(100cqw,100cqh)*var(--ss-zoom,1));max-width:none;max-height:none}
#sticker-studio-root .ss-app[data-mode=edit][data-has-selection=true] .ss-layer-toolbar{top:12px}

/* ---- empty state and drag & drop ---- */
#sticker-studio-root .ss-empty{position:absolute;inset:0;display:grid;place-items:center;padding:24px;border:0;border-radius:0;pointer-events:none}
#sticker-studio-root .ss-empty-card{display:grid;justify-items:center;gap:10px;width:min(420px,100%);padding:28px 28px 22px;border:1.5px dashed #d6c9bb;border-radius:24px;background:#fffffff2;box-shadow:var(--ux-shadow);text-align:center;pointer-events:auto}
#sticker-studio-root .ss-empty-card>.ss-ux-icon{width:44px;height:44px;padding:11px;border-radius:50%;background:var(--ux-tint);color:var(--ux-pink-ink)}
#sticker-studio-root .ss-empty-card h3{margin:2px 0 0;font:700 20px/26px PPJakarta,"Plus Jakarta Sans",Arial,sans-serif;letter-spacing:-.02em}
#sticker-studio-root .ss-empty-card p{margin:0;max-width:300px;font-size:13px;line-height:19px;color:var(--ux-muted)}
#sticker-studio-root .ss-empty-primary{margin-top:6px;min-height:48px!important;padding:0 28px!important;font-size:15px!important}
#sticker-studio-root .ss-empty-alt{display:flex;align-items:center;gap:8px;margin-top:2px;font-size:13px;color:var(--ux-muted)}
#sticker-studio-root .ss-empty-alt button{gap:6px;height:36px;padding:0 14px;border:1px solid var(--ux-line);border-radius:999px;background:#fff;font-size:13px;font-weight:800;color:var(--ux-ink)}
#sticker-studio-root .ss-empty-alt button:hover{background:var(--ux-stone)}
#sticker-studio-root .ss-empty-alt .ss-ux-icon{width:16px;height:16px}
#sticker-studio-root .ss-empty-card small{max-width:300px;font-size:12px;line-height:17px;color:#8a8387}
#sticker-studio-root .ss-drop-overlay{position:absolute;inset:0;z-index:30;display:grid;place-items:center;border:2px dashed var(--ux-pink);border-radius:inherit;background:#fff0f7f5;opacity:0;pointer-events:none;transition:opacity .15s}
#sticker-studio-root .ss-drop-overlay>div{display:grid;justify-items:center;gap:4px;color:var(--ux-pink-ink);text-align:center}
#sticker-studio-root .ss-drop-overlay .ss-ux-icon{width:40px;height:40px}
#sticker-studio-root .ss-drop-overlay strong{font:700 20px/26px PPJakarta,"Plus Jakarta Sans",Arial,sans-serif}
#sticker-studio-root .ss-drop-overlay span{font-size:13px}
#sticker-studio-root .ss-app.ss-dragover .ss-drop-overlay{opacity:1}
#sticker-studio-root .ss-dragover{outline:0}

/* ---- load / error states ---- */
#sticker-studio-root .ss-stage-error{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:#f5f4f2f2}
#sticker-studio-root .ss-stage-error-card{display:grid;justify-items:center;gap:10px;width:min(440px,100%);padding:28px;border:1px solid var(--ux-line);border-radius:24px;background:#fff;box-shadow:var(--ux-shadow);text-align:center}
#sticker-studio-root .ss-stage-error-card>.ss-ux-icon{width:44px;height:44px;padding:10px;border-radius:50%;background:var(--ux-warn-bg);color:var(--ux-warn)}
#sticker-studio-root .ss-stage-error-card h3{margin:2px 0 0;font:700 20px/26px PPJakarta,"Plus Jakarta Sans",Arial,sans-serif}
#sticker-studio-root .ss-stage-error-card p{margin:0;font-size:14px;line-height:21px;color:var(--ux-muted)}
#sticker-studio-root .ss-stage-error-actions{display:grid;gap:8px;width:100%;margin-top:10px}
#sticker-studio-root .ss-stage-error-actions>a,#sticker-studio-root .ss-stage-error-actions>button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:999px;font-weight:800;font-size:14px}
#sticker-studio-root .ss-stage-error-actions .ss-outline{border:1px solid var(--ux-line);background:#fff}
#sticker-studio-root .ss-stage-error-actions .ss-link{min-height:36px;color:var(--ux-muted);text-decoration:underline;background:transparent}
#sticker-studio-root .ss-loading{background:#f5f4f2e8;backdrop-filter:blur(2px)}
#sticker-studio-root .ss-loading p{font-weight:700;color:var(--ux-ink)}
#sticker-studio-root .ss-spinner{border-color:#e9dfd4;border-top-color:var(--ux-pink)}
#sticker-studio-root .ss-loading-progress::-webkit-progress-value{background:var(--ux-pink)}
#sticker-studio-root .ss-loading-progress::-moz-progress-bar{background:var(--ux-pink)}
#sticker-studio-root .ss-toast{border-radius:14px;box-shadow:var(--ux-shadow)}

/* ---- design checks ---- */
#sticker-studio-root .ss-checks{margin:14px 0 2px;border:1px solid var(--ux-line);border-radius:16px;background:#fff;overflow:hidden}
#sticker-studio-root .ss-checks[data-state=warn]{border-color:var(--ux-warn-line);background:var(--ux-warn-bg)}
#sticker-studio-root .ss-checks[data-state=ok]{border-color:var(--ux-ok-line);background:var(--ux-ok-bg)}
#sticker-studio-root .ss-checks-head{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;padding:12px 14px;border-radius:0;text-align:left;background:transparent}
#sticker-studio-root .ss-checks-head:hover{background:#ffffff80}
#sticker-studio-root .ss-checks-badge{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#fff;color:var(--ux-muted)}
#sticker-studio-root .ss-checks[data-state=warn] .ss-checks-badge{color:var(--ux-warn)}
#sticker-studio-root .ss-checks[data-state=ok] .ss-checks-badge{color:var(--ux-ok)}
#sticker-studio-root .ss-checks-title{display:grid;min-width:0}
#sticker-studio-root .ss-checks-title b{font-size:14px;line-height:20px;font-weight:800}
#sticker-studio-root .ss-checks-title small{font-size:12px;line-height:16px;color:var(--ux-muted)}
#sticker-studio-root .ss-checks-chevron{margin-left:auto;color:var(--ux-muted);transition:transform .2s}
#sticker-studio-root .ss-checks-head[aria-expanded=true] .ss-checks-chevron{transform:rotate(180deg)}
#sticker-studio-root .ss-checks-list{display:grid;gap:12px;margin:0;padding:2px 14px 14px;list-style:none}
#sticker-studio-root .ss-check{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;font-size:13px;line-height:18px}
#sticker-studio-root .ss-check>i{display:grid;place-items:center;height:20px;font-style:normal}
#sticker-studio-root .ss-check .ss-ux-icon{width:18px;height:18px}
#sticker-studio-root .ss-check.is-warn>i{color:var(--ux-warn)}
#sticker-studio-root .ss-check.is-info>i{color:#4a6aa5}
#sticker-studio-root .ss-check.is-pass>i{color:var(--ux-ok)}
#sticker-studio-root .ss-check b{font-weight:800}
#sticker-studio-root .ss-check p{margin:2px 0 0;color:#5d575a}
#sticker-studio-root .ss-check-fixes{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
#sticker-studio-root .ss-check-fixes button{height:30px;padding:0 13px;border:1px solid #e0cba8;border-radius:999px;background:#fff;font-size:12px;font-weight:800}
#sticker-studio-root .ss-checks[data-state=ok] .ss-check-fixes button,#sticker-studio-root .ss-checks[data-state=idle] .ss-check-fixes button{border-color:var(--ux-line)}
#sticker-studio-root .ss-checks-chip{display:none}

/* ---- layers panel ---- */
#sticker-studio-root .ss-layers{display:grid;gap:6px;margin:0;padding:0;list-style:none}
#sticker-studio-root .ss-layer-row{border:1px solid var(--ux-line);border-radius:14px;background:#fff;transition:box-shadow .12s,border-color .12s}
#sticker-studio-root .ss-layer-row.is-selected{border-color:var(--ux-pink);box-shadow:0 0 0 3px #ff008420}
#sticker-studio-root .ss-layer-row.is-dragging{opacity:.4}
#sticker-studio-root .ss-layer-row.drop-before{box-shadow:0 -3px 0 var(--ux-pink)}
#sticker-studio-root .ss-layer-row.drop-after{box-shadow:0 3px 0 var(--ux-pink)}
#sticker-studio-root .ss-layer-line{display:flex;align-items:center;gap:2px;padding:6px 6px 6px 0}
#sticker-studio-root .ss-layer-grip{display:grid;place-items:center;flex:none;width:20px;color:#b9b2ae;cursor:grab}
#sticker-studio-root .ss-layer-grip .ss-ux-icon{width:14px;height:14px}
#sticker-studio-root .ss-layer-main{flex:1 1 auto;justify-content:flex-start;gap:10px;min-width:0;height:50px;padding:0 6px;border-radius:10px;text-align:left}
#sticker-studio-root .ss-layer-row.is-hidden .ss-layer-main{opacity:.45}
#sticker-studio-root .ss-layer-thumb{display:grid;place-items:center;flex:none;width:40px;height:40px;overflow:hidden;border-radius:9px;background-color:#fff;background-image:conic-gradient(#e8e4e1 25%,#fff 0 50%,#e8e4e1 0 75%,#fff 0);background-size:10px 10px;color:var(--ux-muted);font:800 15px/1 PPJakarta,Arial,sans-serif}
#sticker-studio-root .ss-layer-thumb.is-text{background:var(--ux-stone)}
#sticker-studio-root .ss-layer-thumb img{width:100%;height:100%;object-fit:contain}
#sticker-studio-root .ss-layer-text{display:grid;min-width:0;gap:1px}
#sticker-studio-root .ss-layer-text b{overflow:hidden;font-size:13px;line-height:18px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
#sticker-studio-root .ss-layer-text small{font-size:11px;line-height:14px;color:var(--ux-muted)}
#sticker-studio-root .ss-layer-line>button:not(.ss-layer-main){flex:none;width:36px;height:36px;border-radius:50%;color:var(--ux-muted)}
#sticker-studio-root .ss-layer-line>button[data-action=layer-lock][aria-pressed=true]{color:var(--ux-pink-ink);background:var(--ux-tint)}
#sticker-studio-root .ss-layer-line>button[data-action=layer-vis][aria-pressed=false]{color:#b51b3e}
#sticker-studio-root .ss-layer-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:0 8px 8px}
#sticker-studio-root .ss-layer-actions button{flex-direction:column;gap:2px;height:48px;border:1px solid var(--ux-line);border-radius:10px;font-size:11px;font-weight:700}
#sticker-studio-root .ss-layer-actions button.is-danger{color:#b51b3e}
#sticker-studio-root .ss-layer-actions .ss-ux-icon{width:17px;height:17px}
#sticker-studio-root .ss-layers-empty{display:grid;justify-items:center;gap:6px;padding:28px 8px;text-align:center;color:var(--ux-muted);font-size:13px;line-height:19px}
#sticker-studio-root .ss-layers-empty>.ss-ux-icon{width:40px;height:40px;padding:9px;border-radius:50%;background:var(--ux-stone)}
#sticker-studio-root .ss-layers-empty p{margin:0}
#sticker-studio-root .ss-layers-empty button{margin-top:10px;padding:0 24px;min-height:44px}
#sticker-studio-root .ss-layers-hint{margin:0 0 12px;font-size:12px;line-height:17px;color:var(--ux-muted)}
#sticker-studio-root .ss-layers-note{display:flex;gap:8px;margin:12px 0 0;padding:10px 12px;border-radius:12px;background:var(--ux-stone);font-size:12px;line-height:17px;color:#5d575a}
#sticker-studio-root .ss-layers-note .ss-ux-icon{width:16px;height:16px;margin-top:1px}

/* ---- dialogs ---- */
#sticker-studio-root .ss-shortcuts-dialog,#sticker-studio-root .ss-conflict-dialog{width:min(480px,calc(100vw - 32px));border-radius:24px}
#sticker-studio-root .ss-shortcuts{display:grid;margin:16px 0 0}
#sticker-studio-root .ss-shortcuts>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--ux-line);font-size:14px}
#sticker-studio-root .ss-shortcuts dd{display:flex;gap:4px;margin:0}
#sticker-studio-root .ss-shortcuts kbd{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 7px;border:1px solid var(--ux-line);border-bottom-width:2px;border-radius:7px;background:var(--ux-stone);font:700 12px/1 PPNunito,Arial,sans-serif;color:var(--ux-ink)}
#sticker-studio-root .ss-conflict-dialog .ss-dialog-actions{flex-direction:column-reverse}#sticker-studio-root .ss-conflict-dialog .ss-dialog-actions>button{min-height:48px;border-radius:999px}

/* ---- sidebar controls, light polish ---- */
#sticker-studio-root .ss-section>label{font-size:13px;letter-spacing:.01em}
#sticker-studio-root .ss-material-current,#sticker-studio-root .ss-quantity-current,#sticker-studio-root .ss-size-field{border-radius:12px;border-color:var(--ux-line)}
#sticker-studio-root .ss-comment{border-radius:14px}
#sticker-studio-root .ppe-roll-preview{margin-top:24px}
#sticker-studio-root .ppe-roll-strip{min-height:96px;overflow:hidden;border-radius:14px}

/* ---- mobile ---- */
@media(max-width:767px){
 #sticker-studio-root .ss-app{background:var(--ux-stone)}
 #sticker-studio-root .ss-topbar{position:absolute;top:0;left:0;right:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-rows:auto auto;column-gap:4px;align-items:center;height:56px;padding:6px 10px 6px 4px}
 #sticker-studio-root .ss-top-actions{display:contents}
 #sticker-studio-root .ss-history{display:contents}
 #sticker-studio-root .ss-top-back{grid-column:1;grid-row:1/3;width:auto;min-width:72px;height:44px;padding:0 10px 0 6px;justify-content:center}
 #sticker-studio-root .ss-top-back span{position:static;width:auto;height:auto;overflow:visible;clip:auto;font-size:13px}
 #sticker-studio-root .ss-top-back .ss-top-back-long{display:none}
 #sticker-studio-root .ss-top-title{grid-column:2;grid-row:1;align-self:end;padding:0;border:0}
 #sticker-studio-root .ss-top-title strong{font-size:15px;line-height:20px}
 #sticker-studio-root .ss-top-title small{display:none}
 #sticker-studio-root .ss-save-state{grid-column:2;grid-row:2;align-self:start;max-width:none;padding:0;font-size:11px;line-height:14px}
 #sticker-studio-root .ss-history button{width:36px;height:36px;grid-row:1/3}
 #sticker-studio-root .ss-history button[data-action=undo]{grid-column:3}
 #sticker-studio-root .ss-history button[data-action=redo]{grid-column:4;margin-right:2px}
 #sticker-studio-root .ss-steps,#sticker-studio-root .ss-top-icon,#sticker-studio-root .ss-top-cta{display:none}
 #sticker-studio-root .ss-top-cancel{display:none}
 #sticker-studio-root .ss-app[data-sheet-part=true] .ss-top-cancel:not([hidden]){display:inline-flex;align-items:center;grid-column:5;grid-row:1/3;height:44px;padding:0 10px}
 #sticker-studio-root .ss-top-modeswitch{display:inline-flex;grid-column:5;grid-row:1/3;height:36px;padding:0 16px;border-radius:999px;background:var(--ux-ink);color:#fff;font-size:13px;font-weight:800}
 #sticker-studio-root .ss-topbar{grid-template-columns:auto minmax(0,1fr) auto auto auto}
 #sticker-studio-root .ss-app[data-sheet-part=true] .ss-top-modeswitch{display:none}
 #sticker-studio-root .ss-app[data-sheet-part=true] .ss-topbar{grid-template-columns:auto minmax(0,1fr) auto auto}
 #sticker-studio-root .ss-app[data-sheet-part=true] .ss-save-state{display:none}
 #sticker-studio-root .ss-app[data-sheet-part=true] .ss-top-back.ss-top-return{width:auto;padding:0 14px 0 8px;grid-column:1;grid-row:1/3}
 #sticker-studio-root .ss-app[data-sheet-part=true] .ss-top-return span{position:static;width:auto;height:auto;clip:auto;font-size:13px}
 #sticker-studio-root .ss-mobile-controls{top:56px}
 #sticker-studio-root .ss-stage{inset:111px 0 92px}
 #sticker-studio-root .ss-app[data-mode=preview] .ss-stage{inset:56px 0 196px}
 #sticker-studio-root .ss-app[data-mode=edit] .ss-artboard{padding:8px}
 #sticker-studio-root .ss-canvas-bar{right:10px;bottom:10px}
 #sticker-studio-root .ss-zoom,#sticker-studio-root .ss-guide-legend{display:none}
 #sticker-studio-root .ss-guides-toggle{height:36px;padding:0 12px 0 9px}
 #sticker-studio-root .ss-layer-toolbar{top:6px}
 #sticker-studio-root .ss-checks-chip{position:absolute;left:10px;top:10px;z-index:5;display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px 0 9px;border:1px solid var(--ux-line);border-radius:999px;background:#fffffff2;box-shadow:0 2px 10px #1d1d1f12;font-size:12px;font-weight:800;color:var(--ux-muted)}
 #sticker-studio-root .ss-checks-chip[data-state=warn]{border-color:var(--ux-warn-line);background:var(--ux-warn-bg);color:var(--ux-warn)}
 #sticker-studio-root .ss-checks-chip[data-state=ok]{border-color:var(--ux-ok-line);background:var(--ux-ok-bg);color:var(--ux-ok)}
 #sticker-studio-root .ss-checks-chip[hidden]{display:none}
 #sticker-studio-root .ss-checks-chip .ss-ux-icon{width:16px;height:16px}
 #sticker-studio-root .ss-mobile-tools{height:84px;padding:10px 8px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--ux-line);border-radius:20px 20px 0 0;box-shadow:0 -6px 20px #1d1d1f12}
 #sticker-studio-root .ss-mobile-tools button{gap:3px;height:60px;color:var(--ux-muted);font-weight:700}
 #sticker-studio-root .ss-mobile-tools button[aria-pressed=true]{background:var(--ux-tint);color:var(--ux-pink-ink)}
 #sticker-studio-root .ss-mobile-tools .ss-ux-icon{width:24px;height:24px}
 #sticker-studio-root .ss-mobile-tools strong{font-size:12px;font-weight:700}
 #sticker-studio-root .ss-app[data-drawer=layers] .ss-drawer{inset:auto 0 0;top:auto;width:100%;height:min(70dvh,560px);border-radius:24px 24px 0 0;box-shadow:0 -12px 40px #1d1d1f33}
 #sticker-studio-root .ss-empty{padding:16px}
 #sticker-studio-root .ss-empty-card{padding:22px 18px 18px}
 #sticker-studio-root .ss-mobile-order{border-top:1px solid var(--ux-line);box-shadow:0 -6px 20px #1d1d1f12}
 #sticker-studio-root .ss-mobile-cart{display:flex;align-items:center;gap:8px}
 #sticker-studio-root .ss-mobile-cart .ss-mobile-total{order:-1;flex:0 0 auto;min-width:72px;height:auto;padding:0 8px;font-size:18px;font-weight:900;white-space:nowrap}
 #sticker-studio-root .ss-mobile-cart .ss-yellow{flex:1 1 auto;min-width:0;min-height:52px}
}
@media(prefers-reduced-motion:reduce){#sticker-studio-root .ss-save-state[data-state=saving]::before{animation:none}#sticker-studio-root .ss-drop-overlay{transition:none}}

#sticker-studio-root .ss-download-preview{display:inline-flex;align-items:center;gap:8px;margin:10px 0 0;padding:0 14px;height:36px;border:1px solid var(--ux-line);border-radius:999px;background:#fff;font-size:13px;font-weight:800}
#sticker-studio-root .ss-download-preview:hover{background:var(--ux-stone)}
#sticker-studio-root .ss-download-preview .ss-ux-icon{width:16px;height:16px}
#sticker-studio-root .ss-product-summary .ss-quantity-current{margin-top:10px}

@media(min-width:768px){#sticker-studio-root .ss-section{margin-top:22px}#sticker-studio-root .ss-order{box-shadow:0 -12px 14px -12px #1d1d1f26}}

@media(max-width:900px) and (min-width:768px){
 #sticker-studio-root .ss-top-title{display:none}
 #sticker-studio-root .ss-steps{position:static;transform:none;margin:0 auto}
 #sticker-studio-root .ss-top-actions{margin-left:0}
 #sticker-studio-root .ss-guide-legend{display:none}
}

#sticker-studio-root .ss-top-brand{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px}
#sticker-studio-root .ss-top-brand:hover{background:var(--ux-stone)}
#sticker-studio-root .ss-top-logo{width:28px;height:auto}
#sticker-studio-root .ss-app[data-sheet-part=true] .ss-top-brand{display:none}
@media(max-width:767px){#sticker-studio-root .ss-top-brand{display:none}}

@media(min-width:768px){#sticker-studio-root .ss-toast{right:376px;bottom:84px}}

@media(max-width:767px){#sticker-studio-root .ss-toast{top:120px;width:min(384px,calc(100vw - 24px))}#sticker-studio-root .ss-app[data-mode=preview] .ss-toast{top:104px}}


/* =====================================================================================
   Editor UX v2 — sticker sheet studio (dialog). Shares tokens with the single editor.
   ===================================================================================== */
.ss-sheet-dialog{--ux-pink:#ff0084;--ux-pink-ink:#b80060;--ux-tint:#fff0f7;--ux-ink:#1d1d1f;--ux-muted:#6b6669;--ux-line:#e5e1e0;--ux-stone:#f5f4f2;--ux-ok:#0f7a55;--ux-ok-bg:#eefaf4;--ux-ok-line:#bfe6d5;--ux-warn:#9a4a05;--ux-warn-bg:#fff6e8;--ux-warn-line:#f3d3a4;--ux-top:60px;--ux-shadow:0 6px 24px #1d1d1f14}
.ss-sheet-dialog .sse-ux-icon{width:20px;height:20px;flex:none}
.ss-sheet-dialog .sse-progress{display:none!important}
.ss-sheet-dialog .sse-stage>.sse-mode{display:none!important}

/* ---- top bar ---- */
.sse-topbar{grid-column:1/-1;grid-row:1;position:relative;z-index:9;display:flex;align-items:center;gap:12px;height:var(--ux-top);padding:0 20px 0 12px;background:#fff;border-bottom:1px solid var(--ux-line)}
.ss-sheet-dialog .sse-top-back{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;height:40px;padding:0 14px 0 8px;border-radius:999px;font-size:14px;font-weight:800;color:var(--ux-ink)}
.ss-sheet-dialog .sse-top-back:hover{background:var(--ux-stone)}
.sse-top-title{flex:1 1 0;min-width:0;padding-left:14px;border-left:1px solid var(--ux-line);line-height:1.25}
.sse-top-title strong{display:block;font:700 15px/20px PPJakarta,"Plus Jakarta Sans",Arial,sans-serif;letter-spacing:-.01em}
.sse-top-title small{display:block;overflow:hidden;font-size:12px;line-height:16px;color:var(--ux-muted);text-overflow:ellipsis;white-space:nowrap}
.sse-steps{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;gap:2px;margin:0;padding:4px;list-style:none;background:var(--ux-stone);border-radius:999px}
.sse-steps li{display:block;margin:0;padding:0}
.ss-sheet-dialog .sse-steps button,.sse-steps li>span{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 16px 0 8px;border-radius:999px;font-size:14px;font-weight:800;color:var(--ux-muted);white-space:nowrap}
.sse-steps b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;border:1px solid var(--ux-line);font-size:12px;font-weight:800}
.ss-sheet-dialog .sse-steps button:hover{background:#ebe8e5}
.ss-sheet-dialog .sse-steps button[aria-current=step]{background:#fff;color:var(--ux-ink);box-shadow:0 1px 5px #1d1d1f1f}
.sse-steps button[aria-current=step] b,.sse-step-end[data-active=true] b{background:var(--ux-pink);border-color:var(--ux-pink);color:#fff}
.sse-step-end{opacity:.65}.sse-step-end[data-active=true]{opacity:1}
.sse-top-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex:0 0 auto}
.sse-history{display:flex;gap:2px}
.ss-sheet-dialog .sse-history button,.ss-sheet-dialog .sse-top-icon{width:38px;height:38px;border-radius:50%;font-size:inherit;color:var(--ux-ink);display:grid;place-items:center}
.ss-sheet-dialog .sse-history button:not(:disabled):hover,.ss-sheet-dialog .sse-top-icon:hover{background:var(--ux-stone)}
.ss-sheet-dialog .sse-history button:disabled{opacity:.3;cursor:default}
.ss-sheet-dialog .sse-save-state{display:inline-flex;align-items:center;gap:6px;max-width:190px;padding:0 4px;border:0;font-size:12px;line-height:16px;color:var(--ux-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sse-save-state::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--ux-ok)}
.sse-save-state[data-state=saving]::before{background:#d19a1d}
.sse-save-state[data-state=error]{color:#b51b3e}.sse-save-state[data-state=error]::before{background:#b51b3e}
.ss-sheet-dialog .sse-top-cta{min-width:150px;height:42px;padding:0 22px;border-radius:999px;background:var(--ux-ink);color:#fff;font:800 14px/1 PPNunito,"Nunito Sans",Arial,sans-serif;white-space:nowrap}
.ss-sheet-dialog .sse-top-cta:hover{background:#3a3a3d}
.sse-top-modeswitch{display:none!important}

/* ---- grid ---- */
@media(min-width:768px){
 .sse-app{grid-template-columns:84px minmax(0,1fr) 360px;grid-template-rows:var(--ux-top) minmax(0,1fr);padding:0}
 .ss-sheet-dialog .sse-stage>.sse-mode{display:inline-flex!important;align-items:center;justify-content:center;position:absolute;z-index:6;top:12px;right:16px;min-width:124px;min-height:44px;padding:10px 18px;border:1px solid var(--ux-ink);border-radius:999px;background:var(--ux-ink)!important;color:#fff!important;font-size:14px;font-weight:800;line-height:20px;white-space:nowrap;box-shadow:0 2px 10px #1d1d1f14}
 .ss-sheet-dialog .sse-stage>.sse-mode:hover{background:#3a3a3d!important}
 .sse-rail,.sse-stage,.sse-sidebar{grid-row:2}
 .sse-rail{padding:16px 8px;gap:6px}
 .ss-sheet-dialog .sse-rail button{min-height:68px;margin:0;gap:5px;border:0;border-radius:14px;color:var(--ux-muted);font-size:12px;font-weight:700}
 .ss-sheet-dialog .sse-rail button:first-child{min-height:68px}
 .ss-sheet-dialog .sse-rail button:hover{background:var(--ux-stone);color:var(--ux-ink)}
 .ss-sheet-dialog .sse-rail button[aria-pressed=true]{background:var(--ux-tint);color:var(--ux-pink-ink);font-weight:800;box-shadow:inset 0 0 0 1px #ffc2de}
 .sse-rail .sse-ux-icon{width:24px;height:24px;stroke-width:1.7}
 .sse-stage{margin:12px 0 16px;border-radius:20px}
 .ss-sheet-dialog .sse-sidebar{padding:20px 24px 20px;border-left:1px solid var(--ux-line)}
 .ss-sheet-dialog .sse-drawer{top:var(--ux-top);bottom:0;left:84px;width:340px;padding:24px;border-radius:0 20px 20px 0;box-shadow:var(--ux-shadow)}
 .ss-sheet-dialog .sse-options h2{margin:4px 0 6px;font-size:22px}
}
@media(max-width:1100px) and (min-width:768px){
 .sse-app{grid-template-columns:76px minmax(0,1fr) 320px}
 .ss-sheet-dialog .sse-drawer{left:76px}
 .sse-top-title small,.sse-save-state,.sse-top-long{display:none}
 .ss-sheet-dialog .sse-steps button,.sse-steps li>span{padding:0 12px 0 6px}
 .ss-sheet-dialog .sse-top-cta{min-width:0;padding:0 16px}
}
.sse-stage{background-color:var(--ux-stone)}
.ss-sheet-dialog[data-mode=edit] .sse-stage{background-image:radial-gradient(#e2dcd5 1px,transparent 1.2px);background-size:22px 22px}
.sse-board{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden}
.ss-sheet-dialog[data-mode=edit] .sse-board{padding:56px 16px 52px}
.sse-stage[data-zoomed=true] .sse-board{place-items:start;overflow:auto;scrollbar-width:thin}
.sse-stage[data-zoomed=true] .sse-board canvas{flex:none;margin:auto;width:calc(min(100%,calc(100dvh - 190px))*var(--sse-zoom,1));max-width:none;max-height:none;height:auto}
.ss-sheet-dialog[data-mode=edit] .sse-board canvas{width:min(100%,calc(100dvh - 190px));max-height:100%}
.ss-sheet-dialog .sse-order{border-top:1px solid var(--ux-line)}
.sse-approve-note{margin:0 0 12px;font-size:12px;line-height:17px;color:var(--ux-muted)}
.ss-sheet-dialog .sse-back{bottom:16px;border:1px solid var(--ux-line);border-radius:999px;box-shadow:0 2px 10px #1d1d1f12}
.ss-sheet-dialog .sse-tools{top:12px;left:16px;gap:2px;padding:4px;border:1px solid var(--ux-line);border-radius:14px;box-shadow:0 3px 14px #1d1d1f0c}
.ss-sheet-dialog .sse-tools button{padding:7px 10px;border-radius:10px;font-weight:700}
.ss-sheet-dialog .sse-tools button:hover{background:var(--ux-tint)}
.ss-sheet-dialog .sse-alert{border-radius:14px;box-shadow:var(--ux-shadow)}
.ss-sheet-dialog .sse-busy{background:#f5f4f2e8;backdrop-filter:blur(2px);color:var(--ux-ink)}

/* ---- canvas bar, empty, drop ---- */
.sse-canvas-bar{position:absolute;right:16px;bottom:16px;z-index:5;display:flex;align-items:center;gap:8px}
.ss-sheet-dialog:not([data-mode=edit]) .sse-canvas-bar{display:none}
.sse-zoom{display:inline-flex;align-items:center;height:38px;padding:0 2px;border:1px solid var(--ux-line);border-radius:999px;background:#fffffff2;box-shadow:0 2px 10px #1d1d1f12}
.ss-sheet-dialog .sse-zoom button{display:grid;place-items:center;width:34px;height:34px;border-radius:50%}
.ss-sheet-dialog .sse-zoom button:disabled{opacity:.3;cursor:default}
.ss-sheet-dialog .sse-zoom .sse-zoom-value{width:auto;min-width:52px;padding:0 6px;border-radius:999px;font-size:13px;font-weight:800}
.sse-empty{position:absolute;inset:0;z-index:3;display:grid;place-items:center;padding:24px;pointer-events:none}
.sse-empty-card{display:grid;justify-items:center;gap:10px;width:min(430px,100%);padding:28px 28px 24px;border:1.5px dashed #d6c9bb;border-radius:24px;background:#fffffff2;box-shadow:var(--ux-shadow);text-align:center;pointer-events:auto}
.sse-empty-card>.sse-ux-icon{width:44px;height:44px;padding:11px;border-radius:50%;background:var(--ux-tint);color:var(--ux-pink-ink)}
.sse-empty-card h3{margin:2px 0 0;font:700 20px/26px PPJakarta,"Plus Jakarta Sans",Arial,sans-serif;letter-spacing:-.02em}
.sse-empty-card p{margin:0;max-width:320px;font-size:13px;line-height:19px;color:var(--ux-muted)}
.ss-sheet-dialog .sse-empty-primary{margin-top:6px;min-height:48px;padding:0 28px;border-radius:999px;font-size:15px;font-weight:800}
.sse-empty-alt{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ux-muted)}
.ss-sheet-dialog .sse-empty-alt button{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:1px solid var(--ux-line);border-radius:999px;background:#fff;font-size:13px;font-weight:800;color:var(--ux-ink)}
.ss-sheet-dialog .sse-empty-alt button:hover{background:var(--ux-stone)}
.sse-empty-alt .sse-ux-icon{width:16px;height:16px}
.sse-drop-overlay{position:absolute;inset:0;z-index:30;display:grid;place-items:center;border:2px dashed var(--ux-pink);border-radius:inherit;background:#fff0f7f5;opacity:0;pointer-events:none;transition:opacity .15s}
.sse-drop-overlay>div{display:grid;justify-items:center;gap:4px;color:var(--ux-pink-ink);text-align:center}
.sse-drop-overlay .sse-ux-icon{width:40px;height:40px}
.sse-drop-overlay strong{font:700 20px/26px PPJakarta,"Plus Jakarta Sans",Arial,sans-serif}
.sse-drop-overlay span{font-size:13px}
.ss-sheet-dialog.sse-dragover .sse-drop-overlay{opacity:1}

/* ---- checks ---- */
.sse-checks{margin:14px 0 8px;border:1px solid var(--ux-line);border-radius:16px;background:#fff;overflow:hidden}
.sse-checks[data-state=warn]{border-color:var(--ux-warn-line);background:var(--ux-warn-bg)}
.sse-checks[data-state=ok]{border-color:var(--ux-ok-line);background:var(--ux-ok-bg)}
.ss-sheet-dialog .sse-checks-head{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;padding:12px 14px;text-align:left}
.ss-sheet-dialog .sse-checks-head:hover{background:#ffffff80}
.sse-checks-badge{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#fff;color:var(--ux-muted)}
.sse-checks[data-state=warn] .sse-checks-badge{color:var(--ux-warn)}.sse-checks[data-state=ok] .sse-checks-badge{color:var(--ux-ok)}
.sse-checks-title{display:grid;min-width:0}.sse-checks-title b{font-size:14px;line-height:20px;font-weight:800}.sse-checks-title small{font-size:12px;line-height:16px;color:var(--ux-muted)}
.sse-checks-chevron{margin-left:auto;color:var(--ux-muted);transition:transform .2s}
.sse-checks-head[aria-expanded=true] .sse-checks-chevron{transform:rotate(180deg)}
.sse-checks-list{display:grid;gap:12px;margin:0;padding:2px 14px 14px;list-style:none}
.sse-check{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;font-size:13px;line-height:18px}
.sse-check>i{display:grid;place-items:center;height:20px;font-style:normal}.sse-check .sse-ux-icon{width:18px;height:18px}
.sse-check.is-warn>i{color:var(--ux-warn)}.sse-check.is-info>i{color:#4a6aa5}.sse-check.is-pass>i{color:var(--ux-ok)}
.sse-check b{font-weight:800}.sse-check p{margin:2px 0 0;color:#5d575a}
.sse-check-fixes{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.ss-sheet-dialog .sse-check-fixes button{height:30px;padding:0 13px;border:1px solid #e0cba8;border-radius:999px;background:#fff;font-size:12px;font-weight:800}
.sse-checks-chip{display:none}

/* ---- stickers panel ---- */
.sse-layers{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.sse-layer-row{border:1px solid var(--ux-line);border-radius:14px;background:#fff}
.sse-layer-row.is-selected{border-color:var(--ux-pink);box-shadow:0 0 0 3px #ff008420}
.sse-layer-line{display:flex;align-items:center;gap:2px;padding:6px}
.ss-sheet-dialog .sse-drawer .sse-layer-main{flex:1 1 auto;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;width:auto;height:50px;padding:0 6px;border-radius:10px;text-align:left;font-weight:400}
.sse-part-thumb{display:grid;place-items:center;flex:none;width:40px;height:40px;overflow:hidden;border-radius:9px;background-color:#fff;background-image:conic-gradient(#e8e4e1 25%,#fff 0 50%,#e8e4e1 0 75%,#fff 0);background-size:10px 10px;color:var(--ux-muted)}
.sse-part-thumb img{width:100%;height:100%;object-fit:contain}
.sse-layer-text{display:grid;min-width:0;gap:1px}
.sse-layer-text b{overflow:hidden;font-size:13px;line-height:18px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.sse-layer-text small{font-size:11px;line-height:14px;color:var(--ux-muted)}
.ss-sheet-dialog .sse-drawer .sse-layer-line>button:not(.sse-layer-main){flex:none;display:grid;place-items:center;width:36px;height:36px;padding:0;border-radius:50%;color:var(--ux-muted)}
.sse-layer-line>button[data-sheet-action=part-lock][aria-pressed=true]{color:var(--ux-pink-ink)!important;background:var(--ux-tint)}
.sse-layer-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:0 8px 8px}
.ss-sheet-dialog .sse-drawer .sse-layer-actions button{display:flex;flex-direction:column;align-items:center;gap:2px;width:auto;height:48px;padding:4px 0;border:1px solid var(--ux-line);border-radius:10px;font-size:10.5px;font-weight:700}
.sse-layer-actions button.is-danger{color:#b51b3e}.sse-layer-actions .sse-ux-icon{width:17px;height:17px}
.sse-layers-empty{display:grid;justify-items:center;gap:6px;padding:28px 8px;text-align:center;color:var(--ux-muted);font-size:13px;line-height:19px}
.sse-layers-empty>.sse-ux-icon{width:40px;height:40px;padding:9px;border-radius:50%;background:var(--ux-stone)}.sse-layers-empty p{margin:0}
.ss-sheet-dialog .sse-layers-empty button{width:auto;margin-top:10px;padding:0 24px;min-height:44px;border-radius:999px}
.sse-layers-hint{margin:0 0 12px;font-size:12px;line-height:17px;color:var(--ux-muted)}
.sse-shortcuts{display:grid;margin:8px 0 0}
.sse-shortcuts>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--ux-line);font-size:13px}
.sse-shortcuts dd{display:flex;gap:4px;margin:0;flex:none}
.sse-shortcuts kbd{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 7px;border:1px solid var(--ux-line);border-bottom-width:2px;border-radius:7px;background:var(--ux-stone);font:700 12px/1 PPNunito,Arial,sans-serif}
.sse-conflict-actions{display:grid;gap:8px;margin-top:20px}
.ss-sheet-dialog .sse-conflict-actions button{min-height:46px;border-radius:999px;font-weight:800}
.ss-sheet-dialog .sse-conflict-actions .sse-outline{border:1px solid var(--ux-line);background:#fff}

/* ---- mobile ---- */
@media(max-width:767px){
 .sse-app{grid-template-columns:1fr;grid-template-rows:56px minmax(0,1fr) auto auto;padding:0;background:var(--ux-stone)}
 .sse-topbar{grid-row:1;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;grid-template-rows:auto auto;column-gap:4px;align-items:center;height:56px;padding:6px 10px 6px 4px}
 .sse-top-actions,.sse-history{display:contents}
 .ss-sheet-dialog .sse-top-back{grid-column:1;grid-row:1/3;width:40px;height:40px;padding:0;justify-content:center}
 .sse-top-back span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .sse-top-title{grid-column:2;grid-row:1;align-self:end;padding:0;border:0}
 .sse-top-title small{display:none}
 .ss-sheet-dialog .sse-save-state{grid-column:2;grid-row:2;align-self:start;max-width:none;padding:0;font-size:11px;line-height:14px}
 .ss-sheet-dialog .sse-history button{width:36px;height:36px;grid-row:1/3}
 .sse-history button[data-sheet-action=undo]{grid-column:3}.sse-history button[data-sheet-action=redo]{grid-column:4}
 .sse-steps,.ss-sheet-dialog .sse-top-icon,.ss-sheet-dialog .sse-top-cta{display:none}
 .ss-sheet-dialog .sse-top-modeswitch{display:inline-flex!important;align-items:center;justify-content:center;grid-column:5;grid-row:1/3;height:36px;padding:0 16px;border-radius:999px;background:var(--ux-ink);color:#fff;font-size:13px;font-weight:800}
 .sse-stage{grid-row:2;border-radius:0}
 .sse-rail{grid-row:3;flex-direction:row;align-items:stretch;justify-content:space-around;padding:6px 8px;border-top:1px solid var(--ux-line);border-bottom:0;background:#fff}
 .ss-sheet-dialog .sse-rail button,.ss-sheet-dialog .sse-rail button:first-child{flex:1;flex-direction:column;gap:2px;min-height:52px;border-radius:12px;color:var(--ux-muted);font-weight:700}
 .ss-sheet-dialog .sse-rail button[aria-pressed=true]{background:var(--ux-tint);color:var(--ux-pink-ink)}
 .sse-rail span{font-size:11px}.sse-rail .sse-ux-icon{width:22px;height:22px}
 .ss-sheet-dialog .sse-sidebar{grid-row:4;max-height:44dvh;border-top:1px solid var(--ux-line)}
 .ss-sheet-dialog[data-mode=edit] .sse-board{padding:8px}
 .sse-board canvas{width:min(100cqw,100cqh)!important;height:min(100cqw,100cqh)!important}
 .sse-canvas-bar{display:none!important}
 .ss-sheet-dialog .sse-tools{top:8px;left:8px;bottom:auto;max-width:calc(100% - 16px)}
 .sse-checks-chip{position:absolute;left:10px;bottom:10px;z-index:5;display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px 0 9px;border:1px solid var(--ux-line);border-radius:999px;background:#fffffff2;box-shadow:0 2px 10px #1d1d1f12;font-size:12px;font-weight:800;color:var(--ux-muted)}
 .sse-checks-chip[data-state=warn]{border-color:var(--ux-warn-line);background:var(--ux-warn-bg);color:var(--ux-warn)}
 .sse-checks-chip[data-state=ok]{border-color:var(--ux-ok-line);background:var(--ux-ok-bg);color:var(--ux-ok)}
 .sse-checks-chip[hidden]{display:none}.sse-checks-chip .sse-ux-icon{width:16px;height:16px}
 .ss-sheet-dialog .sse-back{bottom:10px;left:auto;right:10px;transform:none}
 .ss-sheet-dialog .sse-alert{bottom:56px}
 .ss-sheet-dialog .sse-drawer{top:56px;bottom:0;border-radius:0;box-shadow:none}
 .ss-sheet-dialog .sse-layer-actions{grid-template-columns:repeat(3,1fr)}
 .sse-empty{padding:16px}.sse-empty-card{gap:8px;padding:18px 16px 16px}.sse-empty-card p{display:none}.sse-empty-card>.sse-ux-icon{width:36px;height:36px;padding:8px}.sse-empty-card h3{font-size:18px}
 .ss-sheet-dialog[data-empty=true] .sse-back,.ss-sheet-dialog[data-empty=true] .sse-checks-chip{display:none}
 .sse-options>h2,.sse-options>.sse-spec-summary{display:none}
 .ss-sheet-dialog .sse-tools{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.ss-sheet-dialog .sse-tools button{flex:none;padding:7px 12px;font-size:12px;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.sse-drop-overlay{transition:none}}

@media(max-width:900px) and (min-width:768px){
 .sse-top-title{display:none}
 .sse-steps{position:static;transform:none;margin:0 auto}
 .sse-top-actions{margin-left:0}
}

.sse-top-brand{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px}
.sse-top-brand:hover{background:var(--ux-stone)}
.sse-top-brand img{width:28px;height:auto}
@media(max-width:767px){.sse-top-brand{display:none}}

/* ---- sheet v2: upload intents, fixed shape and size, info notice ---- */
.sse-upload-choice-block{padding:16px;border:1.5px dashed #d6c9bb;border-radius:16px;background:var(--stone);text-align:center}
.sse-upload-choice-block+.sse-upload-choice-block{margin-top:12px}
.sse-upload-lead{margin:0 0 12px;font:400 13.5px/1.5 var(--fb);color:var(--ink-2)}
.ss-sheet-dialog .sse-drawer .sse-upload-choice{width:100%;min-height:48px;padding:0 18px;border-radius:999px!important;font:800 15px/1 var(--fh)}
.ss-sheet-dialog .sse-drawer .sse-upload-choice-secondary{background:#fff!important;color:var(--ink)!important;border:1.5px solid var(--line)}
.ss-sheet-dialog .sse-drawer .sse-upload-choice-secondary:hover{border-color:var(--pink);background:var(--pink-wash)!important}
.sse-upload-formats{margin:16px 0 0;font:400 12.5px/1.6 var(--fb);color:var(--ink-3);text-align:center}
.sse-upload-formats b{display:block;margin-bottom:2px;font:700 12.5px/1.4 var(--fh);color:var(--ink)}
.sse-upload-recent{margin:18px 0 8px;font:600 12.5px/1.4 var(--fh);color:var(--ink-2)}
.sse-spec{margin:0 0 18px}
.sse-spec>label{display:flex;align-items:baseline;margin:0 0 8px;font:600 13.5px/1.3 var(--fh);color:var(--ink)}
.sse-spec .sse-pipe{margin:0 8px;color:var(--line)}
.sse-spec>label>span:last-child{font-weight:400;color:var(--ink-2)}
.sse-shape-fixed{display:grid;place-items:center;width:48px;height:48px;border:1.5px solid var(--pink);border-radius:12px;background:var(--pink-wash)}
.sse-shape-fixed img{width:30px;height:30px}
.ss-sheet-dialog .sse-size{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:10px;margin:0}
.ss-sheet-dialog .sse-size>label{position:relative;margin:0;font-weight:400;color:inherit}
.ss-sheet-dialog .sse-size>label>span{position:absolute;left:14px;top:50%;transform:translateY(-50%);font:400 14px var(--fb);color:var(--ink-3);pointer-events:none}
.ss-sheet-dialog .sse-size>label>input{width:100%;height:48px;padding:0 12px 0 36px;border:1.5px solid var(--line);border-radius:12px;background:var(--stone);font:400 16px var(--fb);color:var(--ink-2);opacity:1;-webkit-text-fill-color:var(--ink-2)}
.ss-sheet-dialog .sse-size>.sse-lock{display:grid;place-items:center;color:var(--ink-3);opacity:1}
.sse-spec-note{margin:8px 0 0;font:400 12px/1.5 var(--fb);color:var(--ink-3)}
.sse-spec-qty{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-radius:12px;background:var(--stone);font:400 13px/1.4 var(--fb);color:var(--ink-2)}
.sse-spec-qty b{font:700 14px var(--fh);color:var(--ink)}
.ss-sheet-dialog .sse-alert.is-info{background:#fff;border:1px solid var(--line);color:var(--ink-2);box-shadow:var(--ux-shadow)}
@media(max-width:767px){.sse-spec-note{display:none}.sse-spec{margin-bottom:12px}.sse-upload-choice-block{padding:12px}}
/* pp-roll-stage-toggle start — 2026-10-24: stage "Edit design / Done editing" button back on desktop (single + roll, not inside a sheet), and the hex value next to colour swatches, like the reference editor */
@media(min-width:768px){
#sticker-studio-root .ss-app:not([data-sheet-part=true]) .ss-stage>.ss-mode-button{display:inline-flex;align-items:center;gap:8px;top:16px;right:16px;min-height:36px;height:36px;padding:0 16px;border-radius:999px;background:var(--ux-ink,#1d1d1f);color:#fff;font-size:13px;font-weight:800;box-shadow:0 2px 8px rgba(0,0,0,.12)}
#sticker-studio-root .ss-app:not([data-sheet-part=true]) .ss-stage>.ss-mode-button:hover{background:#000}
#sticker-studio-root .ss-app:not([data-sheet-part=true]) .ss-stage>.ss-mode-button svg,#sticker-studio-root .ss-app:not([data-sheet-part=true]) .ss-stage>.ss-mode-button img{width:14px;height:14px}
#sticker-studio-root .ss-app[data-mode=edit] .ss-layer-toolbar{max-width:calc(100% - 200px)}
#sticker-studio-root .ss-color-button>span:last-child{display:inline;font-size:14px;font-weight:600;color:#4a4a4a;letter-spacing:.01em}
}
/* pp-roll-stage-toggle end */
/* pp-sheet-panel start — 2026-10-24: sheet Design panel, Edit background / Edit sticker as full-width centred buttons like the reference editor */
.ss-sheet-dialog .sse-edit-background{display:flex!important;align-items:center;justify-content:center!important;width:100%;min-height:48px;height:auto!important;margin:8px 0 0;padding:12px 16px!important;background:#fff;border:1px solid var(--studio-line,#e5e1e0)!important;border-radius:12px!important;font-size:15px!important;line-height:20px!important;font-weight:700!important;color:#1d1d1f;text-align:center!important;cursor:pointer;transition:border-color .15s,background-color .15s}
.ss-sheet-dialog .sse-edit-background:hover{border-color:#1d1d1f!important;background:#faf8f7}
.ss-sheet-dialog .sse-edit-background:focus-visible{outline:2px solid #ff0084;outline-offset:2px}
.ss-sheet-dialog .sse-edit-sticker{margin-top:12px}
/* pp-sheet-panel end */

/* Photo layout: artwork size and printed background share one editing panel. */
#sticker-studio-root .ss-artwork-actions{position:absolute;top:16px;left:16px;z-index:5;display:flex;gap:8px;max-width:calc(100% - 170px)}
#sticker-studio-root .ss-artwork-actions[hidden]{display:none}
#sticker-studio-root .ss-artwork-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 14px;border:1px solid var(--studio-line,#dedbd7);border-radius:999px;background:#fffffff5;color:var(--ux-ink,#1d1d1f);font-size:13px;font-weight:700;box-shadow:0 2px 8px #1d1d1f0a}
#sticker-studio-root .ss-artwork-actions button:hover{background:var(--studio-tint,#fff0f6)}
#sticker-studio-root .ss-artwork-actions button:disabled{opacity:.45;cursor:not-allowed}
#sticker-studio-root .ss-background-preview{width:20px;height:20px;flex:none;border:1px solid #ddd;border-radius:50%}
#sticker-studio-root .ss-photo-layout>label{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
#sticker-studio-root .ss-photo-layout>label>span{font-size:11px;font-weight:500;line-height:1.5;color:var(--ux-muted,#666)}
#sticker-studio-root .ss-photo-size{display:grid;grid-template-columns:44px minmax(80px,1fr) 44px;gap:10px;margin-top:12px}
#sticker-studio-root .ss-photo-size>button,#sticker-studio-root .ss-photo-presets>button,#sticker-studio-root .ss-photo-frame{min-height:44px;border:1px solid var(--studio-line,#dedbd7);border-radius:12px;background:#fff;font-weight:700;color:var(--ux-ink,#1d1d1f)}
#sticker-studio-root .ss-photo-size>button{display:grid;place-items:center;padding:0}
#sticker-studio-root .ss-photo-size>label{position:relative;display:flex;align-items:center;margin:0}
#sticker-studio-root .ss-photo-size input{width:100%;min-width:0;height:44px;padding:0 32px 0 14px;border:1px solid var(--studio-line,#dedbd7);border-radius:12px;background:#fff;color:var(--ux-ink,#1d1d1f);font-family:inherit;font-size:15px;font-weight:600;appearance:textfield;-moz-appearance:textfield}
#sticker-studio-root .ss-photo-size input::-webkit-inner-spin-button,#sticker-studio-root .ss-photo-size input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#sticker-studio-root .ss-photo-size label>span{position:absolute;right:14px;font-size:14px;pointer-events:none}
#sticker-studio-root .ss-photo-range{display:block;width:100%;height:44px;margin:8px 0 0;accent-color:var(--studio-pink,#ff0080);cursor:ew-resize;touch-action:pan-y}
#sticker-studio-root .ss-photo-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#sticker-studio-root .ss-photo-size>button:hover,#sticker-studio-root .ss-photo-presets>button:hover,#sticker-studio-root .ss-photo-frame:hover{background:var(--studio-tint,#fff0f6);border-color:var(--studio-pink,#ff0080)}
#sticker-studio-root .ss-photo-note{margin:12px 0 0;font-size:12px;line-height:1.65;color:var(--ux-muted,#666)}
#sticker-studio-root .ss-photo-frame{width:100%;margin-top:12px;padding:10px 16px}
#sticker-studio-root .ss-bg-presets{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin:12px 0 16px}
#sticker-studio-root .ss-bg-presets>button{min-width:0;min-height:32px;aspect-ratio:1;border:1px solid #0002;border-radius:50%}
#sticker-studio-root .ss-bg-presets>button[aria-pressed=true]{outline:2px solid var(--studio-pink,#ff0080);outline-offset:2px}
#sticker-studio-root .ss-photo-size button:focus-visible,#sticker-studio-root .ss-photo-presets button:focus-visible,#sticker-studio-root .ss-artwork-actions button:focus-visible,#sticker-studio-root .ss-bg-presets button:focus-visible{outline:2px solid var(--studio-pink,#ff0080);outline-offset:3px}
@media(max-width:767px){
 #sticker-studio-root .ss-app[data-mobile-panel=image-layout]{--ss-active-sheet:min(410px,52dvh)}
 #sticker-studio-root .ss-app[data-mobile-panel=image-layout] .ss-mobile-tools,#sticker-studio-root .ss-app[data-mobile-panel=color] .ss-mobile-tools{visibility:hidden;pointer-events:none}
 #sticker-studio-root .ss-app[data-mobile-panel=image-layout] .ss-sidebar.ss-options-open{max-height:55dvh}
 #sticker-studio-root .ss-sidebar[data-panel=image-layout] .ss-panel-heading{position:sticky;top:0;z-index:2;min-height:44px;height:44px;margin-bottom:4px;padding:8px 44px;background:var(--studio-stone,#faf9f7)}
 #sticker-studio-root .ss-sidebar[data-panel=image-layout] .ss-panel-heading>button{top:0;min-width:44px;min-height:44px;display:grid;place-items:center}
 #sticker-studio-root .ss-app[data-mobile-panel=image-layout] .ss-back-button{display:none}
 #sticker-studio-root .ss-app[data-mobile-panel=image-layout] .ss-options{padding-bottom:env(safe-area-inset-bottom,0px)}
 #sticker-studio-root .ss-artwork-actions{top:8px;left:10px;max-width:calc(100% - 20px)}
 #sticker-studio-root .ss-app:has(.ss-artwork-actions:not([hidden])) .ss-checks-chip{top:62px}
 #sticker-studio-root .ss-artwork-actions button{min-height:44px;padding:0 12px}
 #sticker-studio-root .ss-bg-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
 #sticker-studio-root .ss-bg-presets>button{min-height:44px;max-width:48px;justify-self:center;width:100%}
 #sticker-studio-root .ss-photo-note{font-size:13px}
}

/* Keep the primary action clear while selected-layer tools are open on a phone. */
@media(max-width:767px){
 #sticker-studio-root .ss-app[data-sheet-part=true] .ss-mobile-cart>button[data-action=primary]{flex:1 1 100%;width:100%;height:auto;min-height:52px;padding:14px 20px;font-size:16px;line-height:24px;white-space:normal}
 #sticker-studio-root .ss-app[data-mode=edit][data-has-selection=true] .ss-layer-toolbar{top:58px;height:50px;gap:0;padding:4px;max-width:calc(100% - 16px);overflow-x:auto}
 #sticker-studio-root .ss-app[data-mode=edit][data-has-selection=true] .ss-layer-toolbar button{width:42px;height:42px;min-width:42px;margin-left:0;padding:10px}
 #sticker-studio-root .ss-app[data-mode=edit][data-has-selection=true] .ss-layer-toolbar button::before{display:none}
 #sticker-studio-root .ss-app[data-mode=edit][data-has-selection=true] .ss-checks-chip{display:none}
}
