:root{font-family:Instrument Sans,sans-serif;--page-width: 1320px;--bg-black: #07090a;--bg-deep: #0d1012;--bg-graphite: #171b1f;--bg-steel: #262d33;--accent-green: #d7ff00;color:#f3f1eb;background-color:#304a31;background:radial-gradient(ellipse 132% 68% at 50% 112%,rgba(255,255,255,.72) 0%,rgba(214,214,214,.42) 18%,rgba(132,132,132,.2) 36%,rgba(52,52,52,.08) 54%,transparent 76%),linear-gradient(180deg,#304a31,#213322 10%,#050607 26%,#0a0b0c 76%,#1c2124);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html{min-height:100%;background:#304a31;overscroll-behavior-y:none;-webkit-text-size-adjust:100%}*{box-sizing:border-box}body{position:relative;margin:0;min-width:320px;min-height:100svh;min-height:100dvh;color:#f3f1eb;background-color:#304a31;background:radial-gradient(ellipse 128% 66% at 50% 112%,rgba(252,252,252,.62) 0%,rgba(204,204,204,.34) 18%,rgba(120,120,120,.16) 36%,rgba(44,44,44,.06) 54%,transparent 76%),linear-gradient(180deg,#304a31,#213322 10%,#050607 26%,#090a0b 76%,#1a1f22);overflow-x:hidden;overscroll-behavior-y:none}#root{min-height:100svh;min-height:100dvh;background:transparent}button,input,textarea{font:inherit}button:focus,button:focus-visible,input:focus,input:focus-visible,textarea:focus,textarea:focus-visible,select:focus,select:focus-visible,a:focus,a:focus-visible{outline:none}button,input,textarea,select,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button *,a *{cursor:inherit}img{display:block;max-width:100%}.app-shell{position:relative;isolation:isolate;min-height:100svh;min-height:100dvh;padding:24px;overflow:hidden;background:transparent}.app-shell.is-empty-gallery{display:flex;flex-direction:column;min-height:100svh;min-height:100dvh}.app-shell:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:#000}.ambient{position:fixed;width:30rem;height:30rem;border-radius:50%;filter:blur(96px);pointer-events:none;opacity:.34}.ambient--left{top:-10rem;left:-8rem;background:#3a4046bd}.ambient--right{top:12rem;right:-10rem;background:#78787824}.topbar,.layout{position:relative;z-index:1}.topbar{display:flex;flex-direction:column;justify-content:flex-start;gap:14px;align-items:center;margin:0 auto 28px;max-width:var(--page-width)}.topbar__actions{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.topbar__brand{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.topbar__brand img{display:block;width:clamp(88px,9vw,144px);height:auto}.eyebrow{margin:0;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:#f3f1eb8c}.admin-chip,.primary-button,.ghost-button,.accent-button,.reveal-button,.gallery-card__actions a,.gallery-card__actions button{border:0;border-radius:999px;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease,color .16s ease,filter .16s ease}.admin-chip{display:inline-flex;gap:12px;align-items:center;padding:12px 14px;background:#ffffff14;color:#f3f1eb;box-shadow:0 12px 30px #0000003d;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.admin-chip.is-active{background:color-mix(in srgb,#d7ff00 24%,rgba(255,255,255,.08));color:#f9ffdf}.admin-chip span{color:#f3f1eb8c}.admin-chip.is-active span{color:#f9ffdfbd}.zoomer-preview-button,.zoomer-toggle{display:inline-flex;align-items:center;gap:10px;padding:12px 15px;border:0;border-radius:999px;background:#ffffff14;color:#f3f1ebd1;box-shadow:0 12px 30px #00000038;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:.86rem;letter-spacing:.03em;text-transform:uppercase}.zoomer-preview-button{color:#f3f1ebb8}.zoomer-preview-button:disabled{opacity:.42}.zoomer-toggle.is-active{background:linear-gradient(135deg,#bcff5838,#74ffd629),#ffffff17;color:#f3f1eb;box-shadow:inset 0 1px #ffffff1a,0 14px 34px #70ff9129}.topbar__summary-chip{min-width:190px;justify-content:space-between}.topbar__summary-chip--static{cursor:default}.topbar__pricing-chip{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:#ffffff0f;color:#f3f1eb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.avatar-badge{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:999px;color:#0a0b0c;font-weight:700;box-shadow:inset 0 0 0 2px #ffffff24,0 14px 24px #0000003d}.avatar-badge img{width:100%;height:100%;object-fit:cover}.avatar-badge--sm{width:46px;height:46px;font-size:.92rem}.avatar-badge--lg{width:56px;height:56px;font-size:1rem}.account-menu{position:relative}.account-menu__trigger{display:inline-flex;padding:0;border:0;background:transparent}.account-menu__panel{position:absolute;top:calc(100% + 12px);right:0;z-index:16;width:min(360px,calc(100vw - 32px));padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:28px;background:linear-gradient(180deg,#272b2ffa,#181b1ffa),#101214f0;box-shadow:0 32px 80px #0000006b;-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px)}.account-menu__identity{display:flex;align-items:center;gap:14px;margin-bottom:18px}.account-menu__identity div{display:grid;gap:4px}.account-menu__identity strong{font-size:1.1rem}.account-menu__identity span{color:#f3f1eb94}.account-menu__spotlight{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:18px;padding:16px 18px;border:1px solid rgba(215,255,0,.16);border-radius:22px;background:#ffffff0f;color:#f3f1eb}.account-menu__spotlight div{display:grid;gap:4px;text-align:left}.account-menu__spotlight div span{color:#f3f1eb9e;font-size:.9rem}.account-menu__spotlight-badge{padding:10px 14px;border-radius:16px;background:var(--accent-green);color:#111;font-weight:700}.account-menu__usage{display:grid;gap:10px;margin-bottom:18px}.account-menu__usage-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-menu__usage-row span,.account-menu__usage p{color:#f3f1eb9e}.account-menu__usage-bar{position:relative;overflow:hidden;height:12px;border-radius:999px;background:#9499a673}.account-menu__usage-bar span{display:block;height:100%;border-radius:inherit;background:var(--accent-green)}.account-menu__actions{display:grid;gap:8px;margin-bottom:16px}.account-menu__actions button,.account-menu__signout{display:flex;align-items:center;justify-content:flex-start;width:100%;padding:14px 16px;border:0;border-radius:18px;background:#ffffff0f;color:#f3f1eb}.account-menu__signout{color:#f3f1ebc7}.flow-overlay,.modal-frame{position:fixed;inset:0;z-index:22;display:grid;justify-items:center;align-items:center;padding:24px 16px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.flow-overlay--coachmark{align-items:flex-end}.flow-overlay__backdrop,.modal-frame__backdrop{position:absolute;inset:0;background:#040506c7;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.flow-overlay__content{position:relative;z-index:1;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:28px;overflow:auto;border:1px solid rgba(255,255,255,.08);border-radius:32px;background:linear-gradient(180deg,#21252af5,#111315f5),#0d0f11f5;box-shadow:0 32px 90px #00000073;-webkit-overflow-scrolling:touch}.flow-overlay__content--wide{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;width:min(1100px,calc(100vw - 48px))}.flow-overlay__content--coachmark{width:min(760px,calc(100vw - 32px));margin:0 auto}.flow-overlay__content--auth{width:min(640px,calc(100vw - 32px))}.flow-overlay__intro,.flow-auth{display:grid;gap:18px}.flow-overlay__intro h1,.flow-auth h2,.modal-frame__header h3{margin:0;font-size:clamp(2rem,3.6vw,3.6rem);line-height:.98;letter-spacing:-.04em}.flow-auth h2,.modal-frame__header h3{font-size:clamp(1.7rem,3vw,2.6rem)}.flow-overlay__intro p,.flow-auth p,.modal-frame__header p,.legal-modal p{margin:0;color:#f3f1ebad;line-height:1.6}.flow-pill{display:inline-flex;align-items:center;justify-content:center;width:fit-content;padding:9px 14px;border-radius:999px;background:#d7ff0024;color:#efffc0;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase}.flow-feature-list{display:grid;gap:12px}.feature-pill{display:grid;gap:6px;padding:16px 18px;border-radius:20px;background:#ffffff0d}.feature-pill span{color:#f3f1eba8}.flow-overlay__cta-row{display:flex;flex-wrap:wrap;gap:12px}.onboarding-stage{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:24px;align-items:stretch;min-height:min(720px,calc(100svh - 160px))}.onboarding-stage__copy{display:grid;align-content:start;gap:18px;padding:10px 6px 10px 2px}.onboarding-stage__cta-row{display:flex;flex-wrap:wrap;gap:12px}.onboarding-stage__note{margin:0;color:#f3f1eb85;font-size:.92rem}.onboarding-stage__demo{min-height:100%}.onboarding-stage__demo .flow-demo__window{min-height:100%;align-content:start}.flow-overlay__cta,.flow-auth__email-cta,.pricing-checkout__submit,.controls-paywall__cta,.settings-form__footer .accent-button{min-height:52px;border-radius:18px}.flow-overlay__secondary{min-height:52px;padding:0 18px}.flow-demo{display:flex;align-items:stretch}.flow-demo__window{display:grid;gap:18px;width:100%;padding:22px;border-radius:28px;background:#ffffff0a}.flow-demo__topbar{display:flex;gap:10px;flex-wrap:wrap}.flow-demo__topbar span{padding:8px 12px;border-radius:999px;background:#ffffff0f;color:#f3f1ebb8;font-size:.82rem}.flow-demo__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.demo-card{overflow:hidden;border-radius:24px;background:#ffffff0a}.demo-card__image{aspect-ratio:.82;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.28),transparent 36%),linear-gradient(135deg,#ffffff14,#fff0)}.demo-card--emerald .demo-card__image{background-color:#5a8a4857}.demo-card--violet .demo-card__image{background-color:#60488a47}.demo-card--steel .demo-card__image{background-color:#52606e47}.demo-card__meta{display:grid;gap:4px;padding:14px}.demo-card__meta span{color:#f3f1eb8f;font-size:.86rem}.flow-demo__prompt{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px;border-radius:24px;background:#ffffff0d}.flow-demo__prompt-copy{display:grid;gap:5px}.flow-demo__prompt-copy span{color:#f3f1eba3}.flow-auth__fields,.settings-form,.pricing-checkout__form{display:grid;gap:14px}.flow-auth__fields label,.settings-form label,.pricing-checkout__form label{display:grid;gap:8px}.flow-auth__fields span,.settings-form span,.pricing-checkout__form span{color:#f3f1eba8;font-size:.92rem}.flow-auth__fields input,.settings-form input,.settings-form textarea,.pricing-checkout__form input{min-height:52px;padding:0 16px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:#ffffff0d;color:#f3f1eb}.settings-form input:disabled,.settings-form input[readonly]{color:#f3f1eb7a;background:#ffffff08}.settings-form textarea{min-height:120px;padding:14px 16px;resize:vertical}.flow-auth__providers{display:grid;gap:12px}.flow-auth__provider{display:flex;align-items:center;gap:14px;min-height:56px;padding:6px 18px 6px 12px;border-radius:999px;background:#fff;color:#161616;text-align:left;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.flow-auth__provider:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 30px #0f0f0f47}.flow-auth__provider:disabled{opacity:.55}.flow-auth__provider-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:999px;background:#fff}.flow-auth__provider-icon svg{width:20px;height:20px}.flow-auth__provider-label{color:inherit;font-size:.98rem;font-weight:600;letter-spacing:-.01em}.flow-auth__provider--google{border:1px solid #747775;color:#1f1f1f;font-family:Roboto,Instrument Sans,system-ui,sans-serif}.flow-auth__provider--google .flow-auth__provider-icon{box-shadow:inset 0 0 0 1px #74777538}.flow-auth__provider--yandex{border:1px solid rgba(255,255,255,.14);box-shadow:0 0 0 1px #00000008}.flow-auth__hint{padding:12px 14px;border-radius:16px;background:#ffffff0d;color:#f3f1ebc7}.flow-auth__divider{display:flex;align-items:center;gap:12px;color:#f3f1eb80;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase}.flow-auth__divider:before,.flow-auth__divider:after{content:"";flex:1;height:1px;background:#ffffff14}.flow-checkbox{display:flex;align-items:flex-start;gap:12px;color:#f3f1ebad;line-height:1.5}.flow-checkbox input{margin-top:5px}.flow-checkbox button{padding:0;border:0;background:transparent;color:var(--accent-green)}.flow-checkbox--compact{margin-top:8px}.modal-frame__panel{position:relative;z-index:1;width:min(760px,calc(100vw - 32px));max-height:min(calc(100dvh - 48px),920px);margin:auto;padding:26px;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:32px;background:linear-gradient(180deg,#21252afa,#121416fa),#0c0e10fa;box-shadow:0 34px 100px #00000070}.modal-frame__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.modal-frame__close{width:44px;height:44px;border:0;border-radius:999px;background:#ffffff0f;color:#f3f1eb;font-size:1.6rem;line-height:1}.modal-frame__body{display:grid;gap:24px;min-height:0;overflow:auto;padding-right:4px;-webkit-overflow-scrolling:touch}.pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pricing-note{display:grid;gap:6px;padding:16px 18px;border-radius:22px;background:#ffffff0d}.pricing-note span,.pricing-checkout__hint{color:#f3f1eb9e}.pricing-note--pending{border:1px solid rgba(215,255,0,.18);background:linear-gradient(180deg,#d7ff0014,#ffffff0a)}.pricing-card{display:grid;gap:10px;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:24px;background:#ffffff0d;color:#f3f1eb;text-align:left}.pricing-card.is-active{border-color:#d7ff0075;box-shadow:0 0 0 1px #d7ff002e}.pricing-card__badge{width:fit-content;padding:7px 10px;border-radius:999px;background:#d7ff001f;color:#efffc0;font-size:.78rem;text-transform:uppercase}.pricing-card__price{font-size:1.6rem;font-weight:700}.pricing-card p{margin:0;color:#f3f1eb9e}.pricing-card__features{display:grid;gap:8px}.pricing-card__features span{color:#f3f1ebd1}.pricing-status-card{display:grid;gap:18px;padding:22px;border:1px solid rgba(215,255,0,.14);border-radius:28px;background:linear-gradient(180deg,#d7ff000f,#ffffff0a),#ffffff0a}.pricing-status-card h4{margin:0;font-size:1.45rem;line-height:1.15}.pricing-status-card p{margin:0;color:#f3f1ebad;line-height:1.55}.pricing-status-card__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pricing-status-card__meta span{display:grid;gap:5px;padding:14px 16px;border-radius:18px;background:#ffffff0d;color:#f3f1eb9e;font-size:.9rem}.pricing-status-card__meta strong{color:#f3f1eb;font-size:1rem}.pricing-status-card__actions{display:flex;flex-wrap:wrap;gap:12px}.pricing-status-card__secondary{min-height:52px;padding:0 18px;border-radius:18px}.pricing-checkout{display:grid;gap:18px;padding:22px;border-radius:28px;background:#ffffff0a}.pricing-checkout__header,.pricing-checkout__methods{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.pricing-checkout__methods button{padding:12px 16px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:#ffffff0a;color:#f3f1eb}.pricing-checkout__methods button.is-active{border-color:#d7ff0066;color:#f7ffd9}.pricing-checkout__hint{margin:0;line-height:1.55}.settings-form__footer{display:flex;justify-content:flex-end}.legal-modal{display:grid;gap:16px}.congrats-toast{position:fixed;right:24px;bottom:24px;z-index:21;display:flex;align-items:flex-end;gap:18px;width:min(520px,calc(100vw - 32px));padding:18px 20px;border:1px solid rgba(255,255,255,.08);border-radius:24px;background:linear-gradient(180deg,#23272cf5,#121416f5),#0e1012f5;box-shadow:0 32px 90px #0000006b}.congrats-toast div{display:grid;gap:6px}.congrats-toast p{margin:0;color:#f3f1ebad}@media(max-width:960px){.onboarding-stage{grid-template-columns:1fr;min-height:auto}.flow-overlay__content--wide,.flow-demo__grid,.pricing-grid{grid-template-columns:1fr}.flow-demo__prompt,.congrats-toast{flex-direction:column;align-items:stretch}}@media(max-width:640px){.flow-overlay,.modal-frame{padding:12px;align-items:end}.onboarding-stage{gap:18px;border-radius:28px;padding:18px}.onboarding-stage__copy{padding:0}.topbar__pricing-chip,.topbar__summary-chip{width:100%}.account-menu__panel{right:50%;transform:translate(50%)}.flow-overlay__content,.modal-frame__panel{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:20px;border-radius:28px}.prompt-dock__access-card,.congrats-toast{flex-direction:column;align-items:flex-start}.pricing-status-card__meta{grid-template-columns:1fr}}.zoomer-toggle__dot{width:9px;height:9px;border-radius:999px;background:#f3f1eb4d;transition:background .16s ease,box-shadow .16s ease}.zoomer-toggle.is-active .zoomer-toggle__dot{background:#d7ff00;box-shadow:0 0 0 5px #d7ff0024}.layout{max-width:var(--page-width);margin:0 auto}.layout--studio{min-height:calc(100svh - 96px);min-height:calc(100dvh - 96px);padding:8px 0 260px}.layout--studio.is-onboarding{padding-top:20px}.layout--studio.is-empty-gallery{flex:1 1 auto;min-height:calc(100svh - 96px);min-height:calc(100dvh - 96px);padding:8px 0 240px;display:flex;align-items:center}.panel,.gallery-card,.modal-card,.image-modal{background:#181a1cd1;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 80px #00000047}.panel{border-radius:36px;padding:22px}.panel--style{background:linear-gradient(180deg,#1c1f22fa,#141618f5),#121416f5}.panel__header,.modal-header,.modal-actions,.reference-composer__footer,.gallery-card__meta,.gallery-card__actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.panel__header h3,.modal-header h2{margin:6px 0 0;font-size:1.7rem;letter-spacing:-.05em;font-weight:500}.primary-button,.accent-button,.reveal-button{padding:14px 18px;border:1px solid rgba(184,255,67,.24);background:linear-gradient(135deg,#d7ff00,#beff2c);color:#101112;box-shadow:inset 0 1px #ffffff1f,0 10px 18px #b9ff1529;font-weight:600;will-change:transform,box-shadow,filter}.primary-button:disabled,.accent-button:disabled,.reveal-button:disabled{cursor:default;border-color:transparent;background:#ffffff24;color:#f3f1eb75;box-shadow:none;filter:none}.style-launch-button{width:100%;min-height:52px;border:0;border-radius:18px;background:#ffffff14;box-shadow:0 20px 40px #00000038;color:#f3f1eb;font-size:.95rem;letter-spacing:-.02em;font-weight:500;transition:background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}.ghost-button,.gallery-card__actions a,.gallery-card__actions button{--button-hover-ring: rgba(255, 255, 255, .18);--button-hover-fill-top: rgba(255, 255, 255, .1);--button-hover-fill-bottom: rgba(255, 255, 255, .04);--button-hover-surface: rgba(30, 33, 38, .94);--button-hover-shadow: rgba(0, 0, 0, .18);padding:10px 14px;background:#ffffff14;color:#f3f1eb;text-decoration:none}@media(hover:hover){.primary-button:not(:disabled):hover,.accent-button:not(:disabled):hover,.reveal-button:not(:disabled):hover,.ghost-button:not(:disabled):hover,.style-launch-button:not(:disabled):hover,.gallery-card__actions a:hover,.gallery-card__actions button:not(:disabled):hover{transform:translateY(-1px)}}@media(hover:hover){.primary-button:not(:disabled):hover,.accent-button:not(:disabled):hover,.reveal-button:not(:disabled):hover{background:linear-gradient(180deg,#f6ffb661,#ffffff0f),linear-gradient(135deg,#d7ff00,#beff2c);border-color:#b8ff4385;box-shadow:inset 0 1px #ffffff29,0 14px 32px #b9ff1547}.ghost-button:not(:disabled):hover,.style-launch-button:not(:disabled):hover,.gallery-card__actions a:hover,.gallery-card__actions button:not(:disabled):hover{background:linear-gradient(180deg,var(--button-hover-fill-top),var(--button-hover-fill-bottom)),var(--button-hover-surface);color:#f3f1ebf5;box-shadow:inset 0 0 0 1px var(--button-hover-ring),inset 0 1px #ffffff14,0 10px 24px var(--button-hover-shadow)}}.primary-button:not(:disabled):active,.accent-button:not(:disabled):active,.reveal-button:not(:disabled):active,.ghost-button:not(:disabled):active,.style-launch-button:not(:disabled):active,.gallery-card__actions a:active,.gallery-card__actions button:not(:disabled):active{transform:scale(.98)}.primary-button:not(:disabled):active,.accent-button:not(:disabled):active,.reveal-button:not(:disabled):active{background:linear-gradient(180deg,#f4ffa72e,#ffffff08),linear-gradient(135deg,#d7ff00,#beff2c);border-color:#b8ff435c;box-shadow:inset 0 1px #ffffff1f,0 8px 18px #b9ff1533}.field{display:grid;gap:10px;margin-top:18px}.field span{color:#f3f1ebb3}.field input,.field textarea{width:100%;border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:16px 18px;background:#ffffff0a;color:#f3f1eb;resize:vertical;outline:none}.field textarea:focus,.field input:focus{border-color:#d7ff0057;box-shadow:0 0 0 4px #d7ff0014}.muted{margin:0;color:#f3f1eb8f;max-width:30ch}.reference-composer{display:grid;grid-template-columns:1fr;gap:0;margin-top:18px;position:relative;border-radius:28px;border:1px solid rgba(255,255,255,.08);background:#ffffff0a;overflow:hidden}.reference-composer.is-dragging{border-color:#ffffff14;box-shadow:none}.reference-composer__text,.reference-composer__media{display:grid;gap:12px;padding:14px 16px}.reference-composer__heading{display:grid;gap:6px}.reference-composer__heading span{color:#f3f1ebb3}.reference-composer__helper{margin:0;color:#f3f1eb75}.reference-composer__text textarea{width:100%;border:0;padding:0;background:transparent;resize:none;outline:none;color:#f3f1eb;font-size:.96rem;line-height:1.34;overflow-wrap:anywhere}.reference-composer__text-accessory{display:grid;gap:10px}.reference-composer__text textarea::placeholder{color:#f3f1eb57;font-size:.9rem}.reference-composer.is-empty .reference-composer__text textarea::placeholder{font-size:.9rem}.reference-composer__overlay-action{position:absolute;right:10px;bottom:10px;z-index:2}.reference-composer__overlay-top-right-action{position:absolute;top:10px;right:10px;z-index:2}.reference-composer--dock .reference-composer__overlay-action{top:8px;bottom:8px;right:10px;display:flex;align-items:stretch}.reference-composer__media{align-content:start;border-top:1px solid rgba(255,255,255,.08);background:#ffffff05}.reference-composer__media--empty{align-content:center}.reference-composer__grid{display:flex;flex-wrap:wrap;gap:14px;cursor:pointer}.reference-composer__placeholder{display:contents}.reference-composer--dock{--reference-dock-overlay-reserve: 300px;margin-top:0;border-radius:18px;overflow:visible}.reference-composer--dock .reference-composer__text{order:2;padding:10px 10px 8px}.reference-composer--dock .reference-composer__text textarea{max-height:76px}.reference-composer--dock .reference-composer__media{order:1;gap:8px;border-top:0;padding:8px 10px 0;background:transparent;overflow:visible}.reference-composer--dock .reference-composer__grid{flex-wrap:nowrap;overflow-x:auto}.reference-composer--dock .reference-card,.reference-composer--dock .reference-composer__empty{flex:0 0 42px;width:42px;height:42px;border-radius:12px}.reference-composer--dock .reference-card img{object-fit:cover}.reference-composer--dock .reference-composer__media--empty{padding-bottom:0}.reference-composer--dock.is-empty .reference-composer__text{padding-top:12px}.reference-composer--dock.has-overlay-action .reference-composer__text{padding-right:calc(var(--reference-dock-overlay-reserve) + 10px);padding-bottom:10px}.reference-composer--dock.has-overlay-action .reference-composer__text textarea{min-height:40px}.reference-composer--dock.is-preview-open{visibility:hidden;pointer-events:none}.reference-composer--strip{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:14px;margin-top:0;border:0;border-radius:0;background:transparent;overflow:visible}.reference-composer--strip.is-text-hidden{grid-template-columns:minmax(0,1fr)}.reference-composer--strip .reference-composer__text,.reference-composer--strip .reference-composer__media{padding:0}.reference-composer--strip .reference-composer__text{gap:6px;min-width:0}.reference-composer--strip .reference-composer__text textarea{max-height:110px;padding:2px 0 4px;font-size:.9rem;line-height:1.38}.reference-composer--strip .reference-composer__media{position:relative;display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0;min-height:116px;border-top:0;border-left:1px solid rgba(255,255,255,.08);padding:12px 12px 12px 14px;border-radius:0 24px 24px 0;background:#ffffff08;cursor:pointer}.reference-composer--strip.is-text-hidden .reference-composer__media{min-height:128px;border-left:0;padding:12px 14px;border-radius:20px;background:radial-gradient(circle at 20% 20%,rgba(208,194,79,.08),transparent 34%),radial-gradient(circle at 82% 22%,rgba(126,102,255,.08),transparent 30%),#ffffff08}.reference-composer--strip.is-text-hidden .reference-composer__grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(72px,1fr);gap:8px;justify-content:stretch}.reference-composer--strip .reference-composer__grid{display:grid;grid-template-columns:repeat(4,minmax(0,48px));grid-auto-rows:48px;gap:8px;justify-content:center;align-content:center;overflow:visible}.reference-composer--strip.is-placeholder-only .reference-composer__grid,.reference-composer--strip.is-sparse-media .reference-composer__grid{grid-template-columns:repeat(3,minmax(0,68px));grid-auto-rows:68px;gap:10px}.reference-composer--strip.is-text-hidden.is-placeholder-only .reference-composer__grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(72px,1fr)}.reference-composer--strip .reference-card,.reference-composer--strip .reference-composer__empty{flex:0 0 48px;width:48px;height:48px;border-radius:14px}.reference-composer--strip.is-sparse-media .reference-card,.reference-composer--strip.is-sparse-media .reference-composer__empty{flex-basis:68px;width:68px;height:68px;border-radius:18px}.reference-composer--strip.is-text-hidden .reference-card,.reference-composer--strip.is-text-hidden .reference-composer__empty{width:100%;height:100%;min-height:72px;border-radius:16px}.reference-composer--strip.has-custom-empty-state .reference-composer__empty{flex:1 1 auto;width:100%;height:100%;min-height:104px;padding:12px;border-radius:24px;align-items:stretch}.reference-composer__empty{display:grid;place-items:center;padding:0;border:1px dashed rgba(255,255,255,.12);border-radius:24px;background:#ffffff0d;color:#f3f1eb94;text-align:center;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.reference-composer__empty-icon{width:16px;height:16px;fill:currentColor;transition:transform .16s ease,opacity .16s ease,color .16s ease}@media(hover:hover){.reference-composer__media:hover .reference-composer__empty{border-color:#ffffff2e;background:linear-gradient(180deg,#ffffff14,#ffffff08),#ffffff0d;box-shadow:inset 0 1px #ffffff14,0 10px 22px #0000001a}.reference-composer__media:hover .reference-composer__empty-icon{transform:translateY(-1px) scale(1.06)}}.lock-placeholder-card{display:grid;width:100%;height:100%;min-height:84px;padding:10px;border-radius:18px;background:linear-gradient(180deg,#ffffff0b,#ffffff06),#ffffff05;box-shadow:inset 0 0 0 1px #ffffff0f,0 12px 24px #0000001f;justify-items:center;align-content:center;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}.lock-placeholder-card__art{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;color:#f3f1ebd1;transition:transform .16s ease}.lock-placeholder-card__art svg{width:100%;height:100%}@media(hover:hover){.reference-composer__media:hover .lock-placeholder-card{transform:translateY(-1px);background:linear-gradient(180deg,#ffffff14,#ffffff08),#ffffff0d;box-shadow:inset 0 1px #ffffff14,inset 0 0 0 1px #ffffff14,0 10px 22px #0000001a}.reference-composer__media:hover .lock-placeholder-card__art{transform:translateY(-1px) scale(1.06)}}.branding-placeholder-card{display:grid;gap:5px;width:100%;height:100%;min-height:0;padding:5px 4px 6px;border-radius:14px;background:#ffffff0a;box-shadow:inset 0 0 0 1px #ffffff0f;justify-items:center;align-content:center;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}.style-placeholder-card{display:grid;width:100%;height:100%;min-height:0;padding:5px 4px 6px;border-radius:14px;background:#ffffff0a;box-shadow:inset 0 0 0 1px #ffffff0f;justify-items:center;align-content:center;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}.reference-composer--strip.is-placeholder-only .branding-placeholder-card{gap:6px;padding:8px 7px 10px;border-radius:18px}.reference-composer--strip.is-placeholder-only .style-placeholder-card{padding:8px 7px 10px;border-radius:18px}.branding-placeholder-card__label{display:block;width:100%;color:#f3f1eb8f;font-size:.78rem;line-height:1.08;letter-spacing:.01em;text-align:center;text-transform:none;text-wrap:balance}.branding-placeholder-card__art{position:relative;display:block;width:21px;height:21px;border-radius:6px;transition:transform .16s ease}.style-placeholder-card__art{position:relative;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;color:#f3f1ebc7;transition:transform .16s ease}.reference-composer--strip.is-placeholder-only .branding-placeholder-card__art{width:26px;height:26px;border-radius:10px}.reference-composer--strip.is-placeholder-only .style-placeholder-card__art{width:24px;height:24px}.style-placeholder-card__art svg{position:relative;z-index:1;width:100%;height:100%}.branding-placeholder-card__art--logo{border-radius:8px;background:radial-gradient(circle at 35% 35%,rgba(255,255,255,.18),transparent 34%),linear-gradient(145deg,#7c8afff5,#67d3ceb3)}.branding-placeholder-card__art--pattern{background:linear-gradient(135deg,rgba(255,255,255,.14) 25%,transparent 25%) -6px 0 / 12px 12px,linear-gradient(225deg,rgba(255,255,255,.14) 25%,transparent 25%) -6px 0 / 12px 12px,linear-gradient(315deg,rgba(255,255,255,.14) 25%,transparent 25%) 0 0 / 12px 12px,linear-gradient(45deg,rgba(255,255,255,.14) 25%,transparent 25%) 0 0 / 12px 12px,linear-gradient(145deg,#ffb867f5,#ff74a2d1)}.branding-placeholder-card__art--cube{width:23px;height:23px;position:relative;background:linear-gradient(145deg,#82e9d0f0,#6b91ffc7);clip-path:polygon(50% 0%,100% 27%,100% 73%,50% 100%,0% 73%,0% 27%);box-shadow:inset -8px -10px 18px #00000024,inset 8px 10px 14px #ffffff2e}.branding-placeholder-card__art--cube:before{content:"";position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none'%3E%3Cg opacity='0.72' shape-rendering='geometricPrecision'%3E%3Cpath d='M50 50V98.5' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M50 50L7 26.8' stroke='white' stroke-width='2.1' stroke-linecap='round'/%3E%3Cpath d='M50 50L93 26.8' stroke='white' stroke-width='2.1' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:100% 100%;opacity:.3}.reference-composer--strip.is-placeholder-only .branding-placeholder-card__art--cube{width:32px;height:32px}@media(hover:hover){.reference-composer__media:hover .branding-placeholder-card{transform:translateY(-1px);background:linear-gradient(180deg,#ffffff14,#ffffff08),#ffffff0d;box-shadow:inset 0 1px #ffffff14,inset 0 0 0 1px #ffffff14,0 10px 22px #0000001a}.reference-composer__media:hover .branding-placeholder-card__art{transform:translateY(-1px) scale(1.06)}.reference-composer__media:hover .style-placeholder-card{transform:translateY(-1px);background:linear-gradient(180deg,#ffffff14,#ffffff08),#ffffff0d;box-shadow:inset 0 1px #ffffff14,inset 0 0 0 1px #ffffff14,0 10px 22px #0000001a}.reference-composer__media:hover .style-placeholder-card__art{transform:translateY(-1px) scale(1.06)}}.detected-colors{display:flex;flex-wrap:wrap;gap:6px}.detected-colors__chip{display:inline-flex;align-items:center;gap:6px;min-height:24px;max-width:100%;padding:4px 7px 4px 4px;border-radius:999px;background:#ffffff0b;box-shadow:inset 0 0 0 1px #ffffff14}.detected-colors__chip--placeholder{background:linear-gradient(135deg,#fff1,#ffffff07),#ffffff05;box-shadow:inset 0 0 0 1px #ffffff14,0 10px 24px #00000029}.detected-colors__swatch{flex:0 0 auto;width:12px;height:12px;border-radius:999px;background:var(--detected-color);box-shadow:inset 0 0 0 1px #ffffff24}.detected-colors__swatch--placeholder{background:linear-gradient(115deg,#846afffa,#52e1d9f0,#ffb85cf0,#ff70aff0,#846afffa);background-size:240% 240%;box-shadow:inset 0 0 0 1px #ffffff2e,0 0 14px #7f95ff47;animation:detected-color-placeholder-shift 3.2s linear infinite}.detected-colors__swatch.is-generic{border-radius:6px;background:linear-gradient(135deg,#ffffff29,#ffffff0a),#ffffff0f}.detected-colors__label{min-width:0;overflow:hidden;color:#f3f1ebc2;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.detected-colors__remove{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;padding:0;border:0;border-radius:999px;background:#ffffff1a;color:#f3f1ebb8;opacity:0;transform:scale(.92);transition:opacity .14s ease,transform .14s ease,background .14s ease,color .14s ease}.detected-colors__remove svg{width:8px;height:8px}.detected-colors__chip:hover .detected-colors__remove,.detected-colors__chip:focus-within .detected-colors__remove,.detected-colors__remove:focus-visible{opacity:1;transform:scale(1)}.detected-colors__remove:hover,.detected-colors__remove:focus-visible{background:#ff6c6c2e;color:#ffd3d3}@keyframes detected-color-placeholder-shift{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.reference-card{margin:0;position:relative;flex:0 0 160px;width:160px;height:160px;border-radius:24px}.reference-card.is-sorting{z-index:3}.reference-card__preview{position:relative;width:100%;height:100%;padding:0;border:0;background:transparent;border-radius:inherit;overflow:hidden;cursor:pointer;transition:transform .16s ease}.reference-card__preview.is-draggable{cursor:pointer}.reference-card__preview.is-draggable:active{cursor:grabbing}.reference-card__image{position:relative;isolation:isolate;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:inherit;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.reference-card__image--color{isolation:isolate;background:radial-gradient(circle at 22% 18%,color-mix(in srgb,var(--reference-preview-color, #6c63ff) 78%,white 6%) 0%,transparent 48%),radial-gradient(circle at 82% 78%,color-mix(in srgb,var(--reference-preview-color, #6c63ff) 62%,rgba(255,255,255,.08)) 0%,transparent 44%),linear-gradient(145deg,color-mix(in srgb,var(--reference-preview-color, #6c63ff) 76%,rgba(30,24,43,.95)),color-mix(in srgb,var(--reference-preview-color, #6c63ff) 46%,rgba(15,16,20,.94)) 62%,#0b0d11fa);box-shadow:inset 0 1px #ffffff1f,inset 0 0 0 1px color-mix(in srgb,var(--reference-preview-color, #6c63ff) 28%,rgba(255,255,255,.12))}.reference-card__upload-preview{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;opacity:.25;transform:scale(1.02);pointer-events:none;filter:saturate(.92)}.reference-card__image--color:before,.reference-card__image--color:after{content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:inherit}.reference-card__image--color:before{inset:-24%;background:radial-gradient(circle at 22% 24%,color-mix(in srgb,var(--reference-preview-color, #6c63ff) 54%,transparent) 0%,transparent 42%),radial-gradient(circle at 78% 70%,color-mix(in srgb,var(--reference-preview-color, #6c63ff) 48%,transparent) 0%,transparent 38%),linear-gradient(135deg,color-mix(in srgb,var(--reference-preview-color, #6c63ff) 18%,transparent),#ffffff05);filter:blur(24px);opacity:.4;transform:scale(1)}.reference-card__image--color:after{inset:-24%;z-index:1;background:radial-gradient(circle at center,rgba(255,255,255,.16) 0%,rgba(255,255,255,.08) 24%,transparent 62%),linear-gradient(112deg,transparent 12%,rgba(255,255,255,.02) 28%,color-mix(in srgb,white 24%,var(--reference-preview-color, #6c63ff) 28%) 46%,rgba(255,255,255,.22) 50%,color-mix(in srgb,white 16%,var(--reference-preview-color, #6c63ff) 20%) 54%,rgba(255,255,255,.02) 72%,transparent 88%);filter:blur(14px);opacity:.54;transform:translate3d(-68%,0,0) scale(1.08);will-change:transform,opacity}.reference-card.is-uploading .reference-card__image--color{border-color:color-mix(in srgb,var(--reference-preview-color, #6c63ff) 38%,rgba(243,241,235,.18))}.reference-card.is-uploading .reference-card__image--color:before{animation:gallery-loading-breathe 4.2s ease-in-out infinite}.reference-card.is-uploading .reference-card__image--color:after{animation:reference-upload-sweep 3.8s cubic-bezier(.4,0,.2,1) infinite}.reference-card.is-failed .reference-card__image--color{background:radial-gradient(circle at 20% 18%,rgba(255,136,93,.36),transparent 42%),linear-gradient(145deg,#46222bf5,#120f14f5);border-color:#ff84526b}.reference-card__status{position:absolute;right:8px;bottom:8px;z-index:3;max-width:calc(100% - 16px);padding:4px 7px;border-radius:999px;background:#090a0d9e;color:#f3f1ebd6;font-size:.62rem;font-weight:700;letter-spacing:.02em;line-height:1}.reference-card__status--error{background:#421c1fc2;color:#ffcfb8f0}@media(hover:hover){.reference-card__preview:hover{transform:translateY(-1px)}}.reference-card__preview:hover .reference-card__image:not(.reference-card__image--color),.reference-card__preview:focus-visible .reference-card__image:not(.reference-card__image--color){border-color:#ffffff29;background:linear-gradient(180deg,#ffffff14,#ffffff08),#ffffff0d;box-shadow:inset 0 1px #ffffff14,0 10px 22px #0000001f}.reference-card__remove{position:absolute;top:-6px;right:-6px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:0;border-radius:999px;background:#0b0c0eeb;color:#faf9f3;box-shadow:0 8px 20px #00000047;line-height:1;opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s ease,background .14s ease}.reference-card__remove svg{width:11px;height:11px}.reference-card:hover .reference-card__remove,.reference-card:focus-within .reference-card__remove,.reference-card.is-failed .reference-card__remove,.reference-card__remove:focus-visible{opacity:1;pointer-events:auto}.reference-composer--dock .reference-card__remove{top:3px;right:3px}.reference-card img{width:100%;height:100%;object-fit:contain;object-position:center}.reference-composer--strip .reference-card img{object-fit:cover;object-position:center}.lock-strip .reference-card img{object-fit:cover;object-position:center 20%}.reference-composer__footer{color:#f3f1eb94;font-size:.82rem;justify-content:flex-start}.reference-composer--strip .reference-composer__footer{position:absolute;right:12px;bottom:10px;justify-content:flex-end}.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,500px),1fr));gap:8px}.gallery-shell{width:100%}.gallery--empty{display:grid;width:100%;min-height:calc(100svh - 220px);min-height:calc(100vh - 220px);place-items:center}.layout--studio.is-empty-gallery .gallery--empty{flex:1 1 auto;min-height:100%;height:100%}.gallery-empty{display:grid;gap:12px;margin:0 auto;justify-items:center;text-align:center;color:#f3f1ebb3}.gallery-empty h2{margin:0;font-size:clamp(1.6rem,3vw,2.4rem);letter-spacing:-.04em;font-weight:500}.gallery-card{--gallery-card-radius: 12px;position:relative;border:0;border-radius:var(--gallery-card-radius);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;overflow:hidden;background:transparent;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.gallery-card:hover{transform:translateY(-2px);box-shadow:0 28px 60px #00000047}.gallery-card.is-selected{box-shadow:0 28px 60px #0000004d}.gallery-card__frame{position:relative;aspect-ratio:4 / 3;overflow:hidden;border-radius:inherit;background:transparent}.gallery-card__frame:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px #f3f1eb38;pointer-events:none;z-index:4}.gallery-card.is-selected .gallery-card__frame:after{box-shadow:inset 0 0 0 1px #d7ff0066}.gallery-card__preview{position:relative;display:block;width:100%;height:100%;padding:0;border:0;background:transparent;border-radius:inherit;overflow:hidden;cursor:zoom-in}.viewport-image{display:block;width:100%;height:100%}.gallery-card img,.gallery-card__deferred-surface{width:100%;height:100%}.gallery-card img{object-fit:cover}.gallery-card__deferred-surface{display:block;background:linear-gradient(135deg,#362c57f0,#13141afa),radial-gradient(circle at 20% 18%,rgba(139,116,255,.34),transparent 42%),radial-gradient(circle at 80% 72%,rgba(215,255,0,.08),transparent 38%);animation:gallery-loading-breathe 2.4s ease-in-out infinite}.gallery-card.is-pending{box-shadow:0 28px 60px #00000047}.gallery-card.is-failed{box-shadow:0 28px 60px #00000038}.gallery-card.is-pending .gallery-card__frame:after{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--gallery-loading-accent, rgba(154, 143, 255, .92)) 38%,rgba(243,241,235,.18))}.gallery-card.is-failed .gallery-card__frame:after{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--gallery-loading-accent, rgba(154, 143, 255, .92)) 18%,rgba(255,132,82,.44))}.gallery-card.is-pending .gallery-card__style-pin{top:14px;bottom:auto;left:14px;z-index:3;max-width:calc(100% - 28px)}.gallery-card__loading-surface{--gallery-loading-accent: rgba(154, 143, 255, .92);position:relative;isolation:isolate;width:100%;height:100%;overflow:hidden;border-radius:inherit;background:radial-gradient(circle at 22% 18%,color-mix(in srgb,var(--gallery-loading-accent) 74%,white 6%) 0%,transparent 46%),radial-gradient(circle at 78% 76%,color-mix(in srgb,var(--gallery-loading-accent) 62%,rgba(255,255,255,.08)) 0%,transparent 44%),linear-gradient(145deg,color-mix(in srgb,var(--gallery-loading-accent) 78%,rgba(28,23,42,.94)),color-mix(in srgb,var(--gallery-loading-accent) 42%,rgba(16,17,20,.9)))}.gallery-card__loading-surface--overlay{position:absolute;inset:0;background:linear-gradient(180deg,#07090b1f,#07090b70),radial-gradient(circle at 22% 18%,color-mix(in srgb,var(--gallery-loading-accent) 48%,rgba(255,255,255,.08)) 0%,transparent 46%),radial-gradient(circle at 78% 76%,color-mix(in srgb,var(--gallery-loading-accent) 34%,rgba(255,255,255,.04)) 0%,transparent 44%)}.gallery-card__loading-surface:before,.gallery-card__loading-surface:after{content:"";position:absolute;inset:-24%;pointer-events:none}.gallery-card__loading-surface:before{background:radial-gradient(circle at 22% 24%,color-mix(in srgb,var(--gallery-loading-accent) 54%,transparent) 0%,transparent 42%),radial-gradient(circle at 78% 70%,color-mix(in srgb,var(--gallery-loading-accent) 48%,transparent) 0%,transparent 38%),linear-gradient(135deg,color-mix(in srgb,var(--gallery-loading-accent) 18%,transparent),#ffffff05);filter:blur(28px);opacity:.42;transform:scale(1);animation:gallery-loading-breathe 3.2s ease-in-out infinite}.gallery-card__loading-surface:after{background:radial-gradient(circle at center,rgba(255,255,255,.16) 0%,rgba(255,255,255,.08) 24%,transparent 62%),linear-gradient(112deg,transparent 12%,rgba(255,255,255,.02) 28%,color-mix(in srgb,white 24%,var(--gallery-loading-accent) 28%) 46%,rgba(255,255,255,.22) 50%,color-mix(in srgb,white 16%,var(--gallery-loading-accent) 20%) 54%,rgba(255,255,255,.02) 72%,transparent 88%);filter:blur(14px);opacity:.54;transform:translate3d(-64%,0,0) scale(1.08);will-change:transform,opacity}.gallery-card.is-pending .gallery-card__loading-surface:after{animation:reference-upload-sweep 3.6s cubic-bezier(.4,0,.2,1) infinite}.gallery-card__loading-surface--failed{background:radial-gradient(circle at 18% 18%,color-mix(in srgb,var(--gallery-loading-accent) 28%,rgba(255,154,102,.72)) 0%,transparent 44%),radial-gradient(circle at 78% 80%,rgba(255,132,82,.18) 0%,transparent 38%),linear-gradient(145deg,#3a232ff0,#120f13f5)}.gallery-card__loading-surface--failed:before{animation:none;opacity:.3}.gallery-card__loading-surface--failed:after{background:linear-gradient(180deg,rgba(255,255,255,.08),transparent 24%,rgba(0,0,0,.2)),linear-gradient(115deg,transparent 18%,rgba(255,150,96,.1) 50%,transparent 82%)}.gallery-card__loading-copy{position:absolute;inset:auto 18px 18px;z-index:2;display:grid;gap:4px;justify-items:start;color:#f3f1ebf0}.gallery-card.is-pending .gallery-card__loading-copy{inset:auto 18px 18px;z-index:2;gap:8px;max-width:min(30ch,calc(100% - 36px))}.gallery-card__loading-copy span{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:#0b0d0f85;color:#f3f1ebb8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font-size:.74rem;letter-spacing:.04em;text-transform:uppercase}.gallery-card__loading-copy strong{font-size:1.04rem;font-weight:500;letter-spacing:-.03em;line-height:1.08;text-wrap:balance}.gallery-card__loading-copy--failed span{background:#30120e94;color:#ffd1bce6}.gallery-card__loading-copy--failed strong{max-width:min(32ch,calc(100% - 36px));font-size:.92rem;line-height:1.22;color:#f3f1ebdb}.gallery-card__select,.gallery-card__failed-delete,.gallery-card__icon-actions button,.gallery-card__icon-actions a,.gallery-modal__close,.gallery-modal__actions button,.gallery-modal__actions a,.gallery-selection-bar button{border:0;text-decoration:none;transition:transform .16s ease,background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,opacity .16s ease}.gallery-card__select{position:absolute;top:12px;left:12px;z-index:5;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:12px;background:#0c0e108a;color:transparent;box-shadow:inset 0 0 0 1px #ffffff2e,0 12px 24px #0000002e;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);opacity:0;pointer-events:none}.gallery-card__select svg{width:16px;height:16px}.gallery-card__select.is-selected{background:linear-gradient(135deg,#d7ff00f5,#aeff5ceb);color:#0f1112;box-shadow:inset 0 0 0 1px #ffffff29,0 16px 30px #b9ff152e}.gallery-card:hover .gallery-card__select,.gallery-card:focus-within .gallery-card__select,.gallery-card__select.is-selected{opacity:1;pointer-events:auto}.gallery-card.is-failed .gallery-card__frame,.gallery-card.is-failed .gallery-card__preview{cursor:pointer}.gallery-card__failed-delete{position:absolute;top:12px;left:50%;z-index:5;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border-radius:999px;background:#1e0b0ec2;color:#ffe8e0f5;box-shadow:inset 0 0 0 1px #ffb89c3d,0 14px 28px #3a141047;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);opacity:0;pointer-events:none;transform:translate(-50%,-4px) scale(.96)}.gallery-card__failed-delete svg{width:18px;height:18px}.gallery-card.is-failed:hover .gallery-card__failed-delete,.gallery-card.is-failed:focus-within .gallery-card__failed-delete,.gallery-card__failed-delete:focus-visible{opacity:1;pointer-events:auto;transform:translate(-50%) scale(1)}.gallery-card__overlay{position:absolute;inset:0;z-index:3;display:flex;align-items:flex-end;justify-content:flex-end;padding:12px;background:linear-gradient(180deg,#08090a2e,#08090a0a 28%,#08090a94);opacity:0;pointer-events:none;transition:opacity .18s ease}.gallery-card:hover .gallery-card__overlay,.gallery-card:focus-within .gallery-card__overlay,.gallery-card.is-selected .gallery-card__overlay{opacity:1;pointer-events:none}.gallery-card__style-pin{position:absolute;left:12px;bottom:12px;z-index:2;max-width:min(calc(100% - 156px),280px);pointer-events:none}.gallery-card__variant-badge,.gallery-modal__variant-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;background:#0b0d0fb3;color:#f3f1ebf0;box-shadow:inset 0 0 0 1px #ffffff24,0 12px 28px #00000038;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.gallery-card__variant-badge{position:absolute;top:12px;right:12px;z-index:3;max-width:calc(100% - 88px)}.gallery-style-chip{max-width:100%;cursor:default;-webkit-user-select:none;user-select:none;touch-action:auto;white-space:nowrap}.gallery-style-chip .style-chip__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-card__icon-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;align-self:flex-end;pointer-events:auto}.gallery-card__icon-actions button,.gallery-card__icon-actions a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border-radius:14px;background:#0c0e1094;color:#f3f1ebe6;box-shadow:inset 0 0 0 1px #ffffff14,0 14px 26px #0000002e;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.gallery-card__icon-actions button:hover,.gallery-card__icon-actions a:hover,.gallery-modal__actions button:hover,.gallery-modal__actions a:hover,.gallery-modal__close:hover,.gallery-selection-bar button:hover{transform:translateY(-1px)}.gallery-card__icon-actions svg,.gallery-modal__close svg{width:18px;height:18px}.gallery-card__icon-actions [aria-label="Скопировать стиль"] svg{width:17px;height:17px}.gallery-card__timings{display:flex;gap:8px;flex-wrap:wrap}.gallery-card__timings span{padding:6px 10px;border-radius:999px;background:#ffffff14;color:#f3f1ebb8;font-size:.8rem}.gallery-card__prompt{margin:0;padding:0 16px 16px;color:#f3f1ebb8;white-space:pre-wrap;font-family:Instrument Sans,sans-serif}.gallery-card__debug-panel{display:grid;gap:14px;padding:0 16px 16px}.gallery-card__debug-label{padding:0;color:#f3f1eb85;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}.gallery-card__debug-section{display:grid;gap:8px}.gallery-card__debug-heading{color:#f3f1ebe6;font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.gallery-card__debug-count{color:#f3f1eb80;font-weight:500}.gallery-card__debug-text{margin:0;color:#f3f1ebcc;line-height:1.5;font-size:.92rem}.gallery-card__debug-text--muted{color:#f3f1eb94}.gallery-card__debug-tags{display:flex;flex-wrap:wrap;gap:8px}.gallery-card__debug-tag{padding:6px 10px;border-radius:999px;background:#ffffff14;color:#f3f1ebb8;font-size:.78rem}.gallery-card__debug-reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px}.gallery-card__debug-reference{display:grid;gap:6px;margin:0}.gallery-card__debug-reference-frame{position:relative;aspect-ratio:1;overflow:hidden;border-radius:14px;background:#ffffff0a;border:1px solid rgba(255,255,255,.08)}.gallery-card__debug-reference-frame .viewport-image,.gallery-card__debug-reference-frame .gallery-card__deferred-surface{width:100%;height:100%;display:block}.gallery-card__debug-reference-image{width:100%;height:100%;object-fit:cover;display:block}.gallery-card__debug-reference-name{color:#f3f1eb99;font-size:.78rem;line-height:1.35;word-break:break-word}.gallery-card__debug-locks{display:grid;gap:10px}.gallery-card__debug-lock{display:grid;gap:6px;padding:12px;border-radius:14px;background:#ffffff0a;border:1px solid rgba(255,255,255,.06)}.gallery-card__debug-lock-title{color:#f3f1ebe0;font-size:.9rem;font-weight:700}.gallery-card__debug-raw{border-top:1px solid rgba(255,255,255,.08);padding-top:12px}.gallery-card__debug-raw summary{cursor:pointer;color:#f3f1ebb8;font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.gallery-card__prompt--modal{flex:1 1 auto;padding:16px 4px 0 0;min-height:0;height:100%;max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.gallery-selection-bar{position:fixed;top:86px;right:max(24px,calc((100vw - var(--page-width)) / 2 + 24px));z-index:13;display:inline-flex;align-items:center;gap:8px;padding:6px;border:1px solid rgba(255,156,156,.16);border-radius:20px;background:linear-gradient(180deg,#1f181bf5,#161315eb),#181a1cf0;color:#f3f1ebeb;box-shadow:0 24px 54px #00000052,inset 0 1px #ffffff0d;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.gallery-selection-bar__count{padding:0 12px 0 14px;font-size:.88rem;letter-spacing:-.02em}.gallery-selection-bar__cancel,.gallery-selection-bar__delete{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;transition:transform .16s ease,opacity .16s ease,background .16s ease,border-color .16s ease,color .16s ease}.gallery-selection-bar__cancel{width:42px;min-width:42px;padding:0;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:#ffffff0f;color:#f3f1ebd1}.gallery-selection-bar__delete{padding:0 18px;border-radius:16px;background:linear-gradient(180deg,#7b3d42f5,#673037eb),#ff5e5e2e;color:#ffe1e1;font-size:.92rem;box-shadow:inset 0 1px #ffffff0f,0 14px 28px #49181f47}.gallery-selection-bar__cancel:hover,.gallery-selection-bar__delete:hover{transform:translateY(-1px)}.gallery-selection-bar__cancel:disabled,.gallery-selection-bar__delete:disabled{opacity:.7;cursor:default}.gallery-selection-bar__cancel svg,.gallery-selection-bar__delete svg{width:18px;height:18px}.controls-stack{position:fixed;left:50%;bottom:18px;z-index:14;display:grid;gap:10px;width:min(960px,calc(100vw - 28px));max-height:calc(100dvh - 112px);overflow-y:auto;overscroll-behavior:contain;transform:translate(-50%);transition:opacity .18s ease,visibility .18s ease,transform .18s ease}.controls-stack::-webkit-scrollbar{display:none}.controls-stack.is-hidden{opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%) translateY(18px)}.zoomer-popup{position:fixed;right:max(24px,calc((100vw - var(--page-width)) / 2 + 24px));bottom:244px;z-index:18;display:inline-flex;align-items:flex-start;gap:12px;pointer-events:none}.zoomer-popup__window{position:relative;width:min(420px,calc(100vw - 112px));aspect-ratio:2.22 / 1;border-radius:28px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:linear-gradient(180deg,#1c1f22fa,#111315f5),#111315f5;box-shadow:0 24px 70px #00000057;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);pointer-events:auto}.zoomer-popup__frame{width:100%;height:100%;border:0;background:transparent}.zoomer-popup__notice{position:absolute;top:14px;left:14px;z-index:2;display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:999px;background:#0c0d0f99;color:#f3f1eba8;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:inset 0 1px #ffffff0f;font-size:.78rem;letter-spacing:-.01em;opacity:0;pointer-events:none;transition:background .18s ease,color .18s ease,box-shadow .18s ease}.zoomer-popup__notice.is-visible{opacity:1}.zoomer-popup__notice.is-ready{background:#0c140db8;color:#f3f1eb;box-shadow:inset 0 1px #ffffff14,0 10px 24px #6eff8b24}.zoomer-popup__notice.is-playing{background:#0c0d0fc2;color:#f3f1ebdb}.zoomer-popup__notice-dot{width:8px;height:8px;border-radius:999px;background:#f3f1eb4d;transition:background .18s ease,box-shadow .18s ease}.zoomer-popup__notice.is-playing .zoomer-popup__notice-dot{background:#f3f1eb94;box-shadow:0 0 0 6px #f3f1eb14}.zoomer-popup__notice.is-ready .zoomer-popup__notice-dot{background:#90ff7f;box-shadow:0 0 0 6px #90ff7f24}.zoomer-popup__close{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:0;border-radius:999px;background:#181a1ceb;color:#f3f1ebd1;box-shadow:0 16px 36px #00000047;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);pointer-events:auto}.zoomer-popup__close svg{width:15px;height:15px}.style-strip,.prompt-dock{background:#181a1ceb;-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px);border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 80px #00000059}.style-strip{position:relative;display:grid;gap:16px;padding:14px;border-radius:22px;overflow:hidden;isolation:isolate}.style-strip:not(.lock-strip){gap:12px;padding:12px;border-radius:20px}.style-strip__header{display:flex;align-items:center;justify-content:space-between;gap:14px}.style-strip__name{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 auto}.style-strip__swatch{flex:0 0 auto;width:12px;height:12px;border-radius:999px;box-shadow:0 0 0 1px #ffffff2e}.style-strip__name-input{width:100%;min-width:0;border:0;padding:0;background:transparent;color:#f3f1eb;font-size:.98rem;letter-spacing:-.03em;line-height:1.2;outline:none}.style-strip:not(.lock-strip) .style-strip__name-input{font-size:.92rem}.style-strip__name-input::placeholder{color:#f3f1eb85}.style-strip__header-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto}.style-icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:999px;background:#ffffff0f;color:#f3f1ebb8;transition:background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease;cursor:pointer}.style-icon-button:hover{background:linear-gradient(180deg,#ffffff1a,#ffffff0a),#1c1f23e6;color:#f3f1eb;transform:translateY(-1px);box-shadow:inset 0 0 0 1px #ffffff2e,inset 0 1px #ffffff14,0 10px 20px #00000029}.style-icon-button.is-active{background:#ffffff24;color:#f3f1eb;box-shadow:0 10px 20px #0000002e}.style-icon-button:active{transform:scale(.98)}.style-icon-button--danger.is-active{background:#ff6c6c29;color:#ffb8b8}.style-icon-button svg{width:14px;height:14px;fill:currentColor;flex:0 0 auto;cursor:pointer}.style-strip__body{display:grid;grid-template-columns:minmax(0,1fr) 164px;align-items:stretch;gap:12px}.style-strip:not(.lock-strip) .style-strip__body{grid-template-columns:minmax(0,1fr) 144px;gap:10px}.style-strip__submit{width:100%;height:100%;min-height:70px;border-radius:18px;font-size:.83rem}.style-strip:not(.lock-strip) .style-strip__submit{min-height:62px;border-radius:16px;font-size:.78rem}.style-chip{--style-chip-color: rgba(255, 255, 255, .5);display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;padding:8px 12px;border:1px solid color-mix(in srgb,var(--style-chip-color) 20%,transparent);border-radius:999px;background:color-mix(in srgb,var(--style-chip-color) 14%,rgba(255,255,255,.04));color:#f3f1eb8f;opacity:.68;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;transition:opacity .16s ease,transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease;font-size:.82rem;line-height:1}.style-chip--compact{padding:7px 11px}.style-chip:hover{opacity:.86;color:#f3f1ebeb;border-color:color-mix(in srgb,var(--style-chip-color) 44%,transparent);background:color-mix(in srgb,var(--style-chip-color) 22%,rgba(255,255,255,.06))}.style-chip:not(.is-delete-mode):not(.is-sorting):not(.is-pending):hover{transform:translateY(-1px);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--style-chip-color) 26%,transparent),0 10px 24px #00000024}.style-chip:not(.is-delete-mode):not(.is-sorting):not(.is-pending):active{transform:scale(.98)}.style-chip.is-active{opacity:1;color:#f3f1eb;border-color:color-mix(in srgb,var(--style-chip-color) 60%,transparent);background:color-mix(in srgb,var(--style-chip-color) 26%,rgba(255,255,255,.08));box-shadow:0 10px 24px #00000029}.style-chip.is-delete-mode{cursor:pointer;border-style:dashed;color:#ffddddf0;border-color:#ff7070c7;background:#8c1a1a2e;box-shadow:inset 0 0 0 1px #ff707029,0 10px 24px #7016162e;animation:style-chip-wobble 1.9s ease-in-out infinite}.style-chip.is-delete-mode .style-chip__dot{background:#ff7d7d}.style-chip.is-delete-mode:hover,.style-chip.is-delete-mode:focus-visible{opacity:1;color:#ffd7d7;border-color:#ff7070e6;background:#8c1a1a38;box-shadow:0 10px 24px #7016163d}.style-chip.is-delete-mode:hover .style-chip__dot,.style-chip.is-delete-mode:focus-visible .style-chip__dot{background:#ff7d7d}.style-chip.is-sorting{opacity:1;z-index:3;box-shadow:0 16px 34px #00000047;cursor:grabbing}.style-chip.is-pending{cursor:default;opacity:.62;animation:style-chip-pulse 1.6s ease-in-out infinite}.style-chip.is-failed{cursor:default;opacity:.96;color:#ffd7d7;border-color:#ff7070d1;background:linear-gradient(180deg,#a41c1c38,#ffffff0d),#1c1f23eb;box-shadow:inset 0 0 0 1px #ff808038,0 10px 24px #70161633}.style-chip.is-failed .style-chip__dot{background:#ff8c8c}.style-chip__dot{flex:0 0 auto;width:8px;height:8px;border-radius:999px;background:var(--style-chip-color)}.style-chip__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-chip--static{cursor:default;pointer-events:none}.modal-shell{position:fixed;inset:0;display:grid;place-items:center;padding:24px;overflow-y:auto;background:#0b0c0e99;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);z-index:20}.image-modal-shell{z-index:40;background:#06080ae6;-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px)}.modal-card{width:min(860px,100%);max-height:calc(100vh - 48px);overflow:auto;border-radius:36px;padding:22px}.modal-card--prompt{width:min(1320px,100%);height:min(calc(100vh - 32px),980px);max-height:none;display:flex;flex-direction:column;overflow:hidden}.image-modal{width:min(1000px,calc(100vw - 48px));max-height:calc(100vh - 48px);display:flex;align-items:center;justify-content:center;border-radius:36px;padding:16px}.image-modal img{width:auto;max-width:100%;max-height:calc(100vh - 80px);border-radius:24px;object-fit:contain}.gallery-modal-shell{padding:22px}.gallery-modal{position:relative;width:min(1440px,100%);max-height:calc(100vh - 44px);display:grid;justify-items:center}.gallery-modal__close{position:absolute;top:18px;right:18px;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border-radius:14px;background:#0b0d0fa3;color:#f3f1eb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.gallery-modal__frame{position:relative;display:inline-flex;width:fit-content;max-width:min(100%,calc(100vw - 44px));max-height:calc(100vh - 180px);overflow:hidden;border-radius:32px;background:#121416f5;border:1px solid rgba(255,255,255,.08);box-shadow:0 28px 90px #00000052;cursor:zoom-out}.gallery-modal__frame img{display:block;width:auto;height:auto;max-width:min(100%,calc(100vw - 44px));max-height:calc(100vh - 180px);object-fit:contain;background:#0b0c0e80;cursor:default}.gallery-modal__style-pin{position:absolute;top:18px;left:18px;z-index:2;max-width:calc(100% - 92px)}.gallery-modal__style-pin .gallery-style-chip{pointer-events:none}.gallery-modal__variant-badge{position:absolute;top:18px;right:18px;z-index:2;max-width:calc(100% - 172px)}.gallery-modal__actions{position:absolute;right:18px;bottom:18px;z-index:2;display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}.gallery-modal__actions button,.gallery-modal__actions a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:0 16px;border-radius:14px;background:#0b0d0fad;color:#f3f1eb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:inset 0 0 0 1px #ffffff14,0 16px 30px #0003}.gallery-modal__actions svg{width:18px;height:18px;flex:0 0 auto}.gallery-modal__actions span{white-space:nowrap}.prompt-dock{padding:10px;border-radius:20px;transition:opacity .18s ease,transform .18s ease,visibility .18s ease}.prompt-dock.is-hidden{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px)}.prompt-dock__header{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:4px;transform:translateY(-3px)}.prompt-dock__title{min-width:0;flex:1 1 auto;display:flex;justify-content:stretch}.prompt-dock__access-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px;padding:12px 14px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:#ffffff0a}.prompt-dock__access-card.is-locked{border-color:#d7ff002e;background:linear-gradient(180deg,#d7ff0014,#ffffff0a),#ffffff0a}.prompt-dock__access-card div{display:grid;gap:4px}.prompt-dock__access-card span{color:#f3f1eb9e;line-height:1.45}.prompt-dock__access-badge{display:inline-flex;align-items:center;justify-content:center;min-width:72px;min-height:34px;padding:0 12px;border-radius:999px;background:#ffffff0f;color:#f3f1eb;font-size:.86rem;font-weight:600;white-space:nowrap}.prompt-dock__preset-stack{display:grid;gap:8px;width:100%;min-width:0;justify-items:stretch}.prompt-dock__style-row{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;width:max-content;min-width:100%}.prompt-dock__submit{min-width:142px;min-height:42px;border-radius:18px}.prompt-dock__style-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0}.prompt-dock__style-scroll{min-width:0;flex:1 1 auto;overflow-x:auto;overflow-y:visible;padding:3px 0 5px;margin:-3px 0 -5px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x;scroll-snap-type:x proximity;scrollbar-width:none}.prompt-dock__style-scroll::-webkit-scrollbar{display:none}.prompt-dock__style-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}.prompt-dock__style-divider{width:1px;height:24px;flex:0 0 auto;background:#ffffff1f;margin:0 2px}.prompt-dock__style-trigger{--button-hover-ring: rgba(214, 141, 230, .38);--button-hover-fill-top: rgba(214, 141, 230, .26);--button-hover-fill-bottom: rgba(155, 129, 232, .12);--button-hover-surface: rgba(54, 41, 74, .92);--button-hover-shadow: rgba(115, 79, 171, .18);display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:82px;min-height:32px;padding:7px 12px;border-radius:999px;background:linear-gradient(135deg,#d68de638,#866cde2e);box-shadow:inset 0 1px #ffffff14,0 10px 22px #734fab1f;font-size:.8rem;letter-spacing:-.02em}.prompt-dock__style-trigger.is-active{background:linear-gradient(135deg,#da94ea47,#8e74e33d);box-shadow:inset 0 1px #ffffff1f,0 12px 28px #734fab2e}.prompt-dock__style-trigger--branding{--button-hover-ring: rgba(101, 217, 196, .38);--button-hover-fill-top: rgba(101, 217, 196, .22);--button-hover-fill-bottom: rgba(84, 164, 241, .12);--button-hover-surface: rgba(31, 56, 66, .92);--button-hover-shadow: rgba(53, 129, 150, .18);background:linear-gradient(135deg,#65d9c42e,#54a4f12e);box-shadow:inset 0 1px #ffffff14,0 10px 22px #3581961f}.prompt-dock__style-trigger--branding.is-active{background:linear-gradient(135deg,#65d9c43d,#54a4f13d);box-shadow:inset 0 1px #ffffff1f,0 12px 28px #3581962e}.prompt-dock__style-trigger--magic{--button-hover-ring: rgba(214, 141, 230, .42);--button-hover-fill-top: rgba(214, 141, 230, .3);--button-hover-fill-bottom: rgba(155, 129, 232, .16);--button-hover-surface: rgba(54, 41, 74, .96);--button-hover-shadow: rgba(115, 79, 171, .2);min-width:98px;background:linear-gradient(135deg,#d68de647,#866cde33)}.prompt-dock__style-trigger-plus{font-size:1.05rem;line-height:1;transform:translateY(1px)}.prompt-dock__mobile-rail{display:flex;align-items:center;gap:8px;width:100%}.prompt-dock__mobile-rail-scroll{min-width:0;flex:1 1 auto;display:flex;align-items:center;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 0 4px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x;scroll-snap-type:x proximity;scrollbar-width:none}.prompt-dock__mobile-rail-scroll::-webkit-scrollbar{display:none}.prompt-dock__mobile-rail-scroll .style-chip{flex:0 0 auto}.prompt-dock__submit--overlay{align-self:stretch;min-width:188px;min-height:100%;padding:0 20px;font-size:.9rem}.prompt-dock__submit--overlay:disabled{filter:none}.prompt-dock__submit-cluster{display:grid;grid-template-columns:auto auto;align-items:stretch;gap:8px;height:100%;max-width:100%}.prompt-dock__controls-stack{--prompt-dock-lock-size: 46px;--prompt-dock-lock-gap: 8px;--prompt-dock-lock-row-width: calc(var(--prompt-dock-lock-size) * 2 + var(--prompt-dock-lock-gap));display:grid;grid-template-rows:auto auto;gap:6px;align-items:stretch;align-content:stretch;align-self:stretch;width:var(--prompt-dock-lock-row-width);min-width:var(--prompt-dock-lock-row-width);height:100%}.prompt-dock__controls-overlay{display:inline-grid;grid-template-columns:auto auto;align-items:center;justify-content:end;gap:8px;align-self:stretch}.prompt-dock__lock-row{display:grid;grid-template-columns:repeat(2,var(--prompt-dock-lock-size));gap:var(--prompt-dock-lock-gap);justify-content:end}.prompt-dock__reference-count{display:inline-flex;align-items:center;justify-content:center;position:static;width:48px;min-width:48px;min-height:24px;padding:0 8px;border-radius:999px;background:#ffffff0d;color:#f3f1eb8f;box-shadow:inset 0 0 0 1px #ffffff14;font-size:.82rem;font-weight:600;letter-spacing:-.02em;line-height:1;pointer-events:none;opacity:0;transform:translate3d(4px,0,0);transition:opacity .16s ease,transform .16s ease}.prompt-dock__reference-count.is-visible{opacity:1;transform:translateZ(0)}.prompt-dock__lock-trigger-wrap{position:relative;flex:0 0 auto}.prompt-dock__lock-trigger{position:relative;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;padding:0;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:linear-gradient(180deg,#ffffff0a,#ffffff05),#181a1dc2;color:#f3f1ebc7;box-shadow:inset 0 1px #ffffff0f,0 10px 24px #00000029;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}.prompt-dock__lock-trigger:hover,.prompt-dock__lock-trigger.is-active{border-color:#b8ff4357;background:linear-gradient(180deg,#b8ff4329,#ffffff0a),#1c1f23e6;color:#f3f1ebf5;box-shadow:inset 0 1px #ffffff14,0 10px 24px #7fff9d24}.prompt-dock__lock-trigger.is-pending{border-color:#b8ff436b;background:linear-gradient(180deg,#b8ff432e,#ffffff0a),#1c1f23eb;box-shadow:inset 0 1px #ffffff14,0 10px 24px #7fff9d2e;animation:style-chip-pulse 1.6s ease-in-out infinite}.prompt-dock__lock-trigger.is-failed{border-color:#ff70709e;background:linear-gradient(180deg,#a41c1c33,#ffffff0a),#1c1f23eb;box-shadow:inset 0 1px #ffffff14,0 10px 24px #7016162e}.prompt-dock__lock-trigger-icon{width:18px;height:18px;color:#f3f1eb}.prompt-dock__lock-trigger-icon svg{width:100%;height:100%}.prompt-dock__lock-trigger-preview{display:block;width:100%;height:100%;overflow:hidden;border-radius:inherit}.prompt-dock__lock-trigger-preview img{width:100%;height:100%;object-fit:cover;object-position:center 20%}.prompt-dock__lock-trigger-count{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:linear-gradient(135deg,#b8ff43f5,#88ff8ceb);color:#111416;font-size:.68rem;font-weight:700;line-height:18px;text-align:center;box-shadow:0 8px 20px #7fff9d2e}.prompt-dock__lock-menu{position:fixed;z-index:24;display:grid;gap:10px;min-width:232px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:#121417f5;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 22px 54px #0000004d;transform:translate(-100%,-100%)}.prompt-dock__lock-menu.is-mobile{transform:translate(-100%)}.prompt-dock__lock-menu-header,.prompt-dock__lock-menu-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.prompt-dock__lock-menu-title{color:#f3f1ebe6;font-size:.82rem;font-weight:600}.prompt-dock__lock-menu-meta{color:#f3f1eb70;font-size:.72rem}.prompt-dock__lock-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,76px));gap:10px;max-height:252px;padding:2px;margin:-2px}.prompt-dock__lock-chip{position:relative;display:inline-flex;align-items:center;justify-content:center;width:76px;height:76px;padding:0;border:1px solid rgba(255,255,255,.1);border-radius:20px;background:#ffffff0a;color:#f3f1ebc2;overflow:visible;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.prompt-dock__lock-chip:hover{color:#f3f1ebf5;transform:translateY(-1px)}.prompt-dock__lock-chip.is-active{border-color:#b8ff43eb;background:linear-gradient(180deg,#b8ff4324,#ffffff0a),#1c1f23eb;box-shadow:inset 0 0 0 2px #b8ff43eb,0 12px 24px #7fff9d29}.prompt-dock__lock-chip.is-delete-mode{cursor:pointer;border-style:dashed;border-color:#ff7070c7;background:linear-gradient(180deg,#8c1a1a29,#ffffff0a),#1c1f23eb;box-shadow:inset 0 0 0 1px #ff707038,0 12px 24px #7016162e;animation:style-chip-wobble 1.9s ease-in-out infinite}.prompt-dock__lock-chip.is-delete-mode:hover,.prompt-dock__lock-chip.is-delete-mode:focus-visible{border-color:#ff8080eb;background:linear-gradient(180deg,#a41c1c3d,#ffffff0d),#1c1f23f5;box-shadow:inset 0 0 0 1px #ff80804d,0 16px 28px #7016163d}.prompt-dock__lock-chip.is-pending{animation:style-chip-pulse 1.6s ease-in-out infinite}.prompt-dock__lock-chip.is-failed{border-color:#ff7070d1;background:linear-gradient(180deg,#a41c1c33,#ffffff0a),#1c1f23eb;box-shadow:inset 0 0 0 1px #ff808038,0 12px 24px #70161633}.prompt-dock__lock-chip-preview,.prompt-dock__lock-chip-fallback{display:inline-flex;width:100%;height:100%;align-items:center;justify-content:center;overflow:hidden;border-radius:inherit}.prompt-dock__lock-chip-preview img{width:100%;height:100%;object-fit:cover;object-position:center 20%}.prompt-dock__lock-chip-fallback{color:#f3f1ebe0}.prompt-dock__lock-chip-fallback svg{width:28px;height:28px}.prompt-dock__lock-chip-selected{position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px #f3f1eb24;pointer-events:none}.lock-strip__title-wrap{display:inline-flex;align-items:center;gap:10px;min-width:0}.lock-strip__icon{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;width:32px;height:32px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#ffffff0a;color:#f3f1ebe0}.lock-strip__icon svg{width:15px;height:15px}.lock-strip__icon img{width:100%;height:100%;object-fit:cover;object-position:center 20%}.lock-strip__title-copy{display:flex;align-items:center}.lock-strip__title{color:#f3f1ebf0;font-size:.8rem;font-weight:700;letter-spacing:.02em}.lock-strip{gap:12px;padding:12px 12px 10px;border-radius:20px;border-color:transparent;box-shadow:none;background:radial-gradient(circle at 20% 20%,rgba(208,194,79,.06),transparent 34%),radial-gradient(circle at 82% 22%,rgba(126,102,255,.06),transparent 30%),#181a1ceb}.lock-strip .style-strip__header{gap:10px}.lock-strip .style-strip__body{grid-template-columns:minmax(0,1fr) 148px;gap:10px}.lock-strip .style-strip__submit{min-height:62px;border-radius:16px;font-size:.78rem;background:#ffffff24;color:#f3f1eb75;box-shadow:none}.lock-strip .style-strip__submit:not(:disabled){background:linear-gradient(135deg,#d7ff00,#beff2c);color:#101112;box-shadow:0 12px 24px #b9ff152e}.lock-strip .reference-composer--strip.is-text-hidden .reference-composer__media{min-height:126px;padding:12px 14px;border-radius:20px;border:0;background:radial-gradient(circle at 20% 20%,rgba(208,194,79,.06),transparent 34%),radial-gradient(circle at 82% 22%,rgba(126,102,255,.06),transparent 30%),#ffffff06}.lock-strip .reference-composer--strip.is-text-hidden .reference-composer__grid{grid-auto-rows:minmax(72px,1fr);gap:10px}.lock-strip .reference-composer--strip.is-text-hidden.is-dense-media .reference-composer__grid{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:minmax(54px,1fr);gap:8px}.lock-strip .reference-composer--strip.is-text-hidden .reference-card,.lock-strip .reference-composer--strip.is-text-hidden .reference-composer__empty{aspect-ratio:1 / 1;min-height:0;border-radius:16px}.lock-strip .reference-composer--strip.is-text-hidden.is-dense-media .reference-card,.lock-strip .reference-composer--strip.is-text-hidden.is-dense-media .reference-composer__empty,.lock-strip .reference-composer--strip.is-text-hidden.is-dense-media .lock-placeholder-card{border-radius:12px}.lock-strip .reference-composer--strip.is-text-hidden .reference-card img{object-fit:cover}.lock-strip .lock-placeholder-card{aspect-ratio:1 / 1;min-height:0;padding:8px;border-radius:16px}.lock-strip .lock-placeholder-card__art{width:30px;height:30px}.prompt-dock__provider-toggle{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(180deg,#ffffff0f,#ffffff08),#181a1df0;box-shadow:inset 0 1px #ffffff0f,0 10px 24px #00000029}.prompt-dock__provider-option{min-height:38px;padding:0 12px;border:0;border-radius:14px;background:transparent;color:#f3f1ebad;font-size:.76rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.prompt-dock__provider-option.is-active{background:linear-gradient(135deg,#d7ff00f5,#adff5ee6);color:#101214;box-shadow:0 10px 18px #b9ff1529}.prompt-dock__provider-option:hover{background:linear-gradient(180deg,#b8ff4329,#ffffff0a),#1c1f23e6;color:#f3f1ebf0;box-shadow:inset 0 0 0 1px #b8ff4357,inset 0 1px #ffffff14,0 10px 18px #7fff9d24;transform:translateY(-1px)}.prompt-dock__provider-option:active{transform:scale(.98)}.prompt-dock__ratio-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;min-width:0;min-height:46px;padding:0 14px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(180deg,#ffffff14,#ffffff0a),#1c1e21eb;color:#f3f1ebeb;box-shadow:inset 0 1px #ffffff0f,0 10px 24px #0000002e;transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease;height:100%;min-height:0}.prompt-dock__ratio-trigger:hover,.prompt-dock__ratio-trigger.is-open{border-color:#78ccff57;background:linear-gradient(180deg,#78ccff2e,#ffffff0a),#202630eb;box-shadow:inset 0 1px #ffffff14,0 10px 24px #3f7eff29}.prompt-dock__ratio-trigger:hover{transform:translateY(-1px)}.prompt-dock__ratio-trigger:active{transform:scale(.98)}.prompt-dock__ratio-label{font-size:.88rem;line-height:1;letter-spacing:-.02em}.prompt-dock__ratio-caret{color:#f3f1eb80;font-size:.75rem;transform:translateY(1px)}.prompt-dock__ratio-menu{position:fixed;z-index:40;display:inline-flex;align-items:center;flex-wrap:nowrap;gap:6px;padding:8px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:#181a1cf5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:0 18px 48px #00000047;transform:translate(-100%,-100%)}.prompt-dock__ratio-menu[data-mobile=true]{transform:translate(-100%)}.prompt-dock__ratio-option{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border:1px solid transparent;border-radius:999px;background:#ffffff0a;color:#f3f1ebad;font-size:.82rem;letter-spacing:-.02em;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}.prompt-dock__ratio-option-dot{width:7px;height:7px;border-radius:999px;background:#f3f1eb47;transition:background .16s ease,box-shadow .16s ease}.prompt-dock__ratio-option:hover{color:#f3f1ebeb;border-color:#78ccff57;background:linear-gradient(180deg,#78ccff2e,#ffffff0a),#202630eb;box-shadow:inset 0 1px #ffffff14,0 8px 18px #3f7eff29;transform:translateY(-1px)}.prompt-dock__ratio-option.is-active{border-color:#78ccff70;background:linear-gradient(180deg,#50a6ff38,#3e6dff24);color:#f3f1eb;box-shadow:inset 0 1px #ffffff14,0 8px 18px #3f7eff29}.prompt-dock__ratio-option.is-active .prompt-dock__ratio-option-dot{background:#7fd2ff;box-shadow:0 0 0 4px #7fd2ff24}.prompt-dock__ratio-option:active{transform:scale(.98)}.mobile-magic-modal{min-height:0;display:grid}.mobile-magic-modal>.style-strip{height:100%}.mobile-magic-modal--root{gap:12px;padding:12px;border-radius:20px;background:#181a1ceb;-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px);border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 80px #00000059;overflow:hidden}.mobile-magic-modal__header{display:flex;align-items:center;justify-content:flex-end;gap:10px}.mobile-magic-modal__title{color:#f3f1ebf0;font-size:.96rem;font-weight:700;letter-spacing:.01em}.mobile-magic-modal__body{min-height:0;display:grid;gap:12px;overflow-y:auto}.mobile-magic-rail{display:grid;gap:8px}.mobile-magic-rail__trigger{justify-self:flex-start}.mobile-magic-rail__scroll{display:flex;align-items:center;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 0 4px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x;scroll-snap-type:x proximity}.prompt-dock__style-scroll>*,.prompt-dock__mobile-rail-scroll>*,.mobile-magic-rail__scroll>*{flex:0 0 auto;scroll-snap-align:start;touch-action:pan-x}.mobile-magic-rail__scroll::-webkit-scrollbar{display:none}.mobile-magic-rail__scroll .style-chip{flex:0 0 auto}.error-banner{margin:16px 0 0;padding:14px 16px;border-radius:20px}.error-banner{position:fixed;top:84px;right:max(24px,calc((100vw - var(--page-width)) / 2 + 24px));z-index:12;max-width:min(420px,calc(100vw - 32px));background:#c222221f;color:#ffb8b8}@keyframes style-chip-wobble{0%,to{transform:rotate(0)}25%{transform:rotate(-.75deg)}75%{transform:rotate(.75deg)}}@keyframes style-chip-pulse{0%,to{opacity:.5;background:color-mix(in srgb,var(--style-chip-color) 10%,rgba(255,255,255,.04));border-color:color-mix(in srgb,var(--style-chip-color) 22%,transparent)}50%{opacity:.82;background:color-mix(in srgb,var(--style-chip-color) 20%,rgba(255,255,255,.07));border-color:color-mix(in srgb,var(--style-chip-color) 40%,transparent)}}@keyframes gallery-loading-breathe{0%,to{opacity:.36;transform:scale(.985)}50%{opacity:.62;transform:scale(1.03)}}@keyframes reference-upload-sweep{0%{opacity:0;transform:translate3d(-68%,0,0) scale(1.08)}16%{opacity:.18}46%{opacity:.64}54%{opacity:.64}84%{opacity:.18}to{opacity:0;transform:translate3d(68%,0,0) scale(1.08)}}@keyframes reference-upload-band-sweep{0%{opacity:0;transform:translate3d(-120%,0,0)}18%{opacity:.12}48%{opacity:.34}52%{opacity:.34}82%{opacity:.12}to{opacity:0;transform:translate3d(120%,0,0)}}@media(max-width:980px){.app-shell{padding:16px}.topbar__actions{width:100%;justify-content:center}.topbar,.panel__header,.modal-header,.gallery-card__body,.prompt-dock__header{grid-template-columns:1fr;flex-direction:column;align-items:stretch}.gallery-card__actions{justify-content:flex-start}.gallery-toolbar{display:none}.layout--studio{padding-bottom:360px}.layout--studio.is-empty-gallery{padding-bottom:320px}.controls-stack{bottom:16px;width:calc(100vw - 20px)}.zoomer-popup{left:8px;right:8px;bottom:228px;width:auto;display:block}.zoomer-popup__window{width:100%;max-width:none;aspect-ratio:2.08 / 1;flex:1 1 auto}.zoomer-popup__close{position:absolute;top:-12px;right:12px;z-index:4}.prompt-dock__submit,.style-strip__submit{width:100%}.gallery-selection-bar{top:132px;left:16px;right:16px;justify-content:space-between}.gallery-selection-bar__count{padding-left:12px;padding-right:0}.gallery-selection-bar__cancel{width:38px;min-width:38px;min-height:38px}.gallery-modal{max-height:calc(100vh - 28px)}.gallery-modal__frame img{max-height:calc(100vh - 260px)}.gallery-modal__actions{position:static;padding:14px;justify-content:flex-start}.style-strip__header-actions{justify-content:flex-end}.prompt-dock__style-bar{flex-wrap:nowrap;align-items:center;gap:8px}.prompt-dock__style-actions{width:auto;justify-content:flex-end;flex:0 0 auto}.style-strip:not(.lock-strip){gap:10px;padding:11px}.style-strip:not(.lock-strip) .style-strip__header{flex-direction:row;align-items:center;gap:10px}.style-strip:not(.lock-strip) .style-strip__body{grid-template-columns:minmax(0,1fr) 128px;gap:8px}.style-strip:not(.lock-strip) .style-strip__submit{min-height:56px;font-size:.74rem}.style-strip:not(.lock-strip) .reference-composer--strip{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:10px}.style-strip:not(.lock-strip) .reference-composer--strip .reference-composer__media{min-height:104px;padding:10px 10px 10px 12px;border-radius:0 20px 20px 0}.style-strip:not(.lock-strip) .reference-composer--strip.is-text-hidden .reference-composer__media{min-height:116px;padding:10px 12px;border-radius:18px}}@media(min-width:641px)and (max-width:1180px){.style-strip__header{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:12px}.style-strip__name{min-width:0;flex:1 1 auto}.style-strip__header-actions{width:auto;flex:0 0 auto;justify-content:flex-end;align-self:flex-start}.style-chip,.style-chip--compact{min-height:31px;padding:8px 12px;font-size:.8rem}.style-chip__dot{width:8px;height:8px}.prompt-dock__style-trigger{min-width:84px;min-height:34px;padding:8px 12px;font-size:.8rem}.style-icon-button{width:32px;height:32px}.style-icon-button svg{width:14px;height:14px}.prompt-dock__ratio-trigger{min-width:92px;min-height:46px;padding:0 14px;border-radius:18px}.prompt-dock__ratio-label{font-size:.9rem}.prompt-dock__submit,.prompt-dock__submit--overlay{min-width:154px;min-height:46px;font-size:.9rem}.reference-composer--dock .reference-card,.reference-composer--dock .reference-composer__empty{flex-basis:48px;width:48px;height:48px;border-radius:14px}}@media(max-width:640px){input,textarea,select{font-size:16px}.field input,.field textarea,.style-strip__name-input,.reference-composer__text textarea,.reference-composer--strip .reference-composer__text textarea{font-size:16px!important}.reference-composer--dock{--reference-dock-overlay-reserve: 106px}html,body,#root{background:#000}.app-shell{min-height:100svh;min-height:100dvh;padding-top:0;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 12px);background:#000}.app-shell.is-empty-gallery{height:100svh;height:100dvh;overflow:hidden}.topbar{width:auto;max-width:none;margin:0 0 18px;padding:calc(env(safe-area-inset-top,0px) + 10px) 0 0;background:transparent;box-shadow:none}.topbar__brand,.topbar__brand img,.topbar__actions,.zoomer-toggle,.admin-chip{box-shadow:none;filter:none}.zoomer-toggle,.admin-chip{-webkit-backdrop-filter:none;backdrop-filter:none}.layout--studio{padding-bottom:min(72dvh,520px)}.layout--studio.is-empty-gallery{flex:1 1 auto;min-height:0;padding:0 0 clamp(220px,32dvh,290px);overflow:hidden}.layout--studio.is-empty-gallery .gallery--empty{min-height:100%}.gallery-empty{width:min(100%,24rem);min-height:100%;align-content:center;justify-items:center}.gallery-empty h2,.gallery-empty p,.gallery-empty .eyebrow{text-align:center;justify-self:center;margin-left:auto;margin-right:auto}.controls-stack{bottom:max(10px,env(safe-area-inset-bottom,0px));width:calc(100vw - 16px);max-height:calc(100dvh - 84px);gap:8px;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 6px)}.controls-stack.is-mobile-magic-open{grid-template-rows:minmax(0,1fr) auto;align-content:stretch}.style-strip,.prompt-dock{border-radius:18px}.mobile-magic-modal{min-height:0}.mobile-magic-modal>.style-strip,.mobile-magic-modal--root{min-height:0;height:100%}.mobile-magic-modal>.style-strip{overflow-y:auto}.mobile-magic-modal--root{gap:10px;padding:10px}.mobile-magic-modal__body{gap:10px}.mobile-magic-rail{gap:6px}.mobile-magic-rail__trigger{min-width:0}.mobile-magic-rail__scroll{gap:6px;padding:1px 0 3px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:none}.mobile-magic-rail__scroll::-webkit-scrollbar{display:none}.mobile-magic-modal>.style-strip{gap:10px;padding:10px}.mobile-magic-modal>.style-strip .style-strip__header{flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.mobile-magic-modal>.style-strip .style-strip__name{min-width:0;gap:10px;padding-top:0}.mobile-magic-modal>.style-strip .style-strip__header-actions{align-self:center;justify-content:flex-end}.mobile-magic-modal>.style-strip .style-strip__body{grid-template-columns:1fr;gap:10px}.mobile-magic-modal>.style-strip .style-strip__submit{min-height:48px;height:auto;font-size:.76rem}.mobile-magic-modal>.style-strip .reference-composer--strip{grid-template-columns:1fr;gap:10px}.mobile-magic-modal>.style-strip .reference-composer--strip .reference-composer__media{min-height:132px;border-left:0;border-top:1px solid rgba(255,255,255,.08);padding:12px 0 0;border-radius:22px}.mobile-magic-modal>.style-strip .reference-composer--strip .reference-composer__grid{justify-content:flex-start}.mobile-magic-modal>.style-strip .reference-composer--strip .reference-card,.mobile-magic-modal>.style-strip .reference-composer--strip .reference-composer__empty{margin-left:2px}.prompt-dock{padding:10px}.prompt-dock__header{flex-direction:row;align-items:center;justify-content:center;gap:8px;transform:translateY(-6px)}.prompt-dock__title{justify-content:center}.prompt-dock__mobile-rail{align-items:center;justify-content:center}.prompt-dock__mobile-rail-scroll{padding:0}.prompt-dock__style-trigger--magic{min-width:88px;min-height:34px;padding:8px 14px;font-size:.8rem}.prompt-dock__submit-cluster.is-mobile{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr auto;width:100%;height:100%}.prompt-dock__controls-stack.is-mobile{--prompt-dock-lock-size: 42px;--prompt-dock-lock-gap: 6px;grid-template-rows:auto auto;justify-self:end;align-self:start;width:var(--prompt-dock-lock-row-width);min-width:var(--prompt-dock-lock-row-width);gap:6px}.prompt-dock__lock-row{justify-content:end}.prompt-dock__reference-count{width:42px;min-width:42px;min-height:22px;padding:0 6px;font-size:.76rem}.prompt-dock__lock-trigger{width:42px;height:42px;border-radius:16px}.prompt-dock__ratio-trigger{width:100%;min-width:0;min-height:38px;padding:0 10px;border-radius:15px}.prompt-dock__submit--overlay{width:100%;min-width:0;min-height:38px;height:auto;padding:0 14px;font-size:.86rem}.reference-composer--dock{gap:8px}.reference-composer--dock .reference-composer__text{padding:10px 10px 56px}.reference-composer--dock .reference-composer__text textarea{font-size:16px;max-height:108px}.reference-composer--dock .reference-composer__media{padding:8px 10px 0}.reference-composer--dock .reference-composer__overlay-action{inset:auto 10px 10px;display:flex;padding:0}.reference-composer--dock .reference-composer__overlay-top-right-action{top:8px;right:10px}.reference-card__remove{top:6px;right:6px;width:24px;height:24px;opacity:1;pointer-events:auto}.reference-composer--dock.has-overlay-action .reference-composer__text{padding-right:calc(var(--reference-dock-overlay-reserve) + 10px);padding-bottom:56px}.app-shell:before{display:none}.zoomer-popup{left:50%;right:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 312px);width:min(calc(100vw - 52px),348px);display:block;transform:translate(-50%)}.zoomer-popup__window{width:100%;max-width:none;aspect-ratio:2.02 / 1}.zoomer-popup__close{top:-10px;right:10px}.lock-strip .style-strip__body{grid-template-columns:1fr;gap:8px}.lock-strip .reference-composer--strip.is-text-hidden .reference-composer__media{min-height:118px;padding:12px;border-radius:18px}.lock-strip .reference-composer--strip.is-text-hidden .reference-composer__grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(72px,1fr)}.lock-strip .style-strip__submit{min-height:40px;width:100%;font-size:.72rem;border-radius:14px}}@media(min-width:981px){.gallery-shell--wide{width:calc(100vw - 60px);max-width:none;margin-left:calc(50% - 50vw + 30px);margin-right:calc(50% - 50vw + 30px)}.gallery{grid-template-columns:repeat(var(--gallery-desktop-columns, 2),minmax(0,1fr))}.gallery--single{grid-template-columns:minmax(0,1fr)}}
