/* Validated Vernis surfaces over the live editor. Native controls stay live. */
:is(html[data-ui=modern],html[data-modern-embed=true]),
:is(html[data-ui=modern],html[data-modern-embed=true]) *{scrollbar-width:none!important}
:is(html[data-ui=modern],html[data-modern-embed=true])::-webkit-scrollbar,
:is(html[data-ui=modern],html[data-modern-embed=true]) *::-webkit-scrollbar{display:none}
html[data-ui=modern],html[data-ui=modern] body{margin:0;width:100%;height:100%;overflow:hidden;background:#efeee9;font-family:Onest,sans-serif}
html[data-ui=modern] #app{display:block;width:100%;height:100%;padding:0;max-width:none}
html[data-ui=modern] .studio-navigation,html[data-ui=modern] .theme-site-control{display:none!important}
#vernis-floating-workspaces{height:100dvh!important;min-height:420px;--v-stage:#efeee9;--modern-properties-x:calc(100vw - 330px);--modern-properties-y:96px;--modern-properties-w:296px;--modern-properties-h:calc(100vh - 302px)}
#vernis-floating-workspaces .modern-legacy{display:none!important}
#vernis-floating-workspaces .modern-inspector-root{display:contents!important}
#vernis-floating-workspaces .v-panel{display:flex;flex-direction:column;border:1px solid transparent;border-radius:14px;box-shadow:none;min-width:0;min-height:37px;z-index:50;padding:0}
#vernis-floating-workspaces .v-head{flex:0 0 37px;padding:0 6px 0 4px;height:37px;background:transparent;position:relative;z-index:3}
#vernis-floating-workspaces .v-drag{font-size:12px;min-width:0;overflow:hidden}
#vernis-floating-workspaces .v-drag>.v-property-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#vernis-floating-workspaces .v-drag>.vernis-icon{width:12px;height:18px;opacity:.6}
#vernis-floating-workspaces .v-content{margin:8px 8px 12px;padding:4px 8px 6px;overflow:auto;min-height:0;flex:1;scroll-padding:8px;overscroll-behavior:contain;scrollbar-width:thin}
#vernis-floating-workspaces .v-panel[data-collapsed=true]>:is(.modern-fixed-add,.modern-object-add,.example-object-shortcut,.v-content){display:none!important}
#vernis-floating-workspaces .v-panel[data-tab-inactive=true]{visibility:hidden;pointer-events:none}
#vernis-floating-workspaces .v-island{border:1px solid transparent;background:var(--v-surface)}
#vernis-floating-workspaces .v-project{gap:7px;padding:4px;overflow:hidden;border-radius:12px}
#vernis-floating-workspaces .v-project .brand-logo{width:77px;height:22px;display:block;flex:0 0 77px}
#vernis-floating-workspaces .v-project .brand-logo img{width:77px;height:22px;max-width:none}
#vernis-floating-workspaces .v-project #project-title{font:500 11px Onest,sans-serif;color:var(--v-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;border-left:1px solid var(--v-line);padding-left:10px;margin:0}
#vernis-floating-workspaces .v-project #projects-button{position:static;border:0;background:none;width:24px;height:28px;padding:2px}
#vernis-floating-workspaces .chrome-grip{cursor:grab!important;padding:3px!important;display:grid;place-items:center;touch-action:none;color:var(--v-muted);opacity:.6;flex:0 0 16px}
#vernis-floating-workspaces .chrome-grip svg{width:10px;height:18px}
#vernis-floating-workspaces .modern-history{position:absolute;z-index:55;display:flex;align-items:center;gap:4px;padding:4px}
#vernis-floating-workspaces .modern-history button:not(.chrome-grip){width:28px;height:30px;padding:4px}
#vernis-floating-workspaces .modern-dispositions{position:absolute;display:flex;align-items:center;gap:6px;padding:4px 8px;z-index:55}
#vernis-floating-workspaces .modern-dispositions button:not(.chrome-grip){display:flex;align-items:center;gap:8px}
#vernis-floating-workspaces .v-modes{top:20px;z-index:58;white-space:nowrap;box-shadow:none}
#vernis-floating-workspaces .v-modes button{font-weight:500}
#vernis-floating-workspaces .sim-publish{position:absolute;top:24px;right:128px;height:40px;display:flex;align-items:center;gap:8px;padding:0 18px;background:#c62d36;color:#fff;border-radius:999px;z-index:59}
#vernis-floating-workspaces .sim-publish svg{stroke:#fff;--icon-primary:#fff;--icon-secondary:#fff}
#vernis-floating-workspaces .modern-language{position:absolute;right:24px;top:24px;z-index:60;background:var(--v-surface);border-radius:12px;height:40px;display:flex;align-items:center}
#vernis-floating-workspaces .modern-language .language-trigger{min-height:40px;padding:6px 12px;background:transparent;color:var(--v-ink);border:0}
#vernis-floating-workspaces .modern-account{position:absolute;bottom:24px;left:24px;z-index:85;width:40px;height:40px}
/* Beta feedback: always visible next to the account button, above panels and layouts. */
#vernis-floating-workspaces .vernis-beta-feedback{position:absolute;bottom:24px;left:72px;z-index:86;height:40px;display:flex;align-items:center;gap:8px;padding:0 16px;border:0;border-radius:999px;background:#f2b705;color:#fff;font:inherit;font-weight:600;box-shadow:0 4px 14px rgba(0,0,0,.14);cursor:pointer}
#vernis-floating-workspaces .vernis-beta-feedback svg{--icon-primary:#fff;--icon-secondary:#fff;stroke:#fff}
#vernis-floating-workspaces .vernis-beta-feedback:focus-visible{outline:2px solid #1d1d1f;outline-offset:2px}
#vernis-floating-workspaces .modern-account #account-button{width:40px;height:40px;padding:0;border:0;border-radius:12px;background:var(--v-surface)}
#vernis-floating-workspaces .account-avatar{border-radius:12px;width:40px;height:40px;display:grid;place-items:center;background:transparent;color:var(--v-ink);font-weight:600}
#vernis-floating-workspaces .account-menu-list{position:absolute;left:0;bottom:calc(100% + 12px);top:auto;right:auto;width:264px;background:var(--v-surface);color:var(--v-ink);border:1px solid var(--v-line);border-radius:16px;padding:8px;max-height:calc(100vh - 120px);overflow:auto;box-shadow:0 8px 28px #0002}
#vernis-floating-workspaces .account-menu-list :is(button,a){width:100%;display:flex;gap:8px;align-items:center;padding:10px;text-align:left;text-decoration:none;white-space:normal;color:inherit;border:0;border-radius:9px;font-size:12px}
#vernis-floating-workspaces .account-menu-list :is(button,a):hover{background:var(--v-soft)}
#vernis-floating-workspaces .account-identity{padding:10px;color:var(--v-muted);font-size:11px}
#vernis-floating-workspaces .modern-save-status{display:block;padding:8px;color:var(--v-muted);font-size:10px}
#vernis-floating-workspaces .v-tools{display:flex;align-items:center;z-index:52;padding:4px;gap:4px;width:56px;min-width:0;border-radius:12px;overflow:visible}
#vernis-floating-workspaces .v-tools[data-toolbar-axis=vertical]{flex-direction:column;height:max-content!important}
#vernis-floating-workspaces .v-tools[data-toolbar-axis=horizontal]{flex-direction:row;width:max-content!important;height:48px!important}
#vernis-floating-workspaces .v-tools hr{border:0;background:var(--v-line);width:28px;height:1px;margin:8px 0;flex-shrink:0}
#vernis-floating-workspaces .v-tools[data-toolbar-axis=horizontal] hr{width:1px;height:28px;margin:0 8px}
#vernis-floating-workspaces .v-tools button{width:30px;height:30px;padding:5px;flex-shrink:0;border-radius:8px}
#vernis-floating-workspaces .modern-element-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;background:transparent;border:0;border-radius:0;z-index:0;display:block;padding:0}
#vernis-floating-workspaces :is(#viewport,#setup-canvas):focus-visible{outline:none!important;box-shadow:none!important}
#vernis-floating-workspaces #viewport{position:absolute;inset:0;min-height:0;height:100%;width:100%;overflow:hidden}
#vernis-floating-workspaces #viewport>div{height:100%;width:100%;min-height:0}
#vernis-floating-workspaces #empty{z-index:10;background:transparent;max-width:600px;left:50%;top:50%;transform:translate(-50%,-50%);right:auto;bottom:auto}
#vernis-floating-workspaces #scene-label,#vernis-floating-workspaces .view-chip{display:none!important}
#vernis-floating-workspaces .modern-fixed-add{padding:0 12px 10px;flex:0 0 auto;background:var(--v-surface);z-index:3}
#vernis-floating-workspaces #add-element{width:100%;min-height:38px;display:flex;justify-content:center;align-items:center;gap:7px;border:0;background:var(--v-soft);border-radius:999px;font-size:11px;font-weight:400;margin:0}
#vernis-floating-workspaces #element-list{display:flex;flex-direction:column;gap:5px;overflow:visible}
#vernis-floating-workspaces .element-item{display:grid;grid-template-columns:minmax(0,1fr) 26px;gap:4px;align-items:center;background:transparent;border:0;border-radius:10px;padding:0;min-height:44px}
#vernis-floating-workspaces .element-select{grid-column:1;grid-row:1;display:flex;align-items:center;gap:8px;min-width:0;width:100%;padding:7px 5px;border-radius:10px}
#vernis-floating-workspaces .element-item.active>.element-select{background:var(--v-selected)}
#vernis-floating-workspaces .element-select .kind-art{width:32px;height:32px;flex:0 0 32px}
#vernis-floating-workspaces .element-select .etext{min-width:0;display:flex;flex-direction:column;gap:2px}
#vernis-floating-workspaces .element-select strong{font:500 12px Onest,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
#vernis-floating-workspaces .element-select small{font-size:10px;color:var(--v-muted);white-space:normal}
#vernis-floating-workspaces .element-visibility{grid-column:2;grid-row:1;padding:0}
#vernis-floating-workspaces[data-modern-mode=elements] .element-item:not(.active)>.element-visibility{visibility:hidden}
#vernis-floating-workspaces .modern-collection-wrap{grid-column:1/-1;border-left:2px solid var(--v-selected);margin:0 0 10px 6px;padding:8px 4px 8px 10px;width:calc(100% - 8px)}
#vernis-floating-workspaces .modern-collection-wrap>summary{font-weight:600;cursor:pointer;display:list-item;list-style-position:inside;padding:5px 0 12px}
#vernis-floating-workspaces #film-section{display:block;padding:0;margin:0;border:0;min-width:0;background:transparent}
#vernis-floating-workspaces .film-header{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0;margin:0;font-size:10px;min-height:0}
#vernis-floating-workspaces .film-header>#film-label,#vernis-floating-workspaces .film-hint{display:none}
#vernis-floating-workspaces #group-filter{max-width:100%;font-size:10px}
#vernis-floating-workspaces #film{display:flex;flex-direction:column;gap:6px;padding:8px 0 4px;max-height:320px;overflow:auto;margin:0;min-height:0}
#vernis-floating-workspaces .thumb-item{display:grid;grid-template-columns:minmax(0,1fr) 26px;align-items:center;min-width:0;padding:3px;border-radius:9px}
#vernis-floating-workspaces .thumb-item .thumb{grid-column:1;grid-row:1;display:flex;gap:8px;align-items:center;min-width:0;padding:3px;width:100%;height:auto;min-height:52px;border:0;background:transparent}
#vernis-floating-workspaces .thumb-item .thumb[aria-pressed=true]{background:var(--v-selected)}
#vernis-floating-workspaces .thumb img{width:44px;height:44px;object-fit:contain;border-radius:8px;background:var(--v-soft)}
#vernis-floating-workspaces .thumb small{font-size:11px;text-align:left;white-space:normal;line-height:1.4}
#vernis-floating-workspaces .piece-visibility{grid-column:2;grid-row:1}
#vernis-floating-workspaces :is(.element-visibility,.piece-visibility) input{appearance:none!important;display:block;width:24px!important;height:26px!important;border:0!important;border-radius:7px;background-color:transparent!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2353677d' stroke-width='1.4'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");background-size:19px;background-repeat:no-repeat;background-position:center;box-shadow:none!important;padding:0!important;margin:0}
#vernis-floating-workspaces :is(.element-visibility,.piece-visibility) input::before,#vernis-floating-workspaces :is(.element-visibility,.piece-visibility) input::after{display:none!important}
#vernis-floating-workspaces :is(.element-visibility,.piece-visibility) input:not(:checked){opacity:.4}
#vernis-floating-workspaces .modern-list-options{margin:12px 0;color:var(--v-muted);font-size:10px}
#vernis-floating-workspaces .inspector-tabs{position:sticky;top:-8px;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:var(--v-surface);border:0;border-radius:0;padding:4px 0 8px;margin:0 -2px 8px}
#vernis-floating-workspaces .inspector-tabs button{padding:7px 2px;min-width:0;display:flex;align-items:center;flex-direction:column;gap:5px;font:11px Onest,sans-serif;border:0;border-radius:10px}
#vernis-floating-workspaces .inspector-tabs button[aria-selected=true]{background:var(--v-selected);color:var(--v-accent)}
#vernis-floating-workspaces .inspector-panel{padding:0;background:transparent;overflow:visible}
#vernis-floating-workspaces :is(.studio-panel-group,.studio-panel-details){margin:0;padding:14px 0 18px;border:0;border-bottom:1px solid var(--v-line);background:transparent;border-radius:0}
#vernis-floating-workspaces :is(.studio-panel-group h3,.studio-panel-details>summary){font:600 12px/1.4 Onest,sans-serif;margin:0 0 12px;padding:0;color:var(--v-ink)}
#vernis-floating-workspaces .studio-panel-details:not([open]){padding:14px 0}
#vernis-floating-workspaces .field,#vernis-floating-workspaces .switch-row{font-size:12px;margin:10px 0 14px;gap:10px;min-width:0}
#vernis-floating-workspaces .field-top{display:flex;justify-content:space-between;gap:8px;margin:0 0 7px}
#vernis-floating-workspaces output{font-size:11px;color:var(--v-muted)}
#vernis-floating-workspaces :is(input[type=number],input[type=text],input[type=search],textarea,select){width:100%;min-width:0;padding:10px 12px;background:var(--v-soft);border:0;border-radius:12px;color:var(--v-ink);box-shadow:none;font:12px Onest,sans-serif}
#vernis-floating-workspaces input[type=color]{width:40px;height:32px;padding:3px;border:0;border-radius:8px;background:var(--v-soft)}
#vernis-floating-workspaces .switch-row{display:flex;align-items:center;justify-content:space-between;line-height:1.4}
#vernis-floating-workspaces .note{font-size:10px;line-height:1.5;color:var(--v-muted);margin:8px 0 12px}
#vernis-floating-workspaces :is(.form-grid,.direct-grid,.setup-item-numbers){grid-template-columns:repeat(auto-fit,minmax(min(100%,110px),1fr));gap:8px}
#vernis-floating-workspaces .segments{display:flex;flex-wrap:wrap;gap:5px;padding:0;border:0;background:none}
#vernis-floating-workspaces .segments button{padding:7px 9px;border-radius:10px;background:var(--v-soft);font-size:11px;border:0}
#vernis-floating-workspaces .segments button:is(.active,[aria-pressed=true]){background:var(--v-selected);color:var(--v-accent)}
#vernis-floating-workspaces .btn{min-height:32px;border-radius:999px;padding:8px 12px;border:0;font-size:11px;line-height:1.35;white-space:normal;transform:none!important}
#vernis-floating-workspaces .btn.primary{background:#53677d;color:#fff}
#vernis-floating-workspaces .modern-native-actions{margin:16px 0;display:block}
#vernis-floating-workspaces .modern-native-actions[open]{display:flex;flex-wrap:wrap;gap:6px}
#vernis-floating-workspaces .modern-native-actions>summary{width:100%;font-weight:500;padding:4px;cursor:pointer}
#vernis-floating-workspaces .material-library{padding:0;min-width:0}
#vernis-floating-workspaces .material-library>.section-label{display:none}
#vernis-floating-workspaces .material-library-grid{max-height:none!important;overflow:visible;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px;padding:8px 0 16px}
#vernis-floating-workspaces .material-library-choice{border:0!important;outline:0!important;padding:0!important;display:flex;flex-direction:column;gap:6px;border-radius:10px;overflow:hidden;background:transparent!important}
#vernis-floating-workspaces .material-library-choice img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
#vernis-floating-workspaces .material-library-choice span{font-size:10px;line-height:1.4}
#vernis-floating-workspaces .cam-tools{position:relative;right:auto!important;top:auto!important;align-items:stretch;width:100%}
#vernis-floating-workspaces .cam-panel{position:static;width:100%;max-height:none;overflow:visible;background:none;border:0;padding:0;box-shadow:none;backdrop-filter:none}
#vernis-floating-workspaces .cam-gizmo{align-self:center;margin:0 auto 12px;width:84px;height:84px}
#vernis-floating-workspaces .cam-num{grid-template-columns:1fr 25px 65px 25px;margin-top:8px}
#vernis-floating-workspaces .modern-focal-group{padding:12px 0}
#vernis-floating-workspaces #setup-dialog[open]{display:contents!important;position:static!important;max-width:none;max-height:none;border:0;background:none;padding:0}
#vernis-floating-workspaces[data-modern-mode=elements] #setup-dialog[open]{visibility:hidden}
#vernis-floating-workspaces .setup-shell,#vernis-floating-workspaces .setup-main{display:contents!important}
#vernis-floating-workspaces .setup-toolbar{display:none!important}
#vernis-floating-workspaces #setup-dialog .setup-stage{position:absolute!important;inset:0;width:100%;height:100%;padding:0;min-height:0;overflow:hidden;border:0;background:none;z-index:0}
#vernis-floating-workspaces .setup-hint,#vernis-floating-workspaces .setup-tools,#vernis-floating-workspaces .setup-view{display:none!important}
#vernis-floating-workspaces .setup-stage>.cam-tools{position:absolute;top:96px!important;right:380px!important;width:84px;z-index:5}
#vernis-floating-workspaces .setup-stage>.cam-tools .cam-panel{position:absolute;right:100%!important;width:270px;background:var(--v-surface);padding:12px;border-radius:14px}
#vernis-floating-workspaces .setup-sidebar,#vernis-floating-workspaces .setup-inspector{background:var(--v-surface);color:var(--v-ink);border:0;padding:0;overflow:hidden}
#vernis-floating-workspaces .setup-item{border:0;background:none;padding:6px;gap:5px;border-radius:10px}
#vernis-floating-workspaces .setup-item.is-selected{background:var(--v-selected)}
#vernis-floating-workspaces .modern-render-actions{display:grid;gap:10px;padding:6px 0 18px;border-bottom:1px solid var(--v-line)}
#vernis-floating-workspaces .modern-render-source{display:grid;gap:6px;min-width:0;margin:0}
#vernis-floating-workspaces .modern-render-source .vernis-select,
#vernis-floating-workspaces .modern-render-source .vernis-select-trigger{width:100%;min-width:0}
#vernis-floating-workspaces .modern-render-actions .sim-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:36px;background:var(--v-soft);border-radius:999px}
#vernis-floating-workspaces .modern-export{margin:0}
#vernis-floating-workspaces .modern-export [data-modern-capture-host]{padding-top:9px}
#vernis-floating-workspaces .modern-capture-inline{position:static!important;inset:auto!important;width:100%!important;max-height:none!important;display:block!important;background:transparent;border:0;padding:0;box-shadow:none;overflow:visible}
#vernis-floating-workspaces .modern-capture-inline>.scene-popover-title,#vernis-floating-workspaces #setup-capture-popover #setup-photo{display:none}
#vernis-floating-workspaces :is(#dialog,#public-dialog,dialog.modern-page-dialog,dialog.modern-name-dialog){border:0;background:var(--v-surface);color:var(--v-ink);border-radius:18px;box-shadow:0 16px 80px #0003;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);padding:0}
#vernis-floating-workspaces #dialog.import-modal:not(.guide-panel-open){
  width:min(1120px,calc(100vw - clamp(48px,11vw,112px)));
  height:min(720px,calc(100dvh - clamp(56px,12vh,96px)));
  max-height:calc(100dvh - clamp(56px,12vh,96px))
}
#vernis-floating-workspaces #dialog.import-modal[data-step=type]:not(.guide-panel-open){height:auto}
#vernis-floating-workspaces #dialog.import-modal:not(.guide-panel-open) #dialog-content{max-height:inherit}
#vernis-floating-workspaces #dialog.import-modal[data-step=type] .modal-body{max-height:none}
#vernis-floating-workspaces #dialog.import-modal .modal-foot{flex:none}
#vernis-floating-workspaces #dialog.import-modal .modal-head h2[tabindex="-1"]:focus{outline:none}
#vernis-floating-workspaces dialog::backdrop{background:#10182035;backdrop-filter:blur(2px)}
#vernis-floating-workspaces .modal{background:var(--v-surface);color:var(--v-ink);max-height:calc(100dvh - 64px);border:0;border-radius:18px;overflow:hidden}
#vernis-floating-workspaces .modal-body{padding:20px 24px 24px;overflow:auto;scroll-padding:16px}
#vernis-floating-workspaces :is(.modal-head,.modal-footer){padding:18px 24px;background:var(--v-surface);border-color:var(--v-line)}
html[data-ui=modern] .modern-page-dialog{width:min(1120px,calc(100vw - 48px));height:min(800px,calc(100dvh - 48px))}
html[data-ui=modern] .modern-page-dialog[open]{display:flex;flex-direction:column}
html[data-ui=modern] .modern-page-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-bottom:1px solid var(--v-line)}
html[data-ui=modern] .modern-page-dialog h2{margin:0;font-size:15px}
html[data-ui=modern] .modern-page-dialog iframe{width:100%;flex:1;min-height:0;border:0;background:var(--v-surface)}
#vernis-floating-workspaces .modern-name-dialog form{padding:24px;display:grid;gap:16px;min-width:320px}
#vernis-floating-workspaces .modern-name-dialog h2{font-size:16px;margin:0}
#vernis-floating-workspaces .modern-name-dialog footer{display:flex;justify-content:flex-end;gap:8px}
#vernis-floating-workspaces .modern-photo-inline{display:contents!important}
#vernis-floating-workspaces .modern-photo-inline>.dress-stage{position:absolute;inset:0;z-index:20;pointer-events:none;background:transparent;display:block;padding:0}
#vernis-floating-workspaces .modern-photo-inline .dress-toolbar{position:absolute;top:80px;left:50%;transform:translateX(-50%);z-index:2;pointer-events:auto;background:var(--v-surface);border:0;border-radius:12px;padding:6px}
#vernis-floating-workspaces .modern-photo-inline .dress-image{position:absolute;inset:0;margin:0;padding:0}
#vernis-floating-workspaces .modern-photo-inline .dress-shot{height:100%;width:100%;max-width:none;aspect-ratio:auto;pointer-events:auto}
#vernis-floating-workspaces .modern-photo-inline .dress-shot>img{width:100%;height:100%;object-fit:contain}
#vernis-floating-workspaces .modern-photo-inline figcaption{display:none}
#vernis-floating-workspaces .modern-photo-inline>.dress-side{position:absolute;left:var(--modern-properties-x);top:calc(var(--modern-properties-y) + 37px);width:var(--modern-properties-w);height:calc(var(--modern-properties-h) - 37px);z-index:72;pointer-events:auto;background:var(--v-surface);color:var(--v-ink);border:0;border-radius:0 0 16px 16px;padding:12px;overflow:auto}
#vernis-floating-workspaces .dress-photo-presets{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;gap:10px;overflow:visible}
#vernis-floating-workspaces .dress-photo-presets button{min-width:0;white-space:normal}
#vernis-floating-workspaces .studio-layout-menu{z-index:95}
html[data-ui=modern] .modern-preferences{width:350px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);border:0;border-radius:16px;background:light-dark(#fff,#252830);color:light-dark(#171e2b,#eef1f7);padding:18px;box-shadow:0 8px 30px #0002}
html[data-modern-embed=true]{color-scheme:light dark;background:light-dark(#fff,#252830)}
html[data-modern-embed=true] body{font:13px/1.5 Onest,sans-serif;margin:0 auto;padding:24px;max-width:1200px;background:light-dark(#fff,#252830);color:light-dark(#171e2b,#eef1f7)}
html[data-modern-embed=true] :is(button,input,select,textarea){font:inherit;border-radius:12px;border:1px solid #8994a42b;padding:9px 12px;background:light-dark(#f3f4f6,#30343d);color:inherit}
html[data-modern-embed=true] h1{font:600 24px Onest,sans-serif;margin:0 0 12px}
@media(max-width:1000px){#vernis-floating-workspaces .v-modes{top:72px}#vernis-floating-workspaces :is(.modern-dispositions,.modern-history)[data-floating-toolbar]{display:none!important}}
@media(prefers-reduced-motion:reduce){#vernis-floating-workspaces *{scroll-behavior:auto}}
@media(forced-colors:active){#vernis-floating-workspaces .v-panel,#vernis-floating-workspaces .v-island{border:1px solid CanvasText}}
/* Native graphical choices use their full artwork, outside the optical icon scale. */
#vernis-floating-workspaces svg.studio-swatch{width:100%;height:auto;aspect-ratio:160/112}
#vernis-floating-workspaces .studio-visual-choice{display:flex;flex-direction:column;padding:5px;border:0;border-radius:10px;min-width:0;gap:6px;background:var(--v-soft)}
#vernis-floating-workspaces .studio-visual-choice>span{font-size:10px;white-space:normal}
#vernis-floating-workspaces .studio-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 14px}
#vernis-floating-workspaces .studio-photo-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
#vernis-floating-workspaces .v-head{order:-10}
#vernis-floating-workspaces .modern-dispositions{overflow:hidden}
#vernis-floating-workspaces .thumb-item .thumb{flex-direction:row;align-items:center;justify-content:flex-start;min-height:50px;height:50px}
#vernis-floating-workspaces .thumb-item{grid-template-columns:minmax(0,1fr) 22px 22px;gap:2px;min-height:56px}
#vernis-floating-workspaces #film button[data-modern-remove]{grid-column:3;grid-row:1;display:grid;place-items:center;padding:2px;width:22px;height:26px}
#vernis-floating-workspaces .thumb-item .piece-size-edit{display:none}
#vernis-floating-workspaces #film .thumb-item .piece-visibility{grid-column:2;width:22px;position:static;inset:auto}
#vernis-floating-workspaces #film .piece-visibility input,#vernis-floating-workspaces #element-list .element-visibility input{width:22px!important;height:26px!important;border:0!important;background:transparent!important;box-shadow:none!important;opacity:0!important;position:absolute;inset:0;margin:0;cursor:pointer;z-index:1}
#vernis-floating-workspaces :is(.element-visibility,.piece-visibility){position:relative;display:grid;place-items:center;width:22px;height:26px}
#vernis-floating-workspaces :is(.element-visibility,.piece-visibility)::before{content:'';width:19px;height:19px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}
#vernis-floating-workspaces :is(.element-visibility,.piece-visibility):has(input:not(:checked)){opacity:.4}
#vernis-floating-workspaces .modern-collection-wrap{padding-left:8px;padding-right:0;margin-left:3px}
#vernis-floating-workspaces .modern-language{border-radius:12px;overflow:visible}
#vernis-floating-workspaces .modern-language .language-switch>button{border-radius:12px;background:transparent}
#vernis-floating-workspaces .cmdk-flash{animation:none!important;outline:0!important}
#vernis-floating-workspaces .modern-confirm-dialog{width:min(420px,calc(100vw - 48px));padding:24px}
#vernis-floating-workspaces .modern-confirm-dialog p{white-space:normal;line-height:1.6}
#vernis-floating-workspaces .modern-confirm-dialog footer{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}
#vernis-floating-workspaces .modern-confirm-dialog button{background:var(--v-soft);padding:10px 20px;border-radius:999px}
#vernis-floating-workspaces .modern-confirm-dialog button[value=confirm]{background:#c62d36;color:#fff}
#vernis-floating-workspaces .v-panel>.v-content{max-height:none}
#vernis-floating-workspaces .setup-panel-resizer{display:none!important}
#vernis-floating-workspaces .dress-photo-family>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
#vernis-floating-workspaces .modern-photo-inline .dress-stage{border:0;border-radius:0;box-shadow:none;outline:0}
#vernis-floating-workspaces .modern-photo-inline .dress-shot{border:0;border-radius:0;box-shadow:none;outline:0}
#vernis-floating-workspaces .modern-photo-inline .dress-side{gap:12px}
#vernis-floating-workspaces .thumb-item .piece-size-edit{display:grid;grid-row:2;grid-column:1/-1;place-items:center;justify-self:end;width:24px;height:20px;padding:1px}
#vernis-floating-workspaces .thumb-item .piece-size-edit::after{content:'Dimensions';font-size:9px;position:absolute;right:28px;color:var(--v-muted)}
#vernis-floating-workspaces .thumb-item{position:relative}
#vernis-floating-workspaces .v-panel>.preset-scope{flex:0 0 auto;margin:0 12px 8px;position:relative}
#vernis-floating-workspaces .v-panel>.preset-scope>details{padding:8px 0}
#vernis-floating-workspaces .v-panel[data-collapsed=true]>.preset-scope{display:none}
#vernis-floating-workspaces .v-panel>.v-head{flex-shrink:0;order:-10}
#vernis-floating-workspaces .v-panel>.v-content{flex-shrink:1}
#vernis-floating-workspaces .cmdk{background:var(--v-surface);color:var(--v-ink);border-radius:16px;border:0}
#paperclip-support-companion{--pcs-bg:light-dark(#fff,#252830);--pcs-fg:light-dark(#171e2b,#eef1f7);--pcs-muted:light-dark(#6b707b,#a4acba);--pcs-soft:light-dark(#f2f3f6,#30343d);--pcs-accent:light-dark(#53677d,#9eb9e1);font-family:Onest,sans-serif}
#paperclip-support-companion .pcs-panel{left:80px;right:auto;bottom:24px;width:min(560px,calc(100vw - 104px));max-height:calc(100dvh - 48px);border-radius:16px}
#paperclip-support-companion .pcs-launcher{display:none}
#vernis-floating-workspaces .modern-help-popup{position:fixed;z-index:130;width:300px;padding:12px;border-radius:16px;box-shadow:0 6px 26px #0002}
#vernis-floating-workspaces .modern-help-popup header{display:flex;align-items:center;justify-content:space-between;padding:4px 8px 12px;font-weight:600}
#vernis-floating-workspaces .modern-help-popup>button{display:block;width:100%;text-align:left;padding:12px}
#vernis-floating-workspaces .modern-preferences [type=checkbox]{width:34px;height:20px}
#vernis-floating-workspaces #film-section{height:auto!important;max-height:none!important;flex:0 0 auto}
#vernis-floating-workspaces #film{max-height:240px;flex:0 0 auto}
#vernis-floating-workspaces #film .thumb-size{position:absolute;left:52px;right:53px;bottom:6px;grid-column:1/-1;width:auto;height:auto;padding:1px 0;text-align:left}
#vernis-floating-workspaces #film .thumb-size::before{content:none}
#vernis-floating-workspaces #film .thumb-item:has(.thumb-size){grid-template-rows:25px 25px}
#vernis-floating-workspaces [data-modern-pinned] .cam-lenses,#vernis-floating-workspaces [data-modern-pinned] .cam-num:has([data-cam-input=focal]),#vernis-floating-workspaces [data-modern-pinned] .cam-head{display:none}
#vernis-floating-workspaces [data-modern-pinned] .cam-panel>h4:has([data-cam-fov]){font-size:10px;margin:4px 0 10px;justify-content:center;color:var(--v-muted)}
#vernis-floating-workspaces .cam-pad{font-size:11px;white-space:normal}
#vernis-floating-workspaces .modern-ask-dialog{border:0;border-radius:18px;background:var(--v-surface);color:var(--v-ink);width:min(440px,calc(100vw - 48px));padding:24px;box-shadow:0 16px 60px #0002}
#vernis-floating-workspaces .modern-ask-dialog form{display:grid;gap:20px}
#vernis-floating-workspaces .modern-ask-dialog h2{font-size:16px;margin:0;line-height:1.5}
#vernis-floating-workspaces .modern-ask-dialog p{white-space:normal;line-height:1.6;margin:0;font-size:12px}
#vernis-floating-workspaces .modern-ask-dialog label{display:grid;gap:8px;font-size:11px}
#vernis-floating-workspaces .modern-ask-dialog footer{display:flex;gap:10px;justify-content:flex-end}
#vernis-floating-workspaces .modern-ask-dialog .sim-button{padding:10px 18px}
#vernis-floating-workspaces [data-modern-panel=materials] [data-setup-material-library]{padding:0;border:0}
#vernis-floating-workspaces [data-modern-panel=materials] [data-setup-material-library]>summary{display:none}
#vernis-floating-workspaces [data-sculpted-action].primary{--icon-primary:currentColor;--icon-secondary:currentColor}
/* AI dressing keeps its real transport, consent, queue and result controls. */
#vernis-floating-workspaces .dress-panel{display:contents!important}
#vernis-floating-workspaces .dress-panel>.dress-stage{position:absolute;inset:0;z-index:20;pointer-events:none;background:transparent;display:block;padding:0;border:0;border-radius:0}
#vernis-floating-workspaces .dress-panel .dress-toolbar{position:absolute;top:80px;left:50%;transform:translateX(-50%);z-index:2;pointer-events:auto;background:var(--v-surface);border:0;border-radius:12px;padding:6px;width:auto;min-height:40px}
#vernis-floating-workspaces .dress-panel>.dress-side>.dress-toolbar{position:static;transform:none;flex:none;display:grid;justify-items:start;gap:8px;min-width:0;padding:0;background:none}
#vernis-floating-workspaces .dress-side>.dress-toolbar>[data-theme-control]{justify-self:end;margin:0}
#vernis-floating-workspaces .dress-side>.dress-toolbar>.dress-spacer{display:none}
#vernis-floating-workspaces .dress-side>.dress-toolbar>button,
#vernis-floating-workspaces .dress-side>.dress-toolbar [data-dress-view]{max-width:100%;height:auto;min-height:32px;white-space:normal;text-align:start}
#vernis-floating-workspaces .dress-side>.studio-photo-navigation{flex:none;margin:0}
#vernis-floating-workspaces .dress-panel .dress-image{position:absolute;inset:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;display:block}
#vernis-floating-workspaces .dress-panel .dress-shot{height:100%;width:100%;max-width:none;max-height:none;aspect-ratio:auto;pointer-events:auto;border:0;border-radius:0;background:transparent}
#vernis-floating-workspaces .dress-panel .dress-shot>img{width:100%;height:100%;object-fit:contain;max-height:none;border:0;border-radius:0}
#vernis-floating-workspaces .dress-panel:not(.modern-photo-inline) .dress-shot.is-zoomed>img{width:auto;height:auto;max-width:none}
#vernis-floating-workspaces .dress-panel>.dress-side{position:absolute;left:var(--modern-properties-x);top:calc(var(--modern-properties-y) + 37px);width:var(--modern-properties-w);height:calc(var(--modern-properties-h) - 37px);z-index:72;pointer-events:auto;background:var(--v-surface);color:var(--v-ink);border:0;border-radius:0 0 16px 16px;padding:12px;overflow:auto;gap:12px}
#vernis-floating-workspaces .dress-panel figcaption{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 700px);padding:6px 12px;background:var(--v-surface);border-radius:999px;color:var(--v-muted);font-size:10px}
#vernis-floating-workspaces .modern-photo-inline figcaption{display:none}
#vernis-floating-workspaces .dress-side .dress-finish{display:flex;flex-wrap:wrap;gap:8px}
#vernis-floating-workspaces .dress-ambiance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#vernis-floating-workspaces .dress-panel .dress-head h3{font-size:14px}
#vernis-floating-workspaces .dress-panel .dress-side .dress-note{font-size:10px;line-height:1.5}
html[data-ui=modern] .modern-page-dialog[data-modern-page=publications]{width:min(800px,calc(100vw - 48px));height:min(640px,calc(100dvh - 48px))}
html[data-modern-embed=true][data-modern-page=publications] body{max-width:720px;text-align:center}
html[data-modern-embed=true][data-modern-page=publications] .studio-account-nav{justify-content:center}
html[data-modern-embed=true][data-modern-page=publications] .publication-actions{justify-content:center}
#vernis-floating-workspaces:has([data-modern-context=render][data-panel=properties][data-collapsed=true]) .dress-panel>.dress-side{display:none}
#vernis-floating-workspaces .modern-support-host{position:fixed;z-index:130;width:min(560px,calc(100vw - 48px));border-radius:16px;overflow:hidden;--support-bottom:24px}
#vernis-floating-workspaces .modern-support-host:empty,#vernis-floating-workspaces .modern-support-host:has(>.pc-support[hidden]){display:none}
#vernis-floating-workspaces .modern-support-host>.pc-support{--pcs-bg:var(--v-surface);--pcs-fg:var(--v-ink);--pcs-muted:var(--v-muted);--pcs-soft:var(--v-soft);--pcs-line:var(--v-line);--pcs-accent:var(--v-accent);--pcs-selected:var(--v-selected);--pcs-selected-fg:var(--v-accent);font:12px/1.5 Onest,sans-serif;border-radius:16px;max-height:calc(100dvh - var(--support-bottom) - 16px);overflow:auto}
#vernis-floating-workspaces .modern-support-host .pcs-frame{padding:18px;min-height:0;gap:14px}
html[data-ui=modern] .modern-boot{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:#efeee9;color:#53677d;font:13px Onest,sans-serif}

/* Native preset observers also create a direct-child scope after reparenting.
   Its original live scope remains in the scrolling content. */
#vernis-floating-workspaces .setup-inspector[data-panel]>.preset-scope-bar{display:none}
#vernis-floating-workspaces [data-panel=materials] .v-content>[data-setup-material-library]>summary{display:none}

/* Presentation contract from the approved mockup: category chrome is fixed,
   native settings stay inside their category; only actions become glass. */
#vernis-floating-workspaces .v-panel>.inspector-tabs{flex:0 0 auto;position:relative;top:auto;margin:0;padding:4px 12px 12px;background:var(--v-surface);z-index:3}
#vernis-floating-workspaces .v-panel[data-collapsed=true]>.inspector-tabs{display:none}
#vernis-floating-workspaces #inspector .inspector-tabs button[aria-selected=true],
#vernis-floating-workspaces #setup-dialog .inspector-tabs button[aria-selected=true]{background:var(--v-selected)!important;color:var(--v-accent)!important}
#vernis-floating-workspaces .modern-title-art{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px}
#vernis-floating-workspaces .modern-title-art .obj,#vernis-floating-workspaces .modern-title-art svg{display:block;width:26px;height:26px}
#vernis-floating-workspaces .modern-object-total{font-weight:500;font-size:11px;color:var(--v-muted);margin-left:2px}
#vernis-floating-workspaces .element-select{min-height:44px;padding:7px 5px;gap:8px}
#vernis-floating-workspaces .element-select .etext{flex:1;min-width:0}
#vernis-floating-workspaces .element-select .etext small{display:none}
#vernis-floating-workspaces .modern-element-count{margin-left:auto;font-size:11px;color:var(--v-muted);font-variant-numeric:tabular-nums}
#vernis-floating-workspaces .modern-collection-wrap{padding:8px 4px 10px 9px;margin:0 0 8px 7px;border-left:1px solid var(--v-line)}
#vernis-floating-workspaces .modern-collection-wrap>summary{display:flex;align-items:center;gap:7px;padding:7px 2px 11px;list-style:none;font-size:11px;font-weight:550}
#vernis-floating-workspaces .modern-collection-wrap>summary::-webkit-details-marker{display:none}
#vernis-floating-workspaces .modern-collection-wrap>summary output{margin-left:auto;font-size:10px}
#vernis-floating-workspaces .modern-collection-wrap:not([open])>summary svg{transform:rotate(-90deg)}
#vernis-floating-workspaces .modern-collection-tools{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}
#vernis-floating-workspaces .modern-collection-tools button{display:flex;align-items:center;gap:7px;padding:5px 3px;font-size:10px;color:var(--v-muted);border:0;background:none;border-radius:7px}
#vernis-floating-workspaces .modern-collection-tools .modern-icon-action{width:28px;height:28px;justify-content:center}
#vernis-floating-workspaces .modern-collection-tools svg{width:16px;height:16px}
#vernis-floating-workspaces .modern-collection-options{padding:3px 0 12px}
#vernis-floating-workspaces .modern-collection-options select{width:100%;max-width:none}
#vernis-floating-workspaces .modern-collection .film-header{display:none!important}
#vernis-floating-workspaces #film{max-height:320px;padding:2px 0 4px;gap:4px}
#vernis-floating-workspaces .thumb-item{position:relative;grid-template-columns:minmax(0,1fr) 25px 25px;gap:1px;min-height:57px;padding:3px;border:0;border-radius:9px}
#vernis-floating-workspaces .thumb-item:has(.thumb[aria-pressed=true]){background:var(--v-selected)}
#vernis-floating-workspaces .thumb-item .thumb{grid-column:1;grid-row:1/3;min-height:50px;gap:7px;padding:0;background:none!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:7px}
#vernis-floating-workspaces .thumb-item .thumb small{font-size:11px;align-self:start;padding-top:4px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;min-width:0}
#vernis-floating-workspaces .thumb-item:has(.thumb-size) .thumb small{padding-bottom:17px}
#vernis-floating-workspaces .thumb-item .thumb img{width:42px;height:42px;border-radius:7px;flex:none}
#vernis-floating-workspaces .thumb-item .piece-visibility{grid-column:2;grid-row:1/3;align-self:center}
#vernis-floating-workspaces .thumb-item [data-modern-remove]{grid-column:3;grid-row:1/3;align-self:center;width:25px;height:28px;padding:4px;border-radius:7px;background:none;color:var(--v-muted)}
#vernis-floating-workspaces .thumb-item .thumb-size{position:absolute;left:52px;bottom:6px;margin:0;padding:1px 0;max-width:calc(100% - 104px);width:auto;height:auto;min-height:0;font-size:9px;font-weight:400;line-height:1.5;color:var(--v-muted);background:none;border:0;border-radius:3px;white-space:normal;text-align:left}
#vernis-floating-workspaces .thumb-item .thumb-size svg{display:none}
#vernis-floating-workspaces .modern-collection-footer{padding:10px 3px 3px;color:var(--v-muted);font-size:10px}
#vernis-floating-workspaces .inspector-panel:not([hidden]){display:flex;flex-direction:column;min-width:0}
#vernis-floating-workspaces .inspector-panel>.preset-scope-bar{order:99;margin-top:14px;padding:12px 0;border-top:1px solid var(--v-line);border-bottom:0}
#vernis-floating-workspaces .v-content>.preset-scope-bar{order:99}
#vernis-floating-workspaces .v-content:has(>.preset-scope-bar){display:flex;flex-direction:column;align-items:stretch}
#vernis-floating-workspaces .preset-scope-bar>summary{padding:5px 0;min-height:28px}
#vernis-floating-workspaces :is(.studio-visual-choice,.material-library-choice,.preset-library-card){border-radius:10px;overflow:hidden}
#vernis-floating-workspaces .studio-visual-choice{background:none;border:0;box-shadow:none}
#vernis-floating-workspaces .studio-visual-choice img{border-radius:9px}
#vernis-floating-workspaces .modern-paper-presets .render-presets{border:0;padding:0;background:none}
#vernis-floating-workspaces [data-panel=properties] .modern-camera-host{margin-top:20px}
#vernis-floating-workspaces .modern-camera-host .cam-head{display:none}

#vernis-floating-workspaces #add-element{border-radius:999px!important}
#vernis-floating-workspaces .thumb-item .thumb-size{grid-column:1/-1!important;right:53px;max-width:none;white-space:nowrap;font-size:10px}
#vernis-floating-workspaces .thumb-item .thumb-size::before{content:none!important}
#vernis-floating-workspaces .thumb-item .piece-visibility{position:static!important;inset:auto;transform:none;display:grid;place-items:center;width:25px;height:28px;margin:0}
#vernis-floating-workspaces .thumb-item .thumb img{border:0!important;outline:0!important;box-shadow:none!important}
#vernis-floating-workspaces [data-modern-panel=properties]>.v-content{display:flex;flex-direction:column}
#vernis-floating-workspaces [data-modern-panel=properties]>.v-content>.modern-native-actions{order:100}
#vernis-floating-workspaces .modern-native-actions{font-size:11px;border-top:1px solid var(--v-line);padding-top:12px;margin-top:16px}
#vernis-floating-workspaces .modern-native-actions>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:6px 0}
#vernis-floating-workspaces .modern-native-actions>summary::after{content:'⌄';color:var(--v-muted)}
#vernis-floating-workspaces .modern-native-actions[open]>summary::after{content:'⌃'}
#vernis-floating-workspaces #material-presets-panel{order:98}
#vernis-floating-workspaces .inspector-tabs .setup-tab-art,#vernis-floating-workspaces .inspector-tabs .setup-tab-art svg{display:block;width:28px;height:28px;padding:0}
#vernis-floating-workspaces #camera-settings{display:contents}
#vernis-floating-workspaces .studio-panel-body:has(>#camera-settings){display:flex;flex-direction:column}
#vernis-floating-workspaces #camera-settings>.modern-view-preset{order:0}
#vernis-floating-workspaces #camera-settings>.field,#vernis-floating-workspaces #camera-settings>.switch-row{order:1}
#vernis-floating-workspaces #camera-settings>.camera-custom{order:2}
#vernis-floating-workspaces #camera-settings>[data-panel-key=element-pan]{order:3}
#vernis-floating-workspaces #camera-settings>.section-label{display:none}
#vernis-floating-workspaces #camera-settings>p{order:4;font-size:10px;line-height:1.5;color:var(--v-muted)}
#vernis-floating-workspaces .finish-presets{display:flex;gap:4px;margin:8px 0}
#vernis-floating-workspaces .finish-presets button{flex:1;padding:8px;background:var(--v-soft);border-radius:10px;font-size:11px}
#vernis-floating-workspaces .finish-presets button.active{background:var(--v-selected);color:var(--v-accent)}

#vernis-floating-workspaces [data-modern-toolbar-collapse]{flex:none;width:18px;height:22px;padding:3px;display:grid;place-items:center;color:var(--v-muted)}
#vernis-floating-workspaces [data-modern-toolbar-collapse] svg{width:12px;height:12px}
#vernis-floating-workspaces [data-floating-toolbar][data-toolbar-collapsed=true]:not([hidden]){width:44px!important;height:44px!important;min-width:44px;display:grid;place-items:center;padding:0;overflow:hidden!important}
#vernis-floating-workspaces [data-floating-toolbar][data-toolbar-collapsed=true]>:not([data-modern-toolbar-collapse]){display:none!important}
#vernis-floating-workspaces [data-floating-toolbar][data-toolbar-collapsed=true]>[data-modern-toolbar-collapse]{display:grid;width:100%;height:100%;margin:0}

#vernis-floating-workspaces .modern-history{min-width:116px}
#vernis-floating-workspaces .modern-history button:not(.chrome-grip):not([data-modern-toolbar-collapse]){min-width:28px;width:28px;height:28px;padding:4px}

#vernis-floating-workspaces #setup-element-list .setup-element{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) 18px 25px 22px;align-items:center;gap:6px;padding:7px 5px;min-height:48px;border:0;background:none;border-radius:10px}
#vernis-floating-workspaces #setup-element-list .setup-element.selected{background:var(--v-selected)}
#vernis-floating-workspaces #setup-element-list .setup-element>label{display:contents}
#vernis-floating-workspaces #setup-element-list .setup-element>label>span{grid-column:2;min-width:0}
#vernis-floating-workspaces #setup-element-list .setup-element strong{display:block;font-size:12px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#vernis-floating-workspaces #setup-element-list .setup-element small{display:none}
#vernis-floating-workspaces #setup-element-list input[data-setup-element]{position:absolute!important;right:33px;top:50%;transform:translateY(-50%);width:25px!important;height:28px!important;opacity:0!important;z-index:2;cursor:pointer}
#vernis-floating-workspaces #setup-element-list .setup-added{grid-column:3;grid-row:1;font-size:11px;color:var(--v-muted);padding:0;background:none}
#vernis-floating-workspaces .modern-composition-art{grid-column:1;grid-row:1;width:30px;height:30px}
#vernis-floating-workspaces .modern-composition-art :is(.obj,svg){display:block;width:30px;height:30px}
#vernis-floating-workspaces .modern-composition-eye{grid-column:4;grid-row:1;display:grid;place-items:center;pointer-events:none}
#vernis-floating-workspaces .setup-element:has(input:not(:checked)) .modern-composition-eye{opacity:.4}
#vernis-floating-workspaces #setup-element-list .setup-add-instance{grid-column:5;grid-row:1;width:22px;height:28px;padding:3px;background:none;border:0}
#vernis-floating-workspaces #setup-element-list .setup-instances{grid-column:2/-1;display:flex;gap:4px}
#vernis-floating-workspaces [data-modern-context=composition][data-panel=objects] .setup-section-title:first-child{display:none}
#vernis-floating-workspaces .modern-object-add>button{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:10px}
#vernis-floating-workspaces .modern-object-add{flex:none;padding:8px 12px 12px}
#vernis-floating-workspaces [data-setup-tab]>.fluent-icon{display:none}
#vernis-floating-workspaces .modern-category-art,#vernis-floating-workspaces .modern-category-art svg{display:block;width:28px;height:28px;margin:0 auto 3px}

/* Native controls share the final mockup's subdivision and spacing. */
#vernis-floating-workspaces .v-project .brand-logo,#vernis-floating-workspaces .v-project .brand-logo img{width:70px;height:21px;flex-basis:70px}
#vernis-floating-workspaces .inspector-tabs button{padding:8px 3px;font:10px/1.45 Onest,sans-serif}
#vernis-floating-workspaces :is(.studio-panel-group,.studio-panel-details){margin:0;padding:4px 0 12px;border:0;border-radius:0;background:transparent}
#vernis-floating-workspaces .studio-panel-group>h3{font:600 13px/1.5 Onest,sans-serif;font-size:13px!important;margin:0!important;padding:0}
#vernis-floating-workspaces .studio-panel-body{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding-top:14px;min-width:0}
#vernis-floating-workspaces .studio-panel-body>.field,#vernis-floating-workspaces .studio-panel-body>.switch-row{margin:0;gap:6px;line-height:1.5}
#vernis-floating-workspaces .studio-panel-body>.field{display:flex;flex-direction:column}
#vernis-floating-workspaces .field-top{margin:0;align-items:baseline;line-height:1.5}
#vernis-floating-workspaces .studio-panel-body>.field>label{margin:0}
#vernis-floating-workspaces .studio-panel-details{border-top:1px solid var(--v-line);padding-top:10px}
#vernis-floating-workspaces .studio-panel-details:not([open]){padding:10px 0 12px}
#vernis-floating-workspaces .studio-panel-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font:550 12px/1.5 Onest,sans-serif;min-height:36px;margin:0 -6px;padding:0 6px;list-style:none;border-radius:8px;cursor:pointer}
#vernis-floating-workspaces .studio-panel-details>summary::-webkit-details-marker{display:none}
#vernis-floating-workspaces .studio-panel-details>summary::after{content:'';width:6px;height:6px;margin:0 5px 3px;border-right:1.5px solid var(--v-muted);border-bottom:1.5px solid var(--v-muted);transform:rotate(45deg)}
#vernis-floating-workspaces .studio-panel-details[open]>summary::after{transform:rotate(225deg);margin-bottom:-3px}
#vernis-floating-workspaces .inspector-panel:not([hidden]){gap:20px}
#vernis-floating-workspaces .material-library-choice{border:1px solid transparent!important;padding:3px 3px 8px!important;border-radius:11px;background:transparent!important}
#vernis-floating-workspaces .material-library-choice[aria-pressed=true]{background:var(--v-selected)!important;border-color:var(--v-accent)!important}
#vernis-floating-workspaces .material-library-choice img{object-fit:contain;border-radius:8px}
#vernis-floating-workspaces #camera-settings.modern-camera-sections{display:flex;flex-direction:column;gap:20px;margin:0;padding:0;border:0}
#vernis-floating-workspaces #camera-settings.modern-camera-sections>*{order:0}
#vernis-floating-workspaces .modern-camera-notes{display:none}
#vernis-floating-workspaces .modern-camera-sections .modern-camera-host{margin:0}
#vernis-floating-workspaces .modern-focal-group .focal-knob{flex:none}
#vernis-floating-workspaces .inspector-tabs button{font:11px/1.45 Onest,sans-serif;padding:6px 3px;min-height:0;height:auto;color:var(--v-muted);line-height:1.45}
#vernis-floating-workspaces .inspector-tabs button .fluent-icon{width:20px;height:20px}
#vernis-floating-workspaces .inspector-tabs button:has(.modern-category-art){min-height:64px}
#vernis-floating-workspaces .inspector-tabs button>span:not(.modern-category-art){line-height:1.45}
#vernis-floating-workspaces #recenter-scene.sim-button{text-decoration:none;width:100%;min-height:32px;padding:8px 10px;border-radius:999px;font-size:11px}
#vernis-floating-workspaces :is(.element-visibility,.piece-visibility){background:transparent;border:0;box-shadow:none}
#vernis-floating-workspaces .element-item.active>.element-visibility{background:var(--v-selected);border-radius:7px}
#vernis-floating-workspaces .modern-dimension-fields{display:flex;flex-direction:column;gap:16px}
#vernis-floating-workspaces .modern-dimension-fields>.field{display:flex;flex-direction:column;gap:6px;margin:0}
#vernis-floating-workspaces [data-modern-presets=true]>.modern-preset-summary{order:98}
#vernis-floating-workspaces [data-modern-presets=true]:not(:has(>.modern-preset-summary[open]))>.preset-scope-bar{display:none!important}
#vernis-floating-workspaces .v-modes button{font-weight:400}
#vernis-floating-workspaces .sim-publish{padding-inline:17px}
#vernis-floating-workspaces .element-select .kind-art{border-radius:6px;background:var(--v-soft);padding:1px;box-shadow:none}
#vernis-floating-workspaces .thumb-item .thumb small{color:var(--v-ink);font-weight:500}
#vernis-floating-workspaces .thumb-item:has(.thumb[aria-pressed=true]) .thumb small{color:var(--v-accent)}
#vernis-floating-workspaces .modern-toolbar-popup{position:absolute;z-index:130;min-width:164px;background:var(--v-surface);padding:6px;border:1px solid transparent;border-radius:12px}
#vernis-floating-workspaces .modern-toolbar-popup button{display:block;width:100%;padding:10px 12px;text-align:left;font-size:12px}
#vernis-floating-workspaces .modern-toolbar-popup [aria-checked=true]{background:var(--v-selected);color:var(--v-accent)}
#vernis-floating-workspaces .v-tools[data-toolbar-axis=vertical]{width:56px!important}

/* The photo gallery belongs to Rendu; its comparator only overlays the scene
   while the finish is enabled. Native controls and export handlers stay live. */
#vernis-floating-workspaces .modern-photo-inline[data-photo-enabled=false]>.dress-stage{display:none}
#vernis-floating-workspaces .modern-photo-inline .dress-toolbar>[data-dress-photo-cancel],
#vernis-floating-workspaces .modern-photo-inline .studio-photo-navigation,
#vernis-floating-workspaces .modern-photo-inline .dress-photo-actions{display:none}
#vernis-floating-workspaces .modern-photo-inline>.dress-side{margin:8px 8px 12px;width:calc(var(--modern-properties-w) - 16px);height:calc(var(--modern-properties-h) - 57px);padding:4px 8px 6px;border-radius:0;gap:20px;background:transparent}
#vernis-floating-workspaces .modern-photo-enable h3{font:600 13px/1.5 Onest,sans-serif;margin:0 0 14px}
#vernis-floating-workspaces .modern-photo-enable .switch-row{margin:0}
#vernis-floating-workspaces .modern-photo-enable .switch-row{justify-content:flex-start;gap:9px}
#vernis-floating-workspaces .modern-photo-inline .dress-photo{padding:0;margin:0;border:0;background:transparent}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-heading h4{font:600 12px/1.5 Onest,sans-serif}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-count{display:inline;padding:0;margin-left:7px;font-size:11px;font-weight:400;background:none;border:0;color:var(--v-muted)}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-collection{display:flex;flex-direction:column;gap:7px;height:auto;padding:0;margin:14px 0 18px;background:none;border:0}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-collection>span:first-child{position:static;font-size:11px;color:var(--v-ink)}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-collection>.vernis-select{padding:0;margin:0;width:100%;height:auto}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-family>div{gap:12px}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-card{min-width:0}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-preset{padding:3px 3px 8px;border:1px solid transparent;border-radius:11px;background:none}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-preset[aria-pressed=true]{border-color:var(--v-accent);background:var(--v-selected)}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-thumbnail{border:0;border-radius:8px;aspect-ratio:1.42}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-preset-label{padding:7px 2px 0;font-size:10px}
#vernis-floating-workspaces .modern-photo-inline .modern-render-actions{padding:4px 0 20px}
#vernis-floating-workspaces .modern-export .field:has(#setup-image-quality:disabled){display:none}
#vernis-floating-workspaces .modern-photo-inline .dress-shot:not(.is-zoomed){pointer-events:none}
#vernis-floating-workspaces .modern-photo-inline .dress-compare-label{
  top:calc(var(--compare-handle-y,50%) + 28px);bottom:auto;
  background:var(--v-surface);color:var(--v-ink);border-radius:6px
}
#vernis-floating-workspaces .modern-photo-inline .dress-compare-label.is-before{
  left:auto;right:calc(100% - var(--compare-position) + 7px)
}
#vernis-floating-workspaces .modern-photo-inline .dress-compare-label.is-after{
  left:calc(var(--compare-position) + 7px);right:auto
}
#vernis-floating-workspaces .modern-render-extras{display:flex;flex-direction:column;gap:10px}
#vernis-floating-workspaces .modern-render-extras>.modern-render-preview{display:flex;flex-direction:column;gap:6px;margin:4px 0;font-size:12px}
#vernis-floating-workspaces .modern-render-extras:not([open])>*:not(summary){display:none}
#vernis-floating-workspaces .modern-view-framing>.studio-panel-body{padding-top:0}
#vernis-floating-workspaces .modern-collection-wrap>summary{margin:0}
#vernis-floating-workspaces #element-list{gap:2px}
#vernis-floating-workspaces .element-item{margin:0;min-height:40px}
#vernis-floating-workspaces .element-select{min-height:40px;padding:6px 5px}
#vernis-floating-workspaces .element-select .kind-art{width:28px;height:28px;flex-basis:28px;padding:0}
#vernis-floating-workspaces [data-modern-context=composition][data-panel=objects] .v-content>.setup-section-title,
#vernis-floating-workspaces [data-modern-context=composition][data-panel=objects] .v-content>.setup-section-note{display:none}
#vernis-floating-workspaces [data-modern-context=composition][data-panel=objects] .v-content{gap:10px}
#vernis-floating-workspaces [data-modern-context=composition][data-panel=objects] .v-content>.note{display:none}
#vernis-floating-workspaces .setup-object-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}
#vernis-floating-workspaces .setup-object-head h3{font:600 13px/1.5 Onest,sans-serif;margin:0}
#vernis-floating-workspaces .modern-instance-caption{display:block;font-size:10px;font-weight:400;color:var(--v-muted);margin-top:4px}
#vernis-floating-workspaces .setup-object-head .modern-icon-action{padding:5px;width:30px;height:30px}
#vernis-floating-workspaces .material-library{height:auto!important;min-height:max-content!important;max-height:none!important;overflow:visible!important;flex:none!important}
#vernis-floating-workspaces .material-library-grid{height:auto!important;min-height:max-content!important;max-height:none!important;overflow:visible!important;flex:none!important;grid-template-rows:none!important;grid-auto-rows:max-content!important;align-content:start;align-items:start;gap:12px}
#vernis-floating-workspaces .material-library-choice{height:auto!important;min-height:0;display:flex;flex-direction:column;gap:5px;align-items:stretch;justify-content:flex-start;flex-shrink:0}
#vernis-floating-workspaces .material-library-choice img{display:block;flex:none;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
#vernis-floating-workspaces .material-library-choice>span{display:block;line-height:1.4;font-size:10px;text-align:center;white-space:normal;overflow-wrap:anywhere}
#vernis-floating-workspaces .studio-visual-help{background:var(--v-surface);color:var(--v-ink);border:1px solid var(--v-line);border-radius:14px;box-shadow:0 10px 30px #0002}
#vernis-floating-workspaces .studio-visual-help .studio-help-copy{background:transparent;color:var(--v-ink)}
#vernis-floating-workspaces .studio-visual-help :is(p,a){color:var(--v-muted)}
#vernis-floating-workspaces .modern-photo-inline .dress-toolbar>[data-theme-control]{display:none}
#vernis-floating-workspaces .modern-piece-navigation{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#vernis-floating-workspaces .modern-piece-navigation .sim-button{padding:8px;font-size:10px;min-width:0;white-space:normal;border-radius:999px}
#vernis-floating-workspaces .v-panel.setup-sidebar{gap:0;max-height:none}
#vernis-floating-workspaces .modern-object-add{padding:3px 12px 8px}
#vernis-floating-workspaces .modern-object-add>button{height:38px;min-height:38px;padding:8px}
#vernis-floating-workspaces .setup-sidebar>.v-content>.side-label{display:none}
#vernis-floating-workspaces .setup-sidebar>.v-content>.side-label:has(+.setup-decor-list [data-select-blocking]){display:block}
#vernis-floating-workspaces .setup-decor-list:not(:has([data-select-blocking])){display:none}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-thumbnail{outline:0;box-shadow:none}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-thumbnail .dress-ambiance-check{left:7px;right:auto;bottom:7px}
#vernis-floating-workspaces .modern-photo-inline :is(.dress-photo,.studio-photo-view,.dress-photo-presets){flex:none!important;height:auto!important;min-height:max-content!important;max-height:none!important;overflow:visible!important}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-family>div{grid-template-rows:none!important;grid-auto-rows:max-content!important}
#vernis-floating-workspaces .modern-photo-inline .dress-toolbar{display:none}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-tools{display:flex;gap:8px;margin-top:16px}
#vernis-floating-workspaces .modern-remove-finish{padding:9px 12px;border-radius:999px;margin:12px 0}

/* Match the measured silhouettes of the reviewed floating chrome. */
#vernis-floating-workspaces .v-modes{border-radius:24px}
#vernis-floating-workspaces .modern-history,#vernis-floating-workspaces .modern-dispositions{border-radius:12px;gap:3px;padding:4px}
#vernis-floating-workspaces .modern-history button:not(.chrome-grip):not([data-modern-toolbar-collapse]){width:31px;min-width:31px;height:29px;padding:5px}
#vernis-floating-workspaces [data-modern-toolbar-collapse] svg{width:16px;height:16px}
#vernis-floating-workspaces .modern-dispositions>button:not(.chrome-grip):not([data-modern-toolbar-collapse]){height:31px;padding:3px 7px;border-radius:8px;gap:7px;background:none}
#vernis-floating-workspaces .v-tools .chrome-grip{height:27px;min-height:0;width:17px;flex:none;padding:0!important}
#vernis-floating-workspaces .v-tools button{border-radius:6px}
#vernis-floating-workspaces .v-tools[data-toolbar-axis=horizontal]{height:40px!important}
#vernis-floating-workspaces .v-tools[data-toolbar-axis=horizontal]:not([data-toolbar-collapsed=true]){max-width:var(--toolbar-available-width,100%);overflow:auto;scrollbar-width:none}
#vernis-floating-workspaces .v-tools[data-toolbar-axis=vertical]:not([data-toolbar-collapsed=true]){max-height:var(--toolbar-available-height,100%);scrollbar-width:none}
#vernis-floating-workspaces .v-tools>[data-modern-toolbar-collapse]{order:-1}
#vernis-floating-workspaces .v-tools[data-toolbar-axis=vertical]:not([data-toolbar-collapsed=true]){min-height:min(320px,calc(100dvh - 112px))}
#vernis-floating-workspaces [data-floating-toolbar]>[data-modern-toolbar-collapse]{width:20px;min-width:20px;height:26px;min-height:26px;padding:2px;border-radius:5px}
#vernis-floating-workspaces .setup-inspector[data-panel=properties]>.v-content:has(>#setup-panel-objet[hidden])>:is(.modern-preset-summary,.preset-scope-bar){display:none!important}
#vernis-floating-workspaces .v-drag>.vernis-icon{width:16px;height:16px}
#vernis-floating-workspaces .modern-title-art{width:22px;height:22px;flex-basis:22px}
#vernis-floating-workspaces .modern-title-art :is(.obj,svg){width:22px;height:22px}
#vernis-floating-workspaces :is(.element-visibility,.piece-visibility){position:relative;display:grid;place-items:center}
#vernis-floating-workspaces :is(.element-visibility,.piece-visibility)::before,
#vernis-floating-workspaces :is(.element-visibility,.piece-visibility)::after{display:none!important;content:none!important}
#vernis-floating-workspaces .modern-visibility-glyph{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
#vernis-floating-workspaces .modern-visibility-glyph svg{width:20px;height:20px}
#vernis-floating-workspaces :is(.element-visibility,.piece-visibility):has(input:checked)>.is-hidden,
#vernis-floating-workspaces :is(.element-visibility,.piece-visibility):has(input:not(:checked))>.is-visible{display:none}
#vernis-floating-workspaces .modern-collection-tools button{min-height:30px}
#vernis-floating-workspaces .modern-collection-tools .modern-icon-action{width:30px;height:30px}
#vernis-floating-workspaces .modern-collection-tools svg{width:20px;height:20px}
#vernis-floating-workspaces .thumb-item{grid-template-columns:minmax(0,1fr) 27px 27px}
#vernis-floating-workspaces .thumb-item .piece-visibility,
#vernis-floating-workspaces .thumb-item [data-modern-remove]{width:27px;height:30px}
#vernis-floating-workspaces .modern-composition-eye svg:last-child{display:none}
#vernis-floating-workspaces .setup-element:has(input:not(:checked)) .modern-composition-eye svg:first-child{display:none}
#vernis-floating-workspaces .setup-element:has(input:not(:checked)) .modern-composition-eye svg:last-child{display:block}


#vernis-floating-workspaces .modern-dispositions{container-type:inline-size;container-name:modern-dispositions}
@container modern-dispositions (min-width:140px){#vernis-floating-workspaces .modern-dispositions button>span{display:inline!important}}
@container modern-dispositions (max-width:100px){#vernis-floating-workspaces .modern-dispositions .chrome-grip{flex-basis:12px;width:12px;padding:0!important}#vernis-floating-workspaces .modern-dispositions button>span,#vernis-floating-workspaces .modern-dispositions button svg:last-child:not(:first-child){display:none!important}#vernis-floating-workspaces .modern-dispositions button:not(.chrome-grip){padding:4px;gap:0}}

/* Collection rows use the approved component geometry; native inputs, thumbnail
   selection and size commands retain their original listeners. */
#vernis-floating-workspaces .modern-collection-wrap{margin:2px 0 12px 6px;padding:4px 0 0 8px;border-left:2px solid var(--v-selected)}
#vernis-floating-workspaces .modern-collection-wrap>summary{gap:8px;min-height:32px;padding:0;font-size:11px;font-weight:500}
#vernis-floating-workspaces .modern-collection-wrap>summary>span:first-child{flex:1}
#vernis-floating-workspaces .modern-collection-wrap>summary output{margin:0;font-size:10px}
#vernis-floating-workspaces .modern-collection-wrap>summary svg{width:20px;height:20px;flex:none}
#vernis-floating-workspaces .modern-collection-wrap:not([open])>summary svg{transform:rotate(-90deg)}
#vernis-floating-workspaces .modern-collection-tools{gap:4px;padding:0 0 6px;margin:0}
#vernis-floating-workspaces .modern-collection-tools .sim-button{display:flex;gap:5px;padding:4px 5px;min-height:30px;border:0;background:transparent;font-size:10px}
#vernis-floating-workspaces .modern-collection-tools .modern-icon-action{width:30px;height:30px}
#vernis-floating-workspaces #film.replica-piece-rows{display:grid;gap:3px;max-height:none;overflow:visible;padding:3px 1px 3px 3px}
#vernis-floating-workspaces #film .thumb-item.replica-piece-row{display:flex;align-items:center;min-height:0;padding:0;gap:0;border:0;border-radius:9px}
#vernis-floating-workspaces #film .thumb-item .thumb.replica-piece-select{display:flex;align-items:center;flex:1;min-width:0;min-height:54px;padding:4px;gap:7px;border-radius:9px;grid-column:auto;grid-row:auto}
#vernis-floating-workspaces #film .thumb .replica-piece-thumb img{width:100%;height:100%;border-radius:0;object-fit:contain}
#vernis-floating-workspaces #film .thumb .replica-piece-label small{position:static;display:block;align-self:auto;font-size:10px;line-height:1.5;margin:2px 0 0;padding:0;max-width:none;white-space:normal;overflow:visible;text-overflow:clip}
#vernis-floating-workspaces .replica-piece-label small{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
#vernis-floating-workspaces .replica-piece-select{height:auto;min-height:54px}
#vernis-floating-workspaces dialog[open] :is(.modal-head,.sim-dialog-header,.direct-header),
#vernis-floating-workspaces dialog[open]>form>h2{cursor:move;touch-action:none}
#vernis-floating-workspaces #film .thumb-size[hidden]{display:none!important}
#vernis-floating-workspaces .replica-piece-actions :is(.piece-visibility,[data-modern-remove]){position:relative;display:grid;place-items:center;flex:none;width:27px;height:30px;min-height:30px;padding:4px;margin:0;align-self:center;border:0;border-radius:7px;background:transparent;box-shadow:none;color:var(--v-muted)}
#vernis-floating-workspaces .replica-piece-actions .piece-visibility input{position:absolute;inset:0;width:100%!important;height:100%!important;opacity:0!important;margin:0;cursor:pointer;z-index:2}
#vernis-floating-workspaces .replica-piece-actions .piece-visibility:has(input:focus-visible){outline:2px solid var(--v-accent);outline-offset:1px}
#vernis-floating-workspaces .replica-piece-actions .sim-button{display:grid;place-items:center;width:27px;height:30px;min-height:30px;line-height:1;padding:4px;transform:none!important}
#vernis-floating-workspaces .replica-piece-actions svg{width:20px;height:20px;display:block;flex:none}
#vernis-floating-workspaces .modern-collection-footer{min-height:32px;padding:4px 3px 0}
#vernis-floating-workspaces #setup-element-list .setup-element{display:grid;grid-template-columns:minmax(0,1fr) 25px;gap:4px;min-height:44px;padding:0;margin:0 0 3px;border:0;background:transparent}
#vernis-floating-workspaces #setup-element-list .modern-composition-select{display:flex;align-items:center;min-width:0;width:100%;min-height:44px;padding:7px 5px;gap:8px;text-align:left;border:0;background:transparent;border-radius:10px;font-size:12px}
#vernis-floating-workspaces #setup-element-list .modern-composition-select[aria-pressed=true]{background:var(--v-selected);color:var(--v-accent)}
#vernis-floating-workspaces #setup-element-list .modern-composition-select>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#vernis-floating-workspaces #setup-element-list .modern-composition-select .v-thumb{width:30px;height:30px;flex:none}
#vernis-floating-workspaces #setup-element-list .modern-composition-select .v-count{font-size:11px;color:var(--v-muted);font-variant-numeric:tabular-nums}
#vernis-floating-workspaces #setup-element-list .modern-composition-visibility{position:relative;display:grid;place-items:center;align-self:center;width:25px;height:28px;padding:3px;margin:0;border-radius:7px;background:var(--v-selected);cursor:pointer}
#vernis-floating-workspaces #setup-element-list .modern-composition-visibility input[data-setup-element]{inset:0;right:auto;top:0;transform:none;width:100%!important;height:100%!important;margin:0}
#vernis-floating-workspaces #setup-element-list .modern-composition-visibility svg{display:block;width:20px;height:20px}
#vernis-floating-workspaces #setup-element-list .replica-row-actions{grid-column:1/-1;display:flex;gap:5px;padding:1px 0 5px 40px}
#vernis-floating-workspaces #setup-element-list .replica-row-actions[hidden]{display:none}
#vernis-floating-workspaces #setup-element-list .replica-row-actions button{display:grid;place-items:center;width:24px;height:24px;min-height:24px;padding:2px;border:0;border-radius:7px;background:var(--v-soft);color:var(--v-muted);font-size:10px;line-height:1}
#vernis-floating-workspaces #setup-element-list .replica-row-actions button[aria-pressed=true]{background:var(--v-selected);color:var(--v-accent)}
#vernis-floating-workspaces #setup-element-list .replica-row-actions button svg{display:block;width:20px;height:20px}
#vernis-floating-workspaces .modern-composition-collection{grid-column:1/-1}
#vernis-floating-workspaces .modern-composition-collection .replica-piece-select{border:0;box-shadow:none}
#vernis-floating-workspaces .modern-composition-collection .replica-piece-rows{overflow:visible}
#vernis-floating-workspaces .setup-object-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 0 10px;margin:0}
#vernis-floating-workspaces .setup-object-head h3{display:flex;align-items:center;gap:9px;min-width:0;margin:0;font-size:12px}
#vernis-floating-workspaces .setup-object-head .modern-instance-label{display:block;min-width:0}
#vernis-floating-workspaces .setup-object-head .modern-instance-label>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#vernis-floating-workspaces .setup-object-head .modern-instance-caption{display:block;margin:3px 0 0;font:400 10px/1.5 Onest,sans-serif;color:var(--v-muted)}
#vernis-floating-workspaces .setup-object-head .modern-title-art{display:block;flex:none;width:30px;height:30px}
#vernis-floating-workspaces .setup-object-head .modern-title-art :is(svg,.obj){display:block;width:30px;height:30px}
#vernis-floating-workspaces .setup-object-head .element-actions{display:flex;align-items:center;gap:4px;flex:none}
#vernis-floating-workspaces .setup-object-head .modern-icon-action{display:grid;place-items:center;width:28px;height:30px;min-height:30px;padding:4px}
#vernis-floating-workspaces .setup-object-head .modern-icon-action svg{display:block;width:20px;height:20px}
#vernis-floating-workspaces dialog.modern-piece-sizes{width:min(640px,calc(100vw - 48px));height:fit-content;max-height:calc(100dvh - 48px);padding:0;border:0;border-radius:18px;background:var(--v-surface);color:var(--v-ink);overflow:hidden}
#vernis-floating-workspaces .modern-piece-sizes form{display:flex;flex-direction:column;gap:0;margin:0;min-height:0}
#vernis-floating-workspaces dialog.modern-piece-sizes.sim-native-dialog form>.sim-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:move;flex:none}
#vernis-floating-workspaces dialog.modern-piece-sizes.sim-native-dialog .sim-dialog-header h2{margin:0;font:500 18px/1.4 Onest,sans-serif;white-space:normal}
#vernis-floating-workspaces .modern-piece-sizes .sim-close{display:grid;place-items:center;width:30px;height:30px;min-width:0;min-height:0;flex:none;padding:5px}
#vernis-floating-workspaces dialog.modern-piece-sizes .modern-piece-size-list{overflow:auto;max-height:min(440px,calc(100dvh - 220px));min-height:0;padding:8px 20px 16px;overscroll-behavior:contain;scrollbar-width:thin}
#vernis-floating-workspaces .modern-piece-size-table{width:100%;min-width:480px;border-collapse:collapse;table-layout:fixed;margin:0;font:12px/1.45 Onest,sans-serif}
#vernis-floating-workspaces .modern-piece-size-table th,#vernis-floating-workspaces .modern-piece-size-table td{padding:9px 6px;border:0;text-align:left;vertical-align:middle;font-weight:400}
#vernis-floating-workspaces .modern-piece-size-table thead th{position:sticky;top:-8px;z-index:3;background:var(--v-surface);padding-top:12px;padding-bottom:12px;color:var(--v-muted);font-size:10px;line-height:1.4}
#vernis-floating-workspaces .modern-piece-size-table th:first-child{width:40%;padding-left:0}
#vernis-floating-workspaces .modern-piece-size-table th:last-child{width:18%;text-align:center}
#vernis-floating-workspaces .modern-piece-size-table[data-editable=false] th:first-child{width:50%}
#vernis-floating-workspaces .modern-piece-size-table[data-editable=false] th:last-child{width:25%;text-align:left}
#vernis-floating-workspaces .modern-piece-size-table tbody tr+tr{border-top:1px solid var(--v-line)}
#vernis-floating-workspaces .modern-size-piece{display:flex;align-items:center;gap:10px;min-width:0;font-weight:500}
#vernis-floating-workspaces .modern-size-piece>span{overflow-wrap:anywhere}
#vernis-floating-workspaces .modern-size-piece img{display:block;width:36px;height:36px;flex:none;object-fit:contain;border-radius:8px;background:var(--v-soft)}
#vernis-floating-workspaces .modern-piece-size-table .replica-field{display:block;position:relative;margin:0}
#vernis-floating-workspaces .modern-piece-size-table input[type=number]{width:100%;min-width:0;height:36px;padding:8px 10px;border-radius:10px;font:12px/1.45 Onest,sans-serif}
#vernis-floating-workspaces .modern-size-lock{display:flex;align-items:center;justify-content:center;margin:0}
#vernis-floating-workspaces .modern-piece-sizes footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;flex:none}
#vernis-floating-workspaces .modern-piece-sizes footer .sim-button{min-height:36px;padding:8px 16px}

/* Keep the native size editor and its preview/save/cancel handlers. */
#vernis-floating-workspaces #dialog[data-modern-size-editor]{width:min(860px,calc(100vw - 48px));height:fit-content;overflow:hidden}
#vernis-floating-workspaces #dialog[data-modern-size-editor] #dialog-content{display:flex;flex-direction:column;max-height:calc(100dvh - 48px);min-height:0;padding:0;gap:0}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .modal-head{position:static;flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 20px 14px}
#vernis-floating-workspaces #dialog[data-modern-size-editor] h2{margin:0 0 6px;font:500 18px/1.4 Onest,sans-serif}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .modal-head p{max-width:700px;margin:0;font-size:11px;line-height:1.6;color:var(--v-muted)}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .modal-close{flex:none;width:30px;height:30px;padding:5px}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .modal-body{min-height:0;max-height:480px;padding:0 20px 16px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .modal-body>.note{margin:0 0 12px;font-size:11px;line-height:1.6}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .size-table{margin:0;min-width:680px}
#vernis-floating-workspaces #dialog[data-modern-size-editor] :is(.size-table-head,.size-row){display:grid;grid-template-columns:minmax(160px,1.8fr) repeat(3,minmax(72px,1fr)) 80px 68px;gap:10px;align-items:center;padding:10px 0}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .size-table-head{position:sticky;top:0;z-index:3;background:var(--v-surface);color:var(--v-muted);font-size:10px;line-height:1.5}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .size-row{background:none;border-top:1px solid var(--v-line)}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .size-name{grid-column:auto;gap:10px;color:var(--v-ink)}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .size-name img{width:36px;height:42px;object-fit:contain;border-radius:7px;background:var(--v-soft)}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .size-name strong{font-size:12px;font-weight:500}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .size-name small{font-size:10px;line-height:1.5;color:var(--v-muted)}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .size-row>label{margin:0;min-width:0}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .size-row input[type=number]{height:36px;padding:8px 10px;border-radius:10px;font:12px/1.4 Onest,sans-serif}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .size-row .mobile-label{display:none}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .size-row .check{grid-column:auto;justify-content:center;gap:6px;font-size:10px}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .size-row .mini{font-size:10px;text-decoration:none;border-radius:999px;background:var(--v-soft);padding:8px 5px}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .modal-foot{position:static;flex:none;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 20px;border-top:1px solid var(--v-line);background:var(--v-surface)}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .modal-foot>.note{font-size:10px}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .modal-foot>.right{display:flex;gap:10px;margin-left:auto}
#vernis-floating-workspaces #dialog[data-modern-size-editor] .modal-foot .btn{min-height:36px;padding:8px 16px;font-size:12px}

.modern-thumbnail-renderer{position:fixed;left:-10000px;top:0;width:192px;height:192px;pointer-events:none}
#vernis-floating-workspaces #setup-element-list .setup-element.selected{background:transparent}
#vernis-floating-workspaces #setup-element-list .setup-element>label.modern-composition-visibility{display:grid;grid-column:2;grid-row:1}
#vernis-floating-workspaces #setup-element-list .modern-composition-collection .replica-piece-label small{display:block}
#vernis-floating-workspaces .setup-object-head{flex-direction:row;align-items:center}
/* Match the reference's inner dimensions as well as each SVG viewBox. */
#vernis-floating-workspaces .v-panel{border:1px solid transparent}
#vernis-floating-workspaces .inspector-tabs button{gap:4px;min-height:0!important}
#vernis-floating-workspaces .inspector-tabs .modern-category-art,
#vernis-floating-workspaces .inspector-tabs .modern-category-art :is(svg,.obj),
#vernis-floating-workspaces .inspector-tabs .setup-tab-art,
#vernis-floating-workspaces .inspector-tabs .setup-tab-art svg{display:block;width:24px;height:24px;margin:0;flex:none;padding:0}
#vernis-floating-workspaces #setup-panel-objet>[data-panel-key=modern-auto-layout]{padding:10px 0 0}
#vernis-floating-workspaces #setup-item-controls{margin-top:-8px;border-top:1px solid var(--v-line);padding-top:12px}
#vernis-floating-workspaces .setup-object-head{padding:0;margin:0 0 18px;gap:10px;flex-wrap:nowrap}
#vernis-floating-workspaces .setup-object-head h3{flex:1;gap:10px;font:600 13px/1.5 Onest,sans-serif}
#vernis-floating-workspaces .setup-object-head .modern-title-art,
#vernis-floating-workspaces .setup-object-head .modern-title-art :is(.obj,svg){width:32px;height:32px}
#vernis-floating-workspaces .setup-object-head .modern-instance-caption{font-size:11px;line-height:1.5}
#vernis-floating-workspaces .setup-object-head .element-actions{gap:6px}
#vernis-floating-workspaces .setup-object-head .modern-icon-action{width:30px;height:35px;min-height:35px;padding:5px}
#vernis-floating-workspaces .modern-instance-groups{display:flex;flex-direction:column;gap:20px}
#vernis-floating-workspaces .modern-instance-groups>.studio-panel-group{padding:4px 0 12px;border:0}
#vernis-floating-workspaces .modern-instance-groups>.studio-panel-group>h3{font:600 13px/1.5 Onest,sans-serif;margin:0}
#vernis-floating-workspaces .modern-instance-groups>.studio-panel-details{padding:10px 0 12px;border-bottom:0}
#vernis-floating-workspaces .modern-instance-groups .studio-panel-body>label.field{display:flex;flex-direction:column;gap:6px;font-size:12px;margin:0}
#vernis-floating-workspaces #setup-element-list .setup-element>label.modern-composition-visibility{width:24px;height:26px;min-width:0;min-height:0}
#vernis-floating-workspaces .modern-composition-collection{border-top:0;border-right:0;border-bottom:0;border-left:2px solid var(--v-selected)}
#vernis-floating-workspaces .modern-composition-collection>summary{margin:0}
#vernis-floating-workspaces #setup-element-list .modern-composition-collection .replica-piece-label small{white-space:normal;overflow:visible;text-overflow:clip}
#vernis-floating-workspaces .setup-object-head h3{font:700 13px/1.45 Onest,sans-serif}
#vernis-floating-workspaces .setup-object-head .modern-instance-caption{font:400 11px/1.45 Onest,sans-serif}
#vernis-floating-workspaces .setup-object-head .modern-icon-action{border:1px solid transparent;padding:6px}
#vernis-floating-workspaces .setup-object-head .modern-icon-action svg{width:16px;height:16px}
#vernis-floating-workspaces #setup-element-list .modern-composition-collection .replica-piece-label strong{font:500 11px/1.5 Onest,sans-serif}
#vernis-floating-workspaces #setup-element-list .modern-composition-collection .replica-piece-label small{font:400 10px/1.45 Onest,sans-serif;margin-top:2px}
#vernis-floating-workspaces #film.replica-piece-rows{max-height:none;overflow:visible;gap:3px;padding:3px 1px 3px 3px}
#vernis-floating-workspaces #setup-panel-scene>.studio-panel-group{padding:4px 0 12px;border:0}
#vernis-floating-workspaces #setup-panel-scene>.studio-panel-group>h3{font:600 13px/1.5 Onest,sans-serif;margin:0}
#vernis-floating-workspaces .setup-table-size[hidden]{display:none!important}
#vernis-floating-workspaces .modern-accessories #setup-decor-list{display:flex;flex-direction:column;gap:6px}
#vernis-floating-workspaces .modern-accessories .setup-decor-row{text-align:left;padding:8px;border:0;border-radius:8px;background:var(--v-soft);font-size:11px}
#vernis-floating-workspaces .modern-accessories .setup-decor-row[aria-pressed=true]{background:var(--v-selected);color:var(--v-accent)}

/* Authored account actions share the reference's optical size. Keep their
   controllers and links; the drawings come from the app's own icon catalog. */
#vernis-floating-workspaces .account-menu-list [role=menuitem]>.vernis-icon{display:block;width:18px;height:18px;flex:none}
html[data-modern-embed=true]{--icon-primary:light-dark(#505c69,#d4dae1);--icon-secondary:light-dark(#b9c4cf,#aebdce);--icon-surface:var(--surface,#fff)}
/* Native film rows originally stacked their controls below the thumbnail.
   Restore the reference's single row and keep checkbox hit areas on the eye. */
#vernis-floating-workspaces #film .thumb-item.replica-piece-row{flex-direction:row}
#vernis-floating-workspaces #film .replica-piece-actions .piece-visibility{position:relative!important;width:27px;height:30px}
#vernis-floating-workspaces #film .replica-piece-actions [data-modern-remove]{width:27px;height:30px}

/* Use the same optical states and metrics as the reviewed controls. */
#vernis-floating-workspaces #setup-element-list .replica-row-actions button[data-select-instance]{width:23px;height:23px;min-height:23px}
#vernis-floating-workspaces .vernis-select{inset:auto;transform:none}
#vernis-floating-workspaces .modern-photo-inline>.dress-side{left:calc(var(--modern-properties-x) + 1px);top:calc(var(--modern-properties-y) + 38px);width:calc(var(--modern-properties-w) - 18px);height:calc(var(--modern-properties-h) - 59px)}
#vernis-floating-workspaces .modern-photo-inline .modern-render-actions{padding-top:0}
#vernis-floating-workspaces .modern-render-actions>.sim-button[data-sculpted-action]{height:40px;min-height:40px;padding:10px 12px;background:var(--glass-face)}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-heading .sim-button{display:flex;align-items:center;gap:5px;min-height:32px;height:32px;padding:5px 8px;font:400 11px/1.45 Onest,sans-serif}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-heading .sim-button svg{width:14px;height:14px}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-favorite{display:grid;place-items:center;right:8px;top:8px;width:28px;height:28px;padding:6px;border:1px solid var(--v-line);border-radius:8px;background:var(--v-surface);color:var(--v-muted)}
#vernis-floating-workspaces .modern-photo-inline .dress-photo-favorite svg{width:15px;height:15px}
#vernis-floating-workspaces :is(.dress-ambiance-check,.studio-filter-check){--icon-primary:currentColor;color:var(--v-surface)}
#vernis-floating-workspaces .dress-ambiance-check{width:21px;height:21px}
#vernis-floating-workspaces .dress-ambiance-check svg{width:13px;height:13px}
#vernis-floating-workspaces[data-workspace-managed=true] .modern-page-dialog>header{position:relative;justify-content:center;padding:20px 48px;min-height:69px}
#vernis-floating-workspaces[data-workspace-managed=true] .modern-page-dialog>header h2{font:500 20px/1.45 Onest,sans-serif;text-align:center}
#vernis-floating-workspaces[data-workspace-managed=true] .modern-page-dialog>header>button{position:absolute;right:16px;top:16px;display:grid;place-items:center;width:30px;height:30px;padding:5px}
#vernis-floating-workspaces[data-workspace-managed=true] .modern-page-dialog[data-modern-page=publications]{height:fit-content;max-height:calc(100dvh - 48px)}
#vernis-floating-workspaces[data-workspace-managed=true] .modern-page-dialog[data-modern-page=publications]>iframe{flex:none;max-height:calc(100dvh - 160px)}
html[data-modern-embed=true][data-modern-page=publications],html[data-modern-embed=true][data-modern-page=publications] body{height:auto;min-height:0;overflow:auto;background:var(--v-surface,#fff)}
html[data-modern-embed=true][data-modern-page=publications] body{position:relative;isolation:isolate;color:var(--v-ink);font:12px/1.45 Onest,sans-serif;margin:0 auto;padding:24px}
html[data-modern-embed=true][data-modern-page=publications] .topbar,
html[data-modern-embed=true][data-modern-page=publications] .page-heading{display:none}
html[data-modern-embed=true][data-modern-page=publications] main{width:100%;padding:0;margin:0}
html[data-modern-embed=true][data-modern-page=publications] .card{border:0;border-radius:0;padding:0;margin:0;background:transparent}
html[data-modern-embed=true][data-modern-page=publications] .card-heading{justify-content:center;margin-bottom:16px}
html[data-modern-embed=true][data-modern-page=publications] .card-heading>div,
html[data-modern-embed=true][data-modern-page=publications] .card>h2{display:none}
html[data-modern-embed=true][data-modern-page=publications] .studio-account-nav{margin:0 0 20px;gap:6px}
html[data-modern-embed=true][data-modern-page=publications] .studio-account-nav button{min-height:32px;padding:6px 8px;font-size:11px}
html[data-modern-embed=true][data-modern-page=publications] .publication-actions{margin:12px 0;justify-content:center}
html[data-modern-embed=true] .sim-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 11px;font:12px/1.45 Onest,sans-serif;text-decoration:none;white-space:normal;cursor:pointer}

/* Native lighting labels also exist as text nodes, not only spans. */
#vernis-floating-workspaces [data-light-preset].studio-visual-choice{min-height:0;height:auto;white-space:normal;text-align:center;line-height:1.4}

html[data-ui=modern] dialog .modern-dialog-close{display:grid;place-items:center;flex:none;width:30px;height:30px;min-width:0;min-height:0;padding:5px;line-height:1}
html[data-ui=modern] dialog .modern-dialog-close>.vernis-icon{display:block;width:20px;height:20px}

#vernis-floating-workspaces .modern-language .language-switch{background:transparent;border-radius:12px}
#vernis-floating-workspaces .modern-language .language-trigger{width:100%;padding:6px 8px;gap:6px;font-size:11px}

/* The real ambiance picker uses a different class from the reference gallery. */
#vernis-floating-workspaces .dress-panel:not(.modern-photo-inline)>.dress-side{left:calc(var(--modern-properties-x) + 1px);top:calc(var(--modern-properties-y) + 38px);width:calc(var(--modern-properties-w) - 18px);height:calc(var(--modern-properties-h) - 59px)}
#vernis-floating-workspaces .dress-ambiances{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
#vernis-floating-workspaces .dress-ambiances>button{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:4px;min-width:0;white-space:normal;text-align:left}
#vernis-floating-workspaces .dress-ambiances .dress-ambiance-image{width:100%;height:auto;aspect-ratio:1.5;border-radius:9px;flex:none}
#vernis-floating-workspaces .dress-ambiances .dress-ambiance-label{white-space:normal;overflow-wrap:anywhere;line-height:1.45;font-size:10px}
#vernis-floating-workspaces .modern-capture-inline #setup-visualizations{margin-top:10px}

#vernis-floating-workspaces .modern-screen-strip{position:absolute;top:20px;left:50%;transform:translateX(calc(-50% + 27px));z-index:185;display:flex;align-items:stretch;gap:clamp(8px,2vw,20px);width:max-content;max-width:calc(100% - 24px)}
#vernis-floating-workspaces .modern-screen-strip>.v-modes{position:relative;inset:auto;transform:none;min-width:0;max-width:none;z-index:auto}
#vernis-floating-workspaces .modern-render-button{display:flex;align-items:center;justify-content:center;flex:none;gap:7px;min-height:40px;padding:6px 13px;border:1px solid var(--v-line);border-radius:999px;background:var(--v-surface);color:var(--v-accent);font:550 12px/1.4 Onest,sans-serif;white-space:nowrap}
#vernis-floating-workspaces .modern-render-button .vernis-icon{width:17px;height:17px;flex:none}
#vernis-floating-workspaces .modern-render-button:hover{background:var(--v-selected)}
#vernis-floating-workspaces[data-modern-mode=render] .modern-render-button{border-color:var(--v-accent);background:var(--v-accent);color:var(--v-surface)}
#vernis-floating-workspaces[data-modern-mode=render] .modern-render-button .vernis-icon{--icon-primary:currentColor;--icon-secondary:currentColor}
#vernis-floating-workspaces .modern-render-button:focus-visible{outline:2px solid var(--v-accent);outline-offset:2px}
#vernis-floating-workspaces .modern-variant-export{flex:none}
#vernis-floating-workspaces .modern-variant-export form{display:grid;gap:9px;padding:8px 0}
#vernis-floating-workspaces .modern-variant-export button[type=submit]{justify-self:start}
#vernis-floating-workspaces .image-export-error{margin:0;overflow-wrap:anywhere}
@media(max-width:1300px){
 #vernis-floating-workspaces .modern-screen-strip{top:72px}
}
@media(max-width:760px){
 #vernis-floating-workspaces .modern-screen-strip{transform:translateX(-50%)}
 #vernis-floating-workspaces .modern-render-button{min-height:44px}
}
@media(max-width:420px){
 #vernis-floating-workspaces[data-workspace-managed=true] .v-modes button{flex:0 1 auto;min-width:0}
 #vernis-floating-workspaces[data-workspace-managed=true] .v-modes button>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
}

/* Visually acknowledge the working mode before its scene is rebuilt. */
#vernis-floating-workspaces [data-modern-mode][aria-busy=true]{box-shadow:inset 0 -2px var(--v-accent);cursor:progress}
