:root{--background:#f8f8f6;--foreground:#1b1b19;--surface:#fff;--surface-subtle:#f1f1ed;--surface-hover:#ecece7;--muted-foreground:#6f716c;--placeholder:#92948d;--border:#e2e3dd;--border-strong:#caccc4;--brand:#6f5be7;--brand-hover:#5d49d2;--brand-foreground:#fff;--brand-soft:#efecff;--brand-soft-foreground:#4938ad;--success:#2f8b67;--success-soft:#e7f5ee;--warning:#b47824;--warning-soft:#fff3dd;--danger:#b42318;--danger-soft:#fff0ee;--brand-gradient:linear-gradient(135deg, #7a65f2 0%, #5a94e2 55%, #edaa68 100%);--shadow-sm:0 1px 2px #1b1b190d;--shadow-md:0 12px 36px #1b1b191a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.studio-intro{gap:6px;display:grid}.studio-intro>span,.model-picker legend,.reference-picker legend{color:var(--muted-foreground);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:800}.studio-intro h2,.studio-intro p{margin:0}.model-picker,.reference-picker{border:0;gap:10px;min-width:0;margin:0;padding:0;display:grid}.model-picker__grid,.advanced-tools__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.model-picker__grid>label,.advanced-tools__grid>div{background:var(--surface-subtle);border:1px solid var(--border);border-radius:14px;gap:6px;min-width:0;padding:14px;display:grid}.model-picker__grid>label{cursor:pointer;position:relative}.model-picker__grid>label.is-selected{background:var(--brand-soft);border-color:var(--brand)}.model-picker__grid>label.is-disabled{cursor:not-allowed;opacity:.62}.model-picker__grid input{opacity:0;width:1px;height:1px;position:absolute}.model-picker__title{justify-content:space-between;align-items:start;gap:8px;display:flex}.model-picker__title small{color:var(--muted-foreground);white-space:nowrap;background:#fff;border-radius:999px;padding:3px 7px}.reference-picker>p,.reference-picker>small,.model-picker__grid>label>small,.advanced-tools__grid span,.advanced-tools__grid small{color:var(--muted-foreground);margin:0}.reference-picker__grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.reference-picker__grid button{aspect-ratio:1;background:var(--surface-subtle);border:2px solid #0000;border-radius:12px;padding:0;position:relative;overflow:hidden}.reference-picker__grid button.is-selected{border-color:var(--brand)}.reference-picker__grid img{object-fit:cover;width:100%;height:100%}.reference-picker__grid span{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#141414b8;max-width:calc(100% - 10px);padding:3px 6px;font-size:11px;position:absolute;bottom:5px;left:5px;overflow:hidden}.reference-picker__selected{gap:10px;display:grid}.reference-picker__selected article{border:1px solid var(--border);background:var(--surface-subtle);border-radius:14px;grid-template-columns:58px minmax(0,1fr) 36px;align-items:center;gap:10px;min-width:0;padding:9px;display:grid}.reference-picker__selected-image{aspect-ratio:1;background:var(--surface);border-radius:10px;place-items:center;width:58px;display:grid;position:relative;overflow:hidden}.reference-picker__selected-image img{object-fit:cover}.reference-picker__assignment{grid-template-columns:minmax(120px,.7fr) minmax(150px,1.3fr);gap:8px;min-width:0;display:grid}.reference-picker__assignment label{gap:4px;min-width:0;display:grid}.reference-picker__assignment label>span{color:var(--muted-foreground);font-size:11px;font-weight:650}.reference-picker__assignment input,.reference-picker__assignment select{border:1px solid var(--border-strong);background:var(--surface);width:100%;min-width:0;color:var(--foreground);font:inherit;border-radius:9px;padding:8px 9px;font-size:13px}.reference-library-modal{z-index:200;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.reference-library-modal__backdrop{cursor:default;background:#14141475;border:0;position:absolute;inset:0}.reference-library-modal__dialog{border:1px solid var(--border);background:var(--surface);width:min(900px,100%);max-height:min(760px,100dvh - 48px);box-shadow:var(--shadow-md);border-radius:22px;grid-template-rows:auto auto minmax(0,1fr) auto;gap:14px;padding:20px;display:grid;position:relative;overflow:hidden}.reference-library-modal__dialog>header,.reference-library-modal__toolbar,.reference-library-modal__dialog>footer{justify-content:space-between;align-items:center;gap:14px;display:flex}.reference-library-modal__dialog h2,.reference-library-modal__dialog p{margin:0}.reference-library-modal__dialog header p,.reference-library-modal__toolbar span{color:var(--muted-foreground);margin-top:3px;font-size:13px}.reference-library-modal__grid{overscroll-behavior:contain;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:12px;min-height:140px;padding:2px 4px 10px 2px;display:grid;overflow-y:auto}.reference-library-modal__grid>button{aspect-ratio:1;background:var(--surface-subtle);color:#fff;text-align:left;border:2px solid #0000;border-radius:14px;align-content:end;min-width:0;padding:9px;display:grid;position:relative;overflow:hidden}.reference-library-modal__grid>button.is-selected{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.reference-library-modal__grid img{object-fit:cover}.reference-library-modal__grid span,.reference-library-modal__grid small{z-index:1;text-overflow:ellipsis;white-space:nowrap;position:relative;overflow:hidden}.reference-library-modal__grid span{font-size:12px;font-weight:700}.reference-library-modal__grid small{opacity:.85;font-size:10px}.reference-library-modal__grid>button:after{z-index:0;content:"";background:linear-gradient(#0000 48%,#0f0f0fc7);position:absolute;inset:0}.reference-library-modal__empty{min-height:180px;color:var(--muted-foreground);align-content:center;place-items:center;gap:8px;display:grid}.advanced-tools{border:1px solid var(--border);border-radius:14px;padding:13px 14px}.advanced-tools summary{cursor:pointer;font-weight:750}.advanced-tools__grid{margin-top:12px}.advanced-tools__grid>div{grid-template-rows:auto 1fr auto}@media (max-width:700px){.model-picker__grid,.advanced-tools__grid{grid-template-columns:1fr}.reference-picker__grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-picker__selected article{grid-template-columns:50px minmax(0,1fr) 34px;align-items:start}.reference-picker__selected-image{width:50px}.reference-picker__assignment{grid-template-columns:1fr}.reference-library-modal{align-items:end;padding:0}.reference-library-modal__dialog{border-radius:22px 22px 0 0;width:100%;max-height:calc(100dvh - 20px);padding:16px}.reference-library-modal__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.project-references{border:1px solid var(--border);background:var(--surface);border-radius:24px;margin-top:24px;padding:24px}.project-references__form{background:var(--surface-subtle);border-radius:18px;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0;padding:18px;display:grid}.project-references__notes,.project-references__file,.project-references__library,.project-references__actions{grid-column:1/-1}.project-references__library{gap:10px;min-width:0;display:grid}.project-references__library>span{color:var(--muted-foreground);font-size:13px}.project-references__library>div{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.project-references__library button{border:1px solid var(--border);min-width:0;color:var(--foreground);background:var(--surface);text-align:left;border-radius:12px;gap:6px;padding:7px;display:grid}.project-references__library button.is-selected{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.project-references__library button>span{aspect-ratio:1;background:var(--surface-subtle);border-radius:8px;position:relative;overflow:hidden}.project-references__library img{object-fit:cover}.project-references__library small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-references__actions{justify-content:flex-end;gap:10px;display:flex}.project-references__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 12px;display:grid}.project-references__grid article{border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:6px;min-width:0;padding:10px;display:flex}.project-references__grid article>span,.project-references__grid article>p,.project-references__empty,.project-references>small{color:var(--muted-foreground)}.project-references__grid article>span{text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:700}.project-references__grid article>p{margin:0;font-size:13px;line-height:1.45}.project-references__grid article>small{color:var(--muted-foreground)}.project-references__card-actions,.project-references__edit-actions{align-items:center;gap:10px;margin-top:auto;display:flex}.project-references__card-actions button,.project-references__edit-actions button{color:var(--brand);background:0 0;border:0;margin-top:auto;padding:4px 0}.project-references__edit{border-top:1px solid var(--border);gap:10px;margin-top:6px;padding-top:10px;display:grid}.project-references__preview{aspect-ratio:4/3;background:var(--surface-subtle);border-radius:12px;position:relative;overflow:hidden}.project-references__preview img{object-fit:cover;object-position:center}.scene-reference-picker{border:1px solid var(--border);background:var(--surface-subtle);border-radius:14px;min-width:0;padding:14px}.scene-reference-picker legend{padding:0 6px;font-weight:750}.scene-reference-picker>p,.scene-reference-picker__empty{color:var(--muted-foreground);margin:0 0 10px;font-size:13px;line-height:1.45}.scene-reference-picker>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.scene-reference-picker label{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:11px;grid-template-columns:auto 48px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:7px;display:grid}.scene-reference-picker label:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}.scene-reference-picker label>span:last-child{flex-direction:column;min-width:0;display:flex}.scene-reference-picker label strong,.scene-reference-picker label small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scene-reference-picker label small{color:var(--muted-foreground)}.scene-reference-picker__image{aspect-ratio:1;border-radius:8px;width:48px;position:relative;overflow:hidden}.scene-reference-picker__image img{object-fit:cover}.chat-model-settings{border:1px solid var(--border);background:var(--surface);border-radius:14px;margin-bottom:8px;padding:8px 12px}.chat-model-settings>summary{cursor:pointer;color:var(--muted-foreground);font-size:13px;font-weight:650}.chat-model-settings__modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.chat-model-settings__modes button{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-height:40px}.chat-model-settings__modes button[aria-pressed=true]{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}@media (max-width:760px){.project-references{padding:18px}.project-references__form,.project-references__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-references__form>*{grid-column:1/-1}.project-references__library>div{grid-template-columns:repeat(3,minmax(0,1fr))}.scene-reference-picker>div{grid-template-columns:1fr}}*{box-sizing:border-box}html,body{width:100%;max-width:100%;height:100%;overflow-x:hidden}body{background:var(--background);color:var(--foreground);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;overflow:hidden}button,input,select,textarea{color:inherit;font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{background:var(--background);width:100%;height:100dvh;display:flex;overflow:hidden}.app-column{flex-direction:column;flex:1;width:100%;min-width:0;max-width:100%;display:flex}.app-main{scrollbar-color:var(--border-strong) transparent;scrollbar-width:thin;flex:1;width:100%;min-width:0;max-width:100%;min-height:0;overflow:hidden auto}.sidebar{z-index:50;border-right:1px solid var(--border);background:color-mix(in srgb, var(--surface-subtle) 45%, var(--surface));flex-direction:column;flex:0 0 272px;width:272px;transition:width .18s,flex-basis .18s;display:flex;overflow:hidden}.sidebar--compact{flex-basis:68px;width:68px}.sidebar--compact .sidebar__label,.sidebar--compact .sidebar__recents{display:none}.sidebar__brand-row{flex:0 0 56px;align-items:center;gap:8px;height:56px;padding:0 12px;display:flex}.brand{letter-spacing:-.02em;border-radius:8px;align-items:center;gap:8px;min-width:0;padding:4px;font-size:15px;font-weight:650;display:flex}.brand img{flex:none}.sidebar__toggle{margin-left:auto}.sidebar--compact .sidebar__toggle{display:none}.sidebar__new-wrap,.sidebar__nav{padding:4px 12px 0}.sidebar__new{justify-content:flex-start;width:100%}.sidebar--compact .sidebar__new{justify-content:center;width:40px;padding-inline:0}.sidebar__nav{flex-direction:column;gap:2px;margin-top:8px;display:flex}.nav-link{min-height:36px;color:var(--muted-foreground);border-radius:10px;align-items:center;gap:10px;padding:8px 10px;font-size:14px;font-weight:540;transition:background .14s,color .14s;display:flex}.nav-link svg{flex:none}.nav-link:hover,.nav-link--active{background:var(--surface-hover);color:var(--foreground)}.nav-link--artel{color:var(--brand-soft-foreground);margin-top:4px}.nav-link--artel.nav-link--active{background:var(--brand-soft);color:var(--brand-soft-foreground)}.sidebar--compact .nav-link{justify-content:center;padding-inline:0}.sidebar__recents{flex:1;min-height:0;padding:18px 20px;overflow-y:auto}.sidebar__section-label{color:var(--muted-foreground);letter-spacing:.045em;text-transform:uppercase;margin:0 0 5px;font-size:11px;font-weight:650}.sidebar__recents .sidebar__section-label:not(:first-child){margin-top:18px}.sidebar__section-label--spaced{margin-top:15px}.recent-link{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;border-radius:8px;padding:6px 0;font-size:13px;display:block;overflow:hidden}.recent-link:hover{color:var(--foreground)}.sidebar__empty{color:var(--placeholder);padding:6px 0;font-size:12px;display:block}.sidebar__footer{border-top:1px solid var(--border);margin-top:auto;padding:12px}.credit-link{background:var(--surface);border-radius:10px;align-items:center;gap:8px;min-height:36px;margin-bottom:8px;padding:8px 12px;font-size:13px;display:flex}.credit-link:hover,.profile-button:hover{background:var(--surface-hover)}.credit-link__icon{color:var(--brand);flex:none}.sidebar--compact .credit-link{justify-content:center;padding-inline:0}.profile-button{text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;width:100%;padding:6px 8px;display:flex}.avatar{background:var(--brand-soft);width:32px;height:32px;color:var(--brand-soft-foreground);border-radius:50%;flex:0 0 32px;place-items:center;font-size:13px;font-weight:650;display:grid}.profile-button__copy{flex-direction:column;min-width:0;display:flex}.profile-button__copy strong,.profile-button__copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile-menu-wrap{position:relative}.profile-menu{z-index:60;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-md);border-radius:12px;position:absolute;bottom:calc(100% + 8px);left:0;right:0;overflow:hidden}.profile-menu span{border-bottom:1px solid var(--border);color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;padding:10px 12px;font-size:12px;display:block;overflow:hidden}.profile-menu button{width:100%;color:var(--danger);text-align:left;background:0 0;border:0;padding:10px 12px}.profile-menu button:hover{background:var(--surface-hover)}.session-loader,.auth-shell{background:radial-gradient(circle at 18% 12%, #6f5be71c, transparent 30%), radial-gradient(circle at 82% 85%, #edaa681f, transparent 32%), var(--background);min-height:100dvh}.session-loader{color:var(--muted-foreground);place-content:center;justify-items:center;gap:14px;font-size:14px;display:grid}.auth-shell{width:100%;max-width:100vw;padding:48px 20px;overflow:hidden auto}.auth-card-wrap{width:min(100%,440px);margin:0 auto}.auth-card-wrap--verified{width:min(100%,400px)}.auth-brand{letter-spacing:-.025em;align-items:center;gap:10px;width:fit-content;margin:0 auto 24px;font-size:17px;font-weight:680;display:flex}.auth-card{border:1px solid var(--border);background:color-mix(in srgb, var(--surface) 96%, transparent);width:100%;min-width:0;max-width:100%;box-shadow:var(--shadow-md);border-radius:20px;padding:30px}.auth-card>header{text-align:center;margin-bottom:24px}.auth-card h1{letter-spacing:-.035em;margin:0;font-size:26px;font-weight:680}.auth-card>header p{color:var(--muted-foreground);margin:9px 0 0;font-size:14px;line-height:1.5}.auth-card--verified{text-align:center;padding:26px}.auth-card--verified h1{letter-spacing:-.025em;font-size:22px}.auth-card--verified>header{margin-bottom:20px}.auth-card--verified>header p{max-width:320px;margin-left:auto;margin-right:auto}.auth-form{flex-direction:column;gap:15px;display:flex}.auth-field{flex-direction:column;gap:7px;display:flex}.auth-field>span{font-size:13px;font-weight:600}.auth-field input{border:1px solid var(--border-strong);background:var(--surface);border-radius:11px;outline:0;width:100%;height:44px;padding:0 13px;font-size:16px;transition:border-color .14s,box-shadow .14s}.auth-field input:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent)}.auth-field input::placeholder{color:var(--placeholder)}.auth-password{display:block;position:relative}.auth-password input{padding-right:88px}.auth-password button{color:var(--brand);background:0 0;border:0;padding:5px 7px;font-size:11px;font-weight:650;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.auth-hint,.auth-form__aside{color:var(--muted-foreground);margin:-7px 0 0;font-size:12px}.auth-form__aside{text-align:right}.auth-form__aside a,.auth-inline-link,.auth-card__footer a{color:var(--brand);font-weight:570}.auth-form__aside a:hover,.auth-inline-link:hover,.auth-card__footer a:hover{text-decoration:underline}.auth-inline-link{margin-top:-7px;font-size:13px}.auth-submit{text-align:center;width:100%;max-width:100%;min-height:44px;margin-top:2px}.auth-resend-form .auth-submit:disabled{border:1px solid var(--border);background:var(--surface-subtle);color:var(--muted-foreground);opacity:1}.auth-onboarding-actions{flex-direction:column;gap:10px;display:flex}.auth-onboarding-actions>p{color:var(--muted-foreground);text-align:center;margin:0 0 4px;font-size:13px;line-height:1.45}.auth-pending-email{border:1px solid var(--border);background:var(--surface-subtle);border-radius:11px;flex-direction:column;gap:5px;min-width:0;padding:11px 13px;display:flex}.auth-pending-email span,.auth-email-correction{color:var(--muted-foreground);font-size:12px}.auth-pending-email strong{overflow-wrap:anywhere;font-size:15px;font-weight:600}.auth-email-correction{text-align:center;margin:-3px 0 0;line-height:1.45}.auth-email-correction a{color:var(--brand);font-weight:600}.auth-message{border-radius:10px;margin:0;padding:10px 12px;font-size:13px;line-height:1.45}.auth-message--error{background:var(--danger-soft);color:var(--danger)}.auth-message--success{background:var(--success-soft);color:var(--success)}.auth-card__footer{color:var(--muted-foreground);text-align:center;margin:22px 0 0;font-size:13px}.auth-progress{border:3px solid var(--border);border-top-color:var(--brand);border-radius:50%;width:32px;height:32px;margin:18px auto 30px;animation:.8s linear infinite auth-spin}@keyframes auth-spin{to{transform:rotate(360deg)}}@media (max-width:520px){.auth-shell{padding:28px 14px}.auth-card{border-radius:16px;padding:24px 20px}.auth-card--verified{padding:24px 18px}.auth-card--verified h1{font-size:21px}}.profile-button__copy strong{font-size:13px;font-weight:550}.profile-button__copy small{color:var(--muted-foreground);margin-top:2px;font-size:12px}.topbar{border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--background) 85%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);flex:0 0 56px;align-items:center;gap:8px;height:56px;padding:0 20px;display:flex}.topbar h1{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin:0;font-size:15px;font-weight:650;overflow:hidden}.topbar__actions{align-items:center;gap:4px;display:flex}.topbar__menu{display:none!important}.topbar__sidebar-restore{color:var(--muted-foreground)}.topbar__sidebar-restore:hover{background:var(--surface-hover);color:var(--foreground)}.button,.icon-button{border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:550;transition:background .14s,border-color .14s,color .14s,transform .14s;display:inline-flex}.button{min-height:38px;padding:9px 15px}.button--brand{background:var(--brand);color:var(--brand-foreground)}.button--brand:hover{background:var(--brand-hover)}.button--secondary{border:1px solid var(--border);background:var(--surface);color:var(--foreground)}.button--secondary:hover,.icon-button:hover{background:var(--surface-hover)}.button--danger{border:1px solid color-mix(in srgb, var(--danger) 25%, var(--border));background:var(--danger-soft);color:var(--danger)}.button--danger:hover{background:color-mix(in srgb, var(--danger) 12%, var(--danger-soft))}.button--wide{width:100%}.icon-button{background:0 0;flex:0 0 34px;width:34px;height:34px;padding:0}.icon-button.icon-button--brand{background:var(--brand);color:var(--brand-foreground)}.icon-button.icon-button--brand:hover:not(:disabled){background:var(--brand-hover)}.icon-button:focus-visible,.button:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid color-mix(in srgb, var(--brand) 55%, transparent);outline-offset:2px}.home-page{flex-direction:column;justify-content:center;width:min(100%,920px);min-height:100%;margin:0 auto;padding:48px 20px 64px;display:flex;container:home/inline-size}.home-page__hero{text-align:center;flex-direction:column;align-items:center;margin-bottom:28px;display:flex}.home-page__hero h1{letter-spacing:-.035em;margin:18px 0 0;font-size:clamp(28px,4vw,34px);font-weight:650;line-height:1.15}.home-page__hero p{max-width:540px;color:var(--muted-foreground);margin:10px 0 0;font-size:15px;line-height:1.55}.composer{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:16px;transition:border-color .14s,box-shadow .14s;overflow:hidden}.composer:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb, var(--brand) 22%, transparent)}.composer textarea{resize:none;background:0 0;border:0;outline:none;width:100%;min-height:72px;padding:14px 16px 4px;font-size:15px;line-height:1.55;display:block}.composer__attachments{padding:6px 12px 2px}.composer textarea::placeholder,.field input::placeholder,.field textarea::placeholder,.chat-composer textarea::placeholder{color:var(--placeholder)}.composer__toolbar{align-items:center;gap:8px;min-width:0;padding:5px 10px 10px;display:flex}.composer__options,.composer__submit{align-items:center;gap:6px;display:flex}.composer__options{flex:1;min-width:0}.composer__submit{flex:none}.composer__dot{color:var(--border-strong)}.quote-confirmation{border:1px solid color-mix(in srgb, var(--brand) 32%, var(--border));background:var(--brand-soft);border-radius:14px;align-items:center;gap:8px;margin-top:10px;padding:10px;display:flex}.quote-confirmation>span{flex-direction:column;flex:1;min-width:0;display:flex}.quote-confirmation strong{font-size:14px}.quote-confirmation small{color:var(--muted-foreground);margin-top:2px;font-size:12px}.composer-error{color:var(--danger,#b42318);margin:8px 4px 0;font-size:13px}.select-button{min-width:0;height:32px;color:var(--muted-foreground);border-radius:9px;align-items:center;display:flex;position:relative}.select-button:hover{background:var(--surface-hover);color:var(--foreground)}.select-button select{appearance:none;min-width:0;height:100%;color:inherit;background:0 0;border:0;outline:0;padding:0 24px 0 10px;font-size:13px;font-weight:550}.select-button svg{pointer-events:none;position:absolute;right:7px}.quick-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.quick-actions a{border:1px solid var(--border);background:var(--surface);text-align:center;border-radius:12px;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:48px;padding:10px 8px;font-size:13px;font-weight:550;line-height:1.25;transition:background .14s,border-color .14s;display:flex}.quick-actions a:hover{border-color:color-mix(in srgb, var(--brand) 45%, var(--border));background:var(--surface-hover)}.quick-actions a span{overflow-wrap:anywhere;white-space:normal;min-width:0}.quick-actions__icon{color:var(--brand);flex:none}@container home (max-width:860px){.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.artel-callout{border:1px solid var(--border);background:var(--surface);border-radius:14px;align-items:center;gap:16px;margin-top:24px;padding:15px;transition:background .14s;display:flex}.artel-callout:hover{background:var(--surface-hover)}.artel-callout__icon,.artel-mark{background:var(--brand-gradient);color:#fff;border-radius:12px;flex:0 0 44px;place-items:center;width:44px;height:44px;display:grid}.artel-callout>span:nth-child(2){flex-direction:column;flex:1;min-width:0;display:flex}.artel-callout strong{font-size:14px}.artel-callout small{color:var(--muted-foreground);margin-top:4px;font-size:13px;line-height:1.45}.artel-callout__arrow{color:var(--muted-foreground);flex:none}.recent-projects{margin-top:28px}.section-heading,.workspace-page__head{justify-content:space-between;align-items:center;gap:16px;min-width:0;display:flex}.workspace-page__actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.section-heading h2{color:var(--muted-foreground);letter-spacing:.045em;text-transform:uppercase;margin:0;font-size:13px;font-weight:650}.section-heading>a{color:var(--brand);font-size:13px;font-weight:550}.section-heading>a:hover{text-decoration:underline}.recent-projects__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.project-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;min-width:0;transition:border-color .15s,transform .15s,box-shadow .15s;display:block;overflow:hidden}.project-card:hover{border-color:color-mix(in srgb, var(--brand) 45%, var(--border));box-shadow:var(--shadow-md);transform:translateY(-2px)}.project-card__image{aspect-ratio:16/10;background:var(--surface-subtle);width:100%;display:block;position:relative;overflow:hidden}.project-card--compact .project-card__image{aspect-ratio:4/5}.project-card__image img{object-fit:cover;transition:transform .18s}.project-card__placeholder{color:#ffffffe0;background:radial-gradient(circle at 25% 20%,#ffffff8c,#0000 26%),linear-gradient(145deg,#d9d4f7,#9cafda 58%,#dfb58e);place-items:center;width:100%;height:100%;display:grid}.project-card:hover .project-card__image img{transform:scale(1.025)}.project-card__body{flex-direction:column;min-width:0;padding:13px;display:flex}.project-card--compact .project-card__body{padding:10px}.project-card__body strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:580;overflow:hidden}.project-card--compact .project-card__body strong{font-size:13px}.project-card__meta{min-width:0;color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:8px;margin-top:5px;font-size:12px;display:flex}.project-card__meta>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.status-badge{background:var(--surface-subtle);color:var(--muted-foreground);white-space:nowrap;border-radius:999px;flex:none;padding:3px 7px;font-size:11px;font-weight:600}.status-badge--active{background:var(--brand-soft);color:var(--brand-soft-foreground)}.status-badge--completed{background:var(--success-soft);color:var(--success)}.status-badge--archived{background:var(--surface-subtle);color:var(--muted-foreground)}.project-card__progress{background:var(--surface-subtle);border-radius:99px;height:3px;margin-top:12px;overflow:hidden}.project-card__progress span{border-radius:inherit;background:var(--brand-gradient);height:100%;display:block}.mobile-nav,.mobile-drawer{display:none}.chat-workspace{flex-direction:column;justify-content:center;width:min(100%,820px);min-height:100%;margin:0 auto;padding:32px 20px 20px;display:flex}.chat-workspace--live{justify-content:flex-start;height:100%;min-height:0;padding-top:18px}.chat-heading{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:16px;padding:0 2px 14px;display:flex}.chat-heading>div{min-width:0}.chat-heading span{color:var(--muted-foreground);letter-spacing:.05em;text-transform:uppercase;font-size:11px;font-weight:650}.chat-heading h2{text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:17px;font-weight:620;overflow:hidden}.chat-messages{scrollbar-color:var(--border-strong) transparent;scrollbar-width:thin;flex:1;min-height:0;padding:22px 3px 18px;overflow-y:auto}.chat-messages--empty{display:flex}.chat-messages--empty .chat-empty{width:100%}.chat-message{align-items:flex-start;gap:10px;margin:0 0 22px;display:flex}.chat-message>div{max-width:min(88%,700px)}.chat-message--user{justify-content:flex-end}.chat-message--user>div{background:var(--surface-subtle);border-radius:15px 15px 4px;padding:11px 14px}.chat-message--assistant>div{padding-top:2px}.chat-message__avatar{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid}.chat-message__author{color:var(--muted-foreground);font-size:11px;font-weight:650;display:block}.chat-message__plain,.chat-message__content p{overflow-wrap:anywhere;margin:5px 0 0;font-size:15px;line-height:1.65}.chat-message__plain{white-space:pre-wrap}.chat-message__content{overflow-wrap:anywhere;margin-top:5px;font-size:15px;line-height:1.65}.chat-message__content>:first-child{margin-top:0}.chat-message__content>:last-child{margin-bottom:0}.chat-message__content h2,.chat-message__content h3,.chat-message__content h4{color:var(--foreground);margin:18px 0 7px;line-height:1.3}.chat-message__content h2{font-size:20px}.chat-message__content h3{font-size:17px}.chat-message__content h4{font-size:15px}.chat-message__content ul,.chat-message__content ol{margin:7px 0 12px;padding-left:23px}.chat-message__content li{margin:3px 0}.chat-message__content code{background:var(--surface-subtle);border-radius:5px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.9em}.chat-message__content pre{border:1px solid var(--border);background:var(--surface-subtle);border-radius:10px;margin:10px 0;padding:12px;overflow-x:auto}.chat-message__content pre code{background:0 0;padding:0}.chat-message__content a{color:var(--brand);text-underline-offset:2px;text-decoration:underline}.chat-message__content hr{border:0;border-top:1px solid var(--border);margin:16px 0}.chat-message small{color:var(--muted-foreground);margin-top:7px;font-size:11px;display:block}.chat-message .chat-message__error{color:var(--danger)}.chat-message__failure{flex-wrap:wrap;align-items:baseline;gap:8px 12px;margin-top:7px;display:flex}.chat-message__failure>small{margin:0}.chat-message__failure>button{color:var(--brand);background:0 0;border:0;padding:0;font-size:11px;font-weight:650}.chat-message__failure>button:hover:not(:disabled){text-decoration:underline}.chat-message__meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin-top:10px;display:flex}.chat-message__meta small{margin:0}.chat-message__actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.chat-message__actions button{border:1px solid var(--border);background:var(--surface);min-height:30px;color:var(--brand);touch-action:manipulation;border-radius:999px;align-items:center;gap:5px;padding:5px 9px;font-size:11px;font-weight:600;display:inline-flex}.chat-message__actions button:hover:not(:disabled){border-color:color-mix(in srgb, var(--brand) 42%, var(--border));background:var(--brand-soft)}.chat-message__actions button:disabled{cursor:wait;opacity:.58}.chat-project-proposal{border:1px solid color-mix(in srgb, var(--brand) 28%, var(--border));background:color-mix(in srgb, var(--brand-soft) 34%, var(--surface));border-radius:16px;width:min(720px,100%);margin-top:12px;padding:16px}.chat-project-proposal__heading,.chat-project-proposal__summary,.chat-project-proposal__actions,.chat-project-proposal__scenes>li>div{align-items:center;display:flex}.chat-project-proposal__heading{justify-content:space-between;gap:12px}.chat-project-proposal__heading span{color:var(--brand);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700}.chat-project-proposal__heading h3{margin:3px 0 0;font-size:18px}.chat-project-proposal__heading>button{border:1px solid var(--border);background:var(--surface);border-radius:50%;flex:0 0 34px;width:34px;height:34px;font-size:20px}.chat-project-proposal>p{color:var(--muted-foreground);margin:10px 0;line-height:1.5}.chat-project-proposal__summary{flex-wrap:wrap;gap:7px;margin:12px 0}.chat-project-proposal__summary>*{background:var(--surface);color:var(--muted-foreground);border-radius:999px;padding:5px 9px;font-size:12px}.chat-project-proposal__summary strong{color:var(--foreground)}.chat-project-proposal__scenes{gap:8px;margin:12px 0;padding:0;list-style:none;display:grid}.chat-project-proposal__scenes>li{border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:10px 12px}.chat-project-proposal__scenes>li>div{align-items:flex-start;gap:10px}.chat-project-proposal__scenes>li>div>span{background:var(--brand-soft);width:26px;height:26px;color:var(--brand);border-radius:8px;flex:0 0 26px;place-items:center;font-size:12px;font-weight:700;display:grid}.chat-project-proposal__scenes strong,.chat-project-proposal__scenes small{display:block}.chat-project-proposal__scenes small{color:var(--muted-foreground);margin-top:3px}.chat-project-proposal__scenes details{margin:9px 0 0 36px}.chat-project-proposal__scenes summary{color:var(--brand);cursor:pointer;font-size:12px;font-weight:650}.chat-project-proposal__scenes dl{gap:8px;margin:10px 0 0;display:grid}.chat-project-proposal__scenes dt{color:var(--muted-foreground);font-size:11px;font-weight:650}.chat-project-proposal__scenes dd{white-space:pre-wrap;margin:2px 0 0;font-size:12px;line-height:1.45}.chat-project-proposal__notice,.chat-project-proposal__warning,.chat-project-proposal__destructive{border-radius:10px;padding:9px 11px;font-size:12px}.chat-project-proposal__warning{background:var(--danger-soft);color:var(--danger)}.chat-project-proposal__destructive{background:var(--danger-soft);color:var(--danger);margin:10px 0}.chat-project-proposal__destructive ul{margin:5px 0 0;padding-left:18px}.chat-project-proposal__actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:14px}.chat-project-proposal__actions button{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-height:40px;padding:8px 13px;font-weight:650}.chat-project-proposal__actions button.primary{border-color:var(--brand);background:var(--brand);color:#fff}.chat-project-proposal__actions button:disabled{cursor:not-allowed;opacity:.55}@media (max-width:520px){.chat-project-proposal{padding:13px}.chat-project-proposal__actions{grid-template-columns:1fr;display:grid}.chat-project-proposal__actions button{width:100%}}.chat-attachments{flex-wrap:wrap;gap:7px;display:flex}.chat-attachments--message{margin-top:9px}.chat-attachments--message a,.chat-attachments--message>button,.chat-attachments--pending>span{border:1px solid var(--border);background:var(--surface);min-width:0;max-width:100%;color:var(--foreground);border-radius:9px;align-items:center;gap:6px;padding:7px 9px;font-size:12px;text-decoration:none;display:inline-flex}.chat-attachments--message>button{cursor:pointer;font:inherit}.chat-attachments--message a:hover,.chat-attachments--message>button:hover{border-color:color-mix(in srgb, var(--brand) 45%, var(--border));background:var(--surface-hover)}.chat-attachments--message a>span,.chat-attachments--message>button>span,.chat-attachments--pending>span>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-attachments--message a small,.chat-attachments--message>button small{flex:none;margin:0}.chat-attachments--pending{margin-bottom:7px}.chat-attachments--pending>span{background:var(--surface-subtle);max-width:min(100%,310px)}.chat-attachments--pending button{width:20px;height:20px;color:var(--muted-foreground);background:0 0;border:0;border-radius:50%;flex:0 0 20px;place-items:center;padding:0;font-size:17px;line-height:1;display:grid}.chat-attachments--pending button:hover{background:var(--surface-hover);color:var(--foreground)}.chat-input-area{flex:none;padding-top:4px}.chat-empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:56px 0;display:flex}.chat-empty h2{letter-spacing:-.03em;margin:18px 0 0;font-size:27px}.chat-empty p{color:var(--muted-foreground);margin:8px 0 0;font-size:14px}.chat-composer{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:16px;overflow:hidden}.chat-composer:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb, var(--brand) 18%, transparent)}.chat-composer textarea{resize:none;background:0 0;border:0;outline:none;width:100%;min-height:70px;padding:14px 16px 4px;display:block}.chat-composer>div{color:var(--muted-foreground);align-items:center;gap:8px;padding:4px 10px 10px;font-size:13px;display:flex}.chat-composer>div span{flex:1}.ai-disclaimer{color:var(--muted-foreground);text-align:center;margin:8px 0 0;font-size:11px}.job-workspace{width:min(100%,820px);min-height:100%;margin:0 auto;padding:42px 20px 24px}.job-workspace--compact{width:100%;min-height:0;padding:0}.job-workspace--compact .job-result{width:100%;margin-top:0}.job-request,.job-result{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:16px}.job-request{background:var(--surface-subtle);margin-left:auto;padding:15px 17px}.job-request span{color:var(--muted-foreground);letter-spacing:.05em;text-transform:uppercase;font-size:11px;font-weight:650}.job-request p{margin:6px 0 0;line-height:1.55}.job-result{margin-top:16px;padding:18px}.job-result--error{color:var(--muted-foreground);text-align:center;padding:48px 24px}.job-result--error h2{color:var(--foreground);margin:14px 0 6px}.job-result--error p{margin:0}.job-result__head{align-items:center;gap:12px;display:flex}.job-result__head>div{flex-direction:column;flex:1;min-width:0;display:flex}.job-result__head strong{font-size:14px}.job-result__head small{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:12px;overflow:hidden}.job-result__head>span:last-child{color:var(--muted-foreground);font-variant-numeric:tabular-nums;font-size:13px}.job-progress{background:var(--surface-subtle);border-radius:999px;height:6px;margin-top:16px;overflow:hidden}.job-progress span{border-radius:inherit;background:var(--brand-gradient);height:100%;transition:width .22s;display:block}.job-result__content{border-top:1px solid var(--border);margin-top:18px;padding-top:18px}.job-result__content h2{margin:0;font-size:18px}.job-result__content p{white-space:pre-wrap;margin:10px 0 0;line-height:1.65}.job-result__content--error{color:var(--danger,#b42318)}.job-artifacts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.job-artifact{border:1px solid var(--border);background:var(--surface-subtle);cursor:zoom-in;border-radius:12px;min-height:320px;padding:0;display:block;position:relative;overflow:hidden}.job-artifact img{object-fit:contain}.job-video-artifacts{margin-top:16px}.job-video-artifact{cursor:zoom-in;background:0 0;border:0;gap:12px;width:100%;padding:0;display:grid;position:relative}.job-video-artifact video{border:1px solid var(--border);background:#121315;border-radius:14px;width:100%;max-height:640px}.job-video-artifact .button{justify-self:start}.job-production-video{gap:12px;margin-top:16px;display:grid}.job-production-video__head{justify-content:space-between;align-items:center;gap:14px;display:flex}.job-production-video__head>div,.job-production-audio__label{gap:3px;display:grid}.job-production-video__head strong,.job-production-audio__label strong{font-size:14px}.job-production-video__head small,.job-production-audio__label small{color:var(--muted-foreground);font-size:11px;line-height:1.45}.job-production-video>video{border:1px solid var(--border);background:#121315;border-radius:14px;width:100%;max-height:min(70vh,720px);display:block}.job-animate-action{margin-top:14px}.workspace-grid{grid-template-columns:minmax(340px,430px) minmax(0,1fr);gap:18px;width:min(100%,1240px);min-height:100%;margin:0 auto;padding:22px;display:grid}.control-panel,.result-panel,.artel-card,.billing-section,.balance-card,.project-memory,.workshop-preview,.workshop-timeline{border:1px solid var(--border);background:var(--surface);border-radius:16px}.control-panel{align-self:start;width:100%;min-width:0;max-width:100%;padding:18px}.result-panel{background:radial-gradient(circle at 50% 36%, color-mix(in srgb, var(--brand-soft) 70%, transparent), transparent 30%), var(--surface-subtle);place-items:center;min-height:560px;padding:32px;display:grid}.result-panel--job{padding:18px;display:block}.result-panel--dark{color:#f8f8f6;text-align:center;background:#1f2023;align-content:center}.result-panel--dark p{color:#aaaba6;font-size:14px}.video-placeholder{aspect-ratio:9/16;color:#777b8b;background:linear-gradient(160deg,#2c2f39,#17181b);border:1px solid #3b3d40;border-radius:18px;place-items:center;width:min(100%,420px);margin:0 auto 16px;display:grid;position:relative;overflow:hidden}.video-placeholder img{object-fit:cover}.segmented-tabs{background:var(--surface-subtle);scrollbar-width:none;border-radius:11px;gap:2px;max-width:100%;padding:3px;display:inline-flex;overflow-x:auto}.segmented-tabs::-webkit-scrollbar{display:none}.segmented-tabs button{color:var(--muted-foreground);background:0 0;border:0;border-radius:8px;flex:none;padding:7px 11px;font-size:13px;font-weight:550}.segmented-tabs button.is-active{background:var(--surface);color:var(--foreground);box-shadow:var(--shadow-sm)}.field{flex-direction:column;gap:7px;margin-top:18px;display:flex}.field>span,.choice-group legend{color:var(--foreground);font-size:13px;font-weight:600}.field input,.field textarea,.field select{resize:vertical;border:1px solid var(--border);background:var(--background);border-radius:11px;outline:0;width:100%;padding:11px 12px;font-size:14px}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb, var(--brand) 18%, transparent)}.choice-group{border:0;min-width:0;margin:18px 0 0;padding:0}.choice-group>div{scrollbar-width:none;gap:7px;max-width:100%;margin-top:8px;display:flex;overflow-x:auto}.choice-group label{border:1px solid var(--border);background:var(--surface);color:var(--muted-foreground);cursor:pointer;border-radius:9px;flex:none;padding:7px 10px;font-size:13px;font-weight:550}.choice-group label.is-selected{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-soft-foreground)}.choice-group label:has(input:checked){border-color:var(--brand);background:var(--brand-soft);color:var(--brand-soft-foreground)}.choice-group label.is-disabled{opacity:.45;cursor:not-allowed}.choice-group input{opacity:0;pointer-events:none;position:absolute}.image-mode-options>div{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.image-mode-options label{flex-direction:column;gap:3px;min-width:0;display:flex}.image-mode-options label strong{color:inherit;font-size:12px}.image-mode-options label small{font-size:10px;line-height:1.3}.mode-help{color:var(--muted-foreground);margin:7px 0 0;font-size:11px;line-height:1.45}.video-source-picker{border:0;min-width:0;margin:18px 0 0;padding:0}.video-source-picker legend{font-size:13px;font-weight:600}.video-source-picker>p,.video-source-picker__loading{color:var(--muted-foreground);margin:10px 0;font-size:12px}.video-source-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:9px 0 10px;display:grid}.video-source-list button{aspect-ratio:1;background:var(--surface-subtle);border:2px solid #0000;border-radius:10px;min-width:0;padding:0;position:relative;overflow:hidden}.video-source-list button.is-selected{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb, var(--brand) 16%, transparent)}.video-source-list img,.video-source-list video{object-fit:cover;width:100%;height:100%;display:block}.video-source-list span{z-index:1;color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#141416b8;border-radius:5px;padding:3px 5px;font-size:9px;position:absolute;bottom:4px;left:4px;right:4px;overflow:hidden}.advanced-button{border:0;border-top:1px solid var(--border);width:100%;color:var(--muted-foreground);background:0 0;justify-content:space-between;align-items:center;margin-top:18px;padding:14px 2px 0;font-size:13px;display:flex}.control-panel__footer{justify-content:space-between;align-items:center;gap:12px;margin-top:18px;display:flex}.control-panel__footer>span{color:var(--muted-foreground);font-size:12px}.empty-state{text-align:center;max-width:440px}.empty-state__icon{border:1px solid var(--border);background:var(--surface);width:64px;height:64px;color:var(--brand);box-shadow:var(--shadow-sm);border-radius:18px;place-items:center;margin:0 auto;display:grid}.empty-state h2{letter-spacing:-.02em;margin:17px 0 0;font-size:18px}.empty-state p{color:var(--muted-foreground);margin:8px 0 0;font-size:14px;line-height:1.55}.estimate-card{background:var(--surface-subtle);border-radius:11px;flex-direction:column;gap:4px;margin:18px 0 12px;padding:12px;font-size:13px;display:flex}.estimate-card small{color:var(--muted-foreground)}.estimate-card--warning{border:1px solid color-mix(in srgb, var(--danger) 35%, transparent);background:color-mix(in srgb, var(--danger) 8%, var(--surface));color:var(--danger)}.workspace-return{justify-content:center;width:100%;margin-top:14px}.workspace-page,.artel-page,.workshop-page{width:min(100%,1180px);min-width:0;max-width:100%;min-height:100%;margin:0 auto;padding:24px}.projects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px;display:grid}.project-create,.project-editor{border:1px solid var(--border);background:var(--surface);border-radius:14px;margin-top:18px;padding:18px}.project-create>div:first-child{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px;display:grid}.project-create .field,.project-editor .field,.scene-create .field{margin-top:0}.project-create__options{grid-template-columns:minmax(120px,1fr) auto auto;align-items:end;gap:10px;margin-top:14px;display:grid}.projects-empty{border:1px dashed var(--border-strong);background:color-mix(in srgb, var(--surface) 70%, transparent);width:100%;min-height:240px;color:var(--muted-foreground);text-align:center;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:8px;margin-top:20px;padding:24px;display:flex}.projects-empty:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-soft-foreground)}.projects-empty strong{color:var(--foreground);font-size:15px}.projects-empty span{max-width:420px;font-size:13px;line-height:1.5}.projects-empty--compact{min-height:88px;font-size:13px}.projects-loading{border:3px solid var(--border);border-top-color:var(--brand);border-radius:50%;width:30px;height:30px;margin:48px auto;animation:.8s linear infinite auth-spin}.workspace-error{background:var(--danger-soft);color:var(--danger);border-radius:10px;margin:16px 0 0;padding:10px 12px;font-size:13px}.library-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px;display:grid}.library-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;overflow:hidden}.library-card__preview{aspect-ratio:4/3;color:#ffffffd9;cursor:zoom-in;background:linear-gradient(145deg,#d8e4ef,#91a7bc);border:0;place-items:center;width:100%;padding:0;display:grid;position:relative;overflow:hidden}.library-card__preview:disabled{cursor:default}.library-card__preview--1{background:linear-gradient(145deg,#b8b1e8,#554b83)}.library-card__preview--2{background:linear-gradient(145deg,#e7c693,#8e653f)}.library-card__preview--3{background:linear-gradient(145deg,#9bb9b1,#355b56)}.library-card__preview img,.library-card__preview video{z-index:1;object-fit:cover;object-position:center;width:100%;height:100%;display:block;position:absolute;inset:0}.library-card__preview video{opacity:0;background:0 0;transition:opacity .16s}.library-card__preview video.is-ready{opacity:1}.library-card span.library-card__video-fallback{z-index:0;color:#ffffffe0;place-content:center;place-items:center;gap:5px;margin:0;display:grid;position:absolute;inset:0}.library-card .library-card__video-fallback small{color:inherit;font-size:11px;font-weight:650}.library-card>div:last-child{flex-direction:column;min-width:0;padding:12px;display:flex}.library-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:580;overflow:hidden}.library-card span{color:var(--muted-foreground);margin-top:4px;font-size:12px}.library-card .library-card__explanation{color:var(--foreground);font-size:11px;line-height:1.4}.library-card__audio{width:100%;height:34px;margin-top:10px}.library-card__actions{flex-wrap:wrap;gap:7px 12px;margin-top:9px;display:flex}.library-card .library-card__action{color:var(--brand);cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:0;font-family:inherit;font-size:12px;font-weight:600}.artel-page{max-width:920px;padding-top:34px}.artel-page__intro{align-items:center;gap:14px;display:flex}.artel-page__intro h2,.workshop-page__head h2,.billing-section h2{letter-spacing:-.025em;margin:0;font-size:22px}.artel-page__intro p,.workshop-page__head p,.billing-section p{color:var(--muted-foreground);margin:5px 0 0;font-size:14px}.stepper{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:28px 0 18px;padding:0;list-style:none;display:grid}.stepper li{color:var(--muted-foreground);flex-direction:column;align-items:center;gap:6px;font-size:12px;display:flex;position:relative}.stepper li:before{background:var(--border);content:"";height:1px;position:absolute;top:14px;left:-50%;right:50%}.stepper li:first-child:before{display:none}.stepper li>span{z-index:1;border:1px solid var(--border);background:var(--surface);border-radius:50%;place-items:center;width:28px;height:28px;font-weight:650;display:grid}.stepper li.is-active{color:var(--brand)}.stepper li.is-active>span{border-color:var(--brand);background:var(--brand);color:#fff}.artel-card{padding:22px}.artel-project-picker{margin-bottom:18px}.artel-project-picker .section-heading p{color:var(--muted-foreground);margin:5px 0 0;font-size:12px}.artel-project-picker__select{margin-bottom:12px}.artel-project-create{border-top:1px solid var(--border);grid-template-columns:minmax(180px,1fr) minmax(220px,1.4fr) 180px;gap:12px;margin-top:16px;padding-top:16px;display:grid}.artel-project-create .field{margin-top:0}.artel-project-create__actions{grid-column:1/-1;justify-content:flex-end;gap:8px;display:flex}.storyboard-builder,.production-estimate,.project-production,.motion-batch,.project-outputs,.project-ready-outputs{border:1px solid var(--border);background:var(--surface);border-radius:16px;margin-top:18px;padding:18px}.storyboard-builder .section-heading p,.production-estimate .section-heading p,.project-production .section-heading p,.motion-batch .section-heading p,.project-outputs .section-heading p,.project-ready-outputs .section-heading p{color:var(--muted-foreground);margin:5px 0 0;font-size:12px}.storyboard-builder__form{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto auto auto;align-items:start;gap:14px;margin-top:16px;padding-top:16px;display:grid}.storyboard-builder__brief{grid-column:1/-1;margin-top:0}.storyboard-builder__form>.project-context-note{grid-column:1/-1;margin:0}.storyboard-builder .choice-group{margin-top:0}.storyboard-builder__replace,.storyboard-builder__actions,.storyboard-builder .estimate-card,.storyboard-builder .composer-error,.storyboard-builder .mode-help{grid-column:1/-1}.storyboard-builder .mode-help{margin:-7px 0 0}.storyboard-builder__replace{color:var(--foreground);align-items:flex-start;gap:9px;font-size:13px;display:flex}.storyboard-builder__replace input{accent-color:var(--brand);margin-top:3px}.storyboard-builder__replace span{flex-direction:column;gap:3px;display:flex}.storyboard-builder__replace small{color:var(--muted-foreground)}.storyboard-builder .estimate-card{margin:0}.storyboard-builder__actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.storyboard-builder__actions>span{color:var(--muted-foreground);font-size:12px}.storyboard-builder__job{border-top:1px solid var(--border);margin-top:18px;padding-top:18px}.artel-card h3{margin:0;font-size:16px}.format-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.format-cards button{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:130px;color:var(--muted-foreground);text-align:left;border-radius:13px;flex-direction:column;align-items:flex-start;padding:14px;display:flex}.format-cards button.is-selected{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-soft-foreground)}.format-cards strong{color:var(--foreground);margin-top:15px;font-size:14px}.format-cards span{margin-top:4px;font-size:12px;line-height:1.4}.artel-card__actions{justify-content:space-between;margin-top:24px;display:flex}.billing-page{max-width:900px}.balance-card{justify-content:space-between;align-items:center;gap:24px;padding:24px;display:flex}.balance-card>div{grid-template-columns:auto auto;align-items:end;gap:2px 8px;display:grid}.balance-card span{color:var(--muted-foreground);grid-column:1/-1;font-size:13px}.balance-card strong{letter-spacing:-.04em;font-size:40px}.balance-card small{color:var(--muted-foreground);padding-bottom:7px}.billing-section{margin-top:16px;padding:24px}.billing-section .button{margin-top:18px}.workshop-page__head{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"back identity actions";align-items:center;gap:18px;display:grid}.workshop-page__head>.back-link{grid-area:back}.workshop-page__identity{grid-area:identity;min-width:0}.workshop-page__identity h2{overflow-wrap:anywhere}.workshop-page__actions,.project-editor__actions,.scene-create__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.workshop-page__actions{grid-area:actions}.workflow-anchor{scroll-margin-top:20px}.workflow-secondary-action{width:fit-content;margin-top:14px}.project-active-jobs{border:1px solid color-mix(in srgb, var(--brand) 30%, var(--border));background:var(--brand-soft);border-radius:16px;gap:14px;margin-top:18px;padding:16px;display:grid}.project-active-jobs--checking,.project-active-jobs--error{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.project-active-jobs--error{border-color:color-mix(in srgb, var(--danger) 35%, var(--border));background:var(--danger-soft)}.project-active-jobs__heading{align-items:flex-start;gap:10px;display:flex}.project-active-jobs strong,.project-active-jobs p{margin:0}.project-active-jobs p{color:var(--muted-foreground);margin-top:3px;font-size:12px;line-height:1.45}.project-active-jobs ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.project-active-jobs li{border:1px solid var(--border);background:var(--surface);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px;display:grid}.project-active-jobs li>div{gap:5px;min-width:0;display:grid}.project-active-jobs__progress-label{color:var(--muted-foreground);justify-content:space-between;gap:12px;font-size:12px;display:flex}.project-active-jobs progress{background:var(--surface-subtle);width:100%;height:6px;accent-color:var(--brand);border:0;border-radius:999px;overflow:hidden}.project-active-jobs progress::-webkit-progress-bar{background:var(--surface-subtle);border-radius:999px}.project-active-jobs progress::-webkit-progress-value{background:var(--brand);border-radius:999px}.project-active-jobs progress::-moz-progress-bar{background:var(--brand);border-radius:999px}.project-guide{border:1px solid var(--border);background:var(--surface);border-radius:16px;margin-top:18px;padding:18px}.project-guide__head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.project-guide__head h3{letter-spacing:-.02em;margin:4px 0 0;font-size:18px}.project-guide__balance{background:var(--brand-soft);color:var(--brand-soft-foreground);border-radius:999px;flex:none;padding:7px 11px;font-size:12px;font-weight:650}.project-stepper{grid-template-columns:repeat(4,minmax(0,1fr));margin:20px 0 0;padding:0;list-style:none;display:grid}.project-stepper li{min-width:0;color:var(--muted-foreground);text-align:center;flex-direction:column;align-items:center;gap:7px;display:flex;position:relative}.project-stepper li:before{z-index:0;background:var(--border);content:"";height:2px;position:absolute;top:14px;left:-50%;right:50%}.project-stepper li:first-child:before{display:none}.project-stepper li>span{z-index:1;border:1px solid var(--border-strong);background:var(--surface);border-radius:50%;place-items:center;width:30px;height:30px;font-size:12px;font-weight:700;display:grid;position:relative}.project-stepper li>small{text-overflow:ellipsis;max-width:100%;font-size:11px;overflow:hidden}.project-stepper li.is-done:before,.project-stepper li.is-active:before{background:var(--brand)}.project-stepper li.is-done>span{border-color:var(--brand);background:var(--brand);color:var(--brand-foreground)}.project-stepper li.is-active{color:var(--foreground)}.project-stepper li.is-active>span{border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-soft);color:var(--brand)}.project-guide__next{background:var(--surface-subtle);border-radius:13px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;margin-top:18px;padding:14px;display:grid}.project-guide__next strong,.project-guide__next p{margin:0}.project-guide__next p{color:var(--muted-foreground);margin-top:3px;font-size:12px;line-height:1.45}.workflow-approval{border:1px solid var(--border);background:var(--surface-subtle);border-radius:13px;justify-content:space-between;align-items:center;gap:16px;margin-top:14px;padding:14px;scroll-margin-top:20px;display:flex}.workflow-approval h4,.workflow-approval p{margin:0}.workflow-approval p{color:var(--muted-foreground);margin-top:4px;font-size:12px;line-height:1.45}.workflow-approval.is-approved{border-color:color-mix(in srgb, var(--brand) 40%, var(--border));background:var(--brand-soft)}.workflow-approval--next:not(.is-approved){border-color:color-mix(in srgb, var(--brand) 58%, var(--border));box-shadow:0 8px 24px color-mix(in srgb, var(--brand) 9%, transparent)}.workflow-approval__status{color:var(--brand-soft-foreground);flex:none;font-size:13px;font-weight:700}.project-editor{grid-template-columns:minmax(0,1fr) minmax(120px,.25fr);gap:14px;display:grid}.project-editor .field:nth-child(2),.project-editor__actions{grid-column:1/-1}.project-editor__actions .button--danger{margin-right:auto}.back-link{color:var(--muted-foreground);font-size:13px}.back-link:hover{color:var(--foreground)}.workshop-grid{grid-template-columns:minmax(0,1fr);gap:18px;margin-top:22px;display:grid}.workshop-preview{padding:16px}.workshop-preview__media{background:var(--surface-subtle);border-radius:12px;width:100%;min-height:clamp(280px,42vw,500px);position:relative;overflow:hidden}.workshop-preview--text-only{padding:14px 16px}.workshop-preview__media img{object-fit:cover}.workshop-preview__open{cursor:zoom-in;background:0 0;border:0;width:100%;padding:0;position:absolute;inset:0}.workshop-preview__empty{width:100%;height:100%;min-height:inherit;background:radial-gradient(circle at 50% 35%, var(--brand-soft), transparent 34%), var(--surface-subtle);color:var(--muted-foreground);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.workshop-preview__empty strong{color:var(--foreground);font-size:14px}.workshop-description{color:var(--muted-foreground);margin:14px 2px 2px;font-size:13px;line-height:1.55}.workshop-preview--text-only .workshop-description{margin-top:0}.workshop-disclosure>summary,.scene-summary__advanced>summary,.scene-edit__advanced>summary,.project-memory__details>summary{color:var(--muted-foreground);cursor:pointer;font-size:12px;font-weight:650}.workshop-disclosure>summary:hover,.scene-summary__advanced>summary:hover,.scene-edit__advanced>summary:hover,.project-memory__details>summary:hover{color:var(--foreground)}.workshop-disclosure>p{white-space:pre-wrap;margin:10px 0 0}.workshop-timeline{align-self:start;width:100%;min-width:0;max-width:100%;padding:16px}.workshop-timeline article{border-top:1px solid var(--border);gap:11px;padding:14px 0;display:flex}.workshop-timeline article>span{background:var(--brand-soft);width:28px;height:28px;color:var(--brand-soft-foreground);border-radius:8px;flex:0 0 28px;place-items:center;font-size:12px;font-weight:650;display:grid}.scene-summary{flex:1;min-width:0}.scene-summary.has-media{grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);align-items:start;gap:16px;display:grid}.scene-summary__body{min-width:0}.scene-summary__frame{aspect-ratio:16/9;background:var(--surface-subtle);cursor:zoom-in;border:0;border-radius:9px;width:100%;margin-bottom:10px;padding:0;position:relative;overflow:hidden}.scene-summary.has-media .scene-summary__frame{margin-bottom:0}.scene-summary__frame img{object-fit:cover}.scene-summary__frame video{object-fit:cover;width:100%;height:100%;display:block}.scene-summary__frame--video{cursor:default;background:#111}.scene-summary__expand{z-index:3;color:#fff;min-height:28px;font:inherit;cursor:zoom-in;background:#141416c7;border:0;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:700;position:absolute;top:9px;right:9px}.scene-summary__expand:hover,.scene-summary__expand:focus-visible{background:#141416eb}.scene-summary__media-label{z-index:2;color:#fff;background:#141416c7;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:700;position:absolute;top:9px;left:9px}.scene-summary__advanced,.scene-edit__advanced{border:1px solid var(--border);background:var(--surface-subtle);border-radius:10px;margin-top:10px;padding:10px 12px}.scene-summary__advanced[open],.scene-edit__advanced[open]{padding-bottom:12px}.scene-edit__advanced .field{margin-top:12px}.scene-summary__prompt{white-space:pre-wrap}.scene-summary__prompt b{color:var(--foreground)}.scene-summary__actions,.scene-edit__actions{flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px;display:flex}.scene-summary__actions .button{min-height:31px;padding:6px 9px;font-size:11px}.scene-edit__cost-note{color:var(--muted-foreground);margin:9px 0 0;font-size:12px;line-height:1.45}.scene-summary__move{border:1px solid var(--border);border-radius:9px;display:inline-flex;overflow:hidden}.scene-summary__move .icon-button{width:30px;height:30px;color:var(--muted-foreground);border-radius:0;flex-basis:30px}.scene-summary__move .icon-button+.icon-button{border-left:1px solid var(--border)}.workshop-timeline article strong{font-size:13px}.workshop-timeline article p{color:var(--muted-foreground);margin:4px 0 0;font-size:12px;line-height:1.45}.workshop-timeline article small{color:var(--placeholder);margin-top:5px;font-size:11px;display:block}.scene-create{border-top:1px solid var(--border);flex-direction:column;gap:12px;width:100%;min-width:0;max-width:100%;margin-top:12px;padding-top:14px;display:flex}.scene-edit{border-top:1px solid var(--border);flex-direction:column;gap:10px;width:100%;min-width:0;max-width:100%;padding:14px 0;display:flex}.scene-edit .field{margin-top:0}.scene-edit__actions{justify-content:flex-end}.scene-edit__actions .button{white-space:normal;flex:180px}.production-estimate__items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.production-estimate__items>div{background:var(--surface-subtle);border-radius:11px;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px;font-size:13px;display:grid}.production-estimate__items small{color:var(--muted-foreground);grid-column:1}.production-estimate__items strong{grid-area:1/2/span 2;align-self:center}.production-estimate>p{color:var(--muted-foreground);margin:12px 0 0;font-size:11px;line-height:1.5}.frame-batch{border-top:1px solid var(--border);margin-top:14px;padding-top:14px}.frame-batch__controls{justify-content:space-between;align-items:end;gap:12px;display:flex}.frame-batch__controls label,.frame-batch__controls>div{color:var(--muted-foreground);flex-direction:column;gap:5px;font-size:11px;display:flex}.frame-batch__controls select{border:1px solid var(--border);background:var(--background);min-width:150px;color:var(--foreground);border-radius:9px;padding:8px 10px}.frame-batch__controls>span,.frame-batch__controls small{color:var(--muted-foreground);font-size:11px}.frame-batch__controls .is-warning{color:var(--danger);font-weight:650}.frame-batch__job{margin-top:14px}.frame-batch__outcome{border:1px solid color-mix(in srgb, var(--danger) 28%, var(--border));background:color-mix(in srgb, var(--danger) 4%, var(--surface));border-radius:12px;margin-top:14px;padding:14px}.frame-batch__outcome h3,.frame-batch__outcome p{margin:0}.frame-batch__outcome>p,.frame-batch__outcome li p{color:var(--muted-foreground);margin-top:6px;font-size:13px;line-height:1.5}.frame-batch__outcome ul{gap:10px;margin:12px 0 0;padding:0;list-style:none;display:grid}.frame-batch__outcome li{background:var(--surface);border-radius:10px;padding:12px}.frame-batch__outcome li .button{margin-top:10px}.frame-batch__settlement{font-weight:650}.frame-batch__outcome-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.motion-batch__controls{border-top:1px solid var(--border);flex-wrap:wrap;align-items:end;gap:12px;margin-top:16px;padding-top:16px;display:flex}.motion-batch__controls>label,.motion-batch__controls>div{min-width:140px;color:var(--muted-foreground);flex-direction:column;gap:4px;font-size:11px;display:flex}.motion-batch__controls select{border:1px solid var(--border);background:var(--background);color:var(--foreground);border-radius:9px;padding:8px 10px}.motion-batch__controls>div strong{color:var(--foreground);font-size:13px}.motion-batch__controls .is-warning,.motion-batch__controls .is-warning strong{color:var(--danger)}.motion-batch__controls>.button{margin-left:auto}.motion-batch__jobs{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;padding-top:16px;display:grid}.motion-batch__jobs>div{border:1px solid var(--border);background:var(--surface-subtle);border-radius:12px;min-width:0;padding:12px}.motion-batch__jobs>div>strong{margin-bottom:9px;font-size:12px;display:block}.workflow-locked{border:1px dashed var(--border-strong);background:var(--surface-subtle);color:var(--muted-foreground);border-radius:16px;align-items:center;gap:14px;margin-top:18px;padding:18px;display:flex}.workflow-locked>svg{flex:none}.workflow-locked strong{color:var(--foreground);font-size:14px}.workflow-locked p{margin:4px 0 0;font-size:12px;line-height:1.45}.project-production__form{border-top:1px solid var(--border);grid-template-columns:minmax(300px,1fr) minmax(180px,.4fr);align-items:end;gap:14px;margin-top:16px;padding-top:16px;display:grid}.project-production__form .choice-group,.project-production__form .field{margin-top:0}.voice-picker__preview{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;display:grid}.voice-picker__preview>span{color:var(--muted);font-size:12px;font-weight:650}.voice-picker__preview audio{width:100%;min-width:0;height:36px}.project-production__instructions,.project-production__options,.project-production__grid,.project-production__voiceover-scripts,.project-production__subtitle-choice,.project-production__media-options,.production-caption-preview,.project-production__form>.project-context-note,.project-production__form .estimate-card,.project-production__readiness-error,.project-production__form .composer-error,.project-production__form .mode-help,.project-production__actions{grid-column:1/-1}.project-production__form .mode-help{margin:-7px 0 0}.project-production__options{flex-wrap:wrap;gap:10px 20px;display:flex}.project-production__options label{align-items:center;gap:7px;font-size:12px;display:inline-flex}.project-production__options input{accent-color:var(--brand)}.project-production__grid,.project-production__media-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.project-production__grid--single{grid-template-columns:minmax(0,1fr)}.project-production__voiceover-scripts{border:1px solid var(--border);background:var(--surface-subtle);border-radius:14px;overflow:hidden}.project-production__voiceover-head{justify-content:space-between;align-items:flex-start;gap:16px;padding:14px;display:flex}.project-production__voiceover-head>div{gap:4px;display:grid}.project-production__voiceover-head strong{font-size:14px}.project-production__voiceover-head span,.project-production__voiceover-head small{color:var(--muted-foreground);font-size:12px;line-height:1.45}.project-production__voiceover-head small{font-variant-numeric:tabular-nums;flex:none}.project-production__voiceover-list{border-top:1px solid var(--border);display:grid}.project-production__voiceover-list article{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 14px;display:grid}.project-production__voiceover-list article+article{border-top:1px solid var(--border)}.project-production__voiceover-list article[data-state=missing]{background:color-mix(in srgb, var(--danger,#b42318) 5%, transparent)}.project-production__voiceover-list article>div{gap:4px;min-width:0;display:grid}.project-production__voiceover-list article strong{font-size:13px}.project-production__voiceover-list article span{color:var(--muted-foreground);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.project-production__voiceover-list article[data-state=missing] span{color:var(--danger,#b42318)}.project-production__voiceover-list .button{white-space:nowrap;min-height:38px}.project-production__ai-text{border:1px solid color-mix(in srgb, var(--brand) 28%, var(--border));background:color-mix(in srgb, var(--brand) 5%, var(--surface));border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.project-production__ai-text>div{gap:4px;min-width:0;display:grid}.project-production__ai-text strong{font-size:14px}.project-production__ai-text span,.project-production__ai-text small{color:var(--muted-foreground);font-size:12px;line-height:1.45}.project-production__ai-text .button{white-space:normal;text-align:center;flex:none}.project-production__readiness-error{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.project-production__readiness-error .composer-error{margin:0}.project-production__subtitle-choice{border:0;flex-wrap:wrap;gap:10px 20px;margin:0;padding:0;display:flex}.project-production__subtitle-choice legend{width:100%;color:var(--muted-foreground);margin-bottom:3px;font-size:12px}.project-production__subtitle-choice label{align-items:center;gap:7px;font-size:12px;display:inline-flex}.project-production__subtitle-choice input{accent-color:var(--brand)}.production-caption-preview{color:#fff;text-align:center;background:linear-gradient(145deg,#90a7c9,#3d4862 60%,#1f2430);border-radius:16px;flex-direction:column;justify-content:space-between;align-items:center;min-height:170px;padding:22px 20px 18px;display:flex;position:relative;overflow:hidden}.production-caption-preview strong{background:#00000059;border-radius:7px;padding:5px 9px;font-size:14px}.production-caption-preview span{background:#00000073;border-radius:7px;max-width:80%;padding:6px 10px;font-size:14px}.production-caption-preview--bold span{background:#000000b3;outline:2px solid #fffc;font-weight:750}.production-caption-preview--minimal span{text-shadow:0 1px 4px #000,0 0 2px #000;background:0 0}.project-production__media-options>div{border:1px solid var(--border);border-radius:13px;flex-direction:column;gap:8px;min-width:0;padding:14px;display:flex}.project-production__media-options>div>span{color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.project-production__asset-picker{gap:5px;display:grid}.project-production__asset-picker>span{color:var(--muted-foreground);font-size:11px}.project-production__asset-picker select{width:100%;min-width:0}.project-production__media-options>div>div{flex-wrap:wrap;gap:8px;display:flex}.project-production__actions{justify-content:space-between;align-items:center;gap:14px;display:flex}.project-production__actions small{max-width:620px;color:var(--muted-foreground);font-size:11px;line-height:1.45}.project-production__job{border-top:1px solid var(--border);margin-top:16px;padding-top:16px}.media-preview-hint{z-index:2;color:#fff;opacity:0;pointer-events:none;background:#141416c7;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:650;transition:opacity .14s,transform .14s;position:absolute;bottom:10px;right:10px;transform:translateY(3px)}button:hover>.media-preview-hint,button:focus-visible>.media-preview-hint{opacity:1;transform:translateY(0)}.media-lightbox{z-index:200;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.media-lightbox__backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0b0c0fc7;border:0;width:100%;height:100%;position:absolute;inset:0}.media-lightbox__dialog{z-index:1;color:#fff;background:#17181b;border:1px solid #ffffff24;border-radius:18px;flex-direction:column;width:min(1180px,100vw - 40px);max-height:calc(100vh - 40px);display:flex;position:relative;overflow:hidden;box-shadow:0 28px 90px #00000073}.media-lightbox__dialog header,.media-lightbox__dialog footer{flex:none;align-items:center;gap:10px;padding:13px 16px;display:flex}.media-lightbox__dialog header{border-bottom:1px solid #ffffff1a;justify-content:space-between}.media-lightbox__dialog header strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.media-lightbox__close{color:#fff;font-size:25px;font-weight:300}.media-lightbox__stage{background:repeating-conic-gradient(#151619 0 25%, #1b1c20 0 50%) 50% / 20px 20px;height:min(76vh,820px);min-height:260px;position:relative}.media-lightbox__stage img{object-fit:contain}.media-lightbox__stage video{object-fit:contain;background:#08090a;width:100%;height:100%}.media-lightbox__dialog footer{border-top:1px solid #ffffff1a;justify-content:flex-end}.project-ready-outputs{border-top:1px solid var(--border);padding-top:22px}.project-ready-outputs .section-heading p{color:var(--muted-foreground);margin:5px 0 0;font-size:12px}.project-ready-outputs__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.project-ready-output{border:1px solid var(--border);background:var(--surface-subtle);border-radius:14px;flex-direction:column;gap:12px;min-width:0;padding:12px;display:flex;overflow:hidden}.project-ready-output--video{grid-column:1/-1}.project-ready-output>video{object-fit:contain;background:#111;border-radius:10px;width:100%;height:auto;max-height:min(70vh,720px)}.project-ready-output__audio,.project-ready-output__file{background:var(--surface);min-height:112px;color:var(--brand);border-radius:10px;place-items:center;display:grid}.project-ready-output__audio{grid-template-columns:auto 1fr;gap:6px 10px;padding:16px}.project-ready-output__audio span{color:var(--foreground);font-size:12px;font-weight:600}.project-ready-output__audio audio{grid-column:1/-1;width:100%;height:36px}.project-ready-output__body{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.project-ready-output__body strong{font-size:14px}.project-ready-output__body p{color:var(--muted-foreground);margin:0;font-size:12px;line-height:1.45}.project-ready-output__body small{max-width:100%;color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.project-ready-output__actions{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.job-download-artifacts{flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;display:flex}.job-download-artifacts>div{flex:320px;align-items:center;gap:10px;display:flex}.job-download-artifacts audio{flex:1;min-width:220px}.job-download-artifacts>.job-production-audio{border:1px solid var(--border);background:var(--surface-subtle);border-radius:12px;flex-wrap:wrap;padding:12px}.job-production-audio__label{flex:1 0 100%}.scenes-empty{border:1px dashed var(--border-strong);background:var(--surface-subtle);width:100%;color:var(--muted-foreground);border-radius:10px;margin-top:14px;padding:18px;font-size:13px}.scenes-empty:hover{border-color:var(--brand);color:var(--brand)}.project-memory{margin-top:18px;padding:18px}.project-memory .section-heading>div{min-width:0}.project-memory .section-heading p{color:var(--muted-foreground);margin:5px 0 0;font-size:12px}.project-memory__form{border-top:1px solid var(--border);grid-template-columns:minmax(140px,.35fr) minmax(220px,.65fr);gap:0 12px;margin-top:16px;display:grid}.project-memory__content,.project-memory__form-actions{grid-column:1/-1}.project-memory__form-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.project-memory__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.project-memory__list article{border:1px solid var(--border);background:var(--surface-subtle);border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;padding:12px;display:grid}.project-memory__list article>span{background:var(--brand-soft);color:var(--brand-soft-foreground);border-radius:999px;padding:3px 7px;font-size:10px;font-weight:650}.project-memory__list strong{font-size:13px;display:block}.project-memory__list p,.project-memory__empty{color:var(--muted-foreground);white-space:pre-wrap;margin:4px 0 0;font-size:12px;line-height:1.5}.project-memory__details{margin-top:5px}.project-memory__details>summary{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.5;display:-webkit-box;overflow:hidden}.project-memory__details[open]>summary{display:list-item}.project-memory__details>p{margin-top:9px}.project-memory__empty{border-top:1px solid var(--border);margin-top:16px;padding-top:16px}@media (max-width:1050px){.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.eyebrow{color:var(--brand);letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px;font-size:12px;font-weight:700;display:block}.events-page{max-width:1240px;margin:0 auto}.event-create,.invite-panel,.event-invite-settings{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:18px;gap:18px;margin-bottom:24px;padding:22px;display:grid}.event-create{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.event-create__intro{grid-column:1/-1}.event-create__wide{grid-column:span 2}.event-create h3,.event-create p,.invite-panel h3,.invite-panel p,.event-list h3,.event-teams h3,.team-card h4,.team-card p,.event-invite-settings h3,.event-invite-settings p{margin:0}.event-create p,.invite-panel p,.event-invite-settings p,.team-card p{color:var(--muted-foreground);font-size:13px;line-height:1.55}.event-create label,.invite-panel label,.event-invite-settings label,.join-code label{flex-direction:column;gap:7px;font-size:13px;font-weight:600;display:flex}.event-create input,.event-create select,.event-create textarea,.event-invite-settings input,.join-code input,.copy-field input{border:1px solid var(--border-strong);background:var(--surface);border-radius:10px;outline:0;min-width:0;height:44px;padding:0 12px}.event-create textarea{resize:vertical;min-height:108px;padding:12px}.event-create input:focus,.event-create select:focus,.event-create textarea:focus,.event-invite-settings input:focus,.join-code input:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent)}.event-budget-preview{background:var(--success-soft);min-height:68px;color:var(--success);border-radius:12px;flex-direction:column;grid-column:1/-2;justify-content:center;padding:12px 14px;font-size:12px;line-height:1.45;display:flex}.event-budget-preview strong{font-size:14px}.event-budget-preview--warning{background:var(--warning-soft);color:var(--warning)}.event-participant-hint{border:1px solid var(--border);background:var(--surface);border-radius:16px;margin-bottom:24px;padding:18px 20px}.event-participant-hint h3,.event-participant-hint p{margin:0}.event-participant-hint p{color:var(--muted-foreground);margin-top:5px;font-size:13px;line-height:1.5}.invite-panel{background:linear-gradient(135deg, var(--brand-soft), var(--surface) 62%);grid-template-columns:240px 1fr;align-items:center}.invite-panel__qr{place-items:center;display:grid}.invite-panel__qr img{border:10px solid #fff;border-radius:14px}.invite-panel__copy{flex-direction:column;align-items:flex-start;gap:13px;display:flex}.invite-panel__copy label{width:100%}.copy-field{gap:8px;width:100%;display:flex}.copy-field input{flex:1}.copy-field button{background:var(--surface-hover);border:0;border-radius:10px;padding:0 14px}.event-code{background:var(--foreground);color:#fff;letter-spacing:.06em;border-radius:10px;width:fit-content;padding:10px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:18px;display:inline-flex}.event-list>h3,.event-teams>h3{margin-bottom:14px;font-size:17px}.event-list__grid,.event-teams__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.event-card,.team-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:16px;padding:18px}.event-card{transition:border-color .14s,transform .14s}.event-card:hover{border-color:var(--border-strong);transform:translateY(-2px)}.event-card__top,.event-card__metrics,.team-card__head,.team-card__actions{align-items:center;gap:10px;display:flex}.event-card__top{color:var(--muted-foreground);justify-content:space-between;font-size:12px}.event-card h3{margin:18px 0 24px;font-size:19px}.event-card__metrics{color:var(--muted-foreground);flex-wrap:wrap;font-size:12px}.event-status{background:var(--surface-subtle);width:fit-content;color:var(--muted-foreground);border-radius:999px;padding:5px 9px;font-size:11px;font-weight:650;display:inline-flex}.event-status--enrollment,.event-status--active{background:var(--success-soft);color:var(--success)}.event-detail__head{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:20px;display:flex}.event-detail__head .back-link{margin-bottom:18px;display:block}.event-detail__head h2{margin:10px 0 6px;font-size:clamp(26px,4vw,38px)}.event-detail__head p{color:var(--muted-foreground);margin:0}.event-detail__actions{gap:8px;display:flex}.workspace-notice{background:var(--success-soft);color:var(--success);border-radius:10px;margin:0 0 16px;padding:11px 13px;font-size:13px}.event-action-confirm{border:1px solid color-mix(in srgb, var(--brand) 24%, var(--border));background:var(--brand-soft);border-radius:14px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding:15px 17px;display:flex}.event-action-confirm p{color:var(--brand-soft-foreground);margin:4px 0 0;font-size:12px}.event-action-confirm__buttons{flex:none;gap:8px;display:flex}.event-brief-panel{border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;gap:16px;margin-bottom:18px;padding:20px;display:flex}.event-brief-panel__head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.event-brief-panel h3,.event-brief-panel p{margin:0}.event-brief-panel h3{font-size:18px}.event-deadline{background:var(--warning-soft);color:var(--warning);white-space:nowrap;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:650}.event-brief-panel__text,.event-criteria p{color:var(--muted-foreground);white-space:pre-wrap;font-size:14px;line-height:1.6}.event-brief-panel__empty{color:var(--muted-foreground);font-size:13px}.event-criteria{border-top:1px solid var(--border);padding-top:14px}.event-criteria strong{margin-bottom:6px;font-size:13px;display:block}.event-budget-readiness{border-radius:10px;flex-direction:column;gap:3px;padding:11px 13px;font-size:12px;line-height:1.45;display:flex}.event-budget-readiness--ok{background:var(--success-soft);color:var(--success)}.event-budget-readiness--warning{background:var(--warning-soft);color:var(--warning)}.event-budget{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.event-budget>div{border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;justify-content:flex-end;min-height:128px;padding:18px;display:flex}.event-budget span,.event-budget small{color:var(--muted-foreground);font-size:12px}.event-budget strong{margin-top:14px;font-size:28px}.event-invite-settings{grid-template-columns:auto 1fr minmax(260px,.6fr)}.event-invite-settings>div,.event-invite-settings form{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.event-invite-settings form,.event-invite-settings label{width:100%}.event-invite-qr{flex-direction:column;align-items:center;gap:5px;margin:0;display:flex}.event-invite-qr img{border:6px solid #fff;border-radius:10px}.event-invite-qr a{color:var(--brand);font-size:11px;font-weight:650}.event-invite-qr__loading{background:var(--surface-subtle);border-radius:10px;width:152px;height:152px}.team-card{flex-direction:column;gap:14px;display:flex}.team-card__head{justify-content:space-between;align-items:flex-start}.team-card__head h4{font-size:17px}.team-card__title{align-items:baseline;gap:8px;display:flex}.team-rename{align-items:center;gap:6px;display:flex}.team-rename input{border:1px solid var(--brand);background:var(--surface);border-radius:8px;outline:0;width:min(180px,100%);height:32px;padding:0 8px}.team-card__balance{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.team-card__head span,.team-card__head strong{color:var(--muted-foreground);font-size:12px}.team-card__head strong{color:var(--foreground);font-size:20px}.team-submit-state{background:var(--surface-subtle);border-radius:999px;padding:4px 7px}.team-submit-state--done{background:var(--success-soft);color:var(--success)}.budget-bar{background:var(--surface-subtle);border-radius:999px;height:7px;overflow:hidden}.budget-bar span{border-radius:inherit;background:var(--brand-gradient);height:100%;display:block}.team-card ul{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.team-card li{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:9px 0;font-size:13px;display:flex}.team-card li small{color:var(--muted-foreground)}.team-member__identity{flex-direction:column;gap:2px;min-width:130px;display:flex}.team-member__controls{justify-content:flex-end;align-items:center;gap:7px;min-width:0;display:flex}.team-member__controls select{border:1px solid var(--border);background:var(--surface);border-radius:8px;max-width:150px;height:32px;padding:0 8px;font-size:12px}.team-card .text-action{color:var(--brand);background:0 0;border:0;padding:2px;font-size:11px;font-weight:650}.team-card .text-action:hover:not(:disabled){text-decoration:underline}.team-submitted-at{color:var(--muted-foreground);font-size:11px}.team-card__actions{margin-top:auto}.team-card__actions .button{flex:1}.team-topup{flex:1;gap:6px;min-width:210px;display:flex}.team-topup input{border:1px solid var(--border);background:var(--surface);border-radius:9px;width:86px;min-width:0;padding:0 8px}.team-submit-confirm{background:var(--warning-soft);color:var(--warning);border-radius:10px;padding:11px}.team-submit-confirm p{color:inherit}.team-submit-confirm>div{gap:7px;margin-top:9px;display:flex}.join-page{width:min(100%,760px);min-width:0;max-width:100%;margin:0 auto}.join-card{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;max-width:100%;box-shadow:var(--shadow-md);border-radius:22px;padding:clamp(24px,6vw,48px)}.join-card h1{letter-spacing:-.04em;margin:5px 0 10px;font-size:clamp(28px,6vw,44px)}.join-card>p,.join-auth>p{color:var(--muted-foreground);line-height:1.55}.join-code,.join-auth{flex-direction:column;align-items:stretch;gap:12px;margin-top:28px;display:flex}.join-code input{letter-spacing:normal;text-transform:none;min-width:0;height:52px;font-size:16px;font-weight:400}.join-code input::placeholder{color:var(--placeholder);font-size:inherit;letter-spacing:normal;font-weight:400}.join-teams{margin-top:28px}.join-progress{background:var(--surface-subtle);color:var(--muted-foreground);text-align:center;border-radius:12px;margin-top:28px;padding:14px 16px;font-size:13px}.join-event-brief{background:var(--brand-soft);color:var(--brand-soft-foreground);border-radius:12px;flex-direction:column;gap:5px;margin-bottom:20px;padding:13px 15px;font-size:12px;display:flex}.join-event-brief p{white-space:pre-wrap;max-height:120px;margin:5px 0 0;line-height:1.5;overflow:auto}.join-teams h2{font-size:18px}.join-teams>button{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:12px;justify-content:space-between;align-items:center;width:100%;margin-top:8px;padding:13px 15px;display:flex}.join-teams>button:not(:disabled):hover{border-color:var(--brand);background:var(--brand-soft)}.join-teams>button span{flex-direction:column;gap:3px;display:flex}.join-teams small,.join-teams b{color:var(--muted-foreground);font-size:12px}.join-teams b{color:var(--brand)}.team-context-note,.project-context-note{background:var(--brand-soft);color:var(--brand-soft-foreground);border-radius:10px;padding:11px 13px;font-size:13px;line-height:1.45}.project-context-note{flex-direction:column;gap:4px;margin-bottom:14px;display:flex}.project-context-note a{color:inherit;font-weight:700}.chat-team-balance{background:var(--brand-soft);color:var(--brand-soft-foreground);border-radius:999px;margin-left:auto;padding:7px 10px;font-size:12px;font-weight:650}.event-followup{background:var(--foreground);color:#fff;border-radius:18px;justify-content:space-between;align-items:center;gap:24px;margin-top:22px;padding:24px;display:flex}.event-followup h3,.event-followup p{margin:0}.event-followup p{color:#ffffffad;margin-top:7px;font-size:13px}@media (max-width:900px){.event-create{grid-template-columns:repeat(2,minmax(0,1fr))}.event-create__intro,.event-budget-preview{grid-column:1/-1}.event-budget{grid-template-columns:1fr}.event-budget>div{min-height:100px}.event-invite-settings,.workspace-grid,.workshop-grid,.project-memory__list{grid-template-columns:1fr}.storyboard-builder__form,.artel-project-create,.project-production__form{grid-template-columns:1fr 1fr}.storyboard-builder__brief,.artel-project-create .field:nth-child(2),.artel-project-create__actions{grid-column:1/-1}.job-artifacts{grid-template-columns:1fr}.result-panel,.workshop-preview__media{min-height:420px}}@media (max-width:767px){.event-create,.invite-panel,.event-list__grid,.event-teams__grid{grid-template-columns:1fr}.invite-panel__qr{display:none}.event-detail__head{flex-direction:column;align-items:flex-start}.event-create__wide,.event-budget-preview{grid-column:1}.event-brief-panel__head,.event-action-confirm,.event-action-confirm__buttons,.team-card li,.team-member__controls,.team-rename,.team-submit-confirm>div,.team-topup{flex-direction:column;align-items:stretch}.event-deadline{white-space:normal}.team-member__controls select{width:100%;max-width:none}.team-rename input,.team-topup,.team-topup input{width:100%}.event-followup,.team-card__actions,.copy-field{flex-direction:column;align-items:stretch}body{overflow:hidden}.app-main{padding-bottom:64px}.app-shell>.sidebar{display:none}.topbar{padding:0 12px}.topbar__menu{display:inline-flex!important}.topbar__sidebar-restore{display:none}.mobile-nav{z-index:40;border-top:1px solid var(--border);height:64px;padding-right:max(4px, env(safe-area-inset-right));padding-left:max(4px, env(safe-area-inset-left));background:color-mix(in srgb, var(--surface) 95%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);grid-template-columns:repeat(5,minmax(0,1fr));place-items:center stretch;display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav>a,.mobile-nav>button{width:100%;min-width:0;color:var(--muted-foreground);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:5px 2px;font-size:clamp(9px,2.5vw,11px);font-weight:550;display:flex;overflow:hidden}.mobile-nav a>span{text-overflow:ellipsis;white-space:nowrap;width:100%;display:block;overflow:hidden}.mobile-nav a.is-active{color:var(--brand)}.mobile-nav .mobile-nav__create{background:var(--brand);width:48px;min-width:48px;height:48px;color:var(--brand-foreground);border:0;border-radius:50%;justify-content:center;justify-self:center;margin-top:-17px;box-shadow:0 8px 22px #6f5be74d}.create-sheet{z-index:100;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.create-sheet__backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1111106b;border:0;width:100%;position:absolute;inset:0}.create-sheet__panel{border:1px solid var(--border);width:min(100%,520px);padding:10px 16px calc(18px + env(safe-area-inset-bottom));background:var(--surface);border-radius:24px 24px 0 0;position:relative;box-shadow:0 -18px 48px #1111102e}.create-sheet__handle{background:var(--border-strong);border-radius:999px;width:42px;height:4px;margin:0 auto 16px}.create-sheet__header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.create-sheet__header h2{margin:3px 0 0;font-size:22px}.create-sheet__grid{gap:8px;display:grid}.create-sheet__grid a{border:1px solid var(--border);color:var(--foreground);border-radius:16px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;padding:11px 12px;text-decoration:none;display:grid}.create-sheet__grid a:focus-visible,.create-sheet__grid a:hover{border-color:color-mix(in srgb, var(--brand) 45%, var(--border));background:var(--brand-soft)}.create-sheet__icon{background:var(--brand-soft);width:44px;height:44px;color:var(--brand);border-radius:14px;place-items:center;display:grid}.create-sheet__grid strong,.create-sheet__grid small{display:block}.create-sheet__grid small{color:var(--muted-foreground);margin-top:2px;font-size:12px;line-height:1.35}.mobile-drawer{z-index:80;display:block;position:fixed;inset:0}.mobile-drawer__backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#11111059;border:0;width:100%;height:100%;position:absolute;inset:0}.sidebar--mobile{height:100%;box-shadow:var(--shadow-md);position:relative}.sidebar__close{margin-left:auto;font-size:24px;font-weight:300}.home-page{justify-content:flex-start;padding:42px 16px 40px}.home-page__hero{margin-bottom:24px}.home-page__hero h1{font-size:28px}.quick-actions,.recent-projects__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-grid,.workspace-page,.artel-page,.workshop-page{padding:14px}.workspace-page__head{align-items:flex-start}.workspace-page__head>.button{flex:none}.workspace-page__actions{flex-wrap:wrap}.projects-grid,.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.format-cards{grid-template-columns:1fr}.format-cards button{min-height:104px}.stepper li{font-size:0}.balance-card{align-items:flex-start}.workshop-page__head{grid-template-columns:minmax(0,1fr);grid-template-areas:"back""identity""actions";align-items:start;gap:10px}.workshop-page__head .back-link{grid-column:auto}.workshop-page__actions{justify-content:flex-start}.scene-summary.has-media{grid-template-columns:minmax(0,1fr)}.app-main input,.app-main select,.app-main textarea{font-size:16px}.project-editor,.scene-create,.scene-edit,.workshop-page__identity,.workshop-page__actions{min-width:0;max-width:100%}.project-stepper li>small{font-size:9px}}@media (max-width:520px){.composer__options .select-button:nth-of-type(2),.composer__dot{display:none}.artel-callout{align-items:flex-start}.artel-callout__arrow{display:none}.projects-grid{grid-template-columns:1fr}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.control-panel__footer,.balance-card,.storyboard-builder__actions{flex-direction:column;align-items:stretch}.image-mode-options>div{grid-template-columns:minmax(0,1fr)}.image-mode-options label{width:100%}.storyboard-builder__form,.artel-project-create,.production-estimate__items,.project-production__form,.project-ready-outputs__list{grid-template-columns:1fr}.library-card--audio{grid-column:1/-1}.project-production__grid,.project-production__media-options,.voice-picker__preview{grid-template-columns:1fr}.project-production__voiceover-head,.project-production__voiceover-list article,.project-production__ai-text,.project-production__readiness-error{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.project-production__voiceover-list .button,.project-production__ai-text .button,.project-production__readiness-error .button{justify-content:center;width:100%}.frame-batch__controls,.frame-batch__outcome-actions{flex-direction:column;align-items:stretch}.frame-batch__outcome-actions .button{justify-content:center;width:100%}.workshop-preview__media{min-height:240px}.workshop-page__actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.workshop-page__actions>.button{justify-content:center;width:100%}.workshop-page__actions>.button:first-child{grid-column:1/-1}.workflow-secondary-action{justify-content:center;width:100%}.project-memory__list article{grid-template-columns:minmax(0,1fr) auto}.project-memory__list article>span{width:fit-content}.project-memory__list article>div{grid-column:1/-1}.project-guide__head,.workflow-approval{flex-direction:column;align-items:stretch}.project-guide__balance{align-self:flex-start}.project-guide__next{grid-template-columns:auto minmax(0,1fr)}.project-guide__next .button{grid-column:1/-1;justify-content:center}.project-active-jobs--checking,.project-active-jobs--error,.project-active-jobs li{grid-template-columns:1fr;align-items:stretch}.project-active-jobs .button{justify-content:center;width:100%}.project-production__actions,.job-production-video__head,.job-download-artifacts>div{flex-direction:column;align-items:stretch}.job-production-video__head .button{justify-content:center;width:100%}.storyboard-builder__form>*,.artel-project-create>*{grid-column:1}.control-panel__footer .button{width:100%}.workspace-page__head{flex-direction:column}.workspace-page__head>.button{width:100%}.workspace-page__actions{flex-direction:column-reverse;align-items:stretch;width:100%}.workspace-page__actions .button{width:100%}.media-lightbox{padding:8px}.media-lightbox__dialog{border-radius:14px;width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.media-lightbox__stage{height:68vh;min-height:220px}.media-lightbox__dialog footer .button{flex:1;justify-content:center}}.sidebar__section-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.sidebar__section-heading .sidebar__section-label{margin-bottom:5px}.sidebar__all-link{color:var(--brand);padding:2px 0 6px;font-size:12px;font-weight:600}.sidebar__all-link:hover{color:var(--brand-hover)}.quote-countdown{color:inherit;font-variant-numeric:tabular-nums}.history-workspace,.jobs-center{width:min(100%,960px);margin:0 auto;padding:36px 24px 48px}.workspace-heading{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.workspace-heading>div{min-width:0}.workspace-heading>div>span{color:var(--brand);letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:700}.workspace-heading h2{letter-spacing:-.04em;margin:7px 0 6px;font-size:clamp(27px,4vw,38px)}.workspace-heading p{max-width:620px;color:var(--muted-foreground);margin:0;line-height:1.5}.history-search{border:1px solid var(--border);background:var(--surface);color:var(--muted-foreground);border-radius:12px;align-items:center;gap:10px;margin:24px 0 14px;padding:0 13px;display:flex}.history-tabs{margin-top:24px}.history-tabs+.history-search{margin-top:12px}.history-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb, var(--brand) 18%, transparent)}.history-search input{width:100%;font:inherit;background:0 0;border:0;outline:0;padding:12px 0}.history-list,.jobs-list{flex-direction:column;gap:9px;display:flex}.history-card{border:1px solid var(--border);background:var(--surface);min-width:0;box-shadow:var(--shadow-sm);border-radius:14px;align-items:center;display:flex;position:relative}.history-card>a,.history-card__summary{flex:1;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;min-width:0;padding:14px;display:grid}.history-card__summary{cursor:default}.history-card:hover,.job-center-card:hover{border-color:var(--border-strong);background:var(--surface-hover)}.history-card__icon,.job-center-card__icon{background:var(--brand-soft);width:38px;height:38px;color:var(--brand-soft-foreground);border-radius:11px;place-items:center;display:grid}.history-card__copy{flex-direction:column;gap:4px;min-width:0;display:flex}.history-card__copy strong,.history-card__copy small,.job-center-card__prompt{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.history-card__copy strong{font-size:14px}.history-card__copy small,.history-card time,.history-card__summary time{color:var(--muted-foreground);font-size:12px}.history-card__actions{flex:none;align-items:center;gap:5px;padding-right:10px;display:flex}.history-card__actions button,.history-undo button{color:var(--brand);font:inherit;background:0 0;border:0;border-radius:7px;padding:6px 8px;font-size:12px;font-weight:600}.history-card__actions button:hover:not(:disabled),.history-undo button:hover:not(:disabled){background:var(--brand-soft)}.history-card__actions button:disabled,.history-undo button:disabled{opacity:.55}.history-card__edit{align-items:center;gap:8px;width:100%;padding:10px;display:flex}.history-card__edit label{flex:1;min-width:0}.history-card__edit input{border:1px solid var(--border-strong);background:var(--surface);width:100%;color:var(--foreground);font:inherit;border-radius:9px;padding:9px 10px}.history-card__edit input:focus{border-color:var(--brand);outline:2px solid color-mix(in srgb, var(--brand) 18%, transparent)}.history-card__edit .button{min-height:36px;padding:7px 11px}.history-undo{border:1px solid var(--border);background:var(--surface-subtle);color:var(--foreground);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;padding:10px 12px;font-size:13px;display:flex}.history-workspace__status,.jobs-center__status{color:var(--muted-foreground);text-align:center;padding:48px 0}.history-workspace__empty,.jobs-center__empty{min-height:320px}.inline-error,.jobs-center__notice{border:1px solid color-mix(in srgb, var(--danger) 24%, var(--border));background:var(--danger-soft);border-radius:12px;justify-content:space-between;align-items:center;gap:14px;margin:14px 0;padding:11px 13px;display:flex}.inline-error p,.jobs-center__notice{color:var(--danger);font-size:13px}.inline-error p{margin:0}.jobs-center__notice{border-color:var(--border);background:var(--surface-subtle);color:var(--muted-foreground);display:block}.jobs-center__heading{margin-bottom:22px}.jobs-center__toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.jobs-center__toolbar>small{color:var(--muted-foreground);white-space:nowrap;font-size:12px}.job-center-card{border:1px solid var(--border);background:var(--surface);min-width:0;box-shadow:var(--shadow-sm);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:14px;display:grid}.job-center-card__main{flex-direction:column;gap:7px;min-width:0;display:flex}.job-center-card__main>span:first-child,.job-center-card__meta{justify-content:space-between;align-items:center;gap:10px;display:flex}.job-center-card__main small,.job-center-card__meta small,.job-center-card__prompt,.job-center-card__result{color:var(--muted-foreground);font-size:12px}.job-center-card__result{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.45;display:-webkit-box;overflow:hidden}.job-center-card__result strong{color:var(--foreground)}.job-center-card__result--error{color:var(--danger)}.job-center-card__progress{background:var(--surface-subtle);border-radius:999px;height:5px;overflow:hidden}.job-center-card__progress i{border-radius:inherit;background:var(--brand-gradient);height:100%;display:block}.job-center-card__meta{white-space:nowrap;flex-direction:column;align-items:flex-end}.job-center-card__meta strong{font-size:13px}.job-center-card__credits{flex-direction:column;align-items:flex-end;gap:2px;margin-top:3px;display:flex}.job-center-card__credits small{color:var(--foreground);font-weight:600}.jobs-center__empty-actions,.job-recovery-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:18px;display:flex}.job-recovery-actions{justify-content:flex-start}.job-result--error .job-recovery-actions{justify-content:center}.job-cancel-actions{align-items:center;margin-top:12px}.job-cancel-actions small{color:var(--muted-foreground);font-size:12px}.job-connection{color:var(--muted-foreground);align-items:center;gap:12px;margin-top:10px;display:flex}.job-connection__state{color:var(--foreground);align-items:center;gap:6px;font-size:12px;font-weight:600;display:inline-flex}.job-connection__state i{background:var(--success,#2e9b63);border-radius:50%;width:7px;height:7px}.job-connection[data-state=connecting] .job-connection__state i,.job-connection[data-state=reconnecting] .job-connection__state i,.job-connection[data-state=stale] .job-connection__state i{background:#d38b22}.job-connection[data-state=offline] .job-connection__state i{background:var(--danger)}.job-connection[data-state=failed] .job-connection__state{color:var(--danger)}.job-connection[data-state=failed] .job-connection__state i{background:var(--danger)}.job-connection[data-state=cancelled] .job-connection__state i{background:var(--muted-foreground)}.job-connection[data-state=cancelled] .job-connection__state{color:var(--muted-foreground)}.job-connection>small{font-size:12px}.job-connection__refresh{color:var(--brand);font:inherit;background:0 0;border:0;margin-left:auto;padding:4px 0;font-size:12px;font-weight:600}.job-connection__refresh:hover:not(:disabled){text-decoration:underline}.job-connection__refresh:disabled{cursor:default;opacity:.55}@media (max-width:767px){.history-workspace,.jobs-center{padding:22px 14px 32px}.workspace-heading{flex-direction:column;align-items:stretch}.workspace-heading>.button,.workspace-heading>button{width:100%}.history-card{flex-direction:column;align-items:stretch}.history-card>a,.history-card__summary{grid-template-columns:auto minmax(0,1fr)}.history-card time,.history-card__summary time{display:none}.history-card__actions{border-top:1px solid var(--border);justify-content:flex-end;padding:6px 8px}.history-card__edit{flex-direction:column;align-items:stretch}.history-card__edit .button{width:100%}.job-center-card{grid-template-columns:auto minmax(0,1fr) auto}.job-center-card__meta{grid-column:2;align-items:flex-start}.job-center-card__credits{align-items:flex-start}.jobs-center__toolbar{flex-direction:column;align-items:flex-start}.job-center-card>svg{grid-area:1/3/span 2}.inline-error,.job-recovery-actions{flex-direction:column;align-items:stretch}.job-recovery-actions .button{width:100%}.job-connection{flex-direction:column;align-items:flex-start;gap:5px}.job-connection__refresh{margin-left:0}.motion-batch__controls{flex-direction:column;align-items:stretch}.motion-batch__controls>.button{width:100%;margin-left:0}.motion-batch__jobs{grid-template-columns:1fr}.scene-edit__actions .button{flex-basis:100%}.workflow-locked{align-items:flex-start}.app-main{padding-bottom:calc(64px + env(safe-area-inset-bottom))}.mobile-nav{height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.sidebar--mobile{padding-bottom:env(safe-area-inset-bottom)}}@media (max-width:375px){.home-page,.workspace-grid,.workspace-page,.artel-page,.workshop-page,.history-workspace,.jobs-center{padding-left:10px;padding-right:10px}.quick-actions,.recent-projects__grid,.library-grid{grid-template-columns:1fr}.composer__toolbar,.composer__options,.chat-composer>div{flex-wrap:wrap}.composer__options{width:100%}.composer__submit{margin-left:auto}.image-mode-options>div{grid-template-columns:1fr}.mobile-nav a{min-width:0;padding-left:2px;padding-right:2px}.mobile-nav .mobile-nav__create{flex:0 0 44px;width:44px;min-width:44px;height:44px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
