:root{--accent:#4f46e5;--accent-weak:color-mix(in oklab,var(--accent) 12%,transparent);--local-row-tint:6%;--accent-ink:#ffffff;--bg:#f7f7f8;--surface:#ffffff;--surface-2:#f0f2f5;--surface-sunk:#eceef2;--ink:#16181d;--ink-2:#494e57;--ink-3:#7c828c;--ink-4:#a8adb6;--line:#e4e7ec;--line-2:#d6dae1;--r-sm:7px;--r-md:11px;--r-lg:16px;--r-xl:22px;--shadow-1:0 1px 2px rgba(16,18,23,0.05),0 1px 1px rgba(16,18,23,0.04);--shadow-2:0 4px 14px rgba(16,18,23,0.08),0 1px 3px rgba(16,18,23,0.05);--shadow-3:0 18px 50px rgba(16,18,23,0.18),0 4px 12px rgba(16,18,23,0.1);--font-sans:var(--font-jakarta,"Plus Jakarta Sans"),var(--font-sans-thai,"IBM Plex Sans Thai"),system-ui,sans-serif;--font-mono:"IBM Plex Mono",ui-monospace,monospace;--fs:15px;--row-pad:22px;--sidebar-w:360px;--bp-mobile:768px;--topbar-h:52px;--purple-600:#4318ff;--purple-500:#603cff;--purple-50:#f2efff;--ink-title:#0d0d0d;--ink-navy:#1b2559;--ink-placeholder:#8e8e8e;--line-soft:#e5e5e5;--btn-secondary-bg:#f5f5f5;--btn-black-bg:#000000;--badge-bg:#efefef;--badge-ink:#a8a8a8;--shadow-card:14px 27px 60px 4px rgba(0,0,0,0.08);--shadow-float:14px 27px 30px rgba(0,0,0,0.08);--shadow-chip:3px 17px 40px 4px rgba(112,144,176,0.08);--shadow-composer:0 4px 7px rgba(16,18,23,0.08),0 1px 1.5px rgba(16,18,23,0.05);--hover-overlay:rgba(0,0,0,0.07);--edit-box-bg:#e9e9e9;--ink-muted:#6b6b6b;--success-ink:#148d41;--success-dot:#16d15b;--table-head-bg:#fafafa;--purple-badge-border:#ddd5ff;--purple-badge-ink:#5b3df5;--accent-badge-border:color-mix(in oklab,var(--accent) 22%,#ffffff);--accent-badge-ink:var(--accent);--success:#16a34a;--success-bg:color-mix(in oklab,#16a34a 10%,transparent);--warning:#ca8a04;--warning-bg:color-mix(in oklab,#ca8a04 10%,transparent);--warning-ink:#a16207;--danger:#dc2626;--danger-bg:color-mix(in oklab,#dc2626 10%,transparent);--info:#0284c7;--info-bg:color-mix(in oklab,#0284c7 10%,transparent);--changed:#b45309;--changed-bg:color-mix(in oklab,#b45309 10%,transparent);--bg-subtle:var(--surface-2);--text:var(--ink);--text-2:var(--ink-2);--muted:var(--ink-3);--border:var(--line);--border-2:var(--line-2);--accent-subtle:var(--accent-weak);--accent-hover:color-mix(in oklab,var(--accent) 82%,#000);--radius-xs:4px;--radius-sm:var(--r-sm);--radius:var(--r-md);--radius-lg:var(--r-lg);--radius-xl:var(--r-xl);--radius-full:9999px;--shadow-sm:var(--shadow-1);--shadow:var(--shadow-2);--shadow-lg:var(--shadow-3);--shadow-xl:var(--shadow-3)}[data-theme=dark]{--bg:#0d0f13;--surface:#15181e;--surface-2:#1b1f27;--surface-sunk:#0f1217;--ink:#eef0f4;--ink-2:#b9bfc9;--ink-3:#858c98;--ink-4:#5b626d;--line:#262b34;--line-2:#323845;--accent-weak:color-mix(in oklab,var(--accent) 24%,transparent);--local-row-tint:14%;--shadow-1:0 1px 2px rgba(0,0,0,0.4);--shadow-2:0 6px 18px rgba(0,0,0,0.45);--shadow-3:0 24px 60px rgba(0,0,0,0.6);--success-bg:color-mix(in oklab,#16a34a 18%,transparent);--warning-bg:color-mix(in oklab,#ca8a04 18%,transparent);--warning-ink:#facc15;--danger-bg:color-mix(in oklab,#dc2626 18%,transparent);--info-bg:color-mix(in oklab,#0284c7 18%,transparent);--changed-bg:color-mix(in oklab,#b45309 18%,transparent);--purple-50:color-mix(in oklab,#4318ff 22%,transparent);--ink-title:var(--ink);--ink-navy:var(--ink);--ink-placeholder:var(--ink-3);--line-soft:var(--line);--btn-secondary-bg:var(--surface-2);--btn-black-bg:#2a2f3a;--badge-bg:var(--surface-2);--badge-ink:var(--ink-4);--shadow-card:0 24px 60px rgba(0,0,0,0.5);--shadow-float:0 6px 18px rgba(0,0,0,0.45);--shadow-chip:none;--hover-overlay:rgba(255,255,255,0.08);--edit-box-bg:var(--surface-2);--ink-muted:var(--ink-3);--success-ink:#22c55e;--success-dot:#22c55e;--table-head-bg:var(--surface-2);--purple-badge-border:color-mix(in oklab,#603cff 45%,transparent);--purple-badge-ink:#a998ff;--accent-badge-border:color-mix(in oklab,var(--accent) 45%,transparent);--accent-badge-ink:color-mix(in oklab,var(--accent) 55%,#ffffff)}:root{--ui-zoom:1}@media (min-width:769px) and (max-width:1799px){:root{--ui-zoom:0.8}}@media (min-width:1800px) and (max-width:1919px){:root{--ui-zoom:0.9}}html{zoom:var(--ui-zoom)}.viewport-h{height:calc(100vh / var(--ui-zoom))}.viewport-min-h{min-height:calc(100vh / var(--ui-zoom))}*,:after,:before{box-sizing:border-box;margin:0;padding:0}html{font-size:14px}body{background:var(--bg);color:var(--ink);font-family:var(--font-sans);font-size:var(--fs);line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover)}button{cursor:pointer;font-family:inherit;border:none;border-radius:var(--r-sm);padding:6px 14px;font-size:13px;font-weight:500;transition:background .15s,color .15s}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--accent);color:#fff}button.primary:hover{background:var(--accent-hover)}button.danger{background:var(--danger);color:#fff}button.danger:hover{background:color-mix(in oklab,var(--danger) 80%,#000)}button.ghost{background:transparent;color:var(--ink-3);border:1px solid var(--line)}button.ghost:hover{color:var(--ink);border-color:var(--line-2)}input,select{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm);color:var(--ink);padding:6px 10px;font-size:13px;font-family:inherit;outline:none}input:focus,select:focus{border-color:var(--accent)}[data-theme=dark] input[type=date],[data-theme=dark] input[type=month]{color-scheme:dark}textarea{font-family:inherit;font-size:inherit}table{width:100%;border-collapse:collapse}th{text-align:left;color:var(--ink-4);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.04em;padding:8px 12px}td,th{border-bottom:1px solid var(--line)}td{padding:10px 12px;font-size:13px}tr:hover td{background:var(--surface-2)}.model-table td{background:var(--surface)}.model-table tr:hover td{background:var(--surface-2)}.model-table tr.is-local td{background:color-mix(in oklab,var(--accent) var(--local-row-tint),var(--surface))}.model-table tr.is-local:hover td{background:color-mix(in oklab,var(--accent) calc(var(--local-row-tint) + 4%),var(--surface-2))}.model-table tr.is-local td:first-child{box-shadow:inset 3px 0 0 var(--accent)}.model-table .sticky-actions{position:-webkit-sticky;position:sticky;right:0;z-index:1;box-shadow:inset 1px 0 0 var(--border),-4px 0 6px -6px rgb(0 0 0/.12)}.model-table th.sticky-actions{background:var(--surface);z-index:2}.seg{display:inline-flex;align-items:center;gap:2px;padding:2px;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-md)}.seg button{padding:4px 10px;border-radius:var(--r-sm);background:transparent;color:var(--ink-3);font-size:12px;font-weight:500}.seg button:hover:not(:disabled),.seg button[aria-selected=true]{color:var(--ink);background:var(--surface)}.seg button[aria-selected=true]{font-weight:600;box-shadow:var(--shadow-1)}.seg.is-sub{background:transparent;border-style:dashed}.seg.is-sub button{padding:3px 8px;font-size:11px}.seg button:disabled,.seg.is-disabled{opacity:.5;cursor:not-allowed}.badge{display:inline-block;padding:2px 8px;border-radius:var(--radius-full);font-size:11px;font-weight:600}.badge-user{background:var(--surface-2);color:var(--ink-3)}.badge-admin{background:var(--danger-bg);color:var(--danger)}.badge-active{background:var(--success-bg);color:var(--success)}.badge-inactive{background:var(--surface-2);color:var(--ink-3)}.badge-pending{background:var(--warning-bg);color:var(--warning)}::-webkit-scrollbar{width:11px;height:11px}::-webkit-scrollbar-thumb{background:var(--line-2);border-radius:99px;border:3px solid transparent;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:var(--ink-4);background-clip:padding-box}.nav-sidebar{position:relative;width:var(--sidebar-w);flex-shrink:0;height:calc(100vh / var(--ui-zoom));height:calc(100dvh / var(--ui-zoom));overflow:visible;padding:24px}.nav-card{position:relative;height:100%;display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border-radius:24px;box-shadow:var(--shadow-card)}.profile-menu{left:calc(100% - 35px);bottom:44px;z-index:60;animation:fadeUp .12s ease}.profile-menu-item:hover,.profile-menu-trigger:hover{background:var(--btn-secondary-bg)!important}.profile-menu-trigger:hover{color:var(--ink)!important}.nav-item{transition:background .1s}.nav-item:hover:not([data-active=true]){background:var(--btn-secondary-bg)}.chat-search-layer{position:fixed;top:0;bottom:0;right:0;left:var(--sidebar-w);z-index:60;display:flex;align-items:center;justify-content:center;padding:24px}body[data-chat-search=open] .chat-welcome{visibility:hidden}.chat-search-row{transition:background .1s}.chat-search-row:focus-visible,.chat-search-row:hover{background:var(--surface-2);outline:none}.nav-item:focus-visible,.nav-section-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}[data-theme=dark] .figma-mono-icon{filter:invert(1)}.nav-footer:before{content:"";position:absolute;left:0;right:0;bottom:100%;height:32px;background:linear-gradient(to bottom,transparent,var(--surface));pointer-events:none}.page-layout{height:100%;overflow-y:auto;background:var(--surface)}.page-layout[data-tone=muted]{background:var(--bg)}.page-layout-column{display:flex;flex-direction:column;gap:32px;padding:24px 96px 48px}.page-layout-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.page-layout-actions{display:flex;gap:12px;flex-shrink:0}.status-counter{width:172px}@media (max-width:1100px){.page-layout-column{padding:24px 32px 40px}}@media (min-width:769px){.page-layout[data-fill]{overflow:hidden}.page-layout[data-fill] .page-layout-column{height:100%;padding-bottom:24px}}@media (max-width:768px){.page-layout-column{padding:16px 16px 32px;gap:24px}.page-layout-header{flex-direction:column}.page-layout-actions{width:100%}.status-counter{flex:1 1;min-width:0;width:auto}}.library-tabs{display:flex;flex-shrink:0;width:min(400px,calc(100vw - 32px));height:44px;padding:3px;gap:4px;box-sizing:border-box;border-radius:39px;border:1px solid var(--line-soft);background:var(--surface)}.library-search-input::placeholder{color:var(--ink-placeholder)}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,290px));justify-content:center;grid-gap:12px;gap:12px}.library-file-table{border:1px solid var(--line-soft);border-radius:16px;background:var(--surface);overflow-x:auto}.library-file-table table{min-width:720px;table-layout:fixed}.library-file-table th{height:48px;background:var(--table-head-bg);font-size:12px;font-weight:500;line-height:18px;color:var(--ink-placeholder);text-transform:none;letter-spacing:0}.library-file-table td,.library-file-table th{padding:0 20px;border-bottom:1px solid var(--line-soft)}.library-file-table td{height:80px;font-size:14px;line-height:20px}.library-file-table tbody tr:last-child td{border-bottom:none}.library-file-table .library-file-actions{padding:0 16px;text-align:center}.library-file-table tr:hover td{background:var(--table-head-bg)}.library-file-action{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:none;border-radius:var(--r-sm);background:transparent;color:var(--ink-placeholder);cursor:pointer;text-decoration:none}.library-file-action:hover{background:var(--btn-secondary-bg);color:var(--ink-title)}.library-file-action[data-danger]:hover{color:var(--danger)}@media (max-width:768px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.api-keys-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:36px;padding:0 16px;border-radius:24px;background:var(--accent);box-shadow:inset 0 -4px 4px rgba(255,255,255,.38);color:#fff;font-size:14px;font-weight:500;line-height:16px;white-space:nowrap}.api-keys-btn:hover:not(:disabled){background:var(--accent-hover)}.api-keys-btn:disabled{opacity:1;background:var(--btn-secondary-bg);box-shadow:none;color:var(--ink-4)}.api-keys-btn[data-variant=outline]{background:transparent;box-shadow:none;border:1px solid var(--line-soft);color:var(--ink-title)}.api-keys-btn[data-variant=outline]:hover{background:var(--btn-secondary-bg)}.api-keys-btn[data-variant=danger]{background:transparent;box-shadow:none;color:var(--danger)}.api-keys-btn[data-variant=danger]:hover{background:color-mix(in oklab,var(--danger) 14%,var(--surface));box-shadow:0 6px 8px rgba(220,38,38,.08)}.api-keys-btn[data-variant=danger-solid]{background:var(--danger)}.api-keys-btn[data-variant=danger-solid]:hover:not(:disabled){background:color-mix(in oklab,var(--danger) 85%,#000)}.api-keys-revoke-warning{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:12px;background:color-mix(in oklab,var(--danger) 14%,var(--surface));color:var(--danger);font-size:12px;line-height:14px}.api-keys-revoke-target{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--line-soft);border-radius:16px;background:var(--table-head-bg)}.api-keys-revoke-target-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;box-sizing:border-box;border:1px solid var(--line-soft);border-radius:10px;background:var(--surface)}.api-keys-card{display:flex;flex-direction:column;padding:16px;border:1px solid var(--line-soft);border-radius:24px;background:var(--surface)}.api-keys-input{width:480px;max-width:100%;height:40px;padding:0 16px;box-sizing:border-box;border:1px solid var(--line-soft);border-radius:12px;font-size:14px;line-height:16px}.api-keys-input::placeholder{color:var(--ink-placeholder)}.api-keys-secret{display:flex;width:480px;max-width:100%;height:40px;padding:0 16px;box-sizing:border-box;border:1px solid var(--line-soft);border-radius:12px;background:var(--btn-secondary-bg);color:var(--ink-title);font-family:inherit;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:all;-moz-user-select:all;user-select:all}.api-keys-copy-btn,.api-keys-secret{align-items:center;font-size:14px;line-height:16px;white-space:nowrap}.api-keys-copy-btn{display:inline-flex;gap:8px;height:36px;padding:8px 12px;border-radius:999px;background:#2f2f2f;color:#fff;font-weight:500}.api-keys-copy-btn:hover{background:#000}.api-keys-copy-btn[data-copied]{background:var(--btn-secondary-bg);color:var(--ink-title)}.api-keys-copy-btn[data-copied] img{filter:invert(1)}[data-theme=dark] .api-keys-copy-btn[data-copied] img{filter:none}.api-keys-modal-backdrop{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:16px;background:rgba(0,0,0,.4)}.api-keys-modal{display:flex;flex-direction:column;gap:24px;width:480px;max-width:100%;padding:16px;box-sizing:border-box;border:1px solid var(--line-soft);border-radius:24px;background:var(--surface);box-shadow:var(--shadow-float)}.api-keys-error{padding:10px 16px;border:1px solid var(--danger);border-radius:12px;background:var(--danger-bg);color:var(--danger);font-size:13px}.api-keys-table{border:1px solid var(--line-soft);border-radius:24px;background:var(--surface);overflow-x:auto}.api-keys-table table{min-width:860px;table-layout:fixed}.api-keys-table th{padding:20px;background:var(--table-head-bg);font-size:12px;font-weight:400;line-height:14px;color:var(--ink-placeholder);text-transform:uppercase;letter-spacing:0}.api-keys-table td,.api-keys-table th{border-bottom:1px solid var(--line-soft)}.api-keys-table td{padding:16px 20px;font-size:14px;line-height:16px}.api-keys-table tbody tr:last-child td{border-bottom:none}.api-keys-table tr:hover td{background:var(--table-head-bg)}.api-keys-table td.api-keys-empty{height:400px;text-align:center;background:transparent}.api-keys-empty-icon{display:grid;place-items:center;width:72px;height:72px;box-sizing:border-box;border:1px solid var(--line-soft);border-radius:18px;background:var(--surface)}.kb-dropzone{transition:border-color .2s,background .2s}.kb-dropzone:hover,.kb-dropzone[data-dragging=true]{border-color:var(--accent);background:var(--accent-weak)}.kb-dropzone:focus-visible{outline:2px solid var(--accent);outline-offset:2px}:root{--studio-ink-icon-filter:brightness(0)}[data-theme=dark]{--studio-ink-icon-filter:brightness(0) invert(1)}.studio-body{flex:1 1;min-height:0;display:flex;gap:20px}.studio-card{background:var(--surface);border:1px solid var(--line-soft);box-shadow:var(--shadow-chip);overflow:hidden;display:flex;flex-direction:column}.studio-form-card{width:420px;flex-shrink:0;border-radius:24px}.studio-results-card{flex:1 1;min-width:0;border-radius:24px;padding-top:16px}.studio-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:12px;gap:12px}.studio-tile{transition:box-shadow .12s}.studio-tile[data-clickable=true]{cursor:pointer}.studio-tile[data-clickable=true]:hover{box-shadow:var(--shadow-2)}.studio-result-tab:hover:not([aria-selected=true]){color:var(--ink-title)!important}@media (max-width:768px){.studio-body{flex-direction:column}.studio-form-card{width:100%}.studio-results-card{min-height:400px}.studio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.suggest-chip{transition:border-color .15s,background .15s}.md>:first-child{margin-top:0!important}.md>:last-child{margin-bottom:0!important}.assistant-body p{margin:0 0 16px!important}.assistant-body p:last-child{margin-bottom:0!important}.msg-action{position:relative;background:transparent;color:#6b6b6b;transition:background .1s,color .1s}[data-theme=dark] .msg-action{color:var(--ink-3)}.has-tooltip{position:relative}.has-tooltip[data-tooltip]:focus-visible:after,.has-tooltip[data-tooltip]:hover:after,.msg-action[data-tooltip]:focus-visible:after,.msg-action[data-tooltip]:hover:after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);padding:3px 7px;border-radius:6px;background:#262626;color:#fff;font-size:12px;font-weight:400;line-height:14px;white-space:nowrap;pointer-events:none;z-index:10}.has-tooltip[data-tooltip-align=end]:focus-visible:after,.has-tooltip[data-tooltip-align=end]:hover:after{left:auto;right:0;transform:none}.add-menu-row{background:transparent;transition:background .1s}.add-menu-row:focus-visible,.add-menu-row:hover{background:var(--btn-secondary-bg);outline:none}

/* !important: the option's idle background is an inline style (it doubles as the selected tint). */.model-option:hover:not([data-selected]){background:var(--btn-secondary-bg)!important}.user-msg-actions{position:absolute;top:100%;right:0;padding-top:5px;opacity:0;transition:opacity .12s}.user-msg:focus-within .user-msg-actions,.user-msg:hover .user-msg-actions{opacity:1}@media (hover:none){.user-msg-actions{opacity:1}}.msg-action:hover:not(:disabled){background:var(--hover-overlay);color:var(--ink)}.suggest-chip:hover{border-color:var(--accent);background:var(--accent-weak)}.chat-project-heading:focus-within,.chat-project-heading:hover{background:var(--surface-2)}.chat-sidebar-action-trigger{display:grid;place-items:center;width:30px;height:30px;padding:0;border:none;border-radius:var(--r-sm);background:transparent;color:var(--ink-3);font-size:16px;line-height:1;list-style:none;cursor:pointer}.chat-sidebar-action-trigger::-webkit-details-marker{display:none}.chat-conversation-actions[open]>summary,.chat-sidebar-action-trigger:hover,.chat-sidebar-action-trigger[aria-expanded=true]{background:var(--surface-2);color:var(--ink)}.chat-project-heading ul button:focus-visible,.chat-project-heading>button:focus-visible,.chat-sidebar-action-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.chat-project-heading ul button:hover:not(:disabled){background:var(--surface-2)}@media (hover:hover) and (pointer:fine){.chat-sidebar-row .chat-conversation-actions>summary{opacity:0}.chat-conversation-actions[open]>summary,.chat-sidebar-row:focus-within .chat-conversation-actions>summary,.chat-sidebar-row:hover .chat-conversation-actions>summary,.chat-sidebar-row[data-active=true] .chat-conversation-actions>summary{opacity:1}}.app-shell{display:flex;height:calc(100vh / var(--ui-zoom));overflow:hidden}.quota-banner+.composer-card{border-top-left-radius:0!important;border-top-right-radius:0!important}.app-sidebar-slot{position:relative;z-index:1}.app-scrim,.app-topbar{display:none}.app-main{flex:1 1;min-width:0}@media (max-width:768px){.app-topbar{display:flex;align-items:center;height:var(--topbar-h);padding:0 8px;flex-shrink:0;background:var(--surface);border-bottom:1px solid var(--line);position:fixed;top:0;left:0;right:0;z-index:40}.app-hamburger{display:grid;place-items:center;width:36px;height:36px;background:transparent;border:none;border-radius:var(--r-md);color:var(--ink-2);padding:0}.app-hamburger:hover{background:var(--surface-2)}.app-scrim{display:block;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:45}.app-sidebar-slot{position:fixed;top:0;left:0;bottom:0;z-index:50;transform:translateX(-100%);transition:transform .2s ease}.app-sidebar-slot.open{transform:translateX(0)}.nav-sidebar{padding:12px}.profile-menu{left:33px;right:33px;bottom:100px}.profile-menu-sub{left:0!important;right:0;bottom:calc(100% + 8px)!important}.app-main{padding-top:var(--topbar-h);width:100%}}@keyframes fadeUp{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes blink{0%,to{opacity:1}50%{opacity:.25}}@keyframes popIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}@keyframes barStripe{0%{background-position:0 0}to{background-position:28px 0}}@keyframes spin{to{transform:rotate(1turn)}}@keyframes director-anchor-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}[data-testid=director-beat-anchor-region]:hover .director-beat-anchor-remove-btn{opacity:1}.studio-audio-seek{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:1 1;min-width:0;height:16px;margin:0 4px;background:transparent;cursor:pointer;border:none;padding:0;border-radius:0}.studio-audio-seek:disabled{cursor:default;opacity:.6}.studio-audio-seek::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(to right,#202124 var(--seek-pct,0),#c4c7c9 var(--seek-pct,0))}.studio-audio-seek::-moz-range-track{height:4px;border-radius:2px;background:#c4c7c9}.studio-audio-seek::-moz-range-progress{height:4px;border-radius:2px;background:#202124}.studio-audio-seek::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;margin-top:-4px;border-radius:50%;border:none;background:#202124}.studio-audio-seek::-moz-range-thumb{width:12px;height:12px;border-radius:50%;border:none;background:#202124}.studio-audio-seek:focus-visible{outline:2px solid #202124;outline-offset:2px;border-radius:4px}.studio-audio-volume{position:relative;display:flex;align-items:center;flex-shrink:0}.studio-audio-volume-pop{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding-bottom:8px;opacity:0;visibility:hidden;transition:opacity .15s ease,visibility .15s}.studio-audio-volume:focus-within .studio-audio-volume-pop,.studio-audio-volume:hover .studio-audio-volume-pop{opacity:1;visibility:visible}.studio-audio-volume-panel{display:flex;justify-content:center;padding:12px 8px;border-radius:999px;background:#f1f3f4;box-shadow:0 2px 8px rgba(0,0,0,.18)}.studio-audio-volume-slider{-webkit-appearance:none;-moz-appearance:none;appearance:none;writing-mode:vertical-lr;direction:rtl;width:16px;height:80px;margin:0;padding:0;border:none;border-radius:0;background:transparent;cursor:pointer}.studio-audio-volume-slider::-webkit-slider-runnable-track{width:4px;border-radius:2px;background:linear-gradient(to top,#202124 var(--seek-pct,0),#c4c7c9 var(--seek-pct,0))}.studio-audio-volume-slider::-moz-range-track{width:4px;border-radius:2px;background:#c4c7c9}.studio-audio-volume-slider::-moz-range-progress{width:4px;border-radius:2px;background:#202124}.studio-audio-volume-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;margin-left:-4px;border-radius:50%;border:none;background:#202124}.studio-audio-volume-slider::-moz-range-thumb{width:12px;height:12px;border-radius:50%;border:none;background:#202124}.studio-audio-volume-slider:focus-visible{outline:2px solid #202124;outline-offset:2px;border-radius:4px}.studio-video-controls{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:10px;height:54px;padding:0 14px 0 10px;box-sizing:border-box;color:#fff;background:linear-gradient(0deg,rgba(0,0,0,.6),rgba(0,0,0,0));opacity:0;transition:opacity .2s ease}.studio-video-controls:focus-within,.studio-video:hover .studio-video-controls,.studio-video[data-paused] .studio-video-controls{opacity:1}.studio-video-controls .studio-audio-seek::-webkit-slider-runnable-track{background:linear-gradient(to right,#fff var(--seek-pct,0),rgba(255,255,255,.35) var(--seek-pct,0))}.studio-video-controls .studio-audio-seek::-moz-range-track{background:rgba(255,255,255,.35)}.studio-video-controls .studio-audio-seek::-moz-range-progress{background:#fff}.studio-video-controls .studio-audio-seek::-webkit-slider-thumb{background:#fff}.studio-video-controls .studio-audio-seek::-moz-range-thumb{background:#fff}.studio-video-controls .studio-audio-seek:focus-visible{outline-color:#fff}.sources-chevron{flex-shrink:0;opacity:.7;transform:rotate(-90deg);transition:transform .15s ease}details[open]>summary>.sources-chevron{transform:rotate(0deg)}summary:has(>.sources-chevron)::-webkit-details-marker{display:none}@media (prefers-reduced-motion:reduce){.sources-chevron{transition:none}}@keyframes skeletonPulse{0%,to{opacity:1}50%{opacity:.55}}.skeleton-bone{background:var(--surface-2);animation:skeletonPulse 1.4s ease-in-out infinite}@media (prefers-reduced-motion:reduce){.skeleton-bone{animation:none}}.quota-range{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;margin:0;padding:0;border:none;border-radius:0;background:transparent;cursor:pointer}.quota-range:disabled{cursor:not-allowed;opacity:.5}.quota-range::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(to right,var(--accent) var(--range-pct,0),var(--line-soft) var(--range-pct,0))}.quota-range::-moz-range-track{height:4px;border-radius:2px;background:var(--line-soft)}.quota-range::-moz-range-progress{height:4px;border-radius:2px;background:var(--accent)}.quota-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;margin-top:-5px;border-radius:50%;border:none;background:var(--accent)}.quota-range::-moz-range-thumb{width:14px;height:14px;border-radius:50%;border:none;background:var(--accent)}.quota-range:disabled::-webkit-slider-thumb{background:var(--line-2)}.quota-range:disabled::-moz-range-thumb{background:var(--line-2)}.quota-range:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.quota-check,.quota-radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex-shrink:0;margin:0;padding:0;background:var(--surface);cursor:pointer;transition:border-color .15s,border-width .15s,background-color .15s}.quota-radio{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--line-2)}.quota-radio:checked{border:5px solid var(--accent)}.quota-check{width:16px;height:16px;border-radius:4px;border:1.5px solid var(--line-2)}.quota-check:checked{border-color:var(--accent);background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center /14px no-repeat}.quota-check:focus-visible,.quota-radio:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.studio2{height:100%;display:flex;background:var(--bg);overflow:hidden}.studio2-main{flex:1 1;min-width:0;flex-direction:column;padding:24px 0 0;overflow-y:auto}.studio2-main,.studio2-topbar{display:flex;align-items:center}.studio2-topbar{width:100%;min-height:48px;padding:0 20px;justify-content:space-between;flex-shrink:0}.studio2-policy{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:500;color:var(--success-ink)}.studio2-hero{flex:1 1;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 20px}.studio2-hello{display:inline-flex;align-items:center;gap:8px;font-size:24px;font-weight:700;color:var(--ink-muted)}.studio2-hello,.studio2-title{padding-bottom:6px;line-height:1.3}.studio2-title{margin:0;font-size:clamp(36px,4.2vw,64px);font-weight:500;letter-spacing:-.01em;color:var(--ink-title)}.studio2-title span{color:var(--purple-600)}.studio2-sub{margin:0;padding-bottom:28px;font-size:16px;font-weight:500;color:var(--ink-muted)}.studio2-composer-wrap{position:relative;width:min(760px,calc(100% - 40px));flex-shrink:0}.studio2,.studio2-pop{--purple-500:var(--accent);--purple-600:var(--accent-hover);--purple-50:var(--accent-weak)}.studio2-composer{container:studio-composer/inline-size;position:relative;background:var(--surface);border-radius:24px;box-shadow:var(--shadow-composer);display:flex;flex-direction:column}.studio2-composer-top{display:flex;align-items:center;gap:10px;padding:12px 14px 0;min-height:44px}.studio2-attach{width:44px;height:44px}.studio2-mediaswitch{display:flex;gap:4px;padding:4px;border-radius:12px;background:var(--surface-2)}.studio2-mediaswitch button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:28px;height:28px;padding:0 6px;border:0;border-radius:8px;background:transparent;color:var(--ink-title);font:inherit;font-size:12px;font-weight:500;cursor:pointer}.studio2-mediaswitch button[data-active]{padding:0 8px;background:var(--purple-500);box-shadow:inset 0 -4px 4px rgba(255,255,255,.38)}.studio2-prompt{display:block;width:100%;box-sizing:border-box;min-height:46px;max-height:180px;padding:14px 24px 8px;border:0;outline:0;resize:none;background:transparent;font:inherit;font-size:14px;line-height:18px;color:var(--ink-title);field-sizing:content}.studio2-prompt::placeholder{color:var(--ink-placeholder)}.studio2-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:0 14px 12px}.studio2-toolbar-left,.studio2-toolbar-right{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.studio2-toolbar-right{flex-wrap:nowrap;margin-left:auto}.studio2-generate{flex-shrink:0}.studio2-project{display:inline-flex;align-items:center;height:36px;min-width:0}.studio2-project select{height:36px;max-width:150px;padding:0 28px 0 14px;border:1px solid var(--line-soft);border-radius:999px;background-color:transparent;color:var(--ink-title);font:inherit;font-size:12px;font-weight:500;cursor:pointer;text-overflow:ellipsis}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}.sr-only,.studio2-chip{white-space:nowrap;border:0}.studio2-chip{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 8px 0 12px;border-radius:999px;background:transparent;color:var(--ink-title);font:inherit;font-size:12px;font-weight:500;cursor:pointer}.studio2-chip:hover,.studio2-icon-btn:hover{background:var(--hover-overlay)}.studio2-chip-part{display:inline-flex;align-items:center;gap:6px}.studio2-chip-divider{width:1px;height:16px;background:var(--line-soft)}.studio2-icon-btn{position:relative;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:transparent;cursor:pointer}.studio2-icon-btn[data-modified]:after{content:"";position:absolute;top:7px;right:7px;width:7px;height:7px;border-radius:50%;background:var(--purple-500)}.studio2-generate{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 16px 0 14px;border:0;border-radius:999px;background:var(--purple-500);box-shadow:inset 0 -4px 4px rgba(255,255,255,.38);color:#fff;font:inherit;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer}.studio2-generate:disabled{background:var(--surface-2);box-shadow:none;color:var(--ink-4);cursor:not-allowed}.studio2-generate-divider{width:1px;height:14px;background:currentColor;opacity:.35}.studio2-generate-cost{font-size:12px;font-weight:500}.studio2-pop{position:absolute;z-index:30;background:var(--surface);border:1px solid var(--line-soft);border-radius:16px;box-shadow:var(--shadow-chip),0 4px 16px rgba(0,0,0,.12)}.studio2-model-pop{bottom:calc(100% + 6px);left:0;width:min(360px,calc(100vw - 32px));padding:6px;border-radius:14px;display:flex;flex-direction:column;gap:2px;box-shadow:var(--shadow-card)}.studio2-model-head{padding:6px 10px;font-size:10px;line-height:14px;font-weight:500;letter-spacing:0;text-transform:uppercase;color:var(--ink-placeholder)}.studio2-model-rowwrap{position:relative}.studio2-model-row{color:var(--ink-title);width:100%;display:flex;align-items:center;gap:16px;padding:12px;border:0;border-radius:12px;background:var(--surface);font:inherit;text-align:left;cursor:pointer}.studio2-model-row:hover,.studio2-model-row[data-selected]{background:var(--bg)}.studio2-model-icon{width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:var(--btn-secondary-bg)}.studio2-model-row[data-selected] .studio2-model-icon{background:var(--surface-2)}.studio2-model-text{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:8px}.studio2-model-name{display:flex;align-items:center;gap:8px;font-size:14px;line-height:18px;font-weight:500;color:var(--ink-title)}.studio2-model-desc{font-size:12px;line-height:16px;color:var(--ink-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio2-model-note{padding:8px 10px 6px;font-size:10px;line-height:14px;color:var(--ink-placeholder)}.studio2-default{font-size:11px;font-weight:400;color:var(--ink-4)}.studio2-tip{display:none;position:absolute;top:50%;left:calc(100% + 18px);transform:translateY(-50%);width:300px;padding:12px 14px;border:1px solid var(--line-soft);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-card);font-size:14px;line-height:18px;color:var(--ink-muted);pointer-events:none}.studio2-model-row:focus-visible+.studio2-tip,.studio2-model-rowwrap:hover .studio2-tip{display:block}.studio2-setpop{bottom:calc(100% + 8px);left:0;width:min(360px,calc(100vw - 32px));padding:16px;border-radius:16px;display:flex;flex-direction:column;gap:18px;box-shadow:var(--shadow-float)}.studio2-setpop-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid var(--line-soft);font-size:14px;line-height:18px;font-weight:600;color:var(--ink-title)}.studio2-reset{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;font:inherit;font-size:12px;font-weight:500;color:var(--ink-muted);cursor:pointer}.studio2-section{display:flex;flex-direction:column;gap:10px}.studio2-section-title{display:flex;align-items:center;gap:6px;font-size:12px;line-height:16px;font-weight:600;color:var(--ink-title)}.studio2-ratio-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px}.studio2-ratio-grid button,.studio2-seg button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--surface-2);border-radius:10px;background:var(--surface-2);font:inherit;font-size:14px;font-weight:500;color:var(--ink-title);cursor:pointer}.studio2-ratio-grid button{height:64px;padding:0 10px}.studio2-ratio-grid button[data-selected],.studio2-seg button[data-selected]{background:var(--surface);border:1.5px solid var(--purple-500);color:var(--purple-500);font-weight:600}.studio2-ratio-box{width:28px;height:28px;display:grid;place-items:center}.studio2-ratio-box span{display:block;box-sizing:border-box;border:1.25px solid var(--ink-muted);border-radius:4px}.studio2-ratio-grid button[data-selected] .studio2-ratio-box span{border-color:var(--purple-500)}.studio2-seg{display:flex;gap:8px}.studio2-seg button{flex:1 1;height:36px}.studio2-stepper{display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 4px;border-radius:10px;background:var(--surface-2);font-size:14px;font-weight:600;color:var(--ink-title)}.studio2-stepper button{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;cursor:pointer}.studio2-stepper button:disabled{opacity:.4;cursor:not-allowed}.studio2-textarea{box-sizing:border-box;width:100%;height:72px;padding:10px 12px;border:1px solid var(--surface-2);border-radius:10px;background:var(--surface-2);resize:none;outline:0;font:inherit;font-size:14px;line-height:18px;color:var(--ink-title)}.studio2-textarea::placeholder{color:var(--ink-placeholder)}.studio2-textarea:focus{border-color:var(--purple-500)}.studio2-hint{margin:0;font-size:10px;line-height:14px;color:var(--ink-placeholder)}.studio2-director{position:relative;z-index:0;display:flex;align-items:center;gap:10px;width:calc(100% - 48px);margin:0 auto -14px;padding:10px 12px 24px;border:1px solid var(--line-soft);border-bottom:0;border-radius:16px 16px 0 0;background:var(--surface-2);color:var(--ink-title);font:inherit;font-size:12px;line-height:16px;text-align:left;cursor:pointer}.studio2-director:hover{background:var(--surface-3,var(--line-soft))}.studio2-director-icon{width:24px;height:24px;flex-shrink:0;display:grid;place-items:center;border-radius:8px;background:var(--purple-50);color:var(--purple-500)}.studio2-director-text{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink-muted)}.studio2-director-text strong{font-weight:600;color:var(--ink-title)}.studio2-director-go{width:24px;height:24px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:var(--surface);border:1px solid var(--line-soft)}.studio2-error{display:flex;align-items:center;gap:6px;margin-bottom:8px;padding:10px 14px;border:1px solid var(--danger);border-radius:12px;background:var(--danger-bg);color:var(--danger);font-size:13px}.studio2-footnote{margin:0;padding:18px 20px 16px;text-align:center;font-size:10px;line-height:14px;color:var(--ink-placeholder);flex-shrink:0}.studio2-tabs{display:inline-flex;gap:2px;padding:4px;border:1px solid var(--line-soft);border-radius:999px;background:var(--surface);box-shadow:var(--shadow-chip)}.studio2-tabs button{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px 0 12px;border:0;border-radius:999px;background:transparent;color:var(--ink-muted);font:inherit;font-size:14px;font-weight:500;cursor:pointer}.studio2-tabs button[data-selected]{background:var(--purple-50);color:var(--purple-500);font-weight:600}.studio2-panel{width:min(600px,42vw);flex-shrink:0;display:flex;flex-direction:column;gap:16px;padding:20px 20px 0;background:var(--surface);border-left:1px solid var(--line-soft);min-height:0}.studio2-panel-head{display:flex;align-items:center;justify-content:space-between}.studio2-collapse{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line-soft);border-radius:10px;background:transparent;cursor:pointer}.studio2-filters,.studio2-search{display:flex;gap:8px}.studio2-search{flex:1 1;min-width:0;align-items:center;height:36px;padding:0 12px;border:1px solid var(--line-soft);border-radius:10px;background:var(--surface-2)}.studio2-search input{flex:1 1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:14px;color:var(--ink-title)}.studio2-filter{position:relative;display:inline-flex;align-items:center;height:36px;border:1px solid var(--line-soft);border-radius:10px;color:var(--ink-muted)}.studio2-filter[data-active]{color:var(--purple-500);border-color:var(--purple-500)}.studio2-filter select{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:100%;padding:0 28px 0 12px;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:14px;font-weight:500;cursor:pointer}.studio2-filter img{position:absolute;right:10px;pointer-events:none}.studio2-panel-body{flex:1 1;min-height:0;overflow-y:auto;padding-bottom:20px}.studio2-masonry{column-count:3;column-gap:8px}.studio2-tile{page-break-inside:avoid;break-inside:avoid;margin-bottom:12px;display:flex;flex-direction:column;gap:6px}.studio2-tile[data-clickable]{cursor:pointer}.studio2-tile[data-clickable]:hover .studio2-tile-media{box-shadow:var(--shadow-2)}.studio2-tile-media{position:relative;overflow:hidden;border-radius:12px;transition:box-shadow .12s}.studio2-tile-media[data-state]{min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px;text-align:center;font-size:12px;font-weight:500}.studio2-tile-media[data-state=processing]{background:var(--purple-50);color:var(--purple-500)}.studio2-tile-media[data-state=failed]{background:var(--danger-bg);color:var(--danger)}.studio2-img-fallback{display:grid;place-items:center;box-sizing:border-box;min-width:56px;min-height:56px;border-radius:8px;background:var(--surface-2);color:var(--ink-muted)}.studio2-tile-img.studio2-img-fallback{width:100%;aspect-ratio:1}.studio2-tile-img{display:block;width:100%;height:auto}.studio2-tile-clip{position:absolute;top:12px;left:12px;right:12px;font-size:12px;font-weight:500;color:rgba(255,255,255,.9)}.studio2-tile-caption,.studio2-tile-clip{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio2-tile-caption{margin:0;font-size:10px;line-height:14px;color:var(--ink-3)}.studio2-play{width:44px;height:44px;box-sizing:border-box;display:grid;place-items:center;border-radius:50%;background:#fff;border:2px solid rgba(255,255,255,.7)}@keyframes studio2-spin{to{transform:rotate(1turn)}}.studio2-spin{animation:studio2-spin 1s linear infinite}@media (max-width:1280px){.studio2-masonry{column-count:2}}@media (max-width:768px){.studio2{flex-direction:column;overflow-y:auto}.studio2-main{overflow:visible;min-height:100%}.studio2-panel{width:100%;min-height:480px;border-left:0;border-top:1px solid var(--line-soft)}.studio2-toolbar{flex-wrap:wrap}}.studio2-attachrow{flex:1 1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.studio2-attach-item{position:relative}.studio2-attach-item button{padding:0;position:absolute;top:-6px;right:-6px;width:18px;height:18px;display:grid;place-items:center;border:1px solid var(--line-soft);border-radius:50%;background:var(--surface);color:var(--ink-title);cursor:pointer}.studio2-attach-divider{align-self:stretch;flex-shrink:0;width:1px;margin:4px;background:var(--line-soft)}.studio2-attach-add{padding:0;width:56px;height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1.5px dashed var(--line-2);border-radius:8px;background:transparent;color:var(--ink-muted);font:inherit;font-size:10px;font-weight:500;transform:rotate(6deg);cursor:pointer;transition:transform .15s}.studio2-attach-add:hover{transform:rotate(0)}.studio2-composer-top .studio2-mediaswitch{margin-left:auto;flex-shrink:0;align-self:flex-start}.studio2-attach{width:56px;height:56px;border-radius:8px;object-fit:cover;border:1px solid var(--line-soft);display:block}@media (max-width:768px){.studio2-main{padding-top:12px}.studio2-topbar{padding:0 12px;gap:8px;flex-wrap:wrap}.studio2-policy{font-size:12px}.studio2-hero{min-height:120px;padding:16px 16px 0}.studio2-hello{font-size:18px}.studio2-title{font-size:30px}.studio2-sub{font-size:14px;padding-bottom:16px}.studio2-composer-wrap{width:calc(100% - 24px)}.studio2-toolbar-right{width:100%;flex-wrap:wrap;justify-content:flex-end}.studio2-project{flex:1 1}.studio2-project select{width:100%;max-width:none}.studio2-chip{max-width:100%;overflow:hidden;text-overflow:ellipsis}.studio2-tip{display:none!important}.studio2-model-pop,.studio2-setpop{position:fixed;left:12px;right:12px;bottom:12px;top:auto;min-width:0;max-height:70vh;overflow-y:auto;box-shadow:0 0 0 100vmax rgba(0,0,0,.25),var(--shadow-chip)}.studio2-masonry{column-count:2}.studio2-footnote{padding:12px 16px 16px}.studio2-tabs button{padding:0 10px 0 8px;font-size:13px}}.studio2-attach-add[data-wide]{padding:0 2px;text-align:center;line-height:12px;overflow-wrap:anywhere}.studio2-attach-add:disabled{opacity:.45;cursor:not-allowed;transform:rotate(6deg)}.studio2-attach-error{flex-basis:100%;font-size:11.5px;color:var(--danger)}.studio2-setpop-adv{max-height:min(70vh,640px);overflow-y:auto}.studio2-slider-head{display:flex;align-items:center;justify-content:space-between}.studio2-slider-value{font-size:12px;font-weight:600;color:var(--purple-500)}.studio2-slider{--pct:0%;-moz-appearance:none;appearance:none;-webkit-appearance:none;width:100%;height:20px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer}.studio2-slider::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:linear-gradient(to right,var(--purple-500) var(--pct),var(--bg) var(--pct))}.studio2-slider::-moz-range-track{height:4px;border-radius:999px;background:var(--bg)}.studio2-slider::-moz-range-progress{height:4px;border-radius:999px;background:var(--purple-500)}.studio2-slider::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;margin-top:-7px;border-radius:50%;border:2px solid var(--purple-500);background:var(--surface);box-shadow:var(--shadow-chip)}.studio2-slider::-moz-range-thumb{width:14px;height:14px;border-radius:50%;border:2px solid var(--purple-500);background:var(--surface)}.studio2-slider:disabled{opacity:.5;cursor:not-allowed}.studio2-slider:focus-visible{outline:2px solid var(--purple-500);outline-offset:2px;border-radius:4px}.studio2-slider-range{font-size:10px;line-height:14px;font-weight:500;color:var(--ink-placeholder)}.studio2-slider-range,.studio2-togglerow{display:flex;justify-content:space-between}.studio2-togglerow{align-items:center;gap:12px}.studio2-switch{position:relative;width:43px;height:24px;flex-shrink:0;padding:0;border:0;border-radius:999px;background:var(--surface-2);cursor:pointer;transition:background .15s}.studio2-switch span{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:left .15s}.studio2-switch[data-on]{background:var(--purple-500);box-shadow:inset 0 -4px 4px rgba(255,255,255,.38)}.studio2-switch[data-on] span{left:21px}.studio2-segment{display:flex;padding:1px;border:1px solid var(--line-soft);border-radius:10px;background:var(--table-head-bg)}.studio2-segment button{flex:1 1;padding:7px 12px;border:0;border-radius:8px;background:transparent;font:inherit;font-size:14px;font-weight:500;color:var(--ink-muted);cursor:pointer}.studio2-segment button[data-selected]{background:var(--surface);color:var(--ink-title);box-shadow:var(--shadow-chip)}.studio2-readonly{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--surface-2);border-radius:10px;background:var(--surface-2);font-size:14px;line-height:18px;color:var(--ink-placeholder)}.studio2-tagbtn{padding:5px 14px;border:0;border-radius:99px;background:var(--accent-weak);color:var(--accent);font:inherit;font-size:12.5px;font-weight:500;cursor:pointer}.studio2-attach-add .studio2-mask,.studio2-chip .studio2-mask,.studio2-collapse .studio2-mask,.studio2-dial .studio2-mask,.studio2-filter .studio2-mask,.studio2-icon-btn .studio2-mask,.studio2-readonly .studio2-mask,.studio2-reset .studio2-mask,.studio2-search .studio2-mask,.studio2-section-title .studio2-mask{color:var(--ink-muted)}.studio2-model-icon .studio2-mask{color:var(--ink-title)}.studio2-mediaswitch button{color:var(--ink-muted)}.studio2-mediaswitch button[data-active]{color:#fff}.studio2-tabs button .studio2-mask{color:inherit}.studio2-generate:disabled{color:var(--ink-placeholder)}.studio2-dial{position:absolute;bottom:calc(100% + 22px);left:0;z-index:30;display:flex;flex-direction:column;gap:8px}.studio2-dial-item{display:flex;align-items:center;gap:8px;animation:studio2-dial-up .22s cubic-bezier(.2,.8,.2,1) both}.studio2-dial-item:first-child{animation-delay:.05s}.studio2-dial[data-closing]{pointer-events:none}.studio2-dial[data-closing] .studio2-dial-item{animation:studio2-dial-down .18s cubic-bezier(.4,0,1,1) both}.studio2-dial[data-closing] .studio2-dial-item:first-child{animation-delay:0s}.studio2-dial[data-closing] .studio2-dial-item:nth-child(2){animation-delay:.03s}@keyframes studio2-dial-down{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(12px)}}@keyframes studio2-dial-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.studio2-dial-item,.studio2-dial[data-closing] .studio2-dial-item{animation:none}}.studio2-dial-item button{padding:0;width:38px;height:38px;flex-shrink:0;display:grid;place-items:center;border:1px solid var(--line-soft);border-radius:50%;background:var(--surface);box-shadow:var(--shadow-chip);cursor:pointer}.studio2-dial-item button:hover{background:var(--surface-2)}.studio2-dial-item>span{padding:4px 8px;border:1px solid var(--surface-2);border-radius:6px;background:var(--surface);box-shadow:var(--shadow-chip);font-size:12px;line-height:17px;font-weight:500;white-space:nowrap;color:var(--ink-title)}.studio2-attach-add[aria-expanded=true]{background:var(--surface-2);border:2px dashed var(--ink-muted);transform:rotate(0)}.studio2-attach-add[aria-expanded=true] .studio2-mask,.studio2-attach-add[aria-expanded=true] svg{color:var(--ink-muted)}.studio2-project-btn{display:inline-flex;align-items:center;gap:8px;height:36px;max-width:180px;padding:0 8px 0 14px;border:1px solid var(--line-soft);border-radius:999px;background:transparent;color:var(--ink-title);font:inherit;font-size:12px;font-weight:500;cursor:pointer}.studio2-project-btn:hover{background:var(--hover-overlay)}.studio2-project-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio2-project-btn .studio2-mask{color:var(--ink-muted)}.studio2-menu-pop{width:max-content;min-width:220px;max-width:min(320px,calc(100vw - 32px));max-height:280px;overflow-y:auto;padding:6px;border-radius:14px;display:flex;flex-direction:column;gap:2px;box-shadow:var(--shadow-card)}.studio2-menu-pop button{display:flex;align-items:center;gap:8px;padding:9px 12px;border:0;border-radius:10px;background:transparent;font:inherit;font-size:13px;font-weight:500;text-align:left;color:var(--ink-title);cursor:pointer}.studio2-menu-pop button:hover,.studio2-menu-pop button[data-selected]{background:var(--surface-2)}.studio2-menu-name{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:768px){.studio2-project-btn{width:100%;max-width:none;justify-content:space-between}.studio2-menu-pop{position:fixed;left:12px;right:12px;bottom:12px;top:auto;width:auto;min-width:0;max-width:none;box-shadow:0 0 0 100vmax rgba(0,0,0,.25),var(--shadow-chip)}}.studio2-stepper-input{flex:1 1;min-width:0;height:32px;padding:0;border:0;border-radius:8px;outline:0;background:transparent;text-align:center;font:inherit;font-size:14px;font-weight:600;color:var(--ink-title)}.studio2-stepper-input:focus{box-shadow:inset 0 0 0 1.5px var(--purple-500);background:var(--surface)}.studio2-stepper-input{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.studio2-stepper-input::-webkit-inner-spin-button,.studio2-stepper-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.studio2-filter-btn{display:inline-flex;align-items:center;gap:4px;height:100%;padding:0 10px 0 12px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-size:14px;font-weight:500;white-space:nowrap;cursor:pointer}.studio2-filter-btn .studio2-mask{color:currentColor}.studio2-filters .studio2-filter .studio2-menu-pop{position:absolute;top:calc(100% + 6px);right:0;left:auto;bottom:auto;width:max-content;min-width:170px;max-width:min(260px,calc(100vw - 32px));box-shadow:var(--shadow-card)}.studio2-section{position:relative}.studio2-help,.studio2-help-btn{display:inline-flex}.studio2-help-btn{align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ink-muted);cursor:help}.studio2-help-btn:focus-visible,.studio2-help-btn:hover{color:var(--purple-500)}.studio2-help-btn:focus-visible{outline:2px solid var(--purple-500);outline-offset:2px}.studio2-help-tip{display:none;position:absolute;top:26px;left:0;right:0;z-index:5;padding:10px 12px;border:1px solid var(--line-soft);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-card);font-size:12px;line-height:16px;font-weight:400;color:var(--ink-muted);pointer-events:none}.studio2-help:focus-within .studio2-help-tip,.studio2-help:hover .studio2-help-tip{display:block}.studio2-selectlist{z-index:60;min-width:0;max-width:none}@media (max-width:768px){.studio2-selectlist{right:auto;bottom:auto;box-shadow:var(--shadow-card)}}.studio2-feed{flex:1 1;min-height:0;width:min(760px,calc(100% - 40px));justify-content:flex-end;gap:40px;padding:8px 0 24px}.studio2-entry,.studio2-feed{display:flex;flex-direction:column}.studio2-entry{gap:12px;min-width:0}.studio2-entry-head{display:flex;align-items:flex-start;gap:16px}.studio2-entry-head p{flex:1 1;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:18px;font-weight:600;color:var(--ink-title)}.studio2-entry-head time{flex-shrink:0;font-size:10px;line-height:14px;color:var(--ink-placeholder)}.studio2-entry-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.studio2-chip-sm{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border:1px solid var(--line-soft);border-radius:999px;background:var(--surface-2);font-size:10px;line-height:14px;font-weight:500;white-space:nowrap}.studio2-chip-sm,.studio2-chip-sm .studio2-mask{color:var(--ink-muted)}.studio2-entry-refs,.studio2-entry-results{display:flex;flex-wrap:wrap;gap:8px}.studio2-result-card,.studio2-result-media{width:280px;max-width:100%;aspect-ratio:1/1;border-radius:16px;overflow:hidden}.studio2-result-media{padding:0;border:0;background:var(--surface-2);cursor:pointer}.studio2-result-media img,.studio2-result-media video{display:block;width:100%;height:100%;object-fit:cover}.studio2-result-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:0 24px;text-align:center;border:1px solid var(--line-soft);background:var(--surface-2);color:var(--ink-muted)}.studio2-result-card[data-tone=warn]{border-color:var(--warning);background:var(--warning-bg);color:var(--warning-ink)}.studio2-result-title{margin:0;font-size:12px;line-height:16px;font-weight:600;color:var(--ink-title)}.studio2-result-card[data-tone=warn] .studio2-result-title{color:var(--warning-ink)}.studio2-result-note{margin:0;max-width:220px;font-size:10px;line-height:14px}.studio2-result-card[data-tone=warn] .studio2-result-note,.studio2-result-note{color:var(--ink-muted)}.studio2-result-btn{margin-top:6px;display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 8px;border:1px solid var(--line-soft);border-radius:999px;background:var(--surface);box-shadow:inset 0 -1px 2px rgba(0,0,0,.2);font:inherit;font-size:12px;font-weight:500;cursor:pointer}.studio2-result-btn,.studio2-result-btn .studio2-mask{color:var(--ink-title)}.studio2-entry-actions{display:flex;align-items:center;gap:2px}.studio2-entry-actions a,.studio2-entry-actions button{display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 8px;border:0;border-radius:999px;background:transparent;font:inherit;font-size:12px;font-weight:500;color:var(--ink-muted);cursor:pointer;text-decoration:none}.studio2-entry-actions a:hover,.studio2-entry-actions button:hover{background:var(--surface-2)}.studio2-entry-actions .studio2-mask{color:var(--ink-muted)}.studio2-tile-fail-title{font-size:12px;font-weight:600}.studio2-tile-media[data-state=failed] .studio2-result-btn{margin-top:2px;color:var(--danger);border-color:var(--danger);box-shadow:none}.studio2-tile-media[data-state=failed] .studio2-result-btn .studio2-mask{color:var(--danger)}.studio2-tile-media[data-state=failed] .studio2-tile-status{max-width:220px;font-weight:400}.studio2-tile-eta{font-size:10px;font-weight:400;opacity:.8}.studio2-entry-actions a[aria-label],.studio2-entry-actions button[aria-label]{width:36px;padding:0;justify-content:center;border-radius:50%}.studio2-libmodal-overlay{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px 12px;background:rgba(0,0,0,.45)}.studio2-libmodal-wrap{position:relative;width:min(1024px,100%);max-height:100%;display:flex}.studio2-libmodal{position:relative;width:100%;min-height:min(647px,calc(100vh - 48px));align-content:start;max-height:calc(100vh - 48px);overflow-y:auto;padding:0 16px 16px;border-radius:12px;background:var(--surface);box-shadow:var(--shadow-card)}.studio2-libmodal-x{position:absolute;top:-34px;right:-34px;width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.28);color:#fff;cursor:pointer}@media (max-width:1100px){.studio2-libmodal-x{top:6px;right:6px;background:var(--surface-2);color:var(--ink-title)}}.studio2-libmodal-empty{display:grid;place-items:center;min-height:240px;font-size:12px;color:var(--ink-muted)}.studio2-libmodal-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding-top:12px;border-bottom:1px solid var(--line-soft)}.studio2-libmodal-tab{padding:8px 4px 10px;margin-left:4px;border-bottom:2px solid var(--purple-500);margin-bottom:-1px;font-size:12px;font-weight:500;color:var(--ink-title)}.studio2-libmodal-actions{display:flex;gap:6px;padding-bottom:8px}.studio2-libmodal-clear,.studio2-libmodal-ok{height:28px;padding:0 12px;border:0;border-radius:999px;font:inherit;font-size:12px;font-weight:500;cursor:pointer}.studio2-libmodal-clear{background:var(--surface-2);color:var(--ink-title)}.studio2-libmodal-ok{background:var(--purple-500);color:#fff}.studio2-libmodal-clear:disabled,.studio2-libmodal-ok:disabled{opacity:.45;cursor:not-allowed}.studio2-libmodal-bar{display:flex;align-items:center;gap:12px;padding:12px 0}.studio2-libmodal-seg{display:inline-flex;padding:2px;border:1px solid var(--line-soft);border-radius:8px;background:var(--surface-2);margin-right:auto}.studio2-libmodal-seg button{height:26px;padding:0 22px;border:0;border-radius:6px;background:transparent;font:inherit;font-size:12px;font-weight:500;color:var(--ink-muted);cursor:pointer}.studio2-libmodal-seg button[data-active]{background:var(--surface);color:var(--ink-title);box-shadow:var(--shadow-chip)}.studio2-libmodal-count{font-size:12px;color:var(--ink-muted)}.studio2-libmodal-filter{display:flex}.studio2-libmodal-grid{display:grid;grid-template-columns:repeat(6,1fr);grid-gap:8px;gap:8px}.studio2-libmodal-grid button{position:relative;aspect-ratio:1/1;padding:0;overflow:hidden;border:2px solid transparent;border-radius:6px;background:var(--surface-2);cursor:pointer}.studio2-libmodal-grid button[data-picked]{border-color:var(--purple-500)}.studio2-libmodal-grid img{display:block;width:100%;height:100%;object-fit:cover}.studio2-libmodal-check{position:absolute;top:5px;right:5px;width:16px;height:16px;display:grid;place-items:center;border-radius:50%;background:var(--purple-500)}@media (max-width:768px){.studio2-libmodal-grid{grid-template-columns:repeat(3,1fr)}.studio2-libmodal-bar{flex-wrap:wrap}}.studio2-attach-tag{position:absolute;left:0;right:0;bottom:0;padding:3px 2px;border-radius:0 0 8px 8px;background:rgba(0,0,0,.6);font-size:8px;line-height:10px;font-weight:500;text-align:center;color:#fff;pointer-events:none}.studio2-chip[aria-expanded=true],.studio2-icon-btn[aria-expanded=true]{background:var(--hover-overlay)}.studio2-director{max-height:80px;overflow:hidden;transition:max-height .18s ease,padding .18s ease,margin .18s ease,opacity .18s ease,border-width .18s}.studio2-composer-wrap:has(.studio2-dial) .studio2-director{max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0;border-width:0;opacity:0;pointer-events:none}.studio2-attach-group{display:contents}.studio2-attach-group[data-clip]{flex:1 1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.studio2-attach-group[data-clip] .studio2-attachrow{flex:0 1 auto}@container studio-composer (max-width: 520px){.studio2-composer-top{flex-wrap:wrap}.studio2-composer-top .studio2-mediaswitch{order:-1;margin-left:auto}.studio2-composer-top .studio2-attachrow{flex:1 1 100%}.studio2-composer-top .studio2-attachrow:empty{display:none}.studio2-attach-group[data-clip]{flex:1 1 100%}.studio2-clip{max-width:100%;box-sizing:border-box}}.studio2-clip{position:relative;display:flex;align-items:center;gap:10px;padding:6px 28px 6px 6px;border:1px solid var(--line-soft);border-radius:12px;background:var(--surface-2)}.studio2-clip video{width:56px;height:56px;border-radius:8px;object-fit:cover;background:#000}.studio2-clip-body{display:flex;flex-direction:column;gap:6px}.studio2-clip-title{font-size:11px;color:var(--ink-muted)}.studio2-clip-seg{display:inline-flex;padding:2px;border-radius:999px;background:var(--surface);border:1px solid var(--line-soft)}.studio2-clip-seg button{height:22px;padding:0 12px;border:0;border-radius:999px;background:transparent;font:inherit;font-size:11px;font-weight:500;color:var(--ink-muted);cursor:pointer}.studio2-clip-seg button[data-active]{background:var(--purple-500);color:#fff}.studio2-clip-x{position:absolute;top:6px;right:6px;width:18px;height:18px;display:grid;place-items:center;padding:0;border:1px solid var(--line-soft);border-radius:50%;background:var(--surface);color:var(--ink-title);cursor:pointer}.studio2-slider-wrap{position:relative;line-height:0}.studio2-slider-wrap .studio2-slider{display:block}.studio2-slider-dots{position:absolute;inset:0;pointer-events:none}.studio2-slider-dots span{position:absolute;top:calc(50% - 2px);width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--line-2,#d6d6d6)}.studio2-slider-dots span[data-passed]{background:#fff}