@layer reset,base,components,pages,responsive;@layer reset{*,*:before,*:after{box-sizing:border-box}html{color-scheme:dark;font-synthesis:none;text-rendering:optimizeLegibility}body{margin:0;min-width:0;min-height:100vh}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}img,video{display:block;max-width:100%}h1,h2,h3,p{margin:0}}@layer pages{.account-list__head,.account-list>article{grid-template-columns:minmax(190px,1.2fr) 120px 75px 130px 90px 260px}.admin-workspace{display:grid;gap:17px}.admin-supervision-note{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;border:1px solid rgba(111,169,200,.16);border-radius:10px;color:var(--text-soft);background:#6fa9c811;font-size:.69rem;line-height:1.45}.admin-supervision-note svg{flex:none;color:var(--blue)}.admin-workspace-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.admin-workspace-metrics>div{min-width:0;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 8px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.admin-workspace-metrics svg{grid-row:1 / 3;color:var(--accent)}.admin-workspace-metrics strong{min-width:0;font-size:.9rem}.admin-workspace-metrics span{min-width:0;overflow:hidden;color:var(--muted);font-size:.59rem;text-overflow:ellipsis;white-space:nowrap}.admin-workspace-tabs{display:flex;gap:4px;overflow-x:auto;padding:4px;border:1px solid var(--line);border-radius:10px;background:var(--bg-raised)}.admin-workspace-tabs button{min-height:34px;display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:max-content;padding:7px 11px;border-radius:7px;color:var(--muted);font-size:.67rem}.admin-workspace-tabs button.is-active{color:var(--text);background:var(--panel-3);box-shadow:0 1px 4px #00000040}.admin-workspace-tabs button span{min-width:19px;padding:2px 5px;border-radius:8px;color:var(--accent);background:var(--accent-soft);font-size:.58rem}.admin-media-browser{min-height:310px;display:grid;gap:12px}.admin-media-browser.has-detail{grid-template-columns:minmax(0,1fr) minmax(280px,34%)}.admin-media-grid{align-content:start;display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:9px}.admin-media-grid>button{min-width:0;overflow:hidden;display:grid;grid-template-rows:92px auto;border:1px solid var(--line);border-radius:10px;background:var(--panel);text-align:left;transition:border-color .15s,transform .15s}.admin-media-grid>button:hover,.admin-media-grid>button.is-selected{border-color:var(--accent);transform:translateY(-1px)}.admin-media-grid>button>span{min-width:0;display:grid;gap:3px;padding:8px}.admin-media-grid strong,.admin-media-grid small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-media-grid strong{font-size:.66rem}.admin-media-grid small{color:var(--muted);font-size:.57rem}.admin-media-detail{align-self:start;display:grid;gap:12px;padding:12px;border:1px solid var(--line-strong);border-radius:11px;background:var(--bg-raised)}.admin-media-detail>header{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.admin-media-detail>header>div{min-width:0;display:grid;gap:3px}.admin-media-detail>header strong,.admin-media-detail>header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-media-detail>header strong{font-size:.75rem}.admin-media-detail>header span{color:var(--muted);font-size:.6rem}.admin-media-preview{min-height:180px;overflow:hidden;display:grid;place-items:center;border-radius:8px;background:#0c0b0a}.admin-media-preview img,.admin-media-preview video{display:block;width:100%;max-height:310px;object-fit:contain}.admin-media-preview audio{width:calc(100% - 20px)}.admin-media-detail dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.admin-media-detail dl>div{min-width:0;display:grid;gap:2px}.admin-media-detail dt{color:var(--muted);font-size:.56rem}.admin-media-detail dd{overflow:hidden;color:var(--text-soft);font-size:.63rem;text-overflow:ellipsis;white-space:nowrap}.admin-media-detail>.button{width:100%}.admin-resource-list{overflow:hidden;display:grid;border:1px solid var(--line);border-radius:11px;background:var(--panel)}.admin-resource-list article{min-width:0;min-height:60px;display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 13px;border-bottom:1px solid var(--line)}.admin-resource-list article:last-child{border-bottom:0}.admin-resource-list article>svg{color:var(--accent)}.admin-resource-list article>div{min-width:0;display:grid;gap:4px}.admin-resource-list strong,.admin-resource-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-resource-list strong{font-size:.7rem}.admin-resource-list article>div>span{color:var(--muted);font-size:.6rem}.admin-workspace-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:.62rem}.admin-workspace-pager>div{display:flex;gap:6px}}@layer pages{.subtitle-tools{display:grid;gap:16px}.subtitle-tools__section{display:grid;gap:14px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface-raised)}.subtitle-tools__section>header{display:flex;align-items:flex-start;gap:10px}.subtitle-tools__section>header>span{width:33px;height:33px;flex:none;display:grid;place-items:center;border-radius:9px;color:var(--purple);background:#bc75dc1c}.subtitle-tools__section h3{font-size:.79rem}.subtitle-tools__section header p{margin-top:3px;color:var(--muted);font-size:.65rem}.subtitle-dropzone{min-height:126px;display:grid;place-items:center;align-content:center;gap:7px;border:1px dashed var(--line-strong);border-radius:11px;color:var(--purple);background:#bc75dc09}.subtitle-dropzone:hover:not(:disabled){border-color:var(--purple);background:#bc75dc12}.subtitle-dropzone strong{color:var(--text);font-size:.74rem}.subtitle-dropzone span,.subtitle-export-actions small,.subtitle-import-review__summary small{color:var(--muted);font-size:.63rem}.subtitle-import-review{display:grid;gap:13px}.subtitle-import-review__summary{display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:9px}.subtitle-import-review__summary>svg{color:var(--purple)}.subtitle-import-review__summary>span,.subtitle-export-actions>div{display:grid;gap:3px}.subtitle-import-review__summary strong,.subtitle-export-actions strong{font-size:.71rem}.subtitle-warning{display:flex;align-items:flex-start;gap:7px;padding:9px 10px;border-radius:8px;color:var(--yellow);background:#d7aa5d12;font-size:.64rem;line-height:1.45}.subtitle-warning svg{flex:none}.subtitle-import-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.45fr);gap:12px}.subtitle-cue-preview{display:grid;border:1px solid var(--line);border-radius:9px;overflow:hidden}.subtitle-cue-preview>div{display:grid;grid-template-columns:60px 1fr;gap:10px;padding:8px 10px;border-bottom:1px solid var(--line)}.subtitle-cue-preview time,.subtitle-cue-preview>small{color:var(--muted);font-size:.6rem}.subtitle-cue-preview p{white-space:pre-line;font-size:.67rem;line-height:1.4}.subtitle-cue-preview>small{padding:7px 10px}.subtitle-export-actions{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px}}@layer pages{.admin-quota{display:grid;gap:15px}.admin-quota>section{display:grid;gap:14px;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface-raised)}.admin-quota>section>header{display:flex;align-items:flex-start;gap:9px}.admin-quota>section>header>svg{flex:none;color:var(--blue)}.admin-quota>section>header h3{font-size:.78rem}.admin-quota>section>header p{margin-top:3px;color:var(--muted);font-size:.63rem}.admin-quota__usage>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.quota-usage-meter--unlimited{min-height:31px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:.65rem;border-bottom:1px solid var(--line)}.quota-usage-meter--unlimited strong{color:var(--green);font-size:.62rem}.quota-limit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quota-limit-field{min-width:0;display:grid;grid-template-columns:1fr auto;gap:4px 8px;padding:11px;border:1px solid var(--line);border-radius:9px}.quota-limit-field>label:first-child{font-size:.7rem;font-weight:700}.quota-limit-field>small{grid-column:1/-1;min-height:28px;color:var(--muted);font-size:.6rem;line-height:1.4}.quota-limit-field>div{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px}.quota-limit-field>div span{color:var(--muted);font-size:.61rem}.quota-limit-field input[type=number]{height:34px}.quota-unlimited{display:flex;align-items:center;gap:5px;color:var(--text-soft);font-size:.62rem}.quota-unlimited input{width:15px;height:15px}.quota-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quota-permission-grid>label{min-height:57px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid var(--line);border-radius:9px}.quota-permission-grid>label>span:first-child{display:grid;gap:3px}.quota-permission-grid strong{font-size:.68rem}.quota-permission-grid small{color:var(--muted);font-size:.59rem}.account-actions{flex-wrap:wrap}.account-list__head,.account-list>article{grid-template-columns:minmax(190px,1.2fr) 120px 75px 130px 90px 340px}}@layer responsive{@media(max-width:1160px){.account-list__head,.account-list>article{min-width:1020px}.admin-workspace-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.modal-backdrop:has(.admin-workspace){align-items:end;padding:0}.modal:has(.admin-workspace){width:100%;max-height:calc(100dvh - env(safe-area-inset-top));border-radius:16px 16px 0 0}.admin-workspace-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-media-browser.has-detail{grid-template-columns:1fr}.admin-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-media-detail{grid-row:1}.admin-resource-list article{grid-template-columns:22px minmax(0,1fr)}.admin-resource-list article>.badge{grid-column:2;width:fit-content}}@media(max-width:640px){.subtitle-tools__section{padding:13px}.subtitle-import-options,.subtitle-export-actions{grid-template-columns:1fr}.subtitle-export-actions .button{width:100%}.library-bulk-bar{top:8px;flex-wrap:wrap}.library-bulk-bar>div{flex:1 1 100%}.library-bulk-bar>button:not(.button){flex:1;text-align:left}.admin-quota__usage>div,.quota-limit-grid,.quota-permission-grid{grid-template-columns:1fr}}}@layer pages{.collections-panel{display:grid;gap:12px;padding:13px;overflow:hidden}.collections-panel__header,.collections-panel__header>div,.active-collection-bar,.active-collection-bar>div{display:flex;align-items:center;gap:8px}.collections-panel__header{justify-content:space-between}.collections-panel__header>div:first-child{min-width:0}.collections-panel__icon{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:9px;color:var(--accent);background:var(--accent-soft)}.collections-panel__header p{min-width:0;display:grid;gap:2px}.collections-panel__header strong{font-size:.76rem}.collections-panel__header p span{color:var(--muted);font-size:.63rem}.collection-strip{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:2px 1px 5px}.collection-chip-wrap,.collection-chip--all{flex:0 0 188px}.collection-chip-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;border:1px solid var(--line);border-radius:10px;background:#ffffff05;overflow:hidden;transition:border-color .15s,background .15s}.collection-chip-wrap.is-active{border-color:color-mix(in srgb,var(--accent) 62%,var(--line));background:var(--accent-soft)}.collection-chip{min-width:0;min-height:54px;display:flex;align-items:center;gap:9px;padding:8px 10px;text-align:left}.collection-chip>i,.active-collection-bar>span>i,.archived-collections i,.collection-picker label>i{width:10px;height:28px;flex:none;border-radius:5px}.collection-chip>span,.archived-collections span,.collection-picker label>span{min-width:0;display:grid;gap:3px}.collection-chip strong,.archived-collections strong,.collection-picker strong{min-width:0;overflow:hidden;font-size:.69rem;text-overflow:ellipsis;white-space:nowrap}.collection-chip small,.archived-collections small,.collection-picker small{color:var(--muted);font-size:.59rem}.collection-chip--all{border:1px solid var(--line);border-radius:10px;color:var(--text-soft);background:#ffffff05}.collection-chip--all>svg{color:var(--muted)}.collection-chip--all.is-active{border-color:color-mix(in srgb,var(--accent) 62%,var(--line));color:var(--text);background:var(--accent-soft)}.collection-chip--all.is-active>svg{color:var(--accent)}.collection-chip__controls{width:29px;display:grid;align-content:center;border-left:1px solid var(--line)}.collection-chip__controls button{width:28px;height:26px;display:grid;place-items:center;color:var(--muted)}.collection-chip__controls button:hover:not(:disabled),.collection-chip__controls button:focus-visible{color:var(--accent);background:#ffffff09}.collection-chip__controls button:disabled{opacity:.25}.collection-strip--loading span{width:188px;height:56px;flex:none;border-radius:10px;background:linear-gradient(90deg,var(--panel-2),var(--panel-3),var(--panel-2));background-size:200% 100%;animation:shimmer 1.2s infinite}.collection-inline-error{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border:1px solid rgba(226,120,112,.2);border-radius:9px;color:var(--red);background:#e278700e;font-size:.67rem}.collection-inline-error button{text-decoration:underline}.active-collection-bar{min-height:36px;justify-content:space-between;padding:7px 9px;border-top:1px solid var(--line);color:var(--muted);font-size:.63rem}.active-collection-bar>span{display:flex;align-items:center;gap:7px}.active-collection-bar>span>i{width:8px;height:18px}.active-collection-bar button{min-height:30px;display:flex;align-items:center;gap:5px;padding:5px 7px;border-radius:6px}.active-collection-bar button:hover,.active-collection-bar button:focus-visible{color:var(--text);background:var(--panel-3)}.archived-collections{display:grid;gap:5px;padding-top:10px;border-top:1px solid var(--line)}.archived-collections>div:not(.collection-inline-error):not(.pagination-load-more){min-height:47px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 8px;border:1px solid var(--line);border-radius:9px;background:#ffffff04}.archived-collections>span{color:var(--muted);font-size:.65rem;padding:6px}.archived-collections>.pagination-load-more{padding:9px 4px 2px;border-top:1px solid var(--line)}.archived-collections>.pagination-load-more>span{display:block;padding:0}.media-card-wrap{min-width:0;position:relative}.media-card-wrap>.media-card{width:100%}.media-browser--list .media-card-wrap{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;border-bottom:1px solid var(--line)}.media-browser--list .media-card-wrap:last-child{border-bottom:0}.media-browser--list .media-card{border-bottom:0}.collection-form{display:grid;gap:15px}.form-error-callout{display:grid;gap:8px;padding:10px 12px;border:1px solid rgba(226,120,112,.24);border-radius:9px;color:var(--red);background:#e278700f;font-size:.67rem;line-height:1.5}.form-error-callout button{width:fit-content;color:var(--text);font-weight:650;text-decoration:underline;text-underline-offset:2px}.collection-color-field{margin:0;padding:0;border:0}.collection-color-field legend{margin-bottom:8px;color:var(--text-soft);font-size:.67rem;font-weight:650}.collection-color-field>div{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.collection-color-field button{width:31px;height:31px;display:grid;place-items:center;border:2px solid transparent;border-radius:9px;color:#fff}.collection-color-field button.is-active{border-color:#fff;box-shadow:0 0 0 2px var(--panel),0 0 0 3px var(--line-strong)}.collection-color-custom{min-height:31px;display:flex;align-items:center;gap:7px;margin-left:3px;color:var(--muted);font-size:.61rem}.collection-color-custom input{width:34px;height:31px;padding:2px;cursor:pointer}.collection-picker{max-height:min(430px,55vh);display:grid;gap:6px;overflow-y:auto}.collection-picker label{min-height:54px;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;cursor:pointer}.collection-picker label:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}.collection-picker label.is-disabled{cursor:not-allowed;opacity:.48}.collection-picker input{accent-color:var(--accent)}.collection-picker label>svg{color:var(--accent)}.collection-neutral-callout{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;border:1px solid rgba(111,169,200,.18);border-radius:9px;color:var(--text-soft);background:#6fa9c80f;font-size:.67rem;line-height:1.45}.collection-neutral-callout svg{flex:none;color:var(--blue)}.collection-order-loading{min-height:180px;display:flex;align-items:center;justify-content:center;gap:14px;padding:24px;border:1px solid var(--line);border-radius:11px;background:var(--panel-2)}.collection-order-loading>.spin-ring{width:24px;height:24px;flex:none}.collection-order-loading>div{width:min(420px,100%);display:grid;gap:7px}.collection-order-loading strong{font-size:.76rem}.collection-order-loading span{color:var(--muted);font-size:.65rem}.collection-order-loading progress{width:100%;height:7px;accent-color:var(--accent)}.collection-order-error{display:grid;gap:12px;padding:14px;border:1px solid rgba(226,120,112,.22);border-radius:10px;color:var(--red);background:#e278700f;font-size:.68rem;line-height:1.45}.collection-order-error .button{width:fit-content}.collection-order-workspace{display:grid;gap:10px}.collection-order-workspace>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.collection-order-workspace>header>div{display:grid;gap:3px}.collection-order-workspace>header strong{font-size:.74rem}.collection-order-workspace>header span{color:var(--muted);font-size:.62rem}.collection-order-list{max-height:min(510px,58vh);display:grid;gap:4px;overflow-y:auto;margin:0;padding:3px;list-style:none;counter-reset:none}.collection-order-list li{min-width:0;min-height:56px;display:grid;grid-template-columns:34px 44px minmax(0,1fr) auto;align-items:center;gap:9px;padding:6px 7px;border:1px solid var(--line);border-radius:9px;background:#ffffff05}.collection-order-position{color:var(--muted);font-size:.62rem;font-variant-numeric:tabular-nums;text-align:center}.collection-order-list .media-thumb{width:44px;height:44px;border-radius:7px}.collection-order-copy{min-width:0;display:grid;gap:3px}.collection-order-copy strong{overflow:hidden;font-size:.69rem;text-overflow:ellipsis;white-space:nowrap}.collection-order-copy small{color:var(--muted);font-size:.58rem}.collection-order-controls{display:flex;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--panel-2)}.collection-order-controls button{width:34px;height:34px;display:grid;place-items:center;color:var(--text-soft)}.collection-order-controls button+button{border-left:1px solid var(--line)}.collection-order-controls button:hover:not(:disabled),.collection-order-controls button:focus-visible{color:var(--accent);background:var(--accent-soft)}.collection-order-controls button:disabled{opacity:.28}.collection-order-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:3px}.collection-order-pagination>span{color:var(--muted);font-size:.63rem;font-variant-numeric:tabular-nums}}@layer responsive{@media(max-width:760px){.collections-panel{margin-inline:-2px;padding:11px}.collections-panel__header{align-items:flex-start}.collections-panel__header p span{display:none}.collections-panel__header .button{min-width:42px;min-height:42px}.collection-order-controls button{width:42px;height:42px}.collection-chip-wrap,.collection-chip--all{flex-basis:174px}.collection-chip{min-height:58px}.collection-chip__controls{width:39px}.collection-chip__controls button{width:38px;height:29px}.active-collection-bar{align-items:flex-start;gap:8px}.active-collection-bar>span{padding-top:7px}.active-collection-bar button{min-height:40px}.library-bulk-bar{top:58px;flex-wrap:wrap}.library-bulk-bar>div:first-child{flex:1 0 100%}.library-bulk-bar>.button,.library-bulk-bar>button:not(.button){min-height:40px}.collection-color-field button{width:40px;height:40px}}@media(max-width:520px){.collections-panel__header>div:last-child .button span{display:none}.collection-chip-wrap,.collection-chip--all{flex-basis:164px}.active-collection-bar{display:grid}.active-collection-bar>div{justify-content:flex-end}.archived-collections>div:not(.collection-inline-error):not(.pagination-load-more){grid-template-columns:auto minmax(0,1fr)}.archived-collections>div:not(.pagination-load-more) .button{grid-column:1 / -1;width:100%}.collection-order-list li{grid-template-columns:30px 38px minmax(0,1fr) auto;gap:7px}.collection-order-list .media-thumb{width:38px;height:38px}.collection-order-controls button{width:42px;height:42px}.collection-order-pagination{flex-wrap:wrap}.collection-order-pagination>span{order:-1;flex:1 0 100%;text-align:center}}}@layer pages{.account-quota-summary{display:flex;align-items:center;gap:18px;padding:17px 20px}.account-quota-summary>svg{flex:0 0 auto;color:var(--accent)}.account-quota-summary>div{display:flex;flex:1 1 auto;align-items:center;gap:10px;min-width:0}.account-quota-summary>div>svg{flex:0 0 auto;color:var(--accent)}.account-quota-summary>div>span{display:grid;gap:2px}.account-quota-summary>div strong{font-size:.76rem;white-space:nowrap}.account-quota-summary>div small{color:var(--muted);font-size:.62rem}.account-quota-summary p{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:2px 5px;color:var(--text-soft);font-size:.68rem}.account-quota-summary p span{grid-column:1 / -1;color:var(--muted);font-size:.61rem;white-space:nowrap}.account-quota-summary p strong{color:var(--text);font-size:.76rem}.account-quota-summary p small{color:var(--muted);font-size:.62rem}.account-quota-summary .badge{flex:0 0 auto}.export-info--warning{border-color:#d7aa5d3d;background:#d7aa5d14;color:var(--yellow)}.export-info--warning svg{color:var(--yellow)}}@layer responsive{@media(max-width:720px){.account-quota-summary{display:flex;flex-wrap:wrap;align-items:start}.account-quota-summary>div{flex-basis:100%;gap:8px}.account-quota-summary p{flex:1 1 90px}.account-quota-summary .badge{flex-basis:100%;width:fit-content}}}@layer pages{.preproduction-page{width:min(1480px,100%);margin-inline:auto}.preproduction-context{display:grid;grid-template-columns:minmax(210px,300px) minmax(0,1fr) auto;align-items:center;gap:18px;padding:15px 18px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(135deg,#ffffff09,#ffffff03)}.preproduction-context label,.preproduction-context>div{min-width:0;display:grid;gap:4px}.preproduction-context label>span,.preproduction-context>div>span,.preproduction-context>small{color:var(--muted);font-size:.66rem}.preproduction-context select{min-width:0;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--panel-2)}.preproduction-context strong{overflow:hidden;color:var(--text);font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.preproduction-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.preproduction-tabs button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;color:var(--muted);font-size:.72rem;font-weight:650}.preproduction-tabs button small{display:none}.preproduction-tabs button:hover{color:var(--text-soft);background:#ffffff06}.preproduction-tabs button.is-active{color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px #ef8b5238}.preproduction-content>div[hidden]{display:none}.preproduction-panel{min-width:0;min-height:440px;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:18px}.preproduction-panel__header{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.preproduction-panel__header>div{min-width:0;max-width:760px;display:grid;gap:5px}.preproduction-panel__header h2{margin:0;color:var(--text);font-family:var(--display);font-size:1.38rem}.preproduction-panel__header p{margin:0;color:var(--muted);font-size:.72rem;line-height:1.55}.preproduction-toolbar{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px}.preproduction-toolbar .library-search{width:min(420px,100%)}.preproduction-kind-filter{min-width:0;display:flex;gap:3px;padding:3px;overflow-x:auto;border:1px solid var(--line);border-radius:9px;background:var(--panel)}.preproduction-kind-filter button{flex:none;min-height:31px;padding:0 10px;border-radius:6px;color:var(--muted);font-size:.62rem}.preproduction-kind-filter button.is-active{color:var(--accent);background:var(--accent-soft)}.visual-bible-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:11px}.visual-bible-card{min-width:0;display:grid;grid-template-columns:104px minmax(0,1fr) auto;gap:12px;padding:13px;border:1px solid var(--line);border-radius:11px;background:var(--panel);transition:border-color .16s ease,transform .16s ease}.visual-bible-card:hover{border-color:var(--line-strong);transform:translateY(-1px)}.visual-bible-card__visual{height:70px;display:grid;place-items:center;align-content:center;gap:6px;border:1px solid rgba(239,139,82,.14);border-radius:9px;color:var(--accent);background:radial-gradient(circle at 50% 20%,rgba(239,139,82,.15),transparent 70%)}.visual-bible-card__visual .badge{font-size:.48rem}.visual-bible-card__copy{min-width:0;display:grid;align-content:start;gap:6px}.visual-bible-card__copy h3,.recipe-card h3,.shot-card h4{overflow:hidden;margin:0;color:var(--text);font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.visual-bible-card__copy p,.recipe-card>p,.shot-card__copy>p{display:-webkit-box;overflow:hidden;margin:0;color:var(--text-soft);font-size:.63rem;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.visual-bible-card__copy>small,.recipe-card small,.shot-card small{color:var(--muted);font-size:.54rem}.preproduction-tags,.shot-card__badges{display:flex;flex-wrap:wrap;gap:4px}.preproduction-tags span{padding:2px 6px;border-radius:999px;color:var(--muted);background:var(--panel-3);font-size:.5rem}.visual-bible-card__actions{display:grid;align-content:start;gap:4px}.visual-bible-card__actions button,.recipe-card footer>button:not(.button),.shot-card__actions>button:not(.button),.storyboard-main__header>div:last-child>button{width:29px;height:29px;display:grid;place-items:center;border-radius:7px;color:var(--muted)}.visual-bible-card__actions button:hover,.recipe-card footer>button:hover,.shot-card__actions>button:hover,.storyboard-main__header>div:last-child>button:hover{color:var(--text);background:var(--panel-3)}.preproduction-form{display:grid;gap:14px}.preproduction-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.preproduction-form__grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.preproduction-form__prompts,.shot-frame-references{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preproduction-starter{padding:12px;border:1px solid rgba(239,139,82,.2);border-radius:10px;background:#ef8b520e}.preproduction-starter small{color:var(--muted);line-height:1.4}.revision-conflict{display:grid;gap:7px;padding:12px;border:1px solid rgba(226,120,112,.28);border-radius:10px;color:var(--red);background:#e2787012}.revision-conflict strong{font-size:.72rem}.revision-conflict p,.preproduction-delete-copy{margin:0;color:var(--text-soft);font-size:.65rem;line-height:1.5}.revision-conflict>div{display:flex;flex-wrap:wrap;gap:6px}.recipe-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:11px}.recipe-card{min-width:0;display:grid;gap:11px;padding:14px;border:1px solid var(--line);border-radius:11px;background:var(--panel)}.recipe-card>header{min-width:0;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px}.recipe-card>header>span:first-child{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;color:var(--accent);background:var(--accent-soft)}.recipe-card>header>div{min-width:0;display:grid;gap:3px}.recipe-card>code{min-height:61px;display:-webkit-box;overflow:hidden;padding:9px;border-radius:8px;color:var(--text-soft);background:#0000002e;font-size:.57rem;line-height:1.55;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:3}.recipe-card__meta{display:flex;color:var(--muted);font-size:.57rem}.recipe-card__meta span,.recipe-card footer{display:flex;align-items:center;gap:5px}.recipe-card footer{justify-content:flex-end}.preproduction-scope-toggle{display:flex;align-items:center;gap:9px;padding:9px;border:1px solid var(--line);border-radius:8px}.preproduction-scope-toggle input,.recipe-variable__footer input,.shot-bible-links input{accent-color:var(--accent)}.preproduction-scope-toggle span{display:grid;gap:2px}.preproduction-scope-toggle strong{font-size:.65rem}.preproduction-scope-toggle small{color:var(--muted);font-size:.55rem}.recipe-variables{display:grid;gap:9px;padding-top:5px}.recipe-variables>header,.recipe-variable__heading,.recipe-snapshot>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.recipe-variables>header>div{display:flex;align-items:center;gap:8px}.recipe-variables>header small{color:var(--muted);font-size:.56rem}.recipe-variable{display:grid;gap:9px;padding:11px;border:1px solid var(--line);border-radius:9px;background:#ffffff04}.recipe-variable__heading strong{color:var(--text-soft);font-size:.64rem}.recipe-variable__heading button{width:27px;height:27px;display:grid;place-items:center;border-radius:6px;color:var(--muted)}.recipe-variable__heading button:hover{color:var(--red);background:#e2787014}.recipe-variable__footer{display:flex;align-items:end;gap:16px}.recipe-variable__footer>label:not(.field){display:flex;align-items:center;gap:6px;padding-bottom:9px;color:var(--text-soft);font-size:.62rem}.recipe-variable__footer .field{min-width:180px;flex:1}.recipe-preview{min-height:460px;display:grid;grid-template-columns:210px minmax(0,1fr);gap:14px}.recipe-history{min-width:0;display:flex;flex-direction:column;gap:5px;padding-right:10px;border-right:1px solid var(--line)}.recipe-history>strong{display:flex;align-items:center;gap:6px;padding:4px 6px 8px;font-size:.65rem}.recipe-history>button{display:grid;gap:3px;padding:8px;border-radius:7px;color:var(--text-soft);font-size:.6rem;text-align:left}.recipe-history>button small{color:var(--muted);font-size:.52rem}.recipe-history>button.is-active{color:var(--accent);background:var(--accent-soft)}.recipe-preview__main,.recipe-template-source,.recipe-snapshot{min-width:0;display:grid;align-content:start;gap:11px}.recipe-template-source code{max-height:125px;overflow:auto;padding:9px;border-radius:7px;color:var(--text-soft);background:#0000002e;font-size:.57rem;line-height:1.5;white-space:pre-wrap}.recipe-preview-fields,.shot-recipe__variables{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.recipe-snapshot{padding:12px;border:1px solid rgba(113,184,145,.22);border-radius:10px;background:#71b8910e}.recipe-snapshot>div{display:grid;gap:4px}.recipe-snapshot span,.recipe-snapshot small{color:var(--muted);font-size:.56rem}.recipe-snapshot p{margin:0;color:var(--text-soft);font-size:.65rem;line-height:1.5;white-space:pre-wrap}.storyboard-workspace{min-height:520px;display:grid;grid-template-columns:245px minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.storyboard-list{display:flex;flex-direction:column;gap:4px;padding:8px;border-right:1px solid var(--line);background:#00000014}.storyboard-list>button{min-width:0;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:7px;padding:9px 7px;border-radius:8px;color:var(--muted);text-align:left}.storyboard-list>button>span:first-child{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;background:var(--panel-3)}.storyboard-list>button>span:last-child{min-width:0;display:grid;gap:3px}.storyboard-list>button strong{overflow:hidden;color:var(--text-soft);font-size:.63rem;text-overflow:ellipsis;white-space:nowrap}.storyboard-list>button small{color:var(--muted);font-size:.5rem}.storyboard-list>button.is-active{color:var(--accent);background:var(--accent-soft)}.storyboard-list>button.is-active strong{color:var(--text)}.storyboard-list .pagination-load-more{margin-top:auto}.storyboard-main{min-width:0;padding:13px}.storyboard-main__header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:2px 2px 13px;border-bottom:1px solid var(--line)}.storyboard-main__header>div:first-child{min-width:0;display:grid;gap:3px}.storyboard-main__header>div:first-child>span{color:var(--accent);font-size:.52rem;text-transform:uppercase}.storyboard-main__header h3{margin:0;color:var(--text);font-size:.84rem}.storyboard-main__header p{margin:0;color:var(--muted);font-size:.6rem}.storyboard-main__header>div:last-child{display:flex;align-items:center;gap:4px}.shot-list{display:grid;gap:7px;margin:0;padding:12px 0 0;list-style:none}.shot-card{min-width:0;display:grid;grid-template-columns:53px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#ffffff03}.shot-card__order{display:grid;place-items:center;gap:4px}.shot-card__order>strong{color:var(--accent);font-family:var(--mono);font-size:.68rem}.shot-card__order>div{display:flex}.shot-card__order button{width:23px;height:23px;display:grid;place-items:center;color:var(--muted)}.shot-card__order button:disabled{opacity:.25}.shot-card__copy{min-width:0;display:grid;gap:6px}.shot-card__copy>header{display:flex;align-items:center;justify-content:space-between;gap:7px}.shot-card__copy>header>span{color:var(--accent);font-size:.58rem}.shot-card__badges .badge{display:inline-flex;align-items:center;gap:3px;font-size:.5rem}.shot-card__actions{display:flex;align-items:center;gap:3px}.shot-bible-links,.shot-recipe{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#ffffff03}.shot-bible-links>header,.shot-recipe>header,.shot-bible-links>header>div{display:flex;align-items:center;justify-content:space-between;gap:9px}.shot-bible-links>header>div,.shot-recipe>header{justify-content:flex-start}.shot-bible-links>header span,.shot-recipe>header>div{display:grid;gap:2px}.shot-bible-links>header strong,.shot-recipe>header strong{font-size:.67rem}.shot-bible-links>header small,.shot-recipe>header small{color:var(--muted);font-size:.55rem}.shot-bible-links>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.shot-bible-links>div>label{min-width:0;display:flex;align-items:center;gap:7px;padding:8px;border:1px solid var(--line);border-radius:7px}.shot-bible-links>div>label>span{min-width:0;display:grid;gap:2px}.shot-bible-links>div strong{overflow:hidden;color:var(--text-soft);font-size:.61rem;text-overflow:ellipsis;white-space:nowrap}.shot-bible-links>div small{color:var(--muted);font-size:.52rem}.shot-bible-links>p{margin:0;color:var(--muted);font-size:.6rem}.shot-recipe__snapshot{border-top:1px solid var(--line);padding-top:9px}.shot-recipe__snapshot summary{cursor:pointer;color:var(--accent);font-size:.61rem}.shot-recipe__snapshot p{display:grid;gap:3px;margin:9px 0 0;color:var(--text-soft);font-size:.6rem;line-height:1.45;white-space:pre-wrap}.shot-recipe__snapshot small{display:block;padding-top:8px;color:var(--muted);font-size:.52rem}}@layer responsive{@media(max-width:980px){.storyboard-workspace{grid-template-columns:190px minmax(0,1fr)}.shot-card{grid-template-columns:46px minmax(0,1fr)}.shot-card__actions{grid-column:2;justify-content:flex-end}}@media(max-width:800px){.preproduction-page{padding-bottom:18px}.preproduction-context{grid-template-columns:1fr;gap:10px}.preproduction-context>small{display:none}.preproduction-tabs{position:sticky;z-index:6;top:0}.preproduction-tabs button span{display:none}.preproduction-tabs button small{display:inline;font-size:.62rem}.preproduction-panel__header{align-items:stretch;flex-direction:column;gap:12px}.preproduction-panel__header>.button{width:100%}.preproduction-toolbar{align-items:stretch;flex-direction:column}.preproduction-toolbar .library-search,.preproduction-kind-filter{width:100%}.visual-bible-grid,.recipe-grid{grid-template-columns:1fr}.preproduction-form__grid,.preproduction-form__grid--three,.preproduction-form__prompts,.shot-frame-references,.recipe-preview-fields,.shot-recipe__variables,.shot-bible-links>div{grid-template-columns:1fr}.recipe-variable__footer{align-items:stretch;flex-direction:column;gap:4px}.recipe-variable__footer>label:not(.field){padding:3px 0}.recipe-preview{grid-template-columns:1fr}.recipe-history{max-height:145px;padding:0 0 9px;overflow:auto;border-right:0;border-bottom:1px solid var(--line)}.storyboard-workspace{grid-template-columns:1fr}.storyboard-list{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line)}.storyboard-list>button{width:190px;flex:none}.storyboard-list .pagination-load-more{min-width:170px;margin:0}.storyboard-main{padding:10px}.storyboard-main__header{align-items:stretch;flex-direction:column}.storyboard-main__header>div:last-child{justify-content:flex-end}.visual-bible-card__actions button,.recipe-card footer>button:not(.button),.shot-card__actions>button:not(.button),.storyboard-main__header>div:last-child>button{width:40px;height:40px}.shot-card__order button{width:36px;height:36px}.shot-card__order>div{flex-direction:column}.shot-card{grid-template-columns:42px minmax(0,1fr)}}@media(max-width:520px){.visual-bible-card{grid-template-columns:78px minmax(0,1fr) auto;padding:10px}.visual-bible-card__visual{height:54px}.visual-bible-card__visual .badge{display:none}.recipe-card>header{grid-template-columns:34px minmax(0,1fr)}.recipe-card>header>.badge{grid-column:2;justify-self:start}.shot-card__actions{grid-column:1 / -1}.shot-card__actions .button{flex:1}.storyboard-main__header>div:last-child{flex-wrap:wrap}.storyboard-main__header .button{flex:1}}}@layer pages{.page-content:has(.editor-page){padding:0;overflow:hidden}.editor-page{height:calc(100vh - 64px);min-height:570px;position:relative;display:flex;flex-direction:column;background:var(--bg)}.editor-header{height:54px;flex:none;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:0 12px;border-bottom:1px solid var(--line);background:var(--panel)}.editor-header__left,.editor-header__right,.editor-history{display:flex;align-items:center;gap:8px}.editor-header__left>svg{color:var(--muted)}.editor-project-name{display:grid;gap:2px;min-width:0}.editor-project-name strong{max-width:230px;font-size:.72rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.editor-project-name span{color:var(--muted);font-size:.58rem}.editor-history button,.timeline-toolbar button{height:31px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--muted);padding:0 8px;border-radius:7px;font-size:.65rem}.editor-history button:hover:not(:disabled),.timeline-toolbar button:hover:not(:disabled){color:var(--text);background:#ffffff0b}.editor-header__right{justify-content:flex-end}.save-state{display:flex;align-items:center;gap:5px;color:var(--green);font-size:.62rem}.save-state.is-saving{color:var(--muted)}.save-state.is-error{color:var(--yellow)}.save-state--conflict{min-height:29px;padding:0 7px;border-radius:6px;color:var(--red);background:#e2787014}.editor-body{min-height:0;flex:1;display:grid;grid-template-columns:var(--editor-media-panel-width, 190px) var(--editor-panel-separator-width, 7px) minmax(var(--editor-center-min-width, 420px),1fr) var(--editor-panel-separator-width, 7px) var(--editor-inspector-panel-width, 225px)}.editor-panel-resizer{position:relative;z-index:8;min-width:0;padding:0;border:0;background:#12100e;cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none}.editor-panel-resizer span{position:absolute;inset:0 2px;background:var(--line);transition:background .15s,box-shadow .15s}.editor-panel-resizer:before{content:"";position:absolute;inset:0 -8px}.editor-panel-resizer:hover span,.editor-panel-resizer:focus-visible span,.editor-panel-resizer:active span{background:var(--accent);box-shadow:0 0 0 1px #f3975d33}.editor-panel-resizer:focus-visible{outline:2px solid white;outline-offset:-2px}.editor-media-panel,.inspector{min-width:0;min-height:0;background:var(--panel)}.editor-media-panel{border-right:1px solid var(--line);display:flex;flex-direction:column}.editor-media-panel>header,.inspector>header{min-height:47px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 11px;border-bottom:1px solid var(--line)}.editor-media-panel h2,.inspector h2{font-size:.73rem}.editor-media-panel header a{width:28px;height:28px;display:grid;place-items:center;color:var(--muted);border-radius:6px}.editor-media-panel header a:hover{background:var(--panel-3);color:var(--text)}.editor-media-search{height:32px;margin:9px 9px 6px;display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:7px;color:var(--muted);padding:0 8px}.editor-media-search input{border:0;background:none;box-shadow:none;padding:0;font-size:.66rem;height:100%}.editor-media-filters{display:flex;gap:3px;padding:0 9px 7px}.editor-media-filters button{width:29px;height:27px;display:grid;place-items:center;border-radius:6px;color:var(--muted)}.editor-media-filters button.is-active{color:var(--accent);background:var(--accent-soft)}.editor-media-grid{flex:1;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:6px;padding:2px 8px 12px}.editor-media-grid>button{min-width:0;position:relative;text-align:left}.editor-media-grid .media-thumb{height:auto;aspect-ratio:1;border-radius:7px}.editor-media-grid>button>span{display:block;color:var(--text-soft);font-size:.57rem;margin:4px 1px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.editor-media-grid>button>i{position:absolute;right:4px;top:4px;width:22px;height:22px;display:grid;place-items:center;border-radius:6px;background:#0c0b09b3;color:var(--text);opacity:0}.editor-media-grid>button:hover>i{opacity:1}.editor-media-empty{grid-column:1/-1;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:.65rem}.editor-media-empty a{display:flex;align-items:center;gap:5px;color:var(--accent)}.editor-media-empty>div{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.editor-center{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(240px,1fr) minmax(215px,39%)}.editor-monitor-area{min-height:0;display:grid;place-items:center;padding:14px;overflow:hidden;background:radial-gradient(circle at 50% 45%,#1d1b18,#0c0b09 68%)}.monitor{width:min(100%,780px);height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;container-type:size}.monitor-stage{max-width:100%;max-height:calc(100% - 43px);width:auto;height:auto;position:relative;overflow:hidden;display:grid;place-items:center;container-type:size;background:#050504;box-shadow:0 10px 40px #0000007a}.monitor-layer{position:absolute;inset:0;width:100%;height:100%;transform-origin:center}.monitor-media-content{width:100%;height:100%;display:block}.monitor-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 42%,rgba(0,0,0,.08) 64%,rgba(0,0,0,.88) 100%)}.monitor-empty{min-width:330px;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#5c554d}.monitor-empty>span{width:45px;height:30px;border:1px solid #49433c;border-radius:5px;position:relative}.monitor-empty>span:after{content:"";position:absolute;inset:6px;border:1px dashed #37322d}.monitor-empty p{font-size:.65rem}.monitor-empty__actions{display:flex;gap:7px}.monitor-empty__actions button{min-height:32px;padding:0 11px;border:1px solid #49433c;border-radius:7px;color:#c9bfb3;background:#171512;font-size:.62rem;font-weight:720}.monitor-empty__actions button:last-child{border-color:color-mix(in srgb,var(--accent) 48%,#49433c);color:var(--accent-bright)}.monitor-title{display:flex;align-items:center;line-height:1.1;padding:3cqh 3cqw}.monitor-title>span{max-width:100%;padding:.22em .34em;overflow-wrap:anywhere}.monitor-missing{display:grid;place-items:center;color:var(--red);background:#14100ebf;font-size:.68rem}.monitor-safe-area{position:absolute;z-index:20;inset:8%;border:1px dashed rgba(255,255,255,.08);pointer-events:none}.monitor-controls{width:min(100%,780px);height:40px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding-top:7px}.monitor-controls>div{display:flex;align-items:center;gap:3px}.monitor-controls>div:last-child{justify-content:flex-end}.monitor-controls button{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:var(--text-soft)}.monitor-controls button:hover{background:#ffffff0d;color:var(--text)}.monitor-controls .monitor-play{width:34px;height:34px;color:#27150a;background:var(--accent)}.monitor-controls code{color:var(--text-soft);font-size:.61rem}.monitor-controls code i{color:#5a534b;font-style:normal}.timeline-panel{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;border-top:1px solid var(--line);background:var(--bg-raised)}.timeline-toolbar{height:39px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 8px;border-bottom:1px solid var(--line)}.timeline-toolbar>div{display:flex;gap:3px;align-items:center}.timeline-toolbar__editing,.timeline-range-tools{min-width:0}.timeline-range-tools{padding-left:5px;border-left:1px solid var(--line)}.timeline-add-menu,.track-actions{position:relative}.timeline-add-menu>summary,.track-actions>summary{list-style:none;cursor:pointer}.timeline-add-menu>summary::-webkit-details-marker,.track-actions>summary::-webkit-details-marker{display:none}.timeline-add-menu>summary{height:31px;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--muted);padding:0 8px;border-radius:7px;font-size:.65rem}.timeline-add-menu>summary:hover,.timeline-add-menu[open]>summary,.track-actions[open]>summary{color:var(--text);background:#ffffff0b}.timeline-popover{position:absolute;z-index:30;display:grid;gap:3px;min-width:190px;padding:7px;border:1px solid var(--line-strong);border-radius:9px;background:var(--panel-2);box-shadow:0 16px 38px #00000073}.timeline-popover>strong{padding:5px 7px 7px;color:var(--muted);font-size:.58rem;letter-spacing:.07em;text-transform:uppercase}.timeline-popover button{width:100%;min-height:32px;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:6px 8px;border-radius:6px;color:var(--text-soft);text-align:left}.timeline-popover button:hover:not(:disabled){color:var(--text);background:#ffffff0e}.timeline-popover button.is-danger{color:#ef918a}.timeline-popover button>span{display:grid;gap:2px}.timeline-popover button b{font-size:.66rem}.timeline-popover button small{color:var(--muted);font-size:.55rem;line-height:1.3}.timeline-add-menu__popover{top:calc(100% + 5px);left:0}.timeline-duration{color:var(--muted);font:.59rem monospace}.timeline-duration.is-range{color:var(--accent-bright)}.timeline-zoom input{width:82px;height:3px;padding:0;border:0;accent-color:var(--accent)}.timeline-workspace{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:145px minmax(0,1fr);grid-auto-rows:28px 48px;overflow:auto;align-content:start}.track-label-spacer{position:sticky;left:0;z-index:7;grid-column:1;height:28px;background:var(--panel);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.timeline-scroll{grid-column:2;min-width:0;overflow:visible;border-bottom:1px solid var(--line)}.timeline-canvas{height:28px;position:relative}.timeline-ruler{position:absolute;inset:0}.timeline-export-range{position:absolute;z-index:1;top:0;bottom:-2000px;pointer-events:none;border-inline:1px solid rgba(243,151,93,.48);background:#f3975d0e}.timeline-ruler>span{position:absolute;top:0;height:100%;color:#676057;font:.54rem monospace;padding:5px 0 0 4px}.timeline-ruler>span i{position:absolute;left:0;top:0;height:5px;border-left:1px solid #514b44}.timeline-marker{--marker-color: var(--accent);position:absolute;z-index:8;top:3px;width:18px;height:20px;display:grid;place-items:center;padding:0;transform:translate(-50%);color:var(--marker-color);filter:drop-shadow(0 1px 2px rgba(0,0,0,.8))}.timeline-marker:hover{transform:translate(-50%) scale(1.14)}.timeline-range-boundary{position:absolute;z-index:7;top:4px;width:16px;height:18px;display:grid;place-items:center;padding:0;border:1px solid rgba(243,151,93,.72);background:#352217;color:#ffd5b8;font:.55rem/1 monospace}.timeline-range-boundary--in{transform:translate(-100%);border-radius:4px 0 0 4px}.timeline-range-boundary--out{border-radius:0 4px 4px 0}.playhead{position:absolute;top:0;bottom:-500px;width:1px;padding:0;border:0;border-radius:0;background:var(--accent);z-index:6;box-shadow:0 0 5px #f3975d40}.playhead:focus-visible{outline:none}.playhead:focus-visible i{outline:2px solid white;outline-offset:2px}.playhead i{position:absolute;left:-4px;top:0;width:9px;height:8px;border-radius:2px 2px 5px 5px;background:var(--accent)}.track-row{display:contents}.track-label{grid-column:1;position:sticky;left:0;z-index:5;min-width:0;display:grid;grid-template-columns:23px minmax(0,1fr) 20px 20px 20px;align-items:center;gap:3px;height:48px;padding:0 5px;background:var(--panel);border-right:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted)}.track-label strong{font-size:.59rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--text-soft)}.track-rename{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:2px}.track-rename input{height:27px;padding:3px 5px;border-radius:5px;font-size:.6rem}.track-rename button{width:18px;height:24px;display:grid;place-items:center;color:var(--green)}.track-label>button{width:20px;height:22px;display:grid;place-items:center;color:#716a61;border-radius:4px}.track-label>button:hover{color:var(--text);background:#ffffff0a}.track-actions>summary{width:20px;height:22px;display:grid;place-items:center;color:#716a61;border-radius:4px}.track-actions>summary:hover{color:var(--text);background:#ffffff0a}.track-label:has(.track-actions[open]){z-index:18}.track-actions__popover{top:calc(100% + 5px);right:0;min-width:145px}.track-type{width:22px;height:22px;display:grid;place-items:center;border-radius:5px;color:var(--accent);background:var(--accent-soft)}.track-type--audio{color:var(--purple);background:var(--purple-soft)}.track-lane{grid-column:2;height:48px;position:relative;min-width:100%;border-bottom:1px solid var(--line);background-image:linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);background-size:24px 100%}.track-lane--audio{background-color:#aa83df04}.timeline-clip{--clip-color: #ca7b50;position:absolute;z-index:2;top:4px;bottom:4px;min-width:8px;display:flex;align-items:stretch;border:1px solid color-mix(in srgb,var(--clip-color),white 8%);border-radius:5px;background:color-mix(in srgb,var(--clip-color),#161411 50%);overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab}.timeline-marker-editor{position:absolute;z-index:25;top:35px;right:12px;width:min(260px,calc(100% - 24px));display:grid;gap:10px;padding:12px;border:1px solid var(--line-strong);border-radius:10px;background:var(--panel-2);box-shadow:0 18px 45px #00000080}.timeline-marker-editor__heading{display:grid;grid-template-columns:24px 1fr 24px;align-items:center;gap:7px}.timeline-marker-editor__heading strong{font-size:.72rem}.timeline-marker-editor__heading>button{width:24px;height:24px;display:grid;place-items:center;color:var(--muted)}.timeline-marker-editor label,.timeline-marker-editor fieldset{display:grid;gap:6px;color:var(--muted);font-size:.61rem}.timeline-marker-editor input{height:34px;padding:6px 8px;font-size:.68rem}.timeline-marker-editor fieldset{padding:0;border:0}.timeline-marker-colors{display:flex;gap:7px}.timeline-marker-colors button{width:24px;height:24px;display:grid;place-items:center;padding:0;border:2px solid transparent;border-radius:50%;color:#161411}.timeline-marker-colors button.is-selected{border-color:#fff;box-shadow:0 0 0 2px #201d19}.timeline-marker-editor__actions{display:flex;justify-content:space-between;gap:8px}.timeline-marker-editor__actions button{min-height:30px;display:flex;align-items:center;gap:6px;padding:0 9px;border-radius:6px;color:var(--text-soft);background:#ffffff0b;font-size:.62rem}.timeline-marker-editor__actions button:last-child{color:#2a170b;background:var(--accent)}.timeline-marker-editor__actions button.is-danger{color:#ef918a;background:#eb575714}.timeline-clip:active{cursor:grabbing}.timeline-clip.is-selected{outline:2px solid #f5c29e;outline-offset:1px;z-index:3}.timeline-clip--audio{background-image:repeating-linear-gradient(90deg,transparent 0 3px,rgba(255,255,255,.08) 3px 4px)}.timeline-clip__body{min-width:0;flex:1;display:flex;align-items:center;gap:4px;padding:0 5px;border:0;border-radius:0;color:#ffffffd9;background:transparent;text-align:left;cursor:grab}.timeline-clip__body span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:.55rem}.trim-handle{width:12px;flex:none;background:transparent;cursor:ew-resize;padding:0}.timeline-clip.is-selected .trim-handle{background:#ffffff61}.timeline-clip__body:focus-visible,.trim-handle:focus-visible{outline:2px solid white;outline-offset:-2px}.inspector{border-left:1px solid var(--line);display:flex;flex-direction:column}.inspector>header>div{min-width:0;display:grid;gap:2px}.inspector>header span{color:var(--accent);font-size:.54rem;text-transform:uppercase}.inspector>header h2{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.inspector-empty{margin:auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;padding:18px;color:var(--muted)}.inspector-empty strong{color:var(--text-soft);font-size:.68rem}.inspector-empty span{font-size:.61rem;line-height:1.45}.inspector-scroll{min-width:0;margin:0;padding:0;border:0;overflow:auto}.inspector-scroll:disabled{color:inherit}.inspector-locked-notice{display:flex;align-items:center;gap:6px;margin:8px 9px 0;padding:7px 8px;border:1px solid rgba(243,151,93,.22);border-radius:6px;color:var(--yellow);background:#f3975d0f;font-size:.58rem}.inspector-scroll>section{border-bottom:1px solid var(--line);padding:9px}.inspector-section-title{width:100%;display:flex;justify-content:space-between;align-items:center;padding:2px 1px 9px;color:var(--text-soft);font-size:.65rem;font-weight:650}.inspector-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.inspector-grid label{display:grid;grid-template-columns:1fr 62px;align-items:center;gap:5px;color:var(--muted);font-size:.57rem}.inspector-grid input{height:28px;padding:4px 6px;border-radius:5px;font-size:.59rem}.inspector-select,.inspector-textarea{display:grid;gap:5px;padding-top:8px;color:var(--muted);font-size:.59rem}.inspector-select select,.inspector-textarea textarea,.effect-add select,.transition-row select{min-width:0;height:30px;padding:4px 7px;border:1px solid var(--line);border-radius:6px;color:var(--text-soft);background:var(--panel-2);font-size:.6rem}.inspector-textarea textarea{min-height:64px;height:auto;resize:vertical}.inspector-colors{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;padding-top:8px}.inspector-colors label{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--muted);font-size:.59rem}.inspector-colors input{width:32px;height:26px;padding:2px;border-radius:5px}.inspector-check{display:flex!important;grid-template-columns:1fr auto!important}.inspector-check input{width:16px;height:16px;padding:0;accent-color:var(--accent)}.range-label{display:grid;gap:8px;padding-top:9px;color:var(--muted);font-size:.59rem}.range-label>span{display:flex;justify-content:space-between}.range-label output{color:var(--text-soft)}.range-label input{height:4px;padding:0;border:0;accent-color:var(--accent)}.effect-list{display:grid;gap:7px}.effect-card{padding:7px;border:1px solid var(--line);border-radius:7px;background:#ffffff05}.effect-card.is-disabled{opacity:.58}.effect-card>header{display:grid;grid-template-columns:23px 1fr 23px;align-items:center;gap:5px}.effect-card>header strong{font-size:.61rem}.effect-card>header button{width:23px;height:23px;display:grid;place-items:center;border-radius:5px;color:var(--muted)}.effect-card>header button:hover{color:var(--text);background:var(--panel-3)}.effect-preview-hint{display:block;padding-top:5px;color:var(--muted);font-size:.52rem;line-height:1.35}.keyframe-parameter+.keyframe-parameter{margin-top:4px;border-top:1px solid rgba(255,255,255,.04)}.keyframe-parameter .range-label input:disabled{cursor:not-allowed;opacity:.5}.keyframe-toolbar{min-width:0;display:grid;grid-template-columns:27px 27px 27px minmax(0,1fr);align-items:center;gap:3px;padding-top:7px}.keyframe-toolbar button{width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:var(--panel-2)}.keyframe-toolbar button:hover:not(:disabled),.keyframe-toolbar button:focus-visible{color:var(--text);border-color:var(--line-strong)}.keyframe-toolbar button.is-active{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 55%,transparent);background:var(--accent-soft)}.keyframe-toolbar button:disabled{cursor:not-allowed;opacity:.35}.keyframe-position{min-width:0;overflow:hidden;padding-left:4px;color:var(--muted);font-size:.52rem;font-variant-numeric:tabular-nums;text-align:right;text-overflow:ellipsis;white-space:nowrap}.keyframe-editor{display:grid;grid-template-columns:minmax(74px,.8fr) minmax(0,1.2fr);gap:5px;padding-top:7px}.keyframe-editor label{min-width:0;display:grid;gap:4px;color:var(--muted);font-size:.52rem}.keyframe-editor input,.keyframe-editor select{min-width:0;height:29px;padding:4px 6px;border:1px solid var(--line);border-radius:6px;color:var(--text-soft);background:var(--panel-2);font-size:.57rem}.keyframe-hint{display:block;padding-top:6px;color:var(--muted);font-size:.5rem;line-height:1.35}.effect-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;padding-top:8px}.effect-add button{min-height:30px;display:flex;align-items:center;justify-content:center;gap:4px;padding:0 8px;border-radius:6px;color:var(--accent);background:var(--accent-soft);font-size:.59rem}.transition-row{display:grid;gap:6px;padding-bottom:9px}.transition-row:last-child{padding-bottom:0}.transition-row>label{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:5px;color:var(--muted);font-size:.59rem}.transition-row .inspector-grid label{grid-template-columns:1fr 62px}.inspector-danger button{width:100%;min-height:31px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:6px;color:var(--red);background:#e2787014;font-size:.61rem}.inspector-danger button:hover{background:#e2787026}.editor-mobile-tools,.editor-mobile-panel{display:none}.editor-error{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px}.editor-draft-recovery{width:min(560px,calc(100% - 32px));display:grid;grid-template-columns:auto 1fr;gap:14px;padding:22px}.editor-draft-recovery>svg{color:var(--yellow)}.editor-draft-recovery h1{margin:0 0 7px;font-size:1rem}.editor-draft-recovery p{color:var(--text-soft);font-size:.75rem;line-height:1.55}.editor-draft-recovery small{display:block;margin-top:8px;color:var(--muted);font-size:.65rem}.editor-draft-recovery__actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}}@layer responsive{@media(max-width:1160px){.dashboard-grid{grid-template-columns:1fr}.dashboard-side{grid-template-columns:1.35fr .65fr}.metric-row{grid-template-columns:1fr}.metric-row>div{min-height:53px;flex-direction:row;align-items:center}.metric-row span svg{display:inline;margin:0 5px 0 0;vertical-align:middle}.account-list{overflow-x:auto}.account-list__head,.account-list>article{min-width:920px}.editor-body{grid-template-columns:175px minmax(380px,1fr);padding-bottom:55px}.editor-body>.inspector{display:none}.editor-panel-resizer{display:none}.editor-mobile-tools{position:absolute;z-index:31;right:0;bottom:0;left:0;height:55px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;border-top:1px solid var(--line);background:#181613f7}.editor-mobile-tools button{min-width:0;height:100%;padding-inline:2px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);font-size:.55rem}.editor-mobile-tools button span{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.editor-mobile-tools button.is-active{color:var(--accent)}.editor-mobile-panel{position:fixed;z-index:100;inset:0;display:block;background:#0d0c0aa8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);overscroll-behavior:contain}.editor-mobile-panel>.editor-media-panel,.editor-mobile-panel>.inspector{position:absolute;top:0;right:0;bottom:0;width:min(85vw,340px);display:flex;border-left:1px solid var(--line);box-shadow:-20px 0 50px #00000052}.editor-mobile-panel .editor-media-grid{grid-template-columns:repeat(3,1fr)}.editor-mobile-panel .keyframe-toolbar{grid-template-columns:34px 34px 34px minmax(0,1fr);gap:5px}.editor-mobile-panel .keyframe-toolbar button{width:34px;height:34px}.editor-mobile-panel .keyframe-editor input,.editor-mobile-panel .keyframe-editor select{min-height:36px;font-size:.68rem}.editor-mobile-close{position:absolute;z-index:3;top:9px;left:9px;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;color:var(--text);background:var(--panel-2)}}@media(max-width:800px){:root{font-size:16px;--radius: 13px}body{padding-bottom:env(safe-area-inset-bottom)}.desktop-sidebar{display:none}.app-main{margin-left:0}.topbar{height:55px;padding:0 13px;justify-content:space-between}.mobile-brand{min-width:0;display:flex;align-items:center;gap:8px}.mobile-brand .brand-mark{width:27px;height:27px;border-radius:8px}.mobile-brand .brand-mark:after{left:9px;top:6px}.mobile-brand strong{max-width:155px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:.78rem}.global-search,.sync-state,.topbar-avatar{display:none}.topbar__right{position:static;margin-left:auto}.topbar__right .icon-button{width:36px;height:36px;border:0;background:transparent}.page-content{padding:20px 15px calc(85px + env(safe-area-inset-bottom))}.page-stack{gap:17px}.page-header{align-items:flex-start}.page-header__copy h1{font-size:1.65rem}.page-header__copy p{font-size:.78rem}.page-header{gap:12px}.page-header__actions .button:not(.button--primary) .button__label{display:none}.mobile-nav{position:fixed;z-index:90;left:0;right:0;bottom:0;height:calc(64px + env(safe-area-inset-bottom));padding:5px 8px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;background:#181613f5;border-top:1px solid var(--line-strong);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-nav>a,.mobile-nav>button{min-width:0;height:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);position:relative}.mobile-nav>a>span,.mobile-nav>button>span{display:grid;place-items:center;position:relative}.mobile-nav small{font-size:.56rem}.mobile-nav>a.active,.mobile-nav>button.is-active{color:var(--accent)}.mobile-nav__create>span{width:38px;height:33px;margin-top:-12px;border-radius:10px;color:#251308;background:var(--accent);box-shadow:0 5px 17px #f3975d3d}.mobile-nav__create small{color:var(--accent)}.mobile-nav .nav-dot{top:-2px;right:-6px;border-color:var(--panel)}.mobile-sheet-backdrop{position:fixed;z-index:110;inset:0;display:flex;align-items:flex-end;background:#0404039e;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.mobile-sheet{width:100%;max-height:84vh;padding:8px 14px calc(15px + env(safe-area-inset-bottom));border-radius:19px 19px 0 0;border:1px solid var(--line-strong);border-bottom:0;background:var(--panel);animation:sheet-in .22s ease-out}@keyframes sheet-in{0%{transform:translateY(100%)}}.sheet-handle{width:37px;height:4px;border-radius:3px;background:#4a443d;margin:0 auto 8px}.mobile-sheet>header{min-height:43px;display:flex;align-items:center;justify-content:space-between}.mobile-sheet__account{display:flex;align-items:center;gap:10px;padding:12px;margin:5px 0 10px;border-radius:11px;background:var(--panel-2)}.mobile-sheet__account>div{display:grid;gap:3px}.mobile-sheet__account strong{font-size:.74rem}.mobile-sheet__account small{color:var(--muted);font-size:.63rem}.mobile-sheet nav{display:grid}.mobile-sheet nav a,.mobile-sheet nav button{min-height:48px;display:flex;align-items:center;gap:11px;padding:0 10px;border-top:1px solid var(--line);color:var(--text-soft);font-size:.76rem;text-align:left}.mobile-sheet nav svg{width:18px;color:var(--muted)}.offline-banner{height:auto;min-height:30px;padding:5px 12px;text-align:center}.offline-banner~.app-main .topbar{top:38px}.product-bootstrap-banner{right:12px;bottom:calc(76px + env(safe-area-inset-bottom));left:12px;max-width:none;justify-content:space-between}.modal-backdrop,.command-backdrop{padding:0;align-items:end}.modal{width:100%;max-width:none;max-height:91vh;border-radius:19px 19px 0 0;border-bottom:0}.command-palette{width:100%;border-radius:17px 17px 0 0}.toast-region{top:10px;right:10px;width:calc(100vw - 20px)}.login-page{display:block}.login-story{display:none}.login-panel{min-height:100svh;padding:25px 20px;background:radial-gradient(circle at 50% 10%,rgba(243,151,93,.09),transparent 32%)}.login-card__mobile-brand{display:flex;align-items:center;gap:9px;margin-bottom:50px}.login-card__mobile-brand strong{font-size:.85rem}.login-icon{width:45px;height:45px}.dashboard-hero{min-height:365px;padding:27px 21px;align-items:flex-start}.dashboard-hero h1{font-size:2.45rem;margin-top:10px}.dashboard-hero__copy>p{font-size:.78rem;max-width:90%}.dashboard-hero__actions{flex-direction:column;align-items:stretch;width:min(100%,290px)}.hero-art{right:-70px;bottom:-35px;width:210px;height:160px;opacity:.6}.hero-frame{width:145px}.quick-actions,.dashboard-side{grid-template-columns:1fr}.metric-row{grid-template-columns:repeat(3,1fr)}.metric-row>div{min-height:78px;flex-direction:column;align-items:flex-start}.metric-row span svg{display:block;margin:0 0 5px}.recent-media-grid{grid-template-columns:repeat(2,1fr)}.continue-project{grid-template-columns:80px 1fr}.continue-project>.button{display:none}.generate-layout{grid-template-columns:1fr}.generation-kinds{position:static;display:flex;overflow-x:auto;padding:7px;gap:4px}.generation-kinds>.nav-caption,.generation-note{display:none}.generation-kinds>button{min-width:135px;min-height:48px;grid-template-columns:31px 1fr}.generation-kinds>button>span{width:31px;height:31px}.generation-kinds>button>svg{display:none}.form-section{padding:21px 17px}.provider-select-grid,.schema-fields{grid-template-columns:1fr}.generation-submit{padding:15px 17px;position:sticky;bottom:calc(64px + env(safe-area-inset-bottom));z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:color-mix(in srgb,var(--surface) 94%,transparent)}.generation-submit>div{display:none}.generation-submit .button{width:100%}.reference-grid{grid-template-columns:repeat(3,1fr)}.activity-summary{display:grid;grid-template-columns:repeat(3,1fr)}.activity-summary>div{min-width:0;padding:9px;flex-direction:column;align-items:flex-start}.activity-summary .parallel-note{grid-column:1/-1;margin:0;padding:2px 3px}.filter-tabs{width:100%;overflow-x:auto}.filter-tabs button{flex:1;white-space:nowrap;padding:6px 9px}.job-row{grid-template-columns:36px minmax(0,1fr) 16px;padding:12px;gap:10px}.job-row__outputs{display:none}.job-row .job-kind-icon{width:35px}.job-row__title{align-items:flex-start;flex-direction:column;gap:5px}.snapshot-settings{grid-template-columns:1fr}.job-output-grid{grid-template-columns:repeat(3,1fr)}.library-toolbar{flex-wrap:wrap}.library-toolbar .library-search{width:100%}.kind-filters{flex:1;overflow-x:auto}.kind-filters button{padding:7px}.kind-filters button svg{display:none}.media-browser--grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.media-card__menu{opacity:1}.media-detail{grid-template-columns:1fr}.media-detail__preview{min-height:250px}.media-detail aside{min-height:220px}.modal__footer{flex-wrap:wrap}.projects-toolbar .library-search{width:calc(100% - 80px)}.project-grid{grid-template-columns:1fr}.format-picker>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.format-picker button{width:100%;min-width:0;min-height:68px;flex-direction:column;justify-content:center;gap:5px;padding:7px 4px;text-align:center}.format-picker button>span{min-width:0}.format-picker small{display:none}.export-summary{display:grid;grid-template-columns:1fr 1fr}.export-summary>div{min-width:0}.export-summary .button{grid-column:1/-1;margin:0}.export-list article{grid-template-columns:70px minmax(0,1fr);padding:10px}.export-preview{width:70px;height:51px}.export-actions{grid-column:2}.admin-tabs{overflow-x:auto}.admin-tabs button{white-space:nowrap}.admin-metrics{display:grid;grid-template-columns:1fr 1fr}.admin-metrics>div{min-width:0}.admin-metrics .button{grid-column:1/-1;width:100%;margin:0}.plugin-grid{grid-template-columns:1fr}.plugin-intro>div>svg{display:none}.page-content:has(.editor-page){padding:0}.app-main:has(.editor-page) .topbar,.app-shell:has(.editor-page)>.mobile-nav{display:none}.editor-page{height:100svh;min-height:500px}.editor-header{height:51px;grid-template-columns:1fr auto}.editor-history{display:none}.editor-project-name span,.editor-header__left>svg{display:none}.editor-header__right .save-state{font-size:0}.editor-header__right .save-state svg{width:16px;height:16px}.editor-header__subtitles{display:none}.editor-body{grid-template-columns:1fr;padding-bottom:calc(55px + env(safe-area-inset-bottom))}.editor-body>.editor-media-panel,.editor-body>.inspector{display:none}.editor-center{grid-template-rows:minmax(205px,42%) minmax(220px,58%)}.editor-monitor-area{padding:9px}.monitor-empty{min-width:220px;min-height:125px}.monitor-empty__actions button{min-height:44px;padding-inline:13px}.monitor-controls{height:36px}.monitor-controls>div:last-child{display:none}.timeline-toolbar{justify-content:flex-start;gap:3px;padding-inline:4px}.timeline-toolbar__editing>button span,.timeline-add-menu>summary span,.timeline-range-tools>button span,.timeline-duration{display:none}.timeline-toolbar .timeline-popover span{display:grid}.timeline-toolbar .timeline-zoom{display:none}.timeline-range-tools{margin-left:auto}.timeline-add-menu__popover{left:-60px}.timeline-workspace{grid-template-columns:128px minmax(0,1fr)}.track-label{grid-template-columns:20px minmax(0,1fr) 19px 19px 19px;padding:0 4px}.track-actions__popover{right:auto;left:4px;min-width:120px}.trim-handle{width:16px}.timeline-marker-editor{right:8px;width:min(260px,calc(100% - 16px))}.editor-mobile-tools{position:absolute;z-index:31;bottom:0;left:0;right:0;height:calc(55px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;border-top:1px solid var(--line);background:#181613f7}.editor-mobile-tools button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);font-size:.55rem}.editor-mobile-tools button.is-active{color:var(--accent)}.editor-mobile-tools__export{display:none!important}.editor-mobile-panel{position:fixed;z-index:100;inset:0;display:block;background:#0d0c0aa8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);overscroll-behavior:contain}.editor-mobile-panel>.editor-media-panel,.editor-mobile-panel>.inspector{position:absolute;right:0;bottom:0;top:0;width:min(85vw,340px);display:flex;border-left:1px solid var(--line);box-shadow:-20px 0 50px #00000052}.editor-mobile-panel .editor-media-grid{grid-template-columns:repeat(3,1fr)}.editor-mobile-panel .keyframe-toolbar{grid-template-columns:34px 34px 34px minmax(0,1fr);gap:5px}.editor-mobile-panel .keyframe-toolbar button{width:34px;height:34px}.editor-mobile-panel .keyframe-editor input,.editor-mobile-panel .keyframe-editor select{min-height:36px;font-size:.68rem}.editor-mobile-close{position:absolute;z-index:3;left:9px;top:9px;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;color:var(--text);background:var(--panel-2)}}@media(max-width:410px){.page-content{padding-inline:12px}.page-header{min-width:0;flex-direction:column;align-items:stretch}.page-header__copy,.page-header__actions{min-width:0;width:100%}.page-header__actions{flex-wrap:wrap}.page-header__actions>.button{flex:1 1 auto;justify-content:center}.dashboard-hero h1{font-size:2.16rem}.metric-row{grid-template-columns:1fr}.metric-row>div{flex-direction:row;align-items:center;min-height:56px}.media-browser--grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-grid{grid-template-columns:repeat(2,1fr)}.activity-summary>div{min-height:92px}.activity-summary .summary-icon{width:31px;height:31px}.export-list article{grid-template-columns:58px minmax(0,1fr)}.export-preview{width:58px;height:45px}.provider-configuration__fields,.provider-secret-reference{grid-template-columns:1fr}}}@layer pages{.activity-summary,.export-summary,.admin-metrics{display:flex;align-items:center;gap:9px}.activity-summary>div,.export-summary>div,.admin-metrics>div{min-width:165px;display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid var(--line);border-radius:11px;background:var(--panel)}.summary-icon{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:9px}.summary-icon--active{color:var(--accent);background:var(--accent-soft)}.summary-icon--done{color:var(--green);background:#79bb8a1a}.summary-icon--error{color:var(--red);background:#e278701a}.activity-summary p,.export-summary p,.admin-metrics p{display:grid;gap:3px}.activity-summary p strong,.export-summary p strong,.admin-metrics p strong{font-size:1.05rem}.activity-summary p span,.export-summary p span,.admin-metrics p span{color:var(--muted);font-size:.66rem}.activity-summary .parallel-note{margin-left:auto;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.7rem}.parallel-note svg{color:var(--purple)}.filter-bar{display:flex;justify-content:space-between}.filter-tabs{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.filter-tabs button{min-height:31px;padding:6px 12px;border-radius:7px;color:var(--muted);font-size:.72rem}.filter-tabs button.is-active{color:var(--text);background:var(--panel-3);box-shadow:0 1px 3px #00000040}.filter-tabs button span{margin-left:6px;padding:2px 5px;border-radius:8px;background:var(--accent-soft);color:var(--accent);font-size:.6rem}.jobs-panel{overflow:hidden}.jobs-panel>.loading-stack,.jobs-panel>.error-state{margin:16px}.job-list{display:grid}.job-row{min-width:0;min-height:87px;display:grid;grid-template-columns:42px minmax(220px,1fr) auto 18px;align-items:center;gap:14px;text-align:left;padding:13px 17px;border-bottom:1px solid var(--line);transition:background .15s}.job-row:last-child{border-bottom:0}.job-row:hover{background:#ffffff05}.job-row--failed{background:#e2787005}.job-row__main{min-width:0}.job-row__title{display:flex;align-items:center;gap:9px}.job-row__title strong{max-width:470px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.79rem}.job-row__meta{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.63rem;margin:6px 0}.job-row__meta i,.export-main p i{width:3px;height:3px;border-radius:50%;background:#615b53}.job-row__main .progress-wrap{max-width:500px}.job-row__prompt{display:-webkit-box;margin:0 0 7px;overflow:hidden;color:var(--text-soft);font-size:.7rem;line-height:1.42;-webkit-box-orient:vertical;-webkit-line-clamp:2}.job-row__error{color:#d88c85;font-size:.67rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.job-row__outputs{display:flex;align-items:center}.job-row__outputs .media-thumb,.job-row__outputs>span{width:39px;height:39px;border-radius:7px;border:2px solid var(--panel);margin-left:-6px}.job-row__outputs>span{display:grid;place-items:center;background:var(--panel-3);color:var(--muted);font-size:.62rem}.job-row>svg{color:var(--muted)}.job-detail{display:grid;gap:22px}.job-detail>section{border-top:1px solid var(--line);padding-top:18px}.job-detail__request>p{margin:0 0 12px;color:var(--text-soft);font-size:.76rem;line-height:1.55;white-space:pre-wrap}.job-detail__technical{overflow:hidden;border:1px solid var(--line);border-radius:11px;background:var(--bg-raised)}.job-detail__technical>summary{min-height:44px;display:flex;align-items:center;padding:9px 12px;color:var(--muted);font-size:.68rem;font-weight:700;cursor:pointer}.job-detail__technical[open]>summary{color:var(--text);border-bottom:1px solid var(--line)}.job-detail__technical>div{display:grid;gap:18px;padding:14px}.job-detail__technical section{border-top:1px solid var(--line);padding-top:16px}.job-detail__identifier{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:.64rem}.job-detail__identifier span{min-width:0;display:grid;gap:5px}.job-detail__identifier code{overflow-wrap:anywhere;color:var(--text-soft)}.job-detail__identifier button{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:9px;color:var(--muted);background:var(--panel-2)}.job-detail h3{font-size:.79rem;margin-bottom:12px}.job-detail__status{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:.65rem}.job-detail__status code{color:var(--text-soft)}.job-detail__status button{color:var(--muted);display:grid;place-items:center}.job-detail__progress{border-radius:11px;background:#ffffff06;padding:15px}.job-detail__progress p{color:var(--muted);font-size:.66rem;margin-top:10px}.job-error-box{display:flex;align-items:flex-start;gap:11px;padding:14px;color:var(--red);background:#e2787012;border:1px solid rgba(226,120,112,.14);border-radius:11px}.job-error-box>div{display:grid;gap:5px}.job-error-box strong{font-size:.77rem;color:#f2a099}.job-error-box p,.job-error-box small{color:#bb918d;font-size:.7rem;line-height:1.45}.job-output-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.job-output-grid button{min-width:0;text-align:left}.job-output-grid .media-thumb{height:auto;aspect-ratio:1;border-radius:9px}.job-output-grid button>span{display:block;margin-top:5px;font-size:.66rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.detail-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.snapshot-prompt{padding:13px;background:var(--bg-raised);border:1px solid var(--line);border-radius:9px}.snapshot-prompt span{color:var(--muted);font-size:.62rem;text-transform:uppercase;letter-spacing:.08em}.snapshot-prompt p{color:var(--text-soft);font-size:.74rem;line-height:1.55;margin-top:6px;white-space:pre-wrap}.snapshot-settings{display:grid;grid-template-columns:repeat(2,1fr);margin:10px 0 0;gap:1px;overflow:hidden;border-radius:9px;background:var(--line);border:1px solid var(--line)}.snapshot-settings>div{background:var(--panel);padding:9px 11px;display:flex;justify-content:space-between;gap:15px}.snapshot-settings dt{color:var(--muted);font-size:.64rem}.snapshot-settings dd{margin:0;color:var(--text-soft);font:.65rem monospace;overflow-wrap:anywhere;text-align:right}.snapshot-references{color:var(--muted);font-size:.66rem;margin-top:10px}.snapshot-reference-title{margin:15px 0 8px;color:var(--text-soft);font-size:.68rem}.snapshot-reference-grid{display:flex;flex-wrap:wrap;gap:8px}.snapshot-reference-grid button{width:96px;min-width:0;text-align:left}.snapshot-reference-grid .media-thumb{width:96px;height:64px;border-radius:8px}.snapshot-reference-grid span{display:block;margin-top:5px;overflow:hidden;color:var(--text-soft);font-size:.61rem;text-overflow:ellipsis;white-space:nowrap}.job-output-grid button{position:relative}.job-output-grid button>i{position:absolute;right:5px;top:5px;width:23px;height:23px;display:grid;place-items:center;border-radius:6px;color:var(--yellow);background:#0a0908b8}.event-timeline{list-style:none;padding:0;margin:0;display:grid}.event-timeline li{display:grid;grid-template-columns:27px 1fr;gap:9px;min-height:52px;position:relative}.event-timeline li:before{content:"";position:absolute;left:13px;top:25px;bottom:0;width:1px;background:var(--line-strong)}.event-timeline li:last-child:before{display:none}.event-timeline li>span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:var(--accent);background:var(--panel-3);border:1px solid var(--line);z-index:1}.event-timeline li>div{display:grid;gap:2px;padding-bottom:12px}.event-timeline strong{font-size:.7rem}.event-timeline p{color:var(--text-soft);font-size:.67rem}.event-timeline time{color:var(--muted);font-size:.6rem}.library-toolbar{min-height:57px;display:flex;align-items:center;gap:12px;padding:8px 10px}.library-search{width:min(360px,36vw)}.library-search button{display:grid;place-items:center;color:var(--muted)}.kind-filters{display:flex;align-items:center;gap:3px}.kind-filters button{min-height:34px;display:flex;align-items:center;gap:6px;padding:7px 10px;color:var(--muted);font-size:.7rem;border-radius:7px}.kind-filters button.is-active{background:var(--panel-3);color:var(--text)}.layout-switch{margin-left:auto;display:flex;padding-left:10px;border-left:1px solid var(--line)}.layout-switch button{width:34px;height:34px;display:grid;place-items:center;color:var(--muted);border-radius:7px}.layout-switch button.is-active{color:var(--accent);background:var(--accent-soft)}.upload-tray{border:1px solid var(--line);border-radius:11px;background:var(--panel);padding:12px 14px}.upload-tray>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.upload-tray>header span{display:flex;gap:7px;align-items:center;font-size:.7rem;font-weight:700}.upload-tray>header svg{color:var(--accent)}.upload-tray>header button{color:var(--muted);font-size:.64rem}.upload-tray>div{display:grid;gap:4px}.upload-item{display:grid;grid-template-columns:24px 1fr auto;gap:8px;align-items:center;padding:7px 8px;background:#ffffff05;border-radius:7px}.upload-item>span{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;color:var(--green);background:#79bb8a1a}.upload-item--error>span{color:var(--red);background:#e278701a}.spin-ring{width:12px;height:12px;border:2px solid rgba(243,151,93,.25);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}.upload-item p{min-width:0;display:grid;gap:2px}.upload-item strong{font-size:.68rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.upload-item small{color:var(--red);font-size:.6rem}.upload-item em{color:var(--muted);font-size:.62rem;font-style:normal}.library-count{display:flex;justify-content:space-between;color:var(--muted);font-size:.68rem}.library-bulk-bar{position:sticky;top:72px;z-index:20;min-height:54px;display:flex;align-items:center;gap:9px;padding:8px 10px;border-color:color-mix(in srgb,var(--accent) 30%,var(--line));box-shadow:var(--shadow-lg)}.library-bulk-bar>div{display:flex;align-items:center;gap:7px;margin-right:auto}.library-bulk-bar>div>svg{color:var(--accent)}.library-bulk-bar strong{font-size:.7rem}.library-bulk-bar span,.library-bulk-bar>button:not(.button){color:var(--muted);font-size:.63rem}.library-bulk-bar>button:not(.button):hover{color:var(--text)}.library-load-more{display:flex;justify-content:center;padding:5px 0}.pagination-load-more{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:12px 0 4px}.pagination-load-more>span{color:var(--muted);font-size:.72rem}.pagination-load-more--error{margin-top:8px;padding:10px 12px;border:1px solid rgba(226,120,112,.24);border-radius:10px;background:#e2787012}.pagination-load-more--error>span{color:#f0aaa3}.media-browser--grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:13px}.media-card{min-width:0;display:block;text-align:left;position:relative}.media-card.is-selected .media-thumb{outline:2px solid var(--accent);outline-offset:2px}.media-card__selection{position:absolute;z-index:4;top:8px;right:8px;width:24px;height:24px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.65);border-radius:7px;color:#17120d;background:#14120fb3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.media-card.is-selected .media-card__selection{border-color:var(--accent);background:var(--accent)}.media-browser--grid .media-card>.media-thumb{height:auto;aspect-ratio:1;border-radius:11px;border:1px solid var(--line);transition:transform .18s,border-color .18s}.media-browser--grid .media-card:hover>.media-thumb{transform:translateY(-2px);border-color:var(--line-strong)}.media-card__copy{display:grid;gap:4px;padding:8px 2px 0}.media-card__copy strong{font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-card__copy span{color:var(--muted);font-size:.61rem}.media-card__badges{position:absolute;left:7px;top:7px;right:7px;display:flex;justify-content:space-between;pointer-events:none}.media-card__badges>span{padding:4px 6px;border-radius:6px;color:#fff;background:#0a090894;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-size:.6rem}.media-card__menu{position:absolute;right:7px;bottom:32px;width:27px;height:27px;display:grid;place-items:center;border-radius:7px;color:var(--text-soft);background:#0f0e0cb8;opacity:0;transition:opacity .15s}.media-card:hover .media-card__menu{opacity:1}.media-browser--list{display:grid;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}.media-browser--list .media-card{display:grid;grid-template-columns:80px 1fr auto;gap:13px;align-items:center;min-height:68px;padding:7px;border-bottom:1px solid var(--line)}.media-browser--list .media-card:last-child{border-bottom:0}.media-browser--list .media-thumb{width:80px;height:52px;border-radius:7px}.media-browser--list .media-card__badges{position:static;display:flex;align-items:center;gap:8px}.media-browser--list .media-card__badges>span{position:static;background:none}.media-browser--list .media-card__menu{display:none}.drop-overlay{position:fixed;z-index:900;inset:12px;display:grid;place-items:center;border:2px dashed var(--accent);border-radius:22px;background:#100f0de6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.drop-overlay>div{display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--accent)}.drop-overlay strong{color:var(--text);font-size:1.2rem}.drop-overlay span{color:var(--muted);font-size:.75rem}.media-detail{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(230px,.6fr);gap:20px}.media-detail__preview{min-height:360px;display:grid;place-items:center;border-radius:12px;overflow:hidden;background:#090806}.media-detail__preview>img,.media-detail__preview>video{width:100%;max-height:65vh;object-fit:contain}.audio-preview{width:100%;display:grid;place-items:center;gap:25px;color:var(--purple)}.audio-preview audio{width:80%}.media-detail aside{display:flex;flex-direction:column;gap:14px}.media-meta{margin:0;display:grid;border-top:1px solid var(--line)}.media-meta>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.media-meta dt{color:var(--muted);font-size:.66rem}.media-meta dd{margin:0;text-align:right;color:var(--text-soft);font-size:.66rem;overflow-wrap:anywhere}.tag-list{display:flex;flex-wrap:wrap;gap:5px}.origin-link{margin-top:auto;display:flex;align-items:center;gap:7px;color:var(--accent);font-size:.7rem}.projects-toolbar{display:flex;align-items:center;justify-content:space-between}.projects-toolbar .library-search{width:min(360px,100%)}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:14px}.project-card{position:relative;border:1px solid var(--line);border-radius:13px;background:var(--panel);overflow:hidden;transition:transform .18s,border-color .18s}.project-card:hover{transform:translateY(-2px);border-color:var(--line-strong)}.project-card__open{display:block;width:100%;text-align:left}.project-card__preview{max-height:185px;display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(circle at 40% 30%,#302a24,#161411 70%)}.project-card__preview>img{width:100%;height:100%;object-fit:cover}.project-placeholder{display:grid;place-items:center;gap:9px;color:#655d54}.project-placeholder span{font-size:.61rem}.project-card__preview>i{position:absolute;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#0a0908a3;opacity:0;transform:scale(.9);transition:opacity .18s,transform .18s}.project-card:hover .project-card__preview>i{opacity:1;transform:scale(1)}.project-card__preview>em{position:absolute;right:7px;bottom:7px;font-style:normal;color:#fff;font-size:.62rem;padding:4px 6px;border-radius:5px;background:#0a09089e}.project-card__copy{padding:13px;display:grid;gap:6px}.project-card__copy strong{font-size:.8rem;padding-right:25px}.project-card__copy span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:.63rem}.project-card__menu{position:absolute;bottom:10px;right:8px;width:30px;height:30px;display:grid;place-items:center;border-radius:7px;color:var(--muted)}.project-card__menu:hover{background:var(--panel-3);color:var(--text)}.project-create-form{display:grid;gap:17px}.project-actions-menu{display:grid;gap:6px}.project-actions-menu>button{width:100%;min-height:58px;display:grid;grid-template-columns:28px 1fr;align-items:center;gap:10px;padding:10px 12px;text-align:left;border:1px solid transparent;border-radius:10px;color:var(--text-soft)}.project-actions-menu>button:hover{color:var(--text);border-color:var(--line);background:var(--surface-hover)}.project-actions-menu>button:disabled{opacity:.5}.project-actions-menu>button.is-danger{color:var(--red)}.project-actions-menu>button>span,.project-cover-field__heading>span{display:grid;gap:3px}.project-actions-menu strong,.project-cover-field__heading strong{font-size:.73rem}.project-actions-menu small,.project-cover-field__heading small{color:var(--muted);font-size:.63rem}.project-cover-field{display:grid;gap:10px;padding-top:2px}.project-cover-field__heading{display:flex;align-items:center;gap:9px;color:var(--text-soft)}.project-cover-field__heading>svg{color:var(--accent)}.format-picker,.preset-picker{border:0;padding:0;margin:0}.format-picker legend,.preset-picker legend{color:var(--text-soft);font-size:.76rem;font-weight:640;margin-bottom:9px}.format-picker>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.format-picker button{min-height:66px;display:flex;align-items:center;gap:10px;text-align:left;padding:9px;border:1px solid var(--line);border-radius:9px;background:var(--bg-raised)}.format-picker button.is-selected{border-color:var(--accent);background:var(--accent-soft)}.format-picker button>i{display:block;flex:0 0 auto;border:2px solid currentColor;color:var(--muted);border-radius:3px}.format-picker button.is-selected>i{color:var(--accent)}.format-picker button>span{display:grid;gap:3px}.format-picker strong{font-size:.7rem}.format-picker small{color:var(--muted);font-size:.6rem}.export-summary .button,.admin-metrics .button{margin-left:auto}.export-list{overflow:hidden}.export-list article{display:grid;grid-template-columns:82px minmax(260px,1fr) auto;align-items:center;gap:15px;min-height:88px;padding:10px 14px;border-bottom:1px solid var(--line)}.export-list article:last-child{border-bottom:0}.export-preview{width:82px;height:57px;border-radius:8px;overflow:hidden;display:grid;place-items:center;position:relative;color:var(--purple);background:var(--purple-soft)}.export-preview>i{position:absolute;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#0a090899}.export-main{min-width:0}.export-main>div{display:flex;align-items:center;gap:9px}.export-main strong{font-size:.78rem}.export-main>p{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.63rem;margin:7px 0}.export-main .progress-wrap{max-width:490px}.export-error{color:var(--red);font-size:.66rem}.export-actions{display:flex;align-items:center;gap:8px}.export-form{display:grid;gap:17px}.preset-picker{display:grid;gap:7px}.preset-picker>button{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:9px;min-height:56px;text-align:left;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:var(--bg-raised)}.preset-picker>button.is-selected{border-color:var(--accent);background:var(--accent-soft)}.preset-radio{width:17px;height:17px;display:grid;place-items:center;border-radius:50%;border:1px solid #665e54}.preset-picker button.is-selected .preset-radio{border-color:var(--accent)}.preset-picker button.is-selected .preset-radio i{width:9px;height:9px;border-radius:50%;background:var(--accent)}.preset-picker>button>span:nth-child(2){display:grid;gap:3px}.preset-picker strong{font-size:.72rem}.preset-picker small{color:var(--muted);font-size:.62rem}.export-info{display:flex;gap:9px;align-items:flex-start;padding:11px;border-radius:9px;color:var(--muted);background:#6fa9c80f;border:1px solid rgba(111,169,200,.12);font-size:.68rem;line-height:1.45}.export-info svg{color:var(--blue);flex:none}.admin-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line)}.admin-tabs button{display:flex;align-items:center;gap:7px;min-height:42px;padding:8px 13px;color:var(--muted);font-size:.73rem;border-bottom:2px solid transparent;margin-bottom:-1px}.admin-tabs button.is-active{color:var(--text);border-color:var(--accent)}.admin-section{display:grid;gap:17px}.account-list{overflow:hidden}.account-list__head,.account-list>article{display:grid;grid-template-columns:minmax(190px,1.2fr) 120px 75px 130px 90px 160px;align-items:center;gap:12px}.account-list__head{min-height:39px;padding:0 14px;color:var(--muted);background:#ffffff04;border-bottom:1px solid var(--line);font-size:.61rem;text-transform:uppercase;letter-spacing:.06em}.account-list>article{padding:13px 14px;border-bottom:1px solid var(--line);position:relative}.account-list>article:last-child{border-bottom:0}.account-identity{display:flex;align-items:center;gap:9px;min-width:0}.account-identity>span{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:9px;color:#2b180b;background:linear-gradient(135deg,#d89768,#9471bb);font-size:.64rem;font-weight:750}.account-identity>div{min-width:0;display:grid;gap:3px}.account-identity strong{font-size:.72rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.account-identity small{color:var(--muted);font-size:.61rem}.account-list select{padding:7px 25px 7px 8px;height:32px;font-size:.65rem}.key-count{display:flex;align-items:center;gap:5px;color:var(--text-soft);font-size:.68rem}.account-list article>span{color:var(--muted);font-size:.64rem}.status-toggle{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.65rem}.status-toggle i{width:7px;height:7px;border-radius:50%;background:var(--muted)}.status-toggle.is-active{color:var(--green)}.status-toggle.is-active i{background:var(--green);box-shadow:0 0 7px #79bb8a59}.account-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.account-actions .icon-button{width:32px;height:32px}.account-keys{grid-column:1/-1;display:grid;background:var(--bg-raised);border-radius:8px;overflow:hidden}.account-keys:empty{display:none}.account-keys>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border-bottom:1px solid var(--line)}.account-keys>div:last-child{border-bottom:0}.account-keys>div>span{display:flex;align-items:center;gap:8px}.account-keys strong{font-size:.64rem}.account-keys code,.account-keys small{color:var(--muted);font-size:.59rem}.account-keys button{color:var(--red);display:grid;place-items:center}.account-keys .account-key-reveal{color:var(--text);display:inline-flex;place-items:initial}.account-keys .account-key-revoke{min-width:32px;min-height:32px}.plugin-intro{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px;border-radius:11px;background:var(--purple-soft);border:1px solid rgba(170,131,223,.13)}.plugin-intro>div{display:flex;align-items:center;gap:11px;color:var(--purple)}.plugin-intro p{display:grid;gap:4px}.plugin-intro strong{color:var(--text);font-size:.78rem}.plugin-intro span{color:var(--text-soft);font-size:.68rem}.plugin-discovery-issues{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border:1px solid rgba(226,120,112,.2);border-radius:11px;color:var(--red);background:#e2787012;font-size:.7rem;line-height:1.45}.plugin-discovery-issues>svg{flex:none;margin-top:1px}.plugin-discovery-issues>div{display:grid;gap:5px;min-width:0}.plugin-discovery-issues p{color:var(--text-soft);overflow-wrap:anywhere}.plugin-discovery-issues button{width:fit-content;color:var(--accent-bright);text-decoration:underline;text-underline-offset:3px}.plugin-discovery-issues.is-warning{color:var(--gold);border-color:#d7a56133;background:#d7a56112}.plugin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:11px}.plugin-card{padding:17px;border-radius:12px;background:var(--panel);border:1px solid var(--line);display:flex;flex-direction:column;gap:15px}.plugin-card.is-disabled{opacity:.62}.plugin-card>header{display:grid;grid-template-columns:41px 1fr auto;gap:10px;align-items:start}.plugin-logo{width:41px;height:41px;display:grid;place-items:center;border-radius:10px;color:var(--purple);background:var(--purple-soft)}.plugin-card h3{font-size:.83rem}.plugin-card header p{color:var(--muted);font-size:.64rem;line-height:1.45;margin-top:4px}.plugin-health{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:.62rem}.plugin-configuration-invalid{display:flex;align-items:center;gap:6px;width:fit-content;color:var(--red);font-size:.66rem;font-weight:650}.capability-list{display:flex;flex-wrap:wrap;gap:5px}.capability-list span{padding:5px 7px;border-radius:6px;background:#ffffff09;color:var(--text-soft);font-size:.61rem}.plugin-card>footer{display:flex;align-items:center;gap:6px;margin-top:auto;flex-wrap:wrap}.provider-configuration{display:grid;gap:17px}.provider-configuration__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.provider-configuration__fields>.provider-configuration-switch,.provider-configuration__fields>.provider-secret-field{grid-column:1 / -1}.provider-configuration-switch{min-height:58px;padding:12px 13px;border:1px solid var(--line);border-radius:10px;background:#ffffff05}.provider-secret-reference{display:grid;grid-template-columns:minmax(82px,115px) minmax(0,1fr);gap:7px}.provider-secret-reference .select-wrap,.provider-secret-reference select,.provider-secret-reference input{min-width:0;width:100%}.provider-secret-reference input{font-family:SFMono-Regular,Consolas,monospace}.provider-configuration__advanced{border:1px solid var(--line);border-radius:11px;background:#ffffff04}.provider-configuration__advanced>summary{display:flex;align-items:center;gap:8px;padding:12px 13px;cursor:pointer;color:var(--text-soft);font-size:.75rem;font-weight:650}.provider-configuration__advanced>summary span{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;color:var(--muted);background:var(--panel-2);font-size:.62rem}.provider-configuration__advanced[open]>summary{border-bottom:1px solid var(--line)}.provider-configuration__advanced>.provider-configuration__fields{padding:15px}.provider-configuration__error{display:flex;align-items:flex-start;gap:9px;padding:12px 13px;border:1px solid rgba(226,120,112,.18);border-radius:10px;color:var(--red);background:#e2787012;font-size:.72rem;line-height:1.45}.provider-configuration__error svg{flex:none}.provider-configuration__empty{padding:20px;border:1px dashed var(--line-strong);border-radius:10px;color:var(--muted);text-align:center;font-size:.74rem}.audit-placeholder{min-height:310px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.audit-placeholder>svg{color:var(--green);margin-bottom:13px}.audit-placeholder h2{font-size:1rem}.audit-placeholder p{max-width:560px;color:var(--muted);font-size:.73rem;line-height:1.55;margin:8px 0 18px}.audit-placeholder>div{display:flex;flex-wrap:wrap;gap:13px;color:var(--text-soft);font-size:.65rem}.audit-placeholder>div span{display:flex;align-items:center;gap:5px}.audit-placeholder>div svg{color:var(--green)}.audit-toolbar{min-height:54px;display:flex;align-items:center;gap:8px;padding:7px 9px}.audit-toolbar .library-search{width:min(350px,42vw)}.audit-toolbar .clear-filter{color:var(--muted);font-size:.65rem}.audit-toolbar>.badge{margin-left:auto}.audit-table{overflow:hidden}.audit-table__head,.audit-table>article{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(100px,.7fr) minmax(130px,.8fr) minmax(120px,.7fr) 110px;align-items:center;gap:12px;padding:0 14px}.audit-table__head{min-height:39px;color:var(--muted);background:#ffffff04;border-bottom:1px solid var(--line);font-size:.59rem;text-transform:uppercase;letter-spacing:.06em}.audit-table>article{min-height:63px;border-bottom:1px solid var(--line);color:var(--text-soft);font-size:.65rem}.audit-table>article>div:first-child{display:flex;align-items:center;gap:8px;min-width:0}.audit-action-icon{width:29px;height:29px;display:grid;place-items:center;flex:none;border-radius:7px;color:var(--blue);background:#6fa9c81a}.audit-table article p{min-width:0;display:grid;gap:3px}.audit-table article strong{font-size:.67rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.audit-table article code{color:var(--muted);font-size:.57rem}.audit-request{display:grid;gap:3px}.audit-request small{color:var(--muted);font-size:.57rem}.audit-table time{color:var(--muted);font-size:.61rem}.audit-table details{grid-column:1/-1;padding:0 0 9px 37px}.audit-table summary{color:var(--muted);cursor:pointer;font-size:.59rem}.audit-table pre{max-height:180px;overflow:auto;padding:9px;border-radius:7px;background:var(--bg);color:var(--text-soft);font-size:.58rem}.audit-table>footer{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:8px 14px;color:var(--muted);font-size:.62rem}.audit-table>footer>div{display:flex;align-items:center;gap:8px}.account-create,.key-create{display:grid;gap:16px}.key-warning{display:flex;gap:9px;align-items:flex-start;color:var(--yellow);background:#d7aa5d14;border:1px solid rgba(215,170,93,.15);padding:12px;border-radius:9px;font-size:.69rem;line-height:1.45}.revealed-secret{display:grid;grid-template-columns:1fr 36px 36px;align-items:center;margin-top:13px;border:1px solid var(--line-strong);border-radius:9px;background:#0f0e0c;padding:5px}.revealed-secret code{padding:8px;color:var(--accent-bright);font-size:.74rem;overflow-wrap:anywhere}.revealed-secret button{width:34px;height:34px;display:grid;place-items:center;color:var(--muted);border-radius:7px}.revealed-secret button:hover{background:var(--panel-3);color:var(--text)}}@layer base{:root{--bg: #100f0d;--bg-raised: #151411;--panel: #1a1815;--panel-2: #201e1a;--panel-3: #292620;--panel-hover: #24211d;--line: rgba(244, 231, 211, .09);--line-strong: rgba(244, 231, 211, .15);--text: #f5efe6;--text-soft: #c8beb0;--muted: #8e877e;--accent: #f3975d;--accent-bright: #ffad75;--accent-soft: rgba(243, 151, 93, .14);--purple: #aa83df;--purple-soft: rgba(170, 131, 223, .14);--blue: #6fa9c8;--green: #79bb8a;--red: #e27870;--yellow: #d7aa5d;--radius-xs: 7px;--radius-sm: 10px;--radius: 14px;--radius-lg: 20px;--shadow-sm: 0 8px 24px rgba(0, 0, 0, .2);--shadow: 0 20px 65px rgba(0, 0, 0, .32);--shadow-lg: 0 34px 110px rgba(0, 0, 0, .46);--focus-ring: 0 0 0 3px rgba(243, 151, 93, .16);--ease-out: cubic-bezier(.22, 1, .36, 1);--topbar-height: 64px;--page-gutter: clamp(20px, 3vw, 44px);--sidebar-width: 246px;--offline-banner-height: 30px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;color:var(--text);background:var(--bg)}body{background:radial-gradient(circle at 82% -20%,rgba(123,79,154,.07),transparent 36%),var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}button{border:0;background:none;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}:focus-visible{outline:2px solid var(--accent-bright);outline-offset:3px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:0}::selection{background:#f3975d4d}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background:#3a3630;border-radius:10px;border:2px solid transparent;background-clip:padding-box}::-webkit-scrollbar-track{background:transparent}input,textarea,select{width:100%;border:1px solid var(--line-strong);background:var(--input-bg);color:var(--text);border-radius:var(--radius-sm);padding:11px 12px;outline:none;transition:border-color .18s,box-shadow .18s,background .18s}input::placeholder,textarea::placeholder{color:#837c73}input:focus,textarea:focus,select:focus{border-color:#f3975db3;box-shadow:var(--focus-ring);background:var(--input-focus-bg)}textarea{resize:vertical;line-height:1.55}select{appearance:none;cursor:pointer}code,kbd{font-family:SFMono-Regular,Consolas,monospace}}@layer components{.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;border:1px solid transparent;font-weight:650;line-height:1;white-space:nowrap;transition:background .18s,border-color .18s,transform .18s,color .18s}.button:hover:not(:disabled){transform:translateY(-1px)}.button--sm{min-height:34px;padding:8px 11px;font-size:.8rem}.button--md{min-height:40px;padding:10px 14px;font-size:.88rem}.button--lg{min-height:47px;padding:13px 18px;font-size:.92rem;border-radius:11px}.button--primary{background:linear-gradient(135deg,var(--accent-bright),#e88750);color:#211208;box-shadow:0 6px 22px #eb85482b}.button--primary:hover:not(:disabled){background:linear-gradient(135deg,#ffbc89,#f2945d);box-shadow:0 8px 28px #eb85483d}.button--secondary{background:var(--panel-3);color:var(--text);border-color:var(--line)}.button--secondary:hover:not(:disabled){background:#312d27;border-color:var(--line-strong)}.button--ghost{color:var(--text-soft);background:transparent}.button--ghost:hover:not(:disabled){color:var(--text);background:#ffffff0d}.button--danger{color:#ffaaa4;background:#e278701c;border-color:#e2787033}.button--danger:hover:not(:disabled){background:#e278702e}.icon-button{width:38px;height:38px;display:inline-grid;place-items:center;border-radius:9px;border:1px solid var(--line);background:var(--panel-2);color:var(--text-soft);position:relative}.icon-button:hover{color:var(--text);background:var(--panel-3)}.icon-button--quiet{border:0;background:transparent}.spin{animation:spin .85s linear infinite}.pulse{animation:pulse 1.4s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.45}}.badge{display:inline-flex;align-items:center;gap:6px;width:fit-content;padding:4px 8px;border-radius:999px;border:1px solid var(--line);color:var(--text-soft);background:#ffffff09;font-size:.69rem;line-height:1;font-weight:650;white-space:nowrap}.badge i{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}.badge--positive{color:#8ed29e;background:#79bb8a17;border-color:#79bb8a2b}.badge--warning{color:#e5bb73;background:#d7aa5d17;border-color:#d7aa5d2e}.badge--danger{color:#ef918a;background:#e278701a;border-color:#e278702e}.badge--accent{color:#ffae78;background:#f3975d1a;border-color:#f3975d2e}.badge--info{color:#85c3e2;background:#6fa9c81a;border-color:#6fa9c82e}.panel{background:linear-gradient(145deg,#1e1c18f5,#181613f5);border:1px solid var(--line);border-radius:var(--radius);box-shadow:inset 0 1px #ffffff04}.panel__header{display:flex;align-items:center;justify-content:space-between;gap:16px}.panel__header h2{font-size:1.06rem;margin-top:4px}.panel__header>a{color:var(--text-soft);font-size:.77rem;display:flex;gap:5px;align-items:center}.panel__header>a:hover{color:var(--accent-bright)}.eyebrow{color:var(--accent);font-size:.67rem;line-height:1;font-weight:750;letter-spacing:.13em;text-transform:uppercase}.page-stack{display:flex;flex-direction:column;gap:22px;max-width:1460px;width:100%;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:flex-end;gap:30px}.page-header__copy h1{margin-top:7px;font-size:clamp(1.72rem,2.4vw,2.25rem);line-height:1.12;letter-spacing:-.035em;font-weight:680}.page-header__copy p{color:var(--muted);line-height:1.5;max-width:680px;margin-top:8px;font-size:.88rem}.page-header__actions{display:flex;align-items:center;gap:8px}.field{display:flex;flex-direction:column;gap:7px;min-width:0;position:relative}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.field label,.field-group-label,.reference-field label{font-size:.76rem;color:var(--text-soft);font-weight:640}.field label b,.field-group-label b,.reference-field label b{color:var(--accent)}.field label span{font-weight:400;color:var(--muted)}.field>small,.reference-field small{color:var(--muted);font-size:.7rem;line-height:1.4}.field__label-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.field__label-row>div{display:grid;gap:4px}.field__label-row output{color:var(--accent-bright);font:700 .74rem/1 SFMono-Regular,Consolas,monospace;background:var(--accent-soft);padding:4px 7px;border-radius:6px}.field input[type=range],.range-label input[type=range]{padding:0;height:4px;border:0;background:linear-gradient(90deg,var(--accent),#5c4c40);box-shadow:none;accent-color:var(--accent)}.character-count{position:absolute;right:9px;bottom:7px;color:var(--muted);font-size:.65rem;background:var(--input-bg);padding-left:5px}.select-wrap{position:relative}.select-wrap svg{position:absolute;right:11px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--muted)}.select-wrap select{padding-right:36px}.field-link{align-self:flex-end;color:var(--accent);font-size:.72rem}.option-tiles{display:flex;flex-wrap:wrap;gap:7px}.option-tiles button{background:#141310;border:1px solid var(--line-strong);border-radius:8px;padding:9px 13px;color:var(--text-soft);font-size:.78rem}.option-tiles button.is-selected{border-color:var(--accent);color:var(--accent-bright);background:var(--accent-soft)}.switch-field{display:flex;justify-content:space-between;align-items:center;gap:14px;cursor:pointer}.switch-field>span{display:grid;gap:4px}.switch-field strong{font-size:.78rem}.switch-field small{color:var(--muted);font-size:.7rem}.switch-field input,.switch input{position:absolute;opacity:0;pointer-events:none}.switch-field i,.switch i{width:38px;height:22px;border-radius:999px;background:#39352e;border:1px solid var(--line);position:relative;flex:none;transition:background .2s}.switch-field i:after,.switch i:after{content:"";width:16px;height:16px;border-radius:50%;background:#9a9185;position:absolute;left:2px;top:2px;transition:transform .2s,background .2s}.switch-field input:checked+i,.switch input:checked+i{background:var(--accent)}.switch-field input:focus-visible+i,.switch input:focus-visible+i{outline:2px solid var(--accent-bright);outline-offset:2px}.switch-field input:checked+i:after,.switch input:checked+i:after{transform:translate(16px);background:#fff5ea}.switch{display:inline-flex;cursor:pointer}.modal-open{overflow:hidden}.modal-backdrop,.command-backdrop{position:fixed;inset:0;z-index:1000;background:#050504b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;padding:24px;animation:fade-in .16s ease-out}.modal{width:min(100%,620px);max-height:min(88vh,900px);overflow:hidden;display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line-strong);border-radius:18px;box-shadow:0 30px 100px #00000094;animation:rise .2s ease-out}.modal--sm{max-width:450px}.modal--lg{max-width:840px}.modal--xl{max-width:1060px}.modal__header{display:flex;justify-content:space-between;gap:16px;padding:21px 22px 16px;border-bottom:1px solid var(--line)}.modal__header h2{font-size:1.05rem;letter-spacing:-.015em}.modal__header p{color:var(--muted);font-size:.77rem;line-height:1.45;margin-top:5px}.modal__body{overflow:auto;padding:21px 22px}.modal__footer{padding:14px 22px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;align-items:center;gap:8px;background:#181613}.modal-footer-spacer{flex:1}@keyframes fade-in{0%{opacity:0}}@keyframes rise{0%{transform:translateY(8px) scale(.99);opacity:.5}}.empty-state{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.empty-state__icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft);border:1px solid rgba(243,151,93,.15);margin-bottom:15px}.empty-state h3{font-size:1rem}.empty-state p{color:var(--muted);font-size:.79rem;max-width:390px;line-height:1.5;margin:7px 0 17px}.loading-stack{display:grid;gap:10px;padding:4px 0}.skeleton{height:82px;border-radius:11px;background:linear-gradient(100deg,#1e1c18 20%,#292620,#1e1c18 56%);background-size:200% 100%;animation:shimmer 1.4s infinite}.loading-stack--compact .skeleton{height:53px}@keyframes shimmer{to{background-position-x:-200%}}.full-loader{position:fixed;inset:0;z-index:2000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:var(--bg);color:var(--muted);font-size:.75rem}.full-loader__line{width:120px;height:2px;overflow:hidden;background:var(--panel-3)}.full-loader__line i{display:block;width:45%;height:100%;background:var(--accent);animation:loader-line 1.2s infinite ease-in-out}@keyframes loader-line{0%{transform:translate(-120%)}to{transform:translate(280%)}}.error-state{display:flex;align-items:flex-start;gap:13px;padding:16px;color:#f29a92;background:#e2787014;border:1px solid rgba(226,120,112,.16);border-radius:11px}.error-state>div{flex:1}.error-state strong{font-size:.8rem}.error-state p{color:#b99591;font-size:.72rem;margin-top:4px;line-height:1.45}.progress-wrap{width:100%}.progress-label{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.66rem;margin-bottom:6px}.progress{height:4px;overflow:hidden;border-radius:99px;background:#ffffff14}.progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),var(--purple));transition:width .35s ease}.media-thumb{height:100%;width:100%;min-width:0;min-height:0;display:grid;place-items:center;overflow:hidden;position:relative;color:#887f73;background:radial-gradient(circle at 30% 20%,#332c26,#1c1a17 72%)}.media-thumb img{width:100%;height:100%;object-fit:cover}.media-thumb--audio{background:radial-gradient(circle at 25% 25%,#302841,#1c191f 72%);color:var(--purple)}.media-thumb__play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#0a090894;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);color:#fff}.toast-region{position:fixed;top:16px;right:17px;z-index:2000;display:grid;gap:9px;width:min(390px,calc(100vw - 30px));pointer-events:none}.toast{pointer-events:auto;display:flex;align-items:flex-start;gap:11px;padding:13px;background:#1f1d19f7;border:1px solid var(--line-strong);border-radius:12px;box-shadow:var(--shadow);animation:toast-in .25s ease-out}.toast--success>svg{color:var(--green)}.toast--error>svg{color:var(--red)}.toast--info>svg{color:var(--blue)}.toast__copy{flex:1;display:grid;gap:4px}.toast__copy strong{font-size:.78rem}.toast__copy span{color:var(--muted);font-size:.7rem;line-height:1.4}.toast-link{color:var(--accent);font-size:.7rem;padding:4px 0 0;text-align:left;width:fit-content}@keyframes toast-in{0%{transform:translate(20px);opacity:0}}.danger-callout,.security-note{display:flex;gap:10px;align-items:flex-start;color:var(--text-soft);background:#e2787012;border:1px solid rgba(226,120,112,.13);padding:13px;border-radius:10px;font-size:.75rem;line-height:1.45}.danger-callout svg{color:var(--red);flex:none}.security-note{background:#79bb8a0f;border-color:#79bb8a21}.security-note svg{color:var(--green);flex:none}}@layer pages{.app-shell{min-height:100vh}.desktop-sidebar{position:fixed;inset:0 auto 0 0;z-index:50;width:var(--sidebar-width);display:flex;flex-direction:column;padding:20px 14px 14px;border-right:1px solid var(--line);background:#13120ff2;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand{min-height:43px;display:flex;align-items:center;gap:11px;padding:0 8px}.brand-mark{width:29px;height:29px;flex:none;display:block;border:2px solid transparent;border-radius:9px;background:linear-gradient(#171511,#171511) padding-box,linear-gradient(135deg,var(--accent-bright),var(--purple)) border-box;position:relative}.brand-mark:after{content:"";position:absolute;left:10px;top:7px;border-left:8px solid var(--accent-bright);border-top:5px solid transparent;border-bottom:5px solid transparent}.brand__name{font-size:.94rem;font-weight:720;letter-spacing:-.025em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-placeholder{display:block;width:95px;height:10px;background:#2b2822;border-radius:5px}.new-creation{margin:17px 4px 22px;width:calc(100% - 8px)}.sidebar-nav{display:flex;flex-direction:column;gap:3px}.nav-caption{display:block;color:#837c73;font-size:.61rem;font-weight:760;letter-spacing:.12em;text-transform:uppercase;padding:0 11px 7px}.nav-caption--second{margin-top:18px}.sidebar-nav>a{min-height:42px;display:flex;align-items:center;gap:11px;color:#9c9489;border-radius:9px;padding:0 11px;font-size:.8rem;font-weight:550;position:relative;transition:color .15s,background .15s}.sidebar-nav>a:hover{color:var(--text-soft);background:#ffffff06}.sidebar-nav>a.active{color:var(--text);background:linear-gradient(90deg,#f3975d21,#f3975d0e)}.sidebar-nav>a.active:before{content:"";position:absolute;left:0;width:2px;height:20px;border-radius:2px;background:var(--accent);box-shadow:0 0 10px #f3975d66}.sidebar-nav>a.active svg{color:var(--accent-bright)}.sidebar-nav .badge{margin-left:auto}.sidebar__footer{margin-top:auto;position:relative}.install-link{display:flex;align-items:center;gap:9px;padding:10px 12px;color:var(--muted);font-size:.71rem;width:100%}.install-link:hover{color:var(--text-soft)}.install-help{display:grid;gap:14px;color:var(--text-soft);line-height:1.55}.install-help p,.install-help ol{margin:0}.install-help ol{display:grid;gap:10px;padding-left:22px}.install-help strong{color:var(--text)}.profile-card{width:100%;display:flex;align-items:center;gap:10px;padding:11px 8px 6px;border-top:1px solid var(--line);text-align:left}.avatar,.topbar-avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none;font-size:.69rem;font-weight:750;color:#2c170a;background:linear-gradient(135deg,#f0a46f,#b789d3)}.profile-card__copy{display:grid;gap:3px;min-width:0;flex:1}.profile-card__copy strong{font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-card__copy small{color:var(--muted);font-size:.65rem}.profile-card>svg{color:var(--muted)}.profile-menu{position:absolute;bottom:55px;inset-inline:4px;border:1px solid var(--line-strong);background:var(--panel-2);padding:6px;border-radius:9px;box-shadow:var(--shadow)}.profile-menu button{width:100%;display:flex;align-items:center;gap:8px;color:var(--text-soft);padding:9px;border-radius:6px;font-size:.73rem}.profile-menu button:hover{background:#ffffff0d;color:var(--text)}.app-main{min-height:100vh;margin-left:var(--sidebar-width)}.topbar{position:sticky;top:0;z-index:40;height:64px;border-bottom:1px solid var(--line);background:#100f0dd4;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);display:flex;align-items:center;justify-content:center;padding:0 28px}.mobile-brand{display:none}.global-search{width:min(410px,42vw);height:36px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#ffffff06;border-radius:9px;padding:0 9px;color:var(--muted);font-size:.73rem;text-align:left}.global-search span{flex:1}.global-search kbd{color:var(--muted);font-size:.62rem;border:1px solid var(--line);background:#ffffff06;padding:3px 5px;border-radius:4px}.topbar__right{position:absolute;right:27px;display:flex;align-items:center;gap:9px}.sync-state{color:#7d9682;font-size:.67rem;display:flex;align-items:center;gap:6px}.sync-state i{width:6px;height:6px;border-radius:50%;background:var(--green)}.topbar-avatar{width:32px;height:32px;border:0}.topbar-profile-menu{position:absolute;top:43px;right:0;width:220px;overflow:hidden;border:1px solid var(--line-strong);border-radius:11px;background:var(--panel-2);box-shadow:var(--shadow)}.topbar-profile-menu>div{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid var(--line)}.topbar-profile-menu p{min-width:0;display:grid;gap:3px}.topbar-profile-menu strong{overflow:hidden;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.topbar-profile-menu small{color:var(--muted);font-size:.62rem}.topbar-profile-menu>button{width:100%;min-height:41px;display:flex;align-items:center;gap:8px;padding:0 12px;color:var(--text-soft);font-size:.7rem;text-align:left}.topbar-profile-menu>button:hover{color:var(--text);background:#ffffff0a}.notification-dot,.nav-dot{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--accent);border:2px solid var(--bg);right:6px;top:6px}.page-content{padding:28px clamp(20px,3vw,44px) 50px}.offline-banner{position:fixed;z-index:200;top:0;left:0;right:0;background:#5a4527;color:#ffe2aa;height:var(--offline-banner-height);display:flex;align-items:center;justify-content:center;gap:7px;font-size:.68rem}.product-bootstrap-banner{position:fixed;z-index:900;right:20px;bottom:20px;max-width:min(430px,calc(100vw - 40px));display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid rgba(226,120,112,.3);border-radius:11px;color:#f5c0ba;background:#3e1f1df7;box-shadow:var(--shadow-lg);font-size:.7rem}.product-bootstrap-banner>span{line-height:1.4}.offline-banner~.desktop-sidebar{top:var(--offline-banner-height)}.offline-banner~.app-main .topbar{top:var(--offline-banner-height)}.mobile-nav,.mobile-sheet-backdrop{display:none}.command-palette{width:min(590px,100%);max-height:min(75vh,620px);overflow:hidden;background:#1d1b17;border:1px solid var(--line-strong);border-radius:15px;box-shadow:0 30px 90px #00000094}.command-search{height:59px;display:flex;align-items:center;gap:11px;padding:0 14px 0 18px;border-bottom:1px solid var(--line);color:var(--muted)}.command-search input{border:0;background:transparent;box-shadow:none;padding:0;font-size:.9rem}.command-list{padding:7px;overflow:auto}.command-list>button{display:flex;align-items:center;width:100%;gap:11px;border-radius:9px;padding:9px;text-align:left}.command-list>button:hover{background:#ffffff0b}.command-list__icon{width:35px;height:35px;border-radius:8px;display:grid;place-items:center;background:var(--panel-3);color:var(--accent)}.command-list>button>span:nth-child(2){flex:1;display:grid;gap:3px}.command-list strong{font-size:.78rem}.command-list small{color:var(--muted);font-size:.68rem}.command-list kbd{color:var(--muted);font-size:.67rem}.command-empty{padding:24px;text-align:center;color:var(--muted);font-size:.75rem}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(360px,1.08fr) minmax(410px,.92fr);background:var(--bg);overflow:hidden;position:relative}.login-story{min-height:100vh;position:relative;padding:35px clamp(35px,5vw,78px);display:flex;flex-direction:column;border-right:1px solid var(--line);background:radial-gradient(circle at 15% 75%,rgba(243,151,93,.1),transparent 34%),radial-gradient(circle at 78% 25%,rgba(170,131,223,.1),transparent 33%),linear-gradient(150deg,#171411,#100f0d)}.brand--login{padding:0;font-size:.96rem}.login-story__center{margin:auto 0;position:relative;z-index:1}.login-story__center h1{font:500 clamp(3rem,5vw,5.2rem) / .98 Georgia,serif;letter-spacing:-.055em;margin:18px 0 23px}.login-story__center h1 em{font-weight:400;color:var(--accent-bright)}.login-story__center p{max-width:460px;color:var(--text-soft);font-size:1rem;line-height:1.6}.login-trust{display:flex;gap:22px;color:var(--muted);font-size:.7rem}.login-trust span{display:flex;align-items:center;gap:7px}.login-trust svg{color:var(--green)}.login-panel{min-height:100vh;max-height:100vh;display:grid;place-items:safe center;padding:35px;overflow-y:auto;overscroll-behavior-y:contain;position:relative;z-index:2}.login-card{width:min(100%,420px)}.login-card__mobile-brand{display:none}.login-icon{width:49px;height:49px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft);border:1px solid rgba(243,151,93,.15);border-radius:14px;margin-bottom:20px}.login-card h2{font-size:1.65rem;letter-spacing:-.035em}.login-card>p{color:var(--muted);font-size:.82rem;line-height:1.5;margin:8px 0 25px}.login-card form{display:grid;gap:9px}.login-card form>label{font-size:.74rem;color:var(--text-soft);font-weight:640}.secret-input{height:48px;border:1px solid var(--line-strong);background:var(--input-bg);border-radius:10px;display:flex;align-items:center;padding:0 11px;color:var(--muted)}.secret-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.secret-input.is-invalid{border-color:var(--red)}.secret-input input{border:0;background:transparent;box-shadow:none;height:100%;padding:0 10px;font-family:monospace}.secret-input input:focus,.secret-input input:focus-visible{outline:0;background:transparent;box-shadow:none}.secret-input button{color:var(--muted);display:grid;place-items:center}.login-card form .button{width:100%;margin-top:9px}.field-error{color:#ef918a;font-size:.7rem}.login-help{display:block;color:var(--muted);text-align:center;margin-top:20px;font-size:.68rem}.login-orb{position:absolute;border-radius:50%;filter:blur(100px);opacity:.12;pointer-events:none}.login-orb--one{width:300px;height:300px;background:var(--accent);left:35%;top:-180px}.login-orb--two{width:340px;height:340px;background:var(--purple);right:-200px;bottom:-200px}.not-found{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.not-found>span{font:500 5rem/1 Georgia,serif;color:var(--accent);opacity:.7}.not-found h1{font-size:1.4rem;margin-top:12px}.not-found p{color:var(--muted);margin:8px 0 20px}.dashboard-hero{min-height:300px;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-lg);background:radial-gradient(circle at 75% 40%,rgba(170,131,223,.13),transparent 25%),radial-gradient(circle at 45% 120%,rgba(243,151,93,.13),transparent 38%),linear-gradient(130deg,#211c17,#171513 68%);padding:clamp(28px,4vw,52px);display:flex;align-items:center}.dashboard-hero__copy{position:relative;z-index:2;max-width:650px}.dashboard-hero h1{font:500 clamp(2.25rem,4vw,3.85rem) / 1.03 Georgia,serif;letter-spacing:-.045em;margin:12px 0 15px}.dashboard-hero h1 em{color:var(--accent-bright);font-weight:400}.dashboard-hero__copy>p{color:var(--text-soft);max-width:530px;line-height:1.55;font-size:.9rem}.dashboard-hero__actions{display:flex;gap:9px;margin-top:23px}.hero-art{position:absolute;right:clamp(20px,6vw,90px);width:260px;height:210px;transform:rotate(-3deg)}.hero-frame{position:absolute;width:190px;aspect-ratio:16/10;display:grid;place-items:center;border-radius:13px;border:1px solid rgba(255,255,255,.12);box-shadow:0 20px 45px #0000004d}.hero-frame--back{left:7px;top:2px;color:var(--purple);background:linear-gradient(145deg,#30243d,#15131a);transform:rotate(-8deg)}.hero-frame--front{right:0;bottom:0;color:var(--accent);background:radial-gradient(circle,#543728,#1a1613 65%);transform:rotate(5deg)}.hero-frame--front svg{width:37px;height:37px}.hero-art>i{position:absolute;width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 14px var(--accent)}.hero-art>i:nth-last-child(2){top:10px;right:2px}.hero-art>i:last-child{bottom:10px;left:25px;background:var(--purple)}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick-actions>button{display:flex;align-items:center;gap:12px;min-width:0;padding:13px;border-radius:12px;background:var(--panel);border:1px solid var(--line);text-align:left;transition:transform .18s,border-color .18s,background .18s}.quick-actions>button:hover{transform:translateY(-2px);border-color:var(--line-strong);background:var(--panel-hover)}.quick-action__icon{width:39px;height:39px;display:grid;place-items:center;flex:none;border-radius:10px}.quick-action__icon--warm{color:var(--accent);background:var(--accent-soft)}.quick-action__icon--purple{color:var(--purple);background:var(--purple-soft)}.quick-action__icon--blue{color:var(--blue);background:#6fa9c81f}.quick-actions>button>span:nth-child(2){display:grid;gap:3px;flex:1;min-width:0}.quick-actions strong{font-size:.78rem}.quick-actions small{color:var(--muted);font-size:.67rem}.quick-actions>button>svg{color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:13px}.dashboard-recents,.activity-preview{padding:19px}.recent-media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:17px}.recent-media{min-width:0;display:grid;gap:8px}.recent-media .media-thumb{height:auto;aspect-ratio:16/10;border-radius:9px}.recent-media>div{display:grid;gap:3px}.recent-media strong{font-size:.71rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-media small{color:var(--muted);font-size:.63rem}.dashboard-side{display:grid;gap:12px}.activity-mini-list{display:grid;margin-top:13px}.activity-mini-list>a{display:grid;grid-template-columns:35px 1fr;gap:10px;padding:11px 0;border-top:1px solid var(--line)}.activity-mini-list>a:first-child{border-top:0}.activity-mini-list>a>div>div{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:7px}.activity-mini-list strong{font-size:.7rem}.job-kind-icon{width:35px;height:35px;border-radius:9px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft);flex:none}.job-kind-icon svg{width:16px;height:16px}.job-kind-icon--export{color:var(--purple);background:var(--purple-soft)}.quiet-state{display:flex;align-items:center;gap:10px;padding:25px 4px 10px;color:var(--green)}.quiet-state>div{display:grid;gap:3px}.quiet-state strong{font-size:.75rem}.quiet-state span{color:var(--muted);font-size:.66rem}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.metric-row>div{display:flex;flex-direction:column;justify-content:space-between;min-height:92px;border:1px solid var(--line);border-radius:11px;background:var(--panel);padding:11px}.metric-row span{color:var(--muted);font-size:.59rem;line-height:1.25}.metric-row span svg{display:block;color:var(--text-soft);margin-bottom:6px}.metric-row strong{font:500 1.4rem/1 Georgia,serif}.continue-project{display:grid;grid-template-columns:105px 1fr auto;gap:16px;align-items:center;padding:12px}.continue-project__thumb{height:64px;border-radius:8px;overflow:hidden;display:grid;place-items:center;position:relative;color:var(--purple);background:var(--purple-soft)}.continue-project__thumb img{width:100%;height:100%;object-fit:cover}.continue-project__thumb>span{position:absolute;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#0a0908a6;color:#fff}.continue-project__copy h2{font-size:.88rem;margin:5px 0}.continue-project__copy p{color:var(--muted);font-size:.68rem}.generate-layout{display:grid;grid-template-columns:235px minmax(0,840px);justify-content:center;gap:13px;align-items:start}.generation-kinds{padding:14px 9px;position:sticky;top:82px}.generation-kinds>button{width:100%;min-height:57px;display:grid;grid-template-columns:35px 1fr auto;align-items:center;gap:10px;padding:8px;border-radius:9px;color:var(--muted);text-align:left}.generation-kinds>button:hover{background:#ffffff06}.generation-kinds>button.is-active{background:var(--accent-soft);color:var(--text)}.generation-kinds>button>span{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#ffffff0a}.generation-kinds>button.is-active>span{color:var(--accent);background:#f3975d1f}.generation-kinds>button>div{display:grid;gap:3px}.generation-kinds strong{font-size:.76rem}.generation-kinds small{font-size:.63rem;color:var(--muted)}.generation-note{border-top:1px solid var(--line);margin:12px 4px 0;padding:15px 7px 4px;display:flex;gap:8px;color:var(--muted)}.generation-note svg{flex:none;color:var(--blue)}.generation-note p{font-size:.64rem;line-height:1.5}.generation-form{overflow:hidden}.form-section{padding:25px 28px;border-bottom:1px solid var(--line)}.form-section__heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}.form-section__heading>span{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;background:var(--accent-soft);color:var(--accent);font-size:.64rem;font-weight:750}.form-section__heading h2{font-size:.96rem}.form-section__heading p{color:var(--muted);font-size:.71rem;margin-top:4px}.generation-workflow-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:4px;margin:-4px 0 17px;border:1px solid var(--line);border-radius:11px;background:var(--surface-raised)}.generation-workflow-switch button{min-height:39px;border:1px solid transparent;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:.72rem;font-weight:720}.generation-workflow-switch button:hover{color:var(--text);background:var(--surface-hover)}.generation-workflow-switch button.is-active{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 38%,transparent);background:var(--accent-soft)}.provider-select-grid,.schema-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.schema-fields>.field:has(textarea),.schema-fields>.switch-field{grid-column:1/-1}.operation-description{display:flex;gap:8px;align-items:flex-start;color:var(--text-soft);font-size:.73rem;line-height:1.45;margin-top:13px}.operation-description svg{color:var(--accent);flex:none}.provider-meta{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:14px;color:var(--muted);font-size:.65rem}.provider-unavailable{flex-basis:100%;display:flex;align-items:flex-start;gap:7px;padding:9px 10px;border-radius:8px;color:var(--yellow);background:#d7aa5d12;line-height:1.4}.provider-unavailable svg{flex:none}.reference-fields{display:grid;gap:17px}.reference-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.reference-chip{position:relative;display:grid;grid-template-columns:44px minmax(0,110px) 24px;align-items:center;gap:7px;padding:4px;border:1px solid var(--line);border-radius:9px;background:var(--bg-raised)}.reference-chip .media-thumb{width:44px;height:36px;border-radius:6px}.reference-chip span{font-size:.68rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.reference-chip button{color:var(--muted);display:grid;place-items:center}.reference-chip--archived{border-color:#d7aa5d33}.reference-chip--incompatible{border-color:#e278703d;background:#e278700e}.reference-chip__state{position:absolute;left:34px;top:29px;z-index:2;padding:2px;border-radius:4px;color:var(--yellow);background:var(--bg-raised)}.reference-chip--missing{color:var(--red);border-color:#e2787033;background:#e278700d}.reference-chip--missing>svg,.reference-chip--loading>.spin-ring{justify-self:center}.reference-add{min-height:45px;border:1px dashed var(--line-strong);border-radius:9px;color:var(--muted);padding:8px 13px;display:flex;align-items:center;gap:7px;font-size:.7rem}.reference-add:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.reference-add:disabled{cursor:wait;opacity:.7}.reference-add--upload{border-style:solid;border-color:#6fa9c833;color:var(--blue);background:#6fa9c80e}.reference-picker-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.reference-upload-error{display:flex;align-items:flex-start;gap:6px;margin-top:8px;color:var(--red);font-size:.64rem;line-height:1.4}.reference-upload-error svg{flex:none}.modal-search,.library-search{height:39px;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;gap:8px;padding:0 10px;color:var(--muted);background:var(--bg-raised)}.modal-search input,.library-search input{border:0;box-shadow:none;background:transparent;height:100%;padding:0}.editor-media-search:focus-within,.command-search:focus-within,.modal-search:focus-within,.library-search:focus-within{border-color:#f3975db3;box-shadow:var(--focus-ring)}.editor-media-search input:focus,.command-search input:focus,.modal-search input:focus,.library-search input:focus{border-color:transparent;background:transparent;box-shadow:none}.timeline-zoom input[type=range]:focus-visible,.field input[type=range]:focus-visible,.range-label input[type=range]:focus-visible{outline:2px solid var(--accent-bright);outline-offset:4px;box-shadow:none}.reference-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:14px}.reference-grid>button{min-width:0;position:relative;text-align:left}.reference-grid .media-thumb{height:auto;aspect-ratio:1;border-radius:9px;border:2px solid transparent}.reference-grid>button.is-selected .media-thumb{border-color:var(--accent)}.reference-grid>button>span{display:block;margin-top:6px;font-size:.68rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.reference-grid>button>span small{display:block;margin-top:3px;overflow:hidden;color:var(--red);font-size:.57rem;text-overflow:ellipsis}.reference-grid>button.is-incompatible{opacity:.68;cursor:not-allowed}.reference-grid>button.is-incompatible .media-thumb{filter:grayscale(.72)}.reference-grid>button>i{position:absolute;right:6px;top:6px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#2a1609}.reference-search-hint{margin-top:12px;color:var(--muted);font-size:.66rem;text-align:center}.reference-formats{color:var(--yellow)!important}.advanced-section{padding:14px 28px;border-bottom:1px solid var(--line)}.advanced-section>button{display:flex;justify-content:space-between;align-items:center;width:100%}.advanced-section>button>span{display:flex;gap:10px;align-items:center;text-align:left}.advanced-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:var(--purple-soft);color:var(--purple)}.advanced-section>button>span>span:last-child{display:grid;gap:3px}.advanced-section strong{font-size:.77rem}.advanced-section small{color:var(--muted);font-size:.65rem}.advanced-section>button>svg{color:var(--muted);transition:transform .2s}.advanced-section>button>svg.is-open{transform:rotate(180deg)}.schema-fields--advanced{padding:20px 0 8px}.generation-submit{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px;background:#ffffff04}.generation-submit>div{display:flex;align-items:center;gap:10px;color:var(--accent)}.generation-submit p{display:grid;gap:3px}.generation-submit strong{color:var(--text);font-size:.75rem}.generation-submit span{color:var(--muted);font-size:.65rem}.loaded-snapshot{display:flex;align-items:flex-start;gap:11px;padding:12px 15px;border:1px solid rgba(111,169,200,.17);background:#6fa9c812;border-radius:11px;color:var(--blue)}.loaded-snapshot>div{flex:1;display:grid;gap:3px}.loaded-snapshot strong{color:var(--text);font-size:.76rem}.loaded-snapshot span{color:var(--text-soft);font-size:.68rem}.loaded-snapshot button{color:var(--muted);font-size:1.2rem}.loaded-snapshot--warning{color:var(--yellow);border-color:#d7aa5d33;background:#d7aa5d12}}@layer pages{.account-list__head,.account-list>article{grid-template-columns:minmax(190px,1.2fr) 120px 75px 130px 90px 340px}}@layer responsive{@media(max-width:1160px){.account-list__head,.account-list>article{min-width:1100px}}}@layer components{.button{box-shadow:inset 0 1px #ffffff06;transition:background .18s var(--ease-out),border-color .18s var(--ease-out),box-shadow .18s var(--ease-out),transform .18s var(--ease-out),color .18s var(--ease-out)}.button:active:not(:disabled){transform:translateY(0) scale(.985)}.button[data-loading=true]:disabled{cursor:progress;opacity:.82}.icon-button{transition:color .16s var(--ease-out),background .16s var(--ease-out),border-color .16s var(--ease-out),transform .16s var(--ease-out)}.icon-button:active:not(:disabled){transform:scale(.94)}.panel{box-shadow:inset 0 1px #ffffff05,0 12px 34px #00000014}.skeleton{position:relative;overflow:hidden}.empty-state__icon{box-shadow:inset 0 1px #ffffff0a}.error-state>svg{flex:none}}@layer pages{.skip-link{position:fixed;z-index:3000;top:10px;left:12px;padding:10px 13px;border:1px solid var(--accent);border-radius:9px;color:#211208;background:var(--accent-bright);box-shadow:var(--shadow-sm);font-size:.78rem;font-weight:750;transform:translateY(calc(-100% - 16px));transition:transform .18s var(--ease-out)}.skip-link:focus{outline-color:#fff;transform:translateY(0)}.app-shell{background:radial-gradient(circle at 78% -12%,rgba(170,131,223,.055),transparent 34rem),var(--bg)}.desktop-sidebar{box-shadow:inset -1px 0 #ffffff03,18px 0 60px #00000014}.brand{border-radius:10px}.brand-mark{box-shadow:inset 0 0 12px #f3975d0d,0 6px 18px #0000002e}.new-creation{box-shadow:0 8px 24px #eb854833}.sidebar-nav{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 12px;scrollbar-width:thin}.sidebar-nav>a{isolation:isolate}.sidebar-nav>a:after{content:"";position:absolute;z-index:-1;inset:5px;border-radius:7px;background:transparent;transition:background .16s var(--ease-out)}.sidebar-nav>a:hover:after{background:#ffffff05}.sidebar-nav>a.active{box-shadow:inset 0 0 0 1px #f3975d0f}.sidebar__footer{flex:none;padding-top:4px;background:linear-gradient(transparent,#13120ffa 18%)}.install-link,.profile-card{border-radius:9px;transition:color .16s var(--ease-out),background .16s var(--ease-out)}.install-link:hover,.profile-card:hover{color:var(--text);background:#ffffff09}.profile-card>svg{transition:transform .18s var(--ease-out)}.profile-card[aria-expanded=true]>svg{transform:rotate(180deg)}.profile-menu,.topbar-profile-menu{animation:menu-in .16s var(--ease-out);transform-origin:bottom center}.topbar-profile-menu{transform-origin:top right}@keyframes menu-in{0%{opacity:0;transform:translateY(4px) scale(.985)}}.app-main{min-width:0}.topbar{height:var(--topbar-height);padding-inline:var(--page-gutter);box-shadow:0 10px 35px #00000012}.global-search{transition:width .2s var(--ease-out),color .16s var(--ease-out),border-color .16s var(--ease-out),background .16s var(--ease-out),box-shadow .16s var(--ease-out)}.global-search:hover{color:var(--text-soft);border-color:var(--line-strong);background:#ffffff0a}.global-search:focus-visible{width:min(440px,44vw);border-color:#f3975d8f;outline:0;box-shadow:var(--focus-ring)}.global-search kbd{min-width:42px;text-align:center}.topbar__right{right:var(--page-gutter)}.topbar-avatar{transition:box-shadow .16s var(--ease-out),transform .16s var(--ease-out)}.topbar-avatar:hover{box-shadow:0 0 0 3px #f3975d1c;transform:translateY(-1px)}.page-content{min-width:0;padding:30px var(--page-gutter) 56px}.page-content:focus{outline:0}.product-bootstrap-banner{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.login-page{background:radial-gradient(circle at 92% 86%,rgba(170,131,223,.055),transparent 32rem),#11100e}.login-story:after{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.014) 1px,transparent 1px);background-size:100% 72px;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 25%,#000 75%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 25%,#000 75%,transparent);opacity:.34}.login-story>*{z-index:1}.login-panel{background:radial-gradient(circle at 50% 45%,rgba(243,151,93,.035),transparent 25rem)}.login-card{width:min(100%,460px);padding:clamp(27px,3vw,38px);border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,#1c1a16e0,#12110ed6);box-shadow:0 28px 90px #0000003d,inset 0 1px #ffffff06;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.login-card h2{font-size:clamp(1.65rem,2.2vw,1.9rem)}.login-card>p{max-width:36ch;font-size:.86rem}.secret-input{height:52px;border-radius:12px;transition:border-color .16s var(--ease-out),box-shadow .16s var(--ease-out),background .16s var(--ease-out)}.secret-input:hover:not(:focus-within){border-color:#f4e7d338;background:var(--input-bg)}.secret-input:focus-within{border-color:#f3975dc7;box-shadow:var(--focus-ring)}.secret-input.is-invalid:focus-within{border-color:var(--red);box-shadow:0 0 0 3px #e2787024}.secret-input button{width:40px;height:40px;flex:none;border-radius:8px;transition:color .16s var(--ease-out),background .16s var(--ease-out)}.secret-input button:hover{color:var(--text);background:#ffffff0b}.login-help{line-height:1.45}.login-security-note{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:13px;color:#7d9682;font-size:.65rem}.login-security-note svg{color:var(--green)}.dashboard-hero{box-shadow:inset 0 1px #ffffff06,0 24px 70px #0000001f}.dashboard-hero__glow{position:absolute;inset:auto auto -55% -12%;width:60%;aspect-ratio:1;border-radius:50%;background:#f3975d14;filter:blur(80px);pointer-events:none}.quick-actions>:is(a,button){display:flex;align-items:center;gap:12px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--panel);text-align:left;box-shadow:inset 0 1px #ffffff05;transition:transform .18s var(--ease-out),border-color .18s var(--ease-out),background .18s var(--ease-out),box-shadow .18s var(--ease-out)}.quick-actions>:is(a,button):hover{transform:translateY(-2px);border-color:var(--line-strong);background:var(--panel-hover);box-shadow:var(--shadow-sm)}.quick-actions>:is(a,button):active{transform:translateY(0) scale(.99)}.quick-actions>:is(a,button)>span:nth-child(2){display:grid;gap:3px;flex:1;min-width:0}.quick-actions>:is(a,button)>svg{color:var(--muted);transition:transform .18s var(--ease-out)}.quick-actions>:is(a,button):hover>svg{color:var(--text-soft);transform:translate(2px)}.dashboard-data-notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 13px;border:1px solid rgba(215,170,93,.16);border-radius:11px;color:var(--yellow);background:#d7aa5d0e}.dashboard-data-notice>div{min-width:0;display:grid;gap:3px}.dashboard-data-notice strong{color:var(--text-soft);font-size:.74rem}.dashboard-data-notice span{color:var(--muted);font-size:.66rem;line-height:1.4}.continue-project{min-height:88px;transition:border-color .18s var(--ease-out),background .18s var(--ease-out),transform .18s var(--ease-out)}.continue-project:hover{border-color:var(--line-strong);background:linear-gradient(145deg,#24201df5,#191714f5)}.recent-media{padding:5px;margin:-5px;border-radius:12px;transition:color .16s var(--ease-out),background .16s var(--ease-out),transform .16s var(--ease-out)}.recent-media:hover{color:var(--accent-bright);background:#ffffff06;transform:translateY(-2px)}.recent-media .media-thumb{box-shadow:inset 0 0 0 1px #ffffff06}.activity-mini-list>a{border-radius:8px;transition:background .16s var(--ease-out),padding .16s var(--ease-out)}.activity-mini-list>a:hover{padding-inline:7px;background:#ffffff06}.metric-row>div{transition:border-color .16s var(--ease-out),background .16s var(--ease-out)}.metric-row>div:hover{border-color:var(--line-strong);background:var(--panel-hover)}.metric-value-loading{width:30px;height:18px;display:block;border-radius:5px;background:linear-gradient(100deg,#25221e 20%,#332f28 42%,#25221e 62%);background-size:200% 100%;animation:shimmer 1.4s infinite}.metric-value{display:block;color:var(--text)}.reference-chip{grid-template-columns:44px minmax(0,110px) auto;min-height:46px}.reference-chip__position{position:absolute;z-index:3;top:-5px;left:-5px;min-width:18px;height:18px;display:grid;place-items:center;padding-inline:4px;border:1px solid rgba(243,151,93,.32);border-radius:999px;color:#241208;background:var(--accent-bright);box-shadow:0 3px 10px #00000052;font-size:.58rem;line-height:1}.reference-chip__actions{display:flex;align-items:center;justify-content:flex-end;gap:2px}.reference-chip__actions button{width:26px;height:30px;border-radius:6px;transition:color .15s var(--ease-out),background .15s var(--ease-out)}.reference-chip__actions button:hover:not(:disabled){color:var(--text);background:var(--panel-3)}.reference-chip__actions button:last-child:hover:not(:disabled){color:var(--red);background:#e278701a}.reference-chip__actions button:disabled{opacity:.28}.upload-tray__actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.upload-tray__actions button{min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 9px;border-radius:7px;transition:color .15s var(--ease-out),background .15s var(--ease-out)}.upload-tray__actions button:hover:not(:disabled){color:var(--text);background:var(--panel-3)}.upload-tray__actions button:first-child{color:var(--accent);background:var(--accent-soft)}}@layer responsive{@media(max-width:800px){:root{--topbar-height: 56px;--page-gutter: 15px;--offline-banner-height: calc(48px + env(safe-area-inset-top)) }.topbar{height:calc(var(--topbar-height) + env(safe-area-inset-top));min-height:calc(var(--topbar-height) + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);padding-inline:var(--page-gutter)}.topbar__right .icon-button,.secret-input button,.modal__header>.icon-button,.command-search>.icon-button,.mobile-sheet>header>.icon-button,.editor-mobile-close{width:44px;height:44px;min-width:44px}.offline-banner{height:var(--offline-banner-height);min-height:var(--offline-banner-height);padding:calc(5px + env(safe-area-inset-top)) 12px 5px;line-height:1.35}.offline-banner~.app-main .topbar{top:var(--offline-banner-height)}.toast-region{top:calc(10px + env(safe-area-inset-top))}.button--sm,.button--md{min-height:44px}.mobile-nav{background:linear-gradient(to top,#181613fe,#181613f0);box-shadow:0 -14px 40px #00000029}.mobile-nav>a,.mobile-nav>button{border-radius:9px;transition:color .16s var(--ease-out),background .16s var(--ease-out),transform .16s var(--ease-out)}.mobile-nav>a:active,.mobile-nav>button:active{transform:scale(.94)}.mobile-nav>a.active:not(.mobile-nav__create),.mobile-nav>button.is-active{background:linear-gradient(transparent,#f3975d0e)}.mobile-nav__create>span{border:1px solid rgba(255,255,255,.12);background:linear-gradient(135deg,var(--accent-bright),#e88750)}.mobile-sheet{max-height:min(88svh,720px);overflow:hidden;display:flex;flex-direction:column;box-shadow:0 -28px 90px #0006}.mobile-sheet>header,.mobile-sheet__account{flex:none}.mobile-sheet nav{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:3px}.mobile-sheet nav a,.mobile-sheet nav button{min-height:48px;flex:none;border-radius:8px}.mobile-sheet nav a:active,.mobile-sheet nav button:active{background:#ffffff0a}.mobile-sheet .mobile-sheet__search{min-height:62px;margin:0 0 7px;padding:8px 11px;border:1px solid rgba(243,151,93,.13);color:var(--text);background:var(--accent-soft)}.mobile-sheet__search>span{min-width:0;display:grid;gap:3px}.mobile-sheet__search strong{font-size:.75rem}.mobile-sheet__search small{color:var(--muted);font-size:.63rem}.mobile-sheet .mobile-sheet__search>svg{color:var(--accent)}.login-panel{height:100dvh;min-height:100dvh;max-height:100dvh;padding:max(20px,env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom))}.login-card{width:min(100%,430px);padding:clamp(23px,7vw,31px);border-radius:18px}.login-card__mobile-brand{margin-bottom:clamp(34px,8vh,50px)}.login-card__mobile-brand .brand-placeholder{width:105px}.login-icon{margin-bottom:17px}.dashboard-hero{min-height:330px;padding:25px 21px}.dashboard-hero h1{font-size:clamp(2.08rem,10vw,2.45rem)}.dashboard-hero__actions{gap:7px;margin-top:19px}.quick-actions>:is(a,button){min-height:67px;padding:12px 13px}.dashboard-data-notice{grid-template-columns:auto minmax(0,1fr);align-items:start}.dashboard-data-notice .button{grid-column:2;justify-self:start}.continue-project{min-height:84px}.activity-mini-list>a:hover{padding-inline:0;background:transparent}.reference-chip{width:min(100%,430px);grid-template-columns:44px minmax(0,1fr) auto;gap:8px}.reference-chip__actions{gap:1px}.reference-chip__actions button{width:44px;height:44px}.upload-tray>header{align-items:flex-start;gap:8px}.upload-tray__actions{flex-wrap:wrap}.upload-tray__actions button{min-height:44px}.editor-mobile-panel .editor-media-panel header a,.editor-mobile-panel .editor-media-filters button,.editor-mobile-panel .keyframe-toolbar button{width:44px;height:44px}.editor-mobile-panel .editor-media-search,.editor-mobile-panel .keyframe-editor input,.editor-mobile-panel .keyframe-editor select{min-height:44px}.editor-mobile-panel .keyframe-toolbar{grid-template-columns:44px 44px 44px minmax(0,1fr)}.monitor-controls{height:44px}.monitor-controls button,.monitor-controls .monitor-play{width:40px;height:40px}.timeline-toolbar{height:44px;gap:1px;padding-inline:2px}.timeline-toolbar__editing,.timeline-range-tools{gap:1px}.timeline-range-tools{padding-left:3px}.timeline-toolbar__editing>button,.timeline-toolbar__editing>details>summary,.timeline-range-tools>button{width:40px;height:40px;padding:0}.timeline-toolbar .timeline-popover button{width:100%;min-height:44px;height:auto}.timeline-marker-editor{width:min(304px,calc(100% - 16px))}.timeline-marker-editor__heading{grid-template-columns:32px minmax(0,1fr) 40px}.timeline-marker-editor__heading>button,.timeline-marker-colors button{width:40px;height:40px}.timeline-marker-editor input,.timeline-marker-editor__actions button{min-height:44px}}@media(max-width:520px){.error-state{display:grid;grid-template-columns:auto minmax(0,1fr)}.error-state .button{grid-column:2;justify-self:start}.login-card{padding-inline:20px}.dashboard-hero{min-height:315px}.hero-art{right:-92px;bottom:-40px;opacity:.42}.dashboard-data-notice span{display:none}.upload-tray>header{display:grid}.upload-tray__actions{justify-content:flex-start}}@media(max-width:360px){:root{--page-gutter: 12px}.mobile-brand strong{max-width:125px}.mobile-nav{padding-inline:3px}.mobile-nav small{font-size:.53rem}.login-panel{padding-inline:12px}.login-card{padding:20px 17px}.login-card__mobile-brand{margin-bottom:30px}.login-security-note{align-items:flex-start;text-align:left}.dashboard-hero{min-height:300px;padding:22px 17px}.dashboard-hero__copy>p{max-width:100%}.dashboard-hero__actions{width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(forced-colors:active){.brand-mark,.panel,.secret-input,.mobile-nav,.mobile-sheet{border:1px solid CanvasText}.notification-dot,.nav-dot,.sync-state i{forced-color-adjust:none}}}@layer responsive{@media(max-width:800px){.account-list.panel{display:grid;gap:12px;overflow:visible;border:0;background:transparent;box-shadow:none}.account-list__head{display:none}.account-list>article{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity status" "role keys" "activity activity" "actions actions" "details details";align-items:center;gap:12px;padding:14px;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.account-list>article>.account-identity{grid-area:identity}.account-list>article>div:nth-of-type(2){min-width:0;display:grid;grid-area:role;gap:5px}.account-list>article>div:nth-of-type(2):before,.account-list>article>span:before,.account-list>article>.key-count:before{color:var(--muted);font-size:.56rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.account-list>article>div:nth-of-type(2):before{content:"Rôle"}.account-list>article>div:nth-of-type(2) select{width:100%;min-height:44px}.account-list>article>.key-count{grid-area:keys;display:grid;grid-template-columns:auto;justify-items:end;gap:5px}.account-list>article>.key-count:before{content:"Clés"}.account-list>article>.key-count>svg{display:none}.account-list>article>.key-count>button{min-width:72px;min-height:44px;padding-inline:11px;border:1px solid var(--line-strong);border-radius:9px;background:var(--surface-raised)}.account-list>article>span{min-width:0;grid-area:activity;padding-top:2px}.account-list>article>span:before{content:"Dernière activité · "}.account-list>article>.status-toggle{min-height:44px;grid-area:status;justify-self:end}.account-list>article>.account-actions{min-width:0;display:grid;grid-area:actions;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.account-list>article>.account-actions .button{width:100%;min-width:0;min-height:44px;justify-content:center}.account-list>article>.account-actions .button:first-child{grid-column:1 / -1}.account-list>article>.account-keys{min-width:0;max-height:min(48dvh,390px);grid-area:details;overflow-y:auto;border:1px solid var(--line)}.account-list>article>.account-keys>div{min-width:0;align-items:stretch;flex-direction:column;gap:7px;padding:10px}.account-list>article>.account-keys>div>span{min-width:0;flex-wrap:wrap}.account-list>article>.account-keys code{min-width:0;overflow:hidden;text-overflow:ellipsis}}}.project-context-navigation{position:sticky;z-index:38;top:var(--topbar-height);min-height:66px;display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,2.2fr);align-items:center;gap:clamp(18px,2vw,34px);padding:8px var(--page-gutter);border-bottom:1px solid rgba(244,231,211,.1);background:#141210f0;box-shadow:0 14px 35px #0000001f;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.offline-banner~.app-main>.project-context-navigation{top:calc(var(--topbar-height) + var(--offline-banner-height))}.project-context-navigation__identity{min-width:0;display:flex;align-items:center;gap:9px}.project-context-navigation__back{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:9px;color:var(--muted)}.project-context-navigation__back:hover{color:var(--text);background:#ffffff0d}.project-context-navigation__mark{width:34px;height:34px;flex:none;display:grid;place-items:center;border:1px solid rgba(243,151,93,.2);border-radius:10px;color:var(--accent-bright);background:linear-gradient(145deg,var(--accent-soft),rgba(170,131,223,.08))}.project-context-navigation__copy{min-width:0;display:grid;gap:2px}.project-context-navigation__copy small{color:var(--muted);font-size:.58rem;font-weight:720;letter-spacing:.1em;text-transform:uppercase}.project-context-navigation__copy strong{overflow:hidden;color:var(--text);font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.project-context-navigation__format{flex:none;padding:4px 7px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#ffffff06;font-size:.58rem;font-weight:650}.project-context-navigation>nav{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:3px}.project-context-navigation>nav a{min-height:40px;display:inline-flex;align-items:center;gap:7px;padding:0 clamp(8px,1vw,12px);border-radius:9px;color:var(--muted);font-size:clamp(.65rem,.75vw,.73rem);font-weight:610;white-space:nowrap;transition:color .16s var(--ease-out),background .16s var(--ease-out)}.project-context-navigation>nav a:hover{color:var(--text-soft);background:#ffffff0a}.project-context-navigation>nav a.is-active{color:#ffd0ad;background:#f3975d1f;box-shadow:inset 0 0 0 1px #f3975d21}.app-main:has(.editor-page)>.project-context-navigation{display:none}.projects-page{gap:26px}.projects-page>.page-header{min-height:126px;align-items:center;padding:24px clamp(22px,3vw,38px);overflow:hidden;border:1px solid var(--line);border-radius:20px;background:radial-gradient(circle at 88% 12%,rgba(170,131,223,.12),transparent 32%),linear-gradient(145deg,#1f1b17fa,#161411fa);box-shadow:inset 0 1px #ffffff06,var(--shadow-sm)}.projects-toolbar{padding-inline:2px}.project-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:18px}.project-card{border-radius:17px;background:linear-gradient(155deg,#1e1c18fa,#161411fa);box-shadow:inset 0 1px #ffffff05}.project-card:hover{transform:translateY(-4px);border-color:#f3975d38;box-shadow:0 20px 45px #0000002e}.project-card__preview{min-height:180px;max-height:220px;background:radial-gradient(circle at 32% 20%,rgba(243,151,93,.11),transparent 38%),radial-gradient(circle at 75% 80%,rgba(170,131,223,.1),transparent 42%),#151310}.project-card__preview:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(9,8,7,.2),transparent 45%)}.project-card__preview>i{z-index:2;color:#24150b;background:#ffb27beb}.project-card__preview>em{z-index:2}.project-card__format{position:absolute;z-index:2;top:10px;left:10px;padding:5px 8px;border:1px solid rgba(255,255,255,.09);border-radius:999px;color:#ffffffd1;background:#0a09088c;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);font-size:.58rem;font-weight:680}.project-card__copy{min-height:91px;gap:5px;padding:15px 16px 16px}.project-card__copy strong{font-size:.88rem}.project-card__copy p{display:-webkit-box;overflow:hidden;margin:0;padding-right:30px;color:var(--muted);font-size:.67rem;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:1}.project-card__menu{right:11px;bottom:12px;width:36px;height:36px}.project-create-form__details{min-height:53px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border:1px dashed var(--line-strong);border-radius:10px;color:var(--text-soft);text-align:left}.project-create-form__details:hover{border-color:#f3975d4d;background:#f3975d0a}.project-create-form__details>span{display:grid;gap:3px}.project-create-form__details strong{font-size:.73rem}.project-create-form__details small{color:var(--muted);font-size:.62rem}.project-create-form__details>svg{flex:none;color:var(--muted);transition:transform .18s var(--ease-out)}.project-create-form__details[aria-expanded=true]>svg{transform:rotate(180deg)}.format-picker button{min-height:74px;border-radius:11px}.format-picker button.is-selected{border-color:#f3975dcc;box-shadow:inset 0 0 0 1px #f3975d1f}.project-home{max-width:1380px;gap:22px}.project-home__hero{min-height:270px;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);align-items:stretch;gap:clamp(28px,5vw,74px);padding:clamp(26px,4vw,48px);overflow:hidden;border:1px solid var(--line);border-radius:24px;background:radial-gradient(circle at 76% -20%,rgba(170,131,223,.18),transparent 38%),radial-gradient(circle at 8% 118%,rgba(243,151,93,.14),transparent 36%),linear-gradient(145deg,#211e1a,#171512 70%);box-shadow:inset 0 1px #ffffff08,0 30px 80px #0000002e}.project-home__hero-copy{align-self:center;display:flex;flex-direction:column;align-items:flex-start}.project-home__hero-copy h1{max-width:17ch;margin:10px 0 12px;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.3rem,5vw,4.7rem);font-weight:500;line-height:.98;letter-spacing:-.055em;text-wrap:balance}.project-home__hero-copy>p{max-width:58ch;margin:0;color:var(--text-soft);font-size:.86rem;line-height:1.6}.project-home__updated{display:inline-flex;align-items:center;gap:6px;margin-top:22px;color:var(--muted);font-size:.66rem}.project-home__cover{min-height:200px;align-self:stretch;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:18px;color:#ffffff85;background:linear-gradient(135deg,rgba(243,151,93,.13),transparent 48%),linear-gradient(315deg,rgba(170,131,223,.16),transparent 50%),#12110f;box-shadow:0 24px 60px #00000038;position:relative}.project-home__cover:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(7,7,6,.52),transparent 55%)}.project-home__cover img{width:100%;height:100%;object-fit:cover}.project-home__cover>span{width:58px;height:58px;z-index:1;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:50%;color:#2a170b;background:#ffb57fe0;box-shadow:0 16px 35px #00000047}.project-home__cover>small{position:absolute;z-index:1;bottom:17px;color:#ffffffb3;font-size:.65rem}.project-home__progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:9px 12px;border:1px solid var(--line);border-radius:15px;background:#1b1915db}.project-home__progress a{min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:.69rem;font-weight:620;position:relative}.project-home__progress a:not(:last-child):after{content:"";position:absolute;right:0;width:1px;height:22px;background:var(--line)}.project-home__progress a:hover{color:var(--text)}.project-home__progress i{width:22px;height:22px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:50%;color:var(--muted);font-size:.61rem;font-style:normal}.project-home__progress a.is-complete{color:var(--text-soft)}.project-home__progress a.is-complete i{border-color:#79bb8a33;color:#9cd9aa;background:#79bb8a1a}.project-home__next{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:19px;padding:clamp(20px,3vw,28px);border:1px solid rgba(243,151,93,.18);border-radius:18px;background:linear-gradient(120deg,#f3975d18,#1e1b17fa 40%);box-shadow:inset 0 1px #ffffff06}.project-home__next-icon{width:58px;height:58px;display:grid;place-items:center;border:1px solid rgba(243,151,93,.2);border-radius:17px;color:var(--accent-bright);background:#f3975d17}.project-home__next h2,.project-home__starts h2{margin:6px 0 5px;font-size:clamp(1.12rem,2vw,1.42rem);letter-spacing:-.025em}.project-home__next p,.project-home__starts header p{max-width:70ch;margin:0;color:var(--muted);font-size:.74rem;line-height:1.5}.project-home__starts{display:grid;gap:15px}.project-home__activity{min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:10px 15px;border:1px solid rgba(111,169,200,.16);border-radius:13px;color:var(--text-soft);background:#6fa9c811}.project-home__activity>span{display:flex;align-items:center;gap:9px}.project-home__activity>span svg{color:#8cc5df}.project-home__activity strong{font-size:.72rem}.project-home__activity small{color:var(--muted);font-size:.64rem}.project-home__starts>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.project-home__starts>div>a{min-height:118px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:17px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(145deg,#1d1b17fa,#171512fa);transition:transform .18s var(--ease-out),border-color .18s var(--ease-out),background .18s var(--ease-out)}.project-home__starts>div>a:hover{transform:translateY(-3px);border-color:var(--line-strong);background:var(--panel-hover)}.project-home__starts>div>a>span:nth-child(2){min-width:0;display:grid;gap:5px}.project-home__starts strong{font-size:.78rem}.project-home__starts small{color:var(--muted);font-size:.65rem;line-height:1.45}.project-home__starts>div>a>svg{color:var(--muted)}.project-start-card__icon{width:43px;height:43px;display:grid;place-items:center;border-radius:12px}.project-start-card__icon--people{color:#c7a3f4;background:#aa83df1f}.project-start-card__icon--story{color:#f5aa7b;background:#f3975d1f}.project-start-card__icon--import{color:#8cc5df;background:#6fa9c81f}.project-home__media{display:grid;gap:13px}.project-home__media>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.project-home__media>header h2{margin-top:6px;font-size:1.1rem}.project-home__media>header>a{display:inline-flex;align-items:center;gap:5px;color:var(--text-soft);font-size:.68rem}.project-home__media>div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.project-home__media>div>a{min-width:0;display:grid;gap:8px;padding:5px 5px 9px;border:1px solid var(--line);border-radius:12px;background:var(--panel);transition:transform .17s var(--ease-out),border-color .17s var(--ease-out)}.project-home__media>div>a:hover{transform:translateY(-2px);border-color:var(--line-strong)}.project-home__media .media-thumb{width:100%;aspect-ratio:4 / 3;border-radius:8px}.project-home__media>div>a>span{min-width:0;display:grid;gap:3px;padding-inline:3px}.project-home__media strong{overflow:hidden;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.project-home__media small{color:var(--muted);font-size:.59rem;text-transform:capitalize}.project-home__summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--line)}.project-home__summary>div{min-height:68px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px 15px;color:var(--muted);background:var(--panel)}.project-home__summary span{font-size:.68rem}.project-home__summary strong{color:var(--text);font-size:.84rem}@media(max-width:1180px){.project-context-navigation{grid-template-columns:minmax(190px,.65fr) minmax(0,2.35fr)}.project-context-navigation>nav a{padding-inline:8px}.project-context-navigation>nav a svg{display:none}.project-home__starts>div{grid-template-columns:1fr 1fr}.project-home__starts>div>a:last-child{grid-column:1 / -1}.project-home__media>div{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:960px){.project-context-navigation__mark,.project-context-navigation__format{display:none}.project-home__hero{grid-template-columns:minmax(0,1.15fr) minmax(230px,.85fr)}.project-home__summary{grid-template-columns:repeat(3,1fr)}}@media(max-width:800px){.project-context-navigation{top:calc(var(--topbar-height) + env(safe-area-inset-top));min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:7px var(--page-gutter) 6px}.offline-banner~.app-main>.project-context-navigation{top:calc(var(--topbar-height) + var(--offline-banner-height))}.project-context-navigation__identity{min-height:44px}.project-context-navigation__back{width:44px;height:44px}.project-context-navigation__mark{display:grid;width:31px;height:31px}.project-context-navigation__copy{flex:1}.project-context-navigation__format{display:inline-flex}.project-context-navigation>nav{justify-content:flex-start;overflow-x:auto;margin-inline:calc(var(--page-gutter) * -1);padding:1px var(--page-gutter) 4px;scrollbar-width:none}.project-context-navigation>nav::-webkit-scrollbar{display:none}.project-context-navigation>nav a{min-height:36px;padding-inline:10px;font-size:.64rem}.project-context-navigation>nav a svg{display:block}.projects-page>.page-header{min-height:0;align-items:flex-start;padding:21px;border-radius:17px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-card__preview{min-height:150px}.project-home__hero{min-height:0;grid-template-columns:1fr;padding:27px 22px 22px;border-radius:20px}.project-home__hero-copy h1{font-size:clamp(2.35rem,11vw,3.3rem)}.project-home__cover{min-height:190px;max-height:260px}.project-home__progress{display:flex;overflow-x:auto;justify-content:flex-start;padding-inline:8px;scrollbar-width:none}.project-home__progress::-webkit-scrollbar{display:none}.project-home__progress a{min-width:112px;flex:0 0 auto}.project-home__next{grid-template-columns:auto minmax(0,1fr)}.project-home__next .button{grid-column:1 / -1;width:100%}.project-home__media>div{display:flex;overflow-x:auto;padding:2px 1px 7px;scroll-snap-type:x proximity;scrollbar-width:none}.project-home__media>div::-webkit-scrollbar{display:none}.project-home__media>div>a{width:148px;flex:0 0 148px;scroll-snap-align:start}}@media(max-width:620px){.projects-page>.page-header{display:grid}.projects-page>.page-header .button{width:100%}.project-grid{grid-template-columns:1fr}.project-card__preview{max-height:240px}.format-picker>div{grid-template-columns:repeat(3,minmax(0,1fr))}.format-picker button{min-height:90px;flex-direction:column;justify-content:center;gap:8px;text-align:center}.format-picker button>span{justify-items:center}.format-picker small{display:none}.project-home__starts>div{grid-template-columns:1fr}.project-home__starts>div>a:last-child{grid-column:auto}.project-home__summary{grid-template-columns:1fr 1fr}}@media(max-width:430px){.project-context-navigation__format,.project-context-navigation__mark{display:none}.project-home__hero{padding:24px 18px 18px}.project-home__cover{min-height:165px}.project-home__next{grid-template-columns:1fr;gap:13px;padding:19px}.project-home__next-icon{width:48px;height:48px}.project-home__next .button{grid-column:auto}.project-home__activity{grid-template-columns:minmax(0,1fr) auto}.project-home__activity>small{display:none}.project-home__starts>div>a{min-height:106px;padding:14px}.project-home__summary>div{min-height:74px;grid-template-columns:auto 1fr}.project-home__summary strong{grid-column:2}}@media(forced-colors:active){.project-context-navigation,.project-home__hero,.project-home__next,.project-home__starts>div>a,.project-home__progress{border:1px solid CanvasText}}.app-shell--project{background:#12110f}.app-shell--project .page-content{min-height:calc(100svh - 102px);padding:12px 14px 28px}.app-shell--project .page-content:has(.editor-page){min-height:0;padding:0}.app-shell--project .page-content>.page-stack{width:100%;max-width:none;gap:12px}.app-shell--project .page-header{min-height:52px;align-items:center;gap:12px;padding:7px 10px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}.app-shell--project .page-header__copy{min-width:0}.app-shell--project .page-header__copy .eyebrow,.app-shell--project .page-header__copy>p{display:none}.app-shell--project .page-header__copy h1{overflow:hidden;margin:0;font-size:.96rem;font-weight:680;letter-spacing:-.015em;text-overflow:ellipsis;white-space:nowrap}.app-shell--project .page-header__actions{flex-wrap:nowrap;margin-left:auto}.app-shell--project .page-header__actions .button{min-height:36px}.app-shell--project .preproduction-context{display:none}.app-shell--project .preproduction-page,.app-shell--project .library-page,.app-shell--project .activity-page,.app-shell--project .exports-page{gap:9px}.project-home{max-width:none}.project-home__hero{min-height:112px;grid-template-columns:minmax(0,1fr) minmax(155px,205px);gap:18px;padding:14px 16px;border-radius:13px;box-shadow:inset 0 1px #ffffff06}.project-home__hero-copy h1{max-width:none;margin:6px 0 7px;font-family:inherit;font-size:clamp(1.5rem,2.4vw,2rem);font-weight:680;line-height:1.02;letter-spacing:-.045em}.project-home__hero-copy>p{font-size:.76rem;line-height:1.45}.project-home__updated{margin-top:11px}.project-home__cover{min-height:84px;max-height:98px;border-radius:10px;box-shadow:0 12px 30px #0000002e}.project-home__cover>span{width:44px;height:44px}.project-home__cover>small{bottom:9px}.project-home__progress{padding:4px 7px;border-radius:9px;background:var(--panel)}.project-home__progress a{min-height:36px}.project-home__progress i{width:19px;height:19px}.project-home__decision-grid{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(430px,1.22fr);gap:10px}.project-home__next{min-height:100%;grid-column:1;grid-row:1;grid-template-columns:auto minmax(0,1fr);align-content:center;gap:12px;padding:16px;border-radius:11px}.project-home__next .button{grid-column:1 / -1;width:100%;min-height:38px}.project-home__next-icon{width:44px;height:44px;border-radius:11px}.project-home__next h2,.project-home__starts h2{margin:3px 0;font-size:.96rem}.project-home__next p,.project-home__starts header p{font-size:.66rem}.project-home__starts{grid-column:2;grid-row:1;gap:8px;padding:12px;border:1px solid var(--line);border-radius:11px;background:#191714b8}.project-home__starts>div{display:grid;grid-template-columns:1fr;gap:4px}.project-home__starts>div>a,.project-home__starts>div>a:last-child{min-height:58px;grid-column:auto;gap:10px;padding:8px 10px;border-color:transparent;border-radius:8px;background:transparent}.project-home__starts>div>a:hover{transform:none;border-color:var(--line);background:#ffffff06}.project-start-card__icon{width:36px;height:36px;border-radius:9px}.project-home__activity{grid-column:1 / -1;grid-row:2;min-height:48px;padding-block:7px;border-radius:9px}.project-home__summary>div{min-height:52px;padding:8px 12px}@media(min-width:801px){.app-shell--project .desktop-sidebar{display:none}.app-shell--project .app-main{--topbar-height: 48px;margin-left:0}.app-shell--project .topbar{height:var(--topbar-height);padding-inline:14px;justify-content:flex-start}.app-shell--project .global-search{width:min(330px,32vw);height:32px;margin-left:auto;margin-right:auto}.app-shell--project .topbar__right{right:14px}.app-shell--project .project-context-navigation{top:var(--topbar-height);min-height:54px;grid-template-columns:minmax(235px,.72fr) minmax(0,2.28fr);padding:5px 14px}.app-shell--project .offline-banner~.app-main>.project-context-navigation{top:calc(var(--topbar-height) + var(--offline-banner-height))}}@media(max-width:980px){.project-home__decision-grid{grid-template-columns:1fr}.project-home__next,.project-home__starts,.project-home__activity{grid-column:1;grid-row:auto}}@media(max-width:800px){.app-shell--project .topbar{display:none}.app-shell--project .project-context-navigation{top:0;padding-top:calc(7px + env(safe-area-inset-top))}.app-shell--project .project-context-navigation>nav{display:none}.app-shell--project .offline-banner~.app-main>.project-context-navigation{top:var(--offline-banner-height);padding-top:7px}.app-shell--project .page-content{min-height:calc(100svh - 72px);padding:8px 10px calc(78px + env(safe-area-inset-bottom))}.app-shell--project .page-header{min-height:48px;padding:5px 3px 7px}.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.project-home__progress,.project-home__summary{display:none}.project-home__hero{min-height:0;grid-template-columns:minmax(0,1fr) 112px;gap:14px;padding:15px;border-radius:11px}.project-home__hero-copy h1{font-size:clamp(1.5rem,7vw,2rem)}.project-home__cover{min-height:96px;max-height:112px}.project-home__cover>small{display:none}.project-home__starts{padding:10px}}@media(max-width:520px){.project-home__hero{grid-template-columns:1fr}.project-home__cover{display:none}.project-home__hero-copy>.eyebrow{display:none}.project-home__summary{grid-template-columns:repeat(2,1fr)}}.project-home__starts>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.project-home__starts>header>div{min-width:0}.project-home__starts-toggle{display:none}@media(max-width:800px){.project-home__starts-toggle{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding-inline:10px;border-radius:9px;color:var(--text-soft);background:var(--panel-2);font-size:.69rem;font-weight:700}.project-home__starts-toggle svg{transition:transform .16s var(--ease-out)}.project-home__starts.is-open .project-home__starts-toggle svg{transform:rotate(180deg)}.project-home__starts:not(.is-open)>div{display:none}.projects-page{gap:15px}.projects-page>.page-header{min-height:0;display:grid;gap:13px;padding:3px 0 0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.projects-page>.page-header .eyebrow,.projects-page>.page-header__copy>p{display:none}.projects-page>.page-header h1{font-size:1.55rem;letter-spacing:-.035em}.projects-page>.page-header .page-header__actions,.projects-page>.page-header .button{width:100%}.projects-page>.page-header .button{min-height:68px;justify-content:center;border-radius:15px;font-size:.88rem}.projects-toolbar{gap:8px}.projects-toolbar .library-search{width:100%}.projects-toolbar>.badge{display:none}.project-grid{gap:8px}.project-card{border-radius:12px}.project-card__open{min-height:92px;display:grid;grid-template-columns:112px minmax(0,1fr);align-items:stretch}.project-card__preview{min-height:92px;max-height:92px}.project-card__preview>i,.project-card__format{display:none}.project-card__copy{min-height:92px;align-content:center;gap:7px;padding:12px 48px 12px 13px}.project-card__copy strong{padding:0;font-size:.82rem}.project-card__copy p{display:none}.project-card__menu{top:50%;right:8px;bottom:auto;width:44px;height:44px;transform:translateY(-50%)}}:root,:root[data-theme=dark]{--bg: #100f0d;--bg-raised: #151411;--panel: #1a1815;--panel-2: #201e1a;--panel-3: #292620;--panel-hover: #24211d;--surface: var(--panel);--surface-raised: var(--panel-2);--surface-hover: var(--panel-hover);--input-bg: #12110f;--input-focus-bg: #161411;--line: rgba(244, 231, 211, .09);--line-strong: rgba(244, 231, 211, .15);--text: #f5efe6;--text-soft: #c8beb0;--muted: #8e877e;--accent: #f3975d;--accent-bright: #ffad75;--accent-soft: rgba(243, 151, 93, .14);--purple: #aa83df;--purple-soft: rgba(170, 131, 223, .14);--blue: #6fa9c8;--green: #79bb8a;--red: #e27870;--yellow: #d7aa5d;--shadow-sm: 0 8px 24px rgba(0, 0, 0, .2);--shadow: 0 20px 65px rgba(0, 0, 0, .32);--shadow-lg: 0 34px 110px rgba(0, 0, 0, .46);--focus-ring: 0 0 0 3px rgba(243, 151, 93, .16);--studio-chrome: rgba(19, 18, 15, .96);--studio-topbar: rgba(16, 15, 13, .9);--sheet: #1a1815;--scrim: rgba(13, 12, 10, .68);--canvas: #26231f;--on-accent: #241208;--media-overlay: rgba(8, 7, 6, .86);--media-overlay-line: rgba(255, 255, 255, .15);--media-overlay-text: #ffffff;--media-overlay-muted: rgba(255, 255, 255, .72);--media-overlay-shadow: rgba(0, 0, 0, .3);color-scheme:dark}:root[data-theme=light]{--bg: #f5f1ea;--bg-raised: #fbf8f3;--panel: #fffdf9;--panel-2: #f4eee5;--panel-3: #eae2d7;--panel-hover: #f0e8de;--surface: var(--panel);--surface-raised: var(--panel-2);--surface-hover: var(--panel-hover);--input-bg: #fffdf9;--input-focus-bg: #ffffff;--line: rgba(63, 48, 35, .1);--line-strong: rgba(63, 48, 35, .18);--text: #28211b;--text-soft: #554b42;--muted: #6f655b;--accent: #b44b1b;--accent-bright: #a94718;--accent-soft: rgba(180, 75, 27, .12);--purple: #7653aa;--purple-soft: rgba(118, 83, 170, .11);--blue: #397b9d;--green: #3e8553;--red: #b94d48;--yellow: #9a6a1d;--shadow-sm: 0 7px 20px rgba(69, 48, 30, .08);--shadow: 0 18px 55px rgba(69, 48, 30, .13);--shadow-lg: 0 30px 90px rgba(69, 48, 30, .17);--focus-ring: 0 0 0 3px rgba(180, 75, 27, .16);--studio-chrome: rgba(250, 247, 241, .97);--studio-topbar: rgba(255, 253, 249, .92);--sheet: #fffdf9;--scrim: rgba(48, 39, 31, .34);--canvas: #26231f;--on-accent: #fffaf5;color-scheme:light}:root[data-theme=light] .panel{color:var(--text);background:linear-gradient(145deg,var(--panel),var(--panel-2));box-shadow:var(--shadow-sm)}body{color:var(--text);background:radial-gradient(circle at 82% -20%,var(--purple-soft),transparent 36%),var(--bg)}.app-shell,.app-shell--project{color:var(--text);background:radial-gradient(circle at 78% -12%,var(--purple-soft),transparent 34rem),var(--bg)}.desktop-sidebar{border-color:var(--line);background:var(--studio-chrome)}.sidebar__footer{background:linear-gradient(transparent,var(--studio-chrome) 18%)}.topbar,.project-context-navigation{border-color:var(--line);background:var(--studio-topbar)}.mobile-nav,.mobile-sheet,.profile-menu,.topbar-profile-menu,.modal{color:var(--text);border-color:var(--line-strong);background:var(--panel)}.mobile-nav,.editor-mobile-tools{background:var(--studio-chrome)}.command-palette,.modal__footer{color:var(--text);border-color:var(--line);background:var(--sheet)}.editor-mobile-panel{background:var(--scrim)}.theme-preference{display:grid;gap:6px;padding:7px;border-bottom:1px solid var(--line)}.theme-preference>span{padding-inline:2px;color:var(--muted);font-size:.58rem;font-weight:720;letter-spacing:.08em;text-transform:uppercase}.theme-preference>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--bg-raised)}.theme-preference button{min-width:0;min-height:34px;display:flex;align-items:center;justify-content:center;gap:4px;padding:4px;border-radius:6px;color:var(--muted)}.theme-preference button:hover{color:var(--text);background:var(--panel-hover)}.theme-preference button[aria-pressed=true]{color:var(--text);background:var(--panel-3);box-shadow:var(--shadow-sm)}.theme-preference button small{font-size:.55rem}.profile-menu{width:226px;inset-inline:auto 4px}.topbar-profile-menu{width:246px}.theme-preference--mobile{flex:none;margin:0 12px 6px;padding:8px 0 10px}:root[data-theme=light] .app-shell--project .project-context-navigation{box-shadow:0 10px 30px #45301e12}:root[data-theme=light] .project-context-navigation>nav a.is-active{color:#8e3d18;background:#c85f2a1a;box-shadow:inset 0 0 0 1px #c85f2a1f}:root[data-theme=light] .project-context-navigation__mark,:root[data-theme=light] .project-home__next-icon{color:var(--accent);background:var(--accent-soft)}:root[data-theme=light] .projects-page>.page-header,:root[data-theme=light] .project-card,:root[data-theme=light] .project-home__hero,:root[data-theme=light] .project-home__next,:root[data-theme=light] .project-home__starts,:root[data-theme=light] .project-home__starts>div>a{color:var(--text);border-color:var(--line);background:var(--panel);box-shadow:var(--shadow-sm)}:root[data-theme=light] .project-card__preview,:root[data-theme=light] .project-home__cover{color:var(--muted);background:radial-gradient(circle at 28% 18%,var(--accent-soft),transparent 42%),radial-gradient(circle at 78% 82%,var(--purple-soft),transparent 44%),var(--panel-2)}:root[data-theme=light] .project-home__cover:after,:root[data-theme=light] .project-card__preview:after{background:linear-gradient(to top,rgba(55,42,31,.08),transparent 55%)}:root[data-theme=light] .project-home__cover>span,:root[data-theme=light] .project-card__preview>i,:root[data-theme=light] .mobile-nav__create>span,:root[data-theme=light] .button--primary{color:var(--on-accent);background:linear-gradient(135deg,#bd5423,#a94419)}:root[data-theme=light] .project-home__cover>small,:root[data-theme=light] .project-card__format{color:var(--text-soft);background:#fffdf9d1}:root[data-theme=light] .login-page{background:var(--bg)}:root[data-theme=light] .login-story{background:radial-gradient(circle at 24% 20%,var(--accent-soft),transparent 32rem),var(--panel-2)}:root[data-theme=light] .login-card,:root[data-theme=light] .secret-input{color:var(--text);border-color:var(--line-strong);background:var(--panel)}:root[data-theme=light] .editor-page,:root[data-theme=light] .editor-header,:root[data-theme=light] .editor-media-panel,:root[data-theme=light] .inspector,:root[data-theme=light] .timeline-panel,:root[data-theme=light] .timeline-track-header,:root[data-theme=light] .timeline-corner{color:var(--text);background:var(--panel)}:root[data-theme=light] .editor-monitor,:root[data-theme=light] .monitor-frame,:root[data-theme=light] .timeline-track-lane{background:var(--canvas)}:root[data-theme=light] .context-action-menu{background:color-mix(in srgb,var(--panel) 94%,#7e7165)}@media(max-width:800px){.app-shell--project .page-content:has(.editor-page){min-height:0;padding:0}.editor-page{height:100dvh;min-height:0}.editor-header{height:calc(56px + env(safe-area-inset-top));min-height:calc(56px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}.editor-header .icon-button{width:44px;height:44px;min-width:44px}.timeline-workspace{grid-template-columns:96px minmax(0,1fr)}.timeline-toolbar{min-height:44px;overflow-x:auto;overflow-y:hidden}.timeline-toolbar button,.timeline-add-menu>summary{min-width:44px;min-height:44px}.editor-mobile-tools button{min-width:44px;min-height:44px;font-size:.69rem}.editor-mobile-panel>.editor-media-panel,.editor-mobile-panel>.inspector{inset:auto 0 0;width:100%;height:min(78dvh,720px);max-height:calc(100dvh - env(safe-area-inset-top) - 10px);padding-bottom:env(safe-area-inset-bottom);overflow:hidden;border:1px solid var(--line-strong);border-bottom:0;border-radius:22px 22px 0 0;background:var(--sheet);box-shadow:0 -28px 80px #00000057}.editor-mobile-panel>.editor-media-panel:before,.editor-mobile-panel>.inspector:before{position:absolute;z-index:2;top:7px;left:50%;width:38px;height:4px;border-radius:999px;background:var(--line-strong);content:"";transform:translate(-50%)}.editor-mobile-close{top:12px;right:10px;left:auto;width:44px;height:44px}.filter-tabs button{min-height:44px;font-size:.73rem}.job-row{grid-template-columns:40px minmax(0,1fr) auto 20px}.job-row__outputs{display:flex}.job-row__outputs .media-thumb,.job-row__outputs>span{width:44px;height:44px}.job-row__outputs>:nth-child(n+2){display:none}.mobile-nav small{font-size:.69rem}.theme-preference button{min-height:42px}.theme-preference button small{font-size:.62rem}}@media(max-width:380px){.job-row{grid-template-columns:36px minmax(0,1fr) 20px}.job-row__outputs{grid-column:2;justify-self:start;margin-top:3px}.job-row>svg{grid-column:3;grid-row:1}}@media(forced-colors:active){.theme-preference>div,.theme-preference button[aria-pressed=true]{border:1px solid CanvasText}}.onboarding-is-open{overflow:hidden}.onboarding-tour{--onboarding-scrim: rgb(8 8 7 / .72);--onboarding-on-accent: #21140d;position:fixed;inset:0;z-index:2500;isolation:isolate}[data-theme=light] .onboarding-tour{--onboarding-scrim: rgb(36 29 22 / .54);--onboarding-on-accent: #fffaf5}.onboarding-tour__blocker,.onboarding-tour__scrim{position:fixed;inset:0}.onboarding-tour__blocker{z-index:0;background:transparent}.onboarding-tour__scrim{z-index:1;background:var(--onboarding-scrim);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.onboarding-tour__spotlight{position:fixed;z-index:1;border:2px solid var(--accent);border-radius:13px;box-shadow:0 0 0 9999px var(--onboarding-scrim),0 0 0 4px color-mix(in srgb,var(--accent) 20%,transparent),0 10px 32px #00000040;pointer-events:none;transition:inset .18s ease,width .18s ease,height .18s ease}.onboarding-tour__card{position:fixed;z-index:2;width:min(374px,calc(100vw - 24px));max-height:min(580px,calc(100dvh - 24px));overflow:auto;padding:18px;border:1px solid var(--line-strong);border-radius:18px;outline:none;background:var(--panel);color:var(--text);box-shadow:var(--shadow-lg)}.onboarding-tour__card:focus-visible{box-shadow:var(--focus-ring),var(--shadow-lg)}.onboarding-tour__header,.onboarding-tour__card footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.onboarding-tour__eyebrow{color:var(--accent);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.onboarding-tour__close{display:grid;width:44px;height:44px;padding:0;place-items:center;border:0;border-radius:10px;background:transparent;color:var(--muted);cursor:pointer}.onboarding-tour__close:hover{background:var(--surface-hover);color:var(--text)}.onboarding-tour__card h2{margin:10px 0 6px;color:var(--text);font-size:1.28rem;font-weight:750;line-height:1.2;letter-spacing:-.025em}.onboarding-tour__card>p{margin:0;color:var(--muted);font-size:.92rem;line-height:1.5}.onboarding-tour__mascot{float:right;width:76px;height:76px;margin:4px 0 6px 12px;object-fit:contain}.onboarding-tour__card .theme-preference{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.onboarding-tour__progress{display:flex;gap:5px;margin:16px 0}.onboarding-tour__progress i{width:18px;height:3px;border-radius:999px;background:var(--line-strong)}.onboarding-tour__progress i.is-complete{background:var(--accent)}.onboarding-tour__card footer{padding-top:2px}.onboarding-tour__skip,.onboarding-tour__next{min-height:42px;padding:0 15px;border-radius:12px;font-size:.88rem;font-weight:750;line-height:1;cursor:pointer}.onboarding-tour__skip{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--muted)}.onboarding-tour__next{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--accent);background:var(--accent);color:var(--onboarding-on-accent);box-shadow:0 7px 18px color-mix(in srgb,var(--accent) 22%,transparent)}.onboarding-tour button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}@media(max-width:620px){.onboarding-tour__spotlight{border-radius:12px}.onboarding-tour__card{inset:auto 8px calc(76px + env(safe-area-inset-bottom,0px));width:auto;max-height:min(66dvh,520px);padding:16px;border-radius:20px;box-shadow:0 -14px 42px #00000057}.onboarding-tour__card h2{font-size:1.18rem}.onboarding-tour__skip,.onboarding-tour__next{min-height:46px}}@media(prefers-reduced-motion:reduce){.onboarding-tour__spotlight{transition:none}}@media(forced-colors:active){.onboarding-tour__spotlight{border:3px solid Highlight;box-shadow:0 0 0 9999px #000000b8}.onboarding-tour__card{border:2px solid CanvasText}}@media(max-width:800px){body{padding-bottom:0}.mobile-nav{height:calc(58px + env(safe-area-inset-bottom));padding:3px 6px 0;align-items:stretch}.mobile-nav>a,.mobile-nav>button{height:auto;min-height:55px;padding:2px 0 env(safe-area-inset-bottom)}.mobile-nav>a.active:not(.mobile-nav__create),.mobile-nav>button.is-active{border-radius:9px 9px 0 0;background:linear-gradient(to bottom,transparent,color-mix(in srgb,var(--accent) 8%,transparent))}.mobile-nav__create>span{margin-top:-8px}.page-content{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.app-shell--project .page-content{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.modal__footer{padding-bottom:calc(14px + env(safe-area-inset-bottom))}}@media(max-width:360px){.mobile-nav{padding-inline:3px}}.project-workspace-sidebar{min-height:0;display:flex;flex:1;flex-direction:column;padding-top:10px}.project-workspace-sidebar__all-projects{min-height:34px;display:flex;align-items:center;gap:8px;margin:0 3px 8px;padding:0 8px;border-radius:8px;color:var(--muted);font-size:.69rem;font-weight:620}.project-workspace-sidebar__all-projects:hover{color:var(--text);background:color-mix(in srgb,var(--text) 5%,transparent)}.project-workspace-sidebar__identity{min-width:0;display:grid;grid-template-columns:37px minmax(0,1fr);align-items:center;gap:10px;margin:0 3px 12px;padding:10px;border:1px solid var(--line);border-radius:11px;background:color-mix(in srgb,var(--panel-2) 76%,transparent)}.project-workspace-sidebar__identity>span{width:37px;height:37px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 23%,transparent);border-radius:10px;color:var(--accent-bright);background:color-mix(in srgb,var(--accent) 10%,transparent)}.project-workspace-sidebar__identity>div{min-width:0;display:grid;gap:2px}.project-workspace-sidebar__identity small{color:var(--muted);font-size:.55rem;font-weight:720;letter-spacing:.09em;text-transform:uppercase}.project-workspace-sidebar__identity strong{overflow:hidden;color:var(--text);font-size:.79rem;font-weight:690;text-overflow:ellipsis;white-space:nowrap}.project-workspace-sidebar__identity em{color:var(--muted);font-size:.59rem;font-style:normal}.project-workspace-sidebar__create{min-height:43px;display:flex;align-items:center;justify-content:center;gap:9px;margin:0 3px 19px;padding:0 12px;border:1px solid color-mix(in srgb,var(--accent-bright) 52%,transparent);border-radius:10px;color:#fff8f1;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 91%,#7b2f13),color-mix(in srgb,var(--accent-bright) 80%,#b74721));box-shadow:0 9px 26px color-mix(in srgb,var(--accent) 20%,transparent);font-size:.76rem;font-weight:740;transition:transform .16s var(--ease-out),filter .16s var(--ease-out),box-shadow .16s var(--ease-out)}.project-workspace-sidebar__create:hover{filter:brightness(1.07);transform:translateY(-1px);box-shadow:0 12px 30px color-mix(in srgb,var(--accent) 27%,transparent)}.project-workspace-sidebar__create.is-active{box-shadow:0 10px 30px color-mix(in srgb,var(--accent) 25%,transparent),inset 0 0 0 1px color-mix(in srgb,white 24%,transparent)}.project-workspace-sidebar__navigation{min-height:0;display:flex;flex:1;flex-direction:column;gap:3px;overflow-y:auto;padding:0 2px 12px;overscroll-behavior:contain;scrollbar-width:thin}.project-workspace-sidebar__navigation>a{position:relative;min-height:40px;display:flex;align-items:center;gap:10px;padding:0 10px;border-radius:9px;color:var(--muted);font-size:.75rem;font-weight:580;transition:color .15s var(--ease-out),background .15s var(--ease-out)}.project-workspace-sidebar__navigation>a:hover{color:var(--text-soft);background:color-mix(in srgb,var(--text) 4%,transparent)}.project-workspace-sidebar__navigation>a.is-active{color:var(--text);background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 15%,transparent),color-mix(in srgb,var(--accent) 5%,transparent));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 7%,transparent)}.project-workspace-sidebar__navigation>a.is-active:before{content:"";position:absolute;left:0;width:2px;height:20px;border-radius:999px;background:var(--accent-bright)}.project-workspace-sidebar__navigation>a.is-active svg{color:var(--accent-bright)}.project-workspace-sidebar__navigation .badge{margin-left:auto}@media(min-width:801px){.app-shell--project{--sidebar-width: clamp(218px, 17vw, 236px)}.app-shell--project .desktop-sidebar{display:flex;padding:14px 12px 12px}.app-shell--project:has(.editor-page) .desktop-sidebar{display:flex}.app-shell--project .desktop-sidebar .brand{min-height:39px;padding-inline:6px}.app-shell--project .app-main{margin-left:var(--sidebar-width)}.app-shell--project .project-context-navigation{display:none}.app-shell--project .page-content{min-height:calc(100svh - var(--topbar-height))}}@media(max-width:800px){.app-shell--project .project-context-navigation{min-height:49px;display:block;padding-bottom:7px}}@media(forced-colors:active){.project-workspace-sidebar__identity,.project-workspace-sidebar__create,.project-workspace-sidebar__navigation>a.is-active{border:1px solid CanvasText}}
