:root{--font-ui: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--text-xs: 11px;--text-sm: 12px;--text-meta: 13px;--text-body: 14px;--text-content: 15px;--text-lg: 18px;--text-title: 24px;--text-display: 30px;--text-display-fluid: clamp(var(--text-title), 4vw, var(--text-display));--text-metric-fluid: clamp(var(--text-title), 3vw, 38px);--text-metric-compact: clamp(var(--text-lg), 1.35vw, var(--text-title));--text-metric-wide: clamp(var(--text-title), 2.4vw, 32px);--weight-regular: 400;--weight-medium: 500;--weight-semibold: 600;--weight-bold: 700;font-family:var(--font-ui);color:#171717;background:#f7f7f7;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #171717;--muted: #666666;--text-muted: #666666;--line: #e5e5e5;--panel: #ffffff;--canvas: #f7f7f7;--soft: #f2f2f2;--accent: #171717;--accent-soft: #f0f0f0;--warm: #dd6b4d;--danger: #c74848;font-size:16px}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;height:100%;margin:0;overflow:hidden}body,button,input,textarea,select{font:inherit;letter-spacing:0}body{font-size:var(--text-body);font-weight:var(--weight-regular)}h1,h2,h3{font-weight:var(--weight-semibold)}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,a{color:inherit}button{border:0}button:not(:disabled),a{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #333333;outline-offset:2px}.auth-shell{display:grid;place-items:center;width:100%;min-height:100%;padding:28px 18px;overflow:auto;background:#f2f2f2}.auth-panel{width:min(404px,100%);padding:30px;border:1px solid #e5e5e5;border-radius:8px;background:#fff;box-shadow:0 18px 48px #0000001a}.auth-modal{width:min(404px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:0;border:0;border-radius:20px;overflow:auto;background:#fff;color:var(--ink);box-shadow:0 20px 64px #0003}.auth-modal::backdrop{background:transparent;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.auth-modal .auth-panel{position:relative;width:100%;border-radius:inherit;box-shadow:none}.auth-modal-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:28px;height:28px;border-radius:6px;background:transparent;color:#888}.auth-modal-close:hover{background:#f3f3f3;color:#333}.guest-login-button{pointer-events:auto;padding:9px 18px;border:1px solid #e5e5e5;border-radius:10px;background:#fff;color:var(--accent);font-weight:var(--weight-medium)}.auth-brand{display:flex;align-items:center;gap:11px;margin-bottom:34px}.auth-heading h1{margin:0;color:var(--ink);font-size:var(--text-title);line-height:1.25;letter-spacing:0}.auth-heading p{margin:8px 0 0;color:var(--muted);font-size:var(--text-meta)}.auth-heading p.auth-signup-reward{color:#525252;font-weight:var(--weight-bold)}.auth-mode-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;height:40px;margin:24px 0 22px;padding:3px;border:1px solid #e5e5e5;border-radius:7px;background:#f5f5f5}.auth-mode-switch button{border-radius:5px;color:#737373;background:transparent;font-size:var(--text-body);font-weight:var(--weight-medium);transition:color .15s ease,background .15s ease,box-shadow .15s ease}.auth-mode-switch button.active{color:#171717;background:#fff;box-shadow:0 1px 4px #00000017}.auth-mode-switch button:disabled{cursor:not-allowed;color:#a3a3a3;opacity:.75}.auth-reset-back{margin:24px 0 22px;padding:0;color:#333;background:transparent;font-size:var(--text-body);font-weight:var(--weight-medium)}.auth-reset-back:hover{color:#333;text-decoration:underline}.auth-form{display:flex;flex-direction:column}.auth-form>label{margin:0 0 7px;color:#404040;font-size:var(--text-sm);font-weight:var(--weight-semibold)}.auth-form>label:not(:first-child){margin-top:16px}.auth-input-wrap{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;height:44px;padding:0 12px;border:1px solid #dbdbdb;border-radius:7px;color:#999;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.auth-input-wrap:focus-within{border-color:#333;box-shadow:0 0 0 3px #0000001f}.auth-input-wrap input{width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;color:var(--ink);background:transparent;font-size:var(--text-body);font-weight:var(--weight-regular)}.auth-input-wrap input::placeholder{color:#a3a3a3}.auth-input-wrap.auth-referral-locked{background:#f5f5f5}.auth-input-wrap.auth-referral-locked:focus-within{border-color:#dbdbdb;box-shadow:none}.auth-input-wrap.auth-referral-locked input{cursor:default}.auth-password-toggle{display:grid;place-items:center;width:30px;height:30px;padding:0;border-radius:5px;color:gray;background:transparent}.auth-password-toggle:hover{color:var(--ink);background:#f2f2f2}.auth-code-send{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:96px;height:30px;padding:0 10px;border-radius:5px;color:#333;background:#f5f5f5;font-size:var(--text-body);font-weight:var(--weight-medium);white-space:nowrap;transition:color .15s ease,background .15s ease}.auth-code-send:hover:not(:disabled){color:#fff;background:var(--accent)}.auth-code-send:disabled{cursor:not-allowed;opacity:.58}.auth-email-domain-hint{margin:7px 1px 0;color:gray;font-size:var(--text-sm);line-height:1.55}.auth-forgot-link{align-self:flex-end;margin-top:8px;padding:0;color:#333;background:transparent;font-size:var(--text-body);font-weight:var(--weight-medium)}.auth-forgot-link:hover{color:#333;text-decoration:underline}.auth-service-warning{margin-top:12px;padding:9px 10px;border:1px solid #ead9b4;border-radius:6px;color:#7b5a18;background:#fffaf0;font-size:var(--text-sm);line-height:1.45}.auth-feedback{min-height:34px;padding-top:9px;font-size:var(--text-sm);opacity:0}.auth-feedback.error{color:var(--danger)}.auth-feedback.success{color:#333}.auth-feedback.show{opacity:1}.auth-submit{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;border-radius:7px;color:#fff;background:var(--accent);font-size:var(--text-body);font-weight:var(--weight-bold);transition:background .15s ease,transform .15s ease}.auth-submit:hover:not(:disabled){background:#333}.auth-submit:active:not(:disabled){transform:translateY(1px)}.auth-submit:disabled{cursor:not-allowed;opacity:.7}.auth-form>label.auth-legal-consent{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:8px;margin:14px 0 0;color:#737373;font-size:var(--text-sm);font-weight:var(--weight-medium);line-height:1.65;cursor:pointer}.auth-legal-consent input{width:15px;height:15px;margin:2px 0 0;accent-color:var(--accent)}.auth-legal-consent a,.auth-legal-footer a{color:#171717;font-weight:var(--weight-semibold)}.auth-legal-consent a:hover,.auth-legal-footer a:hover{text-decoration:underline}.auth-legal-footer{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:17px;color:#a3a3a3;font-size:var(--text-sm)}.auth-checking{display:flex;align-items:center;justify-content:center;gap:10px;min-height:220px;color:var(--muted);font-size:var(--text-meta)}@media(max-width:430px){.auth-shell{padding:14px}.auth-panel{padding:24px 20px}.auth-code-send{min-width:88px;padding:0 8px;font-size:var(--text-body);font-weight:var(--weight-medium)}}.workbench-shell{display:grid;grid-template-columns:228px minmax(0,1fr);width:100%;height:100%;background:var(--canvas)}.workspace-sidebar,.history-panel{position:relative;z-index:20;display:flex;flex-direction:column;min-width:0;height:100vh;overflow:hidden;background:var(--panel)}.workspace-sidebar{border-right:1px solid var(--line)}.history-panel{border-left:1px solid var(--line)}.brand-row{display:flex;align-items:center;gap:11px;height:66px;padding:0 18px;border-bottom:1px solid #efefef;flex:0 0 auto}.brand-logo{--brand-logo-field: #171717;--brand-logo-light: #ffffff;--brand-logo-accent: #a3a3a3;--brand-logo-line: #d4d4d4;display:grid;place-items:center;width:32px;height:32px;flex:0 0 auto}.brand-logo img{display:block;width:100%;height:100%;object-fit:contain}.brand-wordmark{display:block;width:104px;height:auto;max-width:100%;flex:0 0 auto}.brand-logo-field{fill:var(--brand-logo-field)}.brand-logo-light{fill:var(--brand-logo-light)}.brand-logo-accent,.brand-logo-sun{fill:var(--brand-logo-accent)}.brand-logo-line{fill:none;stroke:var(--brand-logo-line);stroke-linecap:round;stroke-width:1.35}.brand-copy{display:flex;flex-direction:column;min-width:0;line-height:1.1}.brand-copy strong{font-size:var(--text-content);font-weight:var(--weight-bold)}.brand-copy span{margin-top:4px;color:#999;font-size:var(--text-xs);font-weight:var(--weight-bold)}.icon-button{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;border-radius:6px;color:#666;background:transparent;transition:background .16s ease,color .16s ease}.icon-button:hover{color:var(--ink);background:#f2f2f2}.sidebar-close{display:none;margin-left:auto}.workspace-menu{display:flex;flex-direction:column;gap:4px;padding:18px 12px}.sidebar-legal-links{display:flex;align-items:center;justify-content:center;gap:7px;min-height:28px;color:#a3a3a3;font-size:var(--text-sm)}.sidebar-legal-links a{color:gray;transition:color .15s ease}.sidebar-legal-links a:hover{color:#171717;text-decoration:underline}.sidebar-account{display:flex;flex-direction:column;gap:0;min-height:118px;margin-top:auto;padding:12px}.legal-shell{width:100%;height:100%;min-height:0;padding:0 22px 64px;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;color:var(--ink);background:#f2f2f2}.legal-topbar{position:sticky;z-index:5;top:0;display:flex;align-items:center;justify-content:space-between;width:min(940px,100%);height:72px;margin:0 auto;background:#efefeff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.legal-brand,.legal-back{display:inline-flex;align-items:center}.legal-brand{gap:10px;color:var(--ink)}.legal-brand>span{display:flex;flex-direction:column;line-height:1.1}.legal-brand strong{font-size:var(--text-body);font-weight:var(--weight-bold)}.legal-brand small{margin-top:4px;color:#999;font-size:var(--text-xs);font-weight:var(--weight-bold);letter-spacing:.08em}.legal-back{gap:6px;color:#525252;font-size:var(--text-body);font-weight:var(--weight-medium)}.legal-back:hover{color:#171717}.legal-document{width:min(940px,100%);margin:12px auto 0;padding:54px 64px 48px;border:1px solid #e5e5e5;border-radius:10px;background:#fff;box-shadow:0 22px 60px #00000014}.legal-document-heading{display:flex;align-items:center;gap:15px}.legal-document-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;color:#171717;background:#f2f2f2}.legal-document-heading p{margin:0 0 5px;color:gray;font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:.12em}.legal-document-heading h1{margin:0;font-size:var(--text-display-fluid);line-height:1.1;letter-spacing:-.03em}.legal-meta{display:flex;flex-wrap:wrap;gap:7px 18px;margin-top:25px;padding:13px 15px;border:1px solid #e5e5e5;border-radius:7px;color:#737373;background:#fafafa;font-size:var(--text-sm)}.legal-lead{margin:28px 0 0;padding-bottom:28px;border-bottom:1px solid #ebebeb;color:#525252;font-size:var(--text-content);line-height:1.9}.legal-sections{display:flex;flex-direction:column;gap:32px;margin-top:34px}.legal-sections section{scroll-margin-top:90px}.legal-sections h2{margin:0 0 13px;color:#171717;font-size:var(--text-lg);line-height:1.45}.legal-sections p,.legal-sections li{color:#525252;font-size:var(--text-content);line-height:1.95}.legal-sections p{margin:0 0 10px}.legal-sections p:last-child{margin-bottom:0}.legal-sections ul{margin:8px 0 0;padding-left:20px}.legal-sections li+li{margin-top:7px}.legal-document-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:42px;padding-top:24px;border-top:1px solid #ebebeb}.legal-document-footer>div{display:inline-flex;align-items:center;gap:8px;color:#737373;font-size:var(--text-sm)}.legal-document-footer a{padding:9px 13px;border:1px solid #dbdbdb;border-radius:6px;color:#171717;background:#f7f7f7;font-size:var(--text-sm);font-weight:var(--weight-bold)}.legal-document-footer a:hover{border-color:#c2c2c2;background:#f2f2f2}@media(max-width:720px){.legal-shell{padding:0 12px 28px}.legal-topbar{height:62px}.legal-document{margin-top:6px;padding:32px 22px 28px}.legal-meta{flex-direction:column;gap:5px}.legal-sections{gap:27px}.legal-document-footer{align-items:flex-start;flex-direction:column}}.sidebar-redeem-area{position:relative;width:100%;height:42px;overflow:hidden;transition:height .24s cubic-bezier(.2,.8,.2,1)}.sidebar-redeem-area.expanded{height:180px}.sidebar-redeem-card{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:42px;padding:0 10px;border:1px solid #e5e5e5;border-radius:7px;color:#171717;background:#f7f7f7;font-size:var(--text-sm);font-weight:var(--weight-bold);transition:border-color .15s ease,background .15s ease,color .15s ease,opacity .15s ease,transform .18s ease}.sidebar-redeem-card:hover{border-color:#c2c2c2;color:#333;background:#efefef}.sidebar-redeem-area.expanded .sidebar-redeem-card{pointer-events:none;opacity:0;transform:translateY(-8px)}.sidebar-redeem-form{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:7px;padding:10px;border:1px solid #cccccc;border-radius:7px;color:#171717;background:#f7f7f7;opacity:0;pointer-events:none;transform:translateY(12px) scale(.98);transform-origin:bottom center;transition:opacity .18s ease 60ms,transform .24s cubic-bezier(.2,.8,.2,1) 60ms}.sidebar-redeem-area.expanded .sidebar-redeem-form{opacity:1;pointer-events:auto;transform:translateY(0) scale(1)}.sidebar-redeem-form-header{display:flex;align-items:center;justify-content:space-between;min-height:20px}.sidebar-redeem-form-header>span{display:inline-flex;align-items:center;gap:6px;color:#171717;font-size:var(--text-sm);font-weight:var(--weight-bold)}.sidebar-redeem-form-header>button{display:grid;place-items:center;width:26px;height:26px;margin:-3px -3px -3px 0;padding:0;border-radius:5px;color:#737373;background:transparent;transition:color .15s ease,background .15s ease}.sidebar-redeem-form-header>button:hover{color:#333;background:#ebebeb}.sidebar-redeem-input{display:grid;grid-template-columns:17px minmax(0,1fr);align-items:center;gap:7px;height:38px;min-width:0;padding:0 10px;border:1px solid #cccccc;border-radius:7px;color:#333;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.sidebar-redeem-input:focus-within{border-color:#333;box-shadow:0 0 0 3px #0000001f}.sidebar-redeem-input input{width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;color:var(--ink);background:transparent;font-size:var(--text-body);font-weight:var(--weight-regular);letter-spacing:.04em}.sidebar-redeem-input input::placeholder{color:#a3a3a3;font-weight:var(--weight-regular);letter-spacing:0}.sidebar-redeem-form>button{width:100%;height:34px;padding:0;border-radius:6px;color:#fff;background:var(--accent);font-size:var(--text-body);font-weight:var(--weight-bold);transition:background .15s ease,transform .15s ease}.sidebar-redeem-form>button:hover{background:#333}.sidebar-redeem-form>button:active{transform:translateY(1px)}.sidebar-redeem-buy-button{display:flex;align-items:center;justify-content:center;width:100%;height:34px;padding:0;border:1px solid #cccccc;border-radius:6px;color:#171717;background:#fff;font-size:var(--text-body);font-weight:var(--weight-bold);text-decoration:none;transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease}.sidebar-redeem-buy-button:hover{border-color:#b3b3b3;color:#333;background:#f5f5f5}.sidebar-redeem-buy-button:active{transform:translateY(1px)}.sidebar-account-avatar{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:50%;color:#fff;background:#333;font-weight:var(--weight-bold)}.sidebar-credit-balance{display:flex;align-items:center;gap:6px;min-width:0;color:#171717;font-size:var(--text-sm)}.sidebar-credit-balance strong{display:inline-block;min-width:3ch;color:#171717;font-size:var(--text-body);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;text-align:right}.sidebar-user-menu{position:relative;width:100%}.sidebar-account-menu{position:absolute;z-index:32;right:0;bottom:calc(100% + 8px);left:0;padding:7px;border:1px solid #e5e5e5;border-radius:10px;background:#fff;box-shadow:0 16px 40px #00000024;animation:sidebar-account-menu-in .16s cubic-bezier(.2,.8,.2,1)}@keyframes sidebar-account-menu-in{0%{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.sidebar-account-summary{display:flex;flex-direction:column;gap:3px;min-width:0;padding:7px 9px 9px;margin-bottom:4px;border-bottom:1px solid #efefef}.sidebar-account-summary strong,.sidebar-account-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-account-summary strong{color:#333;font-size:var(--text-sm);font-weight:var(--weight-bold)}.sidebar-account-summary span{color:gray;font-size:var(--text-sm)}.sidebar-account-menu>button{display:flex;align-items:center;gap:9px;width:100%;height:38px;padding:0 9px;border-radius:7px;color:#525252;background:transparent;font-size:var(--text-body);font-weight:var(--weight-medium);text-align:left;transition:color .15s ease,background .15s ease}.sidebar-account-menu>button:hover:not(:disabled){color:#333;background:#f2f2f2}.sidebar-account-menu>button.danger{color:#a44747}.sidebar-account-menu>button.danger:hover:not(:disabled){color:#963838;background:#fff0f0}.sidebar-account-menu>button:disabled{cursor:not-allowed;opacity:.6}.sidebar-user-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto 15px;align-items:center;gap:9px;width:100%;margin-top:9px;padding:9px 5px 5px;border-top:1px solid #efefef;border-radius:7px;background:transparent;text-align:left;transition:background .15s ease}.sidebar-user-row:hover,.sidebar-user-row.active{background:#f5f5f5}.sidebar-user-name{overflow:hidden;color:#333;font-size:var(--text-meta);font-weight:var(--weight-semibold);text-overflow:ellipsis;white-space:nowrap}.sidebar-user-credit{justify-content:flex-end;white-space:nowrap}.sidebar-account-chevron{color:#999;transition:transform .16s ease,color .16s ease}.sidebar-user-row.active .sidebar-account-chevron{color:#171717;transform:rotate(180deg)}.workspace-menu-item{position:relative;display:flex;align-items:center;gap:11px;width:100%;height:42px;padding:0 12px;border-radius:7px;color:#666;background:transparent;text-align:left;transition:color .15s ease,background .15s ease}.workspace-menu-item:hover{color:#333;background:#f5f5f5}.workspace-menu-item.active{color:#171717;background:var(--accent-soft)}.workspace-menu-item.active svg{color:var(--accent)}.history-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 18px 14px}.history-heading-actions{display:flex;align-items:center;gap:2px}.history-close{display:none}.history-heading h1{margin:0;line-height:1.25}.history-heading span{display:block;margin-top:4px;color:var(--muted);font-size:var(--text-sm)}.history-list{flex:1;min-height:0;padding:12px 10px 18px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d4d4d4 transparent}.history-item{position:relative;display:flex;min-height:82px;margin:4px 0;border:1px solid transparent;border-radius:8px;transition:background .15s ease,border-color .15s ease}.history-item:hover{background:#f5f5f5}.history-item.active{background:#f2f2f2;border-color:#dbdbdb}.history-item-main{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;width:100%;min-width:0;padding:12px 10px;text-align:left;background:transparent}.history-thumb{display:grid;place-items:center;width:56px;height:56px;overflow:hidden;border-radius:6px;color:#999;background-color:#ebebeb;background-image:linear-gradient(45deg,#e0e0e0 25%,transparent 25%),linear-gradient(-45deg,#e0e0e0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e0e0e0 75%),linear-gradient(-45deg,transparent 75%,#e0e0e0 75%);background-size:12px 12px;background-position:0 0,0 6px,6px -6px,-6px 0}.history-thumb.running{color:var(--accent);background:#ebebeb}.history-thumb.failed{color:var(--danger);background:#f7e6e6}.history-thumb img{width:100%;height:100%;object-fit:cover}.history-copy{display:flex;flex-direction:column;min-width:0}.history-copy>strong{overflow:hidden;color:#333;font-size:var(--text-meta);font-weight:var(--weight-semibold);line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.history-meta{display:flex;align-items:center;gap:5px;min-width:0;margin-top:6px;color:gray;font-size:var(--text-sm);white-space:nowrap}.history-meta em,.history-meta i{overflow:hidden;font-style:normal;text-overflow:ellipsis}.history-meta em{max-width:86px;color:#404040;font-weight:var(--weight-semibold)}.history-meta i{padding-left:5px;border-left:1px solid #d4d4d4}.history-status{display:flex;align-items:center;gap:4px;margin-top:auto;color:gray;font-size:var(--text-sm)}.history-status.running{color:var(--accent)}.history-status.failed{color:var(--danger)}.history-status.partial{color:#737373}.history-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:54px 12px;color:#a3a3a3;font-size:var(--text-sm)}.workbench-main{display:grid;grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;height:100vh;overflow:hidden}.workbench-view{display:grid;grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;overflow:hidden}.workbench-view.hidden{display:none}.image-generation-view{display:grid;grid-template-columns:minmax(0,1fr) 304px;min-width:0;min-height:0;overflow:hidden}.generation-workspace{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden}.batch-generation-view{min-width:0;min-height:0;background:var(--canvas)}.asset-library{min-width:0;min-height:0;padding:30px 34px 40px;overflow-y:auto;background:var(--canvas);scrollbar-width:thin;scrollbar-color:#cccccc transparent}.image-download-menu{position:relative;display:inline-flex;flex:0 0 auto}.image-download-options{position:absolute;z-index:80;display:grid;min-width:68px;padding:4px;border:1px solid rgb(255 255 255 / 22%);border-radius:7px;background:#171717f0;box-shadow:0 8px 20px #00000038;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.image-download-options.up{right:0;bottom:calc(100% + 7px)}.image-download-options.down{top:calc(100% + 7px);right:0}.image-download-options button{display:inline-flex!important;align-items:center;justify-content:flex-start;gap:5px;width:100%!important;min-width:0;height:28px!important;min-height:28px;padding:0 8px!important;border-radius:4px!important;color:#fff!important;background:transparent!important;font-size:var(--text-body)!important;font-weight:var(--weight-medium);line-height:1;text-align:left}.image-download-options button:hover:not(:disabled){color:#d4d4d4!important;background:#ffffff1f!important}.image-download-options button:disabled{cursor:wait}.asset-library-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:calc(100vh - 150px);color:#999;font-size:var(--text-sm)}.mobile-workbench-actions,.mobile-menu-button,.mobile-history-button,.mobile-sidebar-backdrop{display:none}.result-canvas{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;padding:26px 34px 18px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cccccc transparent}.result-canvas.empty{align-items:center;justify-content:center;padding-bottom:58px;color:#737373;text-align:center}.empty-canvas-mark{position:relative;width:116px;height:82px;margin-bottom:22px}.empty-canvas-mark span{position:absolute;display:grid;place-items:center;border:1px solid #dbdbdb;border-radius:8px;box-shadow:0 8px 24px #00000014}.empty-canvas-mark span:first-child{left:6px;bottom:5px;width:61px;height:55px;color:var(--accent);background:#f7f7f7;transform:rotate(-7deg)}.empty-canvas-mark span:last-child{right:5px;top:3px;width:70px;height:65px;color:var(--accent);background:#f5f5f5;transform:rotate(5deg)}.result-canvas.empty h2{margin:0;color:#333;font-size:var(--text-display);line-height:1.25;letter-spacing:-.02em;font-weight:var(--weight-semibold)}.empty-canvas-heading-prefix{display:inline-block}.result-canvas.empty h2:has(.rotating-text){display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.32em}@media(max-width:360px){.result-canvas.empty h2:has(.rotating-text){flex-direction:column;flex-wrap:nowrap}}.result-canvas.empty p{margin:8px 0 0;color:#999;font-size:var(--text-meta)}.result-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;width:min(1120px,100%);margin:0 auto 20px}.generation-failed.storage-blocked{border-color:#d4b16a;background:#fffaf0}.generation-failed.storage-blocked p{max-width:560px;margin:8px 0 0;line-height:1.6}.result-title{min-width:0}.result-title h2{max-width:760px;margin:8px 0 5px;overflow:hidden;color:#171717;font-size:var(--text-lg);font-weight:var(--weight-semibold);line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.result-title p{margin:0;color:gray;font-size:var(--text-sm)}.result-completed-time{display:inline-block;margin-left:8px;color:gray;font-size:var(--text-sm);font-style:normal;vertical-align:1px}.status-pill{display:inline-flex;align-items:center;gap:5px;height:23px;padding:0 8px;border-radius:999px;color:#333;background:#ebebeb;font-size:var(--text-sm);font-weight:var(--weight-semibold)}.status-pill.failed{color:#a94343;background:#f7e6e6}.status-pill.running{color:#333;background:#ebebeb}.status-pill.partial{color:#666;background:#f2f2f2}.secondary-button,.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 12px;border:1px solid #dbdbdb;border-radius:6px;color:#404040;background:#fff;text-decoration:none;font-size:var(--text-body);font-weight:var(--weight-medium);white-space:nowrap}.secondary-button:hover{border-color:#b3b3b3;background:#fafafa}.primary-button{color:#fff;background:var(--ink);border-color:var(--ink)}.artboard{display:grid;align-items:center;justify-content:center;gap:16px;width:min(1120px,100%);min-height:340px;margin:0 auto;flex:1}.artboard.single{grid-template-columns:minmax(260px,900px)}.artboard.single .result-image{justify-self:center;align-self:center;width:fit-content;max-width:100%;height:auto;max-height:none}.artboard.single .result-image img{max-height:var(--result-image-max-height)}.artboard.multi{display:flex;align-items:center;justify-content:center}.result-output{display:flex;flex-direction:column;justify-self:center;align-self:center;gap:14px;max-width:100%}.result-output.single{width:fit-content}.result-output.multi{width:min(900px,100%)}.result-output.multi .result-gallery{width:100%}.result-repeat-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;width:100%}.result-floating-actions{position:absolute;z-index:4;right:max(18px,calc((100% - 1120px)/2 - 30px));bottom:22px;width:auto}.result-repeat-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:116px;height:40px;padding:0 16px;border:1px solid #d4d4d4;border-radius:10px;color:#333;background:#fff;box-shadow:0 3px 10px #00000012;font-size:var(--text-body);font-weight:var(--weight-medium);transition:color .15s ease,background .15s ease,transform .15s ease}.result-repeat-actions button:hover:not(:disabled){color:#333;border-color:#b3b3b3;background:#fafafa;transform:translateY(-1px)}.result-repeat-actions .result-regenerate-button{color:#fff;border-color:#171717;background:#171717;box-shadow:0 5px 14px #0003}.result-repeat-actions .result-regenerate-button:hover:not(:disabled){color:#fff;border-color:#333;background:#333}.result-repeat-actions button:disabled{cursor:not-allowed;opacity:.5}.result-repeat-actions button.is-downloading:disabled{cursor:wait;opacity:1}@media(max-width:1180px){.result-floating-actions{position:static;width:min(900px,100%);margin:12px auto 0}}.result-gallery{display:flex;flex-direction:column;align-items:center;gap:14px;width:min(900px,100%);min-width:0;outline:0}.gallery-main{--result-image-max-height: min(560px, calc(100vh - 470px) );align-self:center;width:fit-content;max-width:100%}.gallery-main.failed{width:min(620px,100%);min-height:min(460px,calc(100vh - 470px));background:#fbf6f3}.gallery-failed-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:inherit;padding:28px;color:#9a625f;text-align:center}.gallery-failed-slot svg{color:#bf645d}.gallery-failed-slot strong{color:#754a48;font-size:var(--text-content)}.gallery-failed-slot span{color:#9a8583;font-size:var(--text-sm)}.gallery-counter,.gallery-preview-button,.gallery-nav{position:absolute;z-index:3;color:#fff;background:#171717c7;box-shadow:0 5px 18px #0000002e;opacity:0;pointer-events:none;transition:opacity .16s ease,transform .16s ease,background .16s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.gallery-counter{top:12px;left:50%;min-width:55px;padding:7px 10px;border-radius:999px;font-size:var(--text-sm);font-weight:var(--weight-bold);line-height:1;text-align:center;transform:translate(-50%,-5px)}.gallery-preview-button{top:10px;right:10px;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border:1px solid rgb(255 255 255 / 18%);border-radius:7px;font-size:var(--text-body);font-weight:var(--weight-medium);transform:translateY(-5px)}.gallery-preview-button:hover,.gallery-nav:hover{background:#171717eb}.gallery-nav{top:50%;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid rgb(255 255 255 / 22%);border-radius:50%}.gallery-nav.previous{left:12px;transform:translate(-6px,-50%)}.gallery-nav.next{right:12px;transform:translate(6px,-50%)}.gallery-main:hover .gallery-counter,.gallery-main:hover .gallery-preview-button,.gallery-main:hover .gallery-nav,.gallery-main:focus-within .gallery-counter,.gallery-main:focus-within .gallery-preview-button,.gallery-main:focus-within .gallery-nav{opacity:1;pointer-events:auto}.gallery-main:hover .gallery-counter,.gallery-main:focus-within .gallery-counter{transform:translate(-50%)}.gallery-main:hover .gallery-preview-button,.gallery-main:focus-within .gallery-preview-button{transform:translateY(0)}.gallery-main:hover .gallery-nav.previous,.gallery-main:focus-within .gallery-nav.previous,.gallery-main:hover .gallery-nav.next,.gallery-main:focus-within .gallery-nav.next{transform:translateY(-50%)}.gallery-thumbnails{display:flex;flex-wrap:nowrap;justify-content:center;gap:8px;width:100%;min-width:0;padding:4px 2px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#cccccc transparent}.gallery-thumbnails button{position:relative;flex:0 0 74px;width:74px;height:62px;padding:3px;overflow:hidden;border:2px solid transparent;border-radius:8px;background:#fff;box-shadow:0 1px 5px #0000001a;transition:border-color .15s ease,transform .15s ease}.gallery-thumbnails button:hover{transform:translateY(-2px)}.gallery-thumbnails button.active{border-color:var(--accent)}.gallery-thumbnails button.failed{display:grid;place-items:center;color:#c07770;background:#fff8f6}.gallery-thumbnails button.failed.active{border-color:#c07770}.gallery-thumbnail-failed-icon{color:#c07770}.gallery-thumbnails img{display:block;width:100%;height:100%;border-radius:4px;object-fit:cover}.gallery-thumbnails span{position:absolute;right:6px;bottom:5px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:9px;color:#fff;background:#171717c7;font-size:var(--text-xs);font-weight:var(--weight-bold)}.result-image{--result-image-max-height: min(650px, calc(100vh - 370px) );position:relative;display:grid;place-items:center;min-width:0;min-height:0;max-width:100%;max-height:none;margin:0;overflow:hidden;border:1px solid #dbdbdb;border-radius:8px;background:transparent;box-shadow:0 14px 38px #00000014}.result-image img{display:block;width:auto;height:auto;max-width:100%;max-height:var(--result-image-max-height);object-fit:contain}.result-image figcaption,.result-image-overlay{position:absolute;right:10px;bottom:10px;display:flex;gap:5px;padding:5px;border:1px solid rgb(255 255 255 / 18%);border-radius:7px;background:#171717c7;box-shadow:0 5px 18px #0000002e;opacity:0;transform:translateY(5px);transition:opacity .16s ease,transform .16s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.result-image:hover figcaption,.result-image:focus-within figcaption,.result-image:hover .result-image-overlay,.result-image:focus-within .result-image-overlay{opacity:1;transform:translateY(0)}.result-image figcaption button,.result-image figcaption a,.result-image-overlay>button{display:grid;place-items:center;width:31px;height:31px;padding:0;border-radius:5px;color:#fff;background:transparent}.result-image figcaption button:hover,.result-image figcaption a:hover,.result-image figcaption button.active,.result-image-overlay>button:hover{color:#d4d4d4;background:#ffffff1f}button.asset-favorite-active>svg{color:#ffb02e;fill:currentColor}.reference-flight-image{position:fixed;z-index:9999;display:block;margin:0;object-fit:cover;pointer-events:none;box-shadow:0 18px 50px #0003;will-change:left,top,width,height,opacity,transform;contain:layout paint}.generation-progress,.generation-failed{display:flex;flex-direction:column;align-items:center;justify-content:center;justify-self:center;width:min(640px,100%);min-height:330px;padding:34px;border:1px dashed #d4d4d4;border-radius:8px;color:gray;text-align:center;background:#ffffff6b}.generation-failed{width:min(820px,100%)}.generation-progress{position:relative;overflow:hidden;border-style:solid;border-color:#b3b3b38c;color:#efefef;background:#171717;box-shadow:0 22px 56px #00000024}.aurora-progress{isolation:isolate;justify-self:center;width:min(820px,100%);padding:0}.generation-aurora{position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 50% 95%,rgb(128 128 128 / 22%),transparent 42%),linear-gradient(180deg,#171717,#171717)}.generation-aurora .aurora-container{position:absolute;top:0;right:0;bottom:0;left:0;opacity:.98}.generation-aurora canvas{display:block;width:100%!important;height:100%!important}.generation-aurora:before{content:"";position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#1717170a,#1717177a),radial-gradient(circle at 50% 50%,transparent 0 38%,rgb(23 23 23 / 36%) 100%);pointer-events:none}.generation-aurora-sheen{position:absolute;z-index:1;top:1px;right:1px;bottom:1px;left:1px;border-radius:7px;background:linear-gradient(120deg,rgb(255 255 255 / 16%),transparent 34%,transparent 66%,rgb(255 255 255 / 7%));mix-blend-mode:screen;opacity:.7;pointer-events:none}.generation-progress-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:330px;padding:42px 34px;text-align:center}.creation-status{display:inline-flex;align-items:baseline;justify-content:center;gap:7px}.creation-dots{display:inline-flex;align-items:center;gap:3px}.creation-dots i{display:block;width:4px;height:4px;border-radius:50%;background:#333;animation:creation-dot 1.2s ease-in-out infinite}.creation-dots i:nth-child(2){animation-delay:.16s}.creation-dots i:nth-child(3){animation-delay:.32s}.generation-progress strong,.generation-failed strong{color:#404040;font-size:var(--text-content)}.aurora-progress .creation-status{color:#fafafa;text-shadow:0 1px 18px rgb(0 0 0 / 30%)}.aurora-progress .creation-dots i{background:#d4d4d4;box-shadow:0 0 12px #0000009e}.generation-progress p{max-width:460px;margin:9px 0 0;overflow:hidden;font-size:var(--text-sm);line-height:1.6;text-overflow:ellipsis;white-space:nowrap}.aurora-progress p{color:#efefefd1;text-shadow:0 1px 12px rgb(0 0 0 / 32%)}.generation-failed>span{display:grid;place-items:center;width:58px;height:58px;margin-bottom:15px;border-radius:8px;color:var(--warm);background:#f8eae4}.generation-failed.content-restriction{border-color:#e7a9a5;color:#8f3434;background:#fff3f2}.generation-failed.content-restriction>span{color:#b13f3f;background:#f8dedd}.generation-failed.content-restriction strong{color:#8f2f2f}.generation-failed.content-restriction p{max-width:560px;margin:9px 0 0;color:#8f3434;font-size:var(--text-meta);line-height:1.65}.generation-failed button,.generation-failed>a{margin-top:15px;padding:7px 10px;border-radius:6px;color:var(--accent);background:#ebebeb;font-size:var(--text-body);font-weight:var(--weight-medium);text-decoration:none}.generation-failed>a:hover{background:#e5e5e5}.storage-manager{width:min(1040px,calc(100% - 64px));margin:0 auto;padding:54px 0 72px}.storage-manager-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.storage-manager-header>div{display:flex;align-items:flex-start;gap:14px}.storage-manager-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;color:#171717;background:#ebebeb}.storage-manager h1,.storage-manager h2,.storage-manager p{margin:0}.storage-manager h1{color:#171717;font-size:var(--text-title)}.storage-manager-header p,.storage-cleanup-panel p{margin-top:6px;color:#737373;font-size:var(--text-meta);line-height:1.6}.storage-overview-card,.storage-cleanup-panel,.storage-metric-grid article{border:1px solid #e5e5e5;background:#fff;box-shadow:0 8px 30px #0000000d}.storage-overview-card{padding:24px;border-radius:14px}.storage-overview-copy{display:grid;gap:6px}.storage-overview-copy>span,.storage-metric-grid article>span{color:#737373;font-size:var(--text-sm)}.storage-overview-copy strong{color:#171717;font-size:var(--text-display);line-height:1}.storage-overview-copy small,.storage-metric-grid small{color:#999;font-size:var(--text-sm)}.storage-usage-track{height:9px;margin-top:20px;overflow:hidden;border-radius:999px;background:#efefef}.storage-usage-track>span{display:block;height:100%;border-radius:inherit;background:#171717;transition:width .22s ease}.storage-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.storage-metric-grid article{display:grid;gap:8px;min-width:0;padding:18px;border-radius:12px;color:#171717}.storage-metric-grid article strong{overflow:hidden;color:#333;font-size:var(--text-lg);text-overflow:ellipsis;white-space:nowrap}.storage-metric-grid article.storage-reclaimable{border-color:#ccc;color:#666;background:#fafafa}.storage-cleanup-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:14px;padding:22px 24px;border-radius:14px}.storage-cleanup-panel h2{color:#333;font-size:var(--text-lg)}.danger-button{display:inline-flex;min-height:36px;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid #dfb2ac;border-radius:7px;color:#a14035;background:#fff5f3;font-size:var(--text-body);font-weight:var(--weight-medium)}.danger-button:disabled{cursor:not-allowed;opacity:.45}.composer-dock{position:relative;z-index:12;padding:0 34px 22px;background:linear-gradient(to bottom,#f5f5f500,#f7f7f7 20%)}.workbench-composer{position:relative;width:min(1120px,100%);margin:0 auto;padding:10px;border:1px solid #dbdbdb;border-radius:8px;background:#fff;box-shadow:0 12px 32px #0000001a;transition:border-color .16s ease,box-shadow .16s ease}.workbench-composer:focus-within{border-color:#b3b3b3;box-shadow:0 12px 34px #0000001f,0 0 0 3px #00000012}.reference-strip{display:flex;gap:7px;min-height:56px;padding:0 0 9px;overflow-x:auto}.reference-item{position:relative;flex:0 0 56px;width:56px;height:56px;overflow:hidden;border:1px solid #dbdbdb;border-radius:6px;background:#efefef}.reference-item img{width:100%;height:100%;object-fit:cover}.reference-item>span{position:absolute;left:4px;bottom:4px;padding:2px 4px;border-radius:3px;color:#fff;background:#171717bd;font-size:var(--text-xs)}.reference-item>button{position:absolute;top:3px;right:3px;display:grid;place-items:center;width:20px;height:20px;padding:0;border-radius:4px;color:#fff;background:#171717b3}.reference-add-small{display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;padding:0;border:1px dashed #cccccc;border-radius:6px;color:gray;background:#f7f7f7}.composer-input-row{display:grid;grid-template-columns:66px minmax(0,1fr);gap:8px;align-items:stretch}.reference-upload-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:66px;min-height:74px;padding:7px;border:1px dashed #d4d4d4;border-radius:6px;color:gray;background:#f7f7f7;font-size:var(--text-body);font-weight:var(--weight-medium)}.reference-upload-button:hover{color:var(--accent);border-color:#b3b3b3;background:#f5f5f5}.prompt-field{position:relative;min-width:0}.prompt-field textarea{display:block;width:100%;min-height:74px;max-height:132px;padding:10px 9px;resize:none;border:0;outline:0;color:#333;background:transparent;line-height:1.65}.mention-reference-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;pointer-events:none}.mention-reference-hitbox{position:absolute;display:block;border-radius:6px;background:#9999991a;box-shadow:inset 0 0 0 1px #0000001a;cursor:default;pointer-events:auto;transition:background .12s ease,box-shadow .12s ease}.mention-reference-hitbox:hover{background:#9999991f;box-shadow:inset 0 0 0 1px #0000001f}.mention-measure-mirror{position:absolute;visibility:hidden;pointer-events:none}.mention-token-preview{position:absolute;z-index:35;width:148px;padding:8px;border:1px solid #e5e5e5;border-radius:12px;background:#fff;box-shadow:0 16px 38px #00000024;pointer-events:none}.mention-token-preview img{display:block;width:100%;aspect-ratio:4 / 3;border-radius:8px;object-fit:cover;background:#f5f5f5}.mention-token-preview .video-reference-media,.mention-token-preview-audio{display:grid;width:100%;height:auto;aspect-ratio:4 / 3;place-items:center;overflow:hidden;border-radius:8px;background:#f5f5f5;color:gray}.mention-token-preview .video-reference-media>canvas{height:100%;object-fit:cover}.mention-token-preview>span{display:block;margin-top:6px;overflow:hidden;color:gray;font-size:var(--text-sm);line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.mention-menu,.settings-popover{position:absolute;z-index:40;overflow:hidden;border:1px solid #dbdbdb;border-radius:8px;background:#fff;box-shadow:0 16px 40px #00000029}.mention-menu{left:0;bottom:calc(100% + 10px);width:min(310px,100%);padding:6px}.popover-title{padding:7px 9px;color:gray;font-size:var(--text-sm);font-weight:var(--weight-semibold)}.mention-menu button{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-width:0;padding:7px;border-radius:6px;text-align:left;background:transparent}.mention-menu button:hover,.mention-menu button.active{background:#f2f2f2}.mention-menu img,.mention-menu button>svg:first-child{width:38px;height:38px;border-radius:5px;object-fit:cover}.mention-menu button>svg:first-child{padding:9px;color:var(--accent);background:#ebebeb}.mention-menu button>span,.model-popover button>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.mention-menu strong,.model-popover strong{font-size:var(--text-body);font-weight:var(--weight-medium)}.mention-menu small,.model-popover small{margin-top:3px;overflow:hidden;color:#999;font-size:var(--text-body);text-overflow:ellipsis;white-space:nowrap;font-weight:var(--weight-medium)}.composer-controls{display:flex;align-items:center;gap:6px;min-width:0;margin-top:8px}.mode-chip,.control-chip,.icon-control,.send-control{display:inline-flex;align-items:center;justify-content:center;height:34px;border-radius:6px;white-space:nowrap}.mode-chip,.control-chip{gap:6px;padding:0 10px;border:1px solid #dbdbdb;color:#525252;background:#fff;font-size:var(--text-body);font-weight:var(--weight-medium)}.mode-chip{color:#171717;background:#f2f2f2;border-color:#d4d4d4}.control-chip:hover,.control-chip.active{color:var(--ink);border-color:#b3b3b3;background:#f5f5f5}.chip-divider{width:1px;height:12px;background:#d4d4d4}.control-spacer{flex:1;min-width:6px}.prompt-length-count{min-width:max-content;color:#999;font-size:var(--text-sm);font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap}.prompt-length-count.limit-reached,.prompt-edit-count.limit-reached{color:#737373}.prompt-length-count.over-limit,.prompt-edit-count.over-limit{color:#525252;font-weight:var(--weight-bold)}.generation-limit-wrap{position:relative;display:inline-flex;flex:0 0 auto}.generation-limit-trigger{display:inline-flex;align-items:center;justify-content:center;min-width:max-content;height:25px;padding:0 8px;border:1px solid #e0e0e0;border-radius:6px;color:#737373;background:#fafafa;font-size:var(--text-meta);font-weight:var(--weight-semibold);line-height:1;white-space:nowrap;transition:color .14s ease,border-color .14s ease,background .14s ease}.generation-limit-trigger:hover,.generation-limit-trigger:focus-visible{color:#171717;border-color:#c2c2c2;background:#f5f5f5}.generation-limit-tooltip{position:absolute;right:0;bottom:calc(100% + 10px);z-index:90;width:min(300px,calc(100vw - 24px));padding:11px 13px;visibility:hidden;border:1px solid #dbdbdb;border-radius:9px;color:#525252;background:#fff;box-shadow:0 14px 36px #00000026;font-size:var(--text-meta);font-weight:var(--weight-regular);line-height:1.65;opacity:0;pointer-events:none;transform:translateY(-4px);transition:opacity .14s ease,transform .14s ease,visibility .14s ease;white-space:normal}.generation-limit-tooltip p{margin:0}.generation-limit-tooltip .generation-limit-warning{padding:9px 10px;border:1px solid #e9a3a3;border-radius:7px;color:#b42318;background:#fff0f0;font-weight:var(--weight-semibold);line-height:1.55}.generation-limit-tooltip ul{margin:8px 0 0;padding-left:18px}.generation-limit-tooltip li{padding-left:1px}.generation-limit-tooltip li+li{margin-top:5px}.generation-limit-tooltip .generation-limit-note{margin-top:10px;padding-top:9px;border-top:1px solid #efefef;color:#737373}.generation-limit-tooltip:after{position:absolute;right:18px;bottom:-5px;width:9px;height:9px;border-right:1px solid #dbdbdb;border-bottom:1px solid #dbdbdb;background:#fff;content:"";transform:rotate(45deg)}.generation-timeline-workspace.creation-home .generation-limit-tooltip{top:calc(100% + 10px);bottom:auto}.generation-timeline-workspace.creation-home .generation-limit-tooltip:after{top:-5px;bottom:auto;border-top:1px solid #dbdbdb;border-left:1px solid #dbdbdb;border-right:0;border-bottom:0}.generation-limit-wrap:hover .generation-limit-tooltip,.generation-limit-wrap:focus-within .generation-limit-tooltip{visibility:visible;opacity:1;transform:translateY(0)}.generation-cost{display:inline-flex;align-items:center;gap:3px;min-width:max-content;color:#999;font-size:var(--text-sm);white-space:nowrap}.generation-cost svg{color:#a3a3a3}.generation-cost strong{color:#525252;font-weight:var(--weight-semibold)}.icon-control,.send-control{width:34px;flex:0 0 34px;padding:0;color:#737373;background:transparent}.icon-control:hover{color:var(--accent);background:#f2f2f2}.send-control{color:#fff;background:var(--ink)}.send-control:hover:not(:disabled){background:var(--accent)}.send-control:disabled{color:#a3a3a3;background:#e5e5e5;cursor:default}.button-loader{width:15px;height:15px;border:2px solid rgb(255 255 255 / 35%);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.popover-wrap{position:relative}.settings-popover{bottom:calc(100% + 10px)}.parameter-popover{left:0;width:390px;padding:10px}.settings-group{padding:9px}.settings-group+.settings-group{border-top:1px solid #efefef}.settings-group>label{display:block;margin-bottom:9px;color:#666}.ratio-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.ratio-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;height:49px;padding:4px;border:1px solid #e5e5e5;border-radius:5px;color:gray;background:#fafafa}.ratio-grid button:hover,.ratio-grid button.active{color:var(--accent);border-color:#b3b3b3;background:#f5f5f5}.ratio-icon{display:block;border:1.5px solid currentColor;border-radius:2px}.ratio-icon.auto{width:24px;height:14px;border-style:dashed;border-radius:2px}.ratio-icon.square{width:17px;height:17px}.ratio-icon.wide{width:22px;height:13px}.ratio-icon.tall{width:13px;height:22px}.settings-group.inline{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center}.settings-group.inline>label{margin:0}.quality-control{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:3px;border-radius:6px;background:#f2f2f2}.quality-control.render-quality-control{grid-template-columns:repeat(5,minmax(0,1fr))}.quality-control button{height:27px;border-radius:4px;color:gray;background:transparent}.quality-control button.active{color:var(--ink);background:#fff;box-shadow:0 1px 3px #00000014;font-weight:var(--weight-bold)}.style-grid{display:flex;flex-wrap:wrap;gap:5px}.style-grid button{height:28px;padding:0 9px;border:1px solid #e0e0e0;border-radius:5px;color:gray;background:#fafafa;font-size:var(--text-body);font-weight:var(--weight-medium)}.style-grid button.active{color:var(--accent);border-color:#b3b3b3;background:#f2f2f2;font-weight:var(--weight-semibold)}.model-popover{right:0;width:268px;padding:6px}.model-popover>button{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-width:0;padding:7px;border-radius:6px;text-align:left;background:transparent}.model-popover>button:hover,.model-popover>button.active{background:#f2f2f2}.creation-type-popover{z-index:64;left:0;right:auto;bottom:calc(100% + 8px);width:min(280px,calc(100vw - 32px));padding:8px;border-radius:14px;box-shadow:0 8px 22px #0000000f}.creation-type-popover>.popover-title{display:flex;align-items:center;min-height:32px;margin-bottom:6px;padding:0 11px;color:gray;font-size:var(--text-sm);font-weight:var(--weight-semibold)}.creation-type-popover>button{display:grid;grid-template-columns:18px minmax(0,1fr) 18px;align-items:center;gap:9px;width:100%;min-width:0;min-height:46px;padding:0 11px;border:0;border-radius:8px;color:#171717;text-align:left;background:transparent}.creation-type-popover>button+button{margin-top:2px}.creation-type-popover>button:hover{background:#f5f5f5}.creation-type-popover>button.active{color:#333;background:#f2f2f2}.creation-type-popover>button>svg:first-child{display:block;width:18px;height:18px;padding:0;border-radius:0;color:#171717;background:transparent}.creation-type-popover strong{display:inline-flex;align-items:center;min-width:0;overflow:hidden;font-size:15px;font-weight:var(--weight-semibold);line-height:1.3;white-space:nowrap}.creation-type-popover small{margin-top:3px;color:#999;font-size:var(--text-sm)}.model-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:6px;color:var(--accent);background:#ebebeb}.composer-dock{padding:0 34px 28px;background:transparent}.workbench-composer{display:grid;grid-template-rows:1fr auto;width:min(820px,100%);min-height:154px;padding:18px 20px;overflow:visible;border:1px solid #e5e5e5;border-radius:22px;background:#fff;box-shadow:0 1px 2px #00000005}.workbench-composer:focus-within{border-color:#e5e5e5;box-shadow:0 1px 2px #00000005}.workbench-composer:has(.prompt-field textarea:focus){border-color:#999;box-shadow:0 1px 2px #00000005,0 0 0 3px #00000029}.composer-input-row{display:grid;grid-template-columns:70px minmax(0,1fr);gap:24px;align-items:start;min-height:88px}.reference-upload-zone{position:relative;z-index:48;width:70px;min-height:88px;align-self:start}.reference-processing-status{position:absolute;z-index:60;top:0;left:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:4px;width:74px;height:78px;padding:5px;border:1px solid #e0e0e0;border-radius:8px;color:#333;background:#fafafaf5;box-shadow:0 5px 18px #00000014;cursor:wait}.reference-processing-status>svg{flex:0 0 auto;width:16px;height:16px;color:#333}.reference-processing-status>span{display:flex;min-width:0;flex-direction:column;gap:2px;white-space:nowrap}.reference-processing-status strong{font-size:var(--text-xs);font-weight:var(--weight-bold)}.reference-processing-status small{color:#333;font-size:var(--text-xs)}.reference-upload-zone.is-processing .reference-upload-card,.reference-upload-zone.is-processing .reference-quick-add,.reference-upload-zone.is-processing .reference-hover-list{opacity:0;pointer-events:none}.reference-upload-zone.is-processing .reference-stack{opacity:0}.reference-upload-card{position:relative;display:grid;place-items:center;width:58px;height:78px;padding:0;overflow:visible;border:1px solid #e5e5e5;border-radius:3px;color:gray;background:#f5f5f5;transform:rotate(-8deg);transform-origin:50% 50%;transition:color .16s ease,background .16s ease,opacity .18s ease}.reference-upload-card:hover{color:#333;background:#f2f2f2}.reference-upload-zone.has-reference .reference-upload-card{width:74px;border:0;background:transparent;transform:none}.reference-stack{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:1;transition:opacity .18s ease,transform .22s ease}.reference-stack img{position:absolute;top:5px;left:4px;width:50px;height:68px;border-radius:4px;object-fit:cover;transform:rotate(-8deg)}.reference-stack img:nth-child(2){top:3px;left:10px;transform:rotate(-2deg)}.reference-stack img:nth-child(3){top:5px;left:15px;transform:rotate(4deg)}.reference-quick-add{position:absolute;z-index:52;left:42px;top:10px;width:50px;height:68px;padding:0;color:#333;background:transparent;transition:opacity .18s ease,transform .24s cubic-bezier(.2,.8,.2,1)}.reference-quick-add:before{content:"";position:absolute;left:8px;top:38px;width:34px;height:34px;border-radius:50%;background:#efefef;box-shadow:0 4px 14px #0000001f;transform-origin:top left;transition:border-radius .18s ease,background .16s ease,box-shadow .18s ease,transform .24s cubic-bezier(.2,.8,.2,1)}.reference-quick-add>svg{position:absolute;z-index:1;left:15px;top:45px;pointer-events:none;transition:transform .24s cubic-bezier(.2,.8,.2,1)}.reference-quick-add:hover:before{background:#e5e5e5}.reference-upload-zone.has-reference:not(.is-expanded) .reference-quick-add{pointer-events:none}.reference-upload-zone.has-reference:not(.is-expanded) .reference-quick-add:before{pointer-events:auto}.reference-upload-zone.has-reference .reference-quick-add:before{transform:translate(var(--reference-dot-shift-x, 0px))}.reference-upload-zone.has-reference .reference-quick-add>svg{transform:translate(var(--reference-dot-shift-x, 0px))}.reference-hover-list{position:absolute;z-index:50;left:4px;top:5px;display:flex;align-items:flex-start;gap:7px;min-width:max-content;min-height:90px;opacity:0;pointer-events:none;transform:translate(-2px);transition:opacity .18s ease,transform .22s ease}.reference-upload-zone.has-reference.is-expanded .reference-hover-list,.reference-upload-zone.has-reference.is-collapsing .reference-hover-list{opacity:1;transform:translate(0)}.reference-upload-zone.has-reference.is-expanded .reference-hover-list{pointer-events:auto}.reference-upload-zone.has-reference.is-collapsing .reference-hover-list{pointer-events:none}.reference-upload-zone.has-reference.is-expanded .reference-stack,.reference-upload-zone.has-reference.is-collapsing .reference-stack,.reference-upload-zone.has-reference.is-expanded .reference-upload-card,.reference-upload-zone.has-reference.is-collapsing .reference-upload-card{opacity:0;pointer-events:none}.reference-upload-zone.has-reference.is-expanded .reference-stack,.reference-upload-zone.has-reference.is-collapsing .reference-stack{transform:scale(.92)}.reference-upload-zone.has-reference.is-expanded .reference-quick-add{opacity:1;transform:translate(var(--reference-add-shift-x, 0),-5px);pointer-events:auto}.reference-upload-zone.has-reference.is-expanded .reference-quick-add:before{border-radius:2px;box-shadow:none;transform:translate(-8px,-38px) scale(1.4706,2)}.reference-upload-zone.has-reference.is-expanded .reference-quick-add>svg{transform:translateY(-21px)}.reference-upload-zone[data-count="1"]{--reference-add-shift-x: 19px;--reference-dot-shift-x: -23px}.reference-upload-zone[data-count="2"]{--reference-add-shift-x: 76px;--reference-dot-shift-x: -17px}.reference-upload-zone[data-count="3"]{--reference-add-shift-x: 133px;--reference-dot-shift-x: -12px}.reference-upload-zone[data-count="4"]{--reference-add-shift-x: 190px;--reference-dot-shift-x: -12px}.reference-upload-zone[data-count="5"]{--reference-add-shift-x: 247px;--reference-dot-shift-x: -12px}.reference-hover-item,.reference-hover-add{position:relative;display:block;flex:0 0 50px;width:50px;height:68px;padding:0;border-radius:4px;background:#f5f5f5;transform:rotate(-8deg);transition:transform .24s cubic-bezier(.2,.8,.2,1),opacity .18s ease,box-shadow .18s ease}.reference-hover-item:nth-child(2n){transform:translate(-57px) rotate(-2deg)}.reference-hover-item:nth-child(3n){transform:translate(-114px) rotate(3deg)}.reference-hover-item:nth-child(4){transform:translate(-171px) rotate(-4deg)}.reference-hover-item:nth-child(5){transform:translate(-228px) rotate(2deg)}.reference-hover-item:nth-child(6){transform:translate(-285px) rotate(-3deg)}.reference-upload-zone.has-reference.is-expanded .reference-hover-item{transform:rotate(-8deg)}.reference-upload-zone.has-reference.is-expanded .reference-hover-item:nth-child(2n){transform:rotate(4deg)}.reference-upload-zone.has-reference.is-expanded .reference-hover-item:nth-child(3n){transform:rotate(-2deg)}.reference-upload-zone.has-reference.is-expanded .reference-hover-item:nth-child(4){transform:rotate(3deg)}.reference-upload-zone.has-reference.is-expanded .reference-hover-item:nth-child(5){transform:rotate(-3deg)}.reference-upload-zone.has-reference.is-expanded .reference-hover-item:nth-child(6){transform:rotate(2deg)}.reference-upload-zone.has-reference.is-expanded .reference-hover-item,.reference-upload-zone.has-reference.is-collapsing .reference-hover-item{will-change:transform,opacity}.reference-hover-item img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}.reference-hover-item button{position:absolute;top:-9px;right:-9px;display:grid;place-items:center;width:22px;height:22px;padding:0;border-radius:50%;color:#fff;background:#333;box-shadow:0 4px 12px #0000002e;opacity:0;pointer-events:none;transform:scale(.86);transition:opacity .12s ease,transform .12s ease}.reference-hover-item:hover button,.reference-hover-item:focus-within button{opacity:1;pointer-events:auto;transform:scale(1)}.reference-hover-add{display:grid;place-items:center;border:1px solid #e5e5e5;color:gray;background:#f5f5f5;opacity:0;transform:translate(-285px) rotate(-3deg) scale(.72);transition:opacity .32s ease,transform .64s ease}.reference-upload-zone.has-reference.is-expanded .reference-hover-add{opacity:1;transform:rotate(-8deg) scale(1)}.reference-image-preview{position:absolute;left:0;bottom:calc(100% + 12px);width:224px;padding:8px;overflow:hidden;border:1px solid #dbdbdb;border-radius:12px;background:#fff;box-shadow:0 18px 44px #00000029;pointer-events:none;animation:reference-preview-in .14s ease-out}.reference-image-preview>img{display:block;width:100%;max-height:260px;aspect-ratio:4 / 3;border-radius:8px;object-fit:contain;background-color:#efefef;background-image:linear-gradient(45deg,#e5e5e5 25%,transparent 25%),linear-gradient(-45deg,#e5e5e5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e5e5 75%),linear-gradient(-45deg,transparent 75%,#e5e5e5 75%);background-size:14px 14px;background-position:0 0,0 7px,7px -7px,-7px 0}.reference-image-preview>span{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;margin-top:7px}.reference-image-preview strong{color:#333;font-size:var(--text-xs)}.reference-image-preview small{overflow:hidden;color:gray;font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap}@keyframes reference-preview-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.reference-upload-zone.is-full .reference-hover-add{display:none}.prompt-field{min-height:88px}.prompt-field textarea{min-height:88px;max-height:220px;padding:0 8px 0 0;color:#171717;caret-color:#333;font-size:var(--text-body);line-height:1.58;scrollbar-color:#cccccc transparent;scrollbar-width:thin;font-weight:var(--weight-regular)}.prompt-field textarea::-webkit-scrollbar{width:5px}.prompt-field textarea::-webkit-scrollbar-track,.prompt-field textarea::-webkit-scrollbar-corner{background:transparent}.prompt-field textarea::-webkit-scrollbar-thumb{min-height:28px;border-radius:999px;background:#ccc}.prompt-field textarea::-webkit-scrollbar-button,.prompt-field textarea::-webkit-scrollbar-button:single-button,.prompt-field textarea::-webkit-scrollbar-button:vertical,.prompt-field textarea::-webkit-scrollbar-button:vertical:start,.prompt-field textarea::-webkit-scrollbar-button:vertical:end,.prompt-field textarea::-webkit-scrollbar-button:vertical:decrement,.prompt-field textarea::-webkit-scrollbar-button:vertical:increment{display:none;width:0;height:0;min-height:0;border:0;background:transparent;background-image:none;-webkit-appearance:none}.prompt-field textarea::placeholder{color:#a3a3a3}.prompt-file-drop-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:46;display:flex;align-items:center;justify-content:center;gap:10px;border:1px dashed #333333;border-radius:inherit;color:#333;background:transparent;box-shadow:none;pointer-events:none}.prompt-file-drop-overlay>svg{flex:0 0 auto}.prompt-file-drop-overlay>span{display:flex;flex-direction:column;gap:2px}.prompt-file-drop-overlay strong{font-size:var(--text-meta);font-weight:var(--weight-semibold)}.prompt-file-drop-overlay small{color:#333;font-size:var(--text-sm)}.composer-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;min-height:38px;margin-top:12px;overflow:visible}.mode-chip,.control-chip,.icon-control,.send-control{min-height:35px;height:35px;border-radius:10px;font-size:var(--text-body);font-weight:var(--weight-medium)}.mode-chip{gap:6px;min-width:112px;padding:0 12px;border:1px solid transparent;color:#171717;background:transparent}.mode-chip:hover{background:#f5f5f5}.mode-chip.creation-type-picker{border-color:var(--line);color:#0ea5e9;background:var(--panel)}.mode-chip.creation-type-picker:hover,.mode-chip.creation-type-picker.active{background:var(--soft)}.primary-model-chip{min-width:128px;border-color:#e5e5e5;background:#fff}.primary-model-chip:hover,.primary-model-chip.active{border-color:#e5e5e5;color:#171717;background:#f5f5f5}.primary-model-chip>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.primary-model-wrap .model-popover{left:0;right:auto;z-index:70}.control-chip{gap:9px;min-width:122px;padding:0 12px;border-color:#e5e5e5;color:#171717;background:#fff}.control-chip:hover,.control-chip.active{border-color:#e5e5e5;color:#171717;background:#f5f5f5}.chip-divider{height:16px;background:#d4d4d4}.icon-control{position:relative;flex:0 0 38px;width:38px;height:35px;padding:0;border:1px solid #e5e5e5;color:#171717;background:#fff}.icon-control:hover,.icon-control.active{color:#171717;background:#f5f5f5}.ai-optimize-control{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:35px;height:35px;padding:0;border:1px solid #d4d4d4;border-radius:10px;color:#525252;background:#f5f5f5;white-space:nowrap}.ai-optimize-control:hover:not(:disabled){color:#404040;border-color:#c2c2c2;background:#efefef}.ai-optimize-control:disabled{color:#a3a3a3;border-color:#e5e5e5;background:#f5f5f5;cursor:not-allowed}.workbench-composer.is-ai-optimizing{border-color:transparent;box-shadow:0 12px 34px #0000001f,0 0 0 3px #0000000f}.workbench-composer.is-ai-optimizing:before{content:"";position:absolute;z-index:0;top:-2px;right:-2px;bottom:-2px;left:-2px;padding:2px;border-radius:24px;background:linear-gradient(100deg,transparent 12%,#999999 34%,#a3a3a3 50%,#999999 66%,transparent 88%);background-size:300% 100%;pointer-events:none;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:ai-inline-border-flow 1.35s linear infinite}.workbench-composer.is-ai-optimizing>*{position:relative;z-index:1}.prompt-field.is-ai-optimizing textarea{padding-right:190px;cursor:wait}.prompt-field.is-ai-optimizing .mention-reference-layer{display:none}.prompt-field.has-ai-undo textarea{padding-right:72px}.ai-inline-undo{position:absolute;z-index:28;top:1px;right:11px;display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 8px;border:1px solid #dbdbdb;border-radius:8px;color:#525252;background:#fafafaf5;box-shadow:0 4px 12px #00000014;font-size:var(--text-sm);font-weight:var(--weight-semibold);line-height:1}.ai-inline-undo:hover{color:#404040;border-color:#c2c2c2;background:#f2f2f2}.ai-inline-undo:focus-visible{outline:2px solid rgb(102 102 102 / 28%);outline-offset:2px}.ai-inline-status{position:absolute;z-index:26;top:0;right:5px;display:inline-flex;align-items:center;gap:6px;max-width:180px;padding:5px 8px;border:1px solid #e5e5e5;border-radius:8px;color:#333;background:#fafafaf0;box-shadow:0 5px 16px #00000012;font-size:var(--text-sm);font-weight:var(--weight-semibold);pointer-events:none;white-space:nowrap}.workbench-composer.is-ai-streaming .ai-inline-status{border-color:#dbdbdb;color:#525252;background:#fafafaf2}.reference-upload-zone.is-ai-locked{cursor:wait}.reference-upload-zone.is-ai-locked .reference-upload-card,.reference-upload-zone.is-ai-locked .reference-quick-add{opacity:.72}.ai-optimize-wrap{z-index:76}.ai-optimize-control.active{color:#404040;border-color:#c2c2c2;background:#efefef}.ai-optimize-control.is-running{color:#666;border-color:#d4d4d4;background:#f5f5f5}.ai-optimize-control.is-running:hover:not(:disabled){color:#333;border-color:#c2c2c2;background:#f2f2f2}.ai-optimize-goal-menu{position:absolute;z-index:78;left:50%;bottom:calc(100% + 12px);width:318px;padding:8px;border:1px solid #e5e5e5;border-radius:14px;background:#fff;box-shadow:0 18px 48px #00000029;transform:translate(-50%);transform-origin:50% 100%;animation:ai-goal-menu-in .16s cubic-bezier(.2,.8,.2,1)}.ai-optimize-goal-menu:after{content:"";position:absolute;left:50%;bottom:-6px;width:11px;height:11px;border-right:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;background:#fff;transform:translate(-50%) rotate(45deg)}.ai-optimize-goal-header{display:flex;align-items:center;gap:9px;padding:7px 8px 10px}.ai-optimize-goal-header>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;color:#525252;background:#f2f2f2}.ai-optimize-goal-header>div{display:flex;min-width:0;flex-direction:column;gap:2px}.ai-optimize-goal-header strong{color:#333;font-size:var(--text-meta);font-weight:var(--weight-bold)}.ai-optimize-goal-header small{color:#999;font-size:var(--text-sm)}.ai-optimize-goal-options{display:grid;gap:3px}.ai-optimize-goal-options>button{display:flex;align-items:baseline;gap:10px;width:100%;min-height:48px;padding:9px 10px;border:1px solid transparent;border-radius:9px;text-align:left;background:transparent;transition:border-color .15s ease,background .15s ease,transform .15s ease}.ai-optimize-goal-options>button:hover,.ai-optimize-goal-options>button:focus-visible{border-color:#d4d4d4;background:#f2f2f2}.ai-optimize-goal-options>button:hover span,.ai-optimize-goal-options>button:focus-visible span{color:#525252}.ai-optimize-goal-options>button:hover small,.ai-optimize-goal-options>button:focus-visible small{color:#737373}.ai-optimize-goal-options>button:active{transform:scale(.985)}.ai-optimize-goal-options span{flex:0 0 66px;color:#333;font-size:var(--text-body);font-weight:var(--weight-bold)}.ai-optimize-goal-options small{color:gray;font-size:var(--text-sm);line-height:1.45}@keyframes ai-inline-border-flow{0%{background-position:100% 0}to{background-position:-100% 0}}@keyframes ai-goal-menu-in{0%{opacity:0;transform:translate(-50%) translateY(7px) scale(.98)}to{opacity:1;transform:translate(-50%) translateY(0) scale(1)}}.count-options{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:4px;border-radius:10px;background:#f5f5f5}.count-options button{height:34px;padding:0;border-radius:7px;color:#737373;background:transparent;font-size:var(--text-body);font-weight:var(--weight-medium)}.count-options button:hover,.count-options button.active{color:#171717;background:#fff;box-shadow:0 1px 4px #00000014;font-weight:var(--weight-semibold)}.password-dialog-backdrop{position:fixed;z-index:190;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#17171761;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.password-dialog{width:min(438px,calc(100vw - 40px));padding:24px;border:1px solid #e5e5e5;border-radius:14px;background:#fff;box-shadow:0 24px 70px #0000002e}.password-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.password-dialog-heading{display:flex;align-items:center;gap:11px;min-width:0}.password-dialog-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:10px;color:#171717;background:#efefef}.password-dialog-heading>div{min-width:0}.password-dialog-heading h2{margin:0;color:#171717;font-size:var(--text-lg);font-weight:var(--weight-semibold)}.password-dialog-heading p{max-width:280px;margin:4px 0 0;overflow:hidden;color:gray;font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap}.password-dialog-close{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;border-radius:50%;color:#737373;background:#f2f2f2;transition:color .15s ease,background .15s ease}.password-dialog-close:hover:not(:disabled){color:#333;background:#ebebeb}.password-dialog-form{display:flex;flex-direction:column}.password-dialog-form>label{margin-bottom:7px;color:#525252;font-size:var(--text-sm);font-weight:var(--weight-semibold)}.password-dialog-form>label:not(:first-child){margin-top:15px}.password-dialog-input{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:9px;height:44px;padding:0 12px;border:1px solid #dbdbdb;border-radius:8px;color:gray;background:#fcfcfc;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.password-dialog-input:focus-within{border-color:#333;background:#fff;box-shadow:0 0 0 3px #0000001c}.password-dialog-input input{width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;color:#171717;background:transparent;font-size:var(--text-body);font-weight:var(--weight-regular)}.password-dialog-input input::placeholder{color:#a3a3a3}.password-dialog-visibility{display:inline-flex;align-items:center;align-self:flex-start;gap:6px;margin-top:10px;padding:3px 0;color:#737373;background:transparent;font-size:var(--text-sm)}.password-dialog-visibility:hover:not(:disabled){color:#171717}.password-dialog-note{margin:16px 0 0;padding:10px 11px;border-radius:7px;color:#737373;background:#f5f5f5;font-size:var(--text-sm);line-height:1.55}.password-dialog-error{min-height:30px;padding-top:8px;color:var(--danger);font-size:var(--text-sm);opacity:0}.password-dialog-error.show{opacity:1}.password-dialog-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:9px}.password-dialog-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:42px;padding:0 14px;border-radius:8px;font-size:var(--text-body);font-weight:var(--weight-medium);transition:background .15s ease,color .15s ease,transform .15s ease}.password-dialog-actions button:first-child{color:#666;background:#f2f2f2}.password-dialog-actions button:last-child{color:#fff;background:var(--accent)}.password-dialog-actions button:first-child:hover:not(:disabled){color:#333;background:#e5e5e5}.password-dialog-actions button:last-child:hover:not(:disabled){background:#333}.password-dialog-actions button:active:not(:disabled){transform:translateY(1px)}.password-dialog button:disabled{cursor:not-allowed;opacity:.62}.prompt-edit-backdrop{position:fixed;z-index:160;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#1717175c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.prompt-edit-modal{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;width:min(890px,calc(100vw - 48px));height:min(656px,calc(100vh - 48px));min-height:420px;padding:22px;overflow:hidden;border:1px solid #e5e5e5;border-radius:16px;background:#fff;box-shadow:0 26px 80px #0000002e}.prompt-edit-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;margin-bottom:18px}.prompt-edit-heading{display:inline-flex;align-items:center;gap:9px;min-width:0}.prompt-edit-heading svg{color:var(--accent)}.prompt-edit-heading h2{margin:0;color:#171717;font-size:var(--text-title);font-weight:var(--weight-semibold);line-height:1.2}.prompt-edit-heading span{display:inline-flex;align-items:center;min-height:27px;padding:0 10px;border-radius:999px;color:var(--accent);background:var(--accent-soft);font-size:var(--text-meta);font-weight:var(--weight-bold);white-space:nowrap}.prompt-edit-close{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:0;border-radius:50%;color:#171717;background:#17171712}.prompt-edit-close:hover{background:#1717171f}.prompt-edit-body{min-height:0}.prompt-edit-body textarea{display:block;width:100%;height:100%;min-height:0;padding:24px 20px;resize:none;border:1px solid #e5e5e5;border-radius:12px;outline:0;color:#171717;background:#fff;font-size:var(--text-body);line-height:1.55;scrollbar-color:#8d8d8d #f1f1f1;scrollbar-width:auto;font-weight:var(--weight-regular)}.prompt-edit-body textarea:focus{border-color:#999;box-shadow:0 0 0 3px #00000029}.prompt-edit-body textarea::placeholder{color:#b3b3b3}.prompt-edit-count{justify-self:end;min-height:28px;padding-top:9px;color:#737373;font-size:var(--text-meta);line-height:1.4}.prompt-edit-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.42fr);gap:14px;padding-top:14px}.prompt-edit-footer button{min-width:0;height:52px;padding:0 16px;border-radius:10px;font-size:var(--text-body);font-weight:var(--weight-medium)}.prompt-edit-cancel{color:#737373;background:#f2f2f2}.prompt-edit-cancel:hover{background:#ebebeb}.prompt-edit-save{color:#fff;background:var(--ink);box-shadow:0 8px 22px #0000001f}.prompt-edit-save:hover:not(:disabled){background:var(--accent)}.ai-prompt-backdrop{position:fixed;z-index:170;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#17171794}.ai-prompt-modal{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(1080px,calc(100vw - 48px));height:min(720px,calc(100dvh - 48px));min-height:560px;overflow:hidden;border:1px solid #e0e0e0;border-radius:18px;color:#171717;background:#fff;box-shadow:0 30px 90px #0000003d}.ai-prompt-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 19px;border-bottom:1px solid #ebebeb}.ai-prompt-heading{display:flex;align-items:flex-start;gap:12px;min-width:0}.ai-prompt-heading-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #d4d4d4;border-radius:11px;color:#525252;background:#f5f5f5}.ai-prompt-heading>div{min-width:0}.ai-prompt-heading>div>div{display:flex;align-items:center;gap:9px}.ai-prompt-heading h2{margin:0;font-size:var(--text-lg);font-weight:var(--weight-semibold);line-height:1.2}.ai-prompt-heading>div>div>span{padding:4px 8px;border-radius:999px;color:#525252;background:#f2f2f2;font-size:var(--text-sm);font-weight:var(--weight-bold)}.ai-prompt-heading p{margin:6px 0 0;color:#737373;font-size:var(--text-sm);line-height:1.5}.ai-prompt-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0;border-radius:50%;color:#525252;background:#f2f2f2}.ai-prompt-close:hover{color:#171717;background:#ebebeb}.ai-prompt-goal-panel{padding:15px 24px 16px;border-bottom:1px solid #e5e5e5;background:#fafafa}.ai-prompt-goal-panel .ai-prompt-section-heading{margin-bottom:10px}.ai-prompt-content{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);min-height:0}.ai-prompt-source-panel,.ai-prompt-result-panel{min-height:0;padding:20px 22px;overflow-y:auto}.ai-prompt-source-panel{display:flex;flex-direction:column;border-right:1px solid #e5e5e5;background:#f7f7f7}.ai-prompt-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.ai-prompt-section-heading>div{display:flex;align-items:center;gap:8px}.ai-prompt-section-heading>div>span{color:#737373;font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:.08em}.ai-prompt-section-heading strong{font-size:var(--text-meta);font-weight:var(--weight-bold)}.ai-prompt-section-heading small{color:gray;font-size:var(--text-sm)}.ai-prompt-goals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ai-prompt-goals>button{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:8px;width:100%;min-height:62px;padding:10px 12px;border:1px solid #e0e0e0;border-radius:10px;text-align:left;background:#fff;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.ai-prompt-goals>button:hover:not(:disabled){border-color:#ccc;transform:translateY(-1px)}.ai-prompt-goals>button.active{border-color:#b3b3b3;background:#f5f5f5;box-shadow:0 0 0 2px #00000012}.ai-prompt-goals>button>span{display:grid;place-items:center;width:18px;height:18px;margin-top:1px;border:1px solid #d4d4d4;border-radius:50%;color:#fff}.ai-prompt-goals>button.active>span{border-color:#525252;background:#525252}.ai-prompt-goals>button div{display:grid;gap:3px}.ai-prompt-goals>button strong{color:#333;font-size:var(--text-body);font-weight:var(--weight-medium)}.ai-prompt-goals>button small{color:gray;font-size:var(--text-sm);line-height:1.45}.ai-prompt-original{position:relative;flex:1 1 230px;min-height:230px;border:1px solid #e0e0e0;border-radius:12px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease}.ai-prompt-original:focus-within{border-color:#999;box-shadow:0 0 0 3px #0000001a}.ai-prompt-original.over-limit{border-color:#999}.ai-prompt-original textarea{display:block;width:100%;height:100%;min-height:228px;padding:15px 16px;resize:none;border:0;outline:0;color:#404040;background:transparent;font-size:var(--text-body);line-height:1.72;scrollbar-width:thin;scrollbar-color:#d4d4d4 transparent;font-weight:var(--weight-regular)}.ai-prompt-original textarea::placeholder{color:#a3a3a3}.ai-prompt-original textarea:disabled{color:#666}.ai-prompt-source-panel.has-references .ai-prompt-original{flex-basis:145px;min-height:135px}.ai-prompt-source-panel.has-references .ai-prompt-original textarea{min-height:133px}.ai-prompt-section-heading small.over-limit,.ai-prompt-input-hint.error{color:#b5473f}.ai-prompt-input-hint{margin:10px 0 -3px;color:gray;font-size:var(--text-sm);line-height:1.5}.ai-prompt-references{margin-top:12px}.ai-prompt-references>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.ai-prompt-references strong{color:#333;font-size:var(--text-xs);font-weight:var(--weight-bold)}.ai-prompt-references small{color:#999;font-size:var(--text-xs)}.ai-prompt-reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:7px}.ai-prompt-reference-grid>button{position:relative;min-width:0;padding:0;overflow:hidden;border:1px solid #e0e0e0;border-radius:9px;background:#efefef;aspect-ratio:4 / 3;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.ai-prompt-reference-grid>button:hover{border-color:#999;box-shadow:0 5px 14px #00000024;transform:translateY(-1px)}.ai-prompt-reference-grid>button:focus-visible{outline:0;border-color:#737373;box-shadow:0 0 0 3px #00000024}.ai-prompt-reference-grid img{display:block;width:100%;height:100%;object-fit:cover}.ai-prompt-reference-grid span{position:absolute;right:5px;bottom:5px;max-width:calc(100% - 10px);padding:3px 5px;overflow:hidden;border-radius:5px;color:#fff;background:#171717c2;font-size:var(--text-xs);font-weight:var(--weight-bold);line-height:1;text-overflow:ellipsis;white-space:nowrap}.ai-prompt-reference-preview-backdrop{position:fixed;z-index:171;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:28px;background:#171717c7}.ai-prompt-reference-preview{position:relative;display:grid;justify-items:center;max-width:min(900px,calc(100vw - 56px));max-height:calc(100dvh - 56px);margin:0}.ai-prompt-reference-preview>button{position:absolute;z-index:1;top:10px;right:10px;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid rgb(255 255 255 / 16%);border-radius:9px;color:#fff;background:#171717b8}.ai-prompt-reference-preview>button:hover{background:#171717f0}.ai-prompt-reference-preview>img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 112px);border-radius:12px;object-fit:contain;box-shadow:0 24px 80px #0000006b}.ai-prompt-reference-preview figcaption{display:flex;align-items:center;gap:8px;max-width:100%;margin-top:10px;color:#dbdbdb;font-size:var(--text-xs)}.ai-prompt-reference-preview figcaption span{overflow:hidden;color:#999;text-overflow:ellipsis;white-space:nowrap}.ai-prompt-context{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.ai-prompt-context span{padding:4px 7px;border:1px solid #e0e0e0;border-radius:6px;color:#737373;background:#fff;font-size:var(--text-sm)}.ai-prompt-run{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;height:42px;margin-top:14px;border-radius:10px;color:#fff;background:#171717;font-size:var(--text-body);font-weight:var(--weight-medium)}.ai-prompt-run:hover:not(:disabled){background:#525252}.ai-prompt-run:disabled{cursor:not-allowed;opacity:.52}.ai-prompt-run[aria-busy=true]:disabled{cursor:wait;opacity:.72}.ai-prompt-spin{animation:spin 1s linear infinite}.ai-prompt-result-panel{display:flex;flex-direction:column}.ai-prompt-error{display:flex;align-items:flex-start;gap:8px;margin-bottom:10px;padding:10px 11px;border:1px solid #efc3bf;border-radius:8px;color:#a33b34;background:#fff5f4;font-size:var(--text-sm);line-height:1.5}.ai-prompt-error svg{flex:0 0 auto}.ai-prompt-result-editor{position:relative;flex:1 0 230px;min-height:230px;border:1px solid #e0e0e0;border-radius:12px;background:#fff}.ai-prompt-result-editor:focus-within{border-color:#999;box-shadow:0 0 0 3px #0000001a}.ai-prompt-result-editor textarea{display:block;width:100%;height:100%;min-height:230px;padding:17px 17px 38px;resize:none;border:0;outline:0;color:#333;background:transparent;font-size:var(--text-body);line-height:1.72;font-weight:var(--weight-regular)}.ai-prompt-result-editor textarea::placeholder{color:#a3a3a3}.ai-prompt-result-count{position:absolute;right:12px;bottom:10px;color:#999;font-size:var(--text-sm);font-variant-numeric:tabular-nums}.ai-prompt-working{display:grid;place-items:center;align-content:center;height:100%;min-height:230px;padding:24px;text-align:center}.ai-prompt-working>span{display:grid;place-items:center;width:48px;height:48px;margin-bottom:12px;border:1px solid #d4d4d4;border-radius:14px;color:#525252;background:#f5f5f5;animation:ai-prompt-pulse 1.4s ease-in-out infinite}.ai-prompt-working strong{font-size:var(--text-meta)}.ai-prompt-working p{margin:6px 0 0;color:gray;font-size:var(--text-sm)}.ai-prompt-notes,.ai-prompt-warnings{margin-top:10px;padding:11px 12px;border-radius:9px;font-size:var(--text-sm);line-height:1.55}.ai-prompt-notes{border:1px solid #e5e5e5;color:#666;background:#f7f7f7}.ai-prompt-warnings{border:1px solid #eadfbf;color:#79642c;background:#fffbef}.ai-prompt-notes>strong,.ai-prompt-warnings>strong{display:flex;align-items:center;gap:5px;color:#333;font-size:var(--text-sm)}.ai-prompt-notes ul,.ai-prompt-warnings ul{margin:6px 0 0;padding-left:17px}.ai-prompt-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 22px;border-top:1px solid #e5e5e5;background:#fff}.ai-prompt-footer>span{color:gray;font-size:var(--text-sm)}.ai-prompt-footer>div{display:flex;gap:8px}.ai-prompt-footer button{height:38px;padding:0 14px;border-radius:9px;font-size:var(--text-body);font-weight:var(--weight-medium)}.ai-prompt-cancel{color:#666;background:#f2f2f2}.ai-prompt-apply{color:#fff;background:#171717}.ai-prompt-apply:hover:not(:disabled){background:#525252}.ai-prompt-apply:disabled{color:#b3b3b3;background:#efefef;cursor:not-allowed}.ai-prompt-apply span{margin-left:5px;color:#ffffff94;font-size:var(--text-sm)}@keyframes ai-prompt-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.94);opacity:.72}}.model-chip{min-width:128px;border-color:#e5e5e5;background:#fff}.model-chip:hover,.model-chip.active{border-color:#e5e5e5;background:#f5f5f5}.icon-control[title=语音输入]{flex-basis:35px;width:35px;border:0;color:gray;background:transparent}.send-control{flex:0 0 38px;width:38px;height:38px;min-height:38px;padding:0;border-radius:50%;color:#fff;background:#171717}.send-control:hover:not(:disabled){background:#171717}.send-control:disabled{color:#fff;background:#dbdbdb}.parameter-popover{left:0;bottom:calc(100% + 8px);width:min(582px,calc(100vw - 32px));max-height:min(calc(100vh - 140px),680px);padding:18px 20px;overflow:visible;border-radius:16px;box-shadow:0 22px 60px #0000001f}.parameter-popover>.popover-title{display:none}.settings-group{padding:0}.settings-group+.settings-group{margin-top:20px;border-top:0}.settings-group>label{margin-bottom:8px;color:gray;font-size:var(--text-body);font-weight:var(--weight-medium)}.ratio-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px 12px;padding:12px;border-radius:14px;background:#f5f5f5}.ratio-grid button{min-height:52px;height:52px;gap:6px;padding:6px;border-color:transparent;border-radius:12px;color:#171717;background:transparent;font-size:var(--text-body);font-weight:var(--weight-medium)}.ratio-grid button:hover{border-color:transparent;color:#171717;background:#ffffffa3}.ratio-grid button.active{color:#333;border-color:#d4d4d4;background:#f5f5f5}.settings-group.inline{display:grid;grid-template-columns:1fr;align-items:stretch}.settings-group.inline>label{margin-bottom:8px}.quality-control{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:3px;border-radius:12px;background:#f5f5f5}.quality-control button{min-height:42px;height:42px;border-radius:10px;font-size:var(--text-body);font-weight:var(--weight-medium)}.quality-control button.active{color:#171717;background:#fff;box-shadow:none}.model-popover{right:0;bottom:calc(100% + 8px);width:min(280px,calc(100vw - 32px));padding:8px;border-radius:14px;box-shadow:0 8px 22px #0000000f}.model-popover>.popover-title{display:none}.model-selection-popover>.popover-title{display:flex;align-items:center;justify-content:space-between;min-height:32px;margin-bottom:6px;font-size:var(--text-sm)}.model-selection-popover>.popover-title button{display:grid;place-items:center;width:24px;height:24px;padding:0;border-radius:6px;color:var(--muted);background:transparent}.model-popover>button{grid-template-columns:minmax(0,1fr);min-height:46px;padding:0 11px;border:0;border-radius:8px;background:transparent}.model-popover>button+button{margin-top:2px}.model-popover>button:hover{background:#f5f5f5}.model-popover>button.active{color:#333;background:#f2f2f2}.model-popover>button strong{display:inline-flex;align-items:center;gap:7px;justify-self:start;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-body);font-weight:var(--weight-medium)}.model-popover>button small{justify-self:end;margin:0;color:gray;font-size:var(--text-body);font-weight:var(--weight-medium);white-space:nowrap}.mention-menu{bottom:calc(100% + 8px);width:min(360px,calc(100vw - 160px));max-height:min(310px,calc(100vh - 180px));padding:10px;border-radius:14px;box-shadow:0 18px 42px #00000024}.mention-menu.reference-picker-open{width:min(430px,calc(100vw - 160px));max-height:none;overflow:visible}.mention-menu.reference-picker-open.has-many-references{min-height:330px}.mention-source-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.mention-source-actions button{border:1px solid #e5e5e5;background:#fafafa}.mention-source-actions button:disabled{color:#a3a3a3;background:#f5f5f5;cursor:default}.mention-section-label{padding:11px 8px 5px;color:#999;font-size:var(--text-sm);font-weight:var(--weight-semibold)}.mention-reference-list{display:grid;gap:3px;max-height:none;overflow:visible}.mention-reference-list.many-references{grid-template-columns:repeat(2,minmax(0,1fr))}.mention-reference-list>button{min-height:52px}.mention-asset-header{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:38px;margin-bottom:8px}.mention-asset-header>button{display:grid;grid-template-columns:1fr;place-items:center;width:30px;height:30px;padding:0;border-radius:7px}.mention-asset-header>strong{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.mention-asset-header>small{color:#999;font-size:var(--text-sm)}.mention-asset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-height:220px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cccccc transparent}.mention-menu .mention-asset-grid>button{position:relative;display:block;width:100%;padding:2px;aspect-ratio:1;overflow:hidden;border:2px solid transparent;border-radius:8px;background:#efefef}.mention-menu .mention-asset-grid>button:hover,.mention-menu .mention-asset-grid>button.selected{border-color:var(--accent);background:#efefef}.mention-menu .mention-asset-grid>button:disabled{cursor:wait}.mention-menu .mention-asset-grid img{width:100%;height:100%;border-radius:4px;object-fit:cover}.mention-asset-grid button>span{position:absolute;right:5px;bottom:5px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:#fff;background:#171717c7}.mention-asset-grid button>span:empty{display:none}.mention-assets-empty{grid-column:1 / -1;display:grid;place-items:center;min-height:112px;color:#999;font-size:var(--text-sm)}.preview-backdrop{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:28px;background:#171717e0;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.preview-close{position:fixed;z-index:2;top:18px;right:18px;display:grid;place-items:center;width:40px;height:40px;padding:0;border-radius:50%;color:#fff;background:#171717b8;transition:background .15s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.preview-close:hover{background:#171717f0}.preview-navigation{position:fixed;z-index:2;top:50%;display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;color:#fff;background:#171717b8;transform:translateY(-50%);transition:background .15s ease,opacity .15s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.preview-navigation:hover:not(:disabled){background:#171717f0}.preview-navigation:disabled{opacity:.32;cursor:default}.preview-previous{left:18px}.preview-next{right:18px}.preview-position{position:fixed;z-index:2;bottom:18px;left:50%;padding:5px 10px;border-radius:999px;color:#fff;background:#171717b8;font-size:var(--text-meta);line-height:1.2;transform:translate(-50%);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.preview-original{display:block;width:auto;height:auto;max-width:calc(100vw - 56px);max-height:calc(100vh - 56px);object-fit:contain}.batch-gallery-backdrop{align-items:center;justify-items:center;overflow:hidden}.batch-gallery-loading{display:inline-flex;align-items:center;gap:10px;padding:15px 18px;border:1px solid rgb(255 255 255 / 12%);border-radius:9px;color:#ebebeb;background:#171717e0;box-shadow:0 14px 42px #0000003d;font-size:var(--text-meta);font-weight:var(--weight-semibold)}.batch-gallery-loading svg{color:#ccc}.batch-gallery-preview{--batch-gallery-gap: 10px;display:grid;grid-template-columns:repeat(2,auto);align-items:start;justify-content:center;align-content:center;gap:var(--batch-gallery-gap);width:auto;max-width:calc(100vw - 56px);max-height:calc(100vh - 36px);overflow:auto;scrollbar-width:thin;scrollbar-color:rgb(255 255 255 / 34%) transparent}.batch-gallery-preview.count-1{grid-template-columns:auto;max-width:calc(100vw - 56px)}.batch-gallery-item{position:relative;display:block;justify-self:center;align-self:center;width:fit-content;max-width:100%;min-width:0;margin:0;overflow:hidden;border-radius:8px;line-height:0}.batch-gallery-item.failed{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:min(44vw,680px);min-height:0;max-height:min(74vh,780px);padding:22px;border:1px dashed rgb(255 255 255 / 14%);border-radius:8px;color:gray;background:#171717db;line-height:normal}.batch-gallery-preview.count-1 .batch-gallery-item.failed{width:min(680px,calc(100vw - 56px));max-height:calc(100vh - 40px)}.batch-gallery-preview.count-3 .batch-gallery-item.failed,.batch-gallery-preview.count-4 .batch-gallery-item.failed{max-height:min(calc((100vh - 72px)/2),455px)}.batch-gallery-item.failed strong{color:#b3b3b3;font-size:var(--text-body)}.batch-gallery-item.failed>span{color:gray;font-size:var(--text-sm);font-weight:var(--weight-bold)}.batch-gallery-item img{display:block;width:auto;height:auto;max-width:min(44vw,680px);max-height:min(74vh,780px);border-radius:8px;object-fit:contain}.batch-gallery-preview.count-1 .batch-gallery-item img{max-width:calc(100vw - 56px);max-height:calc(100vh - 40px)}.batch-gallery-preview.count-3 .batch-gallery-item img,.batch-gallery-preview.count-4 .batch-gallery-item img{max-height:min(calc((100vh - 72px)/2),455px)}.batch-gallery-item figcaption{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;line-height:normal}.batch-gallery-item figcaption>span{position:absolute;top:8px;left:8px;padding:5px 8px;border-radius:999px;color:#fff;background:#171717b8;font-size:var(--text-sm);font-weight:var(--weight-bold);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.batch-gallery-actions{position:absolute;right:8px;bottom:8px;display:flex;gap:6px;padding:5px;border-radius:8px;background:#171717bd;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:auto}.batch-gallery-actions button,.batch-gallery-actions a{display:grid;place-items:center;width:32px;height:32px;padding:0;border-radius:6px;color:#fff;background:transparent}.batch-gallery-actions button:hover,.batch-gallery-actions a:hover{color:#d4d4d4;background:#ffffff1f}.batch-gallery-actions button:disabled{color:#ffffff61;cursor:default}.batch-gallery-actions button:disabled:hover{background:transparent}.toast{position:fixed;z-index:150;left:50%;bottom:20px;max-width:min(420px,calc(100vw - 32px));padding:10px 14px;border-radius:7px;color:#fff;background:#171717eb;box-shadow:0 8px 28px #0003;opacity:0;pointer-events:none;transform:translate(-50%,10px);transition:opacity .18s ease,transform .18s ease;font-size:var(--text-sm)}.toast.has-action{display:flex;align-items:center;gap:12px;pointer-events:auto}.toast>span{min-width:0}.toast>button{flex:0 0 auto;padding:3px 0 3px 10px;border-left:1px solid rgb(255 255 255 / 22%);border-radius:0;color:#dbdbdb;background:transparent;font-size:var(--text-sm);font-weight:var(--weight-bold)}.toast>button:hover{color:#fff}.toast.show{opacity:1;transform:translate(-50%)}.status-spin{animation:spin 1s linear infinite}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.batch-generation-view{min-width:0;min-height:0;overflow-y:auto;background:var(--canvas);scrollbar-width:thin;scrollbar-color:#cccccc transparent}.batch-generation-inner{width:min(1480px,100%);margin:0 auto;padding:30px 34px 46px}.batch-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.batch-page-kicker{display:block;margin-bottom:7px;color:#999;font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:.08em}.batch-page-header h1{margin:0;color:#171717;font-size:var(--text-title);font-weight:var(--weight-semibold);line-height:1.1}.batch-page-header p{margin:7px 0 0;color:gray;font-size:var(--text-sm)}.batch-page-count{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border:1px solid #e0e0e0;border-radius:6px;color:#666;background:#fff;font-size:var(--text-sm);font-weight:var(--weight-semibold);white-space:nowrap}.batch-restore-state{display:flex;align-items:center;justify-content:center;gap:9px;min-height:320px;border:1px solid #e0e0e0;border-radius:8px;color:#737373;background:#ffffffa8;font-size:var(--text-meta);font-weight:var(--weight-semibold)}.batch-restore-state svg{color:var(--accent)}.batch-uniform-panel{display:grid;grid-template-columns:minmax(190px,.9fr) minmax(0,3.1fr);gap:26px;align-items:end;padding:20px 22px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;box-shadow:0 4px 16px #00000008}.batch-uniform-heading{display:flex;align-items:flex-start;gap:10px}.batch-uniform-heading>span{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:6px;color:var(--accent);background:#efefef}.batch-uniform-heading h2{margin:2px 0 0;color:#333;font-size:var(--text-lg);font-weight:var(--weight-semibold)}.batch-uniform-heading p{margin:5px 0 0;color:gray;font-size:var(--text-sm);line-height:1.45}.batch-uniform-controls{display:grid;grid-template-columns:minmax(132px,1.3fr) repeat(3,minmax(76px,.7fr)) auto;gap:9px;align-items:end}.batch-uniform-controls.has-render-quality{grid-template-columns:minmax(132px,1.2fr) repeat(4,minmax(76px,.7fr)) auto}.batch-field{display:block;min-width:0}.batch-field>span{display:block;margin:0 0 6px 1px;color:gray;font-size:var(--text-sm);font-weight:var(--weight-semibold)}.batch-select-wrap{position:relative;min-width:0;height:34px;color:#737373;isolation:isolate}.batch-select-wrap.open{z-index:95}.batch-select-button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;height:100%;min-width:0;padding:0 9px;border:1px solid #e0e0e0;border-radius:6px;color:#333;background:#fff;box-shadow:0 1px 2px #00000005;font-size:var(--text-body);font-weight:var(--weight-medium);text-align:left;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.batch-select-wrap.has-icon .batch-select-button{grid-template-columns:auto minmax(0,1fr) auto}.batch-select-button:hover,.batch-select-wrap.open .batch-select-button{border-color:#ccc;background:#fafafa}.batch-select-button:focus-visible,.batch-select-wrap.open .batch-select-button{border-color:#c2c2c2;box-shadow:0 0 0 3px #00000014}.batch-select-icon{display:grid;place-items:center;width:18px;color:gray}.batch-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-select-chevron{color:gray;transition:transform .15s ease}.batch-select-wrap.open .batch-select-chevron{transform:rotate(180deg)}.batch-select-wrap.disabled .batch-select-button{color:#999;background:#f5f5f5;box-shadow:none;cursor:default}.batch-select-menu{position:absolute;z-index:2;left:0;top:calc(100% + 6px);width:max(100%,132px);max-height:220px;padding:6px;overflow-y:auto;border:1px solid #e0e0e0;border-radius:10px;background:#fff;box-shadow:0 18px 42px #00000024;scrollbar-width:thin;scrollbar-color:#cccccc transparent;animation:batch-select-in .12s ease}.batch-field-count .batch-select-menu,.batch-count-select .batch-select-menu,.batch-quality-select .batch-select-menu,.batch-render-quality-select .batch-select-menu{left:auto;right:0}.batch-model-select .batch-select-menu{width:max(100%,240px);max-width:calc(100vw - 32px)}.batch-select-option{display:grid;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:8px;width:100%;min-width:0;min-height:34px;padding:0 8px;overflow:hidden;border-radius:7px;color:#404040;background:transparent;font-size:var(--text-body);font-weight:var(--weight-medium);text-align:left;transition:color .12s ease,background .12s ease}.batch-select-option:hover,.batch-select-option.active{color:#171717;background:#f5f5f5}.batch-select-option.active{font-weight:var(--weight-bold)}.batch-select-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-select-option .batch-select-option-label{display:flex;align-items:center;gap:6px}.batch-select-option .batch-select-option-name{flex:0 1 auto;min-width:0}.batch-select-option svg{justify-self:end;color:var(--accent)}@keyframes batch-select-in{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}.batch-apply-button{align-self:end;min-height:34px;padding:0 13px}.batch-history-note{grid-column:1 / -1;min-width:0;margin:2px 0 0;padding-top:16px;border-top:1px solid #efefef;color:#666;font-size:var(--text-sm);line-height:1.6}.batch-history-note strong{color:#171717;font-weight:var(--weight-bold)}.batch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0 14px}.batch-toolbar-summary,.batch-toolbar-actions{display:flex;align-items:center;gap:9px;min-width:0}.batch-toolbar-summary{flex-wrap:wrap;color:gray;font-size:var(--text-sm)}.batch-toolbar-summary strong{color:#404040;font-size:var(--text-sm);font-weight:var(--weight-semibold)}.batch-toolbar-summary span+span:before{content:"";display:inline-block;width:1px;height:11px;margin-right:9px;vertical-align:-2px;background:#dbdbdb}.batch-toolbar-summary span:last-child{display:inline-flex;align-items:center;gap:4px}.batch-toolbar-actions{flex:0 0 auto}.batch-download-all{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:112px;height:34px;padding:0 12px;border:1px solid #dbdbdb;border-radius:6px;color:#333;background:#fafafa;font-size:var(--text-body);font-weight:var(--weight-medium);white-space:nowrap}.batch-download-all:hover:not(:disabled){border-color:#b3b3b3;color:#171717;background:#f5f5f5}.batch-download-all:disabled{border-color:#e5e5e5;color:#a3a3a3;background:#f5f5f5;cursor:default}.batch-clear-button,.batch-download{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #e0e0e0;border-radius:6px;color:#737373;background:#fff}.batch-clear-button:hover{border-color:#ccc;color:var(--danger);background:#fafafa}.batch-start-all{min-width:136px}.batch-task-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:14px;align-items:stretch}.batch-task-card,.batch-add-task-card{min-width:0;border-radius:8px}.batch-task-card{display:flex;flex-direction:column;gap:12px;padding:15px;border:1px solid #e0e0e0;background:#fff;box-shadow:0 3px 12px #00000008;transition:border-color .15s ease,box-shadow .15s ease}.batch-task-card:hover{border-color:#ccc;box-shadow:0 7px 20px #0000000d}.batch-task-card.running{border-color:#c2c2c2}.batch-task-card.completed{border-color:#dbdbdb}.batch-task-card-header{display:flex;align-items:center;justify-content:space-between;min-height:25px}.batch-task-card-header>div{display:flex;align-items:center;gap:8px;min-width:0}.batch-task-completed-time{color:gray;font-size:var(--text-sm);font-style:normal;white-space:nowrap}.batch-task-card-header strong{color:#333;font-size:var(--text-body);font-weight:var(--weight-bold)}.batch-task-status{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 7px;border-radius:999px;color:gray;background:#f2f2f2;font-size:var(--text-sm);font-weight:var(--weight-semibold);white-space:nowrap}.batch-task-status.running,.batch-task-status.completed{color:#333;background:#efefef}.batch-task-status.failed{color:#b14b4b;background:#f8e9e9}.batch-task-delete{display:grid;place-items:center;width:27px;height:27px;padding:0;border-radius:5px;color:#a3a3a3;background:transparent;transition:color .13s ease,background .13s ease}.batch-task-delete:hover:not(:disabled){color:var(--danger);background:#efefef}.batch-task-delete:disabled{opacity:.45;cursor:default}.batch-task-visuals{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:10px;height:130px;min-height:130px}.batch-reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:6px;min-width:0;min-height:0}.batch-reference-item,.batch-reference-add{position:relative;display:block;min-width:0;min-height:0;overflow:hidden;border-radius:5px}.batch-reference-item{border:1px solid #dbdbdb;background:#efefef}.batch-reference-preview{display:block;width:100%;height:100%;padding:0;background:transparent}.batch-reference-item img{display:block;width:100%;height:100%;object-fit:cover}.batch-reference-remove{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:20px;height:20px;padding:0;border-radius:50%;color:#fff;background:#171717b8;opacity:0;transform:scale(.8);transition:opacity .13s ease,transform .13s ease}.batch-reference-item:hover .batch-reference-remove,.batch-reference-item:focus-within .batch-reference-remove{opacity:1;transform:scale(1)}.batch-reference-remove:disabled{display:none}.batch-reference-add{display:grid;place-items:center;padding:0;border:1px dashed #cccccc;color:#999;background:#fafafa;transition:border-color .13s ease,color .13s ease,background .13s ease}.batch-reference-add:hover:not(:disabled){border-color:#b3b3b3;color:var(--accent);background:#f5f5f5}.batch-reference-add:disabled{color:#c2c2c2;cursor:default}.batch-output{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden;border:1px solid #e0e0e0;border-radius:6px;background:#f5f5f5}.batch-output.has-result{background:#171717}.batch-output-grid{display:grid;flex:1;min-width:0;min-height:0;gap:3px;padding:3px}.batch-output-grid.count-1{grid-template-columns:minmax(0,1fr)}.batch-output-grid.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-output-grid.count-3,.batch-output-grid.count-4{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.batch-output-grid.count-3 .batch-output-image:first-child{grid-row:span 2}.batch-output-grid.count-3.has-failed .batch-output-image:first-child{grid-row:auto}.batch-output-empty{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:0;padding:10px;color:#999;text-align:center}.batch-output-empty.running{isolation:isolate;overflow:visible;color:#efefef;background:#171717}.batch-output-empty.running .generation-aurora-sheen{border-radius:5px}.batch-output-empty.running .creation-status{position:relative;z-index:2;display:inline-flex;align-items:center;max-width:100%;min-height:24px;padding:4px;overflow:visible;color:#fafafa;font-size:var(--text-sm);font-weight:var(--weight-bold);line-height:1.35;text-overflow:ellipsis;text-shadow:0 1px 14px rgb(0 0 0 / 36%);white-space:nowrap}.batch-output-empty.running .creation-dots{height:12px;overflow:visible}.batch-output-empty.running .creation-dots i{width:3px;height:3px;background:#d4d4d4;box-shadow:0 0 10px #0000009e}.batch-output-empty span{max-width:100%;overflow:hidden;font-size:var(--text-sm);line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.batch-output-image{position:relative;display:block;min-height:0;min-width:0;margin:0;overflow:hidden;border-radius:3px;color:#fff}.batch-output-image img{display:block;width:100%;height:100%;object-fit:cover;cursor:zoom-in}.batch-output-failed{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:0;padding:7px;border:1px dashed rgb(255 255 255 / 14%);border-radius:3px;color:gray;background:#171717f5}.batch-output-failed span{color:#a3a3a3;font-size:var(--text-sm);font-weight:var(--weight-semibold);line-height:1.2}.batch-prompt-field{position:relative;display:block;min-width:0;border:1px solid #e0e0e0;border-radius:6px;background:#fcfcfc;transition:border-color .15s ease,box-shadow .15s ease}.batch-prompt-field:focus-within{border-color:#b3b3b3;box-shadow:0 0 0 3px #00000014}.batch-prompt-field textarea{display:block;width:100%;height:174px;padding:9px 72px 9px 10px;resize:vertical;border:0;outline:0;color:#333;background:transparent;font-size:var(--text-body);line-height:1.45;font-weight:var(--weight-regular)}.batch-prompt-field textarea::placeholder{color:#a3a3a3}.batch-prompt-field textarea:disabled{color:#999;cursor:default}.batch-prompt-optimize,.batch-prompt-mention,.batch-prompt-expand{position:absolute;top:6px;display:grid;place-items:center;width:26px;height:26px;padding:0;border:1px solid #e5e5e5;border-radius:6px;color:#666;background:#ffffffeb;box-shadow:0 1px 5px #0000000f;transition:color .14s ease,background .14s ease,border-color .14s ease,transform .14s ease}.batch-prompt-mention{right:38px}.batch-prompt-optimize{right:70px;color:#525252}.batch-prompt-field.has-ai-optimization textarea{padding-right:104px}.batch-prompt-field .batch-ai-goal-menu{left:auto;right:6px;width:min(318px,calc(100% - 12px));transform:none;animation:none}.batch-ai-goal-menu:after{left:auto;right:66px}.batch-ai-status,.batch-ai-undo{display:flex;align-items:center;gap:6px;margin:0 10px 8px;padding:0;border:0;color:#525252;background:transparent;font-size:var(--text-sm);line-height:1.5}.batch-ai-undo:hover:not(:disabled){text-decoration:underline}.batch-prompt-expand{right:6px}.batch-prompt-optimize:hover:not(:disabled),.batch-prompt-mention:hover:not(:disabled),.batch-prompt-expand:hover:not(:disabled){color:var(--accent);border-color:#c2c2c2;background:#f5f5f5;transform:translateY(-1px)}.batch-prompt-optimize:disabled,.batch-prompt-mention:disabled,.batch-prompt-expand:disabled{color:#a3a3a3;background:#f2f2f2;cursor:default}.batch-prompt-field .mention-menu{left:8px;width:min(320px,calc(100% - 16px));max-height:min(286px,calc(100vh - 180px))}.batch-prompt-field .mention-reference-list{max-height:104px}.batch-task-settings{display:grid;grid-template-columns:minmax(105px,1.35fr) repeat(3,minmax(58px,.7fr));gap:6px;min-width:0}.batch-task-error-message{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border:1px solid #ead5c9;border-radius:7px;color:#86513d;background:#fff8f3;font-size:var(--text-sm);line-height:1.55}.batch-task-error-message>svg{flex:0 0 auto;margin-top:1px}.batch-task-error-message span,.batch-task-error-message strong{display:block}.batch-task-error-message strong{margin-bottom:2px;color:#71402f;font-size:var(--text-sm)}.batch-task-error-message.content-restriction{border-color:#e7a9a5;color:#8f3434;background:#fff1f0}.batch-task-error-message.content-restriction strong{color:#8f2f2f}.batch-task-error-message a,.batch-limit-dialog-trigger{display:inline-block;margin-top:5px;padding:0;border:0;color:#8f2f2f;background:transparent;font-size:var(--text-sm);font-weight:var(--weight-bold);text-decoration:underline}.batch-task-settings.has-render-quality{grid-template-columns:minmax(105px,1.35fr) repeat(4,minmax(58px,.7fr))}.batch-task-settings .batch-select-wrap{height:32px}.batch-task-settings .batch-select-button,.batch-task-settings .batch-select-option{font-size:var(--text-body);font-weight:var(--weight-medium)}.batch-task-card-footer{display:flex;align-items:center;gap:8px;min-width:0}.batch-reference-count,.batch-task-cost{display:inline-flex;align-items:center;gap:4px;min-width:0;color:gray;font-size:var(--text-sm);white-space:nowrap}.batch-task-cost{color:#666;font-weight:var(--weight-semibold)}.batch-prompt-length{color:#999}.batch-download{flex:0 0 30px;width:30px;height:30px;margin-left:auto}.batch-download:hover{color:var(--accent);border-color:#c2c2c2;background:#f5f5f5}.batch-task-generate{min-width:106px;min-height:32px;margin-left:auto;font-size:var(--text-body);font-weight:var(--weight-medium)}.batch-download+.batch-task-generate{margin-left:0}.batch-task-generate:disabled{border-color:#e5e5e5;color:#a3a3a3;background:#ebebeb;cursor:default}.batch-task-generate.retry{border-color:#ccc;color:#666;background:#ebebeb}.batch-add-task-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:346px;border:1px dashed #c2c2c2;color:#737373;background:#ffffff6b;font-size:var(--text-body);font-weight:var(--weight-medium);transition:border-color .15s ease,color .15s ease,background .15s ease}.batch-add-task-card span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#737373;background:#ebebeb}.batch-add-task-card:hover{border-color:#b3b3b3;color:var(--accent);background:#fafafa}.batch-add-task-card:hover span{color:#fff;background:var(--accent)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes creation-dot{0%,60%,to{opacity:.32;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media(hover:none),(pointer:coarse){.gallery-main .gallery-counter,.gallery-main .gallery-preview-button,.gallery-main .gallery-nav{opacity:1;pointer-events:auto}.gallery-main .gallery-counter{transform:translate(-50%)}.gallery-main .gallery-preview-button{transform:translateY(0)}.gallery-main .gallery-nav.previous,.gallery-main .gallery-nav.next{transform:translateY(-50%)}}@media(max-width:980px){.workbench-shell{grid-template-columns:212px minmax(0,1fr)}.image-generation-view{grid-template-columns:minmax(0,1fr)}.history-panel{position:fixed;z-index:22;inset:0 0 0 auto;width:min(328px,calc(100vw - 44px));border-left:1px solid var(--line);box-shadow:-14px 0 42px #0000002e;transform:translate(105%);transition:transform .22s ease}.history-panel.open{transform:translate(0)}.history-close,.mobile-history-button{display:inline-grid}.mobile-workbench-actions{position:fixed;z-index:14;top:10px;right:12px;display:flex;align-items:center;gap:6px}.mobile-workbench-actions .icon-button{background:#ffffffe0;border:1px solid #e5e5e5;box-shadow:0 4px 14px #00000014;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.mobile-sidebar-backdrop{position:fixed;z-index:18;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;padding:0;background:#1717175c}.history-item-main{grid-template-columns:50px minmax(0,1fr)}.history-thumb{width:50px;height:50px}.result-canvas,.composer-dock{padding-left:22px;padding-right:22px}.result-canvas{padding-top:58px}.artboard.multi{grid-template-columns:1fr}}@media(max-width:720px){.workbench-shell{display:block}.workspace-sidebar{position:fixed;inset:0 auto 0 0;width:min(328px,calc(100vw - 44px));transform:translate(-105%);transition:transform .22s ease;box-shadow:14px 0 42px #0000002e}.workspace-sidebar.open{transform:translate(0)}.sidebar-close,.mobile-menu-button{display:inline-grid}.workbench-main{grid-template-rows:minmax(0,1fr)}.result-canvas{padding:58px 14px 12px}.result-toolbar{align-items:center;margin-bottom:14px}.result-title h2{max-width:calc(100vw - 158px);font-size:var(--text-lg)}.result-title p{max-width:calc(100vw - 150px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.secondary-button{padding:0 9px}.artboard{min-height:250px}.result-repeat-actions button{min-width:108px;min-height:44px}.result-floating-actions{position:static;width:min(900px,100%);margin:12px auto 0}.result-image{--result-image-max-height: 470px}.result-image figcaption,.result-image-overlay{opacity:1;transform:none}.composer-dock{padding:0 10px 10px}.workbench-composer{padding:8px}.composer-input-row{grid-template-columns:48px minmax(0,1fr);gap:5px}.reference-upload-button{width:48px;min-height:68px}.reference-upload-button span{display:none}.prompt-field textarea{min-height:68px;padding:8px 6px}.composer-controls{overflow:visible}.mode-chip{width:34px;padding:0}.control-chip{padding:0 8px}.primary-model-chip{min-width:36px;width:36px;padding:0}.primary-model-chip>span,.primary-model-chip>svg:last-child{display:none}.parameter-popover{position:fixed;left:10px;right:10px;bottom:162px;width:auto;max-height:calc(100vh - 190px);overflow-y:auto}.model-popover{position:fixed;left:10px;right:10px;bottom:162px;width:auto}.ratio-grid{grid-template-columns:repeat(5,1fr)}.preview-backdrop{padding:10px}.preview-close{top:10px;right:10px}.preview-navigation{width:44px;height:44px}.preview-previous{left:10px}.preview-next{right:10px}.preview-position{bottom:10px}.preview-original{max-width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.batch-gallery-preview,.batch-gallery-preview.count-1{grid-template-columns:auto;gap:8px;width:auto;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.batch-gallery-item img,.batch-gallery-preview.count-1 .batch-gallery-item img,.batch-gallery-preview.count-3 .batch-gallery-item img,.batch-gallery-preview.count-4 .batch-gallery-item img{max-width:calc(100vw - 16px);max-height:calc(100vh - 16px)}}@media(max-width:430px){.icon-control[title=语音输入]{display:inline-flex;flex-basis:35px;width:35px}.ratio-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:720px){.asset-library{padding:58px 12px 24px}.mention-source-actions{grid-template-columns:1fr}.mention-asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.result-gallery{gap:10px}.gallery-main{--result-image-max-height: min(330px, calc(100vh - 520px) )}.gallery-counter{top:8px;min-width:50px;padding:6px 8px;font-size:var(--text-xs)}.gallery-preview-button{top:7px;right:7px;width:32px;padding:0;justify-content:center}.gallery-preview-button span{display:none}.gallery-nav{width:38px;height:38px}.gallery-nav.previous{left:8px}.gallery-nav.next{right:8px}.gallery-thumbnails{gap:6px}.gallery-thumbnails button{flex-basis:64px;width:64px;height:54px}.composer-dock{padding:0 10px 10px}.workbench-composer{min-height:154px;padding:12px 14px;border-radius:20px}.composer-input-row{grid-template-columns:52px minmax(0,1fr);gap:14px;min-height:88px}.reference-upload-zone{width:52px;min-height:76px}.reference-processing-status{width:52px;height:68px;padding:6px 3px;flex-direction:column;gap:3px}.reference-processing-status>span{align-items:center;gap:0}.reference-processing-status strong,.reference-processing-status small{font-size:var(--text-xs)}.reference-upload-card{width:46px;height:64px}.reference-upload-zone.has-reference .reference-upload-card{width:52px;height:68px}.reference-stack img{width:43px;height:58px}.reference-stack img:nth-child(2){left:7px}.reference-stack img:nth-child(3){left:9px}.reference-quick-add{left:21px;top:11px;width:43px;height:58px}.reference-quick-add:before{left:7px;top:29px;width:29px;height:29px}.reference-quick-add>svg{left:12px;top:34px}.reference-upload-zone.has-reference.is-expanded .reference-quick-add{transform:translate(var(--reference-add-shift-x, 0),-6px)}.reference-upload-zone.has-reference.is-expanded .reference-quick-add:before{transform:translate(-7px,-29px) scale(1.4828,2)}.reference-upload-zone.has-reference.is-expanded .reference-quick-add>svg{transform:translate(-1px,-15px)}.reference-upload-zone[data-count="1"]{--reference-add-shift-x: 40px;--reference-dot-shift-x: -4px}.reference-upload-zone[data-count="2"]{--reference-add-shift-x: 97px;--reference-dot-shift-x: -1px}.reference-upload-zone[data-count="3"]{--reference-add-shift-x: 154px;--reference-dot-shift-x: 0px}.reference-upload-zone[data-count="4"]{--reference-add-shift-x: 211px;--reference-dot-shift-x: 0px}.reference-upload-zone[data-count="5"]{--reference-add-shift-x: 268px;--reference-dot-shift-x: 0px}.mention-menu.reference-picker-open{left:-62px;width:min(430px,calc(100vw - 28px))}.prompt-field,.prompt-field textarea{min-height:88px}.prompt-field textarea{padding:1px 2px 0 0;font-size:var(--text-body);font-weight:var(--weight-regular)}.composer-controls{display:flex;flex-wrap:nowrap;gap:5px;min-height:38px}.mode-chip{width:auto;min-width:104px;max-width:124px;padding:0 9px;font-size:var(--text-body);font-weight:var(--weight-medium)}.mode-chip>span,.mode-chip>svg:last-child{display:inline}.control-chip{width:auto;min-width:88px;padding:0 7px;gap:6px;font-size:var(--text-body);font-weight:var(--weight-medium)}.control-chip .chip-divider{height:13px}.mention-control{flex-basis:38px;width:38px}.primary-model-chip{width:38px;min-width:38px;max-width:38px;padding:0}.primary-model-chip>span,.primary-model-chip>svg:last-child{display:none}.icon-control[title=语音输入]{display:inline-flex;flex-basis:35px;width:35px}.send-control{flex-basis:38px;width:38px}.generation-cost{gap:1px;font-size:var(--text-sm)}.generation-cost svg{display:none}.parameter-popover,.model-popover{position:fixed;left:10px;right:10px;bottom:174px;width:auto;max-height:calc(100vh - 198px)}.parameter-popover{padding:16px}.ratio-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:10px}.batch-generation-inner{padding:58px 12px 28px}.batch-page-header{align-items:flex-start;margin-bottom:18px}.batch-page-header h1{font-size:var(--text-lg)}.batch-page-header p{font-size:var(--text-sm)}.batch-page-count{height:28px;padding:0 8px}.batch-uniform-panel{grid-template-columns:1fr;gap:15px;padding:16px}.batch-uniform-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px}.batch-field-model,.batch-apply-button{grid-column:span 2}.batch-apply-button{width:100%}.batch-toolbar{align-items:flex-start;flex-direction:column;gap:11px;padding:18px 0 12px}.batch-toolbar-actions{width:100%}.batch-start-all{flex:1}.batch-task-grid{grid-template-columns:1fr;gap:12px}.batch-add-task-card{min-height:120px}}@media(min-width:721px)and (max-width:980px){.batch-generation-inner{padding-top:58px}.batch-uniform-panel{grid-template-columns:1fr;gap:16px}}@media(max-width:430px){.password-dialog-backdrop{align-items:end;padding:10px}.password-dialog{width:100%;padding:20px 17px 17px;border-radius:14px}.password-dialog-header{margin-bottom:18px}.batch-page-count{display:none}.batch-uniform-heading p{max-width:250px}.batch-toolbar-summary span:last-child{width:100%}.batch-toolbar-summary span:last-child:before{display:none}.batch-task-card{gap:10px;padding:12px}.batch-task-visuals{grid-template-columns:minmax(0,1fr) 118px;height:118px;min-height:118px}.batch-task-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-task-settings .batch-model-select{grid-column:span 2}.batch-reference-count{display:none}.composer-controls{flex-wrap:wrap}.control-spacer{flex:1 1 12px}}@media(max-width:720px){.prompt-edit-backdrop{padding:10px}.prompt-edit-modal{width:calc(100vw - 20px);height:calc(100dvh - 20px);min-height:0;padding:14px;border-radius:14px}.prompt-edit-header{margin-bottom:12px}.prompt-edit-heading{gap:7px}.prompt-edit-heading h2{font-size:var(--text-lg)}.prompt-edit-heading span{min-height:24px;padding:0 8px;font-size:var(--text-sm)}.prompt-edit-close{flex-basis:36px;width:36px;height:36px}.prompt-edit-body textarea{padding:16px 14px;border-radius:10px;font-size:var(--text-body);font-weight:var(--weight-regular)}.prompt-edit-footer{grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:8px;padding-top:10px}.prompt-edit-footer button{height:46px;padding:0 10px;font-size:var(--text-body);font-weight:var(--weight-medium)}}@media(max-width:720px){.storage-manager{width:calc(100% - 28px);padding:58px 0 36px}.storage-manager-header,.storage-cleanup-panel{align-items:stretch;flex-direction:column}.storage-manager-header>.secondary-button,.storage-cleanup-panel>.danger-button{width:100%}.storage-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.ai-prompt-backdrop{padding:10px}.ai-prompt-modal{width:calc(100vw - 20px);height:calc(100dvh - 20px);min-height:0;border-radius:14px}.ai-prompt-header{padding:15px 15px 13px}.ai-prompt-goal-panel{padding:12px 15px 13px}.ai-prompt-goals{display:flex;gap:7px;padding-bottom:3px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#d4d4d4 transparent}.ai-prompt-goals>button{flex:0 0 min(250px,76vw)}.ai-prompt-heading-icon{display:none}.ai-prompt-heading h2{font-size:var(--text-lg)}.ai-prompt-heading p{max-width:520px;font-size:var(--text-sm)}.ai-prompt-content{display:block;overflow-y:auto}.ai-prompt-source-panel,.ai-prompt-result-panel{padding:15px;overflow:visible}.ai-prompt-source-panel{border-right:0;border-bottom:1px solid #e5e5e5}.ai-prompt-original{flex-basis:190px;min-height:190px}.ai-prompt-original textarea{min-height:188px}.ai-prompt-source-panel.has-references .ai-prompt-original{flex-basis:150px;min-height:140px}.ai-prompt-source-panel.has-references .ai-prompt-original textarea{min-height:138px}.ai-prompt-reference-grid{grid-template-columns:repeat(auto-fill,minmax(82px,1fr))}.ai-prompt-reference-preview-backdrop{padding:12px}.ai-prompt-reference-preview{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.ai-prompt-reference-preview>img{max-height:calc(100dvh - 78px)}.ai-prompt-result-editor,.ai-prompt-result-editor textarea,.ai-prompt-working{min-height:260px}.ai-prompt-footer{align-items:stretch;padding:10px 12px}.ai-prompt-footer>span{display:none}.ai-prompt-footer>div{width:100%}.ai-prompt-footer button{flex:1}}@media(max-width:520px){.ai-optimize-control{width:44px}.ai-prompt-heading>div>div{align-items:flex-start;flex-direction:column;gap:4px}.ai-prompt-heading p{display:none}.ai-prompt-goals>button{padding:9px 10px}.ai-prompt-apply span{display:none}}.api-workspace{display:grid;grid-template-columns:208px minmax(0,1fr);width:100%;min-width:0;min-height:0;overflow:hidden;color:var(--ink);background:#f7f7f7}.api-workspace-loading,.api-workspace-error{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:30px;color:gray;font-size:var(--text-sm);text-align:center}.api-workspace-loading strong,.api-workspace-error strong{color:#333;font-size:var(--text-content)}.api-workspace-error>svg{color:var(--danger)}.api-workspace-error>span{max-width:420px}.api-workspace-error>button{height:36px;margin-top:4px;padding:0 15px;border-radius:7px;color:#fff;background:var(--accent);font-size:var(--text-body);font-weight:var(--weight-medium)}.api-section-sidebar{min-width:0;padding:29px 14px;border:0;border-radius:20px;background:var(--panel)}.api-section-brand{display:flex;align-items:center;gap:9px;height:36px;padding:0 10px;color:#333}.api-section-brand svg{color:#171717}.api-section-brand strong{font-size:var(--text-lg);font-weight:var(--weight-bold);letter-spacing:-.01em}.api-section-sidebar nav{display:flex;flex-direction:column;gap:4px;margin-top:18px}.api-section-sidebar nav button{display:flex;align-items:center;gap:10px;width:100%;height:42px;padding:0 11px;border-radius:12px;color:#737373;background:transparent;font-size:var(--text-body);font-weight:var(--weight-medium);text-align:left;transition:color .15s ease,background .15s ease}.api-section-sidebar nav button:hover{color:#333;background:#f2f2f2}.api-section-sidebar nav button.active{color:#171717;background:#efefef}.api-section-sidebar nav button svg{flex:0 0 auto}.api-section-content{min-width:0;overflow-x:hidden;overflow-y:auto;padding:80px clamp(24px,4vw,52px) 64px;overscroll-behavior-y:contain}.api-page{width:min(1160px,100%);margin:0 auto}.api-page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:42px;margin-bottom:24px}.api-page-header h1{margin:0;color:#333;font-size:var(--text-display);font-weight:var(--weight-semibold);line-height:1.2;letter-spacing:-.035em}.api-primary-button,.api-icon-button{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;font-size:var(--text-body);font-weight:var(--weight-medium);transition:color .15s ease,background .15s ease,border-color .15s ease,transform .15s ease}.api-primary-button{gap:7px;height:38px;padding:0 14px;color:#fff;background:var(--accent)}.api-primary-button:hover:not(:disabled){background:#333}.api-primary-button:active:not(:disabled),.api-icon-button:active:not(:disabled){transform:translateY(1px)}.api-primary-button:disabled,.api-icon-button:disabled{cursor:not-allowed;opacity:.48}.api-icon-button{width:36px;height:36px;padding:0;border:1px solid #e0e0e0;color:#737373;background:#fff}.api-icon-button:hover:not(:disabled){color:#171717;border-color:#ccc;background:#f7f7f7}.api-icon-button.danger:hover:not(:disabled){color:#b84141;border-color:#ebcece;background:#fff5f5}.api-inline-error{display:flex;align-items:center;gap:7px;width:min(1160px,100%);margin:0 auto 14px;padding:9px 11px;border:1px solid #efc9c9;border-radius:7px;color:#a54141;background:#fff5f5;font-size:var(--text-sm)}.api-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.api-metric-grid article{display:flex;min-width:0;min-height:126px;padding:19px 20px;flex-direction:column;justify-content:space-between;border:1px solid #e5e5e5;border-radius:10px;background:#fff;box-shadow:0 7px 22px #0000000a}.api-metric-grid article>span{display:flex;align-items:center;gap:8px;color:gray;font-size:var(--text-meta);font-weight:var(--weight-semibold)}.api-metric-grid article>span svg{color:#333}.api-metric-grid article>strong{overflow:hidden;color:#333;font-family:var(--font-mono);font-size:var(--text-display);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;letter-spacing:-.035em;text-overflow:ellipsis;white-space:nowrap}.api-metric-grid article>strong small{margin-left:6px;color:gray;font-family:inherit;font-size:var(--text-sm);font-weight:var(--weight-semibold);letter-spacing:0}.api-panel,.api-doc-block{min-width:0;border:1px solid #e5e5e5;border-radius:10px;background:#fff;box-shadow:0 8px 26px #0000000a}.api-panel-heading,.api-doc-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.api-panel-heading{min-height:66px;padding:0 20px;border-bottom:1px solid #ebebeb}.api-panel-heading h2,.api-doc-heading h2{margin:0;color:#333;font-size:var(--text-lg);font-weight:var(--weight-semibold);line-height:1.2}.api-panel-heading>span{color:#999;font-size:var(--text-sm);font-variant-numeric:tabular-nums}.api-request-panel{margin-top:18px;overflow:hidden}.api-request-table-wrap,.api-param-table-wrap{overflow-x:auto}.api-request-table,.api-param-table{width:100%;border-collapse:collapse}.api-request-table th,.api-param-table th{height:38px;padding:0 16px;color:#999;background:#fafafa;font-size:var(--text-sm);font-weight:var(--weight-bold);text-align:left;white-space:nowrap}.api-request-table td,.api-param-table td{height:53px;padding:8px 16px;border-top:1px solid #efefef;color:#666;font-size:var(--text-sm);white-space:nowrap}.api-request-table th:first-child,.api-request-table td:first-child,.api-param-table th:first-child,.api-param-table td:first-child{padding-left:20px}.api-request-table th:last-child,.api-request-table td:last-child,.api-param-table th:last-child,.api-param-table td:last-child{padding-right:20px}.api-request-table td code,.api-param-table td code{color:#404040;font-family:var(--font-mono);font-size:var(--text-sm)}.api-request-table td:nth-child(2) code{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis}.api-request-table td:nth-child(4){display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:4px}.api-request-table td:nth-child(4) small{color:#999;font-size:var(--text-sm)}.api-request-status{display:inline-flex;align-items:center;min-height:20px;padding:0 7px;border-radius:999px;color:#666;background:#f2f2f2;font-size:var(--text-sm);font-weight:var(--weight-bold)}.api-request-status.success{color:#217346;background:#e8f5ec}.api-request-status.partial{color:#9a6500;background:#fff4d8}.api-request-status.failed{color:#a13e3e;background:#fff0f0}.api-request-status.pending{color:#2467a8;background:#eaf3ff}.api-empty-state{display:flex;align-items:center;justify-content:center;min-height:210px;flex-direction:column;gap:10px;color:#999;font-size:var(--text-meta)}.api-empty-state svg{color:#999}.api-key-panel{overflow:hidden}.api-key-list{display:flex;flex-direction:column}.api-key-row{display:grid;grid-template-columns:38px minmax(140px,1fr) minmax(120px,auto) 36px;align-items:center;gap:12px;min-height:72px;padding:9px 20px;border-bottom:1px solid #efefef}.api-key-row:last-child{border-bottom:0}.api-key-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;color:#171717;background:#f2f2f2}.api-key-identity,.api-key-activity{display:flex;min-width:0;flex-direction:column;gap:5px}.api-key-identity strong,.api-key-activity strong{overflow:hidden;color:#333;font-size:var(--text-meta);font-weight:var(--weight-semibold);text-overflow:ellipsis;white-space:nowrap}.api-key-identity code{overflow:hidden;color:gray;font-family:var(--font-mono);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap}.api-key-activity{text-align:right}.api-key-activity span{color:#a3a3a3;font-size:var(--text-sm)}.api-key-activity strong{color:#737373;font-size:var(--text-sm);font-weight:var(--weight-semibold);font-variant-numeric:tabular-nums}.api-key-confirm{display:flex;align-items:center;justify-content:flex-end;gap:5px;grid-column:3 / -1}.api-key-confirm span{margin-right:4px;color:#525252;font-size:var(--text-sm);white-space:nowrap}.api-key-confirm button{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 9px;border-radius:6px;color:#737373;background:#f2f2f2;font-size:var(--text-body);font-weight:var(--weight-medium)}.api-key-confirm button.danger{color:#fff;background:#bc4747}.api-key-empty{min-height:320px}.api-key-empty button{height:32px;padding:0 11px;border:1px solid #d4d4d4;border-radius:7px;color:#171717;background:#f7f7f7;font-size:var(--text-body);font-weight:var(--weight-medium)}.api-docs-page{display:flex;flex-direction:column;gap:16px}.api-docs-page .api-page-header{margin-bottom:8px;flex-wrap:wrap;row-gap:12px}.api-doc-actions,.api-doc-copy-button{display:inline-flex;align-items:center;gap:8px}.api-doc-actions{margin-left:auto}.api-doc-copy-button{min-height:36px;padding:7px 12px;border:1px solid #e0e0e0;border-radius:6px;color:#404040;background:#fff;font-size:var(--text-content);white-space:nowrap}.api-doc-copy-button:hover{border-color:#333;color:#171717}.api-doc-copy-button:focus-visible{outline:2px solid #333333;outline-offset:3px}.api-contact-dialog{width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow-y:auto;border:1px solid #e5e5e5;border-radius:14px;color:#333;background:#fff;box-shadow:0 24px 80px #0003}.api-contact-dialog::backdrop{background:#17171766}.api-contact-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #efefef}.api-contact-dialog h2{margin:0;font-size:var(--text-lg);font-weight:var(--weight-semibold)}.api-contact-body{padding:16px 24px 24px}.api-contact-body img{display:block;width:100%;height:auto}.api-contact-body ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:20px 0 0;padding:0;list-style-position:inside;text-align:center;color:gray;font-size:var(--text-lg);line-height:1.5}.api-contact-body li::marker{color:#999}.api-doc-notice{display:flex;align-items:flex-start;gap:11px;padding:14px 16px;border:1px solid #ead29a;border-radius:10px;color:#5a4316;background:#fffaf0}.api-doc-notice>svg{flex:0 0 auto;margin-top:1px;color:#b77908}.api-doc-notice p{min-width:0;margin:0;line-height:1.55;color:#5a4316;font-size:var(--text-body);font-weight:var(--weight-bold)}.api-doc-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px;border:1px solid #e5e5e5;border-radius:12px;background:#fff}.api-doc-overview>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;min-width:0;padding:10px 12px;border-radius:8px;background:#fafafa}.api-doc-overview span{flex:0 0 auto;color:#737373;font-size:var(--text-meta)}.api-doc-overview code,.api-doc-overview strong{min-width:0;overflow:hidden;color:#262626;font-size:var(--text-content);font-weight:var(--weight-semibold);text-align:right;text-overflow:ellipsis;white-space:nowrap}.api-doc-overview code{font-family:var(--font-mono);font-size:var(--text-meta)}.api-scalar-reference{min-height:760px;overflow:hidden;border:1px solid #e5e5e5;border-radius:14px;background:#fff}.api-scalar-loading{display:flex;align-items:center;justify-content:center;gap:9px;min-height:760px;color:#737373;font-size:var(--text-content)}.api-scalar-reference .scalar-api-reference,.api-scalar-reference .references-layout{min-height:760px!important}.api-scalar-reference .scalar-api-reference{--full-height: 760px}.api-doc-block{padding:20px}.api-doc-heading{min-height:34px;margin-bottom:15px}.api-doc-model-label{display:flex;align-items:center;gap:8px;color:gray;font-size:var(--text-sm)}.api-model-select{position:relative;width:216px;max-width:100%;min-width:0}.api-model-select.open{z-index:10}.api-model-select-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:38px;padding:0 12px;border:1px solid #e0e0e0;border-radius:9px;color:#333;background:#fff;box-shadow:0 1px 2px #00000008;font-size:var(--text-body);font-weight:var(--weight-medium);text-align:left;transition:border-color .15s ease,background .15s ease}.api-model-select-button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.api-model-select-button:hover:not(:disabled),.api-model-select.open .api-model-select-button{border-color:#bcbcbc;background:#fafafa}.api-model-select-button:focus-visible{outline:2px solid #737373;outline-offset:2px}.api-model-select-chevron{flex-shrink:0;color:#888;transition:transform .15s ease}.api-model-select.open .api-model-select-chevron{transform:rotate(180deg)}.api-model-select-button:disabled{color:#999;background:#f5f5f5;cursor:default}.api-model-select-menu{position:absolute;top:calc(100% + 7px);right:0;width:100%;max-height:280px;padding:6px;overflow-y:auto;border:1px solid #e5e5e5;border-radius:12px;background:#fff;box-shadow:0 10px 30px #0000001f;scrollbar-width:thin}.api-model-select-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:38px;padding:8px 10px;border-radius:7px;color:#525252;background:transparent;font-size:var(--text-body);text-align:left;font-weight:var(--weight-medium)}.api-model-select-option>span{min-width:0;overflow-wrap:anywhere}.api-model-select-option.highlighted,.api-model-select-option:hover{color:#171717;background:#f5f5f5}.api-model-select-option.active{color:#171717;background:#efefef;font-weight:var(--weight-semibold)}.api-model-select-option>svg{flex-shrink:0}.api-model-select-empty{display:block;padding:10px;color:#999;font-size:var(--text-meta)}.api-endpoint-row{display:grid;grid-template-columns:auto minmax(0,1fr) 32px;align-items:center;gap:11px;min-height:52px;padding:8px 10px 8px 13px;border:1px solid #e5e5e5;border-radius:7px;background:#fafafa}.api-endpoint-row>span{color:#171717;font-family:var(--font-mono);font-size:var(--text-sm);font-weight:var(--weight-bold)}.api-endpoint-row code{overflow:hidden;color:#404040;font-family:var(--font-mono);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap}.api-endpoint-row button{display:grid;width:32px;height:32px;padding:0;place-items:center;border-radius:6px;color:#737373;background:#fff}.api-endpoint-row button:hover{color:#171717}.api-video-endpoint-list{display:grid;gap:8px;margin-top:10px}.api-video-endpoint-list>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 11px;align-items:baseline;padding:9px 12px;border:1px solid #ededeb;border-radius:7px;background:#fff}.api-video-endpoint-list>div>span{color:#525252;font-family:var(--font-mono);font-size:var(--text-meta);font-weight:var(--weight-bold)}.api-video-endpoint-list code{min-width:0;overflow-wrap:anywhere;color:#404040;font-family:var(--font-mono);font-size:var(--text-meta)}.api-video-endpoint-list small{grid-column:2;color:#737373;font-size:var(--text-meta)}.api-code-shell{overflow:hidden;border:1px solid #333333;border-radius:8px;background:#171717}.api-code-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:6px 8px 6px 12px;border-bottom:1px solid rgb(229 229 229 / 10%)}.api-code-toolbar>div{display:flex;align-items:center;gap:3px}.api-code-toolbar button{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 8px;border-radius:5px;color:#999;background:transparent;font-family:var(--font-mono);font-size:var(--text-body);transition:color .15s ease,background .15s ease;font-weight:var(--weight-medium)}.api-code-toolbar button:hover,.api-code-toolbar button.active{color:#e5e5e5;background:#e0e0e017}.api-code-toolbar button.active{color:#c2c2c2}.api-code-shell pre{min-height:230px;max-height:390px;margin:0;padding:19px 20px;overflow:auto;color:#d4d4d4;font-family:var(--font-mono);font-size:var(--text-sm);line-height:1.75;-moz-tab-size:2;tab-size:2}.api-param-table-wrap{margin:0 -20px -20px}.api-limit-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));overflow:hidden;border:1px solid #e5e5e5;border-radius:8px}.api-limit-list>div{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(90px,.8fr) minmax(180px,1.5fr);align-items:center;gap:16px;min-height:62px;padding:12px 16px}.api-limit-list>div+div{border-left:1px solid #e5e5e5}.api-limit-list span,.api-limit-list small{color:gray;font-size:var(--text-sm)}.api-limit-list strong{color:#333;font-family:var(--font-mono);font-size:var(--text-body);font-weight:var(--weight-bold);white-space:nowrap}.api-param-table th:first-child,.api-param-table td:first-child{width:180px}.api-error-example{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;padding:14px 16px;border:1px solid #e5e5e5;border-radius:8px;background:#fafafa}.api-error-example>span{padding-top:2px;color:#a14545;font-family:var(--font-mono);font-size:var(--text-sm);font-weight:var(--weight-bold);white-space:nowrap}.api-reference-example>span{color:#171717}.api-error-example pre{min-width:0;margin:0;overflow-x:auto;color:#404040;font-family:var(--font-mono);font-size:var(--text-sm);line-height:1.65}.api-reference-note{margin:10px 0 0;color:gray;font-size:var(--text-sm);line-height:1.6}.api-example-modes,.api-request-id,.api-pagination,.api-pagination>div{display:flex;align-items:center;gap:8px}.api-example-modes button,.api-pagination button{padding:8px 12px;border:1px solid #e0e0e0;border-radius:6px;color:#666;background:#fff;font-size:var(--text-body);font-weight:var(--weight-medium)}.api-example-modes button[aria-pressed=true]{border-color:#333;color:#171717;background:#f5f5f5}.api-workspace button:disabled,.api-workspace select:disabled{cursor:not-allowed;opacity:.5}.api-workspace summary{cursor:pointer}.api-workspace summary:focus-visible,.api-example-modes button:focus-visible,.api-pagination button:focus-visible{outline:2px solid #333333;outline-offset:3px}.api-doc-disclosure>summary{color:#333;font-size:var(--text-lg);font-weight:var(--weight-bold)}.api-doc-disclosure-body{margin-top:18px}.api-doc-copy,.api-stat-definition,.api-request-detail{color:#666;font-size:var(--text-content);line-height:1.7}.api-doc-copy{margin:12px 0 0}ul.api-doc-copy{padding-left:20px}.api-doc-copy li+li{margin-top:6px}.api-stat-definition{margin-top:12px}.api-stat-definition p{margin:8px 0 0}.api-request-table td:nth-child(4){display:table-cell;height:auto}.api-request-result{display:flex;align-items:flex-start;flex-direction:column;gap:5px}.api-request-id>.api-icon-button{width:28px;height:28px;flex-shrink:0}.api-request-detail{min-width:140px;max-width:280px;white-space:normal;overflow-wrap:anywhere}.api-request-detail p{margin:6px 0}.api-pagination{flex-wrap:wrap;justify-content:space-between;padding:14px 20px;border-top:1px solid #ebebeb;color:#666;font-size:var(--text-body)}.api-error-table-wrap{overflow-x:auto}.api-error-table{min-width:540px}.api-error-table th:first-child,.api-error-table td:first-child{width:95px}.api-error-table td{white-space:normal;font-size:var(--text-body);line-height:1.6}.api-drawer-backdrop{position:fixed;z-index:180;top:0;right:0;bottom:0;left:0;display:flex;justify-content:flex-end;background:#1717175e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:api-backdrop-in .16s ease-out}@keyframes api-backdrop-in{0%{opacity:0}to{opacity:1}}.api-key-drawer{width:min(440px,100vw);height:100%;padding:0;overflow-y:auto;border-left:1px solid #e5e5e5;background:#fff;box-shadow:-24px 0 64px #0000002e;animation:api-drawer-in .19s cubic-bezier(.2,.8,.2,1)}@keyframes api-drawer-in{0%{transform:translate(24px);opacity:0}to{transform:translate(0);opacity:1}}.api-key-drawer>header{display:flex;align-items:center;justify-content:space-between;min-height:74px;padding:0 24px;border-bottom:1px solid #ebebeb}.api-key-drawer>header h2{margin:0;color:#333;font-size:var(--text-lg);font-weight:var(--weight-semibold)}.api-key-drawer>header>button{display:grid;width:34px;height:34px;padding:0;place-items:center;border-radius:7px;color:#737373;background:#f5f5f5}.api-create-form,.api-created-secret{display:flex;padding:24px;flex-direction:column;gap:20px}.api-create-form>label,.api-created-secret>label{display:flex;flex-direction:column;gap:8px}.api-create-form>label>span,.api-created-secret>label>span,.api-secret-setup>span{color:#525252;font-size:var(--text-sm);font-weight:var(--weight-bold)}.api-create-form input{height:43px;padding:0 12px;border:1px solid #dbdbdb;border-radius:7px;outline:0;color:#333;background:#fcfcfc;font-size:var(--text-body);font-weight:var(--weight-regular)}.api-create-form input:focus{border-color:#999;background:#fff;box-shadow:0 0 0 3px #0000001c}.api-create-form footer{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}.api-create-form footer>button:not(.api-primary-button){height:38px;padding:0 14px;border:1px solid #e0e0e0;border-radius:7px;color:#737373;background:#fff;font-size:var(--text-body);font-weight:var(--weight-medium)}.api-create-error,.api-secret-warning{display:flex;align-items:center;gap:8px;padding:10px 11px;border-radius:7px;color:#a33f3f;background:#fff1f1;font-size:var(--text-sm);line-height:1.5}.api-created-secret>label>div{display:flex;align-items:center;gap:8px;padding:9px 9px 9px 12px;border:1px solid #d4d4d4;border-radius:8px;background:#f7f7f7}.api-created-secret>label code{min-width:0;overflow-wrap:anywhere;flex:1;color:#333;font-family:var(--font-mono);font-size:var(--text-sm);line-height:1.65}.api-created-secret>label button{display:inline-flex;align-items:center;gap:5px;height:34px;padding:0 10px;flex:0 0 auto;border-radius:6px;color:#fff;background:#171717;font-size:var(--text-body);font-weight:var(--weight-medium)}.api-secret-setup{display:flex;flex-direction:column;gap:8px}.api-secret-setup code{padding:12px;overflow-x:auto;border-radius:7px;color:#ccc;background:#171717;font-family:var(--font-mono);font-size:var(--text-sm);line-height:1.6;white-space:nowrap}.api-created-secret>.api-primary-button{align-self:flex-end;margin-top:2px}@media(max-width:900px){.api-workspace{grid-template-columns:170px minmax(0,1fr)}.api-section-content{padding-inline:22px}.api-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.api-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.api-section-sidebar{padding:calc(70px + env(safe-area-inset-top)) 12px 8px;border-right:0}.api-section-brand{display:none}.api-section-sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:0}.api-section-sidebar nav button{justify-content:center;height:40px;padding:0 7px;font-size:var(--text-body);font-weight:var(--weight-medium)}.api-section-content{padding:24px 14px 44px}.api-page-header{margin-bottom:18px}.api-page-header h1{font-size:var(--text-title)}.api-metric-grid{gap:9px}.api-metric-grid article{min-height:108px;padding:15px}.api-metric-grid article>strong{font-size:var(--text-title)}.api-key-row{grid-template-columns:36px minmax(0,1fr) 36px;gap:10px;padding:11px 14px}.api-key-activity{display:none}.api-key-confirm{grid-column:2 / -1}.api-doc-overview{grid-template-columns:minmax(0,1fr)}.api-scalar-reference,.api-scalar-reference .scalar-api-reference,.api-scalar-reference .references-layout{min-height:680px!important}.api-scalar-reference .scalar-api-reference{--full-height: 680px}.api-doc-block{padding:15px}.api-doc-heading{align-items:flex-start;flex-direction:column}.api-doc-model-label{width:100%;justify-content:space-between}.api-model-select{flex:1}.api-code-shell pre{padding:16px}.api-param-table-wrap{margin:0 -15px -15px}.api-limit-list{grid-template-columns:minmax(0,1fr)}.api-limit-list>div{grid-template-columns:minmax(82px,.7fr) minmax(76px,.7fr) minmax(0,1.5fr)}.api-limit-list>div+div{border-top:1px solid #e5e5e5;border-left:0}}@media(max-width:460px){.api-section-sidebar nav button{gap:6px}.api-section-sidebar nav button svg{width:15px}.api-metric-grid{grid-template-columns:minmax(0,1fr)}.api-metric-grid article{min-height:96px}.api-request-panel{margin-top:12px}.api-key-drawer{width:100vw}.api-key-drawer>header,.api-create-form,.api-created-secret{padding-inline:18px}}.workbench-shell{--workspace-height: calc(100dvh - 16px) ;grid-template-columns:212px minmax(0,1fr);gap:8px;padding:8px}.workspace-sidebar{z-index:40;height:calc(100dvh - 16px);border:0;border-radius:20px;overflow:visible}.workbench-main{height:var(--workspace-height)}.brand-row{position:relative;justify-content:flex-start;height:72px;padding:0 18px;border-bottom:0}.brand-row .brand-copy strong{font-size:var(--text-lg);letter-spacing:-.4px}.brand-row .brand-logo{width:34px;height:34px}.workspace-menu{gap:6px;padding:4px 12px 16px;flex:0 0 auto;overflow-y:visible}.workspace-menu-item{flex-direction:row;flex-shrink:0;justify-content:flex-start;gap:12px;height:44px;padding:0 14px;border-radius:12px;font-size:var(--text-body);font-weight:var(--weight-medium);text-align:left;transition:background .16s ease,color .16s ease}.workspace-menu-item svg{flex:0 0 auto}.workspace-menu-item.api-entry{margin-top:auto}.sidebar-histories{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 12px 0;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.sidebar-history{margin:0 0 16px}.sidebar-history-heading{display:flex;align-items:center;justify-content:space-between;min-height:32px;margin-bottom:4px;gap:4px}.sidebar-history h2{flex:1;margin:0;min-width:0}.sidebar-history-toggle{display:flex;align-items:center;gap:5px;width:100%;min-height:32px;padding:4px 8px;border:0;border-radius:7px;color:var(--ink);background:transparent;font-size:var(--text-sm);font-weight:var(--weight-medium);cursor:pointer}.sidebar-history-toggle svg{flex:0 0 auto;color:var(--muted)}.sidebar-history-toggle[aria-expanded=true] svg{transform:rotate(90deg);opacity:0}.sidebar-history-heading:is(:hover,:has(:focus-visible)) .sidebar-history-toggle svg{opacity:1}.sidebar-history-actions{display:flex;flex:0 0 auto;align-items:center;gap:4px;padding-right:4px;opacity:0;pointer-events:none}.sidebar-history-heading:is(:hover,:has(:focus-visible)) .sidebar-history-actions,.sidebar-history-actions:has([aria-busy=true]){opacity:1;pointer-events:auto}.sidebar-history-actions :is(button,a){display:grid;place-items:center;min-width:28px;height:28px;padding:0 4px;border:0;border-radius:6px;color:var(--muted);background:transparent;font-size:var(--text-sm);text-decoration:none;cursor:pointer}.sidebar-history-heading :is(button,a):hover{color:var(--ink);background:var(--surface-hover)}.sidebar-history-heading :is(button,a):focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}.sidebar-history-actions button:disabled{cursor:default}.sidebar-history-list[hidden]{display:none}@media(hover:none),(pointer:coarse){.sidebar-history-actions{opacity:1;pointer-events:auto}.sidebar-history-heading,.sidebar-history-toggle{min-height:44px}.sidebar-history-actions :is(button,a){min-width:44px;height:44px}}.sidebar-history-item{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:44px;padding:5px 8px;border-radius:10px;color:var(--ink);background:transparent;text-align:left;text-decoration:none;transition:color .16s ease,background .16s ease}.sidebar-history-item:hover{color:var(--ink);background:var(--surface-hover)}.sidebar-history-item.active{color:var(--ink);background:#ededed}.sidebar-history-item:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.sidebar-history-thumb{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;overflow:hidden;border-radius:7px;color:#888;background:#eee}.sidebar-history-thumb img,.sidebar-history-thumb video{display:block;width:100%;height:100%;object-fit:cover}.sidebar-history-title{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-meta)}.sidebar-history-empty{margin:10px 8px;color:#a3a3a3;font-size:var(--text-sm)}.sidebar-history-more{display:block;width:100%;padding:6px 8px;border:0;color:#888;background:transparent;text-align:left;font-size:var(--text-meta);cursor:pointer}.sidebar-history-more:hover{color:#333}.sidebar-footer{flex:0 0 auto;padding:6px 12px 12px}.sidebar-footer .workspace-menu-item{width:100%}.workspace-menu-item.active{background:#ededed;font-weight:var(--weight-semibold);box-shadow:none}.mcp-workspace{min-width:0;min-height:0;overflow:auto;background:var(--canvas);color:var(--ink)}.mcp-page{width:min(1160px,100%);margin:0 auto;padding:44px clamp(22px,4vw,64px) 56px}.mcp-hero{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:32px;min-height:214px;padding:34px 38px;overflow:hidden;border:1px solid #e7e7e7;border-radius:24px;background:linear-gradient(115deg,#fff,#fafafa 58%,#f1f3f8)}.mcp-hero:after{position:absolute;top:-90px;right:80px;width:270px;height:270px;border:1px solid rgba(37,99,235,.1);border-radius:50%;box-shadow:0 0 0 30px #2563eb06,0 0 0 60px #2563eb05;content:""}.mcp-hero-copy{position:relative;z-index:1;max-width:680px}.mcp-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#64748b;font-size:11px;font-weight:var(--weight-bold);letter-spacing:.11em}.mcp-hero h1{max-width:680px;margin:14px 0 9px;font-size:clamp(27px,3vw,40px);font-weight:var(--weight-bold);letter-spacing:-.045em;line-height:1.14}.mcp-hero p{max-width:580px;margin:0;color:#64748b;font-size:var(--text-content);line-height:1.65}.mcp-status{display:inline-flex;align-items:center;gap:7px;margin-top:19px;color:#3f6212;font-size:var(--text-sm);font-weight:var(--weight-semibold)}.mcp-status-dot{width:7px;height:7px;border-radius:50%;background:#84cc16;box-shadow:0 0 0 4px #84cc1621}.mcp-hero-mark{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 84px;width:84px;height:84px;border:1px solid #dbe4f4;border-radius:24px;color:#315bba;background:#ffffffd1;box-shadow:0 15px 32px #1e40af14}.mcp-endpoint-card{display:flex;align-items:center;gap:16px;margin-top:16px;padding:14px 16px;border:1px solid #e4e4e4;border-radius:16px;background:var(--panel)}.mcp-endpoint-label{display:flex;align-items:center;flex:0 0 auto;gap:9px;min-width:150px}.mcp-endpoint-label>span:last-child{display:flex;flex-direction:column;gap:2px}.mcp-endpoint-label strong{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.mcp-endpoint-label small{color:#a1a1aa;font-size:11px}.mcp-icon-tile{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#315bba;background:#eef3ff}.mcp-endpoint-card code{flex:1;min-width:0;overflow:hidden;color:#42526a;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.mcp-copy-button,.mcp-snippet-header button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;height:32px;padding:0 11px;border:1px solid #e3e3e3;border-radius:8px;color:#515151;background:#fff;font-size:12px;font-weight:var(--weight-medium)}.mcp-copy-button:hover,.mcp-snippet-header button:hover{border-color:#c5c5c5;color:#171717;background:#f8f8f8}.mcp-content-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:16px;margin-top:16px}.mcp-panel{min-width:0;padding:26px;border:1px solid #e6e6e6;border-radius:20px;background:var(--panel)}.mcp-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.mcp-panel-heading>svg{flex:0 0 auto;color:#9aa5b5}.mcp-panel-kicker{display:block;margin-bottom:7px;color:#9ca3af;font-size:11px;font-weight:var(--weight-bold);letter-spacing:.08em}.mcp-panel h2{margin:0;font-size:20px;font-weight:var(--weight-bold);letter-spacing:-.025em}.mcp-panel-heading p{margin:7px 0 0;color:#8a8f98;font-size:var(--text-sm);line-height:1.5}.mcp-client-tabs{display:flex;gap:7px;margin-top:23px;padding-bottom:2px}.mcp-client-tabs button{display:inline-flex;align-items:center;gap:7px;height:35px;padding:0 11px;border:1px solid transparent;border-radius:9px;color:#858585;background:#f7f7f7;font-size:12px;font-weight:var(--weight-medium)}.mcp-client-tabs button:hover{color:#333;background:#f0f0f0}.mcp-client-tabs button.active{border-color:#dbe4f4;color:#244b9b;background:#f0f5ff}.mcp-snippet-card{margin-top:12px;overflow:hidden;border:1px solid #e9e9e9;border-radius:12px;background:#f8f8f8}.mcp-snippet-header{display:flex;align-items:center;justify-content:space-between;height:38px;padding:0 11px 0 14px;border-bottom:1px solid #e9e9e9;color:#656b75;font-size:11px;font-weight:var(--weight-semibold)}.mcp-snippet-header span{display:inline-flex;align-items:center;gap:6px}.mcp-snippet-header button{height:27px;padding:0 8px;border:0;background:transparent;font-size:11px}.mcp-snippet-card pre{min-height:74px;margin:0;padding:14px;overflow-x:auto;color:#334155;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.6;white-space:pre-wrap;word-break:break-word}.mcp-auth-note{display:flex;gap:10px;margin-top:16px;padding:12px;border-radius:12px;background:#fafafa}.mcp-auth-note-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:8px;color:#6d5b20;background:#fff7d6}.mcp-auth-note strong{display:block;color:#414141;font-size:12px;font-weight:var(--weight-semibold)}.mcp-auth-note p{margin:4px 0 0;color:#888;font-size:11px;line-height:1.55}.mcp-capability-list{display:grid;gap:9px;margin-top:23px}.mcp-capability{display:flex;align-items:center;gap:11px;min-width:0;padding:12px;border:1px solid #eeeeee;border-radius:12px}.mcp-capability>span:nth-child(2){display:flex;flex-direction:column;flex:1;min-width:0;gap:3px}.mcp-capability strong{color:#414141;font-size:12px;font-weight:var(--weight-semibold)}.mcp-capability small{overflow:hidden;color:#929292;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.mcp-capability>svg{flex:0 0 auto;color:#85a7df}.mcp-capability-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px}.mcp-capability-icon.image{color:#536eb1;background:#eef3ff}.mcp-capability-icon.video{color:#8c61aa;background:#f6edff}.mcp-capability-icon.history{color:#56856f;background:#edf8f1}.mcp-ready{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #eeeeee}.mcp-ready>span,.mcp-ready a{display:inline-flex;align-items:center;gap:6px;font-size:11px}.mcp-ready>span{color:#5c7d34;font-weight:var(--weight-semibold)}.mcp-ready a{color:#5e6f8d}.mcp-ready a:hover{color:#244b9b}.mcp-bottom-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.mcp-trust-item{display:flex;align-items:flex-start;gap:11px;padding:16px 18px;border:1px solid #e6e6e6;border-radius:16px;background:#ffffffad}.mcp-trust-item>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:8px;color:#777;background:#f1f1f1}.mcp-trust-item div{display:flex;flex-direction:column;gap:3px}.mcp-trust-item strong{color:#4b4b4b;font-size:12px;font-weight:var(--weight-semibold)}.mcp-trust-item small{color:#999;font-size:11px;line-height:1.45}@media(max-width:820px){.mcp-page{padding:24px 18px 40px}.mcp-hero{min-height:190px;padding:26px 24px}.mcp-hero-mark{flex-basis:60px;width:60px;height:60px;border-radius:18px}.mcp-content-grid,.mcp-bottom-row{grid-template-columns:1fr}}@media(max-width:540px){.mcp-hero{align-items:flex-start}.mcp-hero-mark{display:none}.mcp-endpoint-card{align-items:flex-start;flex-wrap:wrap;gap:10px}.mcp-endpoint-card code{flex-basis:calc(100% - 46px);order:3}.mcp-copy-button{margin-left:auto}.mcp-panel{padding:20px 17px}.mcp-client-tabs{flex-wrap:wrap}.mcp-ready{align-items:flex-start;flex-direction:column}}.mcp-guide-workspace{display:flex;align-items:center;justify-content:center;overflow-y:auto;background:#0a0b0d;color:#f4f6f8}.mcp-guide-page{display:flex;width:min(1120px,100%);min-height:100%;margin:0 auto;padding:clamp(28px,6vh,74px) clamp(18px,4vw,44px);align-items:center}.mcp-guide-page main{width:100%}.mcp-guide-header{display:flex;align-items:center;justify-content:flex-end;gap:22px;min-height:52px}.mcp-guide-brand{display:inline-flex;align-items:center;gap:9px;justify-self:start;color:#fff;font-size:19px;font-weight:var(--weight-bold);letter-spacing:-.04em}.mcp-guide-brand .brand-logo{width:29px;height:29px}.mcp-guide-tabs{display:inline-flex;padding:4px;border:1px solid #24272b;border-radius:13px;background:#1a1b1d}.mcp-guide-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:100px;height:38px;padding:0 18px;border-radius:9px;color:#aeb2b7;background:transparent;font-size:13px;font-weight:var(--weight-semibold)}.mcp-guide-tabs button:hover{color:#fff;background:#27292c}.mcp-guide-tabs button.active{color:#121416;background:#f4f6f8;box-shadow:0 2px 7px #00000059}.mcp-guide-help{display:inline-flex;align-items:center;justify-self:end;gap:6px;color:#9da3ab;font-size:12px}.mcp-guide-help:hover{color:#fff}.mcp-guide-notes{margin:20px 0 0;padding:0 0 0 22px;color:#c0c5ca;font-size:15px;line-height:1.85;list-style:disc}.mcp-guide-notes li{margin:4px 0;padding-left:4px}.mcp-guide-notes a{color:#f4f6f8;text-decoration:underline;text-underline-offset:3px}.mcp-guide-notes a:hover{color:#fff;text-decoration-thickness:2px}.mcp-guide-intro{position:relative;max-width:960px;margin:0 auto 36px;text-align:center}.mcp-guide-intro:before{position:absolute;z-index:0;top:-100px;left:50%;width:540px;height:310px;border-radius:50%;background:radial-gradient(ellipse,rgba(22,143,83,.2),transparent 68%);content:"";pointer-events:none;transform:translate(-50%)}.mcp-guide-intro>*{position:relative;z-index:1}.mcp-guide-kicker{display:inline-block;color:#8d959f;font-size:10px;font-weight:var(--weight-bold);letter-spacing:.16em}.mcp-guide-intro h1{margin:0 0 13px;color:#f8fafb;font-size:clamp(29px,4vw,47px);font-weight:var(--weight-bold);letter-spacing:-.06em;line-height:1.16}.mcp-guide-intro p{margin:0 auto;color:#aeb4bb;font-size:16px;line-height:1.65}.mcp-install-card{position:relative;max-width:960px;margin:0 auto;padding:28px 40px 24px;border:1px solid #303438;border-radius:20px;background:linear-gradient(135deg,#1f2527fa,#14181bfa);box-shadow:0 25px 80px #00000047}.mcp-install-card:before{position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:radial-gradient(circle at 55% 100%,rgba(47,173,92,.09),transparent 52%);content:"";pointer-events:none}.mcp-install-card>*{position:relative;z-index:1}.mcp-prompt-row{display:flex;align-items:center;gap:16px;padding:10px 10px 10px 22px;border:1px solid #30363a;border-radius:16px;background:#1e2325f2}.mcp-prompt-text{flex:1;min-width:0;margin:0;overflow:hidden;color:#e0e4e7;font-size:15px;font-weight:var(--weight-bold);line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.mcp-code-line{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px!important}.mcp-prompt-copy{flex:none;min-width:76px;height:42px;padding:0 18px;border-radius:12px;color:#121416;background:#f4f6f8;font-size:13px;font-weight:var(--weight-semibold);transition:filter .16s ease,transform .16s ease}.mcp-prompt-copy:hover{filter:brightness(.9)}.mcp-prompt-copy:active{transform:translateY(1px)}.mcp-install-meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px;margin-top:20px;color:#8f989d;font-size:11px}.mcp-install-meta span,.mcp-cli-hint{display:inline-flex;align-items:center;gap:6px}.mcp-install-meta svg,.mcp-cli-hint svg{color:#6fd88a}.mcp-cli-hint{justify-content:center;margin-top:18px;color:#9ea5aa;font-size:12px}.mcp-steps-section,.mcp-tools-section{max-width:960px;margin:90px auto 0}.mcp-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.mcp-section-title>svg{flex:0 0 auto;color:#636b72}.mcp-section-title h2{margin:12px 0 7px;color:#f1f4f5;font-size:clamp(23px,3vw,31px);font-weight:var(--weight-bold);letter-spacing:-.045em}.mcp-section-title p{margin:0;color:#8e969e;font-size:13px}.mcp-step-grid,.mcp-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:25px}.mcp-step-card{position:relative;min-height:205px;padding:22px 22px 20px;overflow:hidden;border:1px solid #292d31;border-radius:15px;background:#131619}.mcp-step-card>svg{position:absolute;right:18px;bottom:18px;color:#525960}.mcp-step-number{display:block;color:#606970;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:.08em}.mcp-step-icon{display:grid;place-items:center;width:40px;height:40px;margin-top:20px;border:1px solid #345a43;border-radius:11px;color:#75de92;background:#17251b}.mcp-step-card h3{margin:17px 0 7px;color:#e6eaed;font-size:15px;font-weight:var(--weight-semibold)}.mcp-step-card p{max-width:235px;margin:0;color:#929aa1;font-size:12px;line-height:1.6}.mcp-tools-grid{gap:1px;overflow:hidden;border:1px solid #292d31;border-radius:15px;background:#292d31}.mcp-tools-grid>div{display:grid;grid-template-columns:auto 1fr;gap:6px 11px;padding:20px;background:#131619}.mcp-tools-grid strong{align-self:center;color:#e5e9eb;font-size:13px}.mcp-tools-grid small{grid-column:1 / -1;color:#8e969e;font-size:11px;line-height:1.55}.mcp-tool-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px}.mcp-tool-icon.image{color:#7aa3f2;background:#17263f}.mcp-tool-icon.video{color:#c48ce8;background:#2a1b36}.mcp-tool-icon.library{color:#75de92;background:#172b1c}@media(max-width:760px){.mcp-guide-page{min-height:auto;padding-top:54px;padding-bottom:54px}.mcp-guide-intro{margin-top:0}.mcp-install-card{padding:22px 18px}.mcp-step-grid,.mcp-tools-grid{grid-template-columns:1fr}.mcp-step-card{min-height:0}}@media(max-width:460px){.mcp-guide-intro h1{font-size:28px}.mcp-guide-intro p{font-size:13px}.mcp-guide-brand strong{font-size:17px}.mcp-guide-tabs button{min-width:84px}.mcp-install-meta{align-items:flex-start;flex-direction:column;gap:9px}}.sidebar-account{gap:6px;min-height:0;padding:8px}.sidebar-redeem-area,.sidebar-redeem-area.expanded{position:relative;width:100%;height:58px;overflow:visible}.sidebar-rail-action{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;height:58px;padding:0;border:1px solid transparent;border-radius:10px;color:#666;background:transparent;font-size:var(--text-sm);font-weight:var(--weight-semibold);line-height:1;transition:color .16s ease,background .16s ease,border-color .16s ease,transform .16s ease}.sidebar-rail-action:hover,.sidebar-rail-action.active,.sidebar-redeem-area.expanded>.sidebar-rail-action{color:#171717;border-color:#e0e0e0;background:#f2f2f2}.sidebar-rail-action:active{transform:translateY(1px)}.sidebar-rail-action>strong{max-width:62px;overflow:hidden;color:#171717;font-size:var(--text-sm);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.sidebar-rail-icon{position:relative;display:grid;place-items:center;width:24px;height:22px}.sidebar-rail-icon i{position:absolute;top:-6px;right:-12px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:9px;color:#fff;background:#666;font-size:var(--text-sm);font-style:normal;font-weight:var(--weight-bold);line-height:1}.sidebar-redeem-form{z-index:60;inset:auto auto 0 calc(100% + 10px);width:264px;min-height:180px;padding:12px;border-color:#dbdbdb;background:#fff;box-shadow:0 18px 46px #00000029;opacity:0;pointer-events:none;transform:translate(-7px) scale(.98);transform-origin:left bottom}.sidebar-redeem-area.expanded .sidebar-redeem-form{opacity:1;pointer-events:auto;transform:translate(0) scale(1)}.sidebar-user-menu{position:relative}.sidebar-avatar-action{height:62px}.sidebar-account-avatar{width:30px;height:30px;border-radius:9px;font-size:var(--text-sm)}.sidebar-account-menu{right:auto;bottom:0;left:calc(100% + 10px);width:252px;padding:8px;border-color:#e0e0e0;border-radius:12px;box-shadow:0 18px 46px #00000029;transform-origin:left bottom}.sidebar-account-legal{display:flex;align-items:center;justify-content:center;gap:7px;margin:5px 2px;padding:9px 5px;border-top:1px solid #efefef;border-bottom:1px solid #efefef;color:#999;font-size:var(--text-sm)}.sidebar-account-legal a:hover{color:var(--accent)}.image-generation-view{grid-template-columns:286px minmax(0,1fr)}.history-panel{z-index:18;border-right:1px solid var(--line);border-left:0;background:#fafafa}.history-heading{padding:20px 16px 13px}.history-heading h1{font-size:var(--text-lg)}.history-storage-notice{margin:0 14px 2px;padding:9px 10px;border-radius:7px;color:gray;background:#f2f2f2;font-size:var(--text-sm);line-height:1.45}.history-list{padding-inline:8px}.history-item-main{gap:9px;padding:10px 8px}.notification-panel{position:fixed;z-index:66;bottom:14px;left:96px;display:flex;flex-direction:column;width:min(450px,calc(100vw - 24px));max-height:min(760px,calc(100vh - 24px));overflow:hidden;border:1px solid #e0e0e0;border-radius:24px;background:#fff;box-shadow:0 24px 66px #0003;animation:notification-panel-in .18s cubic-bezier(.2,.8,.2,1)}@keyframes notification-panel-in{0%{opacity:0;transform:translate(-8px) scale(.985)}to{opacity:1;transform:translate(0) scale(1)}}.notification-panel-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 24px 18px}.notification-panel-header>div:first-child{min-width:0}.notification-panel-header h2,.notification-panel-header p{margin:0}.notification-panel-header h2{color:#333;font-size:20px;font-weight:var(--weight-regular)}.notification-panel-header p{margin-top:4px;color:#999;font-size:var(--text-sm)}.notification-panel-actions{display:flex;gap:3px}.notification-panel-actions button{display:grid;place-items:center;width:32px;height:32px;padding:0;border-radius:7px;color:#737373;background:transparent}.notification-panel-actions button:hover:not(:disabled){color:#333;background:#f2f2f2}.notification-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;min-height:50px;margin:0 16px;padding:3px;border-radius:12px;background:#f1f1f1}.notification-tabs button{min-width:0;border-radius:10px;color:#777;background:transparent;font-size:16px;font-weight:var(--weight-regular)}.notification-tabs button.active{color:#171717;background:#fff;box-shadow:0 1px 3px #00000008}.notification-mark-all{display:inline-flex;align-items:center;align-self:flex-end;gap:5px;margin:9px 12px 0;padding:5px 7px;border-radius:6px;color:#171717;background:transparent;font-size:var(--text-sm);font-weight:var(--weight-semibold)}.notification-mark-all:hover{background:#f2f2f2}.notification-list{display:flex;flex-direction:column;flex:1 1 auto;min-height:500px;overflow-y:auto;padding:8px 9px 18px;scrollbar-width:thin;scrollbar-color:#d4d4d4 transparent}.notification-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 7px;align-items:start;gap:10px;width:100%;padding:12px 9px;border-radius:9px;color:#666;background:transparent;text-align:left;transition:background .15s ease}.notification-item:hover,.notification-item.unread{background:#f7f7f7}.notification-item-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;color:#171717;background:#efefef}.notification-item-icon.credit_change,.notification-item-icon.system{color:#666;background:#efefef}.notification-item-icon.generation_violation,.notification-detail-icon.generation_violation{color:#983b3b;background:#f8e8e6}.notification-item-copy{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:13px;line-height:1.45}.notification-item-preview{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;line-height:1.45}.notification-item-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.notification-item-title strong{overflow:hidden;color:#333;font-size:15px;font-weight:var(--weight-semibold);text-overflow:ellipsis;white-space:nowrap}.notification-item-title time{flex:0 0 auto;color:#999;font-size:12px;font-variant-numeric:tabular-nums}.notification-item>i{width:7px;height:7px;margin-top:7px;border-radius:50%;background:#666}.notification-update-timeline{--ant-timeline-alternate-gap: 24px !important;width:100%;padding:18px 12px 24px}.notification-update-timeline .ant-timeline-item{position:relative;min-height:142px;padding-bottom:20px}.notification-update-timeline .ant-timeline-item:last-child{min-height:0;padding-bottom:0}.notification-update-timeline .ant-timeline-item-title{min-width:0;overflow:visible;color:#888;font-size:13px;font-variant-numeric:tabular-nums;line-height:1.45;text-align:right;text-overflow:clip;white-space:nowrap}.notification-update-timeline .ant-timeline-item-section{display:flex!important;flex:1 1 auto!important;flex-wrap:nowrap;gap:24px!important;width:100%!important;min-width:0}.notification-update-timeline .ant-timeline-item-header{flex:0 0 calc(20.833333% - 12px)!important;width:calc(20.833333% - 12px);min-width:0;max-width:none;text-align:right}.notification-update-timeline .ant-timeline-item-content{flex:1 1 0!important;min-width:0;max-width:none}.notification-update-dot{display:block;box-sizing:border-box;flex:0 0 10px;width:10px;height:10px;border:2px solid #d0d4d2;border-radius:50%;background:#fff}.notification-update-dot.is-unread{border-color:#202322}.notification-update-timeline .ant-timeline-item-content{min-width:0;max-width:100%;padding:0}.notification-update-card{position:relative;display:flex;width:100%;min-width:0;max-width:100%;flex-direction:column;gap:7px;margin:-3px 0 0;padding:3px 8px 12px 7px;border-radius:8px;color:#666;background:transparent;text-align:left;font-size:13px;line-height:1.5;overflow:hidden;transition:background .15s ease}.notification-update-card:hover,.notification-update-card:focus-visible{background:#f7f7f7}.notification-update-card .notification-item-title{min-width:0;max-width:100%;overflow:hidden}.notification-update-card .notification-item-title strong{flex:1 1 auto;min-width:0;max-width:100%;overflow:visible;font-size:15px;font-weight:var(--weight-semibold);text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.notification-update-card .notification-item-title time{font-size:12px}.notification-update-card .notification-item-preview{display:block;min-width:0;max-width:100%;overflow:visible;color:#777;font-size:13px;line-height:1.45;-webkit-box-orient:initial;-webkit-line-clamp:unset;overflow-wrap:anywhere;text-overflow:clip;white-space:pre-wrap}.notification-update-badges{display:flex;flex-wrap:wrap;gap:6px;max-width:100%;overflow:hidden}.notification-update-badges>span{display:inline-flex;min-width:0;max-width:100%;align-items:center;padding:2px 9px;border:1px solid rgb(0 0 0 / 8%);border-radius:4px;color:#454545;font-size:11px;line-height:1.45;overflow:visible;overflow-wrap:anywhere;text-align:center;white-space:normal}.notification-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:210px;padding:24px;color:#999;font-size:var(--text-sm);text-align:center}.notification-state.empty{flex:1 1 auto;min-height:500px;padding-top:0;color:#aaa;font-size:14px}.notification-state strong{color:#525252;font-size:var(--text-meta)}.notification-state button{margin-top:3px;padding:7px 10px;border-radius:6px;color:#171717;background:#f2f2f2;font-size:var(--text-body);font-weight:var(--weight-medium)}.notification-state.error{color:#a24747}.generation-limit-dialog-backdrop{position:fixed;z-index:220;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#17171775;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:notification-detail-backdrop-in .16s ease-out}.generation-limit-dialog{display:flex;width:min(620px,calc(100vw - 40px));max-height:min(760px,calc(100dvh - 40px));overflow:hidden;flex-direction:column;border:1px solid #e0e0e0;border-radius:16px;background:#fff;box-shadow:0 28px 80px #00000042;animation:notification-detail-dialog-in .18s cubic-bezier(.2,.8,.2,1)}.generation-limit-dialog>header{display:grid;grid-template-columns:42px minmax(0,1fr) 34px;align-items:center;gap:12px;padding:20px 22px 17px;border-bottom:1px solid #efefef}.generation-limit-dialog>header>span{display:grid;width:42px;height:42px;place-items:center;border-radius:11px;color:#525252;background:#f2f2f2}.generation-limit-dialog>header small{color:#999;font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:.12em}.generation-limit-dialog>header h2{margin:2px 0 0;color:#171717;font-size:var(--text-lg);line-height:1.25}.generation-limit-dialog>header>button{display:grid;width:34px;height:34px;padding:0;place-items:center;border-radius:50%;color:#737373;background:#f2f2f2}.generation-limit-dialog-content{overflow:auto;padding:22px 24px 24px;color:#525252;font-size:var(--text-meta);line-height:1.7}.generation-limit-dialog-content p{margin:0}.generation-limit-dialog-content .generation-limit-warning{padding:11px 12px;border:1px solid #e9a3a3;border-radius:8px;color:#a82f28;background:#fff0f0;font-weight:var(--weight-semibold);line-height:1.6}.generation-limit-dialog-content ul{margin:14px 0 0;padding-left:20px}.browser-storage-dialog{width:min(460px,calc(100vw - 40px))}.generation-limit-dialog-content li+li{margin-top:7px}.generation-limit-dialog>footer{display:flex;justify-content:flex-end;padding:14px 22px 18px;border-top:1px solid #efefef}.generation-limit-dialog>footer button{min-width:96px;height:38px;padding:0 18px;border-radius:8px;color:#fff;background:#171717;font-size:var(--text-body);font-weight:var(--weight-medium)}.notification-detail-backdrop{position:fixed;z-index:195;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#1717176b;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:notification-detail-backdrop-in .16s ease-out}.notification-detail-dialog{display:flex;flex-direction:column;width:min(560px,calc(100vw - 40px));max-height:min(720px,calc(100dvh - 40px));overflow:hidden;border:1px solid #e0e0e0;border-radius:16px;background:#fff;box-shadow:0 28px 80px #0000003d;animation:notification-detail-dialog-in .18s cubic-bezier(.2,.8,.2,1)}@keyframes notification-detail-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes notification-detail-dialog-in{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.notification-detail-header{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:start;gap:12px;padding:22px 22px 18px;border-bottom:1px solid #efefef}.notification-detail-header-with-icon{grid-template-columns:42px minmax(0,1fr) 34px}.notification-detail-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;color:#171717;background:#efefef}.notification-detail-header>div{min-width:0}.notification-detail-header h2{margin:1px 0 6px;color:#171717;font-size:var(--text-lg);font-weight:var(--weight-semibold);line-height:1.4;overflow-wrap:anywhere}.notification-detail-header time{color:#999;font-size:var(--text-sm);font-variant-numeric:tabular-nums}.notification-detail-header>button{display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:50%;color:#737373;background:#f2f2f2;transition:color .15s ease,background .15s ease}.notification-detail-header>button:hover{color:#333;background:#ebebeb}.notification-detail-body{min-height:150px;overflow:auto;padding:24px 26px;color:#404040;font-size:var(--text-body);line-height:1.85;overflow-wrap:anywhere;-moz-tab-size:4;tab-size:4;white-space:pre-wrap}.notification-detail-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 22px 18px;border-top:1px solid #efefef}.notification-detail-footer button{min-width:96px;height:38px;padding:0 18px;border-radius:8px;color:#fff;background:#171717;font-size:var(--text-body);font-weight:var(--weight-medium)}.notification-detail-footer a{margin-right:auto;color:#525252;font-size:var(--text-body);font-weight:var(--weight-medium);text-decoration:none}.notification-detail-footer a:hover{text-decoration:underline}.notification-detail-footer button:hover{background:#333}.notification-detail-footer .notification-limit-button{min-width:0;width:auto;height:auto;margin-right:auto;padding:0;color:#525252;background:transparent;font-size:var(--text-body);font-weight:var(--weight-medium)}.notification-detail-footer .notification-limit-button:hover{color:#404040;background:transparent;text-decoration:underline}.feedback-widget{position:fixed;z-index:68;right:18px;bottom:18px}.feedback-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 13px;border:1px solid #dbdbdb;border-radius:10px;color:#525252;background:#fffffff0;box-shadow:0 8px 24px #00000021;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:var(--text-sm);font-weight:var(--weight-bold);transition:color .16s ease,border-color .16s ease,background .16s ease,transform .16s ease}.feedback-trigger:hover,.feedback-widget.open .feedback-trigger{color:#fff;border-color:#171717;background:#171717}.feedback-trigger:active{transform:translateY(1px)}.feedback-panel{position:absolute;right:0;bottom:calc(100% + 10px);width:min(390px,calc(100vw - 28px));overflow:hidden;border:1px solid #e0e0e0;border-radius:14px;background:#fff;box-shadow:0 24px 66px #00000036;animation:feedback-panel-in .18s cubic-bezier(.2,.8,.2,1)}@keyframes feedback-panel-in{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.feedback-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid #efefef}.feedback-panel>header>div{display:flex;align-items:center;gap:10px;min-width:0}.feedback-panel-mark{display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;border-radius:9px;color:#171717;background:#efefef}.feedback-panel h2,.feedback-panel p{margin:0}.feedback-panel h2{color:#333;font-size:var(--text-lg);font-weight:var(--weight-semibold)}.feedback-panel header p{margin-top:4px;color:#999;font-size:var(--text-sm)}.feedback-panel>header>button{display:grid;place-items:center;width:32px;height:32px;flex:0 0 auto;padding:0;border-radius:7px;color:#737373;background:transparent}.feedback-panel>header>button:hover:not(:disabled){color:#333;background:#f2f2f2}.feedback-panel form{display:flex;flex-direction:column;gap:13px;padding:15px 16px 16px}.feedback-category-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.feedback-category-list button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:0;height:34px;padding:0 5px;border:1px solid #e5e5e5;border-radius:7px;color:#737373;background:#f7f7f7;font-size:var(--text-body);font-weight:var(--weight-medium);transition:border-color .15s ease,color .15s ease,background .15s ease}.feedback-category-list button:hover,.feedback-category-list button.active{color:#171717;border-color:#c2c2c2;background:#f2f2f2}.feedback-content-field{position:relative;display:flex;flex-direction:column;gap:7px}.feedback-content-field>span{color:#404040;font-size:var(--text-sm);font-weight:var(--weight-bold)}.feedback-content-field textarea{width:100%;min-height:132px;padding:11px 12px 24px;resize:vertical;border:1px solid #e0e0e0;border-radius:8px;outline:0;color:#333;background:#fcfcfc;font-size:var(--text-body);line-height:1.65;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;font-weight:var(--weight-regular)}.feedback-content-field textarea:focus{border-color:#999;background:#fff;box-shadow:0 0 0 3px #0000001c}.feedback-content-field>small{position:absolute;right:9px;bottom:7px;color:#a3a3a3;font-size:var(--text-sm);font-variant-numeric:tabular-nums}.feedback-related-run{display:flex;align-items:center;gap:8px;color:#737373;font-size:var(--text-sm)}.feedback-related-run input{width:15px;height:15px;accent-color:var(--accent)}.feedback-related-run span{display:inline-flex;align-items:center;gap:5px}.feedback-error{padding:8px 9px;border-radius:6px;color:#a34242;background:#fff0f0;font-size:var(--text-sm);line-height:1.5}.feedback-panel form>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:2px}.feedback-panel form>footer>span{max-width:190px;color:#999;font-size:var(--text-sm);line-height:1.5}.feedback-panel form>footer>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:104px;height:36px;padding:0 13px;border-radius:7px;color:#fff;background:#171717;font-size:var(--text-body);font-weight:var(--weight-medium);transition:background .15s ease,transform .15s ease,opacity .15s ease}.feedback-panel form>footer>button:hover:not(:disabled){background:#333}.feedback-panel form>footer>button:active:not(:disabled){transform:translateY(1px)}.feedback-panel form>footer>button:disabled{cursor:not-allowed;opacity:.48}@media(max-width:1180px)and (min-width:981px){.image-generation-view{grid-template-columns:254px minmax(0,1fr)}.history-meta i:last-child{display:none}}@media(max-width:980px){.workbench-shell{grid-template-columns:180px minmax(0,1fr)}.history-panel{border-right:0;border-left:1px solid var(--line)}}@media(max-width:720px){.workbench-shell{--workspace-height: 100dvh;padding:0}.workspace-sidebar{inset:8px auto 8px 8px;width:min(240px,calc(100vw - 32px));transform:translate(calc(-100% - 16px))}.workspace-sidebar.open{transform:translate(0)}.brand-row{padding:0 14px}.sidebar-close{position:static;border:0;background:transparent;box-shadow:none}.sidebar-redeem-form,.sidebar-account-menu{left:calc(100% + 8px);width:min(264px,calc(100vw - 104px))}.notification-panel{right:10px;bottom:10px;left:10px;width:auto;max-height:calc(100dvh - 20px);border-radius:12px}.notification-detail-backdrop,.generation-limit-dialog-backdrop{align-items:end;padding:10px}.generation-limit-dialog{width:100%;max-height:calc(100dvh - 20px);border-radius:15px}.generation-limit-dialog>header{padding:18px 16px 15px}.generation-limit-dialog-content{padding:18px 18px 20px}.generation-limit-dialog>footer{padding:12px 16px 16px}.generation-limit-dialog>footer button{width:100%}.notification-detail-dialog{width:100%;max-height:calc(100dvh - 20px);border-radius:15px}.notification-detail-header{padding:18px 16px 15px}.notification-detail-body{padding:20px 18px;font-size:var(--text-meta)}.notification-detail-footer{padding:12px 16px 16px}.notification-detail-footer button{width:100%}.feedback-widget{right:12px;bottom:12px}.feedback-panel{width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 76px);overflow-y:auto}.feedback-category-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.feedback-panel form>footer{align-items:stretch;flex-direction:column}.feedback-panel form>footer>span{max-width:none}.feedback-panel form>footer>button{width:100%}}@media(max-width:980px){.image-generation-view{grid-template-columns:minmax(0,1fr)}.generation-workspace{width:100%}}@media(max-width:720px){.workbench-shell,.workbench-main,.history-panel{height:100dvh}.image-generation-view,.generation-workspace,.result-canvas,.composer-dock{width:100%}.workspace-sidebar:not(.open) .sidebar-close{display:none}.workspace-sidebar.open .sidebar-close{display:inline-grid}.mobile-workbench-actions{top:calc(10px + env(safe-area-inset-top));right:10px;left:10px;pointer-events:none;gap:8px}.mobile-workbench-actions .icon-button{pointer-events:auto}.mobile-menu-button{margin-right:auto}.icon-button,.notification-panel-actions button{width:44px;height:44px;border-radius:10px}.result-canvas{padding-top:calc(66px + env(safe-area-inset-top))}.composer-dock{padding:0 10px calc(10px + env(safe-area-inset-bottom))}.mode-chip,.control-chip,.icon-control,.send-control,.ai-optimize-control,.generation-limit-trigger{min-height:44px;height:44px}.primary-model-chip,.icon-control,.mention-control,.send-control{flex-basis:44px;width:44px;min-width:44px;max-width:44px}.composer-controls{width:100%;flex-wrap:wrap;min-height:44px;gap:6px}.control-spacer{flex:1 1 12px}.mention-control{display:none}.generation-limit-wrap{position:absolute;z-index:54;top:12px;right:14px}.workbench-composer.is-ai-optimizing .generation-limit-wrap{visibility:hidden;pointer-events:none}.prompt-field textarea{max-height:220px;padding-right:86px;overflow-y:auto;overscroll-behavior:contain}.prompt-field.has-ai-undo textarea{padding-right:148px}.prompt-field.has-ai-undo .ai-inline-undo{right:82px}.parameter-popover,.primary-model-wrap .model-popover{position:fixed;z-index:82;inset:auto 10px calc(10px + env(safe-area-inset-bottom));width:auto;max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;border-radius:18px;box-shadow:0 24px 70px #0003}.primary-model-wrap .model-popover{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));padding:10px}.parameter-popover>.popover-title,.model-popover>.popover-title{position:sticky;z-index:2;top:0;display:flex;align-items:center;justify-content:space-between;min-height:48px;margin:-4px -4px 8px;padding:4px 4px 8px 10px;border-bottom:1px solid #efefef;color:#333;background:#fff;font-size:var(--text-lg);font-weight:var(--weight-semibold)}.parameter-popover>.popover-title button,.model-popover>.popover-title button{display:grid;width:44px;height:44px;place-items:center;padding:0;border-radius:10px;color:#737373;background:#f5f5f5}.model-popover>button,.quality-control button,.count-options button{min-height:44px}.batch-generation-view{overflow-x:hidden}.batch-uniform-controls.has-render-quality,.batch-task-settings.has-render-quality{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-uniform-controls.has-render-quality .batch-field-model,.batch-uniform-controls.has-render-quality .batch-apply-button,.batch-task-settings.has-render-quality .batch-model-select{grid-column:1 / -1}.batch-select-wrap,.batch-task-settings .batch-select-wrap{height:44px}.batch-select-option,.batch-apply-button,.batch-download-all,.batch-clear-button,.batch-start-all,.batch-download,.batch-task-generate,.batch-task-delete,.batch-prompt-optimize,.batch-prompt-mention,.batch-prompt-expand{min-height:44px}.batch-clear-button,.batch-download,.batch-task-delete,.batch-prompt-optimize,.batch-prompt-mention,.batch-prompt-expand{width:44px;height:44px}.batch-prompt-field textarea{min-height:180px;padding-right:108px}.batch-prompt-optimize,.batch-prompt-mention,.batch-prompt-expand{top:8px}.batch-prompt-optimize{right:108px}.batch-prompt-field.has-ai-optimization textarea{min-height:300px;padding:58px 10px 9px}.batch-ai-goal-menu:after{right:116px}.batch-ai-undo{min-height:44px}.batch-prompt-mention{right:58px}.batch-prompt-expand{right:8px}.auth-input-wrap,.auth-submit{min-height:48px}.auth-mode-switch{height:52px}.auth-mode-switch button{min-height:44px}.auth-password-toggle{width:44px;height:44px}.auth-forgot-link,.auth-legal-footer a{display:inline-flex;min-height:44px;align-items:center}.notification-mark-all{min-height:44px;padding-inline:12px}.sidebar-redeem-form-header>button{width:44px;height:44px;margin:-8px -8px -8px 0}.sidebar-redeem-input,.sidebar-redeem-form>button,.sidebar-redeem-buy-button,.sidebar-account-menu>button{min-height:44px;height:44px}.feedback-widget{display:none}.feedback-widget.hidden,.workbench-shell:has(.settings-popover) .feedback-widget,.workbench-shell:has(.notification-panel) .feedback-widget{visibility:hidden;opacity:0;pointer-events:none}.feedback-trigger{width:44px;height:44px;padding:0}.feedback-trigger span{display:none}.feedback-panel{position:fixed;top:calc(64px + env(safe-area-inset-top));right:12px;bottom:auto;left:12px;width:auto;max-height:calc(100dvh - 76px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}@media(max-width:520px){.composer-controls:not(.video-composer-controls){display:grid;grid-template-columns:minmax(0,1fr) 44px auto;align-items:center}.composer-controls:not(.video-composer-controls) .creation-type-picker-wrap{grid-column:1;grid-row:1}.composer-controls:not(.video-composer-controls) .primary-model-wrap{grid-column:2;grid-row:1}.composer-controls:not(.video-composer-controls)>.popover-wrap:nth-child(3){min-width:0;grid-column:1 / -1;grid-row:2}.composer-controls:not(.video-composer-controls)>.popover-wrap:nth-child(3) .control-chip{width:100%;min-width:0}.composer-controls:not(.video-composer-controls) .ai-optimize-wrap{grid-column:3;grid-row:1}.composer-controls:not(.video-composer-controls) .prompt-length-count{grid-column:1;grid-row:3;justify-self:start}.composer-controls:not(.video-composer-controls) .control-spacer{display:none}.composer-controls:not(.video-composer-controls) .generation-cost{grid-column:2;grid-row:3;justify-self:end}.composer-controls:not(.video-composer-controls) .send-control{grid-column:3;grid-row:3;justify-self:end}.creation-type-popover.settings-popover{position:fixed;z-index:82;inset:auto 10px calc(10px + env(safe-area-inset-bottom));width:auto;max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;border-radius:18px;box-shadow:0 24px 70px #0003;padding:10px}.creation-type-popover>.popover-title{position:sticky;z-index:2;top:0;min-height:48px;margin:-4px -4px 8px;padding:4px 10px 8px;border-bottom:1px solid #efefef;background:#fff;font-size:var(--text-lg)}.creation-type-popover>button{min-height:52px}}.notification-detail-image{display:block;margin-top:18px}.notification-detail-image img{display:block;width:auto;max-width:100%;height:auto;margin-inline:auto;border-radius:8px}.important-announcement-backdrop{z-index:1000}.important-announcement-error{margin:0;padding:12px 24px;font-size:var(--text-sm);line-height:1.7;color:#737373}.important-announcement-error{color:#b43b3b}.important-announcement-backdrop .notification-detail-dialog{outline:none}.referral-backdrop{z-index:210}.referral-dialog{width:min(760px,calc(100vw - 40px));outline:none}.referral-content{overflow-y:auto;padding:20px 24px;min-height:0}.referral-share{display:grid;grid-template-columns:1fr;gap:18px}.referral-share label{min-width:0;font-size:var(--text-sm);color:#737373}.referral-share label>div{display:flex;margin-top:8px;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.referral-share input{width:100%;min-width:0;padding:10px;border:0;background:#fafafa;color:#333}.referral-content button{border:1px solid #e0e0e0;border-radius:7px;padding:7px 10px;background:#fff;color:#333;cursor:pointer}.referral-content button:disabled{opacity:.45;cursor:default}.referral-share button{display:flex;align-items:center;gap:4px;flex-shrink:0;border:0;border-radius:0}.referral-copy-notice{min-height:18px;margin:6px 0 10px;font-size:var(--text-sm);color:#333}.referral-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:12px 0;border-bottom:1px solid #ebebeb}.referral-stats>div{display:flex;flex-direction:column;gap:6px}.referral-stats strong{font-size:var(--text-title);font-variant-numeric:tabular-nums}.referral-stats span,.referral-description{font-size:var(--text-sm);color:#737373;line-height:1.8}.referral-tabs{display:flex;gap:8px;margin:18px 0 12px}.referral-tabs button[aria-pressed=true]{background:#efefef;border-color:#b3b3b3}.referral-tabs button:last-child{margin-left:auto}.referral-table-scroll{overflow-x:auto}.referral-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:var(--text-sm)}.referral-table th,.referral-table td{padding:12px 10px;border-bottom:1px solid #efefef}.referral-table th{color:gray;font-weight:var(--weight-medium)}.referral-pagination{display:flex;align-items:center;gap:8px;margin:14px 0;font-size:var(--text-sm)}.referral-pagination>span{margin-right:auto}.referral-error{color:#af3535;font-size:var(--text-meta)}.referral-status{padding:10px;background:#f5f5f5;color:#666;font-size:var(--text-sm)}@media(max-width:600px){.referral-share{grid-template-columns:1fr;gap:12px}.referral-content{padding:16px}.referral-stats strong{font-size:var(--text-title)}.referral-dialog .notification-detail-header small{font-size:var(--text-sm)}}.referral-dialog .referral-rate-highlight{color:#d4471f;font-size:var(--text-title);font-weight:var(--weight-bold);line-height:1.2;white-space:nowrap;vertical-align:baseline}@media(max-width:600px){.referral-dialog .referral-rate-highlight{font-size:var(--text-title)}}.video-workspace{min-height:100%;padding:clamp(30px,5vw,72px) clamp(18px,5vw,72px) 80px;overflow-y:auto;background:radial-gradient(circle at 90% 0%,#f5f5f5 0,transparent 38%),var(--canvas)}.video-workspace-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;max-width:1180px;margin:0 auto 28px}.video-workspace-header h1{margin:8px 0;color:#333;letter-spacing:-.045em;line-height:1}.video-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#333;font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:.14em}.video-refresh-button,.video-download-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid #e0e0e0;border-radius:9px;color:#333;background:#fff;font-size:var(--text-body);font-weight:var(--weight-medium);text-decoration:none;cursor:pointer}.video-refresh-button:hover,.video-download-button:hover{border-color:#b3b3b3;background:#f7f7f7}.video-refresh-button:disabled{opacity:.6;cursor:default}.video-workspace-grid{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.42fr);gap:20px;max-width:1180px;margin:0 auto}.video-create-panel,.video-result-panel{min-width:0;padding:22px;border:1px solid #e5e5e5;border-radius:16px;background:#fffc;box-shadow:0 12px 34px #0000000f}.video-panel-title{display:flex;align-items:center;gap:8px;margin-bottom:20px;color:#404040}.video-prompt-label{display:block;margin-bottom:9px;color:#737373;font-size:var(--text-sm);font-weight:var(--weight-semibold)}.video-create-panel textarea{display:block;width:100%;min-height:174px;resize:vertical;padding:13px 14px;border:1px solid #e0e0e0;border-radius:11px;outline:none;color:#333;background:#fcfcfc;font:inherit;font-size:var(--text-body);line-height:1.7;font-weight:var(--weight-regular)}.video-create-panel textarea:focus{border-color:#a3a3a3;box-shadow:0 0 0 3px #00000021}.video-prompt-meta{display:flex;justify-content:space-between;margin:8px 1px 18px;color:#a3a3a3;font-size:var(--text-sm)}.video-spec-list{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:end;gap:10px;margin-bottom:18px}.video-spec-list>div{display:flex;flex-direction:column;gap:5px;padding:10px 11px;border:1px solid #ebebeb;border-radius:9px;background:#fafafa}.video-spec-list span{color:#999;font-size:var(--text-sm)}.video-spec-list strong{color:#525252;font-size:var(--text-sm);font-weight:var(--weight-bold)}.video-format-picker{min-width:0;margin:0;padding:0;border:0}.video-format-picker legend{margin:0 0 6px;padding:0;color:#999;font-size:var(--text-sm)}.video-format-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.video-format-picker button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:52px;padding:9px 11px;border:1px solid #e5e5e5;border-radius:9px;color:#737373;background:#fafafa;cursor:pointer}.video-format-picker button:hover{border-color:#c2c2c2}.video-format-picker button.active{border-color:#999;color:#333;background:#f5f5f5;box-shadow:inset 0 0 0 1px #0000001f}.video-format-picker button strong{font-size:var(--text-body);font-weight:var(--weight-medium)}.video-format-picker button small{color:#999;font-size:var(--text-sm);white-space:nowrap}.video-format-picker button.active small{color:#737373}.video-submit-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;border:0;border-radius:10px;color:#fff;background:#333;font-size:var(--text-body);font-weight:var(--weight-medium);cursor:pointer}.video-submit-button:hover{background:#333}.video-submit-button:disabled{opacity:.6;cursor:default}.video-result-layout{display:grid;grid-template-columns:minmax(170px,.54fr) minmax(0,1.46fr);gap:15px;min-height:410px}.video-job-list{display:flex;flex-direction:column;gap:6px;max-height:540px;overflow-y:auto;padding-right:4px}.video-job-item{display:flex;align-items:flex-start;gap:9px;width:100%;padding:11px 10px;border:1px solid transparent;border-radius:10px;color:#666;background:transparent;text-align:left;cursor:pointer}.video-job-item:hover{background:#fafafa}.video-job-item.active{border-color:#d4d4d4;background:#f5f5f5}.video-job-item strong{display:-webkit-box;overflow:hidden;color:#525252;font-size:var(--text-sm);font-weight:var(--weight-semibold);line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.video-job-item small{display:block;margin-top:4px;color:#999;font-size:var(--text-sm)}.video-state-dot{flex:0 0 auto;width:8px;height:8px;margin-top:4px;border-radius:50%;background:#b3b3b3}.video-state-dot.state-succeeded{background:#333}.video-state-dot.state-failed,.video-state-dot.state-cancelled,.video-state-dot.state-abandoned{background:#c66f62}.video-state-dot.state-uncertain{background:#d29a4d}.video-state-dot.state-running,.video-state-dot.state-submitting,.video-state-dot.state-queued,.video-state-dot.state-waiting{box-shadow:0 0 0 3px #00000021;background:#999}.video-detail{min-width:0}.video-player-stage{display:flex;align-items:center;justify-content:center;width:100%;overflow:hidden;border-radius:11px;background:#171717}.video-player-stage.landscape{aspect-ratio:16 / 9}.video-player-stage.portrait{height:min(56vh,520px);min-height:340px}.video-player{display:block;width:100%;height:100%;background:#171717;object-fit:contain}.video-player-stage.portrait .video-player{width:auto;max-width:100%;aspect-ratio:9 / 16}.video-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:280px;border-radius:11px;color:gray;background:linear-gradient(145deg,#f5f5f5,#efefef);text-align:center}.video-placeholder strong{color:#525252;font-size:var(--text-content)}.video-placeholder span{max-width:250px;color:#999;font-size:var(--text-sm);line-height:1.6}.video-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.video-detail-heading>div{display:flex;align-items:baseline;gap:9px}.video-detail-heading strong{color:#525252;font-size:var(--text-content)}.video-detail-heading span{color:#a3a3a3;font-size:var(--text-sm)}.video-detail-prompt{margin:12px 0 0;color:#737373;font-size:var(--text-sm);line-height:1.65}.video-result-meta{margin-top:9px;color:#999;font-size:var(--text-sm)}.video-error{margin:0 0 12px;padding:10px 12px;border:1px solid #f0d7d2;border-radius:8px;color:#a84e43;background:#fff7f5;font-size:var(--text-sm);line-height:1.5}.video-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-height:380px;color:#a3a3a3;font-size:var(--text-sm);text-align:center}@media(max-width:900px){.video-workspace-grid{grid-template-columns:1fr}.video-result-layout{min-height:0}}@media(max-width:560px){.video-workspace{padding:78px 12px 30px}.video-workspace-header{display:block}.video-refresh-button{margin-top:17px}.video-create-panel,.video-result-panel{padding:16px}.video-spec-list{grid-template-columns:1fr}.video-format-picker button{min-height:56px;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px}.video-result-layout{grid-template-columns:1fr}.video-job-list{max-height:210px}.video-detail-heading{align-items:flex-start;flex-direction:column}.video-download-button{width:100%}}.video-mode-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:16px 0}.video-mode-tabs button{border:1px solid #e0e0e0;border-radius:8px;background:transparent;padding:9px 3px;color:#666;cursor:pointer}.video-mode-tabs button.active{color:#fff;background:#404040;border-color:#404040}.video-mode-tabs button:focus-visible,.video-material button:focus-visible{outline:2px solid #808080;outline-offset:2px}.video-upload-label{display:grid;gap:10px;font-size:var(--text-body);font-weight:var(--weight-medium)}.video-upload-label input{width:100%;font-size:var(--text-body);font-weight:var(--weight-regular)}.video-material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.video-material{min-width:0;display:grid;gap:5px}.video-material img,.video-material video{width:100%;height:105px;object-fit:contain;background:#efefef;border-radius:8px}.video-material span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-sm)}.video-material button{justify-self:start;background:transparent;border:0;color:#525252;font-size:var(--text-body);cursor:pointer;font-weight:var(--weight-medium)}.video-frame-descriptions label{display:grid;gap:7px;margin:12px 0;font-size:var(--text-meta)}.video-frame-descriptions textarea{resize:vertical;border:1px solid #e0e0e0;border-radius:8px;padding:10px;width:100%;background:transparent;color:inherit;font:inherit}.video-workspace{background:var(--canvas);color:var(--ink);padding:22px 20px 40px}.video-workspace-header{max-width:1800px;margin:0 auto 16px}.video-workspace-header h1{color:var(--ink);font-size:var(--text-display)}.video-workspace-grid{max-width:1800px;grid-template-columns:minmax(360px,.98fr) minmax(260px,.72fr) minmax(360px,.92fr) minmax(300px,.9fr);align-items:stretch;gap:14px;margin:0 auto}.video-create-panel,.video-shell-panel{border:1px solid var(--line);border-radius:28px;background:var(--panel);box-shadow:0 12px 30px #0000000f;padding:26px 28px}.video-panel-title{color:var(--ink);font-size:var(--text-title);font-weight:var(--weight-semibold)}.video-create-panel{min-width:0}.video-parameters-panel{display:flex;flex-direction:column;gap:10px}.video-parameter-current{margin:0;color:var(--muted);font-size:var(--text-lg)}.video-parameter-note{display:grid;gap:8px;border:1px solid var(--line);border-radius:16px;background:var(--accent-soft);padding:14px;color:var(--muted)}.video-parameter-note span,.video-parameters-panel>p{line-height:1.6}.video-parameters-panel h3{margin:14px 0 0;font-size:var(--text-lg)}.video-parameters-panel p{margin:0;color:var(--muted)}.video-parameter-summary{display:grid;gap:8px;margin-top:auto;border-radius:16px;background:var(--accent-soft);padding:15px;color:var(--muted)}.video-parameter-submit{width:100%;margin-top:12px}.video-submit-button{background:var(--accent);border-color:var(--accent)}.video-submit-button:hover{background:#333;border-color:#333;transform:translateY(-1px)}.video-result-panel{min-width:0}.video-preview-empty{min-height:310px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;margin-top:20px;border-radius:20px;background:#171717;color:#e0e0e0;text-align:center}.video-preview-empty strong{color:#f2f2f2}.video-history-panel{min-width:0}.video-history-count{margin-left:auto;float:right;color:var(--muted);font-size:var(--text-body);font-weight:var(--weight-medium)}.video-history-panel .video-job-list{max-height:720px;margin-top:18px}.video-history-panel .video-job-item{border-color:var(--line);background:var(--panel);padding:14px}.video-history-panel .video-job-item.active{border-color:var(--accent);box-shadow:0 3px 0 var(--accent)}.video-mode-tabs{gap:10px}.video-mode-tabs button{border-color:var(--line);border-radius:15px;color:var(--ink);font-size:var(--text-body);font-weight:var(--weight-medium);padding:13px 8px;background:var(--panel)}.video-mode-tabs button.active{background:var(--accent);border-color:var(--accent);box-shadow:0 10px 18px #00000029}.video-upload-label{border:2px dashed var(--line);border-radius:16px;padding:18px;color:var(--muted);background:var(--panel)}.video-material-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.video-material img,.video-material video{background:var(--accent-soft);border:1px solid var(--line)}.video-detail-prompt{color:var(--muted)}@media(max-width:1280px){.video-workspace-grid{grid-template-columns:minmax(300px,1fr) minmax(250px,.75fr) minmax(300px,1fr)}.video-history-panel{grid-column:1 / -1}.video-history-panel .video-job-list{display:grid;grid-template-columns:repeat(3,1fr);max-height:none}}@media(max-width:820px){.video-workspace-grid{grid-template-columns:1fr}.video-history-panel{grid-column:auto}.video-history-panel .video-job-list{display:flex}.video-create-panel,.video-shell-panel{padding:20px;border-radius:22px}}.video-studio .video-workspace-header{display:none}.video-studio .video-mode-tabs{grid-template-columns:repeat(3,minmax(0,1fr));margin:24px 0}.video-studio .video-create-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.video-studio .video-new-task{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:24px;background:var(--accent);color:#fff;padding:11px 15px;font-weight:var(--weight-bold);white-space:nowrap;cursor:pointer}.video-studio .video-prompt-label{font-size:var(--text-lg);color:var(--ink);margin:20px 0 12px}.video-studio .video-prompt-box{border:1px solid var(--line);border-radius:19px;overflow:hidden;background:var(--panel)}.video-prompt-tools{display:flex;align-items:center;gap:5px;padding:7px 9px}.video-prompt-tools>span{flex:1;text-align:center;color:var(--muted);font-size:var(--text-sm)}.video-prompt-tools button{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);background:var(--panel);border-radius:20px;padding:5px 8px;font-size:var(--text-body);color:var(--muted);cursor:pointer;font-weight:var(--weight-medium)}.video-materials h3{font-size:var(--text-lg);color:var(--ink);margin:24px 0 14px}.video-upload-slots{display:grid;gap:10px}.video-upload-slots.images{grid-template-columns:repeat(4,minmax(0,1fr));border:2px dashed var(--line);padding:12px;border-radius:20px}.video-upload-slots.paired{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.video-upload-slot{min-width:0;position:relative;border:2px dashed var(--line);border-radius:14px;background:var(--panel);aspect-ratio:1;overflow:hidden}.video-upload-slot label{position:relative;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;cursor:pointer;font-size:var(--text-sm);color:var(--muted);font-weight:var(--weight-semibold)}.video-upload-slot label input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.video-upload-slot:focus-within{outline:2px solid var(--accent);outline-offset:3px}.video-upload-plus{color:var(--accent);display:grid;place-items:center}.paired .video-upload-plus{background:var(--accent);border-radius:50%;width:44px;height:44px;color:#fff}.paired .video-upload-slot{min-height:175px}.paired .video-upload-slot label{font-size:var(--text-body)}.video-slot-preview{height:calc(100% - 22px)}.video-slot-preview img,.video-slot-preview video{width:100%;height:100%;object-fit:contain}.video-slot-name{display:block;font-size:var(--text-sm);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 5px}.video-slot-remove{position:absolute;right:3px;top:3px;padding:5px;border:1px solid var(--line);background:var(--canvas);border-radius:50%;cursor:pointer}.video-upload-hint{font-size:var(--text-sm);color:var(--muted);line-height:1.6;margin-top:9px}.video-studio .video-spec-list{display:block}.video-studio .video-duration-spec{display:none}.video-studio .video-format-picker button.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.video-prompt-dialog{width:min(700px,90vw);background:var(--canvas);border:1px solid var(--line);border-radius:22px;padding:25px;color:var(--ink)}.video-prompt-dialog::backdrop{background:#17171773}.video-prompt-dialog textarea{width:100%;min-height:300px;padding:16px;font:inherit;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.video-prompt-dialog form{text-align:right;margin-top:15px}.video-prompt-dialog button{border:0;background:var(--accent);color:#fff;padding:10px 22px;border-radius:18px;cursor:pointer}@media(min-width:1281px)and (max-width:1550px){.video-studio .video-workspace-grid{grid-template-columns:minmax(320px,1.1fr) minmax(220px,.75fr) minmax(260px,.9fr) minmax(220px,.8fr)}.video-studio .video-create-panel,.video-studio .video-shell-panel{padding:20px 16px}}.video-studio .video-parameter-summary{margin-top:18px}.video-studio .video-panel-title>svg{padding:9px;width:42px;height:42px;background:var(--accent-soft);border-radius:14px;color:var(--accent)}.video-studio .video-submit-button{white-space:normal;line-height:1.5;min-height:55px}.video-studio button:focus-visible,.video-studio a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.video-studio button:disabled{opacity:.5;cursor:not-allowed;transform:none}@media(max-width:1100px){.video-studio .video-workspace-grid{grid-template-columns:minmax(0,1fr)}.video-studio .video-history-panel{grid-column:auto}.video-studio .video-history-panel .video-job-list{display:flex}.video-studio .video-preview-empty{min-height:220px}}@media(max-width:560px){.video-studio{padding:74px 10px 28px}.video-studio .video-mode-tabs button{font-size:var(--text-body);padding:13px 4px;font-weight:var(--weight-medium)}.video-studio .video-panel-title{font-size:var(--text-lg)}}.video-studio .paired .video-upload-slot{aspect-ratio:auto;min-height:0;height:clamp(150px,12vw,215px)}.video-generation-view{display:grid;grid-template-columns:286px minmax(0,1fr);height:100%;min-width:0;overflow:hidden}.video-generation-view>.video-workspace{min-width:0;min-height:0;height:100%;container-type:inline-size}.video-records-panel .history-thumb video{width:56px;height:56px;object-fit:cover}.video-records-panel .history-item,.video-records-panel .history-item-main,.video-records-panel .history-item-main>*{user-select:none;-webkit-user-select:none}.video-generation-view .video-workspace-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.85fr) minmax(0,1fr)}@container (max-width: 850px){.video-generation-view .video-workspace-grid{grid-template-columns:minmax(0,1fr)}}@media(min-width:981px)and (max-width:1180px){.video-generation-view{grid-template-columns:254px minmax(0,1fr)}}@media(max-width:980px){.video-generation-view{grid-template-columns:minmax(0,1fr)}}.video-generation-view>.video-studio{padding:0}.video-generation-view .video-workspace-grid{display:flex;flex-direction:column;height:100%;max-width:none;gap:0}.video-studio .video-result-panel{flex:1;min-height:180px;overflow-y:auto;border:0;border-radius:0;background:transparent;box-shadow:none;padding:28px}.video-studio .video-result-panel>.video-panel-title{font-size:var(--text-lg);margin-bottom:8px}.video-studio .video-preview-empty{min-height:180px;max-width:760px;margin:20px auto;background:transparent;color:var(--muted)}.video-studio .video-preview-empty strong{color:var(--muted);font-size:var(--text-content);font-weight:var(--weight-medium)}.video-studio .video-player-stage{max-width:850px;margin:auto}.video-result-actions{display:flex;justify-content:flex-end;max-width:850px;margin:12px auto 0}.video-studio .video-player-stage.landscape{max-height:45vh}.video-studio .video-composer-dock{flex:0 0 auto;width:100%;padding:12px 24px 22px;background:transparent}.video-studio .video-composer .video-prompt-label{display:none}.video-studio .video-composer .video-prompt-box{border:0;border-radius:0}.video-composer #video-prompt{display:block;width:100%;height:88px;min-height:88px;max-height:220px;resize:none;outline:none;border:0;background:transparent;border-radius:0}.video-composer .video-materials h3{margin:0 0 8px;font-size:var(--text-sm);color:var(--muted);font-weight:var(--weight-semibold)}.video-composer .video-upload-slots.images,.video-composer .video-upload-slots.paired{display:flex;flex-wrap:wrap;gap:8px;border:0;border-radius:0;padding:0}.video-studio .video-composer .video-upload-slot{width:62px;height:62px;min-height:0;flex-shrink:0;aspect-ratio:auto;border-width:1px;border-radius:8px}.video-composer .video-upload-slot label{font-size:var(--text-sm);gap:3px}.video-composer .paired .video-upload-plus{background:transparent;color:var(--accent);height:22px;width:22px}.video-composer .video-upload-plus svg{height:19px;width:19px}.video-composer .video-upload-hint{margin:5px 0 0;font-size:var(--text-sm)}.video-composer .video-prompt-tools{padding:2px 0 7px}.video-composer .video-prompt-tools button{border:0;border-radius:6px;color:var(--muted)}.video-composer .video-prompt-tools>span{text-align:right;padding-right:10px}.video-composer-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.video-composer-controls label{display:inline-flex;align-items:center;gap:6px}.video-composer-controls select{max-width:100%;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:2px}.video-composer-controls .control-spacer{flex:1}.video-composer .video-frame-descriptions{max-height:180px;overflow-y:auto;font-size:var(--text-sm)}.video-composer .video-frame-descriptions textarea{min-height:50px}@media(max-width:720px){.video-studio .video-result-panel{padding:64px 16px 12px}.video-studio .video-composer-dock{padding:8px 10px 16px}.video-composer-controls{gap:6px}.video-composer-controls .control-chip{font-size:var(--text-body);font-weight:var(--weight-medium)}.video-composer-controls .video-ratio-control{flex-wrap:wrap}.video-composer-controls .generation-cost{font-size:var(--text-sm)}}.generation-timeline-workspace>.unified-video-composer{display:block;width:100%;min-width:0;min-height:0;height:auto;overflow:visible;background:transparent}.unified-video-composer .video-composer{width:min(var(--timeline-width, 1120px),100%);max-width:none;margin:0 auto}.video-composer.workbench-composer:has(#video-prompt:focus){border-color:#999;box-shadow:0 1px 2px #00000005,0 0 0 3px #00000029}.video-parameter-wrap{position:relative}.video-parameter-popover.settings-popover{width:min(420px,calc(100vw - 44px));max-height:min(460px,70dvh);overflow-y:auto}.video-parameter-popover .minimax-quality{grid-template-columns:repeat(2,minmax(0,1fr))}.video-parameter-popover .ratio-grid small{font-size:var(--text-sm);color:var(--muted)}.video-fixed-option{display:block;width:100%;text-align:center;padding:10px;border-radius:10px;background:var(--panel);font-size:var(--text-body);color:var(--ink);font-weight:var(--weight-medium)}@media(max-width:720px){.video-parameter-popover.settings-popover{position:fixed;left:16px;right:16px;bottom:90px;width:auto}}.video-mode-popover.settings-popover{left:0;right:auto;width:min(320px,calc(100vw - 44px));max-height:60dvh;overflow-y:auto}.video-model-icon{display:block;flex:none}.video-mode-popover.model-popover>button{display:flex;align-items:center;gap:10px;width:100%;min-height:58px;padding:8px 10px}.primary-model-chip .video-model-icon{flex:none}.video-mode-popover>button>span{flex:1;text-align:left}.workbench-shell .video-mode-popover.model-popover>button strong{display:block;font-size:15px;font-weight:var(--weight-semibold);line-height:1.3}.workbench-shell .video-mode-popover.model-popover>button small{display:block;justify-self:start;margin:2px 0 0;overflow:visible;color:#999;font-size:var(--text-sm);font-weight:var(--weight-regular);line-height:1.4;text-overflow:clip;white-space:normal}@media(max-width:720px){.video-mode-popover.settings-popover{position:fixed;left:16px;right:16px;bottom:90px;width:auto}}.video-composer .video-prompt-box{position:relative;overflow:visible}.video-composer .video-prompt-box.is-file-dragging{outline:2px solid #333333;outline-offset:2px;background:#f7f7f7}.video-composer .video-prompt-file-drop-overlay{top:0;right:0;bottom:0;left:0;z-index:46;border-radius:12px}.video-mention-menu.mention-menu{left:0;bottom:calc(100% + 8px);top:auto}.video-mention-menu .video-mention-thumbnail{display:block;width:38px;height:38px;overflow:hidden;border-radius:5px}@media(max-width:720px){.video-mention-menu.mention-menu{position:fixed;left:16px;right:16px;bottom:100px;width:auto;max-height:calc(100dvh - 180px);overflow-y:auto}}.video-composer-input-row>.video-prompt-box{min-width:0}.video-reference-zone .reference-stack>.video-stack-media{position:absolute;top:5px;left:4px;width:50px;height:68px;border-radius:4px;overflow:hidden;transform:rotate(-8deg)}.video-reference-zone .reference-stack>.video-stack-media:nth-child(2){top:3px;left:10px;transform:rotate(-2deg)}.video-reference-zone .reference-stack>.video-stack-media:nth-child(3){left:15px;transform:rotate(4deg)}.video-reference-zone .reference-stack .video-stack-media>:is(img,video,.video-audio-thumb){position:static;width:100%;height:100%;object-fit:cover;transform:none}.video-audio-thumb{display:grid;place-items:center;width:100%;height:100%;color:#525252;background:#f3f3f3;border-radius:inherit}.video-reference-zone .reference-hover-item>video{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}.video-reference-zone .reference-image-preview>video{display:block;width:100%;max-height:260px;border-radius:8px;background:#efefef}.video-reference-zone :is(button,.reference-hover-item):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.video-reference-zone .reference-hover-item:focus-visible>button{opacity:1;pointer-events:auto;transform:scale(1)}.video-composer-input-row.has-frame-pair{grid-template-columns:166px minmax(0,1fr)}.video-frame-pair{position:relative;display:flex;justify-content:space-between;align-items:flex-start;width:156px;min-height:88px;padding:1px 4px 0}.video-frame-card{position:relative;width:58px;height:78px;flex:0 0 auto;border:1px solid #e5e5e5;border-radius:3px;background:#f5f5f5;color:gray;transform:rotate(-8deg);transition:transform .24s cubic-bezier(.2,.8,.2,1),background .16s ease,box-shadow .18s ease}.video-frame-card:nth-child(2){transform:rotate(5deg)}.video-frame-card:hover,.video-frame-card:focus-within{transform:translateY(-3px) rotate(0);background:#f2f2f2}.video-frame-card:focus-within{outline:2px solid var(--accent);outline-offset:3px}.video-frame-upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;height:100%;cursor:pointer}.video-frame-upload>span{font-size:var(--text-xs)}.video-frame-upload>input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.video-frame-upload>input:disabled{cursor:wait}.video-frame-upload>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:2px}.has-frame .video-frame-upload>span{position:absolute;bottom:4px;border-radius:3px;padding:1px 5px;color:#fff;background:#333333b3;pointer-events:none}.video-frame-remove{position:absolute;top:-9px;right:-9px;display:grid;place-items:center;width:22px;height:22px;padding:0;border-radius:50%;color:#fff;background:#333;opacity:0;transform:scale(.86);transition:opacity .12s ease,transform .12s ease}.video-frame-card:hover .video-frame-remove,.video-frame-card:focus-within .video-frame-remove{opacity:1;transform:scale(1)}.video-frame-swap{position:absolute;top:24px;left:64px;display:grid;place-items:center;width:28px;height:28px;padding:0;color:#999;background:transparent;transition:color .16s ease,transform .24s cubic-bezier(.2,.8,.2,1)}.video-frame-swap:not(:disabled):hover{color:var(--accent);transform:rotate(180deg)}.video-frame-swap:disabled{opacity:.6}.video-frame-processing{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;justify-content:center;align-items:center;gap:6px;border-radius:8px;background:#fafafaf0;color:#333;font-size:var(--text-sm)}@media(max-width:760px){.video-reference-zone .reference-stack>.video-stack-media{width:43px;height:58px}.video-reference-zone .reference-stack>.video-stack-media:nth-child(2){left:7px}.video-reference-zone .reference-stack>.video-stack-media:nth-child(3){left:9px}.video-composer-input-row.has-frame-pair{grid-template-columns:124px minmax(0,1fr)}.video-frame-pair{width:120px;min-height:76px;padding-inline:2px}.video-frame-card{width:44px;height:64px}.video-frame-swap{left:46px;top:19px}}@media(prefers-reduced-motion:reduce){.video-reference-zone *,.video-reference-zone *:before,.video-frame-pair *{animation:none!important;transition:none!important}}.video-composer:has(.settings-popover,.ai-optimize-goal-menu,.video-mention-menu) .video-reference-zone{z-index:0}.video-reference-media{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:inherit;background:#efefef}.video-reference-media>canvas{display:block;width:100%;height:100%;object-fit:cover}.video-reference-media-status{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--muted)}.video-reference-media-status small{font-size:var(--text-xs);text-align:center}.video-reference-zone .reference-image-preview>.video-reference-media{display:block;width:100%;height:auto;min-height:120px;margin:0;border-radius:8px}.video-reference-zone .reference-image-preview>.video-reference-media>canvas{height:auto;max-height:260px;object-fit:contain}.video-reference-zone .reference-image-preview .video-reference-media-status small{white-space:normal}.video-reference-media.is-error>canvas{visibility:hidden}.video-optimize-tools{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.video-studio .video-result-panel.is-empty{display:flex;flex-direction:column}.video-studio .video-result-panel.is-generating{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}.video-studio .video-result-panel.is-generating>.generation-progress{flex-shrink:0}.video-studio .video-generating-toolbar{width:min(1120px,100%);margin-bottom:12px}.video-studio .video-result-panel.is-generating>.generation-progress{align-self:center;margin-top:auto;margin-bottom:auto}.video-studio .video-result-panel.is-empty>.video-preview-empty{flex:1;width:100%;margin:0 auto}.video-studio .video-result-panel.is-empty>:is(.video-panel-title,.video-result-meta,.video-error){flex-shrink:0}.video-studio .video-generation-failed{width:min(1024px,100%);min-height:410px;margin:auto}.video-generation-failed .video-failed-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;margin-top:15px}.video-generation-failed .video-failed-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;margin:0}.video-generation-failed .video-failed-actions .video-failed-edit-button{color:#fff;background:#171717}.video-generation-failed .video-failed-actions .video-failed-edit-button:hover:not(:disabled){background:#333}.video-studio .video-result-panel.has-result{display:flex;flex-direction:column}.video-result-toolbar{flex-shrink:0;align-items:flex-start}.video-result-toolbar .result-title{width:100%}.video-download-header{flex:0 0 auto;margin-top:4px}.video-result-content{display:flex;align-items:center;justify-content:center;flex:1 0 auto;width:100%}.video-result-content>.video-detail{width:100%}.video-repeat-actions{max-width:850px;margin:14px auto 0}@media(max-width:720px){.video-result-toolbar{gap:10px}.video-download-header{font-size:var(--text-sm);padding:0 9px}}.composer-submit-row{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}.model-label-compact{display:none}.model-selection-popover:not(.video-mode-popover)>button{grid-template-columns:18px minmax(0,1fr) 18px}.model-selection-popover:not(.video-mode-popover)>button strong{font-size:15px;font-weight:var(--weight-semibold)}.image-model-icon{display:block;flex:none}.model-selection-popover>button>svg:last-child,.composer-menu-check{color:var(--accent);flex:none}@media(min-width:1100px){.video-composer-controls{flex-wrap:nowrap;gap:6px}.video-composer-controls>:is(.popover-wrap,.video-optimize-tools,.generation-cost,.composer-submit-row){min-width:0;flex:0 1 auto}.video-composer-controls .control-spacer{flex:1 1 12px;min-width:8px}.video-composer-controls .composer-submit-row{flex:0 0 auto;margin-left:0}.video-composer-controls>.icon-control{flex:0 0 auto}.video-composer-controls :is(.mode-chip,.control-chip){min-width:0}.video-composer-controls :is(.mode-chip,.control-chip)>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-composer-controls .video-ratio-control>span{flex:0 1 auto}.video-composer-controls .generation-limit-trigger{white-space:nowrap}}@media(max-width:720px){.workbench-composer .composer-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}.workbench-composer .primary-model-chip{width:auto;min-width:0;max-width:min(200px,100%);flex:0 1 auto;padding:0 10px;gap:6px}.workbench-composer .primary-model-chip>span{display:inline;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workbench-composer .primary-model-chip>.model-label-full{display:none}.workbench-composer .primary-model-chip>svg:last-child{display:block;flex-shrink:0}.workbench-composer .composer-submit-row{flex:0 0 100%;width:100%;margin-left:0;justify-content:flex-end}.workbench-composer .composer-submit-row .generation-limit-wrap{position:relative;inset:auto;z-index:auto}.workbench-composer .composer-submit-row .generation-limit-trigger{min-height:32px;height:32px;padding:0 8px;font-size:var(--text-sm)}.workbench-composer .generation-cost{min-width:0}.workbench-composer .composer-submit-row .send-control{flex:0 0 44px;margin-left:0}.workbench-composer .control-spacer,.workbench-composer .agent-tools-spacer{display:none}.workbench-composer .prompt-field textarea{padding-right:6px}.workbench-composer .prompt-field.has-ai-undo textarea{padding-right:72px}.workbench-composer .image-parameter-wrap{flex:1 0 100%;min-width:0;order:1}.workbench-composer .image-parameter-wrap .control-chip{width:100%}.workbench-composer .prompt-length-count{align-self:center;order:2}.workbench-composer .composer-submit-row{order:3}}@media(max-width:720px){.agent-composer-tools .agent-menu-wrap{order:3}.agent-composer-tools .composer-submit-row{flex:1 1 44px;width:auto}}.composer-popover-motion.is-opening,.composer-popover-motion.is-closing{transform-origin:left bottom}.ai-optimize-goal-menu.composer-popover-motion.is-opening,.ai-optimize-goal-menu.composer-popover-motion.is-closing{transform-origin:center bottom}.batch-ai-goal-menu.composer-popover-motion.is-opening,.batch-ai-goal-menu.composer-popover-motion.is-closing{transform-origin:right bottom}.creation-home .mention-menu.composer-popover-motion.is-opening,.creation-home .mention-menu.composer-popover-motion.is-closing{transform-origin:left top}@media(min-width:721px){.creation-home .composer-popover-motion.is-opening,.creation-home .composer-popover-motion.is-closing{transform-origin:left top}.creation-home .ai-optimize-goal-menu.composer-popover-motion.is-opening,.creation-home .ai-optimize-goal-menu.composer-popover-motion.is-closing{transform-origin:center top}}@media(max-width:720px){:is(.video-parameter-popover,.video-mode-popover,.video-mention-menu,.agent-generation-popover).composer-popover-motion.is-opening,:is(.video-parameter-popover,.video-mode-popover,.video-mention-menu,.agent-generation-popover).composer-popover-motion.is-closing{transform-origin:center bottom}}.composer-popover-motion.is-opening{animation:composer-popover-expand .2s cubic-bezier(.2,.8,.2,1) both}.composer-popover-motion.is-closing{animation:composer-popover-collapse .2s cubic-bezier(.2,.8,.2,1) both;pointer-events:none}.composer-popover-motion.is-measuring{animation:none;opacity:0}@keyframes composer-popover-expand{0%{opacity:0;scale:1 .12}to{opacity:1;scale:1 1}}@keyframes composer-popover-collapse{0%{opacity:1;scale:1 1}to{opacity:0;scale:1 .12}}@media(prefers-reduced-motion:reduce){.composer-popover-motion.is-opening,.composer-popover-motion.is-closing{animation:none}}[data-theme=light] .mcp-guide-workspace{background:#f7f8fa;color:#171717}[data-theme=light] .mcp-guide-brand{color:#171717}[data-theme=light] .mcp-guide-tabs{border-color:#e2e5e8;background:#e9ebee}[data-theme=light] .mcp-guide-tabs button{color:#707780}[data-theme=light] .mcp-guide-tabs button:hover{color:#24272b;background:#f5f6f7}[data-theme=light] .mcp-guide-tabs button.active{color:#17191b;background:#fff}[data-theme=light] .mcp-guide-help{color:#69727b}[data-theme=light] .mcp-guide-help:hover{color:#171717}[data-theme=light] .mcp-guide-notes{color:#3b434a}[data-theme=light] .mcp-guide-notes a{color:#111}[data-theme=light] .mcp-guide-notes a:hover{color:#000}[data-theme=light] .mcp-guide-intro:before{background:radial-gradient(ellipse,rgba(53,183,94,.12),transparent 68%)}[data-theme=light] .mcp-guide-kicker{color:#77818b}[data-theme=light] .mcp-guide-intro h1{color:#17191b}[data-theme=light] .mcp-guide-intro p{color:#69727b}[data-theme=light] .mcp-install-card{border-color:#e0e4e7;background:linear-gradient(135deg,#fff,#f5f7f8);box-shadow:0 20px 55px #2836411a}[data-theme=light] .mcp-install-card:before{background:radial-gradient(circle at 55% 100%,rgba(52,176,90,.07),transparent 52%)}[data-theme=light] .mcp-prompt-row{border-color:#e0e4e7;background:#f2f4f5}[data-theme=light] .mcp-prompt-text{color:#1b2127}[data-theme=light] .mcp-prompt-copy{color:#fff;background:#0b0b0b}[data-theme=light] .mcp-prompt-copy:hover{filter:none;background:#2a2d30}[data-theme=light] .mcp-install-meta{color:#747e86}[data-theme=light] .mcp-section-title>svg{color:#929ba3}[data-theme=light] .mcp-section-title h2{color:#17191b}[data-theme=light] .mcp-section-title p{color:#69727b}[data-theme=light] .mcp-step-grid{background:transparent}[data-theme=light] .mcp-step-card{border-color:#e0e4e7;background:#fff;box-shadow:0 6px 22px #2736400b}[data-theme=light] .mcp-step-number{color:#8b949b}[data-theme=light] .mcp-step-icon{border-color:#bee5ca;color:#2d9d55;background:#effaf2}[data-theme=light] .mcp-step-card h3{color:#30383f}[data-theme=light] .mcp-step-card p{color:#737d85}[data-theme=light] .mcp-step-card>svg{color:#a7b0b7}[data-theme=light] .mcp-tools-grid{border-color:#e0e4e7;background:#e0e4e7}[data-theme=light] .mcp-tools-grid>div{background:#fff}[data-theme=light] .mcp-tools-grid strong{color:#30383f}[data-theme=light] .mcp-tools-grid small{color:#737d85}[data-theme=light] .mcp-tool-icon.image{color:#527dcc;background:#eef4ff}[data-theme=light] .mcp-tool-icon.video{color:#9b5bc5;background:#f8efff}[data-theme=light] .mcp-tool-icon.library{color:#2d9d55;background:#effaf2}.asset-library-text-card{display:flex;flex-direction:column;gap:12px;padding:38px 20px 20px;width:100%;height:100%;text-align:left;overflow:hidden;white-space:pre-wrap}.asset-library-text-card>span{display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}.asset-library-title{display:block;margin:8px 10px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.asset-text-editor,.asset-text-preview,.asset-audio-preview{width:min(720px,90vw);max-height:85vh;overflow:auto;padding:24px;background:var(--panel,#202020);color:var(--ink,#eee);border-radius:12px}.asset-text-editor{display:flex;flex-direction:column;gap:16px}.asset-text-editor input,.asset-text-editor textarea{background:transparent;color:inherit;border:1px solid #8886;padding:12px;border-radius:6px}.asset-text-editor textarea{min-height:280px;resize:vertical}.asset-text-editor>div{display:flex;justify-content:flex-end;gap:12px}.asset-text-editor button{padding:8px 16px}.asset-text-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6}:root,[data-theme=light]{color-scheme:light;--canvas: #f7f7f7;--panel: #ffffff;--soft: #f2f2f2;--line: #e5e5e5;--ink: #171717;--muted: #666666;--text-muted: #666666;--focus-ring: #0369a1;--surface-raised: #ffffff;--surface-hover: #f5f5f5;--surface-selected: #f0f0f0;--shadow-color: rgb(0 0 0 / 12%)}[data-theme=dark]{color-scheme:dark;--canvas: #111315;--panel: #191c20;--soft: #22272d;--line: #30363d;--ink: #f2f4f7;--muted: #aab3bd;--text-muted: #aab3bd;--focus-ring: #38bdf8;--surface-raised: #20252b;--surface-hover: #2a3037;--surface-selected: #303740;--shadow-color: rgb(0 0 0 / 42%);--accent: #0878b5;--accent-hover: #075f8e;--accent-active: #06496d;--accent-sky: #38bdf8;--accent-soft: #26333d;--accent-tint: #102c3b;--accent-line: #2798cf}html,body,#root{background:var(--canvas);color:var(--ink)}body,button,input,textarea,select{color-scheme:inherit}.theme-picker{position:relative}.theme-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--panel);font-size:var(--text-sm);font-weight:var(--weight-medium)}.theme-trigger:hover{background:var(--surface-hover)}.theme-popover{position:absolute;z-index:40;top:calc(100% + 8px);right:0;min-width:132px;padding:5px;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:0 14px 34px var(--shadow-color)}.theme-options{display:grid;gap:2px}.theme-options button{display:flex;align-items:center;gap:8px;width:100%;min-height:34px;padding:0 9px;border-radius:7px;color:var(--muted);background:transparent;font-size:var(--text-sm);text-align:left}.theme-options button:hover,.theme-options button[aria-pressed=true]{color:var(--ink);background:var(--surface-selected)}.theme-options button[aria-pressed=true]{font-weight:var(--weight-semibold)}.theme-picker-inline{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:8px 9px;border-bottom:1px solid var(--line)}.theme-label{color:var(--muted);font-size:var(--text-body)}.theme-picker-inline .theme-options{display:flex;gap:2px}.theme-picker-inline .theme-options button{justify-content:center;width:32px;padding:0}.theme-picker-inline .theme-options button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.guest-account-actions{display:flex;align-items:center;gap:8px;pointer-events:auto}.guest-account-actions .guest-login-button{pointer-events:auto}.admin-theme-control{position:fixed;z-index:50;top:14px;right:22px}.admin-theme-control .theme-trigger{background:var(--panel)}[data-theme=dark] .workbench-shell,[data-theme=dark] .auth-shell,[data-theme=dark] .legal-page,[data-theme=dark] .admin-shell,[data-theme=dark] .admin-access-shell{--ink: #f2f4f7;--muted: #aab3bd;--text-muted: #aab3bd;--line: #30363d;--panel: #191c20;--canvas: #111315;--soft: #22272d;--accent-soft: #26333d;--accent-tint: #102c3b;--accent-line: #2798cf}[data-theme=dark] .admin-shell,[data-theme=dark] .admin-access-shell{--admin-ink: #f2f4f7;--admin-muted: #aab3bd;--admin-line: #30363d;--admin-soft: #22272d;--admin-accent: #e7edf2;--admin-accent-dark: #f2f4f7;--admin-sidebar: #191c20;--admin-danger: #f1a5a5;--admin-warning: #e5b86c;background:var(--canvas);color:var(--ink)}[data-theme=dark] .admin-shell,[data-theme=dark] .admin-main,[data-theme=dark] .admin-content{background:var(--canvas);color:var(--ink)}[data-theme=dark] .admin-sidebar{color:var(--ink);background:var(--panel);border-color:var(--line)}[data-theme=dark] .admin-sidebar nav button,[data-theme=dark] .admin-sidebar-footer>a,[data-theme=dark] .admin-sidebar-footer>button{color:var(--muted)}[data-theme=dark] .admin-sidebar nav button:hover,[data-theme=dark] .admin-sidebar nav button.active,[data-theme=dark] .admin-sidebar-footer>a:hover,[data-theme=dark] .admin-sidebar-footer>button:hover{color:var(--ink);background:var(--surface-hover)}[data-theme=dark] .admin-panel,[data-theme=dark] .admin-metric-grid button,[data-theme=dark] .admin-logs-metrics article,[data-theme=dark] .admin-node-metrics article,[data-theme=dark] .admin-node-card,[data-theme=dark] .admin-dialog,[data-theme=dark] .admin-login-card,[data-theme=dark] .admin-denied-card{color:var(--ink);background:var(--panel);border-color:var(--line)}[data-theme=dark] :is(.admin-panel-heading,.admin-toolbar,.admin-pagination,.admin-node-card>footer,.admin-logs-account-column-heading,.admin-logs-account-context,.admin-logs-account-explorer-table th,.admin-node-endpoint,.admin-node-card dl,.admin-node-advanced,.admin-switch-row,.admin-task-detail section,.admin-json-section){color:var(--ink);border-color:var(--line);background:var(--soft)}[data-theme=dark] :is(.admin-secondary-button,.admin-logs-range,.admin-node-observe-button,.admin-row-actions button,.admin-inline-icon,.admin-icon-button,.admin-pagination button){color:var(--ink);border-color:var(--line);background:var(--panel)}[data-theme=dark] :is(.admin-secondary-button,.admin-row-actions button,.admin-inline-icon,.admin-icon-button,.admin-pagination button):hover:not(:disabled){color:var(--ink);border-color:#46515c;background:var(--surface-hover)}[data-theme=dark] :is(.admin-toolbar input,.admin-toolbar select,.admin-dialog-form input,.admin-dialog-form select,.admin-dialog-form textarea,.admin-settings-save textarea,.admin-login-card input,.admin-logs-range){color:var(--ink);border-color:var(--line);background:var(--panel)}[data-theme=dark] .admin-logo-field{fill:#f2f4f7}[data-theme=dark] .admin-logo-shield{fill:#191c20}[data-theme=dark] .admin-logo-shield-line{stroke:#f2f4f7}[data-theme=dark] .workbench-shell :is(.api-contact-dialog,.api-icon-button,.workbench-composer,.primary-model-chip,.control-chip,.icon-control,.generation-limit-tooltip,.batch-uniform-panel,.batch-select-button,.batch-clear-button,.batch-task-card){color:var(--ink);border-color:var(--line);background:var(--panel)}[data-theme=dark] .workbench-shell .creation-type-picker{color:#d7d7d7!important;border-color:transparent!important;background:#2d2d2d!important}[data-theme=dark] .workbench-shell .creation-type-picker:hover,[data-theme=dark] .workbench-shell .creation-type-picker.active{color:#eee!important;border-color:transparent!important;background:#353535!important}[data-theme=dark] .workbench-shell .creation-type-picker>svg:first-child{color:var(--accent-sky)!important}[data-theme=dark] .workbench-shell :is(.api-contact-dialog,.generation-limit-tooltip)::backdrop{background:#00000085}[data-theme=dark] .workbench-shell :is(.batch-task-card,.batch-uniform-panel){box-shadow:0 8px 24px #00000038}[data-theme=dark] .workbench-shell :is(.batch-select-button,.batch-clear-button,.icon-control,.api-icon-button):hover:not(:disabled){background:var(--surface-hover)}[data-theme=dark] .legal-shell,[data-theme=dark] .legal-topbar,[data-theme=dark] .legal-document{color:var(--ink);background:var(--canvas);border-color:var(--line)}[data-theme=dark] .legal-document{background:var(--panel);box-shadow:0 14px 34px var(--shadow-color)}[data-theme=dark] .legal-topbar{background:#111111f0}[data-theme=dark] .legal-brand,[data-theme=dark] .legal-brand small,[data-theme=dark] .legal-back{color:#bdbdbd}[data-theme=dark] .legal-brand:hover,[data-theme=dark] .legal-back:hover{color:#f4f4f4}[data-theme=dark] .legal-document-icon{color:#f4f4f4;background:#2d2d2d}[data-theme=dark] .legal-document-heading p{color:#a3a3a3}[data-theme=dark] .legal-document-heading h1{color:#f4f4f4}[data-theme=dark] .legal-meta{color:#bdbdbd;background:#242424;border-color:#2d2d2d}[data-theme=dark] .legal-lead{color:#bdbdbd;border-color:#2d2d2d}[data-theme=dark] .legal-sections h2{color:#f4f4f4}[data-theme=dark] .legal-sections :is(p,li){color:#bdbdbd}[data-theme=dark] .legal-document-footer{border-color:#2d2d2d}[data-theme=dark] .legal-document-footer>div{color:#a3a3a3}[data-theme=dark] .legal-document-footer a{color:#f4f4f4;background:#242424;border-color:#3a3a3a}[data-theme=dark] .legal-document-footer a:hover{color:#fff;background:#303030;border-color:#4a4a4a}[data-theme=dark] .brand-wordmark{filter:brightness(0) invert(1)}[data-theme=dark] .result-canvas.empty h2{color:var(--ink)}[data-theme=dark] .result-canvas.empty p{color:var(--muted)}[data-theme=dark] .rotating-text-tone-0{background:#7c3aed}[data-theme=dark]{--canvas: #111111;--panel: #1b1b1b;--soft: #242424;--line: #2d2d2d;--ink: #f4f4f4;--muted: #8d8d8d;--text-muted: #8d8d8d;--surface-raised: #202020;--surface-hover: #292929;--surface-selected: #303030;--shadow-color: rgb(0 0 0 / 46%)}[data-theme=dark] .workbench-shell,[data-theme=dark] .auth-shell,[data-theme=dark] .legal-shell,[data-theme=dark] .admin-shell,[data-theme=dark] .admin-access-shell{--canvas: #111111;--panel: #1b1b1b;--soft: #242424;--line: #2d2d2d;--ink: #f4f4f4;--muted: #8d8d8d;--text-muted: #8d8d8d;--surface-raised: #202020;--surface-hover: #292929;--surface-selected: #303030}[data-theme=dark] .workbench-shell .workspace-sidebar{background:#181818!important;border-color:#202020!important}[data-theme=dark] .workbench-shell .workspace-menu-item:not(.active){color:#858585!important;background:transparent!important}[data-theme=dark] .workbench-shell .workspace-menu-item.active{color:#f4f4f4!important;background:#2d2d2d!important}[data-theme=dark] .workbench-shell .workspace-menu-item:hover:not(.active){color:#d1d1d1!important;background:#202020!important}[data-theme=dark] .workbench-shell :is(.sidebar-history-item.active,.history-item.active){color:#f4f4f4!important;background:#2d2d2d!important}[data-theme=dark] .workbench-shell :is(.sidebar-history-item:hover,.history-item:hover){color:#ededed!important;background:#232323!important}[data-theme=dark] .workbench-shell .sidebar-history-empty,[data-theme=dark] .workbench-shell .sidebar-history-more{color:#858585!important}[data-theme=dark] .workbench-shell .sidebar-history-more:hover{color:#dedede!important}[data-theme=dark] .workbench-shell :is(.workbench-composer,.primary-model-chip,.control-chip,.icon-control,.account-tools,.account-credit-action,.account-support-action,.result-repeat-actions button,.agent-reply-menu>summary,.agent-reply-menu-items a,.feedback-trigger){color:#ededed!important;border-color:#2d2d2d!important;background:#1d1d1d!important}[data-theme=dark] .workbench-shell :is(.result-repeat-actions button:hover:not(:disabled),.agent-reply-menu>summary:hover,.agent-reply-menu-items a:hover,.feedback-trigger:hover,.account-support-action:hover){color:#fff!important;background:#292929!important}[data-theme=dark] .workbench-shell :is(.result-title h2,.timeline-task .result-title h3){color:#f4f4f4!important}[data-theme=dark] .workbench-shell :is(.result-title p,.result-completed-time,.timeline-task-meta>p,.timeline-task-meta>p span,.generation-cost,.agent-result-status,.agent-result-info){color:#8d8d8d!important}[data-theme=dark] .workbench-shell .status-pill{color:#d5d5d5!important;background:#292929!important}[data-theme=dark] .workbench-shell .result-repeat-actions .result-regenerate-button{color:#fff!important;border-color:#303030!important;background:#242424!important}[data-theme=dark] .workbench-shell .result-repeat-actions .result-regenerate-button:hover:not(:disabled){background:#303030!important}[data-theme=dark] .workbench-shell .send-control:disabled{color:#a9a9a9!important;border-color:#353535!important;background:#353535!important}[data-theme=dark] .workbench-shell .send-control:disabled svg{color:#bdbdbd!important}[data-theme=dark] .workbench-shell .feedback-trigger{color:#d7d7d7!important;background:#242424!important}[data-theme=dark] .workbench-shell :is(.empty-canvas-mark span:first-child,.empty-canvas-mark span:last-child){border-color:#343434;background:#202020}[data-theme=dark] .workbench-shell :is(.prompt-field textarea,.batch-prompt-field textarea,#video-prompt){color:#f4f4f4!important;caret-color:#3af}[data-theme=dark] .workbench-shell :is(.prompt-field textarea,.batch-prompt-field textarea,#video-prompt)::placeholder{color:#858585!important}[data-theme=dark] .workbench-shell .workbench-composer :is(.prompt-field textarea,.video-prompt-box){background-color:#1d1d1d!important}[data-theme=dark] .workbench-shell :is(.reference-upload-button,.reference-upload-card,.reference-quick-add,.reference-hover-add){color:#a9a9a9!important;border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell :is(.reference-upload-card,.reference-quick-add){background:transparent!important}[data-theme=dark] .workbench-shell :is(.mention-menu,.settings-popover,.model-popover,.creation-type-popover,.parameter-popover,.agent-generation-popover,.agent-execution-menu,.mention-token-preview){color:#f1f1f1!important;border-color:#3a3a3a!important;background:#242424!important;box-shadow:0 18px 42px #0000007a!important}[data-theme=dark] .workbench-shell :is(.popover-title,.settings-group>label,.mention-section-label,.mention-asset-header>small,.agent-generation-label,.agent-generation-auto,.agent-generation-unavailable){color:#9a9a9a!important}[data-theme=dark] .workbench-shell :is(.mention-menu button,.model-popover>button,.creation-type-popover>button,.agent-generation-tabs button,.agent-generation-ratios button,.agent-execution-menu>button,.mention-source-actions button,.mention-reference-list>button){color:#eee!important;background:transparent!important;border-color:transparent!important}[data-theme=dark] .workbench-shell :is(.mention-menu button:hover,.mention-menu button.active,.model-popover>button:hover,.model-popover>button.active,.creation-type-popover>button:hover,.creation-type-popover>button.active,.agent-generation-tabs button.active,.agent-generation-ratios button.active,.agent-execution-menu>button:hover,.agent-execution-menu>button:focus-visible,.agent-execution-menu>button[aria-checked=true],.mention-source-actions button:hover,.mention-reference-list>button:hover){color:#fff!important;background:#303030!important;border-color:#3f3f3f!important}[data-theme=dark] .workbench-shell :is(.mention-menu strong,.model-popover strong,.creation-type-popover strong,.agent-generation-tabs button,.agent-generation-ratios button,.agent-execution-menu strong){color:#eee!important}[data-theme=dark] .workbench-shell :is(.mention-menu small,.model-popover small,.creation-type-popover small,.agent-execution-menu small){color:#9a9a9a!important}[data-theme=dark] .workbench-shell .prompt-edit-backdrop{background:#000000a3!important}[data-theme=dark] .workbench-shell .prompt-edit-modal{color:var(--ink)!important;border-color:var(--line)!important;background:var(--panel)!important;box-shadow:0 26px 80px #00000085!important}[data-theme=dark] .workbench-shell .prompt-edit-heading h2,[data-theme=dark] .workbench-shell .prompt-edit-close{color:var(--ink)!important}[data-theme=dark] .workbench-shell .prompt-edit-heading span{color:var(--accent-sky)!important;background:var(--accent-tint)!important}[data-theme=dark] .workbench-shell .prompt-edit-close{background:var(--surface-hover)!important}[data-theme=dark] .workbench-shell .prompt-edit-close:hover{background:var(--surface-selected)!important}[data-theme=dark] .workbench-shell .prompt-edit-body textarea{color:var(--ink)!important;border-color:var(--line)!important;background:var(--canvas)!important;scrollbar-color:#68717a #20252b}[data-theme=dark] .workbench-shell .prompt-edit-body textarea:focus{border-color:var(--accent-line)!important;box-shadow:0 0 0 3px #38bdf833!important}[data-theme=dark] .workbench-shell .prompt-edit-body textarea::placeholder,[data-theme=dark] .workbench-shell .prompt-edit-count{color:var(--muted)!important}[data-theme=dark] .workbench-shell .prompt-edit-cancel{color:var(--ink)!important;background:var(--surface-hover)!important}[data-theme=dark] .workbench-shell .prompt-edit-cancel:hover{background:var(--surface-selected)!important}[data-theme=dark] .workbench-shell .prompt-edit-save{color:#fff!important;background:var(--accent)!important;box-shadow:0 8px 22px #00000047!important}[data-theme=dark] .workbench-shell .prompt-edit-save:hover:not(:disabled){background:var(--accent-hover)!important}[data-theme=dark] .workbench-shell .mention-menu button>svg:first-child{color:#bdbdbd!important;background:#333!important}[data-theme=dark] .workbench-shell .creation-type-popover>button>svg:first-child{color:#eee!important;background:transparent!important}[data-theme=dark] .workbench-shell :is(.model-popover>button,.creation-type-popover>button){border:0!important}[data-theme=dark] .workbench-shell :is(.model-popover>button.active,.creation-type-popover>button.active){background:#303030!important}[data-theme=dark] .workbench-shell :is(.mention-token-preview,.mention-token-preview img){background:#242424!important}[data-theme=dark] .workbench-shell .mention-token-preview span{color:#9a9a9a!important}[data-theme=dark] .workbench-shell :is(.ratio-grid,.quality-control,.count-options,.style-grid,.agent-generation-tabs,.agent-generation-ratios){background:#2c2c2c!important}[data-theme=dark] .workbench-shell .video-duration-picker{--duration-track: #3a3a3a;--duration-fill-color: #6a6a6a;--duration-thumb: #e0e0e0;--duration-value-bg: #2c2c2c;color:#eee}[data-theme=dark] .workbench-shell :is(.ratio-grid button,.style-grid button,.quality-control button,.count-options button,.agent-generation-model-trigger){color:#bdbdbd!important;border-color:#3d3d3d!important;background:#2c2c2c!important}[data-theme=dark] .workbench-shell :is(.ratio-grid button:hover,.ratio-grid button.active,.style-grid button:hover,.style-grid button.active,.quality-control button.active,.count-options button:hover,.count-options button.active,.agent-generation-model-trigger:hover){color:#fff!important;border-color:#555!important;background:#353535!important}[data-theme=dark] .workbench-shell .agent-generation-auto button{background:#555!important}[data-theme=dark] .workbench-shell .agent-generation-auto button[aria-checked=true]{background:#1599e8!important}[data-theme=dark] .workbench-shell .agent-generation-auto button>span{background:#f5f5f5!important}[data-theme=dark] .workbench-shell :is(.mention-menu .mention-asset-grid>button,.mention-menu .mention-asset-grid>button:hover,.mention-menu .mention-asset-grid>button.selected){background:#2d2d2d!important}[data-theme=dark] .workbench-shell .mention-menu .mention-asset-grid{scrollbar-color:#555555 transparent}[data-theme=dark] .workbench-shell .agent-message-user>.agent-message-text,[data-theme=dark] .workbench-shell :is(.agent-composer-quote,.agent-message-quote){color:#ededed!important;background:#2d2d2d!important}[data-theme=dark] .workbench-shell .agent-composer-quote>button:hover:not(:disabled){background:#3a3a3a!important}[data-theme=dark] .workbench-shell,[data-theme=dark] .auth-shell,[data-theme=dark] .legal-page{background:var(--canvas);color:var(--ink)}[data-theme=dark] .workbench-shell .workbench-view,[data-theme=dark] .workbench-shell .workbench-main,[data-theme=dark] .workbench-shell .generation-workspace{background:var(--canvas)}[data-theme=dark] :is(.auth-panel,.auth-modal,.account-tools,.account-credit-action,.account-credit-popover,.account-user-popover,.settings-popover,.model-popover,.agent-generation-popover,.notification-panel,.resource-library,.api-workspace,.batch-workspace,.feedback-panel,.password-dialog){color:var(--ink);background:var(--panel);border-color:var(--line)}[data-theme=dark] :is(input,textarea,select){color:var(--ink);background-color:var(--panel);border-color:var(--line)}[data-theme=dark] .workbench-shell input.video-timeline-seek{background-color:transparent}[data-theme=dark] :is(input,textarea,select)::placeholder{color:var(--muted)}[data-theme=dark] .workbench-shell .feedback-panel{color:#f4f4f4;border-color:#2d2d2d;background:#1b1b1b;box-shadow:0 24px 66px #0000007a}[data-theme=dark] .workbench-shell .feedback-panel>header{border-color:#2d2d2d}[data-theme=dark] .workbench-shell .feedback-panel-mark{color:#f4f4f4;background:#2d2d2d}[data-theme=dark] .workbench-shell .feedback-panel h2{color:#f4f4f4}[data-theme=dark] .workbench-shell .feedback-panel>header>button{color:#8d8d8d}[data-theme=dark] .workbench-shell .feedback-panel>header>button:hover:not(:disabled){color:#f4f4f4;background:#292929}[data-theme=dark] .workbench-shell .feedback-content-field>span{color:#bdbdbd}[data-theme=dark] .workbench-shell .feedback-content-field textarea{color:#f4f4f4;border-color:#3a3a3a;background:#242424}[data-theme=dark] .workbench-shell .feedback-content-field textarea:focus{border-color:#38bdf8;background:#242424;box-shadow:0 0 0 3px #38bdf824}[data-theme=dark] .workbench-shell .feedback-content-field textarea::placeholder{color:#858585}[data-theme=dark] .workbench-shell .feedback-panel form>footer>button{color:#171717;background:#f4f4f4}[data-theme=dark] .workbench-shell .feedback-panel form>footer>button:hover:not(:disabled){background:#fff}[data-theme=dark] .workbench-shell .feedback-panel form>footer>button:disabled{color:#8d8d8d;background:#353535}[data-theme=dark] .workbench-shell .feedback-error{color:#f1a5a5;background:#432629}[data-theme=dark] :is(.workspace-menu,.workspace-sidebar,.history-sidebar,.creation-type-popover,.model-selection-popover){color:var(--ink);background:var(--panel);border-color:var(--line)}[data-theme=dark] :is(.workspace-menu-item:hover,.workspace-menu-item.active,.account-bar-action:hover,.account-bar-action.active,.account-user-popover>button:hover:not(:disabled),.settings-popover>button:hover,.model-popover>button:hover){color:var(--ink);background:var(--surface-hover)}[data-theme=dark] .guest-login-button{color:var(--ink);border-color:var(--line);background:var(--panel)}[data-theme=dark] .guest-login-button:hover{background:var(--surface-hover)}[data-theme=dark] .guest-account-actions .language-switch-action{color:var(--ink);border-color:var(--line);background:var(--panel)}[data-theme=dark] .guest-account-actions .language-switch-action:hover{background:var(--surface-hover)}[data-theme=dark] .auth-modal::backdrop{background:transparent}[data-theme=dark] .auth-shell{background:var(--canvas)}[data-theme=dark] .auth-panel{border-color:var(--line);background:var(--panel)}[data-theme=dark] :is(.auth-panel,.auth-modal){color:#f4f4f4;background:#1b1b1b;border-color:#2d2d2d}[data-theme=dark] .auth-modal-close{color:#8d8d8d}[data-theme=dark] .auth-modal-close:hover{color:#f4f4f4;background:#292929}[data-theme=dark] .auth-heading h1{color:#f4f4f4}[data-theme=dark] .auth-heading p,[data-theme=dark] .auth-email-domain-hint,[data-theme=dark] .auth-legal-footer,[data-theme=dark] .auth-form>label,[data-theme=dark] .auth-form>label.auth-legal-consent,[data-theme=dark] .auth-heading p.auth-signup-reward{color:#a3a3a3}[data-theme=dark] .auth-mode-switch{border-color:#2d2d2d;background:#242424}[data-theme=dark] .auth-mode-switch button{color:#a3a3a3}[data-theme=dark] .auth-mode-switch button.active{color:#f4f4f4;background:#303030;box-shadow:0 1px 4px #00000047}[data-theme=dark] .auth-reset-back,[data-theme=dark] .auth-forgot-link{color:#bdbdbd}[data-theme=dark] :is(.auth-reset-back,.auth-forgot-link):hover{color:#f4f4f4}[data-theme=dark] .auth-input-wrap{border-color:#3a3a3a;color:#a9a9a9;background:#1d1d1d}[data-theme=dark] .auth-input-wrap:focus-within{border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf824}[data-theme=dark] .auth-input-wrap input{color:#f4f4f4;background:transparent}[data-theme=dark] .auth-input-wrap input::placeholder{color:#858585}[data-theme=dark] .auth-input-wrap input::selection{color:#fff;background:#315c76}[data-theme=dark] .auth-input-wrap input:is(:autofill,:-webkit-autofill){-webkit-text-fill-color:#f4f4f4;caret-color:#f4f4f4;box-shadow:0 0 0 100px #1d1d1d inset}[data-theme=dark] .auth-input-wrap.auth-referral-locked{background:#242424}[data-theme=dark] .auth-password-toggle{color:#969696}[data-theme=dark] .auth-password-toggle:hover{color:#f4f4f4;background:#292929}[data-theme=dark] .auth-code-send{color:#d1d1d1;background:#292929}[data-theme=dark] .auth-code-send:hover:not(:disabled){color:#fff;background:#0878b5}[data-theme=dark] .auth-service-warning{border-color:#68552f;color:#e5c67d;background:#2d281d}[data-theme=dark] .auth-feedback.success{color:#d1d1d1}[data-theme=dark] .auth-feedback.error{color:#f1a5a5}[data-theme=dark] .auth-panel .auth-submit:hover:not(:disabled){background:var(--accent-hover)}[data-theme=dark] .auth-panel .auth-submit:active:not(:disabled){background:var(--accent-active)}[data-theme=dark] .auth-submit:disabled{color:#a9a9a9;background:#353535;opacity:1}[data-theme=dark] .auth-legal-consent a,[data-theme=dark] .auth-legal-footer a{color:#d9d9d9}[data-theme=dark] .auth-legal-consent a:hover,[data-theme=dark] .auth-legal-footer a:hover{color:#fff}[data-theme=dark] .workbench-shell .account-tools{border-color:var(--line);background:color-mix(in srgb,var(--panel) 84%,transparent)}[data-theme=dark] .workbench-shell .language-switch-action{color:#d7d7d7}[data-theme=dark] .workbench-shell .account-credit-action{border-color:var(--line);background:color-mix(in srgb,var(--panel) 84%,transparent)}[data-theme=dark] .workbench-shell .account-user-popover>button{color:var(--ink)}[data-theme=dark] .workbench-shell .account-user-popover>button.danger{color:#f1a5a5}[data-theme=dark] .workbench-shell .account-user-popover>button.danger:hover{background:#432629}[data-theme=dark] .workbench-shell .model-popover>button.active,[data-theme=dark] .workbench-shell .settings-popover>button.active{background:var(--surface-selected)}[data-theme=dark] .workbench-shell .generation-timeline .result-canvas.empty{color:var(--ink)}[data-theme=dark] .workbench-shell .video-player-stage,[data-theme=dark] .workbench-shell .video-preview-empty,[data-theme=dark] .workbench-shell .inspiration-preview{background:#0d0f11}[data-theme=dark] .workbench-shell .inspiration-gallery{background:var(--panel);color:var(--ink);scrollbar-color:#47515c #191c20}[data-theme=dark] .workbench-shell .inspiration-header{background:var(--panel)}[data-theme=dark] .workbench-shell .inspiration-tabs button{color:var(--muted)}[data-theme=dark] .workbench-shell .inspiration-tabs button:hover,[data-theme=dark] .workbench-shell .inspiration-tabs button[aria-selected=true]{color:var(--ink);background:var(--surface-selected)}[data-theme=dark] .workbench-shell .agent-reply-menu>summary{color:var(--ink);background:var(--surface-selected)}[data-theme=dark] .workbench-shell .agent-reply-menu>summary:hover{background:var(--surface-hover)}[data-theme=dark] .workbench-shell .agent-reply-menu-items{background:var(--panel);border-color:var(--line)}[data-theme=dark] .workbench-shell .auth-modal-close:hover{background:var(--surface-hover)}@media(prefers-reduced-motion:reduce){.theme-trigger,.theme-options button{transition:none}}[data-theme=dark] .workbench-shell .api-workspace{color:#f4f4f4!important;background:#111!important}[data-theme=dark] .workbench-shell .api-workspace :is(.api-section-sidebar,.api-section-content){background:#111!important}[data-theme=dark] .workbench-shell .api-section-sidebar{background:#181818!important;border-color:#242424!important}[data-theme=dark] .workbench-shell .api-section-brand{color:#f4f4f4!important}[data-theme=dark] .workbench-shell .api-section-brand svg{color:#bdbdbd!important}[data-theme=dark] .workbench-shell .api-section-sidebar nav button{color:#858585!important;background:transparent!important}[data-theme=dark] .workbench-shell .api-section-sidebar nav button:hover{color:#ededed!important;background:#232323!important}[data-theme=dark] .workbench-shell .api-section-sidebar nav button.active{color:#f4f4f4!important;background:#2d2d2d!important}[data-theme=dark] .workbench-shell :is(.api-page-header h1,.api-panel-heading h2,.api-doc-heading h2,.api-doc-disclosure>summary){color:#f4f4f4!important}[data-theme=dark] .workbench-shell :is(.api-metric-grid article,.api-panel,.api-doc-block,.api-key-empty,.api-pagination,.api-key-drawer){color:#f4f4f4!important;border-color:#343434!important;background:#1d1d1d!important;box-shadow:0 8px 26px #0000003d!important}[data-theme=dark] .workbench-shell :is(.api-panel-heading,.api-key-drawer>header){border-color:#343434!important}[data-theme=dark] .workbench-shell :is(.api-metric-grid article>span,.api-panel-heading>span,.api-doc-model-label,.api-empty-state,.api-empty-state svg,.api-reference-note,.api-stat-definition,.api-stat-definition p,.api-doc-copy,.api-pagination,.api-key-activity span,.api-key-activity strong,.api-key-identity code){color:#9a9a9a!important}[data-theme=dark] .workbench-shell .api-metric-grid article>span svg{color:#bdbdbd!important}[data-theme=dark] .workbench-shell :is(.api-metric-grid article>strong,.api-limit-list strong,.api-key-identity strong,.api-key-icon,.api-endpoint-row>span,.api-reference-example>span){color:#f4f4f4!important}[data-theme=dark] .workbench-shell :is(.api-request-table th,.api-param-table th){color:#a0a0a0!important;background:#242424!important}[data-theme=dark] .workbench-shell :is(.api-request-table td,.api-param-table td){color:#c6c6c6!important;border-color:#343434!important}[data-theme=dark] .workbench-shell :is(.api-request-table td code,.api-param-table td code,.api-request-detail,.api-request-detail code){color:#d8d8d8!important}[data-theme=dark] .workbench-shell :is(.api-key-row,.api-pagination){border-color:#343434!important}[data-theme=dark] .workbench-shell .api-key-icon{background:#292929!important}[data-theme=dark] .workbench-shell :is(.api-key-empty button,.api-key-confirm button:not(.danger),.api-icon-button,.api-doc-copy-button,.api-example-modes button,.api-pagination button){color:#d8d8d8!important;border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell :is(.api-key-empty button:hover,.api-key-confirm button:not(.danger):hover,.api-icon-button:hover:not(:disabled),.api-doc-copy-button:hover,.api-example-modes button:hover,.api-pagination button:hover:not(:disabled)){color:#fff!important;border-color:#505050!important;background:#303030!important}[data-theme=dark] .workbench-shell :is(.api-primary-button,.api-key-confirm button.danger){color:#fff!important}[data-theme=dark] .workbench-shell .api-primary-button:hover:not(:disabled){background:#0b6f9f!important}[data-theme=dark] .workbench-shell :is(.api-request-status,.api-request-status.success,.api-request-status.partial,.api-request-status.failed,.api-request-status.pending){border:1px solid transparent}[data-theme=dark] .workbench-shell .api-request-status{color:#d0d0d0!important;background:#303030!important}[data-theme=dark] .workbench-shell .api-request-status.success{color:#9de2b2!important;background:#1d3b29!important}[data-theme=dark] .workbench-shell .api-request-status.partial{color:#f1d58b!important;background:#463916!important}[data-theme=dark] .workbench-shell .api-request-status.failed{color:#f2aaaa!important;background:#452626!important}[data-theme=dark] .workbench-shell .api-request-status.pending{color:#a6d5f5!important;background:#203a4c!important}[data-theme=dark] .workbench-shell .api-doc-notice{color:#f1d58b!important;border-color:#765f2a!important;background:#332b17!important}[data-theme=dark] .workbench-shell .api-doc-notice>svg,[data-theme=dark] .workbench-shell .api-doc-notice p{color:#f1d58b!important}[data-theme=dark] .workbench-shell :is(.api-model-select-button,.api-model-select-menu){color:#f1f1f1!important;border-color:#3a3a3a!important;background:#242424!important;box-shadow:0 10px 30px #00000059!important}[data-theme=dark] .workbench-shell .api-model-select-button:hover:not(:disabled),[data-theme=dark] .workbench-shell .api-model-select.open .api-model-select-button{border-color:#555!important;background:#2d2d2d!important}[data-theme=dark] .workbench-shell .api-model-select-chevron{color:#a0a0a0!important}[data-theme=dark] .workbench-shell .api-model-select-option{color:#d0d0d0!important}[data-theme=dark] .workbench-shell :is(.api-model-select-option:hover,.api-model-select-option.highlighted,.api-model-select-option.active){color:#fff!important;background:#303030!important}[data-theme=dark] .workbench-shell .api-model-select-empty{color:#9a9a9a!important}[data-theme=dark] .workbench-shell .api-endpoint-row{border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell .api-endpoint-row code{color:#d8d8d8!important}[data-theme=dark] .workbench-shell .api-endpoint-row button{color:#bdbdbd!important;background:#2d2d2d!important}[data-theme=dark] .workbench-shell .api-endpoint-row button:hover{color:#fff!important;background:#383838!important}[data-theme=dark] .workbench-shell :is(.api-limit-list,.api-error-example){border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell .api-limit-list>div+div{border-color:#3a3a3a!important}[data-theme=dark] .workbench-shell :is(.api-limit-list span,.api-limit-list small){color:#9a9a9a!important}[data-theme=dark] .workbench-shell .api-error-example pre{color:#d8d8d8!important}[data-theme=dark] .workbench-shell .api-example-modes button[aria-pressed=true]{color:#fff!important;border-color:#5b5b5b!important;background:#303030!important}[data-theme=dark] .workbench-shell :is(.api-doc-disclosure-body,.api-doc-block details){color:#d0d0d0!important}[data-theme=dark] .workbench-shell .api-inline-error{color:#f2aaaa!important;border-color:#6b3535!important;background:#342020!important}[data-theme=dark] .workbench-shell .api-key-drawer{border-color:#343434!important;background:#1d1d1d!important;box-shadow:-24px 0 64px #0000007a!important}[data-theme=dark] .workbench-shell .api-key-drawer>header>button{color:#d0d0d0!important;background:#292929!important}[data-theme=dark] .workbench-shell :is(.api-create-form>label>span,.api-created-secret>label>span,.api-secret-setup>span){color:#c6c6c6!important}[data-theme=dark] .workbench-shell .api-create-form input{color:#f4f4f4!important;border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell .api-create-form input:focus{border-color:#6a6a6a!important;background:#292929!important;box-shadow:0 0 0 3px #38bdf82e!important}[data-theme=dark] .workbench-shell .api-create-form footer>button:not(.api-primary-button){color:#d8d8d8!important;border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell :is(.api-create-error,.api-secret-warning){color:#f2aaaa!important;background:#342020!important}[data-theme=dark] .workbench-shell .api-created-secret>label>div{border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell .api-created-secret>label code{color:#e4e4e4!important}[data-theme=dark] .workbench-shell .api-doc-copy-button:focus-visible,[data-theme=dark] .workbench-shell .api-workspace summary:focus-visible,[data-theme=dark] .workbench-shell .api-example-modes button:focus-visible,[data-theme=dark] .workbench-shell .api-pagination button:focus-visible{outline-color:#8f8f8f!important}[data-theme=dark] .workbench-shell .notification-panel{color:#e8e8e8!important;border-color:#343434!important;background:#1b1b1b!important;box-shadow:0 24px 66px #0000007a!important}[data-theme=dark] .workbench-shell .notification-panel-header{border-color:#343434!important}[data-theme=dark] .workbench-shell .notification-tabs{background:#303030!important}[data-theme=dark] .workbench-shell .notification-tabs button{color:#a6a6a6!important}[data-theme=dark] .workbench-shell .notification-tabs button.active{color:#eee!important;background:#1b1b1b!important}[data-theme=dark] .workbench-shell .notification-panel-header>div:first-child>span{color:#1b1b1b!important;background:#f0f0f0!important}[data-theme=dark] .workbench-shell .notification-panel-header h2{color:#f4f4f4!important}[data-theme=dark] .workbench-shell .notification-panel-header p{color:#a6a6a6!important}[data-theme=dark] .workbench-shell .notification-panel-actions button{color:#a9a9a9!important;background:transparent!important}[data-theme=dark] .workbench-shell .notification-panel-actions button:hover:not(:disabled){color:#fff!important;background:#303030!important}[data-theme=dark] .workbench-shell .notification-mark-all{color:#d9d9d9!important}[data-theme=dark] .workbench-shell .notification-mark-all:hover{background:#303030!important}[data-theme=dark] .workbench-shell .notification-list{scrollbar-color:#5a5a5a transparent}[data-theme=dark] .workbench-shell .notification-item{color:#c6c6c6!important}[data-theme=dark] .workbench-shell .notification-item:hover,[data-theme=dark] .workbench-shell .notification-item.unread{background:#272727!important}[data-theme=dark] .workbench-shell .notification-item-icon{color:#e4e4e4!important;background:#303030!important}[data-theme=dark] .workbench-shell .notification-item-icon.credit_change,[data-theme=dark] .workbench-shell .notification-item-icon.system{color:#d0d0d0!important;background:#303030!important}[data-theme=dark] .workbench-shell :is(.notification-item-icon.generation_violation,.notification-detail-icon.generation_violation){color:#f2aaaa!important;background:#452626!important}[data-theme=dark] .workbench-shell .notification-item-title strong{color:#eee!important}[data-theme=dark] .workbench-shell .notification-item-title time{color:#a6a6a6!important}[data-theme=dark] .workbench-shell .notification-item-preview{color:#b5b5b5!important}[data-theme=dark] .workbench-shell .notification-item>i{background:#38bdf8!important}[data-theme=dark] .workbench-shell .notification-update-timeline{color:#c6c6c6!important}[data-theme=dark] .workbench-shell .notification-update-dot{border-color:#5b6260;background:#1b1d1c}[data-theme=dark] .workbench-shell .notification-update-dot.is-unread{border-color:#f0f2f1}[data-theme=dark] .workbench-shell .notification-update-card:hover,[data-theme=dark] .workbench-shell .notification-update-card.unread{background:#272727!important}[data-theme=dark] .workbench-shell .notification-update-date,[data-theme=dark] .workbench-shell .notification-update-card .notification-item-preview{color:#a6a6a6!important}[data-theme=dark] .workbench-shell .notification-update-badges>span{border-color:#ffffff24;color:#252525}[data-theme=dark] .workbench-shell .notification-state{color:#a6a6a6!important}[data-theme=dark] .workbench-shell .notification-state strong{color:#e4e4e4!important}[data-theme=dark] .workbench-shell .notification-state button{color:#e4e4e4!important;background:#303030!important}[data-theme=dark] .workbench-shell .notification-state.error{color:#f2aaaa!important}[data-theme=dark] .notification-detail-dialog{color:#eee!important;border-color:#343434!important;background:#1d1d1d!important;box-shadow:0 28px 80px #00000085!important}[data-theme=dark] .notification-detail-header,[data-theme=dark] .notification-detail-footer{border-color:#343434!important}[data-theme=dark] .notification-detail-icon{color:#e4e4e4!important;background:#303030!important}[data-theme=dark] .notification-detail-header h2{color:#f4f4f4!important}[data-theme=dark] .notification-detail-header time,[data-theme=dark] .notification-detail-footer a,[data-theme=dark] .notification-detail-footer .notification-limit-button{color:#a6a6a6!important}[data-theme=dark] .notification-detail-header>button{color:#d0d0d0!important;background:#303030!important}[data-theme=dark] .notification-detail-header>button:hover{color:#fff!important;background:#3a3a3a!important}[data-theme=dark] .notification-detail-body{color:#d0d0d0!important}[data-theme=dark] .notification-detail-footer button:not(.notification-limit-button){color:#fff!important;background:#303030!important}[data-theme=dark] .notification-detail-footer button:not(.notification-limit-button):hover{background:#414141!important}[data-theme=dark] .referral-dialog .notification-detail-header small{color:#a6a6a6!important}[data-theme=dark] .referral-dialog .referral-rate-highlight{color:#ff8b62!important}[data-theme=dark] .referral-dialog .referral-content{color:#d0d0d0!important;background:#1d1d1d!important}[data-theme=dark] .referral-dialog .referral-share label,[data-theme=dark] .referral-dialog .referral-stats span,[data-theme=dark] .referral-dialog .referral-description,[data-theme=dark] .referral-dialog .referral-pagination{color:#a6a6a6!important}[data-theme=dark] .referral-dialog .referral-share label>div{border-color:#3a3a3a!important}[data-theme=dark] .referral-dialog .referral-share input{color:#f0f0f0!important;background:#242424!important}[data-theme=dark] .referral-dialog .referral-content button{color:#d8d8d8!important;border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .referral-dialog .referral-content button:hover:not(:disabled){color:#fff!important;border-color:#555!important;background:#303030!important}[data-theme=dark] .referral-dialog .referral-share button{border-color:transparent!important;background:#303030!important}[data-theme=dark] .referral-dialog .referral-copy-notice{color:#9de2b2!important}[data-theme=dark] .referral-dialog .referral-stats{border-color:#343434!important}[data-theme=dark] .referral-dialog .referral-stats strong{color:#f4f4f4!important}[data-theme=dark] .referral-dialog .referral-tabs button[aria-pressed=true]{color:#fff!important;border-color:#5b5b5b!important;background:#303030!important}[data-theme=dark] .referral-dialog .referral-table th,[data-theme=dark] .referral-dialog .referral-table td{color:#c6c6c6!important;border-color:#343434!important}[data-theme=dark] .referral-dialog .referral-table th{color:#a6a6a6!important}[data-theme=dark] .referral-dialog .referral-error{color:#f2aaaa!important}[data-theme=dark] .referral-dialog .referral-status{color:#d0d0d0!important;background:#303030!important}[data-theme=dark] .workbench-shell .resource-library,[data-theme=dark] .workbench-shell .resource-library .asset-library{color:#f4f4f4!important;background:#111!important;scrollbar-color:#555555 transparent}[data-theme=dark] .workbench-shell .resource-tabs button{color:#929292!important}[data-theme=dark] .workbench-shell .resource-tabs button:hover{color:#e4e4e4!important;background:#242424!important}[data-theme=dark] .workbench-shell .resource-tabs button[aria-selected=true]{color:#f4f4f4!important;background:#303030!important}[data-theme=dark] .workbench-shell :is(.asset-source-tabs button,.resource-history-tools [role=group] button){color:#929292!important}[data-theme=dark] .workbench-shell :is(.asset-source-tabs button:hover,.resource-history-tools [role=group] button:hover){color:#e4e4e4!important}[data-theme=dark] .workbench-shell :is(.asset-source-tabs button[aria-selected=true],.resource-history-tools [role=group] button[aria-pressed=true]){color:#f4f4f4!important;border-bottom-color:#f4f4f4!important}[data-theme=dark] .workbench-shell :is(.resource-load-more,.resource-error button,.resource-empty-state .primary-button){color:#e8e8e8!important;border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell :is(.resource-load-more:hover,.resource-error button:hover,.resource-empty-state .primary-button:hover:not(:disabled)){color:#fff!important;border-color:#555!important;background:#303030!important}[data-theme=dark] .workbench-shell .resource-empty-state .primary-button{color:#fff!important;border-color:#1599e8!important;background:#1599e8!important}[data-theme=dark] .workbench-shell .resource-empty-state .primary-button:hover:not(:disabled){background:#0b6f9f!important}[data-theme=dark] .workbench-shell :is(.resource-retention-note,.asset-retention-note,.resource-history-day h2,.asset-library-added-at,.resource-empty-state,.resource-empty-state>p,.resource-error,.resource-thumbnail-empty,.asset-library-thumbnail-empty){color:#9a9a9a!important}[data-theme=dark] .workbench-shell .resource-empty-state>strong{color:#f4f4f4!important}[data-theme=dark] .workbench-shell :is(.resource-history-image,.asset-library-image){background:#242424!important}[data-theme=dark] .workbench-shell :is(.resource-history-actions,.asset-library-overlay){border-color:#ffffff38!important;background:#121212e0!important}[data-theme=dark] .workbench-shell :is(.resource-history-actions button,.resource-history-actions>a,.asset-library-overlay button,.asset-library-overlay>a){color:#f4f4f4!important}[data-theme=dark] .workbench-shell :is(.resource-history-actions button:hover:not(:disabled),.resource-history-actions>a:hover,.asset-library-overlay button:hover:not(:disabled),.asset-library-overlay>a:hover){background:#ffffff2e!important}[data-theme=dark] .workbench-shell :is(.resource-video-mark,.resource-unavailable){color:#f4f4f4!important;background:#191919d6!important}[data-theme=dark] .workbench-shell .resource-item-loading{background:#111111b8!important}[data-theme=dark] .workbench-shell :is(.resource-history-skeleton span,.asset-library-thumbnail-skeleton){background:linear-gradient(90deg,#242424 25%,#303030,#242424 75%)!important;background-size:200% 100%!important}[data-theme=dark] .workbench-shell .batch-generation-view{color:#f4f4f4!important;background:#111!important;scrollbar-color:#555555 transparent}[data-theme=dark] .workbench-shell :is(.batch-page-header h1,.batch-uniform-heading h2,.batch-task-card-header strong){color:#f4f4f4!important}[data-theme=dark] .workbench-shell :is(.batch-page-kicker,.batch-page-header p,.batch-uniform-heading p,.batch-field>span,.batch-toolbar-summary,.batch-task-completed-time,.batch-reference-count,.batch-prompt-length,.batch-task-cost,.batch-add-task-card){color:#9a9a9a!important}[data-theme=dark] .workbench-shell .batch-page-count{color:#d0d0d0!important;border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell .batch-restore-state,[data-theme=dark] .workbench-shell .batch-uniform-panel,[data-theme=dark] .workbench-shell .batch-task-card{color:#f4f4f4!important;border-color:#343434!important;background:#1d1d1d!important;box-shadow:0 8px 26px #0000003d!important}[data-theme=dark] .workbench-shell .batch-restore-state{color:#bdbdbd!important}[data-theme=dark] .workbench-shell .batch-uniform-heading>span{color:#38bdf8!important;background:#303030!important}[data-theme=dark] .workbench-shell .batch-history-note{color:#9a9a9a!important;border-color:#343434!important}[data-theme=dark] .workbench-shell .batch-history-note strong,[data-theme=dark] .workbench-shell .batch-toolbar-summary strong{color:#e4e4e4!important}[data-theme=dark] .workbench-shell .batch-select-button{color:#e8e8e8!important;border-color:#3a3a3a!important;background:#242424!important;box-shadow:none!important}[data-theme=dark] .workbench-shell :is(.batch-select-button:hover,.batch-select-wrap.open .batch-select-button){color:#fff!important;border-color:#555!important;background:#303030!important}[data-theme=dark] .workbench-shell .batch-select-button:focus-visible{border-color:#6a6a6a!important;box-shadow:0 0 0 3px #38bdf82e!important}[data-theme=dark] .workbench-shell .batch-select-icon,[data-theme=dark] .workbench-shell .batch-select-chevron{color:#a6a6a6!important}[data-theme=dark] .workbench-shell .batch-select-wrap.disabled .batch-select-button{color:#777!important;background:#202020!important}[data-theme=dark] .workbench-shell .batch-select-menu{color:#e8e8e8!important;border-color:#3a3a3a!important;background:#242424!important;box-shadow:0 18px 42px #0000007a!important;scrollbar-color:#555555 transparent}[data-theme=dark] .workbench-shell .batch-select-option{color:#d0d0d0!important}[data-theme=dark] .workbench-shell :is(.batch-select-option:hover,.batch-select-option.active){color:#fff!important;background:#303030!important}[data-theme=dark] .workbench-shell .batch-select-option svg{color:#38bdf8!important}[data-theme=dark] .workbench-shell :is(.batch-apply-button,.batch-start-all,.batch-task-generate:not(:disabled)){color:#fff!important;border-color:#1599e8!important;background:#1599e8!important}[data-theme=dark] .workbench-shell :is(.batch-apply-button:hover:not(:disabled),.batch-start-all:hover:not(:disabled),.batch-task-generate:hover:not(:disabled)){background:#0b6f9f!important}[data-theme=dark] .workbench-shell :is(.batch-download-all,.batch-clear-button,.batch-download){color:#d8d8d8!important;border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell :is(.batch-download-all:hover:not(:disabled),.batch-clear-button:hover:not(:disabled),.batch-download:hover:not(:disabled)){color:#fff!important;border-color:#555!important;background:#303030!important}[data-theme=dark] .workbench-shell :is(.batch-download-all:disabled,.batch-clear-button:disabled,.batch-download:disabled,.batch-start-all:disabled,.batch-task-generate:disabled){color:#707070!important;border-color:#303030!important;background:#202020!important}[data-theme=dark] .workbench-shell .batch-task-generate.retry{color:#d0d0d0!important;border-color:#3a3a3a!important;background:#303030!important}[data-theme=dark] .workbench-shell .batch-task-card:hover{border-color:#505050!important;box-shadow:0 10px 28px #00000057!important}[data-theme=dark] .workbench-shell .batch-task-card.running{border-color:#4b6574!important}[data-theme=dark] .workbench-shell .batch-task-card.completed{border-color:#3d4b42!important}[data-theme=dark] .workbench-shell .batch-task-status{color:#bdbdbd!important;background:#303030!important}[data-theme=dark] .workbench-shell .batch-task-status.running,[data-theme=dark] .workbench-shell .batch-task-status.completed{color:#bfe5f7!important;background:#203a4c!important}[data-theme=dark] .workbench-shell .batch-task-status.failed{color:#f2aaaa!important;background:#452626!important}[data-theme=dark] .workbench-shell .batch-task-delete{color:#929292!important}[data-theme=dark] .workbench-shell .batch-task-delete:hover:not(:disabled){color:#f2aaaa!important;background:#3b2727!important}[data-theme=dark] .workbench-shell :is(.batch-reference-item,.batch-reference-add){border-color:#454545!important;background:#242424!important}[data-theme=dark] .workbench-shell .batch-reference-add{color:#9a9a9a!important}[data-theme=dark] .workbench-shell .batch-reference-add:hover:not(:disabled){color:#38bdf8!important;border-color:#38bdf8!important;background:#203a4c!important}[data-theme=dark] .workbench-shell .batch-reference-remove{color:#fff!important;background:#111111d6!important}[data-theme=dark] .workbench-shell .batch-output{border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell .batch-output.has-result,[data-theme=dark] .workbench-shell .batch-output-empty.running{background:#171717!important}[data-theme=dark] .workbench-shell .batch-output-empty{color:#9a9a9a!important}[data-theme=dark] .workbench-shell .batch-output-failed{color:#a6a6a6!important;border-color:#ffffff2e!important;background:#171717f5!important}[data-theme=dark] .workbench-shell .batch-output-failed span{color:#bdbdbd!important}[data-theme=dark] .workbench-shell .batch-prompt-field{border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell .batch-prompt-field:focus-within{border-color:#6a6a6a!important;box-shadow:0 0 0 3px #38bdf82e!important}[data-theme=dark] .workbench-shell .batch-prompt-field textarea{color:#f0f0f0!important}[data-theme=dark] .workbench-shell .batch-prompt-field textarea::placeholder{color:#858585!important}[data-theme=dark] .workbench-shell :is(.batch-prompt-optimize,.batch-prompt-mention,.batch-prompt-expand){color:#c6c6c6!important;border-color:#3a3a3a!important;background:#303030!important;box-shadow:none!important}[data-theme=dark] .workbench-shell :is(.batch-prompt-optimize:hover:not(:disabled),.batch-prompt-mention:hover:not(:disabled),.batch-prompt-expand:hover:not(:disabled)){color:#fff!important;border-color:#555!important;background:#3a3a3a!important}[data-theme=dark] .workbench-shell :is(.batch-ai-status,.batch-ai-undo){color:#bdbdbd!important}[data-theme=dark] .workbench-shell .batch-task-error-message{color:#f1d58b!important;border-color:#765f2a!important;background:#332b17!important}[data-theme=dark] .workbench-shell .batch-task-error-message strong{color:#f1d58b!important}[data-theme=dark] .workbench-shell .batch-task-error-message.content-restriction{color:#f2aaaa!important;border-color:#6b3535!important;background:#342020!important}[data-theme=dark] .workbench-shell .batch-task-error-message.content-restriction strong,[data-theme=dark] .workbench-shell :is(.batch-task-error-message a,.batch-limit-dialog-trigger){color:#f2aaaa!important}[data-theme=dark] .workbench-shell .batch-add-task-card{border-color:#454545!important;background:#181818!important}[data-theme=dark] .workbench-shell .batch-add-task-card:hover{color:#e4e4e4!important;border-color:#6a6a6a!important;background:#242424!important}[data-theme=dark] .workbench-shell :is(.ai-optimize-control,.generation-limit-trigger){color:#d8d8d8!important;border-color:#3a3a3a!important;background:#303030!important;box-shadow:none!important}[data-theme=dark] .workbench-shell :is(.ai-optimize-control:hover:not(:disabled),.ai-optimize-control.active,.ai-optimize-control.is-running:hover:not(:disabled),.generation-limit-trigger:hover,.generation-limit-trigger:focus-visible){color:#fff!important;border-color:#5a5a5a!important;background:#3a3a3a!important}[data-theme=dark] .workbench-shell :is(.ai-optimize-control,.batch-prompt-optimize):not(:disabled):not(.is-running){color:var(--accent-sky)!important}[data-theme=dark] .workbench-shell :is(.ai-optimize-control,.batch-prompt-optimize):hover:not(:disabled):not(.is-running){color:var(--accent-sky)!important;border-color:var(--accent-line)!important;background:var(--accent-tint)!important}[data-theme=dark] .workbench-shell .ai-optimize-control.is-running{color:#c6c6c6!important;border-color:#454545!important;background:#292929!important}[data-theme=dark] .workbench-shell .ai-optimize-control:disabled{color:#707070!important;border-color:#303030!important;background:#202020!important}[data-theme=dark] .workbench-shell .generation-limit-tooltip{color:#d0d0d0!important;border-color:#3a3a3a!important;background:#242424!important;box-shadow:0 14px 36px #0000007a!important}[data-theme=dark] .workbench-shell .generation-limit-tooltip .generation-limit-warning{color:#f1d58b!important;border-color:#765f2a!important;background:#332b17!important}[data-theme=dark] .workbench-shell .generation-limit-tooltip .generation-limit-note{color:#a6a6a6!important;border-color:#3a3a3a!important}[data-theme=dark] .workbench-shell .generation-limit-tooltip:after{border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell .ai-optimize-goal-menu{color:#e8e8e8!important;border-color:#3a3a3a!important;background:#242424!important;box-shadow:0 18px 48px #0000007a!important}[data-theme=dark] .workbench-shell .ai-optimize-goal-menu:after{border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell .ai-optimize-goal-header>span{color:#c6c6c6!important;background:#303030!important}[data-theme=dark] .workbench-shell .ai-optimize-goal-header strong,[data-theme=dark] .workbench-shell .ai-optimize-goal-options span{color:#eee!important}[data-theme=dark] .workbench-shell :is(.ai-optimize-goal-header small,.ai-optimize-goal-options small){color:#a6a6a6!important}[data-theme=dark] .workbench-shell .ai-optimize-goal-options>button:hover,[data-theme=dark] .workbench-shell .ai-optimize-goal-options>button:focus-visible{border-color:#505050!important;background:#303030!important}[data-theme=dark] .workbench-shell .ai-optimize-goal-options>button:hover span,[data-theme=dark] .workbench-shell .ai-optimize-goal-options>button:focus-visible span{color:#fff!important}[data-theme=dark] .workbench-shell .ai-optimize-goal-options>button:hover small,[data-theme=dark] .workbench-shell .ai-optimize-goal-options>button:focus-visible small{color:#c6c6c6!important}[data-theme=dark] .workbench-shell :is(.ai-inline-undo,.ai-inline-status){color:#d8d8d8!important;border-color:#3a3a3a!important;background:#242424f5!important;box-shadow:0 5px 16px #00000059!important}[data-theme=dark] .workbench-shell .ai-inline-undo:hover{color:#fff!important;border-color:#555!important;background:#303030!important}[data-theme=dark] .workbench-shell .generation-cost{color:#a6a6a6!important;background:transparent!important}[data-theme=dark] .generation-limit-dialog{color:#eee!important;border-color:#343434!important;background:#1d1d1d!important;box-shadow:0 28px 80px #00000085!important}[data-theme=dark] .generation-limit-dialog>header,[data-theme=dark] .generation-limit-dialog>footer{border-color:#343434!important}[data-theme=dark] .generation-limit-dialog>header>span{color:#e4e4e4!important;background:#303030!important}[data-theme=dark] .generation-limit-dialog>header small,[data-theme=dark] .generation-limit-dialog-content{color:#a6a6a6!important}[data-theme=dark] .generation-limit-dialog>header h2{color:#f4f4f4!important}[data-theme=dark] .generation-limit-dialog>header>button{color:#d0d0d0!important;background:#303030!important}[data-theme=dark] .generation-limit-dialog>header>button:hover{color:#fff!important;background:#3a3a3a!important}[data-theme=dark] .generation-limit-dialog-content .generation-limit-warning{color:#f1d58b!important;border-color:#765f2a!important;background:#332b17!important}[data-theme=dark] .generation-limit-dialog>footer button{color:#fff!important;background:#303030!important}[data-theme=dark] .generation-limit-dialog>footer button:hover{background:#414141!important}[data-theme=dark] .workbench-shell :is(.prompt-field.is-file-dragging,.video-prompt-box.is-file-dragging){outline-color:#666!important;background:transparent!important}[data-theme=dark] .workbench-shell .prompt-file-drop-overlay{color:#eee!important;border-color:#8a8a8a!important;background:transparent!important;box-shadow:none!important}[data-theme=dark] .workbench-shell .prompt-file-drop-overlay small{color:#bdbdbd!important}[data-theme=dark] .workbench-shell .reference-upload-zone:not(.has-reference) .reference-upload-card{color:#bdbdbd!important;border-color:#454545!important;background:var(--soft)!important}[data-theme=dark] .workbench-shell .reference-upload-zone:not(.has-reference) .reference-upload-card:hover{color:#eee!important;background:var(--surface-hover)!important}[data-theme=dark] .workbench-shell .account-credit-action{color:var(--accent-sky)!important}[data-theme=dark] .workbench-shell .account-credit-action:hover,[data-theme=dark] .workbench-shell .account-credit-area.expanded>.account-credit-action{color:var(--accent-sky)!important;background:#292929!important}[data-theme=dark] .workbench-shell .account-credit-action .account-action-icon,[data-theme=dark] .workbench-shell .account-credit-action .account-action-icon svg,[data-theme=dark] .workbench-shell .account-credit-action strong,[data-theme=dark] .workbench-shell .account-credit-action>span:not(.account-action-icon){color:#0ea5e9!important}[data-theme=dark] .workbench-shell .account-credit-action:hover .account-action-icon,[data-theme=dark] .workbench-shell .account-credit-action:hover .account-action-icon svg,[data-theme=dark] .workbench-shell .account-credit-action:hover strong,[data-theme=dark] .workbench-shell .account-credit-action:hover>span:not(.account-action-icon),[data-theme=dark] .workbench-shell .account-credit-area.expanded>.account-credit-action .account-action-icon,[data-theme=dark] .workbench-shell .account-credit-area.expanded>.account-credit-action .account-action-icon svg,[data-theme=dark] .workbench-shell .account-credit-area.expanded>.account-credit-action strong,[data-theme=dark] .workbench-shell .account-credit-area.expanded>.account-credit-action>span:not(.account-action-icon){color:#0ea5e9!important}[data-theme=dark] .workbench-shell .generation-cost strong{color:var(--accent-sky)!important}[data-theme=dark] .workbench-shell .account-credit-buy:hover{color:#fff!important;background:var(--accent-hover)!important}[data-theme=dark] .workbench-shell :is(.generation-progress,.generation-failed){border-color:#303030!important}[data-theme=dark] .workbench-shell .generation-progress{background:#171717!important;box-shadow:0 22px 56px #00000047!important}[data-theme=dark] .workbench-shell .generation-aurora{background:radial-gradient(ellipse at 50% 95%,rgb(14 116 144 / 10%),transparent 55%),linear-gradient(180deg,#0b1520,#101419)}[data-theme=dark] .workbench-shell .generation-aurora .aurora-container{filter:saturate(1.65) brightness(.78);opacity:.9}[data-theme=dark] .workbench-shell .generation-aurora:before{background:linear-gradient(180deg,#08111c14,#0c121994),radial-gradient(ellipse at 50% 20%,transparent 0 35%,rgb(9 15 22 / 28%) 100%)}[data-theme=dark] .workbench-shell .generation-aurora-sheen{background:linear-gradient(120deg,rgb(56 189 248 / 5%),transparent 34%,transparent 66%,rgb(45 212 191 / 3%));mix-blend-mode:normal;opacity:.5}[data-theme=dark] .workbench-shell .generation-failed{color:#bdbdbd!important;border-color:#3a3a3a!important;background:#1d1d1d!important;box-shadow:none!important}[data-theme=dark] .workbench-shell .generation-failed>span{color:#f0a070!important;background:#382a24!important}[data-theme=dark] .workbench-shell .generation-failed strong{color:#eee!important}[data-theme=dark] .workbench-shell .generation-failed p{color:#a6a6a6!important}[data-theme=dark] .workbench-shell .generation-failed.content-restriction{color:#f2aaaa!important;border-color:#6b3535!important;background:#342020!important}[data-theme=dark] .workbench-shell .generation-failed.content-restriction>span{color:#f2aaaa!important;background:#452626!important}[data-theme=dark] .workbench-shell .generation-failed.content-restriction strong,[data-theme=dark] .workbench-shell .generation-failed.content-restriction p{color:#f2aaaa!important}[data-theme=dark] .workbench-shell .generation-failed button,[data-theme=dark] .workbench-shell .generation-failed>a{color:#eee!important;border:1px solid #454545!important;background:#303030!important}[data-theme=dark] .workbench-shell .generation-failed button:hover:not(:disabled),[data-theme=dark] .workbench-shell .generation-failed>a:hover{color:#fff!important;background:#3a3a3a!important}[data-theme=dark] .workbench-shell .generation-failed.storage-blocked{color:#f1d58b!important;border-color:#765f2a!important;background:#332b17!important}[data-theme=dark] .workbench-shell .generation-failed.storage-blocked p{color:#e0c681!important}[data-theme=dark] .workbench-shell .gallery-failed-slot,[data-theme=dark] .workbench-shell .video-timeline-unavailable{color:#a6a6a6!important;border-color:#3a3a3a!important;background:#242424!important}[data-theme=dark] .workbench-shell :is(.gallery-failed-slot svg,.gallery-failed-slot strong){color:#bdbdbd!important}[data-theme=light] .workbench-shell .account-credit-action{color:#0ea5e9!important}[data-theme=light] .workbench-shell .account-credit-action:hover,[data-theme=light] .workbench-shell .account-credit-area.expanded>.account-credit-action{color:#0ea5e9!important;background:#f0f0f0!important}[data-theme=light] .workbench-shell .account-credit-action .account-action-icon,[data-theme=light] .workbench-shell .account-credit-action .account-action-icon svg,[data-theme=light] .workbench-shell .account-credit-action strong,[data-theme=light] .workbench-shell .account-credit-action>span:not(.account-action-icon){color:#0ea5e9!important}[data-theme=dark] .workbench-shell .password-dialog{color:var(--ink)!important;border-color:var(--line)!important;background:var(--panel)!important;box-shadow:0 24px 70px #00000085!important}[data-theme=dark] .workbench-shell .password-dialog-backdrop{background:#000000a3!important}[data-theme=dark] .workbench-shell :is(.password-dialog-heading h2,.password-dialog-input input){color:var(--ink)!important}[data-theme=dark] .workbench-shell :is(.password-dialog-heading p,.password-dialog-form>label,.password-dialog-visibility){color:var(--muted)!important}[data-theme=dark] .workbench-shell .password-dialog-icon,[data-theme=dark] .workbench-shell .password-dialog-close,[data-theme=dark] .workbench-shell .password-dialog-actions button:first-child{color:var(--ink)!important;background:var(--surface-hover)!important}[data-theme=dark] .workbench-shell .password-dialog-close:hover:not(:disabled),[data-theme=dark] .workbench-shell .password-dialog-actions button:first-child:hover:not(:disabled){background:var(--surface-selected)!important}[data-theme=dark] .workbench-shell .password-dialog-input{color:var(--muted)!important;border-color:var(--line)!important;background:var(--canvas)!important}[data-theme=dark] .workbench-shell .password-dialog-input:focus-within{border-color:var(--accent-line)!important;background:var(--canvas)!important;box-shadow:0 0 0 3px #38bdf829!important}[data-theme=dark] .workbench-shell .password-dialog-input input::placeholder{color:var(--muted)!important}[data-theme=dark] .workbench-shell .password-dialog-note{color:var(--muted)!important;background:var(--soft)!important}[data-theme=dark] .hide-failed-dialog,[data-theme=dark] .workbench-shell .user-media-dialog{color:var(--ink)!important;border-color:var(--line)!important;background:var(--panel)!important;box-shadow:0 24px 80px #00000085!important}[data-theme=dark] .hide-failed-dialog::backdrop{background:#000000a3!important}[data-theme=dark] .workbench-shell .user-media-overlay{background:#000000a3!important}[data-theme=dark] :is(.hide-failed-dialog-close,.user-media-dialog button){color:var(--muted)!important}[data-theme=dark] :is(.hide-failed-dialog-close:hover:not(:disabled),.user-media-dialog button:hover:not(:disabled)){background:var(--surface-hover)!important;color:var(--ink)!important}[data-theme=dark] .hide-failed-dialog p,[data-theme=dark] .workbench-shell .user-media-empty,[data-theme=dark] .workbench-shell .user-media-item-info span,[data-theme=dark] .workbench-shell .user-media-usage>div:first-child span,[data-theme=dark] .workbench-shell .user-media-usage p{color:var(--muted)!important}[data-theme=dark] .hide-failed-dialog-cancel,[data-theme=dark] .workbench-shell .user-media-kind,[data-theme=dark] .workbench-shell .user-media-usage{color:var(--ink)!important;background:var(--soft)!important}[data-theme=dark] .hide-failed-dialog-cancel:hover:not(:disabled){background:var(--surface-selected)!important}[data-theme=dark] .hide-failed-dialog-confirm{color:#fff!important;background:var(--accent)!important}[data-theme=dark] .hide-failed-dialog-confirm:hover:not(:disabled){background:var(--accent-hover)!important}[data-theme=dark] .workbench-shell :is(.user-media-dialog>header,.user-media-list li){border-color:var(--line)!important}[data-theme=dark] .workbench-shell .user-media-track{background:var(--line)!important}[data-theme=dark] .workbench-shell .user-media-confirm .danger,[data-theme=dark] .workbench-shell .user-media-error{color:#f2aaaa!important}[data-theme=dark] .workbench-shell .user-media-confirm .danger{background:#342020!important}[data-theme=dark] .workbench-shell :is(.agent-reply-timing,.agent-task-meta,.agent-loading,.agent-composer-note,.agent-result-status,.agent-result-info){color:var(--muted)!important}[data-theme=dark] .workbench-shell :is(.agent-message-user>.agent-message-text,.agent-composer-quote,.agent-message-quote,.agent-empty button,.agent-confirm button,.agent-materials){color:var(--ink)!important;background:var(--soft)!important}[data-theme=dark] .workbench-shell :is(.agent-composer-quote,.agent-message-quote){color:var(--muted)!important}[data-theme=dark] .workbench-shell .agent-composer-quote>button{color:var(--muted)!important}[data-theme=dark] .workbench-shell .agent-composer-quote>button:hover:not(:disabled){background:var(--surface-selected)!important}[data-theme=dark] .workbench-shell .agent-empty{color:var(--muted)!important}[data-theme=dark] .workbench-shell .agent-empty h2{color:var(--ink)!important}[data-theme=dark] .workbench-shell .agent-empty p{color:var(--muted)!important}[data-theme=dark] .workbench-shell .agent-composer .prompt-field.is-file-dragging{outline-color:var(--accent-line)!important;background:var(--canvas)!important}[data-theme=dark] .workbench-shell .agent-materials{border-color:var(--line)!important;box-shadow:0 18px 42px #0000007a!important}[data-theme=dark] .workbench-shell .agent-materials small{color:var(--muted)!important}[data-theme=dark] .workbench-shell .agent-materials button:hover{background:var(--surface-hover)!important}[data-theme=dark] .workbench-shell .agent-task-error{color:#f2aaaa!important}[data-theme=dark] .workbench-shell .agent-older{color:var(--ink)!important;background:var(--soft)!important}[data-theme=dark] .workbench-shell .agent-older:hover{background:var(--surface-hover)!important}[data-theme=dark] .ai-prompt-modal{color:var(--ink)!important;border-color:var(--line)!important;background:var(--panel)!important;box-shadow:0 30px 90px #0000008f!important}[data-theme=dark] .ai-prompt-backdrop,[data-theme=dark] .ai-prompt-reference-preview-backdrop{background:#000000b8!important}[data-theme=dark] :is(.ai-prompt-header,.ai-prompt-footer,.ai-prompt-goal-panel,.ai-prompt-source-panel,.ai-prompt-result-panel,.ai-prompt-section-heading){border-color:var(--line)!important}[data-theme=dark] .ai-prompt-header,[data-theme=dark] .ai-prompt-footer{background:var(--panel)!important}[data-theme=dark] .ai-prompt-goal-panel,[data-theme=dark] .ai-prompt-source-panel{background:var(--soft)!important}[data-theme=dark] :is(.ai-prompt-heading-icon,.ai-prompt-close,.ai-prompt-goals>button,.ai-prompt-context span,.ai-prompt-working>span,.ai-prompt-cancel){color:var(--ink)!important;border-color:var(--line)!important;background:var(--surface-hover)!important}[data-theme=dark] .ai-prompt-close:hover{background:var(--surface-selected)!important}[data-theme=dark] .ai-prompt-heading p,[data-theme=dark] :is(.ai-prompt-section-heading>div>span,.ai-prompt-section-heading small,.ai-prompt-goals>button small,.ai-prompt-input-hint,.ai-prompt-references small,.ai-prompt-working p,.ai-prompt-footer>span){color:var(--muted)!important}[data-theme=dark] :is(.ai-prompt-goals>button strong,.ai-prompt-references strong,.ai-prompt-notes>strong,.ai-prompt-warnings>strong){color:var(--ink)!important}[data-theme=dark] .ai-prompt-goals>button.active{border-color:var(--accent-line)!important;background:var(--surface-selected)!important}[data-theme=dark] .ai-prompt-goals>button.active>span{border-color:var(--accent-sky)!important;background:var(--accent-sky)!important}[data-theme=dark] :is(.ai-prompt-original,.ai-prompt-result-editor){border-color:var(--line)!important;background:var(--canvas)!important}[data-theme=dark] :is(.ai-prompt-original textarea,.ai-prompt-result-editor textarea){color:var(--ink)!important}[data-theme=dark] :is(.ai-prompt-original textarea,.ai-prompt-result-editor textarea)::placeholder{color:var(--muted)!important}[data-theme=dark] .ai-prompt-reference-grid>button{border-color:var(--line)!important;background:var(--surface-hover)!important}[data-theme=dark] .ai-prompt-run,[data-theme=dark] .ai-prompt-apply{color:#fff!important;background:var(--accent)!important}[data-theme=dark] :is(.ai-prompt-run:hover:not(:disabled),.ai-prompt-apply:hover:not(:disabled)){background:var(--accent-hover)!important}[data-theme=dark] .ai-prompt-apply:disabled{color:#777!important;background:var(--soft)!important}[data-theme=dark] .ai-prompt-error{color:#f2aaaa!important;border-color:#6b3535!important;background:#342020!important}[data-theme=dark] .ai-prompt-notes{color:var(--muted)!important;border-color:var(--line)!important;background:var(--soft)!important}[data-theme=dark] .ai-prompt-warnings{color:#f1d58b!important;border-color:#765f2a!important;background:#332b17!important}[data-theme=dark] .workbench-shell :is(.timeline-skeleton-date,.timeline-skeleton-line,.timeline-skeleton-media){background:linear-gradient(110deg,#242424 8%,#303030 18%,#242424 33%)!important;background-size:200% 100%!important}[data-theme=dark] .workbench-shell .timeline-task-meta>p span{color:var(--muted)!important}[data-theme=dark] .workbench-shell .timeline-more-menu{color:var(--ink)!important;border-color:var(--line)!important;background:var(--panel)!important;box-shadow:0 18px 42px #0000007a!important}[data-theme=dark] .workbench-shell .timeline-more-menu button:hover{background:var(--surface-hover)!important}[data-theme=dark] .workbench-shell :is(.video-placeholder,.video-material img,.video-material video,.video-frame-card,.video-reference-media){color:var(--muted)!important;border-color:var(--line)!important;background:var(--soft)!important}[data-theme=dark] .workbench-shell .video-placeholder{background:linear-gradient(145deg,#242424,#1d1d1d)!important}[data-theme=dark] .workbench-shell .video-placeholder strong,[data-theme=dark] .workbench-shell .video-detail-heading strong{color:var(--ink)!important}[data-theme=dark] .workbench-shell .video-frame-card:hover,[data-theme=dark] .workbench-shell .video-frame-card:focus-within{background:var(--surface-hover)!important}[data-theme=dark] .workbench-shell .video-frame-remove{background:#303030!important}[data-theme=dark] .workbench-shell .video-frame-processing{color:var(--ink)!important;background:#1d1d1df0!important}[data-theme=dark] .workbench-shell .video-timeline-actions a:hover{background:var(--surface-hover)!important}[data-theme=dark] :is(.user-media-dialog,.hide-failed-dialog,.password-dialog,.ai-prompt-modal){color:var(--ink);border-color:var(--line);background:var(--panel)}[data-theme=dark] .workbench-shell .storage-manager{color:var(--ink)!important}[data-theme=dark] .workbench-shell .storage-manager-icon,[data-theme=dark] .workbench-shell .storage-metric-grid article.storage-reclaimable{color:var(--ink)!important;border-color:var(--line)!important;background:var(--soft)!important}[data-theme=dark] .workbench-shell :is(.storage-manager h1,.storage-overview-copy strong,.storage-metric-grid article,.storage-metric-grid article strong,.storage-cleanup-panel h2){color:var(--ink)!important}[data-theme=dark] .workbench-shell :is(.storage-manager-header p,.storage-cleanup-panel p,.storage-overview-copy>span,.storage-metric-grid article>span,.storage-overview-copy small,.storage-metric-grid small){color:var(--muted)!important}[data-theme=dark] .workbench-shell :is(.storage-overview-card,.storage-cleanup-panel,.storage-metric-grid article){border-color:var(--line)!important;background:var(--panel)!important;box-shadow:0 8px 30px #0000003d!important}[data-theme=dark] .workbench-shell .storage-metric-grid article.storage-reclaimable{background:var(--soft)!important}[data-theme=dark] .workbench-shell .storage-usage-track{background:var(--line)!important}[data-theme=dark] .workbench-shell .storage-usage-track>span{background:var(--accent-sky)!important}[data-theme=dark] .workbench-shell .storage-cleanup-panel .danger-button{color:#fff!important;background:#a34242!important}[data-theme=dark] .workbench-shell .storage-cleanup-panel .danger-button:hover:not(:disabled){background:#bd5050!important}[data-theme=dark] .workbench-shell .secondary-button{color:var(--ink)!important;border-color:var(--line)!important;background:var(--panel)!important}[data-theme=dark] .workbench-shell .secondary-button:hover:not(:disabled){border-color:#505050!important;background:var(--surface-hover)!important}[data-theme=dark] .workbench-shell .primary-button{color:#fff!important;border-color:var(--accent)!important;background:var(--accent)!important}[data-theme=dark] .workbench-shell .primary-button:hover:not(:disabled){background:var(--accent-hover)!important}[data-theme=dark] :is(button,a,input,textarea,select):focus-visible{outline-color:var(--focus-ring)!important}[data-theme=dark] .workbench-shell .sidebar-history-heading :is(button,a):hover{color:var(--ink)!important;background:var(--surface-hover)!important}[data-theme=dark] .workbench-shell .sidebar-history-thumb{color:var(--muted)!important;background:var(--soft)!important}[data-theme=dark] .workbench-shell .sidebar-histories{scrollbar-color:#555555 transparent!important}[data-theme=dark] .admin-shell :is(.admin-table th,.admin-table td,.admin-table td>strong,.admin-user-cell strong,.admin-task-cell strong,.admin-detail-grid strong,.admin-overview-history-value strong){color:var(--ink)!important}[data-theme=dark] .admin-shell :is(.admin-table th,.admin-table td,.admin-pagination,.admin-overview-history-ranges,.admin-overview-history-ranges button,.admin-pagination button,.admin-pagination-jump input){border-color:var(--line)!important;background:var(--panel)!important}[data-theme=dark] .admin-shell .admin-table tbody tr:hover td{background:var(--surface-hover)!important}[data-theme=dark] .admin-shell :is(.admin-table td,.admin-pagination,.admin-overview-history-toolbar,.admin-overview-history-value,.admin-pagination-jump label,.admin-user-cell small,.admin-cell-note,.admin-task-cell small,.admin-empty-cell){color:var(--muted)!important}[data-theme=dark] .admin-shell :is(.admin-user-cell>span,.admin-user-cell em,.admin-status-positive,.admin-status-negative,.admin-status-warning,.admin-status-neutral){border-color:var(--line)!important}[data-theme=dark] .admin-shell .admin-user-cell>span,[data-theme=dark] .admin-shell .admin-user-cell em,[data-theme=dark] .admin-shell .admin-status-positive{color:#9de2b2!important;background:#1d3b29!important}[data-theme=dark] .admin-shell :is(.admin-status-negative,.admin-action-warning.danger){color:#f2aaaa!important;background:#342020!important}[data-theme=dark] .admin-shell :is(.admin-status-warning,.admin-action-warning.positive){color:#f1d58b!important;background:#332b17!important}[data-theme=dark] .admin-shell .admin-status-neutral{color:var(--muted)!important;background:var(--soft)!important}[data-theme=dark] .admin-shell :is(.admin-row-actions button,.admin-inline-icon,.admin-icon-button,.admin-pagination button){color:var(--ink)!important;border-color:var(--line)!important;background:var(--panel)!important}[data-theme=dark] .admin-shell :is(.admin-row-actions button:hover:not(:disabled),.admin-inline-icon:hover,.admin-icon-button:hover,.admin-pagination button:hover:not(:disabled)){background:var(--surface-hover)!important}[data-theme=dark] .admin-shell .admin-dialog{color:var(--ink)!important;border-color:var(--line)!important;background:var(--panel)!important;box-shadow:0 26px 90px #0000008f!important}[data-theme=dark] .admin-shell :is(.admin-dialog>header,.admin-dialog>.admin-dialog-footer){border-color:var(--line)!important}[data-theme=dark] .admin-shell .admin-dialog>header h2{color:var(--ink)!important}[data-theme=dark] .admin-shell .admin-dialog>header p{color:var(--muted)!important}[data-theme=dark] .admin-shell .admin-overview-history-ranges button{color:var(--muted)!important}[data-theme=dark] .admin-shell .admin-overview-history-ranges button[aria-pressed=true]{color:#fff!important;background:var(--accent)!important}[data-theme=dark] .admin-shell :is(.admin-detail-grid,.admin-task-detail section,.admin-json-section){border-color:var(--line)!important;background:var(--soft)!important}[data-theme=dark] .admin-shell .admin-detail-grid>div{background:var(--panel)!important}[data-theme=dark] .admin-shell :is(.admin-detail-grid span,.admin-detail-grid small,.admin-task-detail section small){color:var(--muted)!important}[data-theme=dark] .admin-shell :is(.admin-task-detail section p,.admin-json-section p){color:#c6c6c6!important}[data-theme=dark] .admin-shell :is(.admin-task-detail pre,.admin-json-section pre){color:#d8d8d8!important;background:#20252b!important}[data-theme=dark] .admin-shell .admin-detail-danger,[data-theme=dark] .admin-shell .admin-task-error{border-color:#6b3535!important;background:#342020!important}[data-theme=dark] .admin-shell .admin-logs-model-list strong{color:var(--ink)!important}[data-theme=dark] .admin-shell .admin-logs-model-list small,[data-theme=dark] .admin-shell .admin-logs-model-cell>small{color:var(--muted)!important}[data-theme=dark] .admin-shell :is(.admin-logs-account-explorer,.admin-logs-account-column){background:var(--panel)!important}[data-theme=dark] .admin-shell .admin-logs-account-column+.admin-logs-account-column{border-color:var(--line)!important}
