/* Design controls use the accepted add-gift material and warm secondary ink. */
body #editorView.active .studio-shell[data-step] .studio-gallery button.studio-design-upload{
 background:var(--povod-ui-paper)!important;border:1px solid var(--povod-ui-edge)!important;
 box-shadow:inset 0 1px 1px #ffffffe6,inset 0 -1px 0 #ffffff66,0 3px 9px #98726008;
 backdrop-filter:blur(8px) saturate(1.1);-webkit-backdrop-filter:blur(8px) saturate(1.1);
 color:var(--povod-ui-ink);overflow:visible;
}
body #editorView.active .studio-shell[data-step] .studio-gallery .studio-design-upload>small{color:var(--povod-secondary-ink);font-family:var(--povod-control-font);font-weight:400;}
/* The preview reserves three pixels around the fitted card. Keep the shadow inside it. */
body #editorView.active .studio-shell[data-step=details] #studioPreview .studio-invitation{box-shadow:0 1px 2px -1px #49332608,inset 0 1px 0 #fff;}
/* One continuous capsule replaces the mismatched wrapper and button surfaces. */
body #editorView.active .studio-shell[data-step] .studio-gallery-controls .studio-collection{flex:0 1 132px;width:132px;min-width:0;height:36px;min-height:36px;margin:0;}
body #editorView.active .studio-shell[data-step] .studio-gallery-controls .studio-collection::before,
body #editorView.active .studio-shell[data-step] .studio-gallery-controls .studio-collection::after{content:none;}
body #editorView.active .studio-shell[data-step] .studio-gallery-controls .studio-collection .povod-glass-select{height:36px;}
body #editorView.active .studio-shell[data-step] .studio-gallery-controls .studio-collection select{height:36px;min-height:36px;}
body #editorView.active .studio-shell[data-step] .studio-gallery-controls .studio-collection .povod-glass-select-button{
 box-sizing:border-box;isolation:isolate;inset:0;width:100%;height:36px;min-height:36px;padding:0 10px;gap:8px;margin:0;
 border:0!important;border-radius:999px;background:none!important;
 box-shadow:none;color:var(--povod-secondary-ink)!important;font:400 11px/1.2 var(--povod-control-font);
 backdrop-filter:none;-webkit-backdrop-filter:none;
}
/* Keep the original 132 by 26 px visible capsule inside its 36 px hit area. */
body #editorView.active .studio-shell[data-step] .studio-gallery-controls .studio-collection .povod-glass-select-button::before{content:"";position:absolute;inset:5px 0;z-index:-1;pointer-events:none;border:1px solid var(--povod-ui-edge);border-radius:999px;background:var(--povod-control-white);box-shadow:inset 0 1px 0 #fff,0 1px 4px #514e4b10;}
body #editorView.active .studio-shell[data-step] .studio-gallery-controls .studio-collection .povod-glass-select-button .povod-glass-chevron{color:inherit;border-right-width:1.3px;border-bottom-width:1.3px;}
@layer povod-highlights{
 html:not(.keyboard-input) body #editorView.active .studio-shell[data-step] .studio-gallery-controls .studio-collection .povod-glass-select-button:is(:focus,:focus-visible){outline:none!important;box-shadow:none!important;border-color:var(--povod-ui-edge)!important;}
}

/* Pro remains above the corner, fully visible within the gallery's reserved space. */
body #editorView.active .studio-shell[data-step] .studio-design-upload .povod-pro-badge{top:-6px;right:6px;bottom:auto;left:auto;z-index:4;}
/* Equal 11 px visible gaps: tools to controls, and controls to the first tile. */
body #editorView.active .studio-shell[data-step=details][data-tool=design] .studio-gallery-controls{margin-top:0;margin-bottom:0;}
body #editorView.active .studio-shell[data-step=details][data-tool=design] [data-studio-tool=design] .studio-gallery{padding-top:6px;scroll-padding-top:6px;}
