/* UI/UX Pro Max direction: layered glass, spatial hierarchy, accessible motion. */
:root{--exp-bg:#080d1b;--exp-surface:#111d32;--exp-line:#b9d5ff30;--exp-blue:#9cc8ff;--exp-glow:#699aff;--exp-ease:cubic-bezier(.22,1,.36,1)}
html body{background:var(--exp-bg);font-family:'Segoe UI Variable','Segoe UI',Arial,sans-serif}
body::before{content:'';display:block!important;position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 78% 15%,#24469b35,transparent 52%),radial-gradient(ellipse at 10% 80%,#283b6b29,transparent 42%)}
a,button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}a:focus-visible,button:focus-visible{outline:2px solid #c9e2ff;outline-offset:5px}button:active,.button:active{filter:brightness(1.15)}
.navigation{min-height:94px;border-color:var(--exp-line);position:relative;z-index:2}.identity img{border:1px solid #6c85ac30;box-shadow:0 8px 28px #0005}.identity{font-weight:600}.nav-links a,.nav-actions>a:not(.button){min-height:44px;display:inline-flex;align-items:center}
.button,body .primary{background:linear-gradient(135deg,#345fa6,#22447e);border:1px solid #b7d9ff70;border-radius:12px;box-shadow:inset 0 1px #ffffff26,0 7px 26px #143b802e;transition:transform .24s var(--exp-ease),box-shadow .24s,border-color .24s;cursor:pointer}.button:hover,body .primary:hover{background:linear-gradient(135deg,#4575c2,#315a9c);transform:translateY(-2px);box-shadow:0 12px 32px #244e8e45;border-color:#cde5ff}
.hero{position:relative;grid-template-columns:1.04fr 1fr;gap:74px;padding-top:100px;padding-bottom:110px;min-height:700px}.hero-copy{position:relative;z-index:1}.hero .eyebrow{display:inline-flex;align-items:center;flex-wrap:wrap;letter-spacing:1.8px;font-size:10px;border:1px solid var(--exp-line);padding:8px 12px;border-radius:30px;background:#1b2f493d;backdrop-filter:blur(12px)}
.hero h1{font-size:clamp(42px,4.7vw,64px);line-height:1.06;letter-spacing:-2.6px;font-weight:600;text-wrap:balance}.hero .lead{font-size:16px;line-height:1.85;max-width:450px}.hero-actions{gap:20px}.hero-actions .button{min-height:54px;padding:14px 25px}.footnote{line-height:1.8;max-width:400px;font-size:12px}.quiet{min-height:44px;display:flex;align-items:center}
.scene-shell{position:relative;isolation:isolate;perspective:1200px;min-width:0}.scene-shell::before{content:'';position:absolute;inset:12% -15% -9%;border:1px solid #93bbff2b;border-radius:50%;transform:rotateX(68deg) rotateZ(-24deg);box-shadow:0 0 0 32px #7198ef06,0 0 0 64px #7198ef04;z-index:-1}.scene-shell::after{content:'';position:absolute;inset:15%;border-radius:50%;background:#588be53d;filter:blur(70px);z-index:-1}
.product-visual{position:relative;transform-style:preserve-3d;transform:rotateX(calc(5deg + var(--tilt-x,0deg))) rotateY(calc(-10deg + var(--tilt-y,0deg)));transition:transform .7s var(--exp-ease);background:linear-gradient(135deg,#22344ce8,#0d192ce8);border:1px solid #b6d6ff61;border-radius:18px;padding:19px;box-shadow:inset 0 1px #ffffff24,12px 20px 0 -10px #223a5f,16px 24px 0 -10px #a5c7ff4d,0 36px 70px #0007;backdrop-filter:blur(18px)}
.mock-header{font-size:10px;letter-spacing:1px;margin-bottom:16px}.mock-header .pill{border-color:#93bfff66;padding:4px 7px;border-radius:5px}.mock-canvas{height:285px;border-color:#c1dfff66;border-radius:10px;transform:translateZ(16px)}.landscape{background:linear-gradient(#142d50,#8eb2ca)}.sun{background:linear-gradient(135deg,#fff4ce,#d3e7f0);box-shadow:0 0 45px #d2eaff3b}.mountain{background:#3c617b}.mountain.near{background:#1e3e59}.horizon{background:linear-gradient(#a7cfdf33,#16304eaa)}.play{backdrop-filter:blur(10px);background:#ffffff13;border-color:#e5f2ffb0}.mock-bottom{transform:translateZ(24px)}.mock-bottom p{font-size:13px}.caption,.quality{font-size:10px}.mock-tags{gap:7px}.mock-tags span{font-size:10px;background:#87b1ef14;border:1px solid #a4c9ff26;padding:6px 9px;border-radius:6px}.illustration-note{font-size:10px}
.reference-floats{position:absolute;inset:0;pointer-events:none;transform-style:preserve-3d;animation:reference-drift 7s ease-in-out infinite!important}.floating-reference{position:absolute;display:grid;gap:9px;width:126px;padding:11px;border:1px solid #b6d5ff70;border-radius:13px;background:linear-gradient(140deg,#3b5570e8,#17263ee8);box-shadow:0 16px 40px #0005;backdrop-filter:blur(16px);font-size:10px;letter-spacing:.4px}.floating-reference:first-child{left:-35px;top:-38px;transform:translateZ(60px) rotate(-9deg)}.floating-reference:last-child{right:-23px;bottom:-35px;transform:translateZ(80px) rotate(8deg)}.reference-art{height:61px;border:1px solid #c5e2ff4a;border-radius:7px;background:radial-gradient(circle at 65% 30%,#f2e6c4 0 13%,transparent 14%),linear-gradient(150deg,transparent 45%,#2b4a65 46% 70%,#496a81 71%),linear-gradient(#8baec5,#20374e)}.reference-art.frame-two{background:linear-gradient(65deg,#0e293f 28%,transparent 29% 50%,#2e546b 51% 70%,transparent 71%),linear-gradient(160deg,#aac4ca,#254760)}
.features{gap:48px;border-color:var(--exp-line)}.section-intro h2,.workflow h2{font-size:36px;letter-spacing:-1.1px;text-wrap:balance}.feature-grid{gap:16px}.feature-grid article{padding:24px 20px;border:1px solid var(--exp-line);border-radius:16px;background:linear-gradient(145deg,#1b2c4359,#101a2e);box-shadow:inset 0 1px #ffffff09;transition:transform .3s var(--exp-ease),border-color .3s}.feature-grid article:hover{transform:translateY(-5px);border-color:#a5c8ff70}.feature-grid h3{font-size:16px}.feature-grid p,.section-intro p:not(.eyebrow){font-size:14px;line-height:1.8}.feature-icon{width:42px;height:42px;border:1px solid #b3d2ff3b;border-radius:11px;background:#6e9df11a;display:grid;place-items:center;margin-bottom:22px}.feature-icon svg{width:21px;height:21px}
.workflow{border-color:var(--exp-line)}.workflow li{border-color:var(--exp-line)}.workflow li>span{display:grid;place-items:center;flex:0 0 40px;height:40px;border:1px solid var(--exp-line);border-radius:12px;background:#76a2ec12;font-size:12px}.workflow li p{font-size:14px}.cta{background:radial-gradient(ellipse at 90% 0,#3e6dc347,transparent 60%),linear-gradient(120deg,#152642,#101a2c);border-color:#89b5f74d;border-radius:20px;padding:44px 36px;box-shadow:inset 0 1px #ffffff18}.cta h2{font-size:30px}footer{border-color:var(--exp-line);padding-bottom:76px;font-size:12px}
/* Shared application surfaces keep forms and video controls stable. */
body aside{background:linear-gradient(180deg,#111d31f5,#0b1424f5);border-color:var(--exp-line);backdrop-filter:blur(18px)}body .nav{border-radius:10px;min-height:44px}body .nav.active{background:linear-gradient(100deg,#395f9a66,#24437033);border-color:#88afe54a;box-shadow:inset 3px 0 #b6d8ff}body main>header{border-color:var(--exp-line)}body .panel,body .library-card,body .job-card,body .provider-card,body .stat-card{border:1px solid var(--exp-line);background:linear-gradient(140deg,#1b2b42ec,#111c2fec);border-radius:15px;box-shadow:inset 0 1px #ffffff0b,0 12px 30px #00000013}body .page-heading h1{font-size:34px;letter-spacing:-1px}body .page-heading .eyebrow{font-size:11px}body .reference-drop{background:linear-gradient(135deg,#263f604a,#142238);border-color:#84a8d459;border-radius:12px}body .reference-drop:hover{background:#263f60;border-color:#a9cfff}body .canvas{background:radial-gradient(ellipse at 50% 30%,#365a8b24,transparent 68%),#0e192b;border-color:#84a8d43d;border-radius:12px}body .orbit{background:linear-gradient(145deg,#2e496e,#152b49);border:1px solid #b1d3ff5e;border-radius:22px;box-shadow:inset 0 1px #ffffff2c,8px 8px 0 -3px #233c5d}body .wallet,body .model-badge{background:#243e616b;border-color:#a9cfff40;border-radius:9px}body select,body textarea,body input[type=email],body input[type=password],:root body.admin-body input:not([type=checkbox]),body.admin-body select{background:#0b1627;border-color:#6d8db45e;border-radius:9px}body dialog{background:linear-gradient(145deg,#20344d,#0f1d32);border:1px solid #a4caff61;border-radius:19px;box-shadow:0 30px 100px #0009}body .generation-progress{background:#172e4b;border-color:#719ed24a;border-radius:11px}body .admin-table th{background:#233c5b}body .tip{background:#162a436b;border-color:var(--exp-line);border-radius:12px}body .model-note{background:#1b304a66;border-color:var(--exp-line)}body .admin-section-heading h2{font-size:18px}body .stat-card strong{font-size:34px}body .admin-note{font-size:12px}body .brand-image img{border-radius:12px}body .primary::before{display:none}body .audio-row{border-color:var(--exp-line)}
.auth-shell{background:radial-gradient(ellipse at 50% 10%,#294d8e3b,transparent 60%)}.auth-card{position:relative;background:linear-gradient(145deg,#22354ce8,#101d31f0);border:1px solid #a4caff59;border-radius:22px;box-shadow:0 40px 100px #0005,inset 0 1px #ffffff22}.auth-card::before{content:'';position:absolute;left:15%;right:15%;height:1px;top:-1px;background:linear-gradient(90deg,transparent,#d1e8ff,transparent)}.auth-card .button{border-radius:10px;min-height:48px}.auth-card input{background:#0a1628;border-color:#6886ac7a;border-radius:9px}.auth-card .eyebrow{font-size:10px}.auth-card .auth-back{min-height:44px;display:grid;place-items:center}.auth-switch a{display:inline-flex;align-items:center;min-height:44px}
.motion-control{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:30;border:1px solid #9abbeb66;border-radius:30px;min-height:44px;min-width:110px;padding:9px 15px;background:#14233cf0;box-shadow:0 6px 24px #0004;color:#fff;font:12px 'Segoe UI',sans-serif;cursor:pointer;backdrop-filter:blur(12px)}
.skip-link{position:fixed;top:8px;left:8px;padding:12px 18px;background:#203b64;border:1px solid white;border-radius:8px;z-index:100;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}
@keyframes reference-drift{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-9px,0)}}
html[data-motion=paused] .reference-floats,html.page-hidden .reference-floats{animation-play-state:paused!important}html[data-motion=paused] .product-visual{transform:none;transition:none}html[data-motion=paused] .feature-grid article:hover{transform:none}
@media(min-width:1500px){.hero{padding-top:114px;padding-bottom:120px}.wrap{max-width:1340px}.hero h1{font-size:68px}}
@media(max-width:1000px){.hero{gap:36px;padding-top:70px;padding-bottom:80px;min-height:0}.hero h1{font-size:46px}.floating-reference:first-child{left:-15px}.floating-reference:last-child{right:-10px}.features{grid-template-columns:1fr}.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.navigation{min-height:84px}.identity img{width:38px;height:38px}.nav-actions{gap:12px}.hero{grid-template-columns:minmax(0,1fr);gap:62px;padding-top:40px;padding-bottom:80px}.hero h1{font-size:clamp(38px,10vw,51px);letter-spacing:-1.8px}.hero .eyebrow{font-size:9px;letter-spacing:.9px;padding:8px 10px}.hero .lead{font-size:15px}.hero-copy .hero-actions{gap:12px}.scene-shell{margin:0 16px;perspective:900px}.product-visual{transform:rotateX(3deg) rotateY(-5deg);padding:13px;border-radius:14px}.mock-canvas{height:230px}.mock-header{font-size:8px}.floating-reference{width:98px;font-size:9px;padding:8px;gap:6px}.floating-reference:first-child{left:-18px;top:-27px}.floating-reference:last-child{right:-10px;bottom:-32px}.reference-art{height:45px}.scene-shell::before{inset:10% -6% -9%}.scene-shell::after{filter:blur(40px)}.feature-grid{grid-template-columns:minmax(0,1fr)}.feature-grid article{padding:24px}.features{padding-top:36px}.feature-grid h3{font-size:18px}.section-intro h2,.workflow h2{font-size:30px}.cta{padding:32px 23px}.cta h2{font-size:28px}.motion-control{right:12px;bottom:max(12px,env(safe-area-inset-bottom));min-width:100px;font-size:11px}body .page-heading h1{font-size:28px}body .composer,body .preview{padding:17px}body .reference-drop{min-height:150px}.auth-card{padding:28px 22px}.auth-card input{font-size:16px}.mock-tags span{font-size:9px}.mock-bottom p{font-size:11px}footer{padding-bottom:78px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reference-floats{animation:none!important}.product-visual{transform:none!important;transition:none!important}.feature-grid article:hover,.button:hover,body .primary:hover{transform:none!important}*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
/* Keep decorative 3D layers inside the hero's page bounds. */
.hero{overflow:clip}

/* Cursor-reactive fluid color field. Gradient layers animate only transforms. */
html body{isolation:isolate;background:#080d1b}
html body::before{display:none!important}
.fluid-background{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;contain:strict;--fluid-x:0vw;--fluid-y:0vh;background:linear-gradient(180deg,#080d1b99,#080d1b33 50%,#080d1b99)}
.fluid-layer{position:absolute;width:clamp(420px,70vw,1100px);height:clamp(420px,85vh,1000px);transition:none;will-change:transform}
.fluid-color{width:100%;height:100%;border-radius:45%;filter:blur(48px);will-change:transform;transform-origin:center}
.fluid-blue{left:-16%;top:-25%;transform:translate3d(var(--fluid-x),var(--fluid-y),0)}
.fluid-violet{right:-15%;top:-5%;transform:translate3d(calc(var(--fluid-x)*-.75),calc(var(--fluid-y)*-.7),0)}
.fluid-cyan{left:15%;bottom:-48%;transform:translate3d(calc(var(--fluid-x)*.65),calc(var(--fluid-y)*-.85),0)}
.fluid-blue .fluid-color{background:radial-gradient(ellipse at 42% 42%,#2d69e87a,transparent 67%);animation:fluid-wave-blue 23s ease-in-out infinite alternate!important}
.fluid-violet .fluid-color{background:radial-gradient(ellipse at 50% 45%,#8654e67a,transparent 66%);animation:fluid-wave-violet 29s ease-in-out infinite alternate!important}
.fluid-cyan .fluid-color{background:radial-gradient(ellipse at 50% 50%,#27a5ba66,transparent 65%);animation:fluid-wave-cyan 25s ease-in-out infinite alternate!important}
@keyframes fluid-wave-blue{0%{transform:translate3d(-4%,0,0) rotate(-12deg) scale(1)}100%{transform:translate3d(18%,17%,0) rotate(30deg) scale(1.23,.87)}}
@keyframes fluid-wave-violet{0%{transform:translate3d(8%,-6%,0) rotate(20deg) scale(1.1,.95)}100%{transform:translate3d(-22%,20%,0) rotate(-25deg) scale(.9,1.2)}}
@keyframes fluid-wave-cyan{0%{transform:translate3d(-12%,4%,0) rotate(8deg) scale(1.15,.85)}100%{transform:translate3d(20%,-28%,0) rotate(-28deg) scale(.92,1.15)}}
html[data-motion=paused] .fluid-color,html.page-hidden .fluid-color{animation-play-state:paused!important}
@media(max-width:650px){.fluid-layer{width:110vw;height:75vh}.fluid-color{filter:blur(30px);opacity:.8}.fluid-blue{left:-40%;top:-10%}.fluid-violet{right:-35%;top:20%}.fluid-cyan{left:0;bottom:-25%}}
@media(prefers-reduced-motion:reduce){html body .fluid-color{animation:none!important;transform:none!important;will-change:auto}.fluid-layer{transform:none!important;will-change:auto}}

/* Sunlit creative palette: warm paper, citrus, sky, mint and coral. */
:root{color-scheme:light;--exp-bg:#fffbed;--exp-surface:#ffffffed;--exp-line:#24606530;--exp-blue:#146c86;--exp-glow:#ffbd58}
html body,html body *{color:inherit!important;-webkit-text-fill-color:currentColor!important}
html body{background:#fffbed;color:#173f46!important}
.fluid-background{background:linear-gradient(135deg,#fff9dc,#effff6 48%,#eaf7ff)}
.fluid-layer{mix-blend-mode:multiply;opacity:.9}
.fluid-blue .fluid-color{background:radial-gradient(ellipse at 45% 45%,#68cbffdd,transparent 69%)}
.fluid-violet .fluid-color{background:radial-gradient(ellipse at 48% 44%,#ffe369ee,transparent 69%)}
.fluid-cyan .fluid-color{background:radial-gradient(ellipse at 50% 46%,#6de9b8dd,transparent 68%)}
.fluid-coral{left:-20%;top:35%;transform:translate3d(calc(var(--fluid-x)*-.6),calc(var(--fluid-y)*.7),0)}
.fluid-pink{right:-24%;bottom:-32%;transform:translate3d(calc(var(--fluid-x)*.8),calc(var(--fluid-y)*-.6),0)}
.fluid-gold{left:30%;top:-45%;transform:translate3d(calc(var(--fluid-x)*-.5),calc(var(--fluid-y)*.8),0)}
.fluid-coral .fluid-color{background:radial-gradient(ellipse at 45% 48%,#ffad83c9,transparent 66%);animation:fluid-wave-violet 26s ease-in-out infinite alternate-reverse!important}
.fluid-pink .fluid-color{background:radial-gradient(ellipse at 50% 44%,#ffcf71d9,transparent 68%);animation:fluid-wave-blue 31s ease-in-out infinite alternate-reverse!important}
.fluid-gold .fluid-color{background:radial-gradient(ellipse at 50% 50%,#fff279ee,transparent 64%);animation:fluid-wave-cyan 28s ease-in-out infinite alternate-reverse!important}
.color-bloom{position:absolute;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,var(--bloom-color),transparent 70%);filter:blur(16px);mix-blend-mode:multiply;pointer-events:none}
html body .navigation,html body footer,html body .features,html body .workflow,html body .workflow li{border-color:#25676b30}
html body h1,html body h2,html body h3,html body .identity,html body .page-heading h1{color:#153e45!important;-webkit-text-fill-color:currentColor!important}
html body .hero{overflow:clip}
html body .hero h1{font-family:'Segoe UI Variable','Segoe UI',sans-serif;font-size:clamp(42px,4.9vw,66px);font-weight:750;line-height:1.08;letter-spacing:-2.5px}
html body .hero h1 em{font-family:Georgia,serif;font-weight:400;letter-spacing:-2px;color:#af452c!important}
html body .eyebrow,html body .caption,html body .quality,html body label{color:#25646b!important}
html body .lead,html body .footnote,html body .illustration-note,html body .section-intro p,html body .feature-grid p,html body .workflow p,html body .intro,html body .auth-hint{color:#31545a!important;opacity:1}
html body .hero .eyebrow{background:#fffdf0c9;border-color:#2d766b40;box-shadow:0 4px 18px #6c8a5620}
html body .dot{background:#168564;box-shadow:0 0 0 4px #60dca935}
html body .button,html body .primary{background:linear-gradient(120deg,#176b78,#165aa0);border-color:#fff9;color:#fff!important;box-shadow:0 8px 24px #14567d24,inset 0 1px #ffffff50}
html body .button:hover,html body .primary:hover{background:linear-gradient(120deg,#105965,#164b88);border-color:#fff}
html body .button *,html body .primary *{color:#fff!important}
html body .quiet,html body .auth-switch a{color:#a23d24!important;font-weight:600}
html body .product-visual,html body .floating-reference{background:linear-gradient(140deg,#ffffffed,#fffce7ed);border-color:#fff;box-shadow:inset 0 1px #fff,12px 20px 0 -10px #74cbbd,16px 24px 0 -10px #ffcd6c,0 30px 65px #285f6730}
html body .scene-shell::before{border-color:#28968c50;box-shadow:0 0 0 32px #ffc76a18,0 0 0 64px #65c8dd12}
html body .scene-shell::after{background:#ffc66166}
html body .mock-canvas{border-color:#fff}
html body .landscape{background:linear-gradient(155deg,#83d9f2,#b3eee4 48%,#ffe3a4)}
html body .sun{background:linear-gradient(135deg,#fff9ab,#ffbe4c);box-shadow:0 0 45px #ffed9c}
html body .mountain{background:linear-gradient(140deg,#ffb269,#ef7f61)}
html body .mountain.near{background:linear-gradient(135deg,#319c90,#166a77)}
html body .horizon{background:linear-gradient(#6ce0c633,#237d8888)}
html body .scene-label{color:#164750!important}
html body .play{background:#fff9;border-color:#fff;color:#164750!important}
html body .timebar{color:#fff!important}
html body .mock-tags span,html body .pill,html body .quality{background:#e6f6ef;border-color:#2b79673b}
html body .mock-tags span:nth-child(2){background:#fff0cd}
html body .mock-tags span:nth-child(3){background:#e2f2ff}
html body .reference-art{background:radial-gradient(circle at 65% 30%,#ffe97d 0 13%,transparent 14%),linear-gradient(150deg,transparent 45%,#ed9667 46% 70%,#268f85 71%),linear-gradient(#88d9ee,#d0f2dd)}
html body .reference-art.frame-two{background:linear-gradient(65deg,#298c83 28%,transparent 29% 50%,#ffb26f 51% 70%,transparent 71%),linear-gradient(160deg,#ffe995,#a0e8f2)}
html body .feature-grid article{background:linear-gradient(145deg,#fffef4ef,#fff8);border-color:#fff;box-shadow:0 12px 30px #356a6812}
html body .feature-grid article:nth-child(2){background:linear-gradient(145deg,#edfff7ed,#fff9)}
html body .feature-grid article:nth-child(3){background:linear-gradient(145deg,#edf8ffed,#fff9)}
html body .feature-icon,html body .workflow li>span{background:#ffdf8177;border-color:#e8b74766;color:#805018!important}
html body .feature-grid article:nth-child(2) .feature-icon{background:#a7efd7;color:#155f50!important;border-color:#5cbba0}
html body .feature-grid article:nth-child(3) .feature-icon{background:#b8e9ff;color:#175b7c!important;border-color:#7ec7e4}
html body .cta{background:linear-gradient(120deg,#fff0bdeb,#c9f1e7e8 60%,#c6eaffed);border-color:#fff;box-shadow:0 15px 40px #226c6515}
html body aside{background:linear-gradient(180deg,#fffdf2f5,#eefbf5f5);border-color:var(--exp-line)}
html body .panel,html body .library-card,html body .job-card,html body .provider-card,html body .stat-card,html body .auth-card,html body dialog{background:linear-gradient(145deg,#fffffff2,#fffdf3f2);border-color:#36736a30;box-shadow:0 12px 32px #235b5e14}
html body .nav.active{background:linear-gradient(100deg,#aeead9,#d8f2ff);border-color:#5eaf9d;box-shadow:inset 3px 0 #16816c}
html body .reference-drop,html body .canvas,html body .tip,html body .model-note,html body .generation-progress{background:#f0faf3d9;border-color:#2e847e50}
html body .reference-drop:hover{background:#dcf6eb;border-color:#328679}
html body .orbit{background:linear-gradient(145deg,#ffe28c,#a4e7d1);border-color:#fff;box-shadow:7px 7px 0 -3px #8cd4cc}
html body .wallet,html body .model-badge,html body .admin-table th{background:#dff2e9;border-color:#39837840}
html body select,html body textarea,html body input:not([type=checkbox]):not([type=range]):not([type=file]),:root body.admin-body input:not([type=checkbox]),html body.admin-body select{background:#fffef8;border-color:#49888070;color:#173f46!important}
html body input::placeholder,html body textarea::placeholder{color:#597579!important;-webkit-text-fill-color:#597579!important;opacity:1}
html body .auth-shell{background:transparent}
html body .auth-error{background:#fff0e9;border-color:#bc694f;color:#90321d!important}
html body .motion-control,html body .skip-link{background:#fffdf1ed;border-color:#34867960;color:#164f56!important;box-shadow:0 6px 22px #235b5e18}
html body :focus-visible{outline-color:#116e82}
@media(max-width:650px){html body .hero h1{font-size:clamp(38px,10vw,51px);letter-spacing:-1.8px}.fluid-layer{opacity:.8}.fluid-gold{left:5%;top:10%}.fluid-coral{left:-55%;top:40%}.fluid-pink{right:-45%;bottom:-20%}.color-bloom{width:120px;height:120px;filter:blur(10px)}}
html[data-motion=paused] .fluid-color,html.page-hidden .fluid-color{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){html body .fluid-color{animation:none!important;transform:none!important}.color-bloom{display:none}}
html body .provider-choice select{background:#fffef8;border-color:#49888070}
html body .upload-icon,html body .canvas-tag,html body .model-badge small,html body .duration-slider-panel,html body .tabs{background:#e0f3e9;border-color:#478c7e50}
html body #demo-banner,html body #admin-demo{background:#fff0bc;border-color:#c5933950}
html body .tabs .selected{background:#b7e9d8}
html body #duration-slider{background:linear-gradient(90deg,#249d89 0%,#53b8bd var(--duration-fill),#d4e8df var(--duration-fill),#d4e8df 100%)}
html body #duration-slider::-webkit-slider-thumb{border-color:#218c80;box-shadow:none}
html body #duration-slider::-moz-range-thumb{border-color:#218c80;box-shadow:none}
html body .generation-progress progress{accent-color:#168979}
html body .generation-progress progress::-webkit-progress-bar{background:#d5ebe1}
html body .generation-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#168979,#45aaba)}
html body [hidden]{display:none!important}
/* Seven-color nocturnal fluid field. Cyan leads; all seven hues share a dark canvas. */
:root{color-scheme:dark;--exp-bg:#0c1721;--exp-surface:#142630ed;--exp-line:#a1dce92e;--exp-blue:#67ddeb;--exp-glow:#3ccef0}
html body{background:#0c1721;color:#edf9fa!important}
.fluid-background{background:linear-gradient(135deg,#101d29,#102323 50%,#131e30)}
.fluid-layer{mix-blend-mode:screen;opacity:.68}
.fluid-blue .fluid-color{background:radial-gradient(ellipse at 45% 45%,#3266d68c,transparent 68%)}
.fluid-violet .fluid-color{background:radial-gradient(ellipse at 48% 44%,#8261c965,transparent 68%)}
.fluid-cyan{left:20%;bottom:-32%}
.fluid-cyan .fluid-color{background:radial-gradient(ellipse at 50% 46%,#10c9e69e,transparent 67%)}
.fluid-coral .fluid-color{background:radial-gradient(ellipse at 45% 48%,#de5b6880,transparent 66%)}
.fluid-pink .fluid-color{background:radial-gradient(ellipse at 50% 44%,#ef8f4180,transparent 68%)}
.fluid-gold .fluid-color{background:radial-gradient(ellipse at 50% 50%,#e1bf4a70,transparent 65%)}
.fluid-green{left:35%;top:18%;transform:translate3d(calc(var(--fluid-x)*-.8),calc(var(--fluid-y)*.65),0)}
.fluid-green .fluid-color{background:radial-gradient(ellipse at 45% 50%,#20b87870,transparent 68%);animation:fluid-wave-violet 33s ease-in-out infinite alternate-reverse!important}
.color-bloom{mix-blend-mode:screen}
html body h1,html body h2,html body h3,html body .identity,html body .page-heading h1{color:#f0faf6!important}
html body .hero h1 em{color:#75e6ef!important}
html body .eyebrow,html body .caption,html body .quality,html body label{color:#a9e5e8!important}
html body .lead,html body .footnote,html body .illustration-note,html body .section-intro p,html body .feature-grid p,html body .workflow p,html body .intro,html body .auth-hint{color:#cee3e3!important}
html body .navigation,html body footer,html body .features,html body .workflow,html body .workflow li{border-color:var(--exp-line)}
html body .hero .eyebrow{background:#142c34b8;border-color:#77d4df50;box-shadow:0 4px 18px #0002}
html body .dot{background:#5de1c6;box-shadow:0 0 0 4px #60dca925}
html body .quiet,html body .auth-switch a{color:#ffd494!important}
html body .button,html body .primary{background:linear-gradient(120deg,#0d6d80,#225d96);border-color:#78e0ef70;color:#fff!important;box-shadow:0 8px 24px #062e4c40,inset 0 1px #ffffff30}
html body .button:hover,html body .primary:hover{background:linear-gradient(120deg,#148294,#2e70b0)}
html body .product-visual,html body .floating-reference{background:linear-gradient(140deg,#233e49ed,#152934f2);border-color:#a1dce950;box-shadow:inset 0 1px #fff2,12px 20px 0 -10px #277e85,16px 24px 0 -10px #b2945555,0 30px 65px #0005}
html body .scene-shell::before{border-color:#61d3da40;box-shadow:0 0 0 32px #ffc76a08,0 0 0 64px #65c8dd08}
html body .scene-shell::after{background:#24bed936}
html body .mock-tags span,html body .pill,html body .quality{background:#274853;border-color:#a1dce940}
html body .mock-tags span:nth-child(2){background:#544a2d}
html body .mock-tags span:nth-child(3){background:#294762}
html body .feature-grid article{background:linear-gradient(145deg,#263f46e8,#172c35ed);border-color:#9bd8e435;box-shadow:0 12px 30px #0002}
html body .feature-grid article:nth-child(2){background:linear-gradient(145deg,#234b43e8,#172e34ed)}
html body .feature-grid article:nth-child(3){background:linear-gradient(145deg,#294358e8,#1b2d3aed)}
html body .feature-icon,html body .workflow li>span{background:#d4b55226;border-color:#d9bb5550;color:#ffe19c!important}
html body .feature-grid article:nth-child(2) .feature-icon{background:#4ce3ac20;color:#9ff1d0!important;border-color:#5cbba060}
html body .feature-grid article:nth-child(3) .feature-icon{background:#40cce522;color:#9debf5!important;border-color:#7ec7e460}
html body .cta{background:linear-gradient(120deg,#4d4437d9,#234c48e8 55%,#23445bed);border-color:#a1dce940;box-shadow:0 15px 40px #0002}
html body aside{background:linear-gradient(180deg,#14272ff5,#11242af5);border-color:var(--exp-line)}
html body .panel,html body .library-card,html body .job-card,html body .provider-card,html body .stat-card,html body .auth-card,html body dialog{background:linear-gradient(145deg,#203740f2,#142a32f2);border-color:#a1dce930;box-shadow:0 12px 32px #0002}
html body .nav.active{background:linear-gradient(100deg,#205b5c,#24475c);border-color:#65d2cf50;box-shadow:inset 3px 0 #65dfe8}
html body .reference-drop,html body .canvas,html body .tip,html body .model-note,html body .generation-progress{background:#122b34d9;border-color:#78d9df40}
html body .reference-drop:hover{background:#23454c;border-color:#79dbe0}
html body .wallet,html body .model-badge,html body .admin-table th{background:#254650;border-color:#91d5dc40}
html body select,html body .provider-choice select,html body textarea,html body input:not([type=checkbox]):not([type=range]):not([type=file]),:root body.admin-body input:not([type=checkbox]),html body.admin-body select{background:#10232d;border-color:#7ebac660;color:#e8f7f8!important}
html body input::placeholder,html body textarea::placeholder{color:#a6c2c8!important;-webkit-text-fill-color:#a6c2c8!important}
html body .upload-icon,html body .canvas-tag,html body .model-badge small,html body .duration-slider-panel,html body .tabs{background:#264550;border-color:#81bdc540}
html body #demo-banner,html body #admin-demo{background:#48432c;border-color:#c5933950}
html body .tabs .selected{background:#32616a}
html body .auth-error{background:#4b2c2e;border-color:#eaa08960;color:#ffd5c8!important}
html body .motion-control,html body .skip-link{background:#142e38ed;border-color:#81dae360;color:#dbf9fc!important;box-shadow:0 6px 22px #0003}
html body :focus-visible{outline-color:#79ecf6}
html body #duration-slider{background:linear-gradient(90deg,#27bcb1 0%,#65dbea var(--duration-fill),#35545e var(--duration-fill),#35545e 100%)}
html body .generation-progress progress::-webkit-progress-bar{background:#35545e}
@media(max-width:650px){.fluid-layer{opacity:.65}.fluid-cyan{left:-10%;bottom:-20%}.fluid-green{left:5%;top:25%}}
/* Creation-first landing, with frosted liquid-glass materials. Scoped to public home. */
.creative-home{--glass-edge:#dafaff45;--glass-shadow:0 16px 56px #0003,inset 0 1px #ffffff45,inset 0 -1px #ffffff12}
.creative-home .wrap{max-width:1320px}
.creative-home .glass-nav{position:relative;top:18px;min-height:78px;width:calc(100% - 48px);border:1px solid var(--glass-edge);border-radius:24px;background:linear-gradient(125deg,#ffffff15,#ffffff05);backdrop-filter:blur(24px) saturate(150%);box-shadow:var(--glass-shadow)}
.creative-home .liquid-glass{border:1px solid var(--glass-edge);background:linear-gradient(125deg,#ffffff1e,#ffffff08 45%,#c3f6ff12);backdrop-filter:blur(28px) saturate(150%);box-shadow:var(--glass-shadow)}
.creative-home .creation-hero{position:relative;isolation:isolate;text-align:center;padding-top:110px;padding-bottom:65px;overflow:clip}
.creative-home .creation-hero>.eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:23px}
html body.creative-home .creation-hero h1{font-size:clamp(54px,6.4vw,88px);font-weight:550;line-height:1.02;letter-spacing:-4px;margin:0 0 25px}
html body.creative-home h1 em,html body.creative-home h2 em{font-family:Georgia,serif;font-weight:400;color:#9aeef3!important}
html body.creative-home .creation-intro{color:#c9dfe4!important;font-size:16px;line-height:1.7}
.creative-home .glass-orbit{position:absolute;z-index:-1;left:calc(50% - 260px);top:30px;width:520px;height:520px;border-radius:50%;border:1px solid #b7faff33;background:radial-gradient(circle at 20% 20%,#64e6ed1a,transparent 45%);box-shadow:inset 15px 8px 32px #bcf7ff14,inset -12px -8px 30px #ffbf6310,0 0 0 35px #baf5ff03;transform:rotateX(55deg) rotateY(-22deg) rotate(-25deg);pointer-events:none}
.creative-home .idea-composer{position:relative;text-align:left;max-width:760px;margin:32px auto 0;border-radius:26px;padding:22px 24px 15px}
.creative-home .idea-composer label{font-size:11px;letter-spacing:1px;display:block;margin-bottom:8px}
html body.creative-home .idea-composer textarea{background:transparent;border:0;border-radius:0;box-shadow:none;resize:vertical;width:100%;min-height:78px;max-height:200px;padding:0;font-size:18px;line-height:1.5}
html body.creative-home .idea-composer textarea:focus-visible{outline:2px solid #93e9f3;outline-offset:5px;border-radius:4px}
.creative-home .idea-tools{display:flex;align-items:center;gap:20px;margin-top:9px}
.creative-home .idea-format{display:flex;gap:7px;align-items:center;font-size:12px;color:#d2e9ec!important}
.creative-home .idea-format svg{width:19px;height:19px}
html body.creative-home .idea-submit{margin-left:auto;border:1px solid #ffffff85;border-radius:50%;width:46px;height:46px;background:linear-gradient(140deg,#b4f3ef,#77ccde);color:#102e3a!important;font-size:25px;box-shadow:0 2px 18px #98f2f325;transition:transform .2s}
.creative-home .idea-submit:hover{transform:rotate(8deg) scale(1.05)}
.creative-home .idea-composer small{display:block;font-size:11px;color:#c8dee3!important;margin-top:14px}
.creative-home .creative-chips{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:22px}
.creative-home .creative-chips a{border:1px solid #d2f6ff2e;border-radius:30px;padding:10px 17px;min-height:44px;font-size:12px;background:#ffffff07;transition:background .2s}
.creative-home .creative-chips a:hover{background:#ffffff18;text-decoration:none}
.creative-home .inspiration{padding-top:20px;padding-bottom:70px;scroll-margin-top:20px}
.creative-home .gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}
.creative-home .gallery-heading .eyebrow{margin-bottom:12px}
.creative-home .gallery-heading h2{font-size:34px;letter-spacing:-1px;margin:0}
.creative-home .gallery-heading>p{font-size:13px;line-height:1.7;color:#c8dde2!important}
.creative-home .editorial-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:18px}
.creative-home .editorial-card{position:relative;display:block;min-width:0;height:440px;overflow:hidden;border:1px solid #dcf8ff48;border-radius:22px;box-shadow:0 16px 45px #0003;text-decoration:none;isolation:isolate;transition:transform .35s,box-shadow .35s}
.creative-home .world-card{height:480px;margin-top:27px}
.creative-home .editorial-card:hover{transform:translateY(-7px);box-shadow:0 22px 50px #0005}
.creative-home .gallery-art{position:absolute;inset:0;background-color:#224f5a;background-size:300% 100%;background-repeat:no-repeat;transition:transform .7s}
.creative-home .art-portrait{background-position:left center}.creative-home .art-world{background-position:center center}.creative-home .art-product{background-position:right center}
.creative-home .editorial-card:hover .gallery-art{transform:scale(1.05)}
.creative-home .editorial-card::after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(#00101c35,transparent 35%,#04141b22 45%,#031018ed)}
.creative-home .card-top,.creative-home .card-bottom{position:absolute;left:20px;right:20px;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:10px}
.creative-home .card-top{top:18px}.creative-home .card-bottom{bottom:26px;align-items:end}.creative-home .world-card .card-bottom{bottom:51px}
html body.creative-home .card-top,html body.creative-home .card-bottom,html body.creative-home .card-bottom h3{color:#fff!important}
.creative-home .glass-label{font-size:8px;letter-spacing:1px;border:1px solid #fff5;border-radius:30px;padding:7px 10px;background:#15283238;backdrop-filter:blur(16px)}
.creative-home .card-bottom div>span{font-size:9px;letter-spacing:1.5px;color:#d3f4ee!important}
.creative-home .card-bottom h3{font-size:27px;line-height:1.14;letter-spacing:-.7px;margin:10px 0 0}
.creative-home .round-arrow{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border:1px solid #fff7;border-radius:50%;background:#fff2;backdrop-filter:blur(12px);font-size:22px}
.creative-home .mini-timeline{position:absolute;left:22px;right:22px;bottom:19px;z-index:1;display:flex;gap:10px;align-items:center;font-size:8px;color:#fff!important}.creative-home .mini-timeline i{height:2px;flex:1;background:linear-gradient(90deg,#9cf0ec 30%,#ffffff50 30%)}
.creative-home .gallery-disclaimer{font-size:11px;color:#b7d0d7!important;margin-top:18px}
.creative-home .creative-workflow{display:grid;grid-template-columns:1fr 1.2fr;gap:80px;padding-top:45px;padding-bottom:90px;border-top:1px solid #c8f4ff25;scroll-margin-top:30px}
.creative-home .workflow-title h2{font-size:46px;line-height:1.13;letter-spacing:-1.7px;margin-bottom:25px}
.creative-home .creative-workflow ol{padding:0;margin:0;list-style:none;display:grid;gap:14px}
.creative-home .creative-workflow li{display:flex;align-items:start;gap:22px;border-radius:18px;padding:23px}
.creative-home .creative-workflow li>span{font-size:12px;color:#9ce8ed!important;padding-top:4px}
.creative-home .creative-workflow h3{font-size:18px;margin-bottom:8px}.creative-home .creative-workflow li p{font-size:13px;color:#c4dce2!important;line-height:1.7;margin:0}
.creative-home .creative-finale{text-align:center;border-radius:32px;width:calc(100% - 64px);padding:55px 30px;margin-bottom:65px;background:radial-gradient(ellipse at 0 100%,#48cdd022,transparent 60%),linear-gradient(120deg,#ffffff17,#ffffff05)}
.creative-home .creative-finale h2{font-size:68px;line-height:1.05;letter-spacing:-2px}.creative-home .creative-finale>.button{margin-top:12px}.creative-home .creative-finale>p:last-child{font-size:12px;margin-top:22px;color:#c7dce4!important}
@supports not (backdrop-filter:blur(1px)){.creative-home .liquid-glass,.creative-home .glass-nav{background:#213940}}
@media(min-width:1600px){.creative-home .creation-hero{padding-top:130px}.creative-home .editorial-card{height:500px}.creative-home .world-card{height:540px}}
@media(max-width:900px){.creative-home .gallery-heading{align-items:start;flex-direction:column;gap:10px}.creative-home .editorial-grid{gap:12px}.creative-home .card-top{left:12px;right:12px;flex-wrap:wrap}.creative-home .card-bottom{left:14px;right:14px}.creative-home .card-bottom h3{font-size:22px}.creative-home .round-arrow{width:34px;height:34px}.creative-home .creative-workflow{gap:35px}.creative-home .workflow-title h2{font-size:36px}}
@media(max-width:650px){.creative-home .glass-nav{top:12px;width:calc(100% - 24px);padding:12px 16px;min-height:72px;border-radius:20px}.creative-home .identity img{width:36px;height:36px}.creative-home .nav-actions{gap:12px}.creative-home .navigation .button{font-size:11px;padding:8px 10px}.creative-home .creation-hero{padding-top:75px;padding-bottom:44px}html body.creative-home .creation-hero h1{font-size:clamp(48px,12vw,68px);letter-spacing:-2.6px}.creative-home .creation-hero>.eyebrow{font-size:8px;letter-spacing:1.1px}.creative-home .creation-intro{font-size:14px!important}.creative-home .idea-composer{padding:19px 17px 15px;border-radius:22px;margin-top:26px}html body.creative-home .idea-composer textarea{font-size:16px;min-height:95px}.creative-home .idea-tools{gap:12px}.creative-home .idea-format{font-size:10px;gap:5px}.creative-home .idea-format svg{width:16px}.creative-home .idea-composer small{font-size:10px}.creative-home .creative-chips{gap:7px}.creative-home .creative-chips a{font-size:10px;padding:10px 12px}.creative-home .gallery-heading h2{font-size:29px}.creative-home .editorial-grid{grid-template-columns:1fr}.creative-home .editorial-card,.creative-home .world-card{height:420px;margin-top:0}.creative-home .card-top{left:20px;right:20px}.creative-home .card-bottom{left:22px;right:22px}.creative-home .card-bottom h3{font-size:31px}.creative-home .glass-label{font-size:9px}.creative-home .round-arrow{width:44px;height:44px}.creative-home .inspiration{padding-bottom:45px}.creative-home .creative-workflow{grid-template-columns:1fr;gap:25px;padding-bottom:50px}.creative-home .creative-finale{width:calc(100% - 32px);border-radius:24px;padding:40px 22px}.creative-home .creative-finale h2{font-size:54px}}
@media(prefers-reduced-motion:reduce){.creative-home .editorial-card,.creative-home .gallery-art,.creative-home .idea-submit{transition:none;transform:none!important}}
html[data-motion=paused] .creative-home .editorial-card:hover,html[data-motion=paused] .creative-home .editorial-card:hover .gallery-art,html[data-motion=paused] .creative-home .idea-submit:hover{transform:none}
html body.creative-home .idea-composer textarea{font-family:'Segoe UI Variable','Segoe UI',Arial,sans-serif}
@media(max-width:380px){.creative-home .identity{font-size:10px}.creative-home .identity img{width:30px;height:30px}.creative-home .identity b{letter-spacing:2px}.creative-home .nav-actions{gap:9px}.creative-home .navigation{gap:9px}.creative-home .navigation .button{gap:7px}}
/* Shared liquid-glass system: studio, library, history, administration and account. */
html body.glass-app,html body.glass-account{--glass-edge:#d9faff38;--glass-panel:linear-gradient(135deg,#e2faff15,#b7e6f009 48%,#f9e5c80c);--glass-shadow:0 14px 42px #0002,inset 0 1px #ffffff35,inset 0 -1px #ffffff0c;font-family:'Segoe UI Variable','Segoe UI',Arial,sans-serif}
html body.glass-app aside{background:linear-gradient(160deg,#c4f3ff13,#c4f3ff05);border:1px solid var(--glass-edge);backdrop-filter:blur(28px) saturate(155%);box-shadow:var(--glass-shadow)}
html body.glass-app .panel,html body.glass-app .library-card,html body.glass-app .job-card,html body.glass-app .provider-card,html body.glass-app .stat-card,html body.glass-app dialog,html body.glass-account .auth-card{background:var(--glass-panel);border:1px solid var(--glass-edge);border-radius:24px;backdrop-filter:blur(26px) saturate(145%);box-shadow:var(--glass-shadow)}
html body.glass-app main>header{position:relative;margin-top:20px;margin-bottom:12px;padding:0 20px;height:66px;border:1px solid var(--glass-edge);border-radius:21px;background:linear-gradient(120deg,#ffffff13,#ffffff06);backdrop-filter:blur(22px) saturate(150%);box-shadow:var(--glass-shadow)}
html body.glass-app .nav{border-radius:14px;transition:background .2s,border-color .2s;min-height:44px}
html body.glass-app .nav.active{background:linear-gradient(120deg,#7fe7ee28,#92c5ff18);border-color:#beefff45;box-shadow:inset 0 1px #fff2,0 4px 18px #0001}
html body.glass-app .nav:hover{background:#c4f6ff14}
html body.glass-app .brand-image{margin-bottom:30px}
html body.glass-app .brand-image img{border-radius:18px;box-shadow:0 8px 25px #0002}
html body.glass-app .page-heading{padding:30px 0}
html body.glass-app .page-heading h1{font-weight:550;letter-spacing:-1.1px;font-size:36px}
html body.glass-app .page-heading p,html body.glass-app .subtle{color:#c8e0e6!important}
html body.glass-app .panel-heading h2{font-weight:550;font-size:18px}
html body.glass-app .panel-heading>span{font-size:10px;letter-spacing:1.3px}
html body.glass-app .wallet,html body.glass-app .model-badge,html body.glass-app .canvas-tag,html body.glass-app .upload-icon,html body.glass-app .model-badge small{background:linear-gradient(135deg,#dafaff1d,#dafaff08);border:1px solid #c9faff38;border-radius:12px;box-shadow:inset 0 1px #ffffff25;backdrop-filter:blur(12px)}
html body.glass-app .model-badge small{border-radius:5px}
html body.glass-app .reference-drop{background:linear-gradient(145deg,#72e7e712,#8bbaff05);border:1px dashed #b0f2f34f;border-radius:18px;transition:background .2s,border-color .2s}
html body.glass-app .reference-drop:hover,html body.glass-app .reference-drop.drag{background:#8de7ec1c;border-color:#a8edf2}
html body.glass-app .canvas{background:radial-gradient(ellipse at 50% 36%,#45d7db14,transparent 65%),#061d2726;border-color:#b4edf32e;border-radius:19px}
html body.glass-app .orbit{background:linear-gradient(140deg,#a9f1ed90,#4899b450);border-color:#d4ffff6b;box-shadow:inset 0 1px #fff8,0 10px 30px #072b3545,8px 8px 0 -4px #81d9e22b;border-radius:24px;color:#eaffff!important}
html body.glass-app .tip,html body.glass-app .model-note,html body.glass-app .generation-progress,html body.glass-app .duration-slider-panel,html body.glass-app .connection-result{background:linear-gradient(130deg,#d3faff10,#d3faff04);border:1px solid #cff5ff2b;border-radius:16px;box-shadow:inset 0 1px #ffffff15}
html body.glass-app select,html body.glass-app .provider-choice select,html body.glass-app textarea,html body.glass-app input:not([type=checkbox]):not([type=range]):not([type=file]),:root body.admin-body.glass-app input:not([type=checkbox]),html body.glass-account input{background:linear-gradient(135deg,#0c233b80,#0d283c45);border:1px solid #c4edf342;border-radius:13px;min-height:46px;color:#effcfc!important;box-shadow:inset 0 1px 5px #0001;transition:border-color .2s,background .2s}
html body.glass-app select option{background:#17303b;color:#edfaff!important}
html body.glass-app input:focus,html body.glass-app select:focus,html body.glass-app textarea:focus,html body.glass-account input:focus{border-color:#92e6ef;background-color:#1b455e40}
html body.glass-app .primary,html body.glass-account .button{border-radius:14px;background:linear-gradient(120deg,#196f82,#27649b);border:1px solid #b4f7ff68;box-shadow:inset 0 1px #ffffff45,0 7px 22px #001c3440;min-height:46px}
html body.glass-app .secondary,html body.glass-app .pack,html body.glass-app .reference-remove{background:linear-gradient(135deg,#e0faff20,#d0efff09);border:1px solid #c9f6ff40;box-shadow:inset 0 1px #ffffff24;border-radius:12px;min-height:44px}
html body.glass-app .secondary:hover,html body.glass-app .pack:hover{background:#cdf5ff25}
html body.glass-app .danger{background:linear-gradient(120deg,#a34b534d,#76354470);border:1px solid #f3b3b55c;border-radius:12px;min-height:44px}
html body.glass-app .library-card,html body.glass-app .job-card,html body.glass-app .provider-card{transition:border-color .25s,box-shadow .25s}
html body.glass-app .library-card:hover,html body.glass-app .job-card:hover,html body.glass-app .provider-card:hover{border-color:#bcf3ff65;box-shadow:var(--glass-shadow)}
html body.glass-app .reference-card,html body.glass-app .upload-item{background:#caefff0b;border-color:#c0eaff30;border-radius:14px}
html body.glass-app .reference-preview{background:#10263180}
html body.glass-app .admin-table th{background:#d3f6ff0c}
html body.glass-app .admin-table td{border-color:#c5ecff1e}
html body.glass-app .admin-table tbody tr:hover{background:#d3f5ff09}
html body.glass-app .table-scroll{overflow:auto;border-radius:20px}
html body.glass-app .status-pill{border-radius:30px;padding:5px 9px;background:#60e5b51b;border-color:#89e8c448;color:#c0ffe5!important}
html body.glass-app .status-pill.muted{background:#bbd2ff12;border-color:#b8dfff35;color:#d9ebf5!important}
html body.glass-app dialog{background:linear-gradient(135deg,#25404eee,#142e3aeF);max-width:calc(100vw - 28px)}
html body.glass-app dialog::backdrop{background:#03101c99;backdrop-filter:blur(10px)}
html body.glass-app #toast{background:linear-gradient(120deg,#355a69f5,#193949f5);border:1px solid #c4f4ff66;backdrop-filter:blur(25px);border-radius:17px;box-shadow:var(--glass-shadow)}
html body.glass-account .auth-shell{position:relative;isolation:isolate;padding:48px 20px;overflow:hidden}
html body.glass-account .auth-shell::before{content:'';position:absolute;z-index:-1;width:580px;height:580px;left:calc(50% - 290px);top:calc(50% - 290px);border:1px solid #cffaff30;border-radius:50%;background:linear-gradient(135deg,#a4f6ff08,#ffc57906);box-shadow:inset 18px 0 45px #b8fbff12,0 0 0 42px #adf4ff03;transform:rotateX(34deg) rotate(-24deg);pointer-events:none}
html body.glass-account .auth-card{max-width:480px;padding:38px;position:relative;overflow:hidden}
html body.glass-account .auth-card::before{left:10%;right:10%;background:linear-gradient(90deg,transparent,#defeffb0,transparent)}
html body.glass-account .auth-card h1{font-size:36px;font-weight:550;letter-spacing:-1.2px}
html body.glass-account .auth-card .identity{margin-bottom:34px}
html body.glass-account .auth-card .eyebrow{letter-spacing:2px;font-size:10px}
html body.glass-account .auth-card .intro{margin-bottom:24px}
html body.glass-account .auth-card label{font-size:13px}
html body.glass-account .auth-card input{margin-top:9px;min-height:50px}
html body.glass-account .auth-card .button{min-height:50px;margin-top:27px}
html body.glass-account .auth-error{background:#8e455126;border-color:#ffa8a445;border-radius:12px;padding:14px}
@media(min-width:901px){html body.glass-app aside{inset:20px auto 20px 18px;width:218px;padding:24px 17px;border-radius:24px}html body.glass-app main{margin-left:248px;padding-left:24px;padding-right:28px}html body.glass-app aside .brand-image img{width:145px;height:145px}}
@media(min-width:901px) and (max-width:1100px){html body.glass-app aside{width:190px;left:12px}html body.glass-app main{margin-left:214px}}
@media(max-width:900px){html body.glass-app aside{border-radius:0 0 22px 22px;background:linear-gradient(135deg,#203d4beF,#182e3deF)}html body.glass-app .brand-image{margin-bottom:0}html body.glass-app main>header{margin-top:15px}html body.glass-app .page-heading h1{font-size:30px}}
@media(max-width:600px){html body.glass-app main>header{border-radius:16px;padding:0 14px;min-height:62px;height:auto;gap:12px}html body.glass-app .breadcrumb{font-size:10px}html body.glass-app .breadcrumb span{margin:0 6px}html body.glass-app .wallet{padding:8px 10px}html body.glass-app .panel,html body.glass-app .library-card,html body.glass-app .job-card,html body.glass-app .provider-card,html body.glass-app .stat-card{border-radius:20px}html body.glass-app .page-heading h1{font-size:28px}html body.glass-app .page-heading{gap:12px;flex-wrap:wrap}html body.glass-app .page-heading p{font-size:13px}html body.glass-app select,html body.glass-app textarea,html body.glass-app input:not([type=checkbox]):not([type=range]):not([type=file]),:root body.admin-body.glass-app input:not([type=checkbox]){font-size:16px}html body.glass-account .auth-card{padding:29px 23px;border-radius:24px}html body.glass-account .auth-card h1{font-size:31px}html body.glass-account .auth-shell{padding:30px 16px}}
@supports not (backdrop-filter:blur(1px)){html body.glass-app .panel,html body.glass-app aside,html body.glass-app main>header,html body.glass-app .library-card,html body.glass-app .job-card,html body.glass-app .provider-card,html body.glass-app dialog,html body.glass-account .auth-card{background:#1b3442}}
/* Superadmin user control shares the liquid-glass material system. */
html body.glass-app .user-control{scroll-margin-top:24px}
.user-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:18px 0}.user-toolbar label{display:grid;gap:8px;flex:1;max-width:440px}.user-toolbar>span{font-size:12px;padding-bottom:12px}.user-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:260px}.user-table td:first-child{overflow-wrap:anywhere;min-width:190px}.user-actions .secondary{padding:8px 12px;font-size:12px}
.user-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.user-dialog-heading button{min-width:44px;font-size:22px}
#user-dialog{width:500px}#user-form label{display:grid;gap:8px;margin-top:16px}#user-form .dialog-actions{margin-top:24px}#user-ledger-dialog{width:750px;max-height:85dvh}#user-ledger-entries .ledger-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:16px 0}#user-ledger-entries small{grid-column:1/-1;opacity:.75}#coin-confirm{width:560px}#coin-confirm p{line-height:1.8;margin-top:16px}#user-rows .status-pill{white-space:nowrap}
@media(max-width:600px){.user-toolbar{align-items:stretch;flex-direction:column;gap:8px}.user-toolbar>span{padding-bottom:0}.user-control .admin-section-heading{align-items:start;flex-wrap:wrap;gap:16px}.user-control .admin-section-heading .primary{width:100%}#user-dialog,#coin-confirm,#user-ledger-dialog{padding:22px}.user-actions{min-width:210px}.user-actions .secondary{padding:8px}.user-toolbar input{width:100%}}
/* Keep user-account actions in a single horizontal row. */
html body.glass-app .user-table .user-actions{display:table-cell;min-width:290px;white-space:nowrap}
html body.glass-app .user-table .user-actions .secondary{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-right:8px;white-space:nowrap}
html body.glass-app .user-table .user-actions .secondary:last-child{margin-right:0}
html body.glass-account .google-signin{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #dce2e8;border-radius:12px;background:#fff;color:#1f1f1f!important;min-height:48px;padding:12px 16px;font-size:14px;font-weight:500;text-decoration:none;transition:box-shadow .2s}
html body.glass-account .google-signin svg{width:20px;height:20px;flex-shrink:0}
html body.glass-account .google-signin:hover{box-shadow:0 3px 15px #0003}
html body.glass-account .google-signin[aria-disabled=true]{opacity:.65;cursor:not-allowed}
.google-auth-area{margin-top:24px}.google-auth-area .auth-hint{text-align:center;margin-top:9px;line-height:1.6}.auth-divider{display:flex;align-items:center;gap:14px;margin:24px 0 5px;font-size:11px;color:#cae5e8!important}.auth-divider::before,.auth-divider::after{content:'';height:1px;flex:1;background:#c1e8f02e}

/* Responsive workspace: compact navigation, comfortable touch targets, contained data. */
.mobile-nav-toggle{display:none}
.workspace-menu{display:flex;flex-direction:column;flex:1;min-height:0}
.workspace-menu .motion-control{position:static;align-self:stretch;margin-top:12px;width:100%}
@media(max-width:900px){
 html body.glass-app aside{position:sticky;inset:0;top:0;z-index:30;width:100%;height:auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0;padding:8px 16px;border-radius:0;border:0;border-bottom:1px solid #b9f3ff30;backdrop-filter:blur(16px);background:#122c3af2}
 html body.glass-app aside .brand.brand-image{width:auto;height:48px;flex:0 1 auto;margin:0;display:flex;gap:10px}
 html body.glass-app aside .brand-image::after{content:'DEXTERZ STUDIO';font-size:12px;font-weight:700;letter-spacing:1.3px}
 html body.glass-app aside .brand-image img{width:44px;height:44px;transform:none;object-fit:contain;border-radius:10px}
 html body.glass-app .mobile-nav-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:44px;border:1px solid #b9f3ff40;border-radius:12px;background:#d4f8ff12;font-size:14px}
 html body.glass-app .workspace-menu{display:none;flex-basis:100%;width:100%;max-height:calc(100dvh - 88px);overflow-y:auto;padding:18px 0 8px;gap:6px}
 html body.glass-app .mobile-nav-open .workspace-menu{display:flex}
 html body.glass-app aside .section-label{margin:0 10px 6px;font-size:11px}
 html body.glass-app aside .nav{display:flex;flex:initial;justify-content:flex-start;text-align:left;min-height:48px;width:100%;padding:12px;font-size:14px;margin:0;overflow-wrap:anywhere}
 html body.glass-app aside .aside-bottom{display:block;flex:initial;margin-top:8px;width:100%;padding-top:8px;border-top:1px solid #d1f6ff22}
 html body.glass-app aside .model-note{display:none}
 html body.glass-app main{width:100%;min-width:0;margin-left:0;padding:0 20px}
 html body.glass-app main>header{margin-top:16px;min-height:60px;height:auto;padding:12px 16px;gap:12px;flex-wrap:wrap}
 html body.glass-app .studio-grid{grid-template-columns:minmax(0,1fr);gap:22px}
 html body.glass-app .studio-grid>*{min-width:0}
 html body.glass-app .page-heading{padding:26px 0 22px;gap:16px;flex-wrap:wrap}
 html body.glass-app .page-heading h1{font-size:30px;line-height:1.2}
 html body.glass-app .page-heading p{font-size:14px;line-height:1.6}
 html body.glass-app .provider-grid{grid-template-columns:minmax(0,1fr)}
 html body.glass-app .table-scroll{max-width:100%;overscroll-behavior-x:contain}
 html body.glass-app .admin-section-heading{flex-wrap:wrap;gap:16px}
 html body.glass-app .grant-form{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
 html body.glass-app #password-form{grid-template-columns:minmax(0,1fr)}
 html body.glass-app .user-control{scroll-margin-top:85px}
}
@media(max-width:600px){
 html body.glass-app main{padding:0 14px}
 html body.glass-app main>header .breadcrumb{font-size:12px}
 html body.glass-app #admin-identity{font-size:12px;overflow-wrap:anywhere;width:100%}
 html body.glass-app .wallet{min-height:44px;font-size:13px;margin-left:auto}
 html body.glass-app .composer,html body.glass-app .preview,html body.glass-app .password-settings,html body.glass-app .provider-card{padding:18px}
 html body.glass-app .model-badge{font-size:12px}
 html body.glass-app .panel-heading{gap:12px;margin-bottom:20px}
 html body.glass-app .panel-heading h2{font-size:17px}
 html body.glass-app .reference-inputs{grid-template-columns:minmax(0,1fr)}
 html body.glass-app .field-heading{gap:8px;flex-wrap:wrap;align-items:center}
 html body.glass-app .field-heading label{font-size:13px}
 html body.glass-app .text-button{min-height:44px;padding:8px 4px;font-size:13px}
 html body.glass-app .reference-drop{min-height:156px;padding:20px 10px}
 html body.glass-app .reference-drop small,html body.glass-app .fine-print,html body.glass-app .provider-choice small{font-size:12px;line-height:1.6}
 html body.glass-app .settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
 html body.glass-app .duration-field{grid-column:1/-1;grid-row:2}
 html body.glass-app .settings>*{min-width:0}
 html body.glass-app label{font-size:13px}
 html body.glass-app select,html body.glass-app textarea,html body.glass-app input:not([type=checkbox]):not([type=range]):not([type=file]){max-width:100%;width:100%;min-width:0;font-size:16px}
 html body.glass-app textarea{min-height:150px;padding:14px}
 html body.glass-app .generate-footer{display:grid;grid-template-columns:1fr;gap:16px;align-items:stretch}
 html body.glass-app .generate-footer>div{display:flex;justify-content:space-between;align-items:center;gap:12px}
 html body.glass-app #generate{width:100%;min-height:52px}
 html body.glass-app .canvas{min-height:240px}
 html body.glass-app .preview-bottom{font-size:11px;flex-wrap:wrap;gap:8px}
 html body.glass-app .reference-remove{width:44px;height:44px;min-width:44px}
 html body.glass-app .library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html body.glass-app .job-card{min-width:0;padding:16px;overflow-wrap:anywhere}
 html body.glass-app .job-top,html body.glass-app .job-actions,html body.glass-app .provider-actions{flex-wrap:wrap;gap:8px}
 html body.glass-app .provider-model,html body.glass-app .provider-endpoint{overflow-wrap:anywhere}
 html body.glass-app .admin-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html body.glass-app .stat-card{min-width:0;padding:16px}
 html body.glass-app .stat-card span{font-size:10px;letter-spacing:.7px}
 html body.glass-app #usage-filter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;gap:12px}
 html body.glass-app #usage-filter button{grid-column:1/-1}
 html body.glass-app .user-table{display:block;min-width:0;width:100%}
 html body.glass-app .user-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 html body.glass-app .user-table tbody{display:grid;gap:12px;padding:12px}
 html body.glass-app .user-table tr{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px;border:1px solid #c5ecff22;border-radius:14px}
 html body.glass-app .user-table td{display:block;min-width:0;padding:0;border:0;font-size:13px}
 html body.glass-app .user-table td:first-child{grid-column:1/-1;font-size:15px;font-weight:600;overflow-wrap:anywhere}
 html body.glass-app .user-table td:nth-child(4){grid-column:1/-1;font-weight:600;color:#9deaff!important}
 html body.glass-app .user-table .user-actions{display:flex;grid-column:1/-1;min-width:0;gap:8px;white-space:normal;padding-top:6px}
 html body.glass-app .user-table .user-actions .secondary{flex:1;min-width:0;margin:0;padding:8px 6px;font-size:12px;white-space:nowrap}
 html body.glass-app dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:24px 18px;overflow-y:auto;overscroll-behavior:contain;border-radius:20px}
 html body.glass-app .dialog-actions{display:flex;flex-wrap:wrap;gap:10px}
 html body.glass-app .dialog-actions button{flex:1;min-height:46px}
 html body.glass-app .ledger-row{gap:12px;overflow-wrap:anywhere}
 html body.glass-app #toast{left:14px;right:14px;bottom:max(16px,env(safe-area-inset-bottom));max-width:none;font-size:14px}
 html body.glass-app footer{padding:30px 0 calc(24px + env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px}
 html body.glass-account .auth-shell{padding:20px 14px 80px;align-items:start}
 html body.glass-account .auth-card{padding:26px 20px;max-width:100%;min-width:0}
 html body.glass-account .auth-card .identity{margin-bottom:24px}
 html body.glass-account .auth-card h1{font-size:30px}
 html body.creative-home .navigation{padding:10px 14px;gap:10px;min-height:72px}
 html body.creative-home .identity{gap:6px;font-size:11px}
 html body.creative-home .identity img{width:36px;height:36px}
 html body.creative-home .nav-actions{gap:10px;font-size:13px}
 html body.creative-home .nav-actions>a{min-height:44px;display:inline-flex;align-items:center}
 html body.creative-home .creation-hero{padding:42px 18px 32px}
 html body.creative-home .creation-hero h1{font-size:clamp(40px,11vw,60px);line-height:1.08;letter-spacing:-1.8px}
 html body.creative-home .creation-intro{font-size:15px}
 html body.creative-home .idea-composer{padding:18px;border-radius:20px}
 html body.creative-home .idea-composer textarea{font-size:16px;min-height:110px;width:100%}
 html body.creative-home .idea-tools{gap:8px;flex-wrap:wrap}
 html body.creative-home .idea-format{font-size:11px}
 html body.creative-home .creative-chips{gap:8px}
 html body.creative-home .creative-chips a{font-size:12px;min-height:44px;display:inline-flex;align-items:center;padding:8px 12px}
 html body.creative-home .wrap{padding-left:18px;padding-right:18px}
 html body.creative-home .editorial-grid{grid-template-columns:minmax(0,1fr)}
 html body.creative-home .gallery-heading{display:block}
 html body.creative-home .creative-workflow{grid-template-columns:minmax(0,1fr);gap:28px}
 html body:not(.glass-app)>.motion-control{bottom:10px;right:12px;min-height:44px;font-size:12px}
 .fluid-layer{will-change:auto}.fluid-color{filter:blur(45px)}
}
@media(max-width:600px){html body.glass-app .user-table td:first-child{white-space:normal;text-overflow:clip;overflow:visible}html body.glass-app .user-table .user-actions .secondary{width:auto;max-width:none}html body.creative-home{padding-bottom:64px}}

.user-monitor{scroll-margin-top:90px;padding:12px 0 30px}.monitor-filters{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin:20px 0}.monitor-filters label{display:grid;gap:8px;min-width:0}.monitor-filters select{width:100%}.monitor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0 26px}.monitor-card{padding:22px;min-width:0;display:flex;flex-direction:column;align-items:start;gap:12px;overflow-wrap:anywhere}.monitor-card p{margin:0}.monitor-card>strong{font-size:15px}.monitor-card small{font-size:12px}.monitor-card progress{width:100%;height:12px;accent-color:#83e1ed}.monitor-card video{width:100%;max-height:360px;border-radius:12px;background:#091c28}.monitor-card details{width:100%}.monitor-card details p{white-space:pre-wrap;max-height:220px;overflow:auto;padding:14px 0}.monitor-card summary,.monitor-presence>summary{cursor:pointer;min-height:44px;padding:12px 0}.monitor-actions{display:flex;gap:8px;flex-wrap:wrap;width:100%;margin-top:auto}.monitor-actions a{display:inline-flex;align-items:center;text-decoration:none;font-size:13px;padding:10px 14px}.monitor-actions button{font-size:13px;padding:10px 14px}.monitor-presence{padding:12px 20px;margin:18px 0}.monitor-user-row{display:grid;gap:5px;padding:14px 0;border-bottom:1px solid #bcefff22;overflow-wrap:anywhere}.monitor-user-row:last-child{border:0}.monitor-user-row small{font-size:12px}#monitor-remove-dialog{width:540px}#monitor-remove-dialog p{margin:18px 0}
@media(max-width:700px){.monitor-grid,.monitor-filters{grid-template-columns:minmax(0,1fr)}.monitor-card{padding:18px}.monitor-actions>*{flex:1;justify-content:center;min-height:44px}.monitor-presence{padding:10px 16px}.monitor-card .status-pill{font-size:11px}}
/* Keep workspace interactions cheap while preserving the glass palette. */
html body.glass-app .fluid-color{animation:none!important;filter:none!important;will-change:auto}
html body.glass-app .fluid-layer{will-change:auto}
html body.glass-app .panel,html body.glass-app .library-card,html body.glass-app .job-card,html body.glass-app .provider-card,html body.glass-app .stat-card{backdrop-filter:none;-webkit-backdrop-filter:none}
html body.glass-app .wallet,html body.glass-app .model-badge,html body.glass-app .upload-icon,html body.glass-app .canvas-tag{backdrop-filter:none;-webkit-backdrop-filter:none}
html body.glass-app aside,html body.glass-app main>header{backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
@media(max-width:900px),(pointer:coarse){html body.glass-app .fluid-layer{display:none}html body.glass-app .fluid-background{background:radial-gradient(ellipse at 10% 15%,#287aab55,transparent 55%),radial-gradient(ellipse at 80% 20%,#7456a333,transparent 55%),radial-gradient(ellipse at 45% 60%,#19a6b644,transparent 55%),radial-gradient(ellipse at 95% 75%,#b5634930,transparent 45%),radial-gradient(ellipse at 15% 95%,#b5578130,transparent 45%),radial-gradient(ellipse at 70% 95%,#af983330,transparent 55%),radial-gradient(ellipse at 10% 60%,#31855e33,transparent 55%),#102433}}
.library-load-more{grid-column:1/-1;min-height:48px}

/* Reference ordering uses native selects for touch and keyboard access. */
html body.glass-app .reference-position{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 0;font-size:12px}
html body.glass-app .reference-position>span{flex-shrink:0;color:#d6ecf5}
html body.glass-app .reference-position select{flex:1;min-width:90px;width:auto;min-height:44px;margin:0;padding:8px;font-size:16px;letter-spacing:normal}
html body.glass-app .reference-remove{min-width:44px;min-height:44px;width:44px;height:44px}
html body.glass-app .reference-position select:focus-visible{outline:2px solid #81e8ff;outline-offset:2px}

html body.glass-app .progress-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
html body.glass-app .progress-percentage{font-size:24px;font-variant-numeric:tabular-nums;color:#9af4e4;white-space:nowrap}
