/* Customer upload/preview follows the product pages; Studio retains its workspace. */
#sticker-designer .su-heading,#sticker-designer .su-options {display:none}
#sticker-designer[data-guided-upload] .su-heading {display:block;margin:0 0 24px}
#sticker-designer .su-heading #su-title {font-size:24px;line-height:32px;margin:0 0 8px}
#sticker-designer .su-heading p {margin:0}
#sticker-designer[data-guided-upload="studio"] .su-product-header,
#sticker-designer[data-guided-upload="studio"] .su-heading {display:none}
#sticker-designer .su-studio-navigation {display:flex;align-items:center;gap:8px;margin-left:auto}
#sticker-designer .su-studio-navigation #sd-open-help {margin-left:0}
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-main {max-width:72rem;margin:16px auto;padding:0 16px 24px}
#sticker-designer[data-guided-upload="upload"] .sd-main.sd-main {max-width:64rem}
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-toolbar,
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-controls,
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) #sd-selection-bar,
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-object-properties,
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-stage-tools,
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) #sd-expand-artboard,
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-object-drawer,
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-product-summary>label,
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-product-summary>a,
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) #sd-sample {display:none!important}
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-workspace {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;height:auto;min-height:0;align-items:start}
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-preview {grid-column:1;min-height:400px}
/* A definite height keeps the SVG's changing viewBox from sizing its own viewport. */
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-stage {height:clamp(360px,45svh,520px);min-height:360px;flex:none}
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .su-options {display:block;grid-column:2;grid-row:1;padding:0;border:0;background:#fff}
#sticker-designer .su-options h3 {font-size:24px;line-height:32px;margin:0 0 16px}
#sticker-designer .su-options label:not(.sd-check):not(.sd-range-label),#sticker-designer .su-options legend {display:block;font-size:18px;font-weight:700;margin:12px 0 4px}
#sticker-designer .su-options input[type="color"] {width:100%;height:42px;border:1px solid #6b7280;border-radius:6px;padding:3px;background:white;cursor:pointer}
#sticker-designer .su-options .sd-helper {margin:9px 0 14px}
#sticker-designer #su-preview-options {max-width:24rem;margin:0 auto}
#sticker-designer .su-size-options,#sticker-designer .su-artwork-placement {margin:12px 0 0;padding:0;border:0;min-width:0}
#sticker-designer .su-size-options legend,#sticker-designer .su-artwork-placement legend {font-size:18px;font-weight:700;line-height:28px;margin:0 0 4px;padding:0}
#sticker-designer .su-size-options .sd-size-fields {margin:0 12px}
#sticker-designer #su-size-hint {margin-left:12px;margin-right:12px;text-align:right}
#sticker-designer .su-options .su-size-options .sd-size-fields label {display:flex;align-items:center;gap:6px;font-size:13px;font-weight:400;margin:0;min-width:0}
#sticker-designer .su-size-options .sd-size-fields label>span {flex:1;min-width:0;margin-top:0}
#sticker-designer .su-size-options .sd-size-fields input {width:100%;min-width:0}
#sticker-designer .su-placement-fields {margin:0 12px}
#sticker-designer .su-artwork-placement .sd-range-label {display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:400;margin:0;line-height:24px}
#sticker-designer .su-artwork-placement input[type="range"] {display:block;width:100%;min-width:0;margin:0}
#sticker-designer .su-position-sliders {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:8px}
#sticker-designer .su-background-panel {margin-top:16px;padding:0 12px;border:1px solid #d1d5db;border-radius:6px}
#sticker-designer .su-background-panel>summary {padding:12px 0;font-size:14px;font-weight:600;cursor:pointer}
#sticker-designer .su-background-panel>summary:focus-visible {outline:2px solid #178881;outline-offset:3px}
#sticker-designer .su-actions {display:grid;gap:12px;margin-top:20px;padding-top:12px}
#sticker-designer .su-actions button {width:100%;white-space:normal}
#sticker-designer #su-studio {font-size:16px;font-weight:700;line-height:24px}
#sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) #sd-native-file-notice {display:none}
#sticker-designer #sd-native-file-notice:not([hidden]) {background:#fff7df;border:1px solid #e4ca77;border-radius:6px;margin:12px 16px;color:#5f4714}
#sticker-designer .su-upload-notes {list-style:none;margin:0 0 16px 16px;padding:0}
#sticker-designer .su-upload-notes li {position:relative;padding-left:20px;margin-bottom:12px}
#sticker-designer .su-upload-notes li::before {content:'\00bb';position:absolute;left:0;top:0;font-weight:700}
/* Match the shared image-upload component's 256px dashed drop target. */
#sticker-designer[data-guided-upload="upload"] .sd-preview.sd-preview {min-height:0;border:0;border-radius:0;margin:0 16px;background:transparent}
#sticker-designer[data-guided-upload="upload"] .sd-stage.sd-stage {height:256px;min-height:256px;flex:none;background:none;overflow:visible}
#sticker-designer[data-guided-upload="upload"] .sd-product-summary,
#sticker-designer[data-guided-upload="upload"] .sd-artboard-heading,
#sticker-designer[data-guided-upload="upload"] #sd-glow-control,
#sticker-designer[data-guided-upload="upload"] #sd-clear-controls {display:none!important}
#sticker-designer[data-guided-upload="upload"] .sd-empty {background:transparent;gap:0}
#sticker-designer .su-drop-target {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;min-height:256px;padding:20px 12px 24px;border:2px dashed #d1d5db;border-radius:8px;background:#f9fafb;color:#6b7280;font-size:14px;text-align:center}
#sticker-designer .su-drop-target:hover {border-color:#2abcb6}
#sticker-designer .su-drop-target svg {width:40px;height:40px;margin-bottom:4px;color:#9ca3af;filter:none}
#sticker-designer .su-drop-target small {font-size:12px}
@media(max-width:767px) {
 #sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-workspace {display:flex;flex-direction:column;gap:24px}
 #sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-preview {width:100%;min-height:340px;order:-1;position:static;height:auto;flex:none}
 #sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .sd-stage {height:320px;min-height:290px}
 #sticker-designer[data-guided-upload]:not([data-guided-upload="studio"]) .su-options {width:100%;padding:0}
 #sticker-designer[data-guided-upload="upload"] .sd-preview.sd-preview {width:calc(100% - 32px);min-height:0}
 #sticker-designer[data-guided-upload="upload"] .sd-stage.sd-stage {min-height:256px}
}
@media(max-width:529.98px) {
 #sticker-designer[data-guided-upload="preview"] .sd-preview .sd-stage {height:420px;min-height:420px}
}
