/* Lumora / Emerald cinema: a single visual language, with motion limited to intentional interactions. */
:root{--bg:#0b100e;--panel:#131c18;--edge:#28362f;--muted:#94ada1;--ink:#f1f1f7;--lilac:#a4fbd2;--lime:#aaffd7;--radius:16px;color-scheme:dark}body{background:#0b100e;color:var(--ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}::selection{background:#adffd8;color:#112019}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #a5ffd4;outline-offset:3px}button,a{transition:background .18s,border-color .18s,color .18s,transform .18s,box-shadow .18s}.layout{grid-template-columns:208px minmax(0,1fr)}.sidebar{width:208px;padding:28px 16px 18px;background:#101714;border-color:#24302a;box-shadow:none;overflow:auto}.brand{font:30px Georgia,serif;letter-spacing:-1.4px;color:#f0fff8}.brand img{filter:none;width:29px;height:29px}.brand>span{color:#a5ffd4!important}.nav-title{font-size:9px;letter-spacing:1.8px;color:#668074;margin:36px 12px 14px}.nav{border:1px solid transparent;border-radius:11px;color:#92aa9f;min-height:43px;padding:10px 13px;font-size:12px;margin:4px 0}.nav .symbol{color:#85a093}.nav:hover{background:#1b2822;color:#effff7;transform:translateX(3px)}.nav.active{background:#20332a;border-color:#3c6853;color:#c7ffe4;box-shadow:inset 3px 0 #a0ffd2}.nav.active .symbol{color:#c1ffe2}.sidebar-bottom{margin-top:auto;padding-top:30px}.profile{border-top:1px solid #2a3630;color:#b0c2b9;font-size:11px}.profile small{color:#728d80}.avatar{background:#243b30;border:1px solid #416c58;color:#c6ffe4}.topbar{background:#0e1612;border-bottom:1px solid #24302a;padding:18px 28px;min-height:78px}.breadcrumb{color:#6e897c;font-size:11px}.breadcrumb b{color:#c8dad1;font-weight:500}.top-actions{gap:10px}.content{max-width:1800px;padding:24px 28px 40px}.preview-note{background:transparent;border:0;border-bottom:1px solid #24302a;padding:0 0 16px;margin:0 0 24px;color:#829c90;font-size:10px}.preview-note>span{color:#9bf1c8}.page-heading{margin:12px 0 26px}.page-heading h1{font:500 clamp(25px,2.8vw,38px)/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-1.2px}.page-heading p{color:#8ca69a;font-size:13px;margin-top:10px}.eyebrow{color:#92b9a7;font-size:9px;font-weight:600;letter-spacing:1.8px}.footer{border-color:#24302a;color:#668074;font-size:10px;margin-top:35px}.primary{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#c2ffe2,#8ae5ba)!important;color:#122b1f!important;border:1px solid #aff5d4!important;border-radius:11px;box-shadow:0 3px 0 #41755c;padding:12px 18px;font-size:12px;font-weight:650;letter-spacing:.1px}.primary:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(110deg,transparent 25%,#ffffff80 50%,transparent 75%);transform:translateX(-110%);transition:transform .55s}.primary:hover{box-shadow:0 5px 24px #71e6af2b;transform:translateY(-2px)}.primary:hover:before,.primary:focus-visible:before{transform:translateX(110%)}.primary:active,.primary.is-tapped{transform:translateY(2px);box-shadow:0 0 0 #41755c}.secondary{background:#1b2721!important;color:#c9dbd2!important;border:1px solid #34463d!important;border-radius:10px;padding:10px 14px;font-size:11px;box-shadow:none}.secondary:hover{background:#25352d!important;border-color:#60786d!important;transform:translateY(-1px)}.text-btn{color:#a1dcc0;background:none;font-size:11px}.text-btn:hover{color:#d1ffe9}.panel,.model-card,.plan,.pack,.draft,.tool,.tool-card,.soft-block,.connection-state{background:#141f1a;border:1px solid #2b3d34;border-radius:16px;box-shadow:none}.model-card{padding:22px}.model-card h3{font:500 20px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.5px;color:#edf6f2}.model-card>small{color:#85a194}.model-card p{font-size:12px;color:#97afa4}.model-card .secondary{width:100%;margin-top:15px}.model-card .source{color:#96cab1}.model-mark{margin:0 0 15px;background:none;color:#aff3d3}.tag,.tag.green{background:#21342b;color:#a9efce;border:1px solid #395749;border-radius:6px;font-size:8px;letter-spacing:1px}.filter-btn{background:#18231e;color:#96b2a5;border-color:#32453c;border-radius:8px}.filter-btn.selected{background:#284035;color:#bffee0;border-color:#507f69}.toolbar{gap:9px}.toolbar input{max-width:360px}.brand-badge{background:#e0f3ea}.brand-logo{background:transparent}.fine,.muted{color:#92ada0}.warning{border-color:#5b4a39;background:#201b17;color:#c8b399}.section-title h2{font-size:25px;letter-spacing:-.7px;font-weight:500}.section-title p{font-size:12px;color:#92ada0}.model-grid{gap:18px}.plan.featured{border-color:#74cfa4;box-shadow:0 0 0 1px #74cfa433}.plan h3,.plan .price,.pack strong{color:#effbf5}.plan p,.plan li{color:#a6bdb2}.numbers .number{background:#17231d;border-color:#33463d}.number strong{color:#c6ffe4}.soft-block p{color:#a4bbb0}input,textarea,select{background:#1a2620;color:#ecf5f1;border:1px solid #35483f;border-radius:9px;padding:11px 12px;font-size:12px;box-shadow:none}input::placeholder,textarea::placeholder{color:#6f8c7e}label{color:#a5c0b3;font-size:11px;line-height:1.45}select{cursor:pointer;accent-color:#a0ffd2}input[type=checkbox],input[type=range]{accent-color:#a3ffd3}textarea{line-height:1.65}textarea:focus,input:focus,select:focus{border-color:#81c3a4;box-shadow:0 0 0 3px #84e5b714}.account-credit-menu summary,.sidebar-credit-card{background:#17231d!important;border-color:#31423a!important;color:#cee7db}.credit-track,.credit-meter{background:#2b3b33}.account-credit-menu .credit-popover{background:#18251f;border-color:#334f42}.credit-menu-number{color:#d5ffeb}.credit-pack{background:#16221c;border-color:#314c3f}
/* The studio is a calm, independently scrolling console beside persistent media. */
.studio:has(.studio-history),.video-workspace:has(.studio-history){display:grid!important;grid-template-columns:370px minmax(0,1fr)!important;gap:22px!important;align-items:stretch!important;height:calc(100dvh - 156px)!important;min-height:590px!important;max-height:none!important;margin-top:0}.studio:has(.studio-history)>.form-panel,.video-workspace:has(.studio-history)>.video-console{grid-column:1!important;grid-row:1!important;background:#131d18;border:1px solid #2b3b33!important;border-radius:18px!important;padding:18px!important;height:100%!important;overflow-y:auto!important;scrollbar-width:thin;scrollbar-color:#3c4d45 transparent;position:relative!important;top:0!important;overscroll-behavior:contain}.studio-history{grid-column:2!important;grid-row:1!important;border:1px solid #27352e!important;background:#101814!important;border-radius:18px!important;padding:22px!important;height:100%!important;min-height:0!important;overflow:auto;scrollbar-width:thin;scrollbar-color:#3c4d45 transparent}.content:has(.studio-history)>.page-heading{display:none}.workflow-tabs{display:flex;gap:3px;padding:4px;border:1px solid #2c3d35;background:#0e1713;border-radius:11px;margin:0 0 22px}.workflow-tabs button{flex:1;white-space:nowrap;border:0;border-bottom:0!important;border-radius:7px;font:500 10px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:10px 4px;color:#84a193;background:transparent;transition:background .2s,color .2s,box-shadow .2s}.workflow-tabs button.selected{background:#253c31;color:#c8ffe5;box-shadow:0 1px 6px #0004}.workflow-tabs button:hover{background:#23312a;color:#c9f7e1}.console-heading{margin-bottom:20px}.console-heading h2{font-size:20px;font-weight:500;line-height:1.3;letter-spacing:-.6px;margin:6px 0;color:#edf9f3}.console-heading .eyebrow{font-size:8px}.video-console form{display:flex;flex-direction:column;gap:13px}.workflow-workspace .compact-model{margin-bottom:16px}.compact-model,.model-select{background:#202d27!important;border:1px solid #344b40!important;border-radius:11px!important;padding:12px 13px!important;color:#e5f6ee!important;box-shadow:none!important;margin:0}.compact-model:hover,.model-select:hover{border-color:#84caa9!important;background:#23342c!important}.compact-model>small,.model-select>small{font-size:9px;color:#92b6a5;letter-spacing:.3px}.compact-model>span{font-size:12px;align-items:center;gap:8px}.compact-model .brand-badge{margin-left:auto}.compact-model b{background:none}.model-select .row{margin:6px 0}.model-select .row b{font-size:14px;font-weight:500}.model-select .brand-badge{margin-right:4px}.form-panel .tabs{display:flex;gap:5px;background:#0f1914;border:1px solid #2d4037;border-radius:11px;padding:4px;margin-bottom:22px}.form-panel .tabs button{border:0;background:transparent;border-radius:7px;color:#85a294;padding:10px;flex:1;font-size:11px}.form-panel .tabs button.selected{background:#263e33;color:#c5ffe4}.form-panel #studio-form{display:flex;flex-direction:column;gap:14px;margin-top:18px}.prompt-compose,.video-console .director-prompt{position:relative;display:flex;flex-direction:column;gap:0!important;background:#1c2822!important;border:1px solid #35473e!important;border-radius:13px;padding:0!important;overflow:hidden;margin:0;transition:border-color .2s,box-shadow .2s}.prompt-compose:focus-within{border-color:#90e2bb!important;box-shadow:0 0 0 3px #89fac40c}.prompt-top{display:flex;justify-content:space-between;align-items:center;padding:13px 14px 5px;gap:5px}.prompt-top b{font-size:10px;color:#b9cfc5;font-weight:500;letter-spacing:.2px}.prompt-count{font-size:8px;color:#738c80;white-space:nowrap}.prompt-compose textarea,.video-console .director-prompt textarea{border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;width:100%;min-height:145px;height:155px;border-radius:0;margin:0;padding:10px 14px!important;font-size:12px;color:#deebe5;resize:vertical}.prompt-bottom{padding:8px 14px 12px;color:#728d80;font-size:9px;border-top:1px solid #ffffff05}.quick-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}.quick-settings label{background:#1b2922;border:1px solid #33453c;border-radius:9px;padding:0 7px;min-width:0;display:flex;align-items:center;gap:3px}.quick-settings label>span{font-size:12px;color:#a8d5c0}.quick-settings select{border:0!important;background:transparent!important;width:100%;min-width:0;padding:11px 0!important;font-size:10px;color:#d6efe3;box-shadow:none!important}.switch-row{background:#1b2721!important;border:1px solid #304038!important;border-radius:10px!important;padding:11px 12px!important;margin:0!important;font-size:11px;color:#b8d0c5}.switch-track{background:#44564d!important}.switch-row input:checked+.switch-track{background:#75c9a1!important}.switch-track:before{background:#edfff6!important}.info-dot{color:#819f91;border-color:#597166}.generate-pill{min-height:47px;border-radius:11px!important;margin-top:3px;display:flex;align-items:center;justify-content:space-between;font-size:12px!important}.generate-pill span:last-child{font-variant-numeric:tabular-nums}.pricing-note{font-size:9px!important;margin:3px 1px!important;line-height:1.5;min-height:18px}#studio-form>.secondary{background:transparent!important;border:0!important;color:#7b9187!important;padding:5px!important;margin:0!important;box-shadow:none!important}#studio-form>.fine{font-size:9px;line-height:1.5;color:#668074;margin:0}.pair{gap:10px;margin:0}.pair label{margin:0}.pair select{margin-top:7px}.workflow-workspace #workflow-fields>label{gap:7px}.workflow-workspace input,.workflow-workspace select{background:#1c2923;border-color:#34463d;color:#d7e9e0}.workflow-workspace .workflow-toggle{background:#1b2721!important;color:#b3ccc0!important}.workflow-group{border-color:#30443b;background:#16211c}.workflow-group legend{color:#97b9a9}#workflow-quote{color:#94beaa;font-size:10px;min-height:20px;margin:4px 0}.workflow-workspace .fine{font-size:9px}.workflow-workspace #workflow-generate{box-shadow:0 3px 0 #41755c;position:relative;bottom:auto}.workflow-workspace textarea{background:#1c2822!important;min-height:135px;border-radius:12px;line-height:1.7;padding:14px}.workflow-workspace textarea:focus{outline:none;border-color:#89d8b3;box-shadow:0 0 0 3px #89fac40c}.workflow-upload-area{background:#1a2721;border:1px dashed #405249;min-height:150px;padding:12px;border-radius:12px;overflow:hidden;transition:border-color .2s,background .2s}.workflow-upload-area strong{color:#b1cfc1;font-size:11px}.workflow-upload-area .reference-plus{background:#20342b;color:#a8f5d1;border-color:#3b604e}.workflow-upload-area>small{font-size:9px;color:#71877d}.workflow-upload>small{font-size:9px;color:#728e81}.workflow-upload input[type=file]{height:100%;width:100%;z-index:1}.workflow-ready{font-size:9px;color:#b2cdbb}.workflow-thumbs img{object-fit:cover;width:110px;height:85px}.workflow-remove{background:#15211bf0;border:1px solid #547163;color:#e4fff2}.workflow-group .secondary{font-size:10px}
/* Frame intake: an explicit target while dragging; real local decoding, then a ready mark. */
.frame-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.frame-slot{position:relative;min-height:144px;background:#1a2520;border:1px dashed #415149;border-radius:13px;overflow:hidden;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}.frame-slot label{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:144px;height:144px;cursor:pointer;overflow:hidden;padding:12px;margin:0!important}.frame-icon{position:relative;display:grid;place-items:center;width:37px;height:37px;background:#23342c;border:1px solid #384f44;border-radius:11px;color:#a4cfbb}.frame-icon svg{width:22px;height:22px}.frame-icon i{position:absolute;right:-5px;bottom:-4px;width:15px;height:15px;display:grid;place-items:center;background:#a5fad2;color:#153023;border:2px solid #1a2520;border-radius:50%;font:normal 11px/1 system-ui}.frame-label{color:#b6ccc2;font-size:10px;font-weight:500;z-index:1}.frame-hint{display:block;max-width:100%;font-size:8px;text-align:center;line-height:1.4;color:#6f847a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;z-index:1}.frame-slot input[type=file]{position:absolute;inset:0;height:100%;width:100%;opacity:0;cursor:pointer;z-index:2}.frame-slot:hover{border-color:#8bd9b4;background:#203028}.frame-slot:focus-within{outline:2px solid #a5ffd4;outline-offset:2px}.frame-slot.is-dragging,.reference-upload.is-dragging,.workflow-upload.is-dragging .workflow-upload-area{border:2px solid #b6ffdc;background:#223b2f;box-shadow:0 0 0 4px #8af5c220;transform:scale(1.015)}.frame-slot.is-dragging .frame-icon{transform:translateY(-4px);background:#305e48}.frame-slot.is-dragging .frame-hint{color:#cafae3}.frame-slot.is-ready{border-style:solid;border-color:#415e50;background:#1b2b23}.frame-slot.is-ready label:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 36%,#08110de0 100%);pointer-events:none}.frame-slot img{position:absolute;inset:0;display:block;object-fit:cover!important;width:100%!important;height:100%!important;max-height:none!important;opacity:.92}.frame-slot.is-ready .frame-label{margin-top:auto;color:white;text-shadow:0 1px 4px #000}.frame-slot.is-ready .frame-hint{color:#c0d8cd;max-width:105px;font-size:8px}.frame-ready{position:absolute;left:8px;top:8px;z-index:1;display:grid;place-items:center;border:1px solid #a4f5cf;background:#a3eeca;color:#163325;border-radius:50%;width:19px;height:19px;font-size:11px;box-shadow:0 2px 6px #0004}.frame-clear{position:absolute;right:7px;top:7px;display:grid;place-items:center;width:23px!important;height:23px!important;border:1px solid #ffffff35!important;border-radius:50%;background:#101814cc!important;color:white;z-index:3;font-size:17px!important;padding:0!important}.frame-slot.is-reading:after{content:"";position:absolute;width:26px;height:26px;border:2px solid #ffffff20;border-top-color:#bdffe0;left:calc(50% - 13px);top:calc(50% - 13px);border-radius:50%;animation:frame-read .8s linear infinite;z-index:3}.frame-slot.is-reading label{opacity:.35}.frame-slot.is-arriving .frame-ready{animation:frame-arrive .4s ease-out}.frame-slot.is-disabled{opacity:.42;cursor:not-allowed}.frame-slot.is-disabled label,.frame-slot.is-disabled input{cursor:not-allowed}.frame-slot.is-disabled:hover{border-color:#415149;transform:none}.reference-upload{background:#1a2520;border-color:#405249;border-radius:13px}.reference-upload>label{min-height:170px}.reference-upload .reference-plus{background:#22372d;border-color:#406654;color:#b1fad7}.reference-upload-note{color:#80988d;font-size:9px}.reference-upload:focus-within{outline-color:#a5ffd4}.reference-upload.is-reading{opacity:.6}.reference-file-name{color:#b5d1c4}.reference-remove{background:#1b3026;border-color:#5c8672}.reference-upload.has-reference>label{min-height:180px}.reference-upload img{height:180px;object-fit:cover}
/* History cards remain still until the user plays them. */
.job-gallery-head{padding:0 0 19px!important;margin-bottom:19px!important;border-bottom:1px solid #293730!important;background:transparent!important}.job-gallery-head h2{font:500 20px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.5px;color:#e1f0e9;margin:5px 0}.job-gallery-head .eyebrow{font-size:8px}.job-gallery-head .secondary{font-size:10px;padding:9px 12px}.studio-history .job-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(225px,1fr))!important;gap:17px!important}.generation-card{border:1px solid #2d3c35!important;background:#18231e!important;border-radius:14px!important;overflow:hidden;box-shadow:none;content-visibility:auto;contain-intrinsic-size:auto 320px}.job-media{background:#1b2621!important;aspect-ratio:16/11!important;min-height:0!important;border:0!important}.job-media img,.job-media video{object-fit:contain!important;max-height:none!important;border-radius:0}.job-details{background:#17231d!important;border-top:1px solid #2d3c35!important;padding:14px!important}.job-details b{font-size:11px;color:#ceded6;font-weight:500;line-height:1.5}.job-details small{font-size:9px;color:#7f988c}.job-badge{left:10px;top:10px;background:#15211bd9!important;border:1px solid #547264!important;color:#c7ebda!important;border-radius:6px;padding:4px 7px;font-size:8px}.job-badge.is-generating{color:#b7ffdd!important}.media-icon{background:#16231ddc!important;border-color:#ffffff18!important}.media-icon:hover{background:#365f4c!important;box-shadow:0 0 18px #8ee7bd2b}.media-icon[aria-pressed=true]{color:#abffd7!important}.media-icon[aria-pressed=true] svg{fill:#abffd733}.media-menu-panel{background:#1c2c24;border-color:#405f50;color:#d3ede1}.media-seek{accent-color:#a5fad2}.job-placeholder{min-height:180px;background:radial-gradient(ellipse,#203229,#17231d);color:#7aa792}.job-placeholder p{color:#9ab7a9}.job-gallery .fine{padding:25px 5px;color:#739183}.job-spinner{border-top-color:#a8fcd4!important}.job-error{background:#1d2a24;border-color:#3f6352;color:#bfe7d4}
/* Original homepage composition, using the owner's existing photographs. */
.home-hero{display:grid;grid-template-columns:1fr 1.05fr;gap:55px;align-items:center;min-height:480px;padding:35px 5px 45px}.home-copy h1{font:500 clamp(40px,4.7vw,72px)/1.02 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-3.4px;margin:25px 0}.home-copy h1 em{font-style:normal;color:#a0f5cd}.home-copy p{color:#8ca89b;font-size:13px;line-height:1.85}.home-actions{display:flex;gap:12px;margin-top:28px}.home-actions .primary,.home-actions .secondary{display:flex;align-items:center;gap:26px;padding:14px 17px}.home-models{display:flex;flex-wrap:wrap;gap:18px;margin-top:28px;font-size:10px;color:#668375}.home-visual{position:relative;border:1px solid #33413a;border-radius:20px;background:#141e19;transform:rotate(-1deg);box-shadow:0 24px 50px #0003;overflow:visible}.home-visual-top,.home-visual-bottom{display:flex;align-items:center;justify-content:space-between;padding:16px 17px;font-size:7px;color:#7b9f8e;letter-spacing:1px;gap:10px}.home-visual img{display:block;width:100%;height:285px;object-fit:cover;filter:saturate(.8);border-top:1px solid #303f38;border-bottom:1px solid #303f38}.home-visual-bottom .text-btn{font-size:9px;letter-spacing:0}.home-floating{display:flex;align-items:center;gap:12px;position:absolute;left:-25px;bottom:70px;background:#1b2c24f0;border:1px solid #518b70;border-radius:12px;padding:14px 19px;box-shadow:0 8px 30px #0005;transform:rotate(1deg)}.home-floating>span{font-size:24px;color:#9ff1ca}.home-floating b{font-size:11px;font-weight:500;color:#d6f2e5}.home-floating small{display:block;font-size:9px;color:#8dab9d;margin-top:3px}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#abf0cf;margin-right:5px;vertical-align:middle}.launch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.launch-card{text-align:left;position:relative;display:block;padding:24px;background:#15211b;border:1px solid #2e3e36;border-radius:15px;color:#d3e5dc;overflow:hidden;box-shadow:none}.launch-card:hover{border-color:#70b795;background:#1b2a23;transform:translateY(-4px)}.launch-icon{display:grid;place-items:center;width:38px;height:38px;background:#21372d;border:1px solid #355747;border-radius:11px;font-size:20px;color:#a2dfc2}.launch-card>small{position:absolute;top:25px;right:24px;font-size:9px;color:#627b6f}.launch-card h2{font-size:18px;font-weight:500;letter-spacing:-.4px;margin:19px 0 7px}.launch-card p{font-size:11px;color:#839f92;margin:0}.launch-arrow{position:absolute;bottom:23px;right:24px;font-size:19px;color:#83bda2;transition:transform .2s}.launch-card:hover .launch-arrow{transform:translate(3px,-3px)}.home-welcome{display:flex;justify-content:space-between;align-items:center;padding:25px 2px 30px;color:#6f887c;font-size:11px}.emerald-model-heading{margin:30px 0 22px}.emerald-model-heading .eyebrow{font-size:8px}.emerald-model-heading h2{font-weight:500;font-size:27px;letter-spacing:-.8px}.emerald-model-heading p{font-size:12px;color:#8da499}
/* Sign-in: a restrained animated circuit and an independent, readable form. */
.auth-layout{min-height:100dvh;grid-template-columns:1fr 1fr;background:#0b120f;padding:5vh 6vw;gap:0;align-items:stretch}.auth-story{min-height:650px!important;background:radial-gradient(ellipse at 35% 45%,#22443466,transparent 65%),#101a15!important;border:1px solid #2a4c3c;border-right:0;border-radius:22px 0 0 22px;padding:52px!important;isolation:isolate;justify-content:center}.auth-story:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent calc(50% - 1px),#5fbd9020 50%,transparent calc(50% + 1px)),linear-gradient(transparent calc(50% - 1px),#5fbd9020 50%,transparent calc(50% + 1px));background-size:80px 80px;z-index:-1;opacity:.5}.auth-story:after{display:none}.auth-story>.brand{position:absolute;top:36px;left:40px}.auth-story>.eyebrow{color:#8dbfa7;margin-top:40px;font-size:9px}.auth-story h1{font:500 clamp(35px,3.5vw,57px)/1.08 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-2px;margin:24px 0 0;color:#e1f3ea}.auth-story h1 em{color:#92e1bc;font-style:normal}.auth-story>p{font-size:11px;line-height:1.8;max-width:320px;color:#809f90}.auth-art{position:relative;width:210px;height:210px;margin:30px auto;inset:auto;background:none!important;border:0!important;display:grid;place-items:center;overflow:visible;transform:none}.auth-art:before,.auth-art:after{display:none}.auth-signature{position:relative;inset:auto!important;font:64px Georgia,serif;color:#a3f0cc;width:100px;height:100px;display:grid;place-items:center;background:linear-gradient(145deg,#29523f,#152920);border:1px solid #60aa87;border-radius:27px;box-shadow:inset 0 1px #bbffdf33,0 16px 35px #0006;transform:rotate(-7deg);animation:auth-float 6s ease-in-out infinite}.auth-signature span{position:absolute;right:-6px;top:-5px;font-size:24px;color:#c6ffe4}.auth-orbit{position:absolute;inset:0;border:1px solid #508f7166;border-radius:50%;animation:orbit-turn 18s linear infinite}.auth-orbit:after{content:"";position:absolute;top:28px;left:24px;width:7px;height:7px;border-radius:50%;background:#a1f1cb;box-shadow:0 0 14px #7de4b388}.auth-orbit.orbit-two{inset:25px -25px;transform:rotate(35deg);animation-direction:reverse;animation-duration:24s;border-color:#417d6155}.orbit-star{position:absolute;bottom:2px;right:23px;color:#70cca0;font-size:17px}.auth-chips{gap:7px}.auth-chips span{background:#182e24;border:1px solid #37654f;color:#96c3ae;font-size:9px;padding:7px 10px;border-radius:7px}.auth-side{padding:45px 6vw!important;background:#131c18;border:1px solid #2a4036;border-left:1px solid #273e33;border-radius:0 22px 22px 0;gap:27px;align-items:stretch}.auth-side>.text-btn{align-self:flex-start;color:#7b9e8d}.auth-panel{background:none!important;border:0!important;border-radius:0;padding:0;box-shadow:none!important;max-width:370px;width:100%;margin:auto;animation:auth-form-in .4s ease-out}.auth-panel h2{font-size:32px;letter-spacing:-1px;font-weight:500;color:#e4f5ed;margin:14px 0}.auth-panel>.muted{font-size:12px;line-height:1.7;margin-bottom:27px;color:#829f91}.auth-panel label{position:relative;color:#9abbab;font-size:11px;margin:20px 0}.auth-panel input{display:block;width:100%;padding:14px 14px;background:#17241e!important;border:1px solid #344f42;color:#e3f5ec;margin-top:9px;font-size:12px;transition:border-color .25s,box-shadow .25s}.auth-panel input:focus{border-color:#7ad4a9;box-shadow:0 0 0 3px #6bd8a417;outline:none}.auth-panel label:focus-within{color:#b3f3d5}.auth-panel #auth-submit{margin-top:10px;min-height:47px}.auth-links{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding-top:10px}.auth-links .text-btn{font-size:10px;color:#96c7b0}.auth-panel>.fine{font-size:9px;color:#6b8478;margin-top:24px}.auth-signup .auth-story{background:radial-gradient(ellipse at 35% 45%,#254d3a66,transparent 65%),#101a15!important}.auth-signup .auth-signature{transform:rotate(7deg)}.auth-signup .auth-orbit:after{background:#a3f1cc}.auth-panel #auth-status{font-size:11px;line-height:1.6;color:#9dceb7;min-height:16px}.auth-panel button:disabled{opacity:.65}.auth-panel button:disabled:before{animation:auth-loading 1.3s ease-in-out infinite}.auth-layout .brand img{filter:none}
/* Model picker and dialogs inherit the new palette. */
.model-popover{background:#16201b;color:#dcece4;border:1px solid #415f51;box-shadow:0 20px 60px #0008;border-radius:15px}.picker-search-wrap{background:#1c2a23;border-color:#41594e}.picker-search-wrap input{color:#dbefe6!important}.picker-search-wrap input::placeholder{color:#839f92}.picker-group summary:hover,.picker-option:hover{background:#253b31}.picker-group small,.picker-footer{color:#87aa99}.picker-option.is-current{background:#2a4538;color:#dcffee}.picker-check{color:#a4dfc3}.picker-group summary i{color:#8abda5}.model-popover :focus-visible{outline-color:#a3f1cc}dialog{background:#16201b;border:1px solid #416051;color:#dcece4;border-radius:18px}dialog::backdrop{background:#050a08c9;backdrop-filter:none}#toast{background:#203028;border:1px solid #49705e;color:#e2f6ed;border-radius:11px;font-size:12px;padding:14px 20px;box-shadow:0 8px 30px #0005}.suite-lock,.suite-intro{background:#131f19;border-color:#2d503f}.suite-lock h2,.suite-intro h2{color:#cbeedd}.tool-note{background:#203229;color:#a5cebb;border-color:#405e50}
@keyframes orbit-turn{to{transform:rotate(360deg)}}@keyframes auth-float{0%,100%{translate:0 0}50%{translate:0 -7px}}@keyframes auth-form-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes frame-read{to{transform:rotate(360deg)}}@keyframes frame-arrive{from{transform:scale(.4);opacity:0}70%{transform:scale(1.15)}to{transform:scale(1)}}@keyframes auth-loading{from{transform:translateX(-110%)}to{transform:translateX(110%)}}
@media(min-width:1600px){.studio:has(.studio-history),.video-workspace:has(.studio-history){grid-template-columns:390px minmax(0,1fr)!important}.studio-history .job-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.home-hero{min-height:540px}.home-visual img{height:340px}}
@media(max-width:1150px){.layout{grid-template-columns:180px minmax(0,1fr)}.sidebar{width:180px;padding:26px 12px 15px}.content{padding:22px 20px 35px}.topbar{padding:16px 20px}.studio:has(.studio-history),.video-workspace:has(.studio-history){grid-template-columns:330px minmax(0,1fr)!important;gap:16px!important}.studio-history{padding:17px!important}.studio-history .job-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important}.home-hero{gap:30px;min-height:420px}.home-copy h1{font-size:48px}.home-visual img{height:260px}.home-floating{left:-12px;padding:12px}.auth-layout{padding:4vh 3vw}.auth-story{padding:40px!important}.auth-side{padding:40px!important}.auth-story h1{font-size:42px}.auth-story>.brand{left:35px}.launch-card{padding:20px}.launch-card h2{font-size:16px}}
@media(max-width:850px){.layout{display:block}.main{display:block}.sidebar{position:relative;inset:auto;width:100%;display:block;padding:15px 20px 9px;border-right:0;border-bottom:1px solid #28362f;overflow:hidden}.brand{font-size:27px;display:inline-flex;align-items:center}.nav-title,.sidebar-bottom{display:none}.sidebar nav{display:inline-flex;gap:5px;overflow:visible;margin-top:12px;vertical-align:top}.sidebar nav:last-of-type{margin-left:0}.nav{display:flex;align-items:center;gap:6px;white-space:nowrap;margin:0;padding:8px 10px;min-height:36px;font-size:10px}.nav:hover{transform:none}.nav .symbol{font-size:13px;width:16px}.topbar{min-height:64px;padding:12px 20px}.top-actions .primary{display:none}.breadcrumb{font-size:10px}.content{padding:18px 20px 30px}.studio:has(.studio-history),.video-workspace:has(.studio-history){height:calc(100dvh - 242px)!important;min-height:560px!important;grid-template-columns:310px minmax(0,1fr)!important;gap:13px!important}.studio:has(.studio-history)>.form-panel,.video-workspace:has(.studio-history)>.video-console{padding:15px!important}.studio-history .job-grid{grid-template-columns:1fr!important}.home-hero{gap:28px;padding:20px 0 30px;min-height:380px}.home-copy h1{font-size:44px;letter-spacing:-2px}.home-copy p{font-size:11px}.home-visual img{height:230px}.home-actions{flex-wrap:wrap;gap:9px}.home-actions .primary,.home-actions .secondary{padding:12px 13px;font-size:10px}.home-models{gap:12px;font-size:9px}.home-visual-top{font-size:6px;padding:13px}.home-visual-bottom>span{display:none}.home-floating{left:-10px;bottom:55px;padding:10px;gap:8px}.home-floating b{font-size:10px}.home-floating small{font-size:8px}.launch-grid{gap:11px}.launch-card{padding:18px}.launch-card h2{font-size:15px}.launch-card p{font-size:10px;max-width:110px}.launch-arrow{right:16px;bottom:18px}.auth-layout{padding:22px;min-height:100dvh;grid-template-columns:.85fr 1fr}.auth-story{min-height:620px!important;padding:30px!important}.auth-story h1{font-size:35px;letter-spacing:-1.6px}.auth-story>.brand{left:28px;top:27px}.auth-side{padding:30px!important}.auth-panel h2{font-size:27px}.auth-art{width:170px;height:170px}.auth-signature{width:80px;height:80px;font-size:52px}.auth-chips{flex-wrap:wrap}}
@media(max-width:680px){.sidebar{padding:15px 15px 10px}.sidebar>.brand{display:flex;width:max-content}.sidebar nav{max-width:100%;overflow-x:auto;scrollbar-width:none;display:flex;gap:4px;margin-top:10px}.sidebar nav:last-of-type{display:none}.nav{font-size:10px;padding:8px 11px}.topbar{padding:11px 15px}.breadcrumb{display:none}.top-actions{width:100%;justify-content:space-between}.top-actions>.secondary{padding:9px 13px}.content{padding:16px 14px 28px}.preview-note{font-size:9px;margin-bottom:16px;padding-bottom:12px;line-height:1.6}.studio:has(.studio-history),.video-workspace:has(.studio-history){display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;gap:20px!important}.studio:has(.studio-history)>.form-panel,.video-workspace:has(.studio-history)>.video-console{width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:17px!important}.studio-history{grid-column:auto!important;grid-row:auto!important;width:100%;height:auto!important;max-height:none;min-height:260px!important;overflow:visible;padding:18px!important}.studio-history .job-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important}.console-heading{margin-bottom:18px}.console-heading h2{font-size:21px}.workflow-tabs{margin-bottom:19px}.workflow-tabs button{font-size:11px}.frame-slot,.frame-slot label{min-height:155px;height:155px}.prompt-compose textarea,.video-console .director-prompt textarea{height:155px;font-size:13px}.quick-settings select{font-size:11px}.switch-row{font-size:12px}.footer{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding-top:20px;font-size:9px}.home-hero{grid-template-columns:1fr;gap:35px;padding:18px 3px 25px}.home-copy h1{font-size:52px;margin:22px 0;letter-spacing:-2.6px}.home-copy p{font-size:12px}.home-copy .eyebrow{font-size:8px}.home-actions{margin-top:23px;flex-wrap:nowrap}.home-actions .primary,.home-actions .secondary{padding:13px 15px;font-size:11px;gap:18px}.home-models{margin-top:20px}.home-visual{transform:none;margin:0 6px 0 9px}.home-visual img{height:240px}.home-visual-top{font-size:7px}.home-visual-bottom{padding:13px}.home-visual-bottom>span{display:block;font-size:6px}.home-floating{left:-12px;transform:none;bottom:55px;padding:12px 15px}.home-floating b{font-size:11px}.launch-grid{grid-template-columns:1fr;gap:10px;margin-top:18px}.launch-card{padding:20px 18px 20px 74px;min-height:92px}.launch-icon{position:absolute;left:17px;top:25px;width:36px;height:36px}.launch-card>small{display:none}.launch-card h2{margin:0 0 5px;font-size:17px}.launch-card p{max-width:none;font-size:11px}.launch-arrow{bottom:30px;right:20px}.home-welcome{padding:13px 3px 20px;gap:14px;font-size:9px}.home-welcome .text-btn{font-size:9px}.emerald-model-heading{margin-top:25px}.emerald-model-heading h2{font-size:23px}.section-title{gap:14px}.section-title>.text-btn{font-size:9px}.auth-layout{display:flex;flex-direction:column;padding:18px;min-height:100dvh}.auth-story{min-height:280px!important;border:1px solid #2a4c3c;border-radius:20px 20px 0 0;padding:85px 25px 24px!important;justify-content:flex-start}.auth-story>.brand{top:24px;left:25px}.auth-story>.eyebrow{margin:0;font-size:7px}.auth-story h1{font-size:32px;line-height:1.1;margin:16px 0 8px;letter-spacing:-1.4px}.auth-story>p{max-width:220px;font-size:10px;margin:8px 0 0}.auth-chips{display:none}.auth-art{position:absolute;width:100px;height:100px;right:30px;top:76px;opacity:.5;margin:0;z-index:-1}.auth-signature{width:50px;height:50px;font-size:33px;border-radius:16px}.auth-signature span{font-size:15px}.auth-orbit.orbit-two{inset:15px -15px}.auth-side{border:1px solid #2a4c3c;border-top:0;border-radius:0 0 20px 20px;padding:25px!important}.auth-side>.text-btn{font-size:10px}.auth-panel{max-width:none}.auth-panel h2{font-size:28px}.auth-panel label{font-size:11px}.auth-panel input{font-size:14px;padding:13px}.auth-panel>.muted{font-size:11px}.model-grid{grid-template-columns:1fr}.plans,.pack-grid{gap:13px}.workflow-workspace #workflow-generate{position:relative}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.nav:hover,.primary:hover,.launch-card:hover,.frame-slot.is-dragging{transform:none!important}}body.reduce *,body.reduce *:before,body.reduce *:after{animation:none!important;transition:none!important}
@media(min-width:681px){.video-console .generate-pill,.form-panel #studio-form .generate-pill,.workflow-workspace #workflow-generate{position:sticky!important;bottom:6px!important;z-index:5;box-shadow:0 0 0 7px #131d18,0 12px 20px #09110d!important;flex-shrink:0}}
