:root{--font-sans:"Inter Variable",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-arabic:"IBM Plex Sans Arabic","Noto Sans Arabic",Tahoma,sans-serif;--bg:#f4f4f2;--surface:#ffffff;--surface-strong:#fafaf8;--control:#f7f7f5;--subtle:#eeeeeb;--ink:#171719;--ink-soft:#3e3e43;--muted:#74747c;--line:#dededb;--line-strong:#c9c9c5;--accent:#d91f31;--accent-strong:#b81526;--accent-soft:rgba(217,31,49,0.085);--brand-red:#d91f31;--success:#187a55;--success-soft:rgba(24,122,85,0.09);--amber:#9c6500;--warning-soft:rgba(156,101,0,0.09);--danger:#b4232f;--shadow-soft:0 1px 2px rgba(24,24,28,0.03),0 10px 30px rgba(24,24,28,0.045);--shadow-lift:0 20px 60px rgba(24,24,28,0.15),0 2px 8px rgba(24,24,28,0.07);--shadow-overlay:0 28px 90px rgba(14,14,18,0.22),0 4px 16px rgba(14,14,18,0.08);--radius-xs:7px;--radius-sm:9px;--radius:11px;--radius-lg:15px;--radius-xl:20px;--sidebar-collapsed:72px;--sidebar-expanded:212px;--workspace-gap:12px;--panel:var(--surface);--panel-strong:var(--surface-strong);--panel-2:var(--control);--panel-soft:var(--subtle);--text:var(--ink);--border:var(--line);--border-subtle:var(--line);--input:var(--control);--shadow-strong:var(--shadow-lift);--accent-blue:#3f77c8;color-scheme:light}html[data-theme=dark]{--bg:#0d0d0f;--surface:#151517;--surface-strong:#1b1b1e;--control:#202024;--subtle:#26262a;--ink:#f4f4f2;--ink-soft:#d3d3d0;--muted:#99999f;--line:#2d2d31;--line-strong:#414147;--accent:#ff4d61;--accent-strong:#ff7180;--accent-soft:rgba(255,77,97,0.13);--brand-red:#ff4d61;--success:#55c99a;--success-soft:rgba(85,201,154,0.12);--amber:#f0b84c;--warning-soft:rgba(240,184,76,0.12);--danger:#ff7180;--shadow-soft:0 1px 2px rgba(0,0,0,0.2),0 12px 34px rgba(0,0,0,0.18);--shadow-lift:0 22px 64px rgba(0,0,0,0.48),0 2px 10px rgba(0,0,0,0.3);--shadow-overlay:0 32px 100px rgba(0,0,0,0.64),0 4px 18px rgba(0,0,0,0.34);color-scheme:dark}body,button,html,input,select,textarea{font-family:var(--font-sans);font-optical-sizing:auto;font-feature-settings:"cv02","cv03","cv04","cv11"}html[lang=ar],html[lang=ar] body,html[lang=ar] button,html[lang=ar] input,html[lang=ar] select,html[lang=ar] textarea{font-family:var(--font-arabic);font-feature-settings:normal}body{background:var(--bg);color:var(--ink);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}::selection{background:color-mix(in srgb,var(--accent) 22%,transparent)}:where(button,a,input,select,textarea,summary):focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 74%,white);outline-offset:2px}input,select,textarea{border-color:var(--line);border-radius:var(--radius-sm);background:var(--control);box-shadow:none}input:hover:not(:disabled),select:hover:not(:disabled),textarea:hover:not(:disabled){border-color:var(--line-strong)}input:focus,select:focus,textarea:focus{border-color:color-mix(in srgb,var(--accent) 58%,var(--line));box-shadow:0 0 0 3px var(--accent-soft)}.studio-shell{grid-template-columns:var(--sidebar-collapsed) minmax(0,1fr);background:var(--bg);transition:grid-template-columns .2s cubic-bezier(.22,.8,.22,1)}.studio-shell.sidebar-open{grid-template-columns:var(--sidebar-expanded) minmax(0,1fr)}.studio-sidebar{gap:18px;padding:14px 10px 12px;-webkit-border-end:1px solid var(--line);border-inline-end:1px solid var(--line);background:color-mix(in srgb,var(--surface) 94%,var(--bg))}.studio-brand{min-height:56px;padding:4px 0 12px}.sidebar-open .studio-brand-logo .theme-logo{width:120px;height:38px}.studio-brand-slogan{margin-top:3px;color:var(--muted);font-size:9px;font-weight:500;letter-spacing:.015em}.studio-brand-logo:hover{transform:none;filter:none}.sidebar-toggle{width:26px;height:26px;border-color:var(--line)!important;background:var(--surface);box-shadow:var(--shadow-soft)}.sidebar-open .studio-nav,.studio-nav{gap:4px}.sidebar-nav-kicker{padding:0 11px;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.09em}html[lang=ar] .sidebar-nav-kicker{letter-spacing:0;font-size:10px}.sidebar-create-kicker,.sidebar-library-kicker,.sidebar-nav-kicker-spaced{margin-top:14px}.sidebar-open .sidebar-nav-kicker-spaced:before{display:none}.sidebar-production-kicker{width:auto;height:1px;margin:15px 11px 7px;padding:0;background:var(--line)}.sidebar-production-label+.studio-nav-button{min-height:46px;border:1px solid transparent;background:transparent;color:var(--muted)}.sidebar-production-label+.studio-nav-button:hover{border-color:transparent;background:color-mix(in srgb,var(--subtle) 76%,transparent);color:var(--ink)}.sidebar-production-label+.studio-nav-button.active{border-color:color-mix(in srgb,var(--accent) 34%,var(--line));background:var(--accent-soft);color:var(--accent)}.studio-nav-button{min-height:42px;gap:11px;border-radius:var(--radius-sm);color:var(--muted);font-size:13px;font-weight:550;transition:color .14s ease,background .14s ease,transform .14s ease}.sidebar-open .studio-nav-button{min-height:42px;padding:0 11px;border-radius:var(--radius-sm)}.sidebar-open .studio-nav-button>span{font-size:13px}.sidebar-open .studio-nav-button>.voices-nav-icon,.sidebar-open .studio-nav-button>svg,.studio-nav-button>.voices-nav-icon,.studio-nav-button>svg{width:22px;height:22px;flex:0 0 22px}.sidebar-open .studio-nav-button>.voices-nav-icon svg,.studio-nav-button>.voices-nav-icon svg{width:19px;height:19px}.studio-nav-button:hover{transform:none;background:color-mix(in srgb,var(--subtle) 76%,transparent);color:var(--ink)}.studio-nav-button.active{background:var(--accent-soft);color:var(--accent)}.studio-nav-button.active span{color:var(--accent);font-weight:680}.sidebar-open .studio-nav-button.active:before{inset-inline-start:0;width:2px;height:22px}.sidebar-account{margin-top:auto;padding-top:12px;border-top:1px solid var(--line)}.account-credit-badge,.account-profile-button{border-radius:var(--radius-sm)}.sidebar-open .account-profile-button{padding:7px}.account-profile-copy strong{font-size:12px;font-weight:650}.account-profile-copy span{font-size:10px;font-weight:500}.studio-workspace{min-width:0;padding:12px 14px 14px;background:var(--bg)}.settings-workspace .studio-header,.studio-header{min-height:52px;margin:0 0 10px;padding:6px;border:1px solid var(--line);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:none;-webkit-backdrop-filter:blur(18px) saturate(1.08);backdrop-filter:blur(18px) saturate(1.08)}.create-header-project-select,.header-project-select{min-height:38px;height:38px;padding:0 12px;border-color:transparent;border-radius:var(--radius-sm);background:var(--control);box-shadow:none}.create-header-project-select:hover,.header-project-select:hover{border-color:var(--line)}.header-project-trigger{font-size:12px;font-weight:620}.header-actions{gap:8px}.header-search{min-height:38px;border-color:transparent;border-radius:var(--radius-sm);background:var(--control);box-shadow:none}.header-search:focus-within{border-color:color-mix(in srgb,var(--accent) 40%,var(--line));box-shadow:0 0 0 3px var(--accent-soft)}.header-control-cluster{min-height:38px;padding:3px;border:0;border-radius:var(--radius-sm);background:var(--control);box-shadow:none}.header-control-cluster>button,.header-control-cluster>div>button{min-width:32px;min-height:32px;border-radius:var(--radius-xs)}.language-switch,.theme-switch{border-radius:var(--radius-xs);box-shadow:none}.account-menu,.header-project-menu,.header-search-results,.notification-popover,.video-queue-popover{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-lift);-webkit-backdrop-filter:none;backdrop-filter:none}.production-context-rail{min-height:48px;margin:0 0 10px;padding:5px 7px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:none}.production-context-identity{padding-inline:5px 13px}.production-context-mark{border-radius:var(--radius-xs);background:var(--accent-soft);color:var(--accent)}.production-context-identity small{color:var(--muted);font-size:9px;font-weight:600;letter-spacing:.06em}.production-context-identity strong{font-size:12px;font-weight:670}.production-context-stages{position:relative;gap:3px;padding:5px 7px;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--control),var(--surface) 42%);overflow:hidden}.production-context-stages:before{content:"";position:absolute;inset-inline:calc(6.25% + 12px);inset-block-start:20px;height:1px;background:color-mix(in srgb,var(--line-strong),transparent 18%)}.production-context-stages button{position:relative;z-index:1;min-height:44px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:18px auto;place-items:center;align-content:center;grid-gap:3px;gap:3px;padding:4px 6px 3px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--muted);font-size:10px;font-weight:560;transition:color .14s ease}.production-context-stages button:hover{background:color-mix(in srgb,var(--surface),transparent 24%);color:var(--ink)}.production-context-stages button.active{border-color:color-mix(in srgb,var(--accent),transparent 72%);background:var(--surface);color:var(--accent);box-shadow:0 4px 12px color-mix(in srgb,var(--ink),transparent 94%)}.production-context-stages button.active:after{display:none}.production-context-stage-icon{position:relative;z-index:2;width:18px;height:18px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:50%;background:var(--surface-strong);color:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,var(--control),var(--surface) 42%)}.production-context-stages button>span:not(.production-context-stage-icon){min-width:0;max-width:100%;overflow:hidden;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.production-context-stages button:hover .production-context-stage-icon{border-color:var(--ink-soft)}.production-context-stages button.active .production-context-stage-icon{border-color:var(--accent);background:var(--accent);color:white;box-shadow:0 0 0 4px var(--surface)}.production-context-stages button.complete .production-context-stage-icon{border-color:var(--success);background:var(--success);color:white}.production-context-stages button small{position:absolute;inset-block-start:1px;inset-inline-end:4px;min-width:15px;height:15px;padding:0 3px;display:grid;place-items:center;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);font-size:7px;font-weight:650}.settings-workspace h1,.studio-workspace h1{letter-spacing:-.025em}.settings-workspace h2,.studio-workspace h2{letter-spacing:-.015em}html[lang=ar] .settings-workspace h1,html[lang=ar] .settings-workspace h2,html[lang=ar] .studio-workspace h1,html[lang=ar] .studio-workspace h2{letter-spacing:0}.primary-action,.production-next-action button,.production-overview-empty button,.settings-workspace .primary-action{min-height:36px;border:1px solid var(--accent);border-radius:var(--radius-sm);background:var(--accent);color:white;box-shadow:none;font-size:12px;font-weight:680;transition:background .14s ease,border-color .14s ease,transform .14s ease}.primary-action:hover:not(:disabled),.production-next-action button:hover:not(:disabled),.settings-workspace .primary-action:hover:not(:disabled){border-color:var(--accent-strong);background:var(--accent-strong);transform:translateY(-1px)}.filter-row button,.inline-actions button,.secondary-action,.settings-workspace .secondary-action{min-height:34px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--control);color:var(--ink-soft);box-shadow:none;font-size:12px;font-weight:600}.filter-row button:hover:not(:disabled),.inline-actions button:hover:not(:disabled),.secondary-action:hover:not(:disabled),.settings-workspace .secondary-action:hover:not(:disabled){border-color:var(--line-strong);background:var(--surface);color:var(--ink)}.icon-action,.tool-button{border-radius:var(--radius-sm);box-shadow:none}.studio-create-v3{gap:var(--workspace-gap)}.create-panel,.create-v3-production .composer-surface,.create-v3-production .recent-surface,.outputs-panel,.studio-create-v3>aside,.studio-create-v3>section{border-color:var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:none}.create-v3-production .composer-surface{padding:16px}.create-v3-production .recent-surface{background:color-mix(in srgb,var(--surface) 97%,var(--bg))}.create-panel-header,.outputs-header,.studio-create-header,.studio-output-header{min-height:52px;padding:12px 14px;border-bottom-color:var(--line)}.create-panel-header h1,.create-panel-header h2,.outputs-header h2,.studio-create-header h1,.studio-output-header h2{font-size:18px;font-weight:680;letter-spacing:-.02em}.create-v3-production .create-production-title-row h2,.create-v3-production .rail-heading h3{color:var(--ink);font-size:18px;font-weight:680;letter-spacing:-.02em}.create-v3-production .prompt-preset-capsule{padding:3px;border-color:var(--line);border-radius:var(--radius-sm);background:var(--control);box-shadow:none}.create-v3-production .prompt-preset-chip,.create-v3-production .prompt-preset-expand{border-radius:var(--radius-xs);font-weight:560}.create-v3-production .prompt-preset-chip.active,.create-v3-production .prompt-preset-chip:hover:not(:disabled){color:var(--accent);box-shadow:0 1px 4px rgba(20,20,24,.08);transform:none}.density-toggle,.department-tabs,.language-voice-tool-switch,.output-view-toggle,.script-autopilot-tabs,.studio-mode-toggle{padding:3px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--control);box-shadow:none}.density-toggle button,.department-tabs button,.language-voice-tool-switch button,.output-view-toggle button,.script-autopilot-tabs button,.studio-mode-toggle button{min-height:29px;border:0;border-radius:var(--radius-xs);background:transparent;box-shadow:none}.density-toggle button.active,.department-tabs button.active,.language-voice-tool-switch button.active,.output-view-toggle button.active,.script-autopilot-tabs button.active,.studio-mode-toggle button.active{background:var(--surface);color:var(--accent);box-shadow:0 1px 4px rgba(20,20,24,.09)}.prompt-composer,.video-prompt-composer{border-color:var(--line);border-radius:var(--radius-lg);background:var(--surface-strong);box-shadow:none}.prompt-composer:focus-within,.video-prompt-composer:focus-within{border-color:color-mix(in srgb,var(--accent) 44%,var(--line));box-shadow:0 0 0 3px var(--accent-soft)}.prompt-composer textarea,.video-prompt-composer textarea{font-size:14px;line-height:1.7}.create-v3-production .composer-settings,.create-v3-production .negative-prompt-panel,.create-v3-production .prompt-safety-panel{border-color:var(--line);border-radius:var(--radius);background:var(--surface-strong);box-shadow:none}.create-v3-production .production-recipe-trigger,.create-v3-production .quality-options,.create-v3-production .size-picker select,.create-v3-production .variation-stepper{border-color:var(--line);border-radius:var(--radius-sm);background:var(--control);box-shadow:none}.create-v3-production .send-button{border-radius:var(--radius-sm);background:var(--accent);box-shadow:none}.empty-state,.outputs-empty,.studio-output-empty{border-color:color-mix(in srgb,var(--line) 72%,transparent);border-radius:var(--radius-lg);background:transparent}.gallery-card,.media-card,.output-card,.storyboard-frame,.video-result-card{border-color:var(--line);border-radius:var(--radius);background:var(--surface-strong);box-shadow:none;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.gallery-card:hover,.media-card:hover,.output-card:hover,.storyboard-frame:hover,.video-result-card:hover{border-color:var(--line-strong);transform:translateY(-1px);box-shadow:var(--shadow-soft)}.production-overview{gap:10px}.production-overview-header{min-height:112px;padding:18px 20px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:none}.production-overview-kicker{color:var(--accent);font-size:10px;font-weight:680}.production-overview-header h1{margin-top:5px;font-size:clamp(23px,2vw,30px);font-weight:680}.production-overview-header p{color:var(--muted);font-size:12px}.production-overview-pulse span{min-height:23px;border-radius:var(--radius-xs);font-weight:580}.production-overview-grid{gap:10px;grid-template-columns:minmax(0,1fr) minmax(270px,.34fr)}.production-blockers,.production-next-action,.production-overview-sequence,.production-readiness-summary{border-color:var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:none}.production-overview-sequence>header{padding:14px 16px;border-bottom:1px solid var(--line)}.production-next-action h2,.production-overview-sequence>header h2{font-size:16px;font-weight:670}.production-next-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.production-next-actions button.secondary{border:1px solid var(--line);background:transparent;color:var(--ink-soft)}.production-next-actions button.secondary:hover{border-color:var(--line-strong);background:var(--control);color:var(--ink)}.production-stage-list{padding:0}.production-stage-list>button{min-height:52px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.production-stage-list>button:last-child{border-bottom:0}.production-stage-list>button:hover{background:var(--surface-strong)}.production-stage-list>button.next{background:var(--accent-soft)}.production-stage-count,.production-stage-order{border-radius:var(--radius-xs)}.production-overview-inspector{gap:10px}.production-next-action{border-color:color-mix(in srgb,var(--accent) 28%,var(--line));background:color-mix(in srgb,var(--accent) 3%,var(--surface))}.production-readiness-summary dl{border-radius:var(--radius-sm)}.animatic-workspace-grid,.final-cut-shell,.language-voice-workspace,.script-shell,.script-workspace-grid,.video-production-shell,.video-workspace-shell{gap:var(--workspace-gap)}.animatic-panel,.animatic-stage,.animatic-stage-header,.final-cut-panel,.final-cut-preview,.final-cut-timeline,.language-voice-cast,.language-voice-commandbar,.language-voice-editor,.language-voice-header,.language-voice-panel,.production-clips-panel,.script-autopilot-review,.script-brief-panel,.script-main-panel,.script-panel,.script-side-panel,.script-stage-header,.script-stage-panel,.storyboard-main-panel,.storyboard-panel,.storyboard-side-panel,.video-page-header,.video-panel,.video-production-stage-header,.video-shell-panel{border-color:var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:none}.animatic-panel,.script-panel,.video-panel{overflow:hidden}.animatic-stage-header,.script-stage-header,.video-production-stage-header{min-height:58px;padding:9px 12px}.animatic-stage-heading h1,.script-stage-header h1,.video-production-stage-heading h1{font-size:18px;font-weight:680}.animatic-stage-heading>span,.script-stage-header>div>span,.video-production-stage-heading>span{color:var(--accent);font-weight:650}.animatic-panel>header,.final-cut-panel>header,.language-voice-panel>header,.script-stage-panel>header,.storyboard-panel>header,.video-panel>header{border-bottom-color:var(--line)}.animatic-operational-strip,.final-cut-operational-strip,.language-voice-operational-strip,.script-operational-strip,.storyboard-operational-strip,.video-operational-strip,.video-production-operational-strip{border-color:var(--line);border-radius:var(--radius);background:var(--surface-strong);box-shadow:none}.animatic-panel-head,.script-panel-head,.video-panel>header{min-height:56px;padding:11px 13px;background:var(--surface)}.animatic-panel-head h2,.script-panel-head h2,.video-panel>header h2{font-size:16px;font-weight:670}.animatic-controls button,.animatic-empty button,.animatic-head-actions button,.animatic-head-actions select,.video-header-left select,.video-header-middle button,.video-production-stage-switch,.video-queue-chip{border-radius:var(--radius-sm);background:var(--control);box-shadow:none;font-weight:600}.video-production-stage-switch button{border-radius:var(--radius-xs)}.language-voice-header{min-height:58px;padding:9px 12px}.language-voice-header h1{font-size:21px;font-weight:680}.language-voice-title{display:grid;grid-gap:5px;gap:5px}.language-voice-back-production{width:-moz-fit-content;width:fit-content;min-height:26px;display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:transparent;color:var(--muted);font-size:10px;font-weight:620}.language-voice-back-production:hover{color:var(--accent)}.language-voice-commandbar{background:var(--surface-strong)}.gallery-content,.gallery-v2-shell,.language-voice-production-grid,.project-workspace-shell,.work-projects-shell,.work-shell{gap:var(--workspace-gap)}.gallery-panel,.gallery-v2-header,.project-detail,.project-directory,.project-inspector,.project-workspace-header,.work-page-header,.work-panel{border-color:var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:none}.gallery-page,.gallery-v2-page,.project-content{background:transparent}.gallery-v2-commandbar,.gallery-v2-header,.gallery-v2-subbar,.project-tabs,.project-workspace-bar,.project-workspace-tabs{border-color:var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:none}.project-activity-panel,.project-archive-panel,.project-asset-board,.project-collaboration-panel,.project-edit-panel,.project-overview-panel,.project-script-library,.project-starter-panel{border-color:var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:none}.project-card,.project-media-card,.series-card{border-color:var(--line);border-radius:var(--radius);background:var(--surface-strong);box-shadow:none}.project-card:hover,.project-media-card:hover,.series-card:hover{border-color:var(--line-strong);box-shadow:var(--shadow-soft)}.settings-workspace{gap:10px;background:var(--bg)}.admin-customer-layout,.credit-admin-workspace,.settings-console-layout,.settings-layout{gap:10px}.admin-users-detail,.admin-users-directory,.credit-user-detail,.credit-user-directory,.settings-console,.settings-detail,.settings-menu,.settings-navigation,.settings-panel,.settings-sidebar{border-color:var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:none}.admin-route-page .settings-console{grid-template-columns:250px minmax(0,1fr);gap:10px}.admin-route-page .settings-menu{padding:10px}.admin-route-page .settings-console .settings-menu button{min-height:38px;padding:7px 9px;border:0;border-radius:var(--radius-sm);font-size:12px;font-weight:570}.admin-route-page .settings-console .settings-menu button:hover{border-color:transparent;background:var(--control)}.admin-route-page .settings-console .settings-menu button.active{border-color:transparent;background:var(--accent-soft);color:var(--accent)}.admin-route-page .settings-console .settings-menu button.active:before{display:none}.admin-route-page .settings-panel{padding:12px;border-radius:var(--radius-lg);background:var(--surface)}.admin-credits-panel,.admin-user-360,.admin-users-directory,.admin-users-v2{border-color:var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:none}.admin-user-360-header,.admin-users-header,.admin-users-table-head,.admin-users-toolbar{border-color:var(--line);background:var(--surface)}.admin-users-row{border-bottom:1px solid var(--line);background:transparent}.admin-users-row:hover{background:var(--surface-strong)}.admin-customer-workspace-tabs button,.settings-nav-item,.settings-navigation button,.settings-section-tab{border-radius:var(--radius-sm);font-size:12px;font-weight:570}.admin-customer-workspace-tabs button.active,.settings-nav-item.active,.settings-navigation button.active,.settings-section-tab.active{background:var(--accent-soft);color:var(--accent)}.audit-event,.cost-breakdown-card,.managed-row,.metric,.metric-card,.model-profile-row,.ops-row,.ops-section,.settings-card,.settings-health-row,.storage-card,.storage-file-row,.storage-row,.storage-summary-card,.stored-secret-row,.user-row{border-color:var(--line)!important;border-radius:var(--radius)!important;background:var(--surface-strong)!important;box-shadow:none!important}.audit-event,.managed-row,.ops-row,.storage-file-row,.storage-row,.user-row{border-radius:0!important;border-width:0 0 1px!important;background:transparent!important}.audit-event:last-child,.managed-row:last-child,.ops-row:last-child,.storage-file-row:last-child,.storage-row:last-child,.user-row:last-child{border-bottom:0!important}.ops-section h3,.settings-card h3,.settings-panel h2,.settings-panel h3,.storage-card h3{font-weight:660;letter-spacing:-.012em}.attach-menu,.enhance-mode-menu,.output-actions-menu,.output-filter-popover,.production-recipe-menu,[role=listbox],[role=menu]{border-color:var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-lift);-webkit-backdrop-filter:none;backdrop-filter:none}.credits-drawer,.generation-modal,.help-drawer,.modal-card,.modal-panel,.project-picker-modal,.prompt-intelligence-modal,.recipe-brief-modal,.reference-preview-modal,.viewer-panel{border-color:var(--line);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-overlay);-webkit-backdrop-filter:none;backdrop-filter:none}.modal-backdrop,.overlay-backdrop,.viewer-backdrop{background:rgba(8,8,10,.58);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}html[data-theme=dark] .modal-backdrop,html[data-theme=dark] .overlay-backdrop,html[data-theme=dark] .viewer-backdrop{background:rgba(0,0,0,.7)}@keyframes sarid-surface-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.animatic-workspace-grid,.gallery-v2-shell,.language-voice-workspace,.production-overview,.script-shell,.settings-console-layout,.studio-create-v3,.video-workspace-shell,.work-shell{animation:sarid-surface-in .18s ease-out both}.account-menu.account-menu-portal{position:fixed;inset:auto;z-index:2000;max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;display:grid;grid-gap:7px;gap:7px;padding:8px;border:1px solid var(--line);border-radius:var(--radius-xl);-webkit-backdrop-filter:none;backdrop-filter:none;animation:sarid-account-menu-in .15s cubic-bezier(.2,.8,.2,1) both}.account-menu.account-menu-portal,html[data-theme=dark] .account-menu.account-menu-portal{background:var(--surface);box-shadow:var(--shadow-overlay)}@keyframes sarid-account-menu-in{0%{opacity:0;transform:translateY(5px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.account-menu-portal .account-menu-head{min-height:58px;grid-template-columns:42px minmax(0,1fr);gap:10px;padding:7px;border:0;border-radius:var(--radius)}.account-menu-portal .account-menu-head,html[data-theme=dark] .account-menu-portal .account-menu-head{background:var(--surface-strong);box-shadow:none}.account-menu-portal .account-menu-head .avatar{width:42px;height:42px;box-shadow:none}.account-menu-portal .account-menu-head strong{font-size:14px;font-weight:680}.account-menu-portal .account-menu-head small,.account-menu-portal .account-menu-head span{font-size:10.5px;font-weight:500}.account-menu-portal .account-menu-section{display:grid;grid-gap:3px;gap:3px;padding:7px 0 0;border-top:1px solid var(--line)}.account-menu-portal .account-credits-section{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:8px 7px;border:0;border-radius:var(--radius);background:var(--accent-soft);box-shadow:none}html[data-theme=dark] .account-menu-portal .account-credits-section{background:var(--accent-soft);box-shadow:none}.account-menu-portal .account-credits-summary{min-width:0;display:grid;grid-gap:2px;gap:2px}.account-menu-portal .account-credits-summary small,.account-menu-portal .account-credits-summary span{overflow:hidden;color:var(--muted);font-size:10px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.account-menu-portal .account-credits-summary strong{color:var(--ink);font-size:19px;font-weight:720;line-height:1.1}.account-menu-portal .account-credits-open{width:auto;min-width:82px;min-height:30px;margin:0;padding:0 9px;border:1px solid color-mix(in srgb,var(--accent) 24%,var(--line));border-radius:var(--radius-sm);background:var(--surface);color:var(--accent);font-size:10.5px;font-weight:650}.account-menu-portal .account-credits-low{grid-column:1/-1;margin:0;color:var(--danger);font-size:10px}.account-menu-section-heading{display:flex;align-items:center;gap:7px;padding:0 7px 4px;color:var(--ink-soft);font-size:11px;font-weight:650}.account-menu-section-heading svg{color:var(--muted)}.account-menu-portal .account-menu-section .account-compact-toggle{width:100%;min-height:48px;display:grid;grid-template-columns:28px minmax(0,1fr) 30px;align-items:center;grid-gap:9px;gap:9px;padding:6px 7px;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--ink);text-align:start}.account-menu-portal .account-menu-section .account-compact-toggle:hover{background:var(--control)}.account-menu-portal .account-menu-section .account-compact-toggle.active{border-color:color-mix(in srgb,var(--accent) 20%,var(--line));background:var(--accent-soft)}.account-menu-portal .account-menu-section .account-compact-toggle>span:nth-child(2){min-width:0;display:grid;grid-gap:1px;gap:1px}.account-menu-portal .account-menu-section .account-compact-toggle strong{font-size:11px;font-weight:650}.account-menu-portal .account-menu-section .account-compact-toggle small{overflow:hidden;color:var(--muted);font-size:9.5px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.account-switch{width:29px;height:17px;display:flex;align-items:center;padding:2px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface-strong);transition:border-color .15s ease,background .15s ease}.account-switch i{width:11px;height:11px;display:block;border-radius:50%;background:var(--muted);box-shadow:0 1px 2px rgba(0,0,0,.16);transition:transform .15s ease,background .15s ease}.account-menu-portal .account-menu-section .account-compact-toggle.active .account-switch{border-color:color-mix(in srgb,var(--accent) 48%,var(--line));background:var(--accent)}.account-menu-portal .account-menu-section .account-compact-toggle.active .account-switch i{background:#fff;transform:translateX(12px)}.account-menu-portal[dir=rtl] .account-compact-toggle.active .account-switch i{transform:translateX(-12px)}.account-density-preview{width:28px;height:23px;display:grid;align-content:center;grid-gap:3px;gap:3px;padding:4px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.account-density-preview i{display:block;height:2px;border-radius:2px;background:var(--muted)}.account-density-preview.comfortable{gap:4px}.account-density-preview.compact{gap:2px}.credits-drawer-overlay{z-index:2200;padding:8px;background:rgba(8,9,12,.42);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.credits-drawer{width:min(390px,calc(100vw - 16px));height:calc(100dvh - 16px);gap:0;padding:0;border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-overlay);animation:sarid-drawer-enter .18s ease both}.credits-drawer>header{min-height:66px;padding:12px 14px;border-bottom:1px solid var(--line)}.credits-drawer>header .eyebrow{margin:0 0 2px;color:var(--accent);font-size:9px;font-weight:720;letter-spacing:.07em;text-transform:uppercase}.credits-drawer>header h2{font-size:18px;font-weight:720}.credits-drawer>header button{width:31px;height:31px;border-radius:10px;background:var(--control)}.credits-drawer-balance{gap:3px;margin:14px 14px 10px;padding:14px 15px;border:1px solid color-mix(in srgb,var(--accent) 18%,var(--line));border-radius:var(--radius-lg);background:color-mix(in srgb,var(--accent-soft) 45%,var(--surface))}.credits-drawer-balance strong{font-size:28px;font-weight:720;letter-spacing:-.035em}.credits-drawer-grid{display:grid;grid-template-columns:1fr;grid-gap:0;gap:0;margin:0 14px 13px;padding:3px 0;border-block:1px solid var(--line)}.credits-drawer-grid span{min-height:35px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:7px 2px;border-bottom:1px solid color-mix(in srgb,var(--line) 64%,transparent);border-radius:0;background:transparent;font-size:10.5px}.credits-drawer-grid span:last-child{border-bottom:0}.credits-drawer-grid strong{font-size:11.5px;font-weight:680}.credits-drawer-ledger{gap:7px;padding:0 14px 14px;border-top:0}.credits-drawer-ledger h3{padding-top:2px;font-size:12px;font-weight:700}.credits-drawer-ledger>div{gap:0;-webkit-padding-end:3px;padding-inline-end:3px}.credits-drawer-ledger article{min-height:51px;padding:9px 2px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.credits-drawer-ledger article strong{font-size:11px;font-weight:650}.credits-drawer-ledger article small{font-size:9.5px}.credits-drawer-ledger article em{font-size:11px;font-weight:700;white-space:nowrap}.credits-drawer-ledger article em small{color:inherit;font-size:8.5px;font-weight:550}.credits-drawer-purchases{display:grid;grid-gap:8px;gap:8px;padding:12px 14px 18px;border-top:1px solid var(--line)}.credits-drawer-purchase-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.credits-drawer-offers button,.credits-drawer-purchase-heading button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:6px 9px;border:1px solid var(--line-strong);border-radius:9px;background:var(--control);color:var(--text);font-size:10px;font-weight:680;white-space:nowrap}.credits-drawer-offers{display:grid;grid-gap:5px;gap:5px}.credits-drawer-offers article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.credits-drawer-offers article small,.credits-drawer-offers article span{display:block}.credits-drawer-offers article strong{font-size:11px}.credits-drawer-offers article small{color:var(--text-muted);font-size:9px}.credits-drawer-offers button{border-color:var(--accent);background:var(--accent);color:white}.billing-interval-switch{display:inline-flex;align-self:flex-start;gap:2px;padding:3px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted)}.billing-interval-switch button{display:flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:var(--text-muted);font:inherit;font-size:11px;font-weight:700}.billing-interval-switch button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 3px rgba(15,23,42,.08)}.billing-interval-switch small{color:var(--success);font-size:9px}.credits-drawer-offers button:disabled{opacity:.48;cursor:not-allowed}.billing-current-subscription{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid var(--border);border-radius:11px;background:var(--surface-muted)}.billing-current-subscription>span{display:grid;grid-gap:2px;gap:2px}.billing-current-subscription em,.billing-current-subscription small{color:var(--text-muted);font-size:9px;font-style:normal}.billing-current-subscription strong{text-transform:capitalize;font-size:11px}.billing-pending-change{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid color-mix(in srgb,var(--success),var(--border) 55%);border-radius:11px;background:color-mix(in srgb,var(--success),var(--surface) 94%)}.billing-pending-change>span{display:grid;grid-gap:2px;gap:2px;min-width:0}.billing-pending-change em,.billing-pending-change small{color:var(--text-muted);font-size:9px;font-style:normal}.billing-pending-change strong{text-transform:capitalize;font-size:11px}.billing-plan-confirm{z-index:1700}.billing-tax-note{margin:0;color:var(--text-muted);font-size:9px;line-height:1.5}.billing-invoice-list{display:grid;grid-gap:4px;gap:4px}.billing-invoice-list>a{display:flex;justify-content:space-between;gap:10px;padding:8px 9px;border:1px solid var(--border);border-radius:8px;color:var(--text);text-decoration:none}.billing-invoice-list>a span{display:grid;text-transform:capitalize;font-size:10px}.billing-invoice-list>a small{color:var(--text-muted);font-size:9px}.embedded-checkout-overlay{position:fixed;inset:0;z-index:1500;display:grid;place-items:center;padding:24px;background:rgba(8,12,20,.58);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.embedded-checkout-shell{width:min(720px,100%);max-height:min(880px,calc(100vh - 48px));overflow:auto;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 28px 80px rgba(0,0,0,.28)}.embedded-checkout-shell>header{position:-webkit-sticky;position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--surface) 94%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.embedded-checkout-shell h2{margin:0 0 4px;font-size:17px}.embedded-checkout-shell p{margin:0;color:var(--text-muted);font-size:11px;line-height:1.5}.embedded-checkout-shell>header button{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text)}.embedded-checkout-mount{min-height:560px;padding:6px;direction:ltr}@media (max-width:680px){.embedded-checkout-overlay{padding:0}.embedded-checkout-shell{width:100%;max-height:100vh;min-height:100vh;border:0;border-radius:0}}.billing-operations-workspace{display:grid;grid-gap:14px;gap:14px}.billing-mode-band{display:grid;grid-template-columns:minmax(220px,auto) minmax(0,1fr);align-items:center;grid-gap:16px;gap:16px;padding:12px 14px;border-block:1px solid var(--border);background:color-mix(in srgb,var(--surface) 90%,var(--accent) 10%)}.billing-mode-band>div{display:flex;align-items:center;gap:9px}.billing-mode-band strong{font-size:12px}.billing-mode-band p{margin:0;color:var(--text-muted);font-size:11px;line-height:1.5}.billing-mode-pill{display:inline-flex;min-height:24px;align-items:center;padding:0 9px;border:1px solid color-mix(in srgb,var(--warning) 35%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--warning) 10%,var(--surface));color:var(--warning);font-size:10px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.billing-mode-pill.live{border-color:color-mix(in srgb,var(--success) 38%,var(--border));background:color-mix(in srgb,var(--success) 10%,var(--surface));color:var(--success)}.billing-operations-health{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 14px;border:1px solid var(--border);border-inline-start-width:3px;border-radius:10px;background:var(--surface)}.billing-operations-health.healthy{border-inline-start-color:var(--success)}.billing-operations-health.attention{border-inline-start-color:var(--warning);background:color-mix(in srgb,var(--warning) 5%,var(--surface))}.billing-operations-health>div{display:flex;align-items:center;gap:10px;min-width:0}.billing-operations-health>div>span{display:grid;width:29px;height:29px;flex:0 0 auto;place-items:center;border-radius:8px;background:var(--surface-strong);color:var(--success)}.billing-operations-health.attention>div>span{color:var(--warning)}.billing-operations-health p{display:grid;grid-gap:3px;gap:3px;margin:0;min-width:0}.billing-operations-health strong{font-size:11px}.billing-operations-health small{overflow:hidden;color:var(--text-muted);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.billing-health-actions{display:flex;flex:0 0 auto;align-items:center;gap:6px}.billing-record-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,300px);align-items:center;grid-gap:12px;gap:12px}.billing-record-toolbar .settings-subnav{min-width:0;overflow-x:auto}.billing-approval-policy{display:flex;align-items:flex-start;gap:10px}.billing-approval-policy p,.billing-refund-form p{margin:3px 0 0;color:var(--text-muted);font-size:11px;line-height:1.5}.billing-refund-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 130px minmax(220px,1.2fr) auto;align-items:end;grid-gap:10px;gap:10px}.billing-refund-form label{display:grid;grid-gap:5px;gap:5px;color:var(--text-muted);font-size:10px;font-weight:700}.billing-refund-form input,.billing-refund-form select{width:100%;min-height:36px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);padding:0 9px}.billing-record-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:12px;gap:12px;align-items:start}.billing-record-layout.with-inspector{grid-template-columns:minmax(0,1fr) minmax(280px,340px)}.billing-record-table{min-width:0}.billing-table-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.billing-table-title h3{margin:0}.billing-table-title span{display:inline-grid;min-width:25px;min-height:22px;place-items:center;border-radius:999px;background:var(--surface-strong);color:var(--text-muted);font-size:10px;font-weight:800}.billing-ops-table{overflow:auto;border:1px solid var(--border);border-radius:10px}.billing-ops-table table{width:100%;min-width:760px;border-collapse:collapse;table-layout:auto}.billing-ops-table td,.billing-ops-table th{max-width:260px;padding:9px 10px;border-bottom:1px solid var(--border);color:var(--text-muted);font-size:10px;text-align:start;white-space:nowrap}.billing-ops-table th{background:var(--surface-strong);color:var(--text);font-weight:800}.billing-ops-table tbody tr:last-child td{border-bottom:0}.billing-ops-table tbody tr:hover td{background:color-mix(in srgb,var(--surface-strong) 65%,transparent)}.billing-ops-table td{overflow:hidden;text-overflow:ellipsis}.billing-row-actions{display:flex;align-items:center;gap:5px;overflow:visible!important}.billing-row-actions .secondary-action{min-height:28px;padding:0 8px;font-size:9px;text-decoration:none}.billing-record-status{display:inline-flex;min-height:21px;align-items:center;padding:0 7px;border-radius:999px;background:var(--surface-strong);color:var(--text-muted);font-size:9px;font-weight:800;text-transform:capitalize}.billing-record-status.active,.billing-record-status.approved,.billing-record-status.paid,.billing-record-status.processed,.billing-record-status.succeeded{background:color-mix(in srgb,var(--success) 12%,var(--surface));color:var(--success)}.billing-record-status.canceled,.billing-record-status.failed,.billing-record-status.rejected,.billing-record-status.unpaid{background:color-mix(in srgb,var(--danger) 10%,var(--surface));color:var(--danger)}.billing-record-status.open,.billing-record-status.past-due,.billing-record-status.pending,.billing-record-status.received{background:color-mix(in srgb,var(--warning) 11%,var(--surface));color:var(--warning)}.billing-record-inspector{top:12px;max-height:680px;overflow:auto;border:1px solid var(--border);border-radius:11px}.billing-record-inspector,.billing-record-inspector header{position:-webkit-sticky;position:sticky;background:var(--surface)}.billing-record-inspector header{top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid var(--border);z-index:1}.billing-record-inspector header div{display:grid;min-width:0;grid-gap:3px;gap:3px}.billing-record-inspector header span{color:var(--text-muted);font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.billing-record-inspector header strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.billing-record-inspector header button{display:grid;width:27px;height:27px;flex:0 0 auto;place-items:center;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--text-muted);font-size:18px}.billing-record-inspector dl{margin:0}.billing-record-inspector dl div{display:grid;grid-template-columns:minmax(105px,.75fr) minmax(0,1.25fr);grid-gap:10px;gap:10px;padding:9px 12px;border-bottom:1px solid var(--border)}.billing-record-inspector dl div:last-child{border-bottom:0}.billing-record-inspector dt{color:var(--text-muted);font-size:9px;font-weight:750;text-transform:capitalize}.billing-record-inspector dd{min-width:0;margin:0;overflow-wrap:anywhere;color:var(--text);font-size:10px}.billing-record-inspector dd a{display:inline-flex;align-items:center;gap:4px;color:var(--accent);text-decoration:none}@media (max-width:1250px){.billing-record-layout.with-inspector{grid-template-columns:1fr}.billing-record-inspector{position:static;max-height:none}}@media (max-width:1100px){.billing-refund-form{grid-template-columns:1fr 1fr}.billing-mode-band,.billing-record-toolbar{grid-template-columns:1fr}}@media (max-width:680px){.billing-refund-form{grid-template-columns:1fr}.billing-mode-band{gap:7px}.billing-record-toolbar .settings-filter-row{width:100%}.billing-operations-health{align-items:flex-start;flex-direction:column}.billing-operations-health small{white-space:normal}.billing-health-actions{width:100%;flex-wrap:wrap}}.billing-economics-strip{border-color:color-mix(in srgb,var(--success) 28%,var(--line))}.credits-ledger-empty{padding:22px 8px;border:1px dashed var(--line-strong);border-radius:var(--radius);background:var(--surface-strong);text-align:center}.credits-ledger-empty span,.credits-ledger-empty strong{display:block}.credits-ledger-empty strong{margin-bottom:4px;font-size:11.5px}.credits-ledger-empty span{color:var(--muted);font-size:10px;line-height:1.45}@keyframes sarid-drawer-enter{0%{opacity:0;transform:translateX(-8px) scale(.995)}to{opacity:1;transform:translateX(0) scale(1)}}[dir=rtl]>.credits-drawer{animation-name:sarid-drawer-enter-rtl}@keyframes sarid-drawer-enter-rtl{0%{opacity:0;transform:translateX(8px) scale(.995)}to{opacity:1;transform:translateX(0) scale(1)}}.account-menu-portal .account-quick-actions,.account-menu-portal .account-resources-section{grid-template-columns:1fr 1fr}.account-menu-portal .account-menu-section-title{grid-column:1/-1;padding:0 7px 3px;color:var(--muted);font-size:9px;font-weight:650;letter-spacing:.05em}.account-menu-portal .account-menu-link,.account-menu-portal .account-menu-section button{min-width:0;min-height:33px;display:flex;align-items:center;gap:7px;padding:0 7px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--ink-soft);font-size:10.5px;font-weight:560;line-height:1.2;text-align:start;text-decoration:none}.account-menu-portal .account-menu-link:hover,.account-menu-portal .account-menu-section button:hover{background:var(--control);color:var(--ink)}.account-menu-portal .account-session-actions .account-system-theme{display:grid;grid-template-columns:16px minmax(0,1fr) auto}.account-menu-portal .account-session-actions .account-system-theme small{color:var(--muted);font-size:9px}.account-menu-portal .account-session-actions .account-close-action,.account-menu-portal .account-session-actions .account-signout-action{color:var(--danger)}@media (max-width:1100px){:root{--sidebar-expanded:198px}.production-context-identity{max-width:190px}.production-context-stages button{padding-inline:7px}.production-context-stages button>span:not(.production-context-stage-icon){display:none}.production-overview-grid{grid-template-columns:minmax(0,1fr) minmax(240px,.38fr)}}@media (max-width:820px){.studio-workspace{padding:9px}.settings-workspace .studio-header,.studio-header{grid-template-columns:minmax(0,1fr) auto;min-height:48px;padding:5px;border-radius:var(--radius)}.header-search{display:none}.production-context-rail{align-items:stretch;overflow-x:auto;scrollbar-width:none}.production-context-identity{display:none}.production-context-stages{min-width:max-content}.production-context-stages button>span:not(.production-context-stage-icon){display:inline}.production-overview-grid{grid-template-columns:1fr}.production-overview-inspector{grid-template-columns:1fr 1fr}.production-next-action{grid-column:1/-1}}@media (max-width:620px){:root{--sidebar-collapsed:58px}.studio-sidebar{padding-inline:6px}.studio-brand-logo-compact img{width:30px;height:30px}.studio-nav-button{min-height:40px}.studio-nav-button>.voices-nav-icon,.studio-nav-button>svg{width:20px;height:20px;flex-basis:20px}.create-header-project-select,.header-project-select{min-width:0}.header-control-cluster{background:transparent}.production-overview-header{padding:15px}.production-overview-header h1{font-size:22px}.production-overview-inspector{display:grid;grid-template-columns:1fr}.production-stage-list>button{grid-template-columns:30px minmax(0,1fr) auto}.production-stage-count,.production-stage-state{display:none}.credits-drawer,.generation-modal,.help-drawer,.modal-card,.modal-panel,.project-picker-modal,.prompt-intelligence-modal,.recipe-brief-modal,.reference-preview-modal,.viewer-panel{border-radius:var(--radius-lg)}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.studio-workspace:is(.production-overview-workspace,.script-workspace,.assets-workspace,.storyboard-workspace,.animatic-workspace,.language-voice-shell,.video-workspace)>.studio-header{min-height:46px;margin-bottom:7px;padding:4px}.studio-workspace:is(.production-overview-workspace,.script-workspace,.assets-workspace,.storyboard-workspace,.animatic-workspace,.language-voice-shell,.video-workspace)>.studio-header :is(.header-project-select,.create-header-project-select,.header-search,.header-control-cluster){min-height:34px;height:34px}.production-context-rail{min-height:40px;grid-template-columns:minmax(0,1fr);margin-bottom:7px;padding:3px}.production-context-identity{display:none}.production-context-stages{grid-template-columns:repeat(8,minmax(64px,1fr));padding:3px;border:0;border-radius:calc(var(--radius-lg) - 4px)}.production-context-stages button{min-height:32px}.production-stage-command-bar{position:relative;z-index:30;min-width:0;min-height:50px;flex:0 0 auto;display:flex;align-items:center;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);overflow:visible}.animatic-stage-command-bar,.storyboard-stage-command-bar{grid-column:1/-1}.production-stage-command-bar>:is(.asset-stage-header,.storyboard-stage-header,.animatic-stage-header,.language-voice-header,.video-production-stage-header){min-width:0;min-height:48px;display:flex;align-items:center;margin:0;padding:5px 8px 5px 10px;border:0;border-radius:0;background:transparent;box-shadow:none}.production-stage-command-bar>:is(.asset-operational-strip,.storyboard-operational-strip,.animatic-operational-strip,.language-voice-operational-strip,.video-production-operational-strip){min-width:0;min-height:48px;flex:1 1 auto;display:flex;align-items:center;margin:0;padding:5px 9px;gap:8px;border:0;-webkit-border-start:1px solid var(--line);border-inline-start:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}[dir=rtl] .production-stage-command-bar>:is(.asset-operational-strip,.storyboard-operational-strip,.animatic-operational-strip,.language-voice-operational-strip,.video-production-operational-strip){-webkit-border-start:1px solid var(--line);border-inline-start:1px solid var(--line)}.production-stage-command-bar :is(.animatic-stage-heading,.video-production-stage-heading)>p,.production-stage-command-bar :is(.asset-stage-title,.storyboard-stage-title,.animatic-stage-heading,.video-production-stage-heading)>span{display:none}.production-stage-command-bar :is(.asset-stage-title h2,.storyboard-stage-title h2,.animatic-stage-heading h1,.video-production-stage-heading h1){margin:0;font-size:16px;line-height:1.1}.production-stage-command-bar :is(.asset-stage-tools,.storyboard-stage-tools,.animatic-stage-tools,.video-production-stage-tools){gap:6px}.production-stage-command-bar :is(.storyboard-current-script-control,.animatic-script-control,.video-production-stage-tools label){min-width:170px}.production-stage-command-bar :is(.storyboard-current-script-control,.animatic-script-control,.video-production-stage-tools label,.language-voice-commandbar>label){width:clamp(136px,13vw,176px);min-width:136px;max-width:176px}.production-stage-command-bar :is(.asset-operational-metrics,.storyboard-operational-metrics,.animatic-operational-metrics,.language-voice-operational-metrics,.video-production-operational-metrics){min-width:0;display:inline-flex;align-items:center;gap:0;margin:0;border:0;border-radius:0;background:transparent;overflow:visible}.production-stage-command-bar :is(.asset-operational-metrics,.storyboard-operational-metrics,.animatic-operational-metrics,.language-voice-operational-metrics,.video-production-operational-metrics)>div{min-width:46px;min-height:28px;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 7px;border:0;-webkit-border-start:1px solid var(--line);border-inline-start:1px solid var(--line);background:transparent;white-space:nowrap}.production-stage-command-bar :is(.asset-operational-metrics,.storyboard-operational-metrics,.animatic-operational-metrics,.language-voice-operational-metrics,.video-production-operational-metrics) :is(dt,dd){margin:0;font-size:8px;line-height:1}.production-stage-command-bar :is(.asset-operational-metrics,.storyboard-operational-metrics,.animatic-operational-metrics,.language-voice-operational-metrics,.video-production-operational-metrics) dt{color:var(--muted);font-weight:650}.production-stage-command-bar :is(.asset-operational-metrics,.storyboard-operational-metrics,.animatic-operational-metrics,.language-voice-operational-metrics,.video-production-operational-metrics) dd{color:var(--ink);font-weight:820}.animatic-workspace-grid,.storyboard-production-grid{grid-template-rows:auto minmax(0,1fr)}.language-voice-stage-command-bar{margin-bottom:8px}.language-voice-stage-command-bar .language-voice-header{flex:0 1 auto;display:flex;grid-template-columns:none;gap:8px}.language-voice-stage-command-bar .language-voice-header-controls,.language-voice-stage-command-bar .language-voice-metrics{display:none}.language-voice-stage-command-bar .language-voice-commandbar{min-height:0;display:flex;align-items:center;grid-template-columns:none;gap:6px}.language-voice-stage-command-bar .language-voice-title{flex:0 0 auto;gap:5px}.language-voice-stage-command-bar .language-voice-title h1{font-size:16px}.language-voice-stage-command-bar .language-voice-back-production{min-height:28px;padding-inline:7px;font-size:9px}.language-voice-stage-command-bar .language-voice-command-actions{gap:5px}.language-voice-stage-command-bar .language-voice-command-actions button{min-height:29px;padding-inline:8px}.language-voice-stage-command-bar .language-voice-command-status{position:absolute;inset-block-start:calc(100% + 7px);inset-inline:0;z-index:80}.animatic-ready-action{min-height:29px!important;padding-inline:8px!important;font-size:9px!important}.storyboard-panel-density{min-height:32px;padding:2px}.storyboard-panel-density button{width:31px;min-height:26px;padding:0}.storyboard-panel-density .density-dot-icon{width:20px;height:16px}.studio-workspace.assets-workspace{display:flex;flex-direction:column;min-height:0;overflow:hidden}.asset-stage-workspace{overflow:hidden}.asset-stage-grid,.asset-stage-workspace{flex:1 1 auto;min-height:0;height:auto;max-height:none}.asset-stage-grid{grid-template-rows:minmax(0,1fr)}.asset-stage-grid>:is(.asset-preparation-panel,.asset-directory-panel){height:auto;max-height:none;min-height:0;overflow:hidden}.asset-directory-body,.asset-preparation-panel .script-panel-body{flex:1 1 auto;height:auto;max-height:none;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.asset-stage-grid .script-panel-head{min-height:43px;padding:7px 10px}.asset-stage-grid .script-panel-head h2{margin:0;font-size:14px}.asset-directory-head .script-asset-filter-select{width:auto;min-width:0;display:inline-flex;align-items:center;gap:7px;margin:0;padding:0}.asset-directory-head .script-asset-filter-select>span{flex:0 0 auto;white-space:nowrap}.asset-directory-head .script-asset-filter-select select{width:clamp(128px,14vw,180px);min-height:31px}@media (max-width:1180px){.production-stage-command-bar{flex-wrap:wrap}.production-stage-command-bar>:is(.asset-operational-strip,.storyboard-operational-strip,.animatic-operational-strip,.language-voice-operational-strip,.video-production-operational-strip){min-height:42px;flex-basis:100%;-webkit-border-start:0;border-inline-start:0;border-top:1px solid var(--line)}}@media (max-width:720px){.production-stage-command-bar{display:block;border:0;background:transparent}.production-stage-command-bar>:is(.asset-stage-header,.storyboard-stage-header,.animatic-stage-header,.language-voice-header,.video-production-stage-header){border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.production-stage-command-bar>:is(.asset-operational-strip,.storyboard-operational-strip,.animatic-operational-strip,.language-voice-operational-strip,.video-production-operational-strip){margin-top:7px;border:1px solid var(--line);border-radius:var(--radius)}.production-stage-command-bar :is(.asset-operational-metrics,.storyboard-operational-metrics,.animatic-operational-metrics,.language-voice-operational-metrics,.video-production-operational-metrics){flex-wrap:wrap}.language-voice-stage-command-bar .language-voice-commandbar,.language-voice-stage-command-bar .language-voice-header{flex-wrap:wrap}.asset-stage-workspace{height:auto;max-height:none;overflow:auto}.asset-directory-body,.asset-preparation-panel .script-panel-body,.asset-stage-grid,.asset-stage-grid>:is(.asset-preparation-panel,.asset-directory-panel){height:auto;max-height:none;overflow:visible}}.production-overview-grid{grid-template-columns:minmax(400px,.9fr) minmax(390px,1.1fr);gap:14px}.production-overview-sequence>header{min-height:72px}.production-overview-inspector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;grid-gap:12px;gap:12px}.production-overview-inspector>.production-next-action{grid-column:1/-1;padding:18px}.production-next-action p{max-width:68ch}.production-next-actions{margin-top:16px}.production-next-actions button{justify-content:center;min-width:132px}.studio-workspace.script-workspace .script-stage-header{min-height:64px;height:64px;max-height:64px;display:grid;grid-template-columns:minmax(118px,.34fr) minmax(440px,1fr) auto;align-items:center;grid-gap:14px;gap:14px;padding:9px 12px}.studio-workspace.script-workspace .script-autopilot-header-timeline,.studio-workspace.script-workspace .script-stage-timeline{width:100%;min-width:0;max-width:none;justify-self:stretch}.studio-workspace.script-workspace .script-autopilot-header-timeline button,.studio-workspace.script-workspace .script-stage-timeline button{min-width:0;flex:1 1;justify-content:center;padding-inline:7px}.studio-workspace.script-workspace .script-stage-tools{min-width:0;justify-self:end;justify-content:flex-end}.studio-workspace.script-workspace .script-title-selector select{width:clamp(160px,15vw,220px)}.studio-workspace.script-workspace .script-operational-strip{min-height:58px;grid-template-columns:minmax(130px,.65fr) minmax(180px,.85fr) minmax(330px,1.45fr) minmax(205px,.9fr);gap:0;padding:7px 10px}.studio-workspace.script-workspace .script-operational-strip>:is(.script-operational-state,.script-operational-progress,.script-operational-metrics,.script-operational-next){min-height:38px;padding-inline:13px}.studio-workspace.script-workspace .script-operational-strip>:is(.script-operational-progress,.script-operational-metrics,.script-operational-next){-webkit-border-start:1px solid var(--line);border-inline-start:1px solid var(--line)}.studio-workspace.script-workspace .script-operational-metrics{border:0;border-radius:0;background:transparent}.studio-workspace.script-workspace .script-operational-metrics>div{padding-inline:11px;background:transparent}.studio-workspace.script-workspace .script-operational-metrics>div+div{-webkit-border-start:1px solid var(--line);border-inline-start:1px solid var(--line)}.production-stage-command-bar>:is(.asset-stage-header,.storyboard-stage-header,.animatic-stage-header,.language-voice-header,.video-production-stage-header){flex:0 1 auto;gap:12px;padding-inline:12px}.production-stage-command-bar>:is(.asset-operational-strip,.storyboard-operational-strip,.animatic-operational-strip,.language-voice-operational-strip,.video-production-operational-strip){gap:0;padding-inline:8px}.production-stage-command-bar>.animatic-operational-strip>:is(.animatic-operational-status,.animatic-operational-progress),.production-stage-command-bar>.language-voice-operational-strip>:is(.language-voice-operational-status,.language-voice-operational-progress),.production-stage-command-bar>.video-production-operational-strip>:is(.video-production-operational-status,.video-production-operational-progress),.production-stage-command-bar>:is(.asset-operational-strip,.storyboard-operational-strip)>:is(.script-operational-state,.script-operational-progress){min-width:112px;padding-inline:10px}.production-stage-command-bar>.animatic-operational-strip>.animatic-operational-progress,.production-stage-command-bar>.language-voice-operational-strip>.language-voice-operational-progress,.production-stage-command-bar>.video-production-operational-strip>.video-production-operational-progress,.production-stage-command-bar>:is(.asset-operational-strip,.storyboard-operational-strip)>.script-operational-progress{flex:1 1 150px;-webkit-border-start:1px solid var(--line);border-inline-start:1px solid var(--line)}.production-stage-command-bar :is(.asset-operational-metrics,.storyboard-operational-metrics,.animatic-operational-metrics,.language-voice-operational-metrics,.video-production-operational-metrics){flex:2 1 300px;align-self:stretch}.production-stage-command-bar :is(.asset-operational-metrics,.storyboard-operational-metrics,.animatic-operational-metrics,.language-voice-operational-metrics,.video-production-operational-metrics)>div{flex:1 1;min-width:0;padding-inline:9px}.production-stage-command-bar :is(.asset-next-stage,.storyboard-next-stage,.animatic-next-stage,.language-voice-next-stage,.video-production-next-stage){flex:0 0 auto;-webkit-margin-start:8px;margin-inline-start:8px}.production-stage-command-bar :is(.animatic-next-stage,.language-voice-next-stage,.video-production-next-stage){-webkit-padding-start:10px;padding-inline-start:10px;-webkit-border-start:1px solid var(--line);border-inline-start:1px solid var(--line)}.studio-workspace.script-workspace .script-autopilot-direction-summary{min-height:44px;grid-template-columns:auto minmax(0,1fr) auto;border-radius:var(--radius);padding-inline:14px}.studio-workspace.script-workspace .script-autopilot-direction-summary span{padding-inline:12px;border-inline:1px solid var(--line)}.studio-workspace.script-workspace .script-autopilot-review-head{align-items:flex-start;padding-bottom:11px;border-bottom:1px solid var(--line)}.studio-workspace.script-workspace .script-autopilot-review-actions{flex:0 0 auto;gap:7px}.studio-workspace.script-workspace .script-autopilot-review-actions button{width:auto;min-height:34px;padding-inline:13px;white-space:nowrap}.studio-workspace.script-workspace .script-autopilot-review-actions .secondary-action.quiet,.studio-workspace.script-workspace .script-autopilot-review-footer .secondary-action{border:1px solid var(--line);background:var(--surface-strong);color:var(--ink-soft);box-shadow:none}.studio-workspace.script-workspace .script-autopilot-review-actions .secondary-action.quiet:hover:not(:disabled),.studio-workspace.script-workspace .script-autopilot-review-footer .secondary-action:hover:not(:disabled){border-color:color-mix(in srgb,var(--script-action),var(--line) 60%);background:var(--script-action-soft);color:var(--script-action)}.studio-workspace.script-workspace .script-autopilot-review-under-actions{justify-content:flex-end;padding:10px 0 0;border-top:1px solid var(--line)}@media (max-width:1380px){.studio-workspace.script-workspace .script-stage-header,.studio-workspace.script-workspace .script-stage-header:has(.script-autopilot-header-timeline){min-height:108px;height:auto;max-height:none;grid-template-columns:auto minmax(0,1fr)}.studio-workspace.script-workspace .script-autopilot-header-timeline,.studio-workspace.script-workspace .script-stage-timeline{grid-column:1/-1;grid-row:2}.studio-workspace.script-workspace .script-stage-tools{grid-column:2;grid-row:1}.production-overview-grid{grid-template-columns:minmax(380px,.95fr) minmax(360px,1.05fr)}}@media (max-width:1180px){.production-overview-grid{grid-template-columns:minmax(360px,.9fr) minmax(340px,1.1fr)}.production-overview-inspector{grid-template-columns:1fr}.production-overview-inspector>.production-next-action{grid-column:auto}.studio-workspace.script-workspace .script-operational-strip{grid-template-columns:minmax(130px,.7fr) minmax(170px,.85fr) minmax(300px,1.45fr)}}@media (max-width:900px){.production-overview-grid{display:flex}.production-overview-inspector{grid-template-columns:repeat(2,minmax(0,1fr))}.production-overview-inspector>.production-next-action{grid-column:1/-1}}@media (max-width:720px){.studio-workspace.script-workspace .script-stage-header,.studio-workspace.script-workspace .script-stage-header:has(.script-autopilot-header-timeline){display:flex;min-height:0;flex-direction:column;align-items:stretch}.studio-workspace.script-workspace .script-stage-tools{justify-content:flex-start;flex-wrap:wrap}.studio-workspace.script-workspace .script-operational-strip{grid-template-columns:minmax(110px,auto) minmax(120px,1fr);gap:0;overflow-x:auto}.studio-workspace.script-workspace .script-operational-metrics,.studio-workspace.script-workspace .script-operational-next{display:none}.studio-workspace.script-workspace .script-operational-strip>.script-operational-progress{-webkit-border-start:1px solid var(--line);border-inline-start:1px solid var(--line)}.studio-workspace.script-workspace .script-stage-timeline button strong{font-size:10px}.studio-workspace.script-workspace .script-autopilot-review-head{display:grid;grid-gap:10px;gap:10px}.studio-workspace.script-workspace .script-autopilot-review-actions{width:100%;flex-wrap:wrap}.production-overview-inspector{grid-template-columns:1fr}.production-overview-inspector>.production-next-action{grid-column:auto}}