:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#080909;--panel:#111414;--panel-soft:#171b1a;--panel-strong:#202624;--line:#303936;--line-soft:#232a28;--text:#f4f0e8;--muted:#b9b2a6;--subtle:#817b72;--accent:#35c7b7;--accent-strong:#78f2df;--gold:#d9b66a;--danger:#ff746b;--ok:#75d681;--warning:#e7bd5d;--shadow:0 24px 70px #00000073;--radius:8px}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--text);margin:0;font-family:Inter,SF Pro Display,Segoe UI,Microsoft YaHei,system-ui,sans-serif}html{cursor:url(/background-images/Mouse-cursor.png?v=2) 1 1,auto}body{overflow-x:hidden}button,input,textarea,select{font:inherit}button,a,[role=button]{cursor:url(/background-images/Mouse-cursor.png?v=2) 1 1,pointer}input:not([type=checkbox]):not([type=radio]),textarea,select,[contenteditable=true]{cursor:text}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}.app-shell{background:linear-gradient(180deg, #0a0b0b99, #080909), radial-gradient(circle at top left, #35c7b71f, transparent 32%), var(--bg);min-height:100vh}.home-shell{isolation:isolate;color:#171510;background-color:#eee6d6;grid-template-columns:minmax(0,.88fr) minmax(440px,1.12fr);align-items:center;gap:clamp(32px,8vw,160px);min-height:100dvh;padding:clamp(32px,4vw,64px);display:grid;position:relative;overflow:hidden}.home-background-image{z-index:0;object-fit:cover;object-position:center;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.home-shell>*{min-width:0}.home-shell>:not(.home-background-image){z-index:1;position:relative}.home-shell .google-auth-control{z-index:4;justify-content:flex-end;align-items:flex-start;display:flex;position:absolute;top:clamp(20px,3vw,40px);right:clamp(20px,4vw,64px)}.google-login-dialog-backdrop{z-index:50;background:#0a090794;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.google-login-dialog{color:#f8eed5;background:#17140e;border:1px solid #ddbc57b8;border-radius:8px;width:min(100%,476px);padding:32px;position:relative;box-shadow:0 28px 80px #0000008f,0 0 0 1px #6b4f123d}.google-login-dialog-brand{color:#efca58;justify-content:center;align-items:center;gap:10px;font-size:18px;font-weight:700;line-height:1.2;display:flex}.google-login-dialog-brand svg{color:#efca58}.google-login-dialog-copy{text-align:center;margin:38px 0 30px}.google-login-dialog h2{color:#fff0bf;margin:0;font-size:26px;font-weight:700;line-height:1.3}.google-login-dialog p{color:#ddcc97;margin:10px 0 0;font-size:15px;line-height:1.55}.google-login-dialog-close{color:#ddcc97;background:0 0;border:0;border-radius:4px;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:14px;right:14px}.google-login-dialog-close:hover:not(:disabled){color:#fff0bf;background:#ddbc5729}.google-login-dialog-button{color:#f6f4ed;background:#24272e;border:0;border-radius:6px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:40px;padding:0 18px;font-weight:650;transition:border-color .15s,background .15s,color .15s;display:inline-flex}.google-login-dialog-button:hover:not(:disabled){color:#fff4ca;background:#30342f;border-color:#e5c25d}.google-login-dialog-button:focus-visible,.google-account-trigger:focus-visible,.google-account-menu-action:focus-visible{outline-offset:2px;outline:2px solid #efca58}.google-login-dialog-google-mark{flex:0 0 20px;width:20px;height:20px;display:block}.google-login-dialog-button>span:last-child{text-align:center;padding:0}.google-login-dialog-error{color:#ddcc97;text-align:center;font-size:12px;line-height:1.45;color:#e28678!important;margin:14px 0 0!important}@media (max-width:520px){.google-login-dialog-backdrop{padding:16px}.google-login-dialog{padding:28px 22px 24px}.google-login-dialog-copy{margin:32px 0 26px}.google-login-dialog h2{font-size:22px}}.google-account-trigger{color:#f8edce;background:#17140e;border:1px solid #ddbc579e;border-radius:50%;flex:0 0 42px;place-items:center;width:42px;height:42px;padding:0;transition:border-color .15s,background .15s,color .15s,transform .15s;display:grid;overflow:hidden;box-shadow:0 8px 22px #241e1538}.google-account-trigger:hover{color:#fff4ca;background:#272116;border-color:#f3d773;transform:translateY(-1px)}.google-account-trigger img{object-fit:cover;width:100%;height:100%}.google-account-trigger>span{font-size:16px;font-weight:750}.google-account-trigger.is-guest{border-radius:8px}.google-account-menu{z-index:6;color:#f4eee2;background:#1b1812;border:1px solid #ddbc5780;border-radius:7px;gap:4px;width:min(286px,100vw - 40px);padding:6px;display:grid;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 18px 42px #140f0752}.google-account-menu-profile{align-items:center;gap:10px;min-width:0;padding:8px;display:flex}.google-account-menu-avatar{color:#fff2c3;background:#282116;border:1px solid #ddbc5780;border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:13px;font-weight:750;display:grid;overflow:hidden}.google-account-menu-avatar img{object-fit:cover;width:100%;height:100%}.google-account-menu-profile>div:last-child{gap:2px;min-width:0;display:grid}.google-account-menu-profile strong,.google-account-menu-profile span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.google-account-menu-profile strong{color:#f8edce;font-size:13px;font-weight:700}.google-account-menu-profile span{color:#bcae8c;font-size:12px}.google-account-menu-divider{background:#ddbc572e;height:1px;margin:2px 4px}.google-account-menu-action{color:#e9dfc8;text-align:left;background:0 0;border:0;border-radius:4px;align-items:center;gap:9px;min-height:36px;padding:0 10px;font-size:13px;display:flex}.google-account-menu-action:hover{color:#fff4ca;background:#ddbc5724}.google-account-menu-action.is-danger{color:#ed998a}.google-account-menu-action.is-danger:hover{color:#ffc0b3;background:#ac372c38}.home-hero{flex-direction:column;justify-content:center;min-height:0;padding-bottom:clamp(16px,5vh,68px);display:flex;transform:translateY(clamp(18px,3vh,30px))}.home-shell .brand-mark{color:#f4eee2;letter-spacing:0;background:#1b1a17eb;border:1px solid #17151094;border-radius:999px;width:fit-content;padding:8px 12px;box-shadow:0 8px 22px #241e1524}.home-shell .hero-title{letter-spacing:0;max-width:720px;margin:26px 0 18px;font-size:clamp(48px,5.5vw,92px);line-height:.92}.home-shell .hero-copy{color:#2d2a24;max-width:560px;margin:0 0 32px;font-size:18px;font-weight:560;line-height:1.75}.home-shell .shiny-text{color:#171510;-webkit-text-fill-color:#171510;background:0 0;animation:none}.idea-panel.home-idea-panel{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(#181714f5 0,#181714e6 36%,#18171494 67%,#18171429 100%);border:0;justify-self:end;max-width:760px;padding:clamp(24px,2.35vw,32px);transform:translateY(clamp(18px,3vh,30px));box-shadow:0 28px 70px #1f19105c}.home-idea-panel .panel-title{color:#f6f0e6;margin-bottom:18px;font-size:20px}.home-idea-panel .field-label{color:#d2c7b6}.textarea-field.home-creative-field{resize:none;scrollbar-width:none;min-height:160px;box-shadow:none;color:#f4eee2;background:0 0;border-color:#eee6d642;padding:14px 16px}.textarea-field.home-creative-field::-webkit-scrollbar{display:none}.home-idea-panel .home-creative-field:focus{box-shadow:none;border-color:#ddbc57}.primary-button.home-create-button{color:#1b160b;background:#ddbc57;border-color:#ddbc57}.primary-button.home-create-button:hover:not(:disabled){background:#edcf78;border-color:#edcf78}.ghost-button.home-projects-button{color:#f4eee2;background:#eee6d60a;border-color:#eee6d652}.idea-panel,.workspace-panel,.project-card,.editor-panel,.preview-stage,.package-panel{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:#111414eb}.idea-panel{align-self:center;width:100%;padding:24px}.projects-shell{background-color:#e9decb;background-image:url(/background-images/Background%20-%20Project%20Page.png);background-position:50%;background-repeat:no-repeat;background-size:cover;min-height:100dvh;padding:94px 64px 48px}.projects-page{background:linear-gradient(#11100ef0 0%,#11100ed1 28%,#11100e8a 56%,#11100e33 78%,#11100e00 100%);border-radius:10px;width:min(1440px,100%);margin:0 auto;padding:18px 24px 48px;position:relative}.projects-header{border-bottom:1px solid #eee3cd7a;justify-content:space-between;align-items:center;gap:24px;padding:0 0 24px;display:flex}.projects-page .brand-mark{color:#f5ecda;background:#181714f0;border:1px solid #eee3cd6b;border-radius:999px;width:fit-content;padding:8px 12px;position:absolute;top:-57px;left:14px;box-shadow:0 8px 22px #231b122e}.projects-header h1{color:#f7f0e1;text-shadow:0 2px 12px #000000b3;margin:0 0 8px;font-size:40px}.projects-header p{color:#d5c9b6;text-shadow:0 1px 8px #000000b8;margin:0;line-height:1.6}.projects-content{padding:24px 0 0}.projects-error{margin-top:20px}.projects-section-heading{color:#e1d4be;margin-bottom:18px}.projects-section-heading .panel-title{color:#f7f0e1;margin:0}.projects-grid{grid-template-columns:repeat(auto-fill,280px);gap:16px}.projects-grid .project-card p{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:48px;display:-webkit-box;overflow:hidden}.projects-page .ghost-button{color:#f5ecda;background:#0909088a;border-color:#eee3cd59}.projects-page .ghost-button:hover:not(:disabled){background:#ddbc5721;border-color:#ddbc57}.panel-title{color:var(--text);margin:0 0 14px;font-size:18px}.field-label{color:var(--muted);gap:8px;font-size:14px;display:grid}.text-field,.textarea-field,.select-field{border:1px solid var(--line);border-radius:var(--radius);width:100%;min-width:0;color:var(--text);background:#0c0e0e;outline:none}.text-field,.select-field{min-height:44px;padding:0 12px}.textarea-field{resize:vertical;min-height:156px;padding:12px;line-height:1.65}.textarea-field:focus,.text-field:focus,.select-field:focus{border-color:var(--accent);box-shadow:0 0 0 3px #35c7b721}.primary-button,.ghost-button,.danger-button,.icon-button{border-radius:var(--radius);min-height:40px;color:var(--text);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 14px;transition:transform .16s,background .16s,border-color .16s;display:inline-flex}.primary-button{background:var(--accent);color:#041210;font-weight:800}.ghost-button{border-color:var(--line);background:#ffffff0a}.danger-button{color:#ffd8d5;background:#ff746b1f;border-color:#ff746b59}.icon-button{border-color:var(--line);background:#ffffff0a;width:40px;padding:0}.primary-button:hover:not(:disabled),.ghost-button:hover:not(:disabled),.danger-button:hover:not(:disabled),.icon-button:hover:not(:disabled){transform:translateY(-1px)}.button-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.button-hint{color:#b9b2a8;font-size:13px;line-height:1.4}.form-stack{gap:16px;display:grid}.project-section{margin-top:28px}.section-heading{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;display:flex}.project-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;display:grid}.project-card{padding:16px}.project-card-clickable{cursor:url(/background-images/Mouse-cursor.png?v=2) 1 1,pointer;transition:transform .16s,border-color .16s,background .16s}.projects-page .project-card{background:#0a0a09eb;border-color:#eee3cd3d;box-shadow:0 16px 34px #0000003d}.project-card-clickable:hover{background:#11100dfa;border-color:#ddbc57bf;transform:translateY(-2px)}.project-card-clickable:focus-visible{outline-offset:2px;border-color:#ddbc57;outline:3px solid #ddbc573d}.project-card h3{color:#f7f0e1;margin:0 0 8px;font-size:18px}.project-card p{color:#d5c9b6;margin:0 0 14px;line-height:1.55}.project-meta{color:#e3d6bf;flex-wrap:nowrap;gap:6px;margin-bottom:14px;font-size:12px;display:flex}.project-meta span{white-space:nowrap;background:#ffffff08;border:1px solid #eee3cd3d;border-radius:999px;padding:4px 8px}.project-actions .icon-button{width:36px;min-height:36px}.project-actions .project-open-button{color:#1b160b;background:#ddbc57;border-color:#ddbc57}.project-actions .project-delete-button{color:#ffd8d5;background:#ff746b1f;border-color:#ff746b59}.home-footer-link{color:var(--subtle);align-items:center;gap:8px;margin-top:18px;font-size:13px;display:flex}.shiny-text{overflow-wrap:anywhere;color:#0000;max-width:100%;animation:shiny-text var(--shiny-speed,4s) linear infinite;background:linear-gradient(110deg,#f4f0e8 0% 35%,#78f2df 48%,#d9b66a 55%,#f4f0e8 70% 100%) 0 0/240% 100%;-webkit-background-clip:text;background-clip:text;display:inline-block}@keyframes shiny-text{0%{background-position:160% 0}to{background-position:-80% 0}}.workspace-shell{--accent:#ddbc57;--accent-strong:#f0d27a;--line:#534833cc;--line-soft:#463d2db8;--panel:#161511;--panel-soft:#1d1b15;--panel-strong:#28241b;--text:#f3ead9;--muted:#c6bba8;--subtle:#9a907f;background:#efe6d4 url(/background-images/Background%20-%20Workbench.png) 50%/cover no-repeat;grid-template-columns:312px minmax(0,1fr);height:100dvh;min-height:0;display:grid;overflow:hidden}.workspace-sidebar{z-index:1;overscroll-behavior-y:contain;scrollbar-gutter:stable;background:linear-gradient(#0d0d0cfa,#0d0d0cf0);border-right:1px solid #74634385;flex-direction:column;gap:16px;min-height:0;padding:22px 16px;display:flex;position:relative;overflow-y:auto}.workspace-main{overscroll-behavior-y:contain;scrollbar-gutter:stable;background:0 0;min-width:0;min-height:0;padding:20px 22px;overflow-y:auto}.center-shell{place-items:center;padding:24px;display:grid}.sidebar-title{color:#f7efdf;text-align:center;margin:0;font-size:20px}.sidebar-copy{color:var(--muted);-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:0;line-height:1.55;display:-webkit-box;overflow:hidden}.sidebar-toolbar{align-items:flex-start}.approval-toggle{background:#090908;border:1px solid #5d523dcc;border-radius:6px;grid-template-columns:1fr 1fr;width:100%;display:grid;overflow:hidden}.approval-toggle button{min-height:38px;color:var(--muted);background:0 0;border:0;font-weight:800}.approval-toggle button.is-selected{background:var(--accent);color:#251d0d}.compact-state{padding:12px;font-size:12px}.step-list{gap:9px;display:grid}.step-button{width:100%;color:var(--text);text-align:left;background:#0c0c0bc7;border:1px solid #564d3b8f;border-radius:6px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.step-button.is-active{border-color:var(--accent);background:#ddbc571a}.step-index{width:28px;height:28px;color:var(--muted);background:#24221d;border-radius:999px;justify-content:center;align-items:center;font-size:12px;display:inline-flex}.step-name{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.status-pill{border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:999px;padding:3px 8px;font-size:12px}.status-running{color:var(--accent-strong);border-color:#35c7b773}.status-queued{color:#e7bd5d;border-color:#e7bd5d73}.status-expired{color:#f1ba63;border-color:#e5a1358c}.status-preview-ready{color:var(--accent-strong);border-color:#35c7b773}.status-complete{color:var(--ok);border-color:#75d68173}.status-failed{color:var(--danger);border-color:#ff746b73}.status-needs-update{color:var(--warning);border-color:#e7bd5d80}.workspace-shell .editor-panel{min-height:calc(100dvh - 40px);box-shadow:none;background:0 0;border:1px solid #4f4532cc;border-radius:4px;padding:22px}.editor-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.editor-header h1{color:#1d1a14;text-shadow:0 1px #fffdf585;margin:0 0 8px;font-size:28px}.editor-header p{color:#3c3529;margin:0;font-weight:600;line-height:1.55}.workspace-notice{margin-bottom:16px}.workspace-notice-row{align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.workspace-notice-row .workspace-notice{flex:1;margin-bottom:0}.retry-failed-button{flex:none}.workspace-video-actions{justify-content:flex-end;margin-bottom:12px;display:flex}.video-generation-summary{border:1px solid var(--line-soft);border-radius:var(--radius);color:var(--muted);background:#0b0d0d;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:10px 12px;font-size:12px;font-weight:800;display:flex}.generation-trace{border:1px solid var(--line-soft);border-radius:var(--radius);background:#0b0d0d;margin-bottom:16px;overflow:hidden}.generation-trace.is-compact{margin:10px 0}.generation-trace-header{border-bottom:1px solid var(--line-soft);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;font-size:12px;font-weight:800;display:flex}.generation-trace-summary{color:#d7d1c7;font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:flex-end;gap:4px 12px;display:flex}@media (max-width:760px){.workspace-notice-row{flex-direction:column}.retry-failed-button{width:100%}.workspace-video-actions{justify-content:stretch}.video-generation-summary,.generation-trace-header{flex-direction:column;align-items:flex-start}.generation-trace-summary{justify-content:flex-start}}.generation-trace-list{gap:4px;max-height:220px;padding:10px 12px;display:grid;overflow-y:auto}.generation-trace.is-compact .generation-trace-list{max-height:132px;padding:8px 10px}.generation-trace-line{color:#d7d1c7;overflow-wrap:anywhere;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.55}.stream-output{border:1px solid var(--line-soft);border-radius:var(--radius);background:#090b0b;overflow:hidden}.stream-output-header{border-bottom:1px solid var(--line-soft);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:12px;font-weight:800;display:flex}.stream-output pre{color:#ebe5d9;white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;margin:0;padding:14px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.6;overflow:auto}.toolbar{border:1px solid var(--line-soft);border-radius:var(--radius);background:#0d0f0f;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;display:flex}.table-wrap{border:1px solid var(--line);border-radius:var(--radius);overflow:auto}.data-table{border-collapse:collapse;width:100%;min-width:2200px}.node-table{min-width:980px}.data-table th,.data-table td{border-bottom:1px solid var(--line-soft);vertical-align:top;text-align:left;padding:10px}.data-table th{z-index:1;color:var(--muted);background:#151918;font-size:13px;position:sticky;top:0}.cell-input{width:100%;min-width:120px;color:var(--text);background:0 0;border:1px solid #0000;border-radius:6px;padding:7px}.cell-input:focus{border-color:var(--accent);background:#0c0e0e;outline:none}.asset-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;display:grid}.asset-card{border:1px solid var(--line);border-radius:var(--radius);background:#0d0f0f;overflow:hidden}.asset-image-button{width:100%;color:inherit;cursor:zoom-in;background:#000;border:0;padding:0;display:block;position:relative}.asset-image-button img{transition:transform .18s,filter .18s}.asset-image-button:hover img{filter:brightness(1.08);transform:scale(1.025)}.asset-image-zoom{color:#f5f3ec;opacity:0;background:#080a0cb8;border:1px solid #ffffff2e;border-radius:999px;align-items:center;gap:6px;padding:6px 9px;font-size:12px;font-weight:800;transition:opacity .16s,transform .16s;display:inline-flex;position:absolute;bottom:10px;right:10px;transform:translateY(4px)}.asset-image-button:hover .asset-image-zoom,.asset-image-button:focus-visible .asset-image-zoom{opacity:1;transform:translateY(0)}.asset-card img,.asset-card video{aspect-ratio:16/9;object-fit:cover;background:#000;width:100%;display:block}.video-media{aspect-ratio:16/9;background:#000;width:100%;min-width:0;display:grid;position:relative;overflow:hidden}.video-media>video,.video-deferred-load{width:100%;height:100%}.video-deferred-load{color:#e7c557;cursor:pointer;background:#111;border:0;place-items:center;display:grid}.video-deferred-load:hover,.video-deferred-load:focus-visible{color:#f0d27a;background:#191713}.video-loading-indicator{pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.video-loading-indicator:after{content:"";border:3px solid #f6ead042;border-top-color:#e7c557;border-radius:50%;width:32px;height:32px;animation:.76s linear infinite video-loading-spin}@keyframes video-loading-spin{to{transform:rotate(360deg)}}.video-retry-overlay{color:#f6ead0;background:#000000bd;place-items:center;font-size:14px;font-weight:700;display:grid;position:absolute;inset:0}.video-task-window{aspect-ratio:16/9;background:#000;width:100%;display:flex;overflow:hidden}.video-task-window .generation-trace{border:0;border-radius:0;flex-direction:column;width:100%;margin:0;display:flex}.video-task-window .generation-trace-list{flex:1;max-height:none}.asset-card-body{padding:12px}.video-card{flex-direction:column;display:flex}.video-card-body{flex-direction:column;flex:1;display:flex}.asset-card-title-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.video-card-title-row{align-items:center;margin-bottom:6px}.video-card-title-row h3{margin-bottom:0}.asset-regenerate-button{flex:none;padding:8px 10px}.asset-card-actions{justify-content:flex-end;align-items:center;gap:8px;margin-top:12px;display:flex}.video-card .asset-card-actions{margin-top:auto;padding-top:12px}.asset-generation-duration{color:var(--muted);white-space:nowrap;font-size:12px}.asset-card-body h3{margin:0 0 6px;font-size:15px}.asset-card-body p{color:var(--muted);margin:0;line-height:1.5}.large-textarea{min-height:260px}.document-textarea{min-height:calc(100vh - 220px)}.fit-button{width:fit-content}.creative-action-row{justify-content:flex-end;display:flex}.cell-textarea{resize:vertical;min-height:74px}.style-list{gap:18px;display:grid}.style-option{border:1px solid var(--line);border-radius:var(--radius);background:#0d0f0f;padding:16px}.style-option .asset-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:18px}.style-option .asset-card{background:#0a0c0c}.style-option .asset-card img,.style-option .asset-placeholder{aspect-ratio:16/9;min-height:190px}.style-option.is-selected{border-color:var(--accent);box-shadow:0 0 0 3px #35c7b71f}.style-option-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.style-option h3{margin:0 0 6px}.style-option p{color:var(--muted);margin:0;line-height:1.5}.character-toolbar{border:1px solid var(--line-soft);border-radius:var(--radius);background:#0d0f0f;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.character-toolbar strong{margin-bottom:4px;font-size:15px;display:block}.character-toolbar p{color:var(--muted);margin:0;font-size:13px}.character-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,520px),1fr));align-items:stretch;gap:20px}.character-card{background:#0a0c0c;flex-direction:column;min-height:100%;display:flex}.character-card .asset-card-body{flex-direction:column;flex:1;gap:12px;padding:14px;display:flex}.character-card .asset-image-button img,.character-card>img,.character-placeholder{aspect-ratio:16/9;object-fit:contain;min-height:270px}.character-image-button{border-bottom:1px solid var(--line-soft)}.character-card-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.character-name-input{min-width:0;padding:0;font-size:18px;font-weight:900}.character-name-input:focus{padding:6px 8px}.character-description{border-color:var(--line-soft);color:#ddd6ca;background:#ffffff06;min-height:118px;line-height:1.55}.character-actions{margin-top:auto;padding-top:2px}.character-actions .ghost-button,.character-actions .danger-button{flex:1}.asset-placeholder{aspect-ratio:16/9;width:100%;color:var(--muted);background:#000;place-items:center;display:grid}.asset-error{color:#ffd8d5!important}.image-lightbox{z-index:80;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000d1;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.image-lightbox-panel{border-radius:var(--radius);background:#080a0a;border:1px solid #ffffff29;width:min(1180px,96vw);max-height:92vh;overflow:hidden;box-shadow:0 24px 80px #0000008c}.image-lightbox-header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 16px;display:flex}.image-lightbox-header h3{margin:0 0 4px}.image-lightbox-header p{color:var(--muted);margin:0}.image-lightbox-panel img{object-fit:contain;background:#000;width:100%;max-height:calc(92vh - 78px);display:block}.package-content{gap:18px;max-width:1120px;padding:6px 0 26px;display:grid}.package-content h2,.package-content p{margin:0}.package-content p{color:var(--muted);line-height:1.6}.package-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.package-heading h2{margin-bottom:6px}.package-last-build{border-left:1px solid var(--line);min-width:108px;color:var(--muted);flex:none;gap:3px;padding-left:16px;font-size:12px;display:grid}.package-last-build strong{color:var(--text);font-size:18px}.package-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.package-mode-option{border:1px solid var(--line);border-radius:var(--radius);min-height:104px;color:var(--text);text-align:left;background:#101313;align-items:flex-start;gap:12px;padding:16px;transition:border-color .16s,background .16s;display:flex}.package-mode-option:hover:not(:disabled){border-color:var(--accent);background:#10201e}.package-mode-option>svg{color:var(--accent-strong);flex:none}.package-mode-option span,.compression-option span{gap:5px;display:grid}.package-mode-option strong,.compression-option strong{font-size:15px}.package-mode-option small,.compression-option small{color:var(--muted);font-size:13px;line-height:1.5}.package-files{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}.package-section-header,.package-result{justify-content:space-between;align-items:center;gap:12px;display:flex}.package-section-header span,.package-result span{color:var(--muted);font-size:12px}.package-file-list{grid-template-columns:minmax(0,1fr);gap:0;margin-top:10px;display:grid}.package-file-list>div{border-top:1px solid #2a3332b3;grid-template-columns:minmax(145px,auto) minmax(0,1fr);gap:10px;padding:9px 0;display:grid}.package-file-list code{color:#d5e5df;font-size:12px}.package-file-list span{color:var(--muted);font-size:12px;line-height:1.5}.package-result{border:1px solid var(--line);border-radius:var(--radius);background:#0d1010;flex-wrap:wrap;justify-content:flex-start;padding:12px 14px}.package-result strong{font-size:13px}.package-result-name{gap:3px;min-width:0;margin-right:auto;display:grid}.package-result-name strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.package-record-delete{color:#efb0a4;border-color:#b75e4d94;flex:none}.package-record-delete:hover:not(:disabled){color:#fff1ea;background:#942f2238;border-color:#cf6958}.package-progress{border:1px solid var(--line);border-radius:var(--radius);background:#0d1010;gap:10px;padding:14px;display:grid}.package-progress-header{justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.package-progress-header span,.package-progress p{color:var(--muted);font-size:12px}.package-progress p{margin:0;line-height:1.5}.package-progress-track{background:#202826;border-radius:999px;height:7px;position:relative;overflow:hidden}.package-progress-fill{border-radius:inherit;background:var(--accent);width:38%;position:absolute;inset:0 auto 0 0}.package-progress-running .package-progress-fill{animation:1.25s ease-in-out infinite package-progress-slide}.package-progress-complete .package-progress-fill{background:#4abf72;width:100%}.package-progress-failed .package-progress-fill{background:#d65a53;width:28%}@keyframes package-progress-slide{0%{transform:translate(-110%)}to{transform:translate(290%)}}.package-dialog-backdrop{z-index:30;background:#000000b3;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.package-dialog{border:1px solid var(--line);border-radius:var(--radius);width:min(100%,620px);box-shadow:var(--shadow);background:#101313;padding:20px}.package-dialog-title,.package-dialog-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.package-dialog-title span{color:var(--muted);font-size:12px}.package-dialog-title h3{margin:4px 0 0;font-size:22px}.compression-options{border:0;gap:8px;margin:20px 0;padding:0;display:grid}.compression-options legend{margin-bottom:8px;font-weight:700}.compression-option{border:1px solid var(--line);border-radius:6px;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:11px 12px;display:grid}.compression-option.selected{background:#19796d29;border-color:#35c7b7b3}.compression-option input{accent-color:var(--accent);margin:4px 0 0}.compression-option strong{align-items:center;gap:8px;display:flex}.compression-recommendation{background:var(--accent);color:#17130b;border-radius:999px;padding:2px 7px;font-size:11px;font-style:normal;font-weight:800;line-height:1.25}.package-url-note{border-left:2px solid var(--accent);color:var(--muted);background:#0d1514;margin:20px 0;padding:12px 14px;font-size:13px;line-height:1.6}.package-confirm-summary{border:1px solid var(--line);background:var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:18px 0 20px;display:grid}.package-confirm-summary div{background:#0b0d0d;padding:11px 12px}.package-confirm-summary dt{color:var(--muted);font-size:12px}.package-confirm-summary dd{margin:5px 0 0;font-size:14px;font-weight:700}@media (max-width:720px){.package-heading,.package-section-header{flex-direction:column;align-items:flex-start}.package-last-build{border-top:1px solid var(--line);border-left:0;padding-top:10px;padding-left:0}.package-mode-grid,.package-file-list,.package-confirm-summary{grid-template-columns:1fr}.package-file-list>div{grid-template-columns:1fr;gap:4px}}.preview-stage{aspect-ratio:16/9;background:#000;place-items:center;width:100%;height:auto;min-height:0;display:grid;position:relative;overflow:hidden;container-type:inline-size}.preview-presentation{background:#17130d;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.preview-presentation-art,.preview-presentation-shade{width:100%;height:100%;position:absolute;inset:0}.preview-presentation-art{object-fit:cover}.preview-presentation-shade{pointer-events:none;background:#08070533}.preview-presentation-content{z-index:1;color:#fffaf0;text-align:center;text-shadow:0 2px 18px #000000e0;justify-items:center;gap:14px;width:min(660px,100% - 48px);display:grid;position:relative}.preview-presentation-content p{color:#ffe08a;margin:0;font-size:14px;font-weight:800}.preview-presentation-content h2{color:#fff;overflow-wrap:anywhere;max-width:100%;margin:0;font-size:42px;line-height:1.15}.preview-presentation-content span{color:#fff6df;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:560px;font-size:15px;font-weight:650;line-height:1.65;display:-webkit-box;overflow:hidden}.presentation-assets{border-top:1px solid var(--line);gap:14px;padding-top:20px;display:grid}.presentation-assets-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.presentation-assets-header h3,.presentation-assets-header p{margin:0}.presentation-assets-header p{color:var(--muted);margin-top:5px}.workspace-shell .presentation-assets-header h3{color:#15120c}.workspace-shell .presentation-assets-header p{color:#2c261c;max-width:860px;font-weight:650;line-height:1.6}.workspace-shell .presentation-assets .asset-card-title-row h3{color:#fff5df}.workspace-shell .presentation-assets .asset-card-title-row p:not(.asset-error){color:#e7d6b5;font-weight:650}.presentation-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-video{object-fit:contain;background:#000;width:100%;height:100%;min-height:0;position:absolute;inset:0}.preview-video-preload{display:none}.video-load-failed{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.preview-playback-status{z-index:3;color:#fff;text-align:center;text-shadow:0 1px 6px #000;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:absolute;inset:0}.preview-playback-status button{pointer-events:auto}.preview-loading-spinner{animation:1s linear infinite video-loading-spin}.preview-art-status{z-index:2;color:#fff;text-shadow:0 1px 6px #000;font-size:13px;position:absolute;bottom:16px;right:16px}@container (max-width:600px){.preview-presentation-content{gap:6px;width:calc(100% - 24px)}.preview-presentation-content h2{font-size:24px}.preview-presentation-content p{font-size:11px}.preview-presentation-content span{-webkit-line-clamp:1;font-size:12px}.preview-start-button{min-height:36px;padding:8px 14px;font-size:13px}.preview-controls{gap:4px;padding:4px;top:8px;left:8px}.preview-control-button{min-height:32px;padding:0 8px;font-size:12px}.preview-art-status{font-size:11px;bottom:8px;right:8px}}.preview-controls{z-index:4;border-radius:var(--radius);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#11141cd1;border:1px solid #ffffff1f;gap:10px;padding:9px;display:flex;position:absolute;top:18px;left:18px}.preview-control-button{color:#f6f1e9;background:#ffffff14;border:1px solid #ffffff2e;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:0 12px;font-weight:700;display:inline-flex}.preview-start-button{border-radius:var(--radius);color:#0d0f0f;background:#f4f0e8;border:1px solid #fff3;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:14px 24px;font-weight:900;display:inline-flex}.preview-missing{z-index:2;color:#f6f1e9;text-align:center;background:#000;place-items:center;font-size:36px;font-weight:900;display:grid;position:absolute;inset:0}.preview-choice-list{z-index:5;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:8px;max-height:285px;padding:4px;display:flex;position:absolute;bottom:7%;left:6%;right:6%;overflow-y:auto}.preview-choice-button{color:#111620;text-align:center;background:#f4f0e8;border:1px solid;border-radius:7px;justify-content:center;align-items:center;width:fit-content;max-width:100%;min-height:40px;padding:8px 12px;font-size:16px;font-weight:900;line-height:1.4;display:inline-flex}.preview-choice-button span{overflow-wrap:anywhere;display:block}.empty-state,.error-state{border:1px dashed var(--line);border-radius:var(--radius);color:var(--muted);background:#0d0f0f;padding:18px}.error-state{color:#ffd8d5;border-color:#ff746b73}.workspace-shell .ghost-button,.workspace-shell .icon-button{color:#f3ead9;background:#0c0b09d1;border-color:#534936d1}.workspace-shell .ghost-button:hover:not(:disabled),.workspace-shell .icon-button:hover:not(:disabled){border-color:var(--accent);background:#ddbc5724}.workspace-shell .next-step-button{color:#fff3d5;background:#211a0f;border-color:#8d712f;font-weight:800}.workspace-shell .next-step-button:hover:not(:disabled){color:#fff8e9;background:#352916;border-color:#f0d27a}.workspace-shell .next-step-button:active:not(:disabled){color:#f8df95;background:#171108;border-color:#bd9634;transform:translateY(0)}.workspace-shell .next-step-button:disabled{color:#95876d;opacity:1;background:#1c160deb;border-color:#746039b8}.workspace-shell .primary-button{background:var(--accent);color:#251d0d;border-color:#bd9634}.workspace-shell .primary-button:hover:not(:disabled){color:#211808;background:#f0d27a;border-color:#f8e6a4}.workspace-shell .primary-button:active:not(:disabled){color:#211808;background:#c99f39;border-color:#9f7b24;transform:translateY(0)}.workspace-shell .field-label{color:#302b21;font-weight:800}.workspace-shell .text-field,.workspace-shell .textarea-field,.workspace-shell .select-field{color:#f3ead9;background:linear-gradient(#1b1915e6,#0e0d0be6);border-color:#352f24d1;border-radius:6px}.workspace-shell .textarea-field.large-textarea{min-height:clamp(340px,57vh,700px)}.workspace-shell .textarea-field:focus,.workspace-shell .text-field:focus,.workspace-shell .select-field:focus{border-color:var(--accent);box-shadow:none}.workspace-shell .toolbar,.workspace-shell .generation-trace,.workspace-shell .stream-output,.workspace-shell .table-wrap,.workspace-shell .asset-card,.workspace-shell .style-option,.workspace-shell .character-toolbar,.workspace-shell .package-mode-option,.workspace-shell .package-progress,.workspace-shell .package-result,.workspace-shell .package-dialog,.workspace-shell .empty-state{box-shadow:none;background:#0d0c0ae6;border-color:#49402fc7}.workspace-shell .generation-trace-header,.workspace-shell .stream-output-header,.workspace-shell .data-table th{color:#d8c9af;background:#1b1813f0;border-color:#49402fc7}.workspace-shell .data-table td{border-color:#49402f94}.workspace-shell .cell-input:focus{border-color:var(--accent);background:#100f0ceb}.workspace-shell .style-option.is-selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px #ddbc5733}.workspace-shell .status-running,.workspace-shell .status-preview-ready,.workspace-shell .status-complete{color:#f0d27a;border-color:#ddbc57b3}.workspace-shell .status-queued{color:#c6b887;border-color:#ddbc576b}.workspace-shell .preview-controls{background:#0f0d0aeb;border-color:#ddbc5757}.workspace-shell .preview-control-button{color:#f0d27a;background:#141009e6;border-color:#ddbc57a3}.workspace-shell .preview-control-button:hover:not(:disabled){color:#f8e6a4;background:#ddbc5729;border-color:#f0d27a}.workspace-shell .preview-control-button:disabled{color:#766a53;background:#0c0a07c2;border-color:#ddbc5742}.workspace-shell .preview-start-button{color:#211808;background:#ddbc57;border-color:#bd9634}.workspace-shell .preview-presentation .preview-start-button:hover:not(:disabled){color:#211808;background:#f0d27a;border-color:#f8e6a4}.workspace-shell .preview-choice-button{color:#211808;background:#ddbc57;border:1px solid #bd9634}.workspace-shell .preview-choice-button:hover{background:#f0d27a;border-color:#f8e6a4}.workspace-shell .package-url-note{border-left-color:var(--accent);background:#221d12c7}.workspace-shell .compression-option.selected{background:#ddbc571f;border-color:#ddbc57bf}.workspace-shell .package-content{box-sizing:border-box;color:#f3ead9;background:linear-gradient(145deg,#1e1a13e6,#110f0be6 56%,#0a0908e6);border:1px solid #605138d1;border-radius:8px;gap:16px;width:100%;max-width:none;margin:0;padding:clamp(20px,3vw,32px);box-shadow:0 20px 56px #0c090452}.workspace-shell .package-heading h2{color:#fff4dd;font-size:clamp(26px,3vw,32px)}.workspace-shell .package-heading p{color:#ded2bd;max-width:720px;font-size:14px}.workspace-shell .package-last-build{color:#cfc1aa;background:#0d0c0ae0;border:1px solid #735f3bc2;border-radius:6px;min-width:126px;padding:10px 12px}.workspace-shell .package-last-build strong{color:#f0d27a}.workspace-shell .package-mode-option{color:#fff4dd;background:linear-gradient(135deg,#231e16f5,#110f0bf5);border-color:#6f5b38e0;min-height:116px;padding:18px}.workspace-shell .package-mode-option:hover:not(:disabled){background:linear-gradient(135deg,#403219f5,#1c170efa);border-color:#ddbc57}.workspace-shell .package-mode-option>svg{color:#f0d27a}.workspace-shell .package-mode-option small{color:#d7cab4}.workspace-shell .package-files{background:#0d0c0ae0;border:1px solid #605138c2;border-radius:6px;padding:18px}.workspace-shell .package-section-header{color:#fff4dd;border-bottom:1px solid #60513899;padding-bottom:12px}.workspace-shell .package-section-header span{color:#d7cab4}.workspace-shell .package-file-list{gap:8px;margin-top:12px}.workspace-shell .package-file-list>div{background:#191611db;border:1px solid #5a4b35ad;border-radius:5px;grid-template-columns:minmax(190px,auto) minmax(0,1fr);align-items:center;gap:14px;padding:12px 14px}.workspace-shell .package-file-list code{color:#f0d27a;background:#ddbc5724;border-radius:4px;width:fit-content;padding:3px 6px}.workspace-shell .package-file-list span{color:#e2d7c3}.workspace-shell .package-result,.workspace-shell .package-progress{color:#f3ead9;background:#0d0c0ae0;border-color:#605138c2}.workspace-shell .package-result span,.workspace-shell .package-progress-header span,.workspace-shell .package-progress p{color:#d7cab4}@media (max-width:720px){.workspace-shell .package-content{padding:18px}.workspace-shell .package-file-list>div{grid-template-columns:1fr;align-items:start;gap:7px}}@media (max-width:980px){.home-shell,.workspace-shell{grid-template-columns:1fr}.home-shell{align-items:start;gap:28px;padding:32px 24px}.home-shell .google-auth-control{top:20px;right:24px}.home-background-image{object-position:left center}.projects-shell{background-position:50%;padding:78px 20px 24px}.projects-page{padding:18px 20px 26px}.projects-header{flex-direction:column;align-items:flex-start}.projects-header h1{font-size:32px}.projects-header .button-row{width:100%}.home-hero{min-height:auto;padding-top:18px;transform:none}.home-shell .hero-title{font-size:clamp(46px,8.5vw,64px)}.home-idea-panel{justify-self:stretch;max-width:none;transform:none}.workspace-sidebar{border-right:none;border-bottom:1px solid var(--line)}.workspace-shell{height:auto;min-height:100vh;overflow:visible}.workspace-sidebar,.workspace-main{min-height:auto;overflow:visible}.preview-missing{font-size:28px}}@media (max-width:560px){.home-shell{gap:24px;padding:28px 20px 22px}.home-shell .google-auth-control{order:-1;justify-content:flex-start;position:relative;top:auto;right:auto}.google-account-menu{left:0;right:auto}.home-background-image{object-position:left top}.home-shell .hero-title{margin-top:22px;font-size:48px}.home-shell .hero-copy{margin-bottom:0;font-size:16px}.home-idea-panel{padding:24px}.projects-shell{background-position:0;padding:72px 12px 16px}.projects-page{padding:18px}.projects-page .brand-mark{left:10px}.projects-grid{grid-template-columns:minmax(0,1fr)}}
