/* Shared native panel appearance, with responsive workspace placement.
 * Panel visual rules apply on desktop and mobile; mobile behavior stays gated.
 * No canvas dimensions, camera state or artwork data are written here. */
@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio[open] {
  box-sizing:border-box;inset:var(--mobile-top,0px) 0 auto!important;
  width:100%;max-width:100%;height:var(--mobile-height,100dvh)!important;
  max-height:100dvh;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);
  grid-template-rows:80px minmax(0,1fr)!important;overflow:hidden;
 }
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio>header {
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:40px 40px;height:80px!important;padding:0 4px!important;gap:0!important;overflow:visible;
 }
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio>header>.live-header-leading {grid-column:1!important;grid-row:1!important;overflow:visible;min-width:0}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio>header>.live-header-actions {grid-column:2!important;grid-row:1!important;width:auto!important;min-width:0;max-width:none;overflow:visible!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio>header>.live-creative-head {
  grid-column:1/-1!important;grid-row:2!important;justify-self:stretch!important;
  box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0;overflow-x:auto;overflow-y:hidden;
 }
 /* The artwork group moved inside header actions; keep its approved second row. */
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .live-header-actions>.live-creative-head {
  position:absolute!important;inset:40px 4px auto!important;justify-content:center;box-sizing:border-box;
  width:auto!important;max-width:calc(100% - 8px)!important;margin-right:0!important;
 }
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings {max-height:calc(var(--mobile-height,100dvh) - 198px)!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .live-artwork-settings {top:84px!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .live-header-leading>.editor-categories {max-width:72px!important;overflow-x:auto}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .live-header-leading>strong {display:none}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .live-creative-head>.live-artwork-select {flex:1 0 64px!important;max-width:160px!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .live-global-ui {inset:0!important;width:100%!important;height:100%!important}
 /* Keep inspector controls above the sibling split-view divider. */
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio[data-mobile-panel=inspector] .live-global-ui {z-index:60!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .live-global-ui>#tool-contextual {
  display:flex!important;align-items:center;inset:0 0 auto!important;height:40px!important;min-height:40px!important;max-height:40px!important;
  width:100%!important;margin:0!important;padding:0 4px!important;overflow:hidden!important;
 }
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio #tool-properties {display:flex!important;flex:1;min-width:0;max-width:100%;height:40px;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;touch-action:pan-x;scrollbar-width:thin}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio #tool-properties>* {flex-shrink:0}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio.live-options-collapsed #tool-properties {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .live-global-ui>.tool-rail {
  display:flex!important;flex-direction:row!important;align-items:center;gap:4px!important;
  inset:auto 36px 62px 4px!important;box-sizing:border-box;width:auto!important;max-width:none!important;height:44px!important;max-height:44px!important;
  overflow-x:auto!important;overflow-y:hidden!important;transform:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;touch-action:pan-x;scrollbar-width:none;
 }
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .tool-rail :is(.live-model-drawer-rail,#editor-additional-launchers,#ai-edit-group) {display:flex!important;flex-direction:row!important;gap:4px!important;flex:none;width:auto!important;transform:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .tool-rail>* {flex-shrink:0}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio #ai-region-handle {display:grid!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio #ai-region-expand {display:grid!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-toolbar-content {width:154px!important;max-width:calc(100vw - 16px)!important;max-height:calc(var(--live-ui-height) - 198px)!important;overflow-y:auto!important;overflow-x:hidden!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio #editor-toolbar-content {position:fixed!important;inset:calc(var(--live-ui-top) + 84px) auto auto 8px!important;touch-action:pan-y}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .live-global-ui>.inspector-panel {
  display:flex!important;flex-direction:column;position:absolute!important;inset:0 4px 110px auto!important;
  box-sizing:border-box;width:min(248px,calc(100% - 12px))!important;max-height:calc(100% - 110px)!important;
  overflow:auto!important;min-height:0;z-index:50;touch-action:pan-y;
 }
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio:not([data-mobile-panel=inspector]) .inspector-panel {visibility:hidden!important;pointer-events:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio #editor-inspector-edge {display:grid!important;position:absolute!important;inset:auto 3px 68px auto!important;width:30px;height:32px;z-index:70}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer) {box-sizing:border-box;width:auto!important;max-width:360px!important;max-height:calc(100% - 198px)!important;overflow:auto!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio :is(.live-body-drawer,.live-design-drawer) {position:absolute!important;inset:84px 6px auto 6px!important;touch-action:pan-y}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer)>aside {display:flex!important;flex-direction:column;align-items:stretch;position:static!important;inset:auto!important;width:100%!important;max-height:none!important;overflow:visible!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .placement-viewport>canvas {inset:0!important;width:100%!important;height:100%!important;touch-action:none}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .placement-view-actions {
  position:absolute!important;inset:auto 4px 2px 4px!important;transform:none!important;
  width:auto!important;min-width:0!important;max-width:none!important;height:58px!important;min-height:58px!important;max-height:58px!important;
  display:grid!important;grid-template-columns:repeat(9,minmax(0,1fr))!important;grid-template-rows:24px 28px!important;gap:2px!important;align-items:center!important;justify-content:center!important;overflow:visible!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 }
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .placement-view-actions>* {flex-shrink:0}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio :is(.live-layout-content,.live-project-content) {position:fixed;inset:calc(var(--mobile-top,0px) + env(safe-area-inset-top,0px) + 40px) 6px auto auto;max-width:calc(100vw - 12px);max-height:calc(var(--mobile-height,100dvh) - 54px - env(safe-area-inset-top,0px));overflow:auto;overscroll-behavior:contain}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio :is(.live-quick-gallery-list,.live-help-content) {position:fixed;inset:calc(var(--live-ui-top) + 44px) 6px auto 6px;width:auto;max-height:calc(var(--live-ui-height) - 138px);overflow:auto}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio :is(#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel,#generator-overlay,#ai-region-controls,#session-gallery,.live-editor-overlay) {
  position:fixed!important;inset:calc(var(--live-ui-top) + 84px) 6px auto 6px!important;
  box-sizing:border-box;width:auto!important;min-width:0!important;max-width:560px!important;height:auto!important;min-height:0!important;
  max-height:calc(var(--live-ui-height) - 198px)!important;margin:0!important;transform:none!important;
  overflow:auto!important;overscroll-behavior:contain;touch-action:pan-y;z-index:100!important;
 }
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio #editor-toolbar-content {translate:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio #ai-region-expand {pointer-events:auto!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .live-artwork-picker-list {position:fixed!important;inset:84px 6px auto!important;width:auto!important;max-width:none!important;max-height:calc(var(--mobile-height,100dvh) - 198px)!important;transform:none!important;overflow:auto!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .live-help-content {position:fixed!important;inset:84px 6px auto!important;width:auto!important;height:auto!important;max-height:calc(var(--mobile-height,100dvh) - 198px)!important;overflow:auto!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio :is(.live-layout-content,.live-project-content) {max-height:calc(var(--mobile-height,100dvh) - 54px)!important}
}
 /* Gallery and its thumbnails share one dock; avoid a second fixed offset. */
 :is(.editor-page #editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-gallery-dock>#session-gallery {position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;max-height:calc(var(--mobile-height,100dvh) - var(--live-gallery-top,92px) - 114px)!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .inspector-panel>section {flex-shrink:0;min-height:0}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .inspector-panel :is(.layer-list,.history-list) {max-height:30dvh;overflow:auto}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio input:not([type=range]):not([type=checkbox]):not([type=color]),.editor-page #editor-placement-panel#editor-placement-panel.live-studio select {font-size:16px}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .placement-view-actions>.live-map-region {grid-column:1/-1!important;grid-row:1!important;width:100%!important;margin:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .placement-view-actions>:is(button[data-live-icon],.live-help) {grid-column:auto!important;grid-row:2!important;justify-self:center}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .placement-view-actions.live-navigation-collapsed {display:grid!important;grid-template-columns:1fr!important;grid-template-rows:20px!important;width:32px!important;height:28px!important;min-height:28px!important;max-height:28px!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio .placement-view-actions.live-navigation-collapsed>.live-navigation-toggle {grid-row:1!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer)>aside {padding:8px!important;gap:6px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio :is(.live-body-drawer,.live-design-drawer)>aside>p:empty {display:none}


}
}

/* Keep the sheet's header fixed while its last option can scroll into view. */
.editor-page .mobile-studio-ui {display:none}
.editor-page.mobile-studio .mobile-studio-ui {display:contents}
.mobile-studio .mobile-sheet-header {flex:0 0 auto}
.mobile-studio .mobile-sheet-content {flex:1 1 auto;min-height:0;touch-action:pan-y}
.mobile-studio .mobile-sheet-content>.mobile-tool-group {flex:none}
.mobile-studio #mobile-studio-ui :is(.history-panel,.navigator-panel) {display:block!important;max-height:none;overflow:visible}
.mobile-studio #mobile-studio-ui .history-list {max-height:none!important;overflow:visible!important}
.mobile-studio:has(#editor-placement-panel#editor-placement-panel[open]) #mobile-studio-ui {display:none!important}

/* The normal Editor uses this same native rail in its existing mobile dock area. */
@layer customer-panel-refinement {
 .editor-page.mobile-studio:not(:has(#editor-placement-panel[open])) .tool-rail {
  position:fixed!important;display:flex!important;flex-direction:row!important;align-items:center!important;
  inset:auto max(8px,env(safe-area-inset-right)) calc(8px + var(--mobile-safe) + max(0px,100dvh - var(--mobile-height) - var(--mobile-top))) max(8px,env(safe-area-inset-left))!important;
  box-sizing:border-box;width:auto!important;max-width:none!important;height:44px!important;max-height:44px!important;min-height:0!important;margin:0!important;padding:0!important;
  overflow-x:auto!important;overflow-y:hidden!important;transform:none!important;touch-action:pan-x;z-index:90;
 }
 .editor-page.mobile-studio:not(:has(#editor-placement-panel[open])) .tool-rail :is(#editor-additional-launchers,#ai-edit-group) {display:flex!important;flex-direction:row!important;gap:6px!important;flex:none;width:auto!important}
 .editor-page.mobile-studio:not(:has(#editor-placement-panel[open])) #editor-toolbar-content {position:fixed!important;inset:calc(var(--mobile-top) + var(--mobile-header) + var(--mobile-properties) + 4px) auto auto 8px!important;max-height:calc(var(--mobile-height) - var(--mobile-header) - var(--mobile-properties) - 124px)!important;overflow-y:auto!important;touch-action:pan-y}
 .editor-page.mobile-studio #editor-presentation-toggle {display:none!important}
 .editor-page.mobile-studio:not(:has(#editor-placement-panel[open])) .mobile-view-controls {inset:auto auto calc(56px + var(--mobile-safe) + max(0px,100dvh - var(--mobile-height) - var(--mobile-top))) 50%!important;transform:translateX(-50%)!important;display:flex!important}
 .editor-page.mobile-studio .mobile-view-controls>:not(:last-child) {display:flex!important}
 .editor-page.mobile-studio .editor-shell:not(.live-global-ui) {width:100%!important}
 .editor-page.mobile-studio:not(:has(#editor-placement-panel[open])) #ai-edit-group>.editor-shared-colors {display:block!important}
 .editor-page.mobile-studio:not(:has(#editor-placement-panel[open])) #ai-region-expand {display:grid!important}
 .editor-page.mobile-studio:not(:has(#editor-placement-panel[open])) #ai-region-handle {display:grid!important}
}

/* Studio phone controls use the original nodes; desktop homes are restored on resize. */
@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio {
  --live-header-clearance:88px;--studio-panel-bottom:114px;
  --editor-floating-background:rgba(0,0,0,.30);--editor-panel-background:rgba(0,0,0,.30);
 }
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>header {
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;grid-template-rows:44px 40px!important;height:84px!important;z-index:120!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 }
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-header-leading>strong {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-header-leading {grid-column:1!important;grid-row:1!important;width:auto;gap:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-header-actions {grid-column:3!important;grid-row:1!important;gap:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-header-actions>:is(.live-project-menu,.live-layout-menu) {display:flex;align-items:center;height:44px!important;min-height:44px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-header-actions>.live-creative-head {
  inset:44px 0 auto!important;height:40px!important;min-height:40px!important;max-width:100%!important;gap:0!important;margin:0!important;overflow-x:auto!important;overflow-y:hidden!important;justify-content:center;scrollbar-width:none;
 }
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-picker {width:clamp(64px,calc(100vw - 256px),112px)!important;min-width:64px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-picker>summary {height:40px!important;min-height:40px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-creative-head>button:not([hidden]),
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-header-actions>button:not([hidden]) {width:32px!important;min-width:32px!important;height:40px!important;min-height:40px!important;padding:6px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-header-leading>button,
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.live-main-menu,.live-project-menu,.live-layout-menu)>summary {width:32px!important;min-width:32px!important;height:44px!important;min-height:44px!important;padding:5px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools {
  display:flex;align-items:center;justify-content:center;gap:0;grid-column:2;grid-row:1;min-width:0;pointer-events:auto;
 }
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools :is(button,#ai-region-panel,#ai-region-handle) {
  position:static!important;display:grid!important;place-items:center;box-sizing:border-box;flex:none;width:32px!important;min-width:32px!important;max-width:32px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:4px!important;margin:0!important;transform:none!important;translate:none!important;background:transparent!important;border:0!important;
 }
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools :is(svg,img) {width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;object-fit:contain}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools button {position:relative!important;inset:auto!important;overflow:hidden}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools :is(svg,img) {position:static!important;inset:auto!important;transform:none!important;translate:none!important;margin:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>header :is(button,summary)>:is(svg,.modern-widget-icon,.editor-action-logo,.branding-symbol) {display:grid!important;place-items:center;flex:none;width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;max-height:24px!important;margin:0!important;object-fit:contain;align-self:center;justify-self:center;vertical-align:middle}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>header :is(.editor-action-logo,.branding-symbol)>:is(img,svg,.branding-symbol) {width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;object-fit:contain}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #ai-region-handle {inset:auto!important;grid-template:1fr / 1fr!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #ai-region-panel>#ai-region-handle {display:contents!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #ai-region-panel {padding:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #ai-region-handle>strong {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(#editor-modern-tools,#live-quick-tool-settings) {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .tool-rail {gap:4px!important;right:96px!important;bottom:2px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .placement-view-actions {bottom:48px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-inspector-edge {inset:88px auto auto var(--live-inspector-toggle-left,4px)!important;display:grid!important;width:32px;height:40px;z-index:80!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-inspector-edge[hidden] {display:grid!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-inspector-lock {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .tool-rail>.live-tool-actions,
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-history-tools>button {
  display:grid!important;place-items:center;box-sizing:border-box;flex:none;width:40px!important;min-width:40px!important;height:44px!important;min-height:44px!important;padding:7px!important;border:1px solid #666!important;border-radius:4px!important;background:rgba(0,0,0,.30)!important;color:#fff!important;
 }
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-history-tools {position:fixed;top:calc(var(--live-ui-top,0px) + var(--mobile-height,100dvh) - 46px);right:4px;display:flex;gap:4px;flex:none;z-index:75}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .tool-rail>.live-tool-actions {padding:6px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .tool-rail>.live-tool-actions>svg {width:28px!important;height:28px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-history-tools svg {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .tool-rail>.live-tool-actions:is([aria-expanded=true],[aria-current=true]) {border-color:#eee!important;box-shadow:inset 0 -2px #eee!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .tool-rail>.live-model-drawer-rail {margin:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-global-ui>.inspector-panel {
  inset:88px 4px auto auto!important;height:auto!important;width:clamp(216px,calc(100vw - 104px),244px)!important;max-height:calc(100% - 88px - var(--studio-panel-bottom))!important;padding:8px!important;z-index:60!important;overflow:hidden auto!important;overscroll-behavior:contain;touch-action:pan-y;
 }
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-inspector-lock {top:2px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .inspector-panel :is(.layer-list,.history-list) {max-height:none!important;overflow:visible!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .layer-panel-actions {--layer-action-target:clamp(26px,calc((100vw - 150px)/7),30px);display:flex!important;flex-wrap:nowrap!important;gap:2px!important;padding:4px 0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .layer-panel-actions>button {display:grid!important;flex:0 0 var(--layer-action-target)!important;width:var(--layer-action-target)!important;min-width:var(--layer-action-target)!important;height:40px!important;min-height:40px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #layer-delete {visibility:inherit!important;opacity:1;flex-shrink:0!important;color:#fff!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #layer-delete:disabled {opacity:.45}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.live-artwork-settings,.live-body-drawer,.live-design-drawer,#editor-toolbar-content,.live-editor-overlay,#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel,#generator-overlay,#ai-region-controls,.live-artwork-picker-list,.live-help-content,.live-layout-content,.live-project-content) {
  box-sizing:border-box;top:calc(var(--live-ui-top,0px) + 88px)!important;bottom:auto!important;width:min(296px,calc(100vw - 12px))!important;max-width:calc(100vw - 12px)!important;max-height:calc(var(--mobile-height,100dvh) - 88px - var(--studio-panel-bottom))!important;min-height:0!important;overflow:hidden auto!important;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scroll-padding-bottom:12px;
 }
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #live-artwork-settings.live-artwork-settings {padding:8px!important;max-height:calc(var(--mobile-height,100dvh) - 142px)!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-artwork-settings.live-artwork-settings {top:auto!important;bottom:54px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.live-artwork-settings,.live-body-drawer,.live-design-drawer,#editor-toolbar-content,.live-editor-overlay,#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel,#generator-overlay,#ai-region-controls,#session-gallery,.editor-command-menu,.editor-brush-menu,.live-main-menu>.editor-categories,.live-artwork-picker-list,.live-quick-gallery-list,.live-help-content,.live-layout-content,.live-project-content,.placement-view-actions) {background:rgba(0,0,0,.30)!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-artwork-settings,.live-body-drawer,.live-design-drawer)>:is(#tool-contextual,aside) {background:transparent!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings :is(#tool-contextual,#tool-properties,#editor-tool-settings-fields) {height:auto!important;max-height:none!important;overflow:visible!important;gap:5px!important;padding:0!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-settings :is(#tool-contextual,#tool-properties,#editor-tool-settings-fields) {touch-action:pan-y}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings :is(#tool-properties,#editor-tool-settings-fields) {flex-direction:column-reverse!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-slider {min-height:44px;font-size:12px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-slider-track {min-height:24px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-settings .editor-slider-track {touch-action:pan-y!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-inline-tool-list {grid-template-columns:repeat(5,minmax(0,1fr))!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-inline-tool-list>button {height:40px!important;min-height:40px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 /* Use the same native navigation controls in a dropdown below Body Settings. */
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>.live-body-navigation-trigger {position:absolute;top:88px;left:var(--live-navigation-left,4px);z-index:80;display:grid!important;place-items:center;box-sizing:border-box;width:32px!important;min-width:32px!important;height:40px!important;min-height:40px!important;padding:4px!important;color:#fff;background:rgba(0,0,0,.30)!important;border:1px solid #ffffff40;border-radius:4px;pointer-events:auto}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>.live-body-navigation-trigger>svg {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .placement-view-actions.live-mobile-navigation-panel {inset:132px auto auto var(--live-navigation-left,4px)!important;box-sizing:border-box;width:min(296px,calc(100vw - 12px))!important;min-width:0!important;max-width:calc(100vw - 12px)!important;height:auto!important;min-height:0!important;max-height:calc(var(--mobile-height,100dvh) - 190px)!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:40px!important;grid-auto-rows:40px;gap:4px!important;padding:8px!important;z-index:80;overflow:hidden auto!important;touch-action:pan-y;overscroll-behavior:contain;justify-items:center;transform:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .placement-view-actions.live-mobile-navigation-panel.live-navigation-collapsed {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-navigation-panel>.live-map-region {grid-column:1/-1!important;grid-row:1!important;box-sizing:border-box;width:100%!important;min-width:0!important;height:40px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-navigation-panel>.live-map-region select {width:100%!important;min-width:0!important;max-width:none!important;height:40px!important;min-height:40px!important;max-height:40px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-navigation-panel>:is(button[data-live-icon],.live-help) {grid-row:auto!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-navigation-panel>:is(button[data-live-icon],.live-help>summary) {width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:8px!important}
 /* Compensate raster padding; preserve the requested larger AI marks. */
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools :is(#prometheus-trigger,#ai-region-expand) {position:relative!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #prometheus-trigger>.modern-widget-icon {position:absolute!important;width:43.2px!important;height:43.2px!important;min-width:43.2px!important;max-width:43.2px!important;max-height:43.2px!important;left:calc(50% - 22.275px)!important;top:calc(50% - 21.094px)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #ai-region-expand>.modern-widget-icon {position:absolute!important;width:43.3846px!important;height:43.3846px!important;min-width:43.3846px!important;max-width:43.3846px!important;max-height:43.3846px!important;left:calc(50% - 21.6923px)!important;top:calc(50% - 21.6923px)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>header :is(.live-editor-logo>.branding-symbol,#editor-patterns-trigger>.editor-action-logo) {transform:scale(1.6)!important;transform-origin:center}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-editor-logo .branding-symbol {filter:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>header .live-editor-logo>.branding-symbol {place-items:stretch!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio:has(#live-artwork-settings:not([hidden]),.live-body-drawer[open],.live-design-drawer[open])>.live-body-navigation-trigger {visibility:hidden}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .placement-design>label:has(select[aria-label="Skin blend"]) {order:-1}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-patterns-trigger>.editor-action-logo {filter:brightness(0) invert(1)!important}

}
@media (min-width:360px) and (max-width:760px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-header-leading>strong {display:block!important;font-size:10px!important}

}
}

/* A single alpha surface per floating panel; its text and controls stay opaque. */
@layer editor-panel-controls {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.inspector-panel,.live-artwork-settings,.live-body-drawer,.live-design-drawer,.live-placement-drawer,#editor-toolbar-content,.live-editor-overlay,#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel,#generator-overlay,#ai-region-controls,#session-gallery,.editor-command-menu,.editor-brush-menu,.live-main-menu>.editor-categories,.live-artwork-picker-list,.live-quick-gallery-list,.live-help-content,.live-layout-content,.live-project-content,.placement-view-actions) {
  background:rgba(0,0,0,.30)!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:1px solid #ffffff40;color:#fff;
 }
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.live-artwork-settings,.live-body-drawer,.live-design-drawer)>:is(#tool-contextual,aside),
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.inspector-panel,.live-artwork-settings,.live-editor-overlay,#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel) :is(section,header,footer,fieldset,details,#tool-properties,#editor-tool-settings-fields,.editor-smart-fields) {background:transparent!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio * {backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

}
}

/* History already publishes the real current position after every native edit. */
@layer editor-panel-controls {
 .editor-page #history-list>li[data-current=true],.editor-page #editor-placement-panel.live-studio #history-list>li[data-current=true] {background:rgba(255,255,255,.10)!important;border-radius:3px}
 .editor-page #history-list>li[data-current=true]>button[aria-current=step] {font-weight:600!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio :is(.live-project-menu,.live-layout-menu)>summary {box-sizing:border-box;display:grid;grid-template: minmax(0,1fr) / minmax(0,1fr);place-items:center;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:5px!important}
 .editor-page #editor-placement-panel#editor-placement-panel.live-studio :is(.live-project-menu,.live-layout-menu) {align-self:center;height:30px;min-height:30px}
}

/* The disk uses the gear's viewBox scale and outline weight. */
#editor-placement-panel.live-studio .live-project-menu>summary>svg {width:24px;height:26px;max-width:100%;stroke-width:1.3}

/* Compact phone panels without replacing any native control or its callbacks. */
@layer editor-panel-controls {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-patterns-trigger>.editor-action-logo {transform:scale(1.4)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio [data-live-action=attach] {outline:none!important;border:0!important;box-shadow:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio [data-live-action=attach]:focus-visible {outline:1px solid currentColor!important;outline-offset:-3px}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .inspector-panel {gap:2px!important;padding:6px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .inspector-panel>section {padding:0!important;margin:0!important;gap:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #canvas-navigator {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .layer-panel-actions>details {flex:0 0 var(--layer-action-target)!important;min-width:var(--layer-action-target)!important;width:var(--layer-action-target)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .layer-panel-actions>details>summary {box-sizing:border-box;width:var(--layer-action-target)!important;min-width:var(--layer-action-target)!important;height:40px!important;min-height:40px!important;padding:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-layers-panel>.panel-section-heading {padding-right:22px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .panel-section-heading {min-height:36px!important;padding:0!important;margin:0!important;gap:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-layers-panel>.panel-section-heading {display:grid!important;grid-template-columns:auto auto minmax(0,1fr)!important;flex-wrap:nowrap!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #layer-settings {width:auto!important;min-width:0!important;flex:none!important;margin:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(#layer-settings>summary,#editor-boundaries) {box-sizing:border-box;width:auto!important;min-width:0!important;min-height:36px!important;height:36px!important;padding:4px!important;font-size:11px!important;white-space:nowrap}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .layer-heading-actions {min-width:0;gap:3px!important;justify-content:flex-end}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer) aside {padding:6px!important;gap:5px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer) label {margin:0!important;gap:3px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page:has(#editor-placement-panel.live-studio[open]) :is(#editor-placement-panel,#editor-tool-settings-panel,#editor-color-panel,#editor-property-panel,#editor-guardrails-panel,#editor-effect-panel,#layer-settings-fields,#layer-blend-panel) :is(input[type=range],.editor-slider-track) {touch-action:pan-y!important}

}
}

@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .layer-order-status:empty {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .layer-panel-actions {margin:0!important;padding:2px 0!important;gap:2px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-history-panel {row-gap:2px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .history-list {margin:0!important;padding:0!important;gap:2px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.live-artwork-settings,.live-body-drawer,.live-design-drawer,.live-editor-overlay,#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel,#generator-overlay,#ai-region-controls,#session-gallery,.live-artwork-picker-list,.live-quick-gallery-list,.live-help-content,.live-layout-content,.live-project-content,.editor-command-menu) {box-sizing:border-box!important;margin:0!important;gap:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(#live-artwork-settings,#editor-tool-settings-panel,#editor-patterns-panel,.live-artwork-picker-list,.live-quick-gallery-list,.live-help-content,.live-layout-content,.live-project-content,.editor-command-menu) {padding:6px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.live-artwork-settings,.live-editor-overlay,#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel) .editor-slider {min-height:44px!important;row-gap:2px!important;column-gap:6px!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(#editor-tool-settings-fields,#editor-smart-panel-fields,.editor-smart-fields,#editor-patterns-panel>div) {gap:4px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel-fields {padding:6px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.live-artwork-settings,.live-body-drawer,.live-design-drawer,.live-editor-overlay,#editor-smart-panel,#editor-patterns-panel) :is(fieldset,legend,p) {margin-block:3px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.live-artwork-settings,.live-body-drawer,.live-design-drawer,.live-editor-overlay,#editor-smart-panel,#editor-patterns-panel) fieldset {padding:4px!important;gap:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.generator-header,.gallery-header) {min-height:40px!important;padding:4px 6px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .generator-body {padding:6px!important;gap:6px!important}

}
}

/* Mobile Studio V1.1: compact native settings and anchored side menus. */
@layer customer-panel-refinement {
 /* Keep native Body/Design order and handlers; share compact aligned rows. */
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open])))>.live-gallery-dock {width:min(248px,calc(100vw - 64px))!important;overflow:visible!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 /* Keep native Body/Design order and handlers; share compact aligned rows. */
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>.live-gallery-dock {inset:116px 6px auto auto!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-gallery-dock>#session-gallery {max-height:calc(var(--mobile-height,100dvh) - 174px)!important;padding:5px!important;gap:3px!important;border-radius:4px!important;min-height:0!important;translate:none!important;transform:none!important;animation:none!important;transition:none!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .results-heading {display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:center!important;gap:4px!important;padding:0 28px 0 0!important;margin:0!important;min-height:28px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .results-heading>div:first-child {display:flex!important;flex-wrap:nowrap!important;align-items:baseline!important;gap:5px!important;min-width:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery h2 {font:11px/16px system-ui,sans-serif!important;letter-spacing:normal!important;margin:0!important;white-space:nowrap}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery #results-count {font:9px/14px system-ui,sans-serif!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery #gallery-upload {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .gallery-window-actions {position:absolute!important;inset:3px 3px auto auto!important;display:block!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery #close-session-gallery {box-sizing:border-box!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:2px!important;font:20px/24px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery :is(.gallery-helper,.gallery-selection p,.gallery-footer small) {font:10px/14px system-ui,sans-serif!important;margin:2px 0!important;min-height:0!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery :is(#gallery-status,.gallery-helper):empty {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery #results {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:78px!important;gap:4px!important;height:160px!important;min-height:160px!important;max-height:160px!important;overflow:hidden auto!important;flex:0 0 auto!important;margin:0!important;padding:0!important;scrollbar-width:thin}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .artifact {min-width:0!important;margin:0!important;padding:0!important;gap:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .artifact-select {box-sizing:border-box!important;width:100%!important;min-width:0!important;height:54px!important;min-height:54px!important;max-height:54px!important;padding:0!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery :is(#gallery-import-tile,.live-gallery-import-placeholder) {box-sizing:border-box!important;display:grid!important;place-items:center!important;width:100%!important;min-width:0!important;height:78px!important;min-height:78px!important;max-height:78px!important;padding:0!important;aspect-ratio:auto!important;font:28px/1 system-ui,sans-serif!important;border:1px solid #ffffff70!important;border-radius:3px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery #gallery-import-tile {order:-1!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery .live-gallery-import-placeholder {order:1!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .artifact :is(img,canvas) {max-width:100%!important;max-height:52px!important;object-fit:contain!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .artifact figcaption {min-height:24px!important;margin:0!important;padding:0 22px 0 0!important;gap:1px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .artifact-identity {min-width:0!important;font:10px/12px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .artifact-identity :is(strong,small) {display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px!important;line-height:12px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery .artifact-state {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .gallery-image-menu summary {width:22px!important;min-width:22px!important;height:22px!important;min-height:22px!important;padding:0!important;font-size:18px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .gallery-footer {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:3px!important;margin:0!important;padding:4px 0 0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery :is(.gallery-browse-actions,.gallery-actions,.gallery-selection) {display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:3px!important;margin:0!important;padding:0!important;min-height:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .gallery-footer button {height:28px!important;min-height:28px!important;min-width:0!important;padding:3px 4px!important;font:10px/14px system-ui,sans-serif!important;flex:1 1 auto!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .gallery-selection {flex-wrap:nowrap!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .gallery-selection p {min-width:0!important;flex:1;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .gallery-browse-actions {grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .gallery-actions {grid-column:2!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .gallery-footer button {font-size:9px!important;line-height:12px!important;padding:2px 3px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery>:is(.gallery-helper:not(.live-gallery-hint):not(#gallery-status)),
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery :is(#gallery-reference-mode-unavailable,#edit-reference-note) {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .live-gallery-reference-notice {grid-column:1/-1!important;font:9px/12px system-ui,sans-serif!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery #gallery-selection-thumbnail {width:28px!important;height:28px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-gallery-dock>.live-gallery-strip {inset:0 calc(100% + 4px) auto auto!important;width:48px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-gallery-dock .live-quick-gallery-list {width:48px!important;max-width:48px!important;max-height:calc(var(--mobile-height,100dvh) - 174px)!important;padding:3px!important;gap:3px!important;touch-action:pan-y}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-gallery-dock .live-quick-gallery-list>button {width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;touch-action:none}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-gallery-dock .live-quick-gallery-list canvas {width:38px!important;height:38px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-gallery-dock:has(.live-mini-dragging)>#session-gallery {opacity:0!important;pointer-events:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-gallery-drag-preview {position:fixed!important;width:44px!important;height:44px!important;pointer-events:none!important;z-index:180!important;opacity:.85}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-gallery-drag-preview>canvas {width:100%!important;height:100%!important;object-fit:contain}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel {width:min(248px,calc(100vw - 116px))!important;height:auto!important;min-height:0!important;max-height:calc(var(--mobile-height,100dvh) - 190px)!important;padding:0!important;margin:0!important;gap:0!important;border-radius:4px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-smart-panel {inset:auto auto 54px 4px!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel-header {display:flex!important;align-items:center!important;min-height:30px!important;height:30px!important;padding:2px 4px!important;gap:2px!important;font:11px/14px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel-title {overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap;font-size:11px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel-header button {box-sizing:border-box!important;flex:none!important;width:26px!important;min-width:26px!important;min-height:26px!important;height:26px!important;padding:2px!important;font:11px/16px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel-header #editor-smart-panel-lock {width:36px!important;min-width:36px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel-fields {padding:5px!important;gap:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .smart-fields {gap:2px!important;padding:0!important;border:0!important;font:11px/14px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .smart-control-group {padding:0!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .smart-fields summary {min-height:28px!important;padding:5px 0!important;margin:0!important;font:11px/16px system-ui,sans-serif!important;letter-spacing:normal!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .smart-fields details>:not(summary) {margin:2px 0 0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .smart-field {display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:4px!important;align-items:center!important;min-height:28px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .smart-fields select {box-sizing:border-box!important;width:100%!important;max-width:none!important;height:28px!important;min-height:28px!important;padding:2px 4px!important;font:11px/16px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .smart-actions {gap:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .smart-fields button {box-sizing:border-box!important;flex:1 1 0!important;min-width:0!important;min-height:28px!important;height:auto!important;padding:3px 4px!important;font:11px/16px system-ui,sans-serif!important;white-space:normal!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .smart-fields p {font:10px/14px system-ui,sans-serif!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-smart-panel .smart-fields p:empty {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .editor-slider {grid-template-columns:84px minmax(0,1fr) 44px!important;align-items:center!important;gap:4px!important;min-height:30px!important;height:30px!important;margin:2px 0 0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .editor-slider-label {grid-column:1!important;grid-row:1!important;font:11px/14px system-ui,sans-serif!important;white-space:normal!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .editor-slider-track {grid-column:2!important;grid-row:1!important;min-width:0!important;height:30px!important;min-height:30px!important;margin:0 3px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .editor-slider-readout {grid-column:3!important;grid-row:1!important;gap:1px!important;font-size:11px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .editor-slider-value {width:32px!important;min-height:26px!important;padding:0!important;font-size:11px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .editor-slider-track::before,
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .editor-slider-fill {top:14px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel .editor-slider-thumb {top:10px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-smart-panel[data-minimized=true] {width:calc(100vw - 8px)!important;max-width:calc(100vw - 8px)!important;max-height:40px!important;overflow:visible!important;padding:3px!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-panel[data-minimized=true]>header {display:none!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-compact:not([hidden]) {display:grid!important;grid-template-columns:repeat(11,minmax(0,1fr))!important;gap:1px!important;align-items:center!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-compact button {display:grid!important;place-items:center!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;height:30px!important;min-height:30px!important;margin:0!important;padding:2px!important;font-size:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-compact svg {width:20px!important;height:20px!important;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-compact-navigation:not([hidden]) {position:absolute!important;bottom:calc(100% + 3px)!important;right:3px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:calc((100% - 18px)/11*2 + 1px)!important;gap:1px!important;background:rgba(0,0,0,.3)!important;border:1px solid #ffffff40!important;border-radius:4px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-compact-navigation button {display:grid!important;place-items:center!important;min-width:0!important;height:30px!important;min-height:30px!important;padding:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-smart-compact-navigation svg {width:20px!important;height:20px!important;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))):has(#editor-smart-compact-navigation:not([hidden])) #editor-smart-preview-navigation {display:none!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.live-artwork-settings,#editor-tool-settings-panel) .editor-text-wording {display:flex!important;width:100%!important;min-width:0!important;gap:0!important;font-size:0!important;line-height:0!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-artwork-settings,#editor-tool-settings-panel) .editor-text-wording>textarea {box-sizing:border-box!important;flex:1 1 100%!important;width:100%!important;min-width:0!important;max-width:none!important;font:13px/1.5 system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer) {width:min(248px,calc(100vw - 12px))!important;max-width:calc(100vw - 12px)!important;max-height:calc(var(--mobile-height,100dvh) - 174px)!important;height:max-content!important;padding:0!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.live-body-drawer,.live-design-drawer) {top:116px!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer)>aside {display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;align-content:start!important;align-items:center!important;gap:2px 4px!important;padding:5px!important;--color-control-size:28px}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer)>aside>* {grid-column:1/-1;min-width:0!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer)>aside>label {display:grid!important;grid-template-columns:84px minmax(0,1fr) 44px!important;grid-template-rows:minmax(30px,auto)!important;align-items:center!important;gap:0 4px!important;padding:0!important;font:11px/14px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer)>aside>label>span {grid-column:1!important;grid-row:1!important;white-space:normal!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer)>aside>label>:is(select,input:not([type=range]):not([type=checkbox]),.placement-select) {grid-column:2/-1!important;grid-row:1!important;min-width:0!important;width:100%!important;height:28px!important;min-height:28px!important;box-sizing:border-box!important;padding:2px 4px!important;font:11px/16px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer) .placement-select>select {box-sizing:border-box!important;width:100%!important;height:28px!important;min-height:28px!important;padding:2px 4px!important;font:11px/16px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-design-drawer .placement-select {padding:0!important}
 @supports not (appearance:base-select) {
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-design-drawer .placement-select>select {appearance:auto!important}
 }
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-design-drawer .placement-select-value,
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-design-drawer .placement-select::after {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer)>aside>label>input[type=range] {grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer)>aside>label>output {grid-column:3!important;grid-row:1!important;width:auto!important;max-width:44px!important;text-align:right!important;font:11px/14px system-ui,sans-serif!important;font-variant-numeric:tabular-nums;white-space:nowrap!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer)>aside>label>input[type=checkbox] {grid-column:3!important;grid-row:1!important;width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;margin:0!important;justify-self:end}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer) :is(button,.placement-actions,.placement-switch,.placement-design-actions) {margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer) button {box-sizing:border-box!important;min-width:0!important;min-height:28px!important;height:auto!important;padding:3px 4px!important;font:11px/16px system-ui,sans-serif!important;white-space:normal!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer) :is(.placement-actions,.placement-design-actions) {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:2px 4px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .placement-design-actions>.placement-design-end-actions {grid-column:1/-1!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.live-body-drawer,.live-design-drawer) .placement-switch {display:grid!important;grid-template-columns:28px 28px repeat(2,minmax(0,1fr))!important;gap:2px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .placement-design>span:has(+[aria-label="Flip artwork"]) {grid-column:1!important;font:11px/14px system-ui,sans-serif!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .placement-design>[aria-label="Flip artwork"] {grid-column:2!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-skin-colour {grid-template-columns:minmax(0,1fr) 28px!important;gap:4px!important;height:28px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-skin-colour>label {height:28px!important;min-height:28px!important;margin:0!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 /* A hidden column owns every control, including children with explicit visibility. */
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio:not([data-mobile-panel=inspector]) .inspector-panel * {visibility:hidden!important;pointer-events:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #live-artwork-settings.live-artwork-settings {width:min(248px,calc(100vw - 116px))!important;height:auto!important;max-height:calc(var(--mobile-height,100dvh) - 190px)!important;padding:6px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings :is(#tool-contextual,#tool-properties,#editor-tool-settings-fields) {flex:none!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings :is(#tool-properties,#editor-tool-settings-fields) {flex-direction:column-reverse!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-artwork-settings.live-tool-picker-first {height:0!important;max-height:0!important;padding:0!important;background:transparent!important;border:0!important;overflow:visible!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-tool-picker-first #tool-properties>:not(.editor-inline-tool-picker),
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-tool-picker-first .editor-inline-tool-picker>summary {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-settings .editor-tip-gallery {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-slider {grid-template-columns:84px minmax(0,1fr) 52px!important;min-height:32px!important;height:32px!important;gap:4px!important;align-items:center!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-slider-label {grid-column:1!important;grid-row:1!important;line-height:14px!important;font-size:11px!important;white-space:normal!important;overflow:visible!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-slider-track {grid-column:2!important;grid-row:1!important;min-width:0!important;height:32px!important;min-height:32px!important;margin:0 5px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-slider-track::before,
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-slider-fill {top:15px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-slider-thumb {top:11px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-settings #editor-tool-settings-fields>small {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-slider-readout {grid-column:3!important;grid-row:1!important;gap:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-slider-value {width:36px!important;padding:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings :is(label,.editor-brush-choice,.editor-inline-tool-picker>summary) {box-sizing:border-box;min-height:36px!important;margin:0!important;gap:4px!important;font-size:11px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings label {display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap;min-height:28px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings input[type=checkbox] {width:18px!important;height:18px!important;min-height:18px!important;flex:none!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings label>select {max-width:100%!important;min-width:0!important;height:36px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 /* Bright tracks retain the existing slider geometry and native callbacks. */
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-slider-track::before {height:2px!important;background:#fff!important;background-image:none!important;opacity:.85!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-slider-fill {height:2px!important;background:#fff!important;opacity:1!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio input[type=range] {accent-color:#fff!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio input[type=range]:not(#editor-color-hue)::-webkit-slider-runnable-track {background-color:#fff!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio input[type=range]:not(#editor-color-hue)::-moz-range-track {background-color:#fff!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio * {scrollbar-color:#fff transparent!important;--editor-scroll-thumb:#fff}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio ::-webkit-scrollbar-thumb {background-color:#fff!important}
 /* Native Element/Mode controls form the final group above the tool name. */
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-elemental-choices {box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important;gap:4px!important;padding:4px 0 2px!important;border:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-elemental-choices>label {box-sizing:border-box;display:grid!important;grid-template-columns:50px minmax(0,1fr)!important;grid-template-rows:28px!important;align-items:center!important;gap:6px!important;width:auto!important;min-height:34px!important;height:34px!important;padding:2px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-weight:400!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-elemental-choices>label>select {box-sizing:border-box;grid-column:2!important;grid-row:1!important;width:100%!important;max-width:none!important;height:28px!important;min-height:28px!important;padding:2px 5px!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;font:11px/18px system-ui,sans-serif!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-elemental-continuous {display:flex!important;align-items:center!important;gap:6px!important;grid-column:2!important;grid-row:1!important;font:11px/18px system-ui,sans-serif!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-fx-composition-row {display:flex!important;flex-wrap:wrap!important;gap:4px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) .live-artwork-settings .editor-fx-composition-row>label {flex:1 1 90px!important;min-width:0!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 /* Fixed descendants keep the native details/toggle/outside-dismiss ownership. */
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-side-tool-bucket {position:fixed!important;inset:var(--tool-bucket-top,88px) auto auto var(--tool-bucket-left,256px)!important;box-sizing:border-box!important;width:var(--tool-bucket-width,100px)!important;min-width:0!important;max-width:calc(100vw - 8px)!important;max-height:var(--tool-bucket-height,50dvh)!important;height:auto!important;margin:0!important;padding:4px!important;overflow:hidden auto!important;overscroll-behavior:contain;touch-action:pan-y;background:rgba(0,0,0,.30)!important;border:1px solid #ffffff60;border-radius:4px;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;z-index:140!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-inline-tool-list.live-side-tool-bucket {grid-template-columns:repeat(var(--tool-bucket-columns,3),minmax(0,1fr))!important;gap:0 2px!important;overflow:hidden!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-inline-tool-list.live-side-tool-bucket>button {height:44px!important;min-height:44px!important;padding:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-inline-tool-list>button[hidden] {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-brush-menu.live-side-tool-bucket>button {min-height:44px!important;height:auto!important;padding:4px!important;gap:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-brush-menu.live-side-tool-bucket>button>img {width:28px!important;height:20px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-brush-menu.live-side-tool-bucket>button>svg {flex:none!important;width:18px!important;height:18px!important;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-element-icon[data-element=lightning] {color:#ffd84d!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-element-icon[data-element=fire] {color:#ff5555!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-element-icon:is([data-element=smoke],[data-element=ice],[data-element=light]) {color:#fff!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-element-icon[data-element=water] {color:#50a9ff!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-brush-menu.live-side-tool-bucket>button>span {white-space:normal!important;overflow-wrap:anywhere;text-overflow:clip!important}
 /* Give Body and Design the space at the start of the second header row. */
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-creative-head>.live-artwork-actions {position:static!important;flex:none!important;margin:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-creative-head>.live-artwork-actions>summary {box-sizing:border-box;display:grid!important;place-items:center;width:32px!important;min-width:32px!important;height:40px!important;min-height:40px!important;padding:4px!important;list-style:none;background:transparent!important;color:#fff!important;cursor:pointer}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-actions>summary::-webkit-details-marker {display:none}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-actions>summary>svg {width:24px!important;height:24px!important;fill:none;stroke:currentColor;stroke-width:1.5}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-action-content {position:fixed!important;inset:88px 4px auto auto!important;transform:none!important;grid-template-columns:minmax(0,1fr)!important;box-sizing:border-box!important;width:min(224px,calc(100vw - 8px))!important;max-height:calc(var(--mobile-height,100dvh) - 146px)!important;padding:4px!important;margin:0!important;gap:2px!important;background:rgba(0,0,0,.30)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#fff!important;z-index:140!important;overflow:auto!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-action-content>button:not([hidden]) {box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:6px!important;color:#fff!important;font:12px/16px system-ui,sans-serif!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-action-content>button>svg {flex:none!important;width:24px!important;height:24px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-action-caption {display:block!important;color:#fff!important;font:12px/16px system-ui,sans-serif!important;white-space:normal!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-picker {width:min(88px,calc(50vw - 20px - var(--live-header-attach-size) - var(--live-header-action-size) - var(--live-header-action-size)))!important;min-width:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-picker>summary {gap:2px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-picker>summary>.live-artwork-thumbnail {width:20px!important;height:20px!important;background:repeating-conic-gradient(#eee 0% 25%,#888 0% 50%) 0/6px 6px}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-picker>summary>span {flex:1;min-width:0!important;text-overflow:ellipsis!important;overflow:hidden!important;white-space:nowrap!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-picker>summary::after {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-creative-head>button:not([hidden]) {width:clamp(26px,calc((100vw - 196px)/6),32px)!important;min-width:clamp(26px,calc((100vw - 196px)/6),32px)!important;grid-template-columns:minmax(0,1fr)!important;place-items:center!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-header-actions>.live-creative-head {inset:44px 0 auto!important;width:100%!important;max-width:100%!important;margin:0!important;justify-self:stretch!important;justify-content:flex-start!important;padding-inline:0!important;--live-header-attach-size:clamp(32px,calc(100vw - 312px),40px);--live-header-action-size:clamp(26px,calc((100vw - 196px)/6),32px)}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-creative-head>#toggle-session-gallery {position:absolute!important;left:calc(50% - 20px)!important;top:0!important;margin:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-creative-head>[data-live-action=attach] {margin-inline-start:auto!important;width:var(--live-header-attach-size)!important;min-width:var(--live-header-attach-size)!important;padding:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-creative-head>.live-artwork-actions>summary {width:var(--live-header-action-size)!important;min-width:var(--live-header-action-size)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-header-leading>strong {transform:translateY(4px)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-header-leading>button.live-editor-logo {width:28px!important;min-width:28px!important;padding:0!important;overflow:visible!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>.live-body-navigation-trigger {top:84px!important;left:var(--live-navigation-left,0px)!important;display:grid!important;place-items:center!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:3px!important;visibility:visible!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>.live-body-navigation-trigger>svg {display:block!important;width:20px!important;height:20px!important;margin:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-inspector-edge {inset:84px auto auto var(--live-inspector-toggle-left,4px)!important;display:grid!important;place-items:center!important;box-sizing:border-box!important;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important;padding:3px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-inspector-edge>svg {width:20px!important;height:20px!important;margin:0!important}
 /* Equal visible artwork sizes, while retaining transparent padding in PNG assets. */
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-creative-head>#toggle-session-gallery {width:40px!important;min-width:40px!important;padding:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>header [data-live-action=attach]>svg {width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;max-height:32px!important;stroke-width:1.5!important;transform:translateX(-3px)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>header #toggle-session-gallery>.modern-widget-icon {width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;max-height:42px!important;object-fit:contain;flex-basis:42px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #prometheus-trigger>.modern-widget-icon {width:50px!important;height:50px!important;min-width:50px!important;max-width:50px!important;max-height:50px!important;left:calc(50% - 25px)!important;top:calc(50% - 25px)!important}
 /* White labels, values and helper copy across every mobile Studio panel. */
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.inspector-panel,.live-fold,.live-artwork-settings,.live-editor-overlay,.editor-brush-menu,.live-side-tool-bucket,#editor-toolbar-content,#generator-overlay,#ai-region-controls,#session-gallery,.live-artwork-picker-list,.live-quick-gallery-list,.live-help-content,.live-layout-content,.live-project-content,.editor-command-menu,.placement-view-actions) {color:#fff!important;--muted:#fff;--text-muted:#fff}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.inspector-panel,.live-fold,.live-artwork-settings,.live-editor-overlay,.editor-brush-menu,.live-side-tool-bucket,#editor-toolbar-content,#generator-overlay,#ai-region-controls,#session-gallery,.live-artwork-picker-list,.live-quick-gallery-list,.live-help-content,.live-layout-content,.live-project-content,.editor-command-menu,.placement-view-actions) :is(label,span,small,p,legend,strong,summary,input,select,textarea,output,button) {color:#fff!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(.editor-slider-label,.editor-slider-unit,.live-artwork-settings label,.live-fold label) {opacity:1!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {

}
}

#editor-placement-panel.live-studio>.live-attach-hint {display:none}
@layer editor-panel-controls {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>.live-attach-hint:not([hidden]) {position:absolute!important;inset:calc(var(--live-ui-top,0px) + 88px) 36px auto 44px!important;z-index:85!important;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box!important;width:auto!important;height:auto!important;min-height:32px!important;max-height:72px!important;padding:6px 8px!important;margin:0!important;border:1px solid #ffffff40;border-radius:4px;background:rgba(0,0,0,.30)!important;color:#fff;font:12px/18px system-ui,sans-serif;text-align:center;pointer-events:auto!important;touch-action:none!important;user-select:none}

}
}

@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>header :is([data-mode=BODY],[data-mode=DESIGN])[aria-pressed=true] {box-shadow:none!important;background:#000!important;background-image:none!important}

}
}

/* Compact native AI, Patterns and Gallery controls. */
@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-ai-menu {position:relative!important;margin:0!important;padding:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-ai-menu>summary {display:grid!important;place-items:center!important;width:32px!important;height:44px!important;padding:0!important;list-style:none!important;cursor:pointer}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-ai-menu>summary::-webkit-details-marker {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-ai-menu:not([open])>.live-ai-menu-content {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-ai-menu-content {position:fixed!important;inset:88px auto auto calc(50vw - 80px)!important;display:grid!important;width:160px!important;padding:4px!important;gap:2px!important;z-index:140!important;border:1px solid #ffffff50!important;background:rgba(0,0,0,.30)!important;backdrop-filter:none!important;box-sizing:border-box!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools .live-ai-menu-content :is(#ai-region-panel,#ai-region-handle) {display:contents!important;width:auto!important;height:auto!important;min-width:0!important;max-width:none!important;position:static!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools .live-ai-menu-content :is(#prometheus-trigger,#ai-region-expand) {display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;position:relative!important;width:100%!important;max-width:none!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:4px!important;margin:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools .live-ai-menu-content #prometheus-trigger>.modern-widget-icon {position:static!important;display:block!important;width:26px!important;min-width:26px!important;max-width:26px!important;height:26px!important;min-height:26px!important;max-height:26px!important;flex:none!important;transform:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools .live-ai-menu-content #ai-region-expand>.modern-widget-icon {position:static!important;display:block!important;width:26px!important;min-width:26px!important;max-width:26px!important;height:26px!important;min-height:26px!important;max-height:26px!important;flex:none!important;transform:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools .live-ai-menu-content :is(.prometheus-launcher-mark,.floating-ai-tooltip,.ai-region-icon,#region-mode-unavailable) {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-ai-option-caption {display:inline!important;color:#fff!important;font:12px/16px system-ui,sans-serif!important;white-space:nowrap!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #editor-patterns-trigger>.live-pattern-page-icon {width:24px!important;height:24px!important;fill:none!important;stroke:#fff!important;stroke-width:1.5!important;overflow:visible!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #editor-patterns-trigger .live-pattern-page-mark {width:8px!important;min-width:8px!important;max-width:8px!important;height:11px!important;min-height:11px!important;max-height:11px!important;filter:brightness(0) invert(1)!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel {width:min(272px,calc(100vw - 16px))!important;max-height:calc(var(--mobile-height,100dvh) - 174px)!important;padding:4px!important;gap:3px!important;overflow:auto!important;color:#fff!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-patterns-panel {inset:auto auto 54px 4px!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel>header {padding:2px!important;min-height:28px!important;gap:4px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-intro {margin:2px 0!important;font:10px/13px system-ui,sans-serif!important;color:#fff!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel :is(.patterns-family,.patterns-fields) {padding:0!important;gap:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel label {min-height:28px!important;gap:4px!important;color:#fff!important;font:11px/14px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel label>span {flex:0 0 76px!important;white-space:normal!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel select {height:28px!important;min-height:28px!important;padding:2px 4px!important;min-width:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:72px!important;gap:4px!important;padding:2px!important;margin:2px 0!important;height:152px!important;min-height:152px!important;max-height:152px!important;overflow:auto!important;box-sizing:border-box!important;align-content:start!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel button.patterns-card {height:72px!important;min-height:72px!important;padding:3px!important;gap:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-card canvas {height:50px!important;min-height:50px!important;max-height:50px!important;flex:none!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-card span {font:9px/12px ui-monospace,monospace!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-primary {margin:0!important;padding:0 0 3px!important;gap:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-actions {flex-wrap:nowrap!important;gap:3px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel :is(.patterns-seed-buttons,footer) {gap:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-actions button {min-width:0!important;min-height:26px!important;padding:2px 4px!important;font:10px/14px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed .editor-slider {grid-template-columns:28px minmax(0,1fr) 82px!important;min-height:30px!important;height:30px!important;gap:3px!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed .editor-slider-label {grid-column:1!important;grid-row:1!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed .editor-slider-track {grid-column:2!important;grid-row:1!important;height:30px!important;min-height:30px!important;margin:0 3px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed .editor-slider-readout {grid-column:3!important;grid-row:1!important;gap:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed .editor-slider-value {width:82px!important;min-width:82px!important;font-size:11px!important;padding:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-tuning {grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel :is(.patterns-tuning,.patterns-finish) label {display:grid!important;grid-template-columns:76px minmax(0,1fr) auto!important;gap:4px!important;min-height:28px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel :is(.patterns-tuning,.patterns-finish) input[type=range] {grid-row:1!important;grid-column:2!important;height:20px!important;min-height:20px!important;accent-color:#fff!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel :is(.patterns-tuning,.patterns-finish) output {grid-row:1!important;grid-column:3!important;min-width:26px!important;color:#fff!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-status {min-height:0!important;margin:2px 0!important;font:10px/13px system-ui,sans-serif!important;color:#fff!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery #results>:is(.artifact,#gallery-import-tile,.live-gallery-import-placeholder) {order:0!important;grid-row:var(--live-gallery-row,auto)!important;grid-column:var(--live-gallery-column,auto)!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .artifact {position:relative!important;height:78px!important;min-height:78px!important;overflow:visible!important;display:block!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .artifact-select {height:78px!important;min-height:78px!important;max-height:78px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .artifact :is(img,canvas) {height:76px!important;max-height:76px!important;object-fit:contain!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery .artifact figcaption {position:static!important;min-height:0!important;height:0!important;margin:0!important;padding:0!important;gap:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery .artifact :is(.artifact-identity,.artifact-caption-actions) {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .gallery-image-menu summary {top:2px!important;right:2px!important;bottom:auto!important;z-index:2!important;background:rgba(0,0,0,.30)!important;color:#fff!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .gallery-image-menu .gallery-image-actions {position:fixed!important;inset:var(--live-gallery-menu-top,150px) auto auto var(--live-gallery-menu-left,80px)!important;width:var(--live-gallery-menu-width,220px)!important;max-width:none!important;max-height:calc(100dvh - 180px)!important;overflow:auto!important;z-index:180!important;padding:4px!important;display:grid!important;gap:2px!important;background:rgba(0,0,0,.72)!important;border:1px solid #ffffff60!important;box-shadow:none!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery .gallery-image-menu:not([open]) .gallery-image-actions {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery .gallery-image-actions button {min-height:30px!important;height:auto!important;padding:5px 6px!important;color:#fff!important;font:10px/14px system-ui,sans-serif!important;white-space:normal!important;text-align:left!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {

}
}

/* One panel radius and scrollbar treatment throughout Studio. */
@layer editor-panel-controls {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio {--editor-panel-radius:4px!important;--editor-scroll-thumb:#fff!important;--editor-scrollbar-thumb:#fff!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.inspector-panel,.live-artwork-settings,.live-body-drawer,.live-design-drawer,.live-placement-drawer,.live-editor-overlay,#editor-smart-panel,#editor-patterns-panel,#generator-overlay,.generator-window,#ai-region-controls,#session-gallery,.live-side-tool-bucket,.live-artwork-picker-list,.live-quick-gallery-list,.live-artwork-action-content,.live-ai-menu-content,.live-layout-content,.live-project-content,.live-help-content,.editor-command-menu,.gallery-secondary-actions,.gallery-image-actions,.editor-brush-menu,#layer-settings-fields,#layer-blend-panel,#editor-property-panel,#editor-color-panel,#editor-guardrails-panel,#editor-effect-panel,#editor-canvas-panel,[data-editor-panel]) {border-radius:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio * {scrollbar-color:#fff transparent!important;scrollbar-width:thin!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio *::-webkit-scrollbar {width:4px!important;height:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio *::-webkit-scrollbar-thumb {background:#fff!important;border:0!important;border-radius:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio *::-webkit-scrollbar-track {background:transparent!important}
}

@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-ai-menu>summary {display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;color:#fff!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-ai-menu-content {inset:116px auto auto var(--live-navigation-left,4px)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #editor-patterns-trigger {position:relative!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #editor-patterns-trigger>.live-pattern-page-icon {width:32px!important;min-width:32px!important;max-width:32px!important;height:34px!important;min-height:34px!important;max-height:34px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #editor-patterns-trigger>.live-pattern-page-mark {position:absolute!important;display:grid!important;place-items:center!important;inset:15px auto auto calc(50% - 6px)!important;width:12px!important;min-width:12px!important;max-width:12px!important;height:16px!important;min-height:16px!important;max-height:16px!important;filter:brightness(0) invert(1)!important;font:18px/16px serif!important;pointer-events:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #editor-patterns-trigger>.live-pattern-page-mark>* {display:block!important;width:12px!important;min-width:12px!important;max-width:12px!important;height:16px!important;min-height:16px!important;max-height:16px!important;object-fit:contain!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-family>label {display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;align-items:center!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-fields>label {display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;align-items:center!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-fields>label:has(input[type=checkbox]) {display:flex!important;flex-direction:row!important;justify-content:flex-start!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-fields>label>span:has(button) {display:flex!important;align-items:center!important;gap:3px!important;flex-wrap:wrap!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-fields>label>span button {padding:0 2px!important;min-height:20px!important;font-size:9px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed .editor-slider {display:grid!important;align-items:center!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed .editor-slider-readout {display:flex!important;align-items:center!important;justify-content:flex-end!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed .editor-slider-track {align-self:center!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed .editor-slider-track::before {top:14px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed .editor-slider-fill {top:14px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed .editor-slider-thumb {top:10px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-actions {min-height:28px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery {display:flex!important;flex-direction:column!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery>.results-heading {order:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery>.live-gallery-hint {order:1!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery>#results {order:2!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery>#gallery-status {order:4!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #session-gallery>.gallery-footer {order:3!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {

}
}

@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #editor-patterns-trigger>.live-pattern-page-mark {transform:none!important;inset:15px auto auto calc(50% - 6px)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #editor-patterns-trigger>.live-pattern-page-mark * {position:static!important;inset:auto!important;transform:none!important;display:block!important;width:12px!important;min-width:12px!important;max-width:12px!important;height:16px!important;min-height:16px!important;max-height:16px!important;margin:0!important;padding:0!important;object-fit:contain!important}

}
}

@layer customer-panel-refinement {
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel>header {height:28px!important;min-height:28px!important;max-height:28px!important;box-sizing:border-box!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel>header button {height:26px!important;min-height:26px!important;max-height:26px!important;padding:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed-fields {margin:0!important;padding:0!important;gap:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-seed-buttons {margin:0!important;padding:0!important;gap:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-primary {grid-template-rows:30px 28px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-actions {height:28px!important;min-height:28px!important;max-height:28px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-family {margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-fields {margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-fields>label>span:has(button) {flex-wrap:nowrap!important;font-size:10px!important;gap:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #editor-patterns-panel .patterns-fields>label>span button {font-size:8px!important;min-width:0!important;padding:0!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {

}
}

/* AI panels use the same compact Studio layout and native capability state. */
@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #editor-patterns-trigger>.live-pattern-page-icon {width:28px!important;min-width:28px!important;max-width:28px!important;height:30px!important;min-height:30px!important;max-height:30px!important;stroke-width:1!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-ai-menu>summary>.live-ai-label {width:28px!important;min-width:28px!important;max-width:28px!important;height:30px!important;min-height:30px!important;max-height:30px!important;fill:#fff!important;stroke:none!important;overflow:visible!important;translate:0 -2px!important;}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #editor-patterns-trigger>.live-pattern-page-mark {inset:15px auto auto calc(50% - 5px)!important;width:10px!important;min-width:10px!important;max-width:10px!important;height:14px!important;min-height:14px!important;max-height:14px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #editor-patterns-trigger>.live-pattern-page-mark * {width:10px!important;min-width:10px!important;max-width:10px!important;height:14px!important;min-height:14px!important;max-height:14px!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay:not([data-window-state=maximized]) {width:min(272px,calc(100vw - 12px))!important;height:auto!important;min-height:0!important;max-height:calc(var(--mobile-height,100dvh) - 174px)!important;padding:4px!important;overflow:auto!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #generator-overlay:not([data-window-state=maximized]) {inset:auto auto 54px 4px!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generator-window {display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;gap:3px!important;padding:0!important;margin:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay :is(.generator-header,.generator-body,.generate-form,.generator-reference-area,.generation-feedback) {background:transparent!important;min-height:0!important;margin:0!important;padding:0!important;gap:3px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generator-header {display:flex!important;align-items:center!important;min-height:30px!important;gap:3px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generator-title-group {min-width:0!important;gap:3px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #generator-title {font:600 11px/14px system-ui,sans-serif!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generator-mark {width:18px!important;height:18px!important;flex:0 0 18px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generator-mark * {max-width:18px!important;max-height:18px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .window-actions {display:flex!important;gap:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generator-body {overflow:visible!important;display:block!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generate-form {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #generator-history {justify-self:end!important;height:24px!important;min-height:24px!important;padding:2px 6px!important;font:10px/14px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generator-mode-row {display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:3px!important;margin:0!important;padding:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #generator-mode {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important;flex:1!important;min-width:0!important;margin:0!important;padding:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generator-mode-choice {display:block!important;min-width:0!important;padding:0!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #generator-mode button {width:100%!important;min-width:0!important;height:28px!important;min-height:28px!important;padding:2px!important;font:10px/14px system-ui,sans-serif!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #generator-overlay .generator-mode-choice .ai-mode-unavailable {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #generator-help-button {flex:none!important;width:24px!important;min-width:24px!important;height:26px!important;min-height:26px!important;padding:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .prompt-heading {display:flex!important;justify-content:space-between!important;gap:4px!important;margin:0!important;padding:0!important;min-height:20px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .prompt-heading :is(label,span) {font:10px/14px system-ui,sans-serif!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay :is(.prompt-action-row,.prompt-field) {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important;min-height:0!important;margin:0!important;padding:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #user-text {box-sizing:border-box!important;width:100%!important;height:88px!important;min-height:88px!important;max-height:180px!important;padding:5px!important;font:12px/17px system-ui,sans-serif!important;resize:vertical!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generator-submit-row {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;min-height:28px!important;margin:0!important;padding:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #generate-button {min-height:28px!important;height:28px!important;padding:3px 6px!important;font:11px/16px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generator-reference-toolbar {display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:3px 5px!important;padding:3px 0!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generator-reference-toolbar :is(button,span) {min-height:22px!important;height:auto!important;padding:2px!important;margin:0!important;font:9px/13px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #clear-generator-references {margin-inline-start:auto!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #generator-reference-list {padding:0!important;margin:0!important;gap:3px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #generator-overlay #generator-reference-list:empty {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay :is(p,small,.credit-note,.generator-reference-guidance,.generation-tip) {font:10px/13px system-ui,sans-serif!important;margin:2px 0!important;padding:0!important;color:#fff!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generation-tip {font-size:9px!important;line-height:12px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls {width:min(248px,calc(100vw - 12px))!important;height:auto!important;min-height:0!important;max-height:calc(var(--mobile-height,100dvh) - 174px)!important;padding:5px!important;overflow:auto!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #ai-region-controls {inset:auto auto 54px 4px!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-form {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;padding:0!important;margin:0!important;min-height:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-panel-header {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:3px!important;min-height:28px!important;margin:0!important;padding:0!important;font:11px/14px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-close {width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important;padding:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-status {font:10px/13px system-ui,sans-serif!important;margin:0!important;padding:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls .editor-slider {display:grid!important;grid-template-columns:64px minmax(0,1fr) 44px!important;grid-template-rows:30px!important;height:30px!important;min-height:30px!important;gap:3px!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls .editor-slider-label {grid-row:1!important;grid-column:1!important;font:11px/14px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls .editor-slider-track {grid-row:1!important;grid-column:2!important;height:30px!important;min-height:30px!important;margin:0 3px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls .editor-slider-readout {grid-row:1!important;grid-column:3!important;font-size:11px!important;gap:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls .editor-slider-value {width:32px!important;padding:0!important;font-size:11px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls .editor-slider-track::before {top:14px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls .editor-slider-fill {top:14px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls .editor-slider-thumb {top:10px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls :is(.ai-region-actions,.ai-region-prompt-heading) {display:flex!important;align-items:center!important;gap:3px!important;margin:0!important;padding:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls .ai-region-actions>button {flex:1!important;min-width:0!important;min-height:26px!important;height:26px!important;padding:3px!important;font:11px/14px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls .ai-region-prompt-heading label {font:10px/13px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #ai-region-controls #mask-tool {min-width:28px!important;min-height:28px!important;height:28px!important;padding:3px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #ai-region-prompt {width:100%!important;box-sizing:border-box!important;height:72px!important;min-height:72px!important;padding:5px!important;font:12px/17px system-ui,sans-serif!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #ai-region-generate {height:28px!important;min-height:28px!important;padding:3px 5px!important;font:11px/16px system-ui,sans-serif!important}

}
}

@layer editor-panel-controls {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(#generator-overlay,#ai-region-controls)[hidden] {display:none!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(#generator-overlay,#ai-region-controls,.generator-window) {animation:none!important;transition:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(#generator-overlay,#ai-region-controls,.generator-window) {transform:none!important;translate:none!important}

}
}

@layer customer-panel-refinement {
@media (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-patterns-panel .patterns-intro {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-patterns-panel .patterns-grid {height:112px!important;min-height:112px!important;max-height:112px!important;grid-auto-rows:52px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-patterns-panel button.patterns-card {height:52px!important;min-height:52px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-patterns-panel .patterns-card canvas {height:30px!important;min-height:30px!important;max-height:30px!important}
}
}

/* Header visibility and the requested History position only. */
@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-header-tools #editor-patterns-trigger .live-pattern-page-emblem {width:16px!important;min-width:16px!important;max-width:16px!important;height:18px!important;min-height:18px!important;max-height:18px!important;filter:brightness(0) invert(1)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-main-menu>summary {width:36px!important;min-width:36px!important;padding:2px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-main-menu>summary>svg {width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important}
}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #generator-mode .generator-mode-choice:first-child {display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:28px 24px!important;gap:4px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #generator-history {justify-self:center!important;grid-row:2!important;width:auto!important;max-width:100%!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay .generator-mode-row {align-items:flex-start!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #generator-help-button {align-self:flex-start!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio >header :is(button,summary,strong,.live-ai-label) {text-shadow:0 2px 2px #555c!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio >header :is(button,summary)>:is(svg,.modern-widget-icon,.editor-action-logo) {filter:drop-shadow(0 2px 1px #666c)!important}

}
}

@layer customer-panel-refinement {
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #generator-overlay #generator-mode #generator-history {width:auto!important;min-width:0!important;height:24px!important;min-height:24px!important;max-height:24px!important;margin:0!important;position:static!important;transform:none!important;translate:none!important;justify-self:center!important;align-self:start!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {

}
}

/* Header pressed states follow native expanded, selected and attachment state. */
@layer customer-panel-refinement {
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) >header :is(button,summary):not([disabled]):is(:active,[aria-pressed=true],[aria-expanded=true],[data-attached=true]),
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) >header details[open]>summary,
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))):has(#generator-overlay:not([hidden]),#ai-region-controls:not([hidden]))>header .live-ai-menu>summary {--premium-surface:#000!important;background:#000!important;background-image:none!important;box-shadow:none!important;border-radius:4px!important;transition:none!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-picker>summary {display:flex!important;align-items:center!important;gap:2px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-picker>summary>.live-artwork-thumbnail {box-sizing:border-box!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;align-self:center!important}

}
}

/* Keep related header actions together and align each visible icon to its box. */
@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-creative-head>.live-main-menu {flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:40px!important;margin:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-creative-head>.live-main-menu>summary {width:36px!important;min-width:36px!important;height:40px!important;min-height:40px!important;max-height:40px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-main-menu>.editor-categories {top:calc(100% + 4px)!important;left:0!important;max-height:calc(var(--mobile-height,100dvh) - 142px)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .placement-view-actions.live-mobile-navigation-panel {inset:116px auto auto var(--live-navigation-left,4px)!important;width:min(208px,calc(100vw - 12px))!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:30px!important;grid-auto-rows:32px!important;gap:2px!important;padding:4px!important;justify-items:center!important;align-items:center!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-navigation-panel>.live-map-region {height:30px!important;min-height:30px!important;max-height:30px!important;max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-navigation-panel>.live-map-region select {height:30px!important;min-height:30px!important;max-height:30px!important;width:100%!important;max-width:none!important;padding:2px 5px!important;font:11px/16px system-ui,sans-serif!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-navigation-panel>:is(button[data-live-icon],.live-help>summary) {width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;display:grid!important;place-items:center!important;padding:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-mobile-navigation-panel>:is(button[data-live-icon],.live-help>summary)>svg {width:24px!important;height:24px!important;margin:0!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio >header :is(.live-header-leading>button,.live-header-actions>button,.live-creative-head>button,.live-main-menu>summary,.live-project-menu>summary,.live-layout-menu>summary,.live-artwork-actions>summary,.live-mobile-header-tools>button):not([hidden]) {display:grid!important;place-items:center!important;grid-template:minmax(0,1fr)/minmax(0,1fr)!important;box-sizing:border-box!important;padding:0!important;line-height:1!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio >header :is(button,summary)>svg {position:static!important;inset:auto!important;margin:0!important;align-self:center!important;justify-self:center!important;transform:none!important;translate:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio >header #toggle-session-gallery>.modern-widget-icon {position:static!important;inset:auto!important;margin:0!important;align-self:center!important;justify-self:center!important;transform:none!important;translate:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio >header [data-live-action=attach]>svg {transform:none!important;translate:none!important}

}
}

@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio >header #toggle-session-gallery {padding:0!important;grid-template:minmax(0,1fr)/minmax(0,1fr)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-creative-head>button[data-live-action=attach] {width:var(--live-header-attach-size)!important;min-width:var(--live-header-attach-size)!important;max-width:var(--live-header-attach-size)!important}

}
}

@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio >header button[hidden] {display:none!important}

}
}

/* The header row scrolls; its native menu must escape that clipping box. */
@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-main-menu>.editor-categories {position:fixed!important;inset:116px auto auto var(--live-navigation-left,4px)!important;width:112px!important;min-width:112px!important;max-width:112px!important;max-height:calc(var(--mobile-height,100dvh) - 174px)!important;overflow:auto!important;z-index:140!important;pointer-events:auto!important;border-radius:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-command-menu {width:min(244px,calc(100vw - 128px))!important;min-width:0!important;max-width:none!important;max-height:calc(var(--mobile-height,100dvh) - 174px)!important;overflow:auto!important;z-index:145!important}

}
}

@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-main-menu>.editor-categories>button {height:28px!important;min-height:28px!important;max-height:28px!important;padding:3px 5px!important;font:11px/16px system-ui,sans-serif!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-command-menu {position:fixed!important;inset:var(--live-main-command-top,116px) auto auto var(--live-main-command-left,116px)!important;transform:none!important;translate:none!important}

}
}

/* Keep the split resize hitbox above the existing mobile widget row. */
@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel.live-studio .live-divider {bottom:54px!important}

}
}

/* Only the two navigation toggles sit above header popovers; their hitboxes stay 28px. */
@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>:is(.live-body-navigation-trigger,#editor-inspector-edge) {z-index:151!important}
 .editor-page #editor-placement-panel.live-studio>#editor-inspector-edge {font-size:12px!important}

}
}

/* The native help is an aside, but is not the legacy mobile settings drawer. */
@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel.live-studio #generator-help:not([hidden]) {display:block!important}

}
}

/* The transparent rail must not clip the first button behind rounded scroll edges. */
@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
 .editor-page #editor-placement-panel.live-studio .live-global-ui>.tool-rail {border-radius:0!important}

}
}

/* Mobile V1.2: native anchored layer popovers and one window-control glyph. */
@layer customer-panel-refinement {
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(:is(#close-generator,#editor-patterns-close,#ai-region-close,#close-session-gallery,#editor-tool-settings-close,#editor-effect-close,#editor-color-close,#editor-smart-panel-close,#editor-canvas-handle>button,.export-close,#editor-start-close,#close-credit-dialog),#minimize-generator,#maximize-generator,#editor-smart-panel-minimize) {position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:0!important;margin:0!important;font-size:0!important;line-height:0!important;text-indent:0!important;color:#fff!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;}
.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(:is(#close-generator,#editor-patterns-close,#ai-region-close,#close-session-gallery,#editor-tool-settings-close,#editor-effect-close,#editor-color-close,#editor-smart-panel-close,#editor-canvas-handle>button,.export-close,#editor-start-close,#close-credit-dialog),#minimize-generator,#maximize-generator,#editor-smart-panel-minimize)::before {content:""!important;display:block!important;position:absolute!important;inset:0!important;margin:auto!important;box-sizing:border-box!important;width:12px!important;height:12px!important;pointer-events:none!important;}
.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(:is(#close-generator,#editor-patterns-close,#ai-region-close,#close-session-gallery,#editor-tool-settings-close,#editor-effect-close,#editor-color-close,#editor-smart-panel-close,#editor-canvas-handle>button,.export-close,#editor-start-close,#close-credit-dialog),#minimize-generator,#maximize-generator,#editor-smart-panel-minimize)::after {content:none!important;}
.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(#close-generator,#editor-patterns-close,#ai-region-close,#close-session-gallery,#editor-tool-settings-close,#editor-effect-close,#editor-color-close,#editor-smart-panel-close,#editor-canvas-handle>button,.export-close,#editor-start-close,#close-credit-dialog)::before {border:0!important;background:linear-gradient(45deg,transparent calc(50% - .75px),currentColor calc(50% - .75px),currentColor calc(50% + .75px),transparent calc(50% + .75px)),linear-gradient(-45deg,transparent calc(50% - .75px),currentColor calc(50% - .75px),currentColor calc(50% + .75px),transparent calc(50% + .75px))!important;}
.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(#minimize-generator:not([aria-label^="Restore"]),#editor-smart-panel-minimize)::before {height:0!important;border-top:1.5px solid currentColor!important;}
.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-smart-panel[data-minimized=true] #editor-smart-panel-minimize::before {height:12px!important;border:0!important;background:linear-gradient(currentColor,currentColor) center/12px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 12px no-repeat!important;}
.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.window-actions,.gallery-window-actions,.ai-region-panel-actions) {display:flex!important;align-items:center!important;gap:2px!important;}
}
:is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) :is(#layer-settings-fields,#layer-blend-panel) {transition:none!important;animation:none!important;box-sizing:border-box!important;width:var(--layer-popup-width,216px)!important;max-width:calc(100vw - 8px)!important;max-height:var(--layer-popup-max-height,calc(100dvh - 58px))!important;margin:0!important;padding:6px!important;overflow:auto!important;background:rgba(0,0,0,.30)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(#layer-settings-fields,#layer-blend-panel) {position:fixed!important;inset:auto!important;translate:none!important;left:var(--layer-popup-left,4px)!important;top:var(--layer-popup-top,88px)!important}
}
:is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #layer-settings-fields {display:grid;grid-template-columns:minmax(0,1fr);gap:3px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #layer-settings-fields>:not(.editor-slider,label:has(select[aria-label="Blend"])) {display:none!important;}
}
:is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #layer-settings-fields .editor-slider {order:0;grid-template-columns:minmax(0,1fr) auto!important}
:is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #layer-settings-fields>label:has(select[aria-label="Blend"]) {order:1}
:is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #layer-settings-fields .editor-slider-label {grid-column:1!important;grid-row:1!important;font-size:10px!important}
:is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #layer-settings-fields .editor-slider-readout {grid-column:2!important;grid-row:1!important}
:is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #layer-settings-fields .editor-slider-track {grid-column:1/-1!important;grid-row:2!important}
:is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #layer-settings-fields .editor-slider-value {width:28px!important;max-width:28px!important;min-height:24px!important;font-size:10px!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {
.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-history-panel :is(#history-title,#history-count,.editor-history-actions button) {font-size:10px!important;line-height:14px!important;white-space:nowrap!important;}
.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-history-panel>.panel-section-heading {display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:4px!important;}
}
:is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #layer-settings-fields :is(label,button,input:not([type=range])) {min-width:0!important;margin:0!important;font:11px/14px system-ui,sans-serif!important}
:is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #layer-settings-fields :is(button,input:not([type=range])) {min-height:36px!important;padding:2px 4px!important}
:is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio):not(:has(#editor-placement-panel[open]))) #layer-settings-fields .editor-slider {min-height:44px!important;gap:2px 4px!important;padding:0!important}
@media (max-width:760px), (max-width:950px) and (max-height:600px) {

}
}

/* The 3D settings panel borrows visual space only, retaining inspector state. */
@layer customer-panel-refinement {
 .editor-page[data-inspector-layout-hidden=true] #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.inspector-panel,.inspector-panel *,#editor-inspector-edge) {visibility:hidden!important;pointer-events:none!important;}
}


/* PC painting panels use available height and keep adjacent lists independent. */
@layer customer-panel-refinement {
@media (min-width:761px) and (min-height:601px), (min-width:951px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-artwork-settings.live-artwork-settings:is([data-tool=brush],[data-tool=pen],[data-tool=elemental]) {overscroll-behavior:contain!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-settings:is([data-tool=brush],[data-tool=pen],[data-tool=elemental]) #editor-tool-settings-fields small,
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-settings:is([data-tool=brush],[data-tool=pen],[data-tool=elemental]) #editor-tool-settings-fields>span:not([data-preview-status]) {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-artwork-settings:is([data-tool=brush],[data-tool=pen],[data-tool=elemental]) :is(#tool-properties,#editor-tool-settings-fields) {gap:3px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-brush-menu.live-side-tool-bucket {overscroll-behavior:contain!important}
}
}

/* Scale the desktop settings surface, retaining each control's existing layout. */
@layer customer-panel-refinement {
@media (min-width:761px) and (min-height:601px), (min-width:951px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio {--desktop-tool-scale:1.15}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(#live-artwork-settings.live-artwork-settings,#editor-font-picker,.editor-brush-menu.live-side-tool-bucket,#editor-smart-panel:not([data-minimized=true])) {scale:var(--desktop-tool-scale);transform-origin:top left!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-artwork-settings.live-artwork-settings {max-height:calc((100dvh - 46px)/var(--desktop-tool-scale))!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-brush-menu.editor-brush-menu.live-side-tool-bucket {background:rgba(0,0,0,.30)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-brush-menu.live-side-tool-bucket>button {border:0!important;box-shadow:none!important;background-image:none!important}
}
}

/* Desktop text settings retain their native controls and bindings. */
@layer customer-panel-refinement {
@media (min-width:761px) and (min-height:601px), (min-width:951px) {
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields .editor-text-basics>.editor-font-field {order:-1!important;flex:1 0 100%!important;width:100%!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields :is(.editor-text-basics,.editor-text-layout,.editor-text-shadow) {gap:4px!important;padding-block:4px!important;margin:0!important;min-width:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields .editor-text-layout .editor-slider {grid-template-columns:minmax(0,1fr) 42px!important;grid-template-rows:18px 24px!important;height:42px!important;min-height:42px!important;gap:0 2px!important;margin:0!important;min-width:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields .editor-text-layout .editor-slider-label {grid-column:1/-1!important;grid-row:1!important;font:10px/14px system-ui,sans-serif!important;white-space:nowrap!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields .editor-text-layout .editor-slider-track {grid-column:1!important;grid-row:2!important;height:24px!important;min-height:24px!important;margin:0 3px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields .editor-text-layout .editor-slider-readout {grid-column:2!important;grid-row:2!important;min-width:0!important;width:42px!important;justify-self:stretch!important;justify-content:flex-end!important;gap:0!important;font-size:10px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields .editor-text-layout .editor-slider-value {width:26px!important;min-width:0!important;font-size:10px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields .editor-text-layout .editor-slider-unit {font-size:9px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields .editor-text-outline {grid-column:1/-1!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px 8px!important;min-width:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields .editor-text-outline>label {display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important;margin:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields .editor-text-layout .editor-slider-track::before,
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields .editor-text-layout .editor-slider-fill {top:11px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields .editor-text-layout .editor-slider-thumb {top:7px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-font-picker {background:rgba(0,0,0,.30)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;padding:4px!important;border-radius:4px!important;box-shadow:none!important}
 .editor-page #editor-font-picker button {min-height:34px!important;gap:1px!important;padding:3px 5px!important}
 .editor-page #editor-font-picker .editor-font-name {font:10px/14px system-ui,sans-serif!important}
 .editor-page #editor-font-picker .editor-font-sample {font-size:14px!important;line-height:18px!important}
 .editor-page #editor-font-picker .editor-font-import {top:-4px!important;margin:-4px -4px 3px!important;padding:4px!important;background:transparent!important}
 .editor-page #editor-font-picker #editor-import-font {min-height:28px!important;padding:4px!important;font-size:10px!important}
 .editor-page #editor-font-picker .editor-font-import small {padding-top:2px!important;font-size:9px!important;line-height:12px!important}
}
}

/* Desktop uses the mobile panel surface and controls, with its existing anchors,
 * launcher positions, visible settings, stacking and pointer behavior intact.
 * These are the existing native nodes; no alternate panel tree is mounted. */
@layer customer-panel-refinement {
@media (min-width:761px) and (min-height:601px), (min-width:951px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-toolbar-content {top:var(--desktop-tools-top,42px)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .placement-design>label:has(select[aria-label="Skin blend"]) {order:-1!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(.live-artwork-settings,#editor-tool-settings-panel) .editor-tip-gallery:is([data-tool=brush],[data-tool=pen]) {display:none!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(.live-artwork-settings,#editor-tool-settings-panel) .editor-text-wording {display:flex!important;width:100%!important;min-width:0!important;gap:0!important;font-size:0!important;line-height:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery #close-session-gallery {font-size:0!important;line-height:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(.live-body-drawer,.live-design-drawer,.live-artwork-settings,#editor-toolbar-content,#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel,#generator-overlay,#ai-region-controls,#session-gallery,#layer-settings-fields,#layer-blend-panel) {
  --muted:#fff;--text-muted:#fff;box-sizing:border-box;background:rgba(0,0,0,.30)!important;background-image:none!important;border:1px solid #ffffff40!important;border-radius:4px!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#fff!important;scrollbar-color:#fff transparent;scrollbar-width:thin;
 }
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(.live-body-drawer,.live-design-drawer,.live-artwork-settings,#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel,#generator-overlay,#ai-region-controls,#session-gallery,#layer-settings-fields,#layer-blend-panel) :is(section,header,footer,fieldset,details,#tool-properties,#tool-contextual,#editor-tool-settings-fields,.editor-smart-fields) {background:transparent!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(.live-body-drawer,.live-design-drawer,.live-artwork-settings,#editor-toolbar-content,#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel,#generator-overlay,#ai-region-controls,#session-gallery,#layer-settings-fields,#layer-blend-panel) :is(label,span,small,p,legend,strong,summary,input,select,textarea,output,button) {color:#fff!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(.live-body-drawer,.live-design-drawer,.live-artwork-settings,#editor-toolbar-content,#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel,#ai-region-controls,#session-gallery,#layer-settings-fields,#layer-blend-panel) {overflow-y:auto;overflow-x:hidden}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-panel {width:248px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 174px);padding:6px!important;gap:4px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-tool-settings-fields {gap:4px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #layer-settings-fields {gap:3px!important;padding:6px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #layer-settings-fields :is(label,button,input:not([type=range])) {min-width:0;margin:0;font:11px/14px system-ui,sans-serif}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #layer-settings-fields :is(button,input:not([type=range])) {min-height:36px;padding:2px 4px}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #layer-settings-fields .editor-slider {min-height:44px;gap:2px 4px;padding:0}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-toolbar-content {gap:4px!important;padding:6px!important}
 /* Keep the native Import control within the compact Gallery heading. */
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery {height:auto!important;min-height:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery .results-heading {grid-template-columns:minmax(0,1fr) auto!important;padding:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery .results-heading>div:first-child {flex-wrap:wrap!important;gap:2px 5px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery .gallery-window-actions {position:static!important;display:flex!important;align-items:center!important;gap:2px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery #gallery-upload {height:28px!important;min-height:28px!important;padding:2px 4px!important;font:10px/14px system-ui,sans-serif!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery #results {grid-auto-rows:max-content!important;height:auto!important;min-height:160px!important;max-height:248px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery .artifact {height:auto!important;min-height:104px!important}
 /* Mobile window glyphs on the existing desktop window buttons. */
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(#close-generator,#editor-patterns-close,#ai-region-close,#close-session-gallery,#editor-tool-settings-close,#editor-smart-panel-close,#minimize-generator,#maximize-generator,#editor-smart-panel-minimize) {position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:0!important;margin:0!important;font-size:0!important;line-height:0!important;text-indent:0!important;color:#fff!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(#close-generator,#editor-patterns-close,#ai-region-close,#close-session-gallery,#editor-tool-settings-close,#editor-smart-panel-close,#minimize-generator,#maximize-generator,#editor-smart-panel-minimize)::before {content:""!important;display:block!important;position:absolute!important;inset:0!important;margin:auto!important;box-sizing:border-box!important;width:12px!important;height:12px!important;pointer-events:none!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(#close-generator,#editor-patterns-close,#ai-region-close,#close-session-gallery,#editor-tool-settings-close,#editor-smart-panel-close)::before {border:0!important;background:linear-gradient(45deg,transparent calc(50% - .75px),currentColor calc(50% - .75px),currentColor calc(50% + .75px),transparent calc(50% + .75px)),linear-gradient(-45deg,transparent calc(50% - .75px),currentColor calc(50% - .75px),currentColor calc(50% + .75px),transparent calc(50% + .75px))!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(#minimize-generator:not([aria-label^="Restore"]),#editor-smart-panel-minimize)::before {height:0!important;border-top:1.5px solid currentColor!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #maximize-generator::before {border:1.5px solid currentColor!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-smart-panel[data-minimized=true] #editor-smart-panel-minimize::before {height:12px!important;border:0!important;background:linear-gradient(currentColor,currentColor) center/12px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 12px no-repeat!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(#close-generator,#editor-patterns-close,#ai-region-close,#close-session-gallery,#editor-tool-settings-close,#editor-smart-panel-close,#minimize-generator,#maximize-generator,#editor-smart-panel-minimize)::after {content:none!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) .live-design-drawer .placement-select-value,
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) .live-design-drawer .placement-select::after {display:none!important}
 /* Respect native hidden state even when a shared mobile rule uses display. */
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(.live-body-drawer,.live-design-drawer,.live-artwork-settings,#editor-toolbar-content,#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel,#generator-overlay,#ai-region-controls,#session-gallery,#layer-settings-fields,#layer-blend-panel)[hidden],
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(.live-body-drawer,.live-design-drawer,.live-artwork-settings,#editor-toolbar-content,#editor-tool-settings-panel,#editor-smart-panel,#editor-patterns-panel,#generator-overlay,#ai-region-controls,#session-gallery,#layer-settings-fields,#layer-blend-panel) [hidden] {display:none!important}
}
}

/* Desktop follow-up: read settings down from the launcher, retain compact
 * native controls, and reserve six Gallery thumbnails before scrolling. */
@layer customer-panel-refinement {
@media (min-width:761px) and (min-height:601px), (min-width:951px) {
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) .live-artwork-settings :is(#tool-properties,#editor-tool-settings-fields) {flex-direction:column!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #layer-settings-fields>.editor-slider {order:-2}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #layer-settings-fields>label:has(select[aria-label="Blend"]) {order:-1}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-modern-tools[data-active-tool]:not([data-active-tool=none])>svg {fill:none!important;stroke:currentColor!important;stroke-width:1.5!important;stroke-linecap:round;stroke-linejoin:round}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-toolbar-content .editor-tool[aria-pressed=true] {--premium-surface:#ffffff20!important;--premium-text:#fff!important;background:rgba(255,255,255,.12)!important;color:#fff!important;outline:1px solid #ffffff70;outline-offset:-2px;box-shadow:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>.live-gallery-dock {width:min(374.9px,calc(100vw - 84px))!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery {width:min(374.9px,calc(100vw - 84px))!important;height:auto!important;min-height:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery #results {grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:max-content!important;max-height:248px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery>.gallery-footer {flex:0 0 auto!important;margin-bottom:0!important;padding-bottom:0!important}
}
}

@layer customer-panel-refinement {
@media (min-width:761px) and (min-height:601px), (min-width:951px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-brush-menu.live-side-tool-bucket {position:fixed!important;inset:var(--tool-bucket-top,48px) auto auto var(--tool-bucket-left,310px)!important;box-sizing:border-box!important;width:var(--tool-bucket-width,180px)!important;min-width:0!important;max-height:var(--tool-bucket-height,70dvh)!important;height:auto!important;margin:0!important;padding:4px!important;overflow:hidden auto!important;z-index:140!important;pointer-events:auto;background:rgba(0,0,0,.30)!important;border:1px solid #ffffff60;border-radius:4px;backdrop-filter:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-brush-menu.live-side-tool-bucket>button {display:flex;align-items:center;gap:6px;min-height:36px;height:auto;padding:4px;white-space:normal}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-element-icon {flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 .editor-page #editor-placement-panel.live-studio .live-element-icon[data-element=lightning] {color:#ffd84d!important}
 .editor-page #editor-placement-panel.live-studio .live-element-icon[data-element=fire] {color:#ff5555!important}
 .editor-page #editor-placement-panel.live-studio .live-element-icon:is([data-element=smoke],[data-element=ice],[data-element=light]) {color:#fff!important}
 .editor-page #editor-placement-panel.live-studio .live-element-icon[data-element=water] {color:#50a9ff!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(#editor-toolbar-content,.live-artwork-settings,#editor-tool-settings-panel,#generator-overlay,#ai-region-controls,#editor-patterns-panel,#session-gallery) {backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery #results {grid-auto-rows:78px!important;min-height:78px!important;max-height:160px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery .artifact {position:relative!important;display:block!important;height:78px!important;min-height:78px!important;overflow:visible!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery .artifact figcaption {position:static!important;min-height:0!important;height:0!important;margin:0!important;padding:0!important;gap:0!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery .artifact :is(.artifact-identity,.artifact-caption-actions,.artifact-state) {display:none!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery .gallery-image-menu summary {top:2px!important;right:2px!important;bottom:auto!important;z-index:2!important;background:rgba(0,0,0,.3)!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) :is(.live-main-menu>.editor-categories,.editor-command-menu,.editor-brush-menu[aria-label=Element],#editor-smart-panel) {background:rgba(0,0,0,.30)!important;background-image:none!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #editor-smart-panel[data-minimized=true] {max-width:calc(100vw - 8px)!important;max-height:40px!important;overflow:visible!important;padding:3px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery #gallery-upload {display:none!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery .results-heading>div:first-child {flex-wrap:nowrap!important;gap:4px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery #results {height:164px!important;min-height:164px!important;max-height:164px!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery .artifact-select {overflow:hidden!important}
 :is(.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,.editor-page:not(.mobile-studio)) #session-gallery .artifact-select :is(img,canvas) {display:block!important;box-sizing:border-box!important;width:100%!important;height:76px!important;max-height:76px!important;aspect-ratio:auto!important;object-fit:cover!important}
 /* Keep the header's blur on a sibling surface so menus can sample the scene. */
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>header {background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio>header::before {content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:rgba(0,0,0,.20);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings>.live-quick-element-choice {grid-template-columns:18px minmax(0,1fr)!important;grid-template-rows:14px 18px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-quick-element-caption {grid-column:1/-1;grid-row:1}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-quick-element-choice>.live-element-icon {grid-column:1;grid-row:2;width:16px;height:16px;align-self:center}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-quick-element-choice>select {grid-column:2;grid-row:2}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-brush-menu[aria-label=Element]>button {border:0!important;box-shadow:none!important;background-image:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery #gallery-import-tile {box-sizing:border-box!important;height:78px!important;min-height:78px!important;max-height:78px!important;padding:0!important;aspect-ratio:auto!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio,
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio * {scrollbar-color:#fff #0003!important;scrollbar-width:thin!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio *::-webkit-scrollbar:horizontal {height:8px!important;display:block!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio *::-webkit-scrollbar-thumb:horizontal {background:#fff!important;opacity:1!important;border:0!important;border-radius:2px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio *::-webkit-scrollbar-track:horizontal {background:#0003!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #canvas-scrollbar-thumb-x {background:#fff!important;opacity:1!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #canvas-scrollbar-thumb-y {background:#fff!important;opacity:1!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio *::-webkit-scrollbar {width:8px!important;height:6px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio *::-webkit-scrollbar-thumb {background:#fff!important;opacity:1!important;border:0!important;border-radius:2px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio *::-webkit-scrollbar-track {background:#0003!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings {overflow-x:auto!important;overflow-y:hidden!important;height:34px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings>.editor-slider {height:28px!important;min-height:28px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings :is(.editor-slider-label,.editor-slider-readout,.editor-slider-unit,.editor-slider-value,label,select,button,.live-quick-element-caption) {font-size:11px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings .editor-slider-label {line-height:12px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings :is(.editor-slider-readout,.editor-slider-unit) {line-height:12px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings .editor-slider-value {height:12px!important;min-height:12px!important;line-height:12px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings .editor-slider-track {height:16px!important;min-height:16px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings>label {grid-template-rows:12px 16px!important;line-height:12px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings>label>:is(select,input) {height:16px!important;min-height:16px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings>.live-quick-element-choice {grid-template-rows:12px 16px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings>[data-quick-stabilizer] {display:grid!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-tool-settings-fields [data-fx-group=core] {border-top:0!important;padding-top:0!important;gap:4px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-tool-settings-fields [data-fx-group=core]>legend {display:none!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-gallery-dock>#session-gallery {max-height:calc(100dvh - var(--live-gallery-top,48px) - 8px)!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #session-gallery #results {height:246px!important;min-height:246px!important;max-height:246px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-slider-track::before,
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-slider-fill {background:#fff!important;background-image:none!important;opacity:1!important;height:2px!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .editor-slider-thumb {background:#fff!important;border-color:#fff!important;opacity:1!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio input[type=range]::-webkit-slider-runnable-track {background:#fff!important;opacity:1!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio input[type=range]::-moz-range-track {background:#fff!important;opacity:1!important}
 @container studio-quick (max-width:605.99px) {.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings:is([data-tool=brush],[data-tool=pen])>:not([data-quick-stabilizer]):nth-child(n+5) {display:none!important}}
 @container studio-quick (max-width:503.99px) {.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings:is([data-tool=brush],[data-tool=pen])>:not([data-quick-stabilizer]):nth-child(n+4) {display:none!important}}
 @container studio-quick (max-width:401.99px) {.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings:is([data-tool=brush],[data-tool=pen])>:not([data-quick-stabilizer]):nth-child(n+3) {display:none!important}}
 @container studio-quick (max-width:299.99px) {.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings:is([data-tool=brush],[data-tool=pen])>:not([data-quick-stabilizer]):nth-child(n+2) {display:none!important}}
 @container studio-quick (max-width:197.99px) {.editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings:is([data-tool=brush],[data-tool=pen])>:not([data-quick-stabilizer]) {display:none!important}}
}
}

/* Desktop readability: scale whole surfaces, keeping their native grid intact. */
@layer customer-panel-refinement {
@media (min-width:761px) and (min-height:601px), (min-width:951px) {
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.live-body-drawer,.live-design-drawer,#session-gallery,#layer-settings-fields,#layer-blend-panel,#generator-overlay,#ai-region-controls,#editor-patterns-panel) {scale:var(--desktop-tool-scale);transform-origin:top left!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(.live-body-drawer,.live-design-drawer) {max-height:calc(var(--live-model-panel-height,calc(100dvh - 104px))/var(--desktop-tool-scale))!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio .live-gallery-dock>#session-gallery {max-height:calc((100dvh - var(--live-gallery-top,48px) - 8px)/var(--desktop-tool-scale))!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(#generator-overlay:not([data-window-state=maximized]),#generator-overlay[data-window-state=maximized],#ai-region-controls) {max-height:var(--ai-panel-max-height,calc((100dvh - 174px)/var(--desktop-tool-scale)))!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-patterns-panel {max-width:var(--live-surface-width,calc((100vw - 16px)/var(--desktop-tool-scale)))!important;max-height:var(--live-surface-height,calc((100dvh - 60px)/var(--desktop-tool-scale)))!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio :is(#layer-settings-fields,#layer-blend-panel) {max-height:var(--desktop-layer-max-height,calc((100dvh - 16px)/var(--desktop-tool-scale)))!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #generator-help:popover-open {scale:var(--desktop-tool-scale);transform-origin:top left!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-font-picker {display:flex!important;flex-direction:column!important;overflow:hidden!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-font-picker .editor-font-import {position:relative!important;top:auto!important;flex:none!important;z-index:1}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-font-picker .editor-font-import small {color:#fff!important;opacity:1!important}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #editor-font-picker>[role=listbox] {flex:1 1 auto;min-height:0;overflow:hidden auto;overscroll-behavior:contain}
 .editor-page #editor-placement-panel#editor-placement-panel#editor-placement-panel#editor-placement-panel.live-studio #live-quick-tool-settings :is(.editor-slider-label,.editor-slider-readout,.editor-slider-unit,.editor-slider-value,label,select,button,.live-quick-element-caption) {font-size:12px!important}
}
}
