.studio-root .imx-viewer.imx-viewer--refined{color:#eee;width:calc(100vw - 40px);max-width:1600px;height:calc(100dvh - 40px);max-height:960px;font-family:var(--font-inter),Arial,sans-serif;-webkit-backdrop-filter:none;backdrop-filter:none;background:#101010;border:1px solid #363636;border-radius:18px;grid-template-columns:minmax(0,1fr) 360px;margin:auto;padding:0;display:grid;position:fixed;inset:0;overflow:hidden;box-shadow:0 24px 100px #0009}.imx-viewer--refined::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#000000d9}.studio-root .imx-viewer--refined :is(.imx-viewer-backdrop,.imx-viewer-vignette){display:none}.studio-root .imx-viewer--refined .imx-stage{background:#101010;min-height:0;padding:68px 52px 100px}.studio-root .imx-viewer-counter{color:#aaa;font-size:13px;position:absolute;top:28px;left:74px}.studio-root .imx-viewer--refined .imx-stage-imgwrap{width:min(100%,calc((100dvh - 230px) * var(--image-ratio)));border-radius:6px;flex:none;height:auto;max-height:100%;box-shadow:0 12px 40px #0005}.studio-root .imx-viewer--refined .imx-stage-img{object-fit:contain;width:100%;height:auto;display:block;position:relative}.studio-root .imx-viewer--refined :is(.imx-close,.imx-navbtn){color:#eee;background:#242424;border-color:#ffffff20;border-radius:10px;width:42px;height:42px}.studio-root .imx-viewer--refined .imx-navbtn--prev{left:8px}.studio-root .imx-viewer--refined .imx-navbtn--next{right:8px}.studio-root .imx-viewer--refined .imx-dock{flex-wrap:wrap;justify-content:center;gap:6px;width:calc(100% - 32px);display:flex;bottom:20px}.studio-root .imx-viewer--refined :is(.imx-dock-pill,.imx-outline-btn,.imx-dl-btn,.imx-seg-btn,.imx-quick-btn){color:#ddd;box-shadow:none;background:#232323;border:1px solid #ffffff1c;min-height:40px;font-size:13px}.studio-root .imx-viewer--refined .imx-aside{color:#ddd;background:#191919;border-left:1px solid #ffffff12;width:auto;min-width:0;height:100%;overflow:hidden}.studio-root .imx-viewer--refined .imx-aside-head{border-color:#ffffff12;padding:22px}.studio-root .imx-viewer--refined .imx-aside-name{color:#f2f2f2;white-space:normal;overflow-wrap:anywhere;font-size:17px;line-height:1.4}.studio-root .imx-viewer--refined .imx-aside-from{color:#a9a9a9;font-size:12px}.studio-root .imx-viewer--refined .imx-tabs{background:#191919;border-color:#ffffff12;padding:12px 20px}.studio-root .imx-viewer--refined .imx-tab{color:#aaa;background:0 0;min-height:42px;font-size:14px}.studio-root .imx-viewer--refined .imx-tab--on{color:#fff;box-shadow:none;background:#303030}.studio-root .imx-viewer--refined .imx-aside-scroll{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:20px;overflow:auto}.studio-root .imx-viewer--refined .imx-kicker{color:#a9a9a9;letter-spacing:.07em;font-size:11px}.studio-root .imx-viewer--refined .imx-prompt-text{color:#e0e0e0;overflow-wrap:anywhere;font-size:15px;line-height:1.65}.studio-root .imx-viewer--refined :is(.imx-seefull,.imx-back){color:#eee;font-size:13px}.studio-root .imx-viewer--refined .imx-detail-rows{background:0 0;border:0}.studio-root .imx-viewer--refined .imx-detail-row{background:#202020;border-bottom:1px solid #ffffff0c;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:14px 12px;font-size:13px;display:grid}.studio-root .imx-viewer--refined .imx-detail-row>span{color:#a9a9a9}.studio-root .imx-viewer--refined .imx-detail-row strong{color:#e7e7e7;overflow-wrap:anywhere;text-align:right;font-weight:500}.studio-root .imx-viewer--refined .imx-aside-foot{background:#191919;border-top:1px solid #ffffff12;padding:16px 20px}.studio-root .imx-viewer--refined :is(.imx-cta,.imx-tool-generate){color:#f1f1f1;box-shadow:none;background:#303030;border:1px solid #ffffff26;min-height:44px;font-size:14px}.studio-root .imx-viewer--refined :is(.imx-cta,.imx-tool-generate):hover{color:#fff;background:#3b3b3b}.studio-root .imx-viewer--refined :is(.imx-cta,.imx-tool-generate) .svg-icon{color:inherit;stroke:currentColor}.studio-root .imx-viewer--refined :is(input,textarea){color:#eee;background:#232323;border-color:#ffffff26}.studio-root .imx-viewer--refined :is(button,a,input,textarea):focus-visible{outline-offset:3px;outline:2px solid #ddd}.studio-root .imx-tile-scrim{flex-direction:column;justify-content:space-between;padding:12px;display:flex}.studio-root .imx-tile-top{justify-content:flex-start;gap:8px;display:flex;position:static!important}.studio-root .imx-tile-time{white-space:nowrap;flex:none;max-width:100%;font-size:11px;margin:0!important;position:static!important}.studio-root .imx-tile-act{display:none}.studio-root .imx-tile-bottom{align-items:flex-end;gap:10px;width:100%;margin-top:auto;display:flex;position:static!important}.studio-root .imx-tile-prompt{flex:1;min-width:0;font-size:13px;line-height:1.4;position:static!important}.studio-root .imx-tile-reuse{flex:none;min-height:36px;padding:8px 12px;font-size:12px;margin:0!important;position:static!important}.studio-root .imx-composer{grid-template-columns:minmax(0,1fr) 150px!important;gap:14px!important;width:min(1120px,100% - 32px)!important;padding:18px!important;left:max(16px,50vw - 560px)!important}.studio-root .imx-composer-main{grid-template-columns:minmax(0,1fr) 260px!important;gap:12px!important;display:grid!important;position:static!important}.studio-root .imx-composer-main:before,.studio-root .imx-composer-heading{display:none!important}.studio-root .imx-refs{grid-column:1/-1;order:0!important;gap:10px!important;min-height:48px!important}.studio-root .imx-ta{grid-column:1/-1;order:1!important;width:100%!important;height:64px!important;min-height:64px!important;max-height:140px!important;padding:8px 0!important;font-size:16px!important;line-height:1.5!important}.studio-root .imx-composer-controls{grid-column:1;flex-wrap:wrap!important;order:2!important;gap:8px!important;width:100%!important;max-width:none!important}.studio-root .imx-direction-control{grid-area:3/2;width:100%!important;min-width:0!important;margin:0!important;position:static!important}.studio-root .imx-direction-trigger{width:100%!important;min-width:0!important;height:48px!important;position:static!important}.studio-root .imx-direction-trigger strong{font-size:14px!important}.studio-root .imx-ref-add{flex:0 0 200px!important;width:200px!important;min-width:200px!important;height:48px!important;padding:10px 12px!important;font-size:13px!important}.studio-root :is(.imx-pill,.imx-stepper){min-height:44px!important;font-size:14px!important}.studio-root .imx-generate{width:100%!important;min-height:48px!important;font-size:14px!important;position:static!important}@media (max-width:760px){.studio-root .imx-viewer.imx-viewer--refined{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr);align-content:start;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:none;overflow-y:auto}.studio-root .imx-viewer--refined .imx-stage{min-height:280px;padding:64px 44px 80px}.studio-root .imx-viewer--refined .imx-close{z-index:10;position:fixed;top:16px;left:16px}.studio-root .imx-viewer--refined .imx-stage-imgwrap{width:min(100%,calc(45dvh * var(--image-ratio)));max-height:45dvh}.studio-root .imx-viewer--refined .imx-aside{border-top:1px solid #ffffff14;border-left:0;height:auto;overflow:visible}.studio-root .imx-viewer--refined .imx-aside-scroll{overflow:visible}.studio-root .imx-viewer--refined .imx-dock{bottom:12px}.studio-root .imx-composer{grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:calc(100% - 16px)!important;max-height:calc(100dvh - 170px)!important;padding:12px!important;left:8px!important}.studio-root .imx-composer-main{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}.studio-root .imx-direction-control{grid-area:auto/1;order:3!important}.studio-root .imx-composer-controls{gap:6px!important}.studio-root .imx-ta{height:56px!important;min-height:56px!important}.studio-root .imx-generate{height:44px!important;min-height:44px!important}}@media (prefers-reduced-motion:reduce){.imx-viewer--refined *{transition:none!important;animation:none!important}}.studio-root .imx-grid.imx-gallery-natural{columns:5;column-gap:8px;display:block}.studio-root .imx-gallery-natural .imx-tile{break-inside:avoid;width:100%;height:auto;box-shadow:none;border:0;border-radius:0;margin:0 0 8px;padding:0;display:block;position:relative;aspect-ratio:auto!important}.studio-root .imx-gallery-natural .imx-tile--loading{aspect-ratio:var(--tile-ratio,1)!important}.studio-root .imx-gallery-natural .imx-tile-img{object-fit:contain;border-radius:0;width:100%;height:auto;max-height:none;transition:none;display:block;position:static;transform:none!important}.studio-root .imx-gallery-natural .imx-tile-scrim{opacity:0;pointer-events:none;transition:opacity .14s}.studio-root .imx-gallery-natural .imx-tile:focus-within .imx-tile-scrim{opacity:1;pointer-events:auto}.studio-root .imx-gallery-natural .imx-tile-reuse{min-height:44px}@media (hover:hover){.studio-root .imx-gallery-natural .imx-tile:hover .imx-tile-scrim{opacity:1;pointer-events:auto}}@media (max-width:1400px){.studio-root .imx-grid.imx-gallery-natural{columns:4}}@media (max-width:1000px){.studio-root .imx-grid.imx-gallery-natural{columns:3}}@media (max-width:640px){.studio-root .imx-grid.imx-gallery-natural{columns:2;column-gap:5px}.studio-root .imx-gallery-natural .imx-tile{margin-bottom:5px}}@media (prefers-reduced-motion:reduce){.studio-root .imx-gallery-natural .imx-tile-scrim{transition:none}}.studio-root .imx-viewer--refined .imx-aside{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.studio-root .imx-viewer--refined :is(.imx-tool-title,.imx-preset-name,.imx-toggle-label,.imx-slider-label,.imx-slider-val,.imx-colorrow-label,.imx-colorrow-val){color:#e5e5e5}.studio-root .imx-viewer--refined .imx-tool-title{font-size:20px;line-height:1.4}.studio-root .imx-viewer--refined .imx-preset-name{white-space:normal;font-size:12px;line-height:1.5}.studio-root .imx-viewer--refined :is(.imx-tool-note,.imx-check-row){color:#b5b5b5;line-height:1.6}.studio-root .imx-viewer--refined :is(.imx-toggle-row,.imx-slider,.imx-colorrow,.imx-seg,.imx-check-box){background:#232323;border-color:#454545}.studio-root .imx-viewer--refined :is(.imx-toggle-row,.imx-slider,.imx-colorrow){min-height:44px}.studio-root .imx-viewer--refined .imx-back{color:#ededed;background:#292929;border:1px solid #454545;height:auto;min-height:40px;padding:8px 12px}.studio-root .imx-viewer--refined :is(.imx-seg-btn,.imx-quick-btn){transition:background-color .14s,border-color .14s}.studio-root .imx-viewer--refined :is(.imx-seg-btn--on,.imx-quick-btn--on){color:#fff;box-shadow:none;background:#424242;border:1px solid #b3b3b3}.studio-root .imx-viewer--refined :is(.imx-seg-btn:disabled,.imx-seg-btn--disabled){color:#898989;opacity:1;cursor:not-allowed;background:#1c1c1c;border-color:#303030}.studio-root .imx-viewer--refined .imx-quick-btn:hover:not(:disabled){color:#fff;background:#363636;border-color:#a8a8a8}.studio-root .imx-viewer--refined .imx-switch{background:#5e5e5e;border:1px solid #787878}.studio-root .imx-viewer--refined .imx-switch--on{background:#bebebe;border-color:#dfdfdf}.studio-root .imx-viewer--refined .imx-switch--on .imx-switch-knob{background:#232323}.studio-root .imx-viewer--refined .imx-slider-fill{background:#ffffff14}.studio-root .imx-viewer--refined .imx-slider-line{background:#c9c9c9}.studio-root .imx-viewer--refined .imx-preset-swatch--on{outline-color:#c9c9c9}.studio-root .imx-viewer--refined .imx-preset-check{color:#212121;box-shadow:none;background:#d3d3d3}.studio-root .imx-viewer--refined .imx-preset-check .svg-icon{color:inherit;stroke:currentColor}.studio-root .imx-viewer--refined .imx-inpaint-ta{color:#eee;background:#232323;border-color:#525252}.studio-root .imx-viewer--refined .imx-inpaint-ta::placeholder{color:#a8a8a8}.studio-root .imx-viewer--refined :is(.imx-tool-foot,.imx-colorrow-dot){border-color:#454545}.studio-root .imx-viewer--refined .imx-tool-generate:disabled{color:#9a9a9a;opacity:1;background:#252525;border-color:#3a3a3a}.studio-root .imx-viewer--refined :is(.imx-dl-btn,.imx-outline-btn):hover{color:#fff;background:#363636}.studio-root .imx-viewer--refined :is(.imx-slider,.imx-colorrow):focus-within{outline-offset:3px;outline:2px solid #c9c9c9}
