@font-face{font-family:Noto Sans SC;src:url(/fonts/noto-sans-sc-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F}@font-face{font-family:Noto Sans SC;src:url(/fonts/noto-sans-sc-latin-700-normal.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F}@font-face{font-family:Noto Sans SC;src:url(/fonts/noto-sans-sc-chinese-simplified-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+4E00-9FFF,U+3000-303F,U+FF00-FFEF}@font-face{font-family:Noto Sans SC;src:url(/fonts/noto-sans-sc-chinese-simplified-700-normal.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+4E00-9FFF,U+3000-303F,U+FF00-FFEF}:root{color-scheme:light only;font-family:Noto Sans SC,sans-serif;color:#071515;background:#f7faf9;font-synthesis:none}*{box-sizing:border-box}html,body{color-scheme:light only;background:#f7faf9;color:#071515}body{margin:0;min-width:320px}input,textarea,select,button{color-scheme:light}button,a{font:inherit}button{cursor:pointer}.auth-shell{--bg: #f7faf9;--surface: #fff;--text: #071515;--muted: #536466;--line: rgba(7,21,21,.12);--primary: #ff493d;--accent: #2dbdbb;--accent-dark: #087b78;--accent-soft: #e8f9f7;min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--bg);color:var(--text)}.auth-shell[data-accent=mint]{--primary: #149b99;--accent: #2dbdbb;--accent-dark: #087b78;--accent-soft: #e8f9f7}.auth-shell[data-accent=gold]{--primary: #c9951e;--accent: #d9a62e;--accent-dark: #8a650d;--accent-soft: #fff7dd}.auth-shell[data-accent] .compact-auth-brand i{background:var(--accent)}.auth-shell[data-accent] .form-error{color:var(--accent-dark)!important}.auth-panel{width:min(420px,100%);display:grid;gap:16px;padding:34px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 18px 46px #1f292417}.compact-auth-brand{display:grid;grid-template-columns:42px auto 1fr;align-items:center;gap:10px;min-height:44px}.compact-auth-brand .login-user-brand-mark{width:42px;height:38px;object-fit:contain}.compact-auth-brand span{color:var(--text);letter-spacing:.02em;font-size:15px;font-weight:800;white-space:nowrap}.compact-auth-brand i{display:block;height:2px;margin-left:2px;background:#2dbdbb}.auth-panel p{color:var(--muted);line-height:1.55}.auth-panel form{display:grid;gap:14px}.auth-panel label{display:grid;gap:7px;color:var(--muted);font-size:15px}.auth-panel input{min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text)}.auth-panel .primary{min-height:44px}.form-error{color:#b86861!important}.theme-link{justify-self:start;border:0;color:var(--muted);background:transparent}.auth-overlay{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;overflow:auto;background:#07151575}.auth-overlay .auth-shell{min-height:0;padding:0;background:transparent}.auth-panel-top{display:flex;align-items:center;justify-content:flex-end;gap:12px}.guest-empty .primary{min-width:132px;margin-top:6px}.brand-empty .guest-empty,.task-empty .guest-empty{min-height:0;padding:0;border:0}.boot-progress{position:absolute;z-index:8;top:0;left:0;width:38%;height:2px;background:var(--primary);animation:boot-slide 1.1s ease infinite}@keyframes boot-slide{0%{transform:translate(-120%)}to{transform:translate(320%)}}.auth-dismiss{justify-self:end;min-height:30px;font-size:15px}.auth-locale-picker{justify-self:end;min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--surface);font:inherit;font-size:15px;cursor:pointer}.auth-locale-picker:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 22%,transparent);outline-offset:2px}.auth-panel.register-panel{width:min(520px,100%)}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:3px;border:1px solid var(--line);border-radius:7px;background:color-mix(in srgb,var(--text) 3%,var(--surface))}.auth-tabs button{min-height:38px;border:0;border-radius:5px;color:var(--muted);background:transparent}.auth-tabs button.active{color:var(--text);background:var(--surface);box-shadow:0 1px 5px #07151517;font-weight:700}.registration-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-password-input{display:grid;grid-template-columns:minmax(0,1fr) 42px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.auth-panel .auth-password-input input{min-width:0;border:0}.auth-password-input button{display:grid;place-items:center;border:0;color:var(--muted);background:transparent}.verification-row{display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:end;gap:9px}.verification-row .secondary{min-height:44px}.auth-panel label small{margin-left:4px;font-size:14px}.auth-notice{margin:0;font-size:15px}.form-success{margin:0;color:#087b78!important;font-size:15px}.auth-panel.register-panel .registration-grid{grid-template-columns:1fr}@media(max-width:520px){.auth-shell{place-items:start center;padding:11px}.auth-panel{padding:21px 17px}.registration-grid,.verification-row{grid-template-columns:1fr}.verification-row .secondary{width:100%}}.access-price{color:var(--primary);font-size:28px}.payment-link{display:grid;place-items:center;min-height:44px;color:#fff;text-decoration:none}.payment-card{display:grid;justify-items:center;gap:14px;padding:16px;border:1px solid var(--line);border-radius:7px;background:color-mix(in srgb,var(--primary) 4%,var(--surface))}.payment-qr{width:264px;height:264px;image-rendering:pixelated;background:#fff}.payment-card .payment-link{width:100%;color:var(--text)}.topup-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;margin-top:22px;padding:22px 24px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.topup-panel h2{margin-top:7px;color:var(--primary)}.topup-panel p{margin-top:8px;color:var(--muted);font-size:15px}.topup-form{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.topup-form input,.topup-form select{min-height:42px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);padding:0 10px}.amount-option{display:inline-flex;min-height:34px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text);line-height:1.2}.topup-quote{min-width:70px;color:var(--primary)}.topup-order{display:grid;justify-items:center;gap:9px;color:var(--muted);font-size:15px}.topup-qr{width:220px;height:220px}.topup-success{display:flex;align-items:center;gap:12px;min-width:330px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:7px;background:color-mix(in srgb,var(--accent) 10%,var(--surface));animation:topup-success-in .28s ease-out both}.topup-success>div{display:grid;gap:4px;min-width:0}.topup-success strong{color:var(--accent-dark, #149b99)}.topup-success small{color:var(--muted)}.success-mark{display:grid;flex:0 0 auto;place-items:center;width:30px;height:30px;border-radius:50%;color:#fff;background:var(--accent);font-weight:800;animation:success-mark-pop .36s cubic-bezier(.2,.8,.2,1) both}.topup-success .secondary{margin-left:auto;white-space:nowrap}.upload-button{position:relative;cursor:pointer}.upload-button input{position:absolute;width:1px;height:1px;opacity:0}.danger-action{color:var(--danger, #b86861)}.project-rich-row{justify-content:flex-start}.project-cover{flex:0 0 auto;width:88px;height:56px;border-radius:5px;object-fit:cover;background:var(--surface-soft)}.project-cover-empty{display:grid;place-items:center;color:var(--muted);font-size:14px;font-weight:800}.project-meta{flex:1;min-width:0}.brief-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;margin-top:22px}.brief-main,.brief-summary{border:1px solid var(--line);border-radius:7px;background:var(--surface)}.brief-main{padding:24px}.brief-main>h2{margin:12px 0 22px}.brief-heading{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:15px}.brief-heading a,.inline-link{color:var(--primary);text-decoration:none}.brief-form,.brief-form label,.brief-summary,.brief-summary label{display:grid;gap:8px}.brief-form{gap:18px}.brief-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.brief-form input,.brief-form textarea,.brief-summary input,.brief-summary select{width:100%;padding:10px 11px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);resize:vertical}.brief-summary{align-self:start;gap:18px;padding:20px}.brief-summary small{color:var(--muted);line-height:1.5}.save-success{color:var(--accent-dark, #149b99);font-size:15px}.reference-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:4px}.reference-head>div{display:grid;gap:5px}.reference-head small{color:var(--muted)}.reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.reference-grid figure{min-width:0;margin:0}.reference-grid img{width:100%;aspect-ratio:4 / 3;border-radius:5px;object-fit:cover}.reference-grid figcaption{overflow:hidden;margin-top:5px;color:var(--muted);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.director-page{margin-top:22px}.director-heading,.director-error,.director-loading,.director-content>section,.director-two>section{border:1px solid var(--line);border-radius:7px;background:var(--surface)}.director-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px}.director-heading>div{display:grid;gap:7px}.director-heading a{color:var(--primary);font-size:15px;text-decoration:none}.director-heading span{color:var(--muted);font-size:15px}.director-error,.director-loading{display:flex;align-items:center;gap:14px;margin-top:14px;padding:16px 20px}.director-error p{flex:1;color:var(--danger, #b86861)}.director-loading{display:grid;justify-items:center;min-height:220px}.director-loading span{width:28px;height:28px;border:3px solid var(--line);border-top-color:var(--primary);border-radius:50%;animation:director-spin .8s linear infinite}.director-loading small{color:var(--muted)}.director-content{display:grid;gap:14px;margin-top:14px}.director-content>section,.director-two>section{padding:20px}.director-content h3{margin:7px 0 10px}.director-content p{color:var(--muted);line-height:1.7;white-space:pre-wrap}.director-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.storyboard-list{display:grid;gap:8px}.storyboard-list article{display:flex;gap:12px;padding:12px;border-top:1px solid var(--line)}.storyboard-list article>strong{display:grid;flex:0 0 auto;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;background:var(--primary)}.storyboard-list article div{display:grid;gap:5px}.storyboard-list span,.storyboard-list small{color:var(--muted);font-size:15px}.director-footer{display:flex;justify-content:flex-end;gap:10px;padding:6px 0 24px}.director-footer a{text-decoration:none}.director-customer-view{gap:14px}.director-customer-summary{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:32px;align-items:stretch;padding:26px 28px!important;border-color:#b9e7e1!important;background:#eefaf8!important;box-shadow:0 10px 24px #2dbdbb14}.director-summary-main{display:grid;align-content:start;min-width:0}.director-summary-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.director-summary-status{padding:5px 9px;border-radius:999px;color:#087b78;background:#d9f3ef;font-size:14px;font-weight:700}.director-customer-summary h3{margin:14px 0 12px;color:#173332;font-size:24px;line-height:1.3}.director-summary-main>p{max-width:760px;margin:0;color:#365653;font-size:15px;line-height:1.85;white-space:normal}.director-output-panel{display:grid;align-content:start;gap:12px;padding:18px;border:1px solid #c5e8e3;border-radius:12px;background:#ffffffc7}.director-output-panel>span{color:#149b99;font-size:14px;font-weight:700}.director-output-panel>strong{color:#173332;font-size:18px;line-height:1.3}.director-output-panel>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:11px;border-top:1px solid #dcefeb}.director-output-panel b{color:#68817e;font-size:15px;font-weight:600}.director-output-panel em{padding:4px 8px;border-radius:6px;color:#087b78;background:#e7f8f5;font-size:15px;font-style:normal;font-weight:700}.director-footer{min-height:46px;align-items:center;padding:0 2px 24px}@media(max-width:760px){.director-customer-summary{grid-template-columns:1fr;gap:15px}.director-output-panel{grid-template-columns:1fr 1fr;align-items:center}.director-output-panel>span,.director-output-panel>strong{grid-column:1 / -1}.director-output-panel>div{padding-top:0;border-top:0}}@media(max-width:560px){.director-customer-summary{padding:15px!important}.director-customer-summary h3{font-size:14px}.director-summary-main>p{font-size:10px}.director-summary-topline{align-items:flex-start;flex-direction:column}.director-output-panel{grid-template-columns:1fr}.director-output-panel>span,.director-output-panel>strong{grid-column:auto}.director-output-panel>div{padding-top:8px;border-top:2px solid #dcefeb}.director-footer{align-items:stretch;flex-direction:column-reverse}.director-footer>*{width:100%}}@keyframes director-spin{to{transform:rotate(360deg)}}.director-editor{display:grid;gap:18px;margin-top:14px;padding:22px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.editor-head,.shot-editor-head,.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-head>div{display:grid;gap:6px}.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.editor-grid label,.shot-editor-grid label{display:grid;gap:7px;color:var(--muted);font-size:15px}.editor-grid input,.editor-grid textarea,.shot-editor-grid input,.shot-editor-grid textarea{width:100%;padding:10px 11px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);resize:vertical}.editor-grid small{justify-self:end;color:var(--muted)}.storyboard-editor{display:grid;gap:10px}.storyboard-editor article{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:6px}.shot-editor-grid{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px}.shot-editor-grid label:nth-child(n+3){grid-column:span 2}.danger-link{border:0;color:var(--danger, #b86861);background:transparent}.editor-footer{justify-content:flex-end}.editor-grid .segment-prompt-editor{grid-column:span 2;padding:14px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft)}@keyframes topup-success-in{0%{opacity:0;transform:translateY(5px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes success-mark-pop{0%{transform:scale(.5);opacity:0}70%{transform:scale(1.12);opacity:1}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.topup-success,.success-mark,.director-loading span{animation:none}}.shell{--bg: #f7faf9;--surface: #fff;--text: #071515;--muted: #536466;--line: rgba(7,21,21,.12);--primary: #ff493d;--accent: #2dbdbb;--accent-dark: #087b78;--accent-soft: #e8f9f7;position:relative;min-height:100vh;display:grid;grid-template-columns:222px minmax(0,1fr);background:var(--bg);color:var(--text)}.shell[data-accent=mint]{--primary: #149b99;--accent: #2dbdbb;--accent-dark: #087b78;--accent-soft: #e8f9f7}.shell[data-accent=gold]{--primary: #c9951e;--accent: #d9a62e;--accent-dark: #8a650d;--accent-soft: #fff7dd}.shell[data-accent] .director-customer-summary{border-color:color-mix(in srgb,var(--accent) 40%,var(--line))!important;background:color-mix(in srgb,var(--accent) 10%,var(--surface))!important;box-shadow:0 10px 24px color-mix(in srgb,var(--accent) 10%,transparent)}.shell[data-accent] .director-customer-summary h3,.shell[data-accent] .director-output-panel>strong{color:var(--accent-dark)}.shell[data-accent] .director-summary-main>p{color:color-mix(in srgb,var(--accent-dark) 72%,var(--text))}.shell[data-accent] .director-summary-status,.shell[data-accent] .director-output-panel em{color:var(--accent-dark);background:var(--accent-soft)}.shell[data-accent] .director-output-panel{border-color:color-mix(in srgb,var(--accent) 40%,var(--line));background:color-mix(in srgb,var(--accent) 4%,var(--surface))}.shell[data-accent=coral] .legacy-dashboard,.shell[data-accent=mint] .legacy-dashboard,.shell[data-accent=gold] .legacy-dashboard{--legacy-coral: var(--primary);--legacy-mint: var(--accent)}.shell[data-accent=coral] .create-workspace .brief-card-primary,.shell[data-accent=mint] .create-workspace .brief-card-primary,.shell[data-accent=gold] .create-workspace .brief-card-primary{border-color:color-mix(in srgb,var(--accent) 30%,var(--line));background:color-mix(in srgb,var(--accent) 6%,var(--surface));box-shadow:0 10px 26px color-mix(in srgb,var(--accent) 10%,transparent)}.shell[data-accent] .create-workspace .brief-card-head h1,.shell[data-accent] .create-workspace .brief-card-head h2,.shell[data-accent] .create-workspace .brief-project-pill,.shell[data-accent] .create-workspace .brief-reference-summary strong{color:var(--accent-dark)}.shell[data-accent] .create-workspace .brief-project-pill{border-color:color-mix(in srgb,var(--accent) 42%,var(--line));background:var(--accent-soft)}.shell[data-accent] .create-workspace .brief-source-picker .project-brand-selector select,.shell[data-accent] .create-workspace .brand-picker-trigger{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));color:var(--accent-dark)}.shell[data-accent] .create-workspace .brand-picker-trigger b,.shell[data-accent] .create-workspace .brief-upload-compact{color:var(--accent-dark)}.shell[data-accent] .create-workspace .brief-upload-compact,.shell[data-accent] .create-workspace .brand-picker-menu button:hover,.shell[data-accent] .create-workspace .brand-picker-menu button.active{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));background:var(--accent-soft)}.shell[data-accent] .create-workspace .brief-output-card .aspect-opt.active,.shell[data-accent] .create-workspace .duration-opt.active{border-color:var(--accent);color:var(--accent-dark);background:color-mix(in srgb,var(--accent) 14%,var(--surface));box-shadow:0 3px 9px color-mix(in srgb,var(--accent) 14%,transparent)}.shell[data-accent] .create-workspace .brief-output-card .aspect-opt.active b{color:var(--accent-dark)}.shell[data-accent] .create-workspace .save-success,.shell[data-accent] .create-workspace .brief-autosave{color:var(--accent-dark)!important}.shell[data-accent] .admin-status.active,.shell[data-accent] .service-metric-icon,.shell[data-accent] .credit-positive{color:var(--accent-dark)}.shell[data-accent] .admin-status.active,.shell[data-accent] .service-metric-icon{background:var(--accent-soft)}.sidebar{display:flex;min-height:100vh;flex-direction:column;gap:26px;padding:26px 16px 18px;border-right:1px solid var(--line);background:var(--surface)}.brand-link{display:inline-flex;align-items:center;gap:0;width:fit-content;min-height:64px;padding:0 4px 30px;text-decoration:none}.brand-wordmark{flex:0 0 auto;width:154px;height:54px;object-fit:contain;object-position:left center}nav{display:grid;gap:4px}.nav-icon{display:none}nav a,.sidebar-foot button{padding:11px 13px;border:0;border-radius:9px;color:var(--muted);background:transparent;text-align:left;text-decoration:none}nav a:hover,nav a.active,.sidebar-foot button:hover{color:var(--text);background:color-mix(in srgb,var(--accent) 12%,var(--surface))}.admin-nav{padding-top:18px;border-top:1px solid var(--line)}.admin-nav>span{padding:0 13px 7px;color:var(--muted);font-size:14px;letter-spacing:.08em}.admin-mobile-nav{display:none}.sidebar-foot{display:grid;gap:8px;margin-top:auto;color:var(--muted);font-size:13px}.sidebar-credits{display:none;color:inherit;text-decoration:none}.sidebar-foot .sidebar-login,.sidebar-foot .sidebar-logout{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:0 12px;border-radius:9px;font-weight:700;text-align:center}.sidebar-foot .sidebar-login{min-height:42px;border:0;color:#fff;background:var(--primary)}.sidebar-foot .sidebar-login:hover{color:#fff;background:color-mix(in srgb,var(--primary) 88%,#000)}.sidebar-foot .sidebar-logout{min-height:38px;border:1px solid var(--line);color:var(--muted);background:var(--surface)}.sidebar-foot .sidebar-logout:hover{color:var(--text);border-color:color-mix(in srgb,var(--accent) 40%,var(--line));background:color-mix(in srgb,var(--accent) 8%,var(--surface))}.content{padding:28px 40px 64px}header,.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.global-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-height:24px;margin:-12px 0 8px}.global-toolbar .credits{margin-right:12px}.brand-picker{position:relative;display:grid;width:100%;max-width:100%;min-width:0}.brand-picker.is-open{z-index:80}.brand-picker-trigger{display:flex;width:100%;max-width:100%;min-height:38px;height:auto;align-items:flex-start;justify-content:space-between;gap:10px;padding:8px 12px;border:2px solid #bfe1dd;border-radius:9px;color:#173332;background:#fff;box-shadow:0 2px 7px #24aaa70f;font-size:15px;text-align:left;overflow:visible;transition:.15s ease}.brand-picker-trigger:hover,.brand-picker.is-open .brand-picker-trigger{border-color:#24aaa7;background:#fbfffe}.brand-picker-trigger:focus-visible{border-color:#24aaa7;outline:4px solid rgba(36,170,167,.12)}.brand-picker-trigger span{flex:1 1 auto;min-width:0;overflow:visible;overflow-wrap:anywhere;word-break:break-word;white-space:normal;line-height:1.4}.brand-picker-trigger b{flex:none;color:#149b99;font-size:18px;line-height:1}.brand-picker-menu{position:static;z-index:80;display:grid;gap:4px;width:100%;max-width:100%;margin-top:6px;max-height:none;overflow:visible;padding:6px;border:1px solid #bfe1dd;border-radius:10px;background:#fff;box-shadow:0 12px 24px #184a4629}.brand-picker-menu button{display:flex;width:100%;min-height:35px;height:auto;align-items:flex-start;justify-content:space-between;gap:9px;padding:8px 10px;border:0;border-radius:7px;color:#365653;background:transparent;font-size:15px;text-align:left;overflow:visible}.brand-picker-menu button:hover,.brand-picker-menu button.active{color:#087b78;background:#e8f8f6}.brand-picker-menu button span{flex:1 1 auto;min-width:0;overflow:visible;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.4}.brand-picker-menu button b{flex:none;color:#24aaa7;font-size:15px}.locale-picker{width:auto;max-width:100%}.locale-picker .brand-picker-trigger{min-height:30px;padding:6px 10px;border-radius:999px;font-size:15px;font-weight:700}.global-toolbar .locale-picker{width:auto;max-width:100%}.global-toolbar .locale-picker{position:relative}.global-toolbar .locale-picker .brand-picker-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:160;width:max-content;min-width:100%;max-width:220px;margin:0;padding:4px;gap:2px;border:1px solid #bfe1dd;border-radius:9px;background:#fff;box-shadow:0 12px 24px #184a4629}.global-toolbar .locale-picker .brand-picker-menu button{min-height:32px;align-items:center;padding:6px 9px;border-radius:6px;font-size:14px}.global-toolbar .locale-picker .brand-picker-menu button .menu-select-label{white-space:nowrap!important}@media(max-width:760px){.sidebar-foot{overflow:visible}.sidebar-foot .locale-picker{position:relative}.sidebar-foot .locale-picker .brand-picker-menu{position:absolute;top:calc(100% + 5px);right:0;z-index:160;width:max-content;min-width:100%;max-width:190px;margin:0;padding:4px;gap:2px;border:1px solid #bfe1dd;border-radius:9px;background:#fff;box-shadow:0 12px 24px #184a4629}.sidebar-foot .locale-picker .brand-picker-menu button{min-height:30px;align-items:center;padding:6px 8px;border-radius:6px;font-size:10px}.sidebar-foot .locale-picker .brand-picker-menu button .menu-select-label{white-space:nowrap!important}}.eyebrow{color:var(--muted);font-size:15px}h1,h2,h3,p{margin:0}h1{margin-top:7px;font-size:24px}h2{font-size:18px}.toolbar{display:flex;align-items:center;gap:9px}.credits{margin-right:12px;color:var(--muted);font-size:15px}.accent{width:22px;height:22px;border:2px solid var(--surface);border-radius:50%;box-shadow:0 0 0 1px var(--line)}.accent.coral{background:#ff493d}.accent.mint{background:#2dbdbb}.accent.gold{background:#c9951e}.summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:28px}.summary>div,.page-section{border:1px solid var(--line);border-radius:7px;background:var(--surface)}.summary>div{display:grid;gap:9px;padding:18px}.summary span,.summary strong{color:var(--muted)}.summary strong{color:var(--primary);font-size:24px}.page-section{margin-top:22px;padding:24px}.section-head p{margin-top:7px;color:var(--muted);font-size:15px}.primary,.secondary{display:inline-flex;min-height:40px;align-items:center;justify-content:center;padding:0 16px;border:1px solid transparent;border-radius:6px;font-weight:700;line-height:1.2;vertical-align:middle}.primary{color:#fff;background:var(--primary)}.secondary{color:var(--text);border-color:var(--line);background:var(--surface)}.empty{display:flex;align-items:center;gap:28px;min-height:280px;padding:30px 8px}.empty img{width:280px;aspect-ratio:4 / 3;object-fit:cover;border-radius:6px}.empty p{max-width:430px;margin:9px 0 18px;color:var(--muted);line-height:1.6}.admin-video-advanced{min-width:0}.admin-video-advanced>summary{min-height:44px;padding:12px 16px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--surface);cursor:pointer;font-weight:600}.admin-video-advanced[open]>summary{margin-bottom:16px}.admin-overview-actions{display:flex;flex-wrap:wrap;gap:8px}.admin-daily-videos{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.admin-daily-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:14px 17px;border-bottom:1px solid var(--line)}.admin-daily-filters label{display:grid;gap:5px;color:var(--muted);font-size:14px}.admin-daily-filters input,.admin-daily-filters select{min-height:40px;padding:7px 10px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);font:inherit}.admin-daily-filters button{min-height:40px}.admin-daily-empty{padding:20px 17px;color:var(--muted)}.admin-daily-list{display:grid}.admin-daily-item{display:grid;gap:9px;min-width:0;padding:16px 17px;border-bottom:1px solid var(--line)}.admin-daily-item-head{display:flex;justify-content:space-between;align-items:start;gap:14px}.admin-daily-item-head>div{display:grid;gap:5px;min-width:0}.admin-daily-item-head strong{overflow-wrap:anywhere;font-size:17px}.admin-daily-item-head small,.admin-daily-meta,.admin-daily-unavailable{color:var(--muted);font-size:14px}.admin-daily-item-head small{overflow-wrap:anywhere}.admin-daily-status{flex:none;padding:5px 9px;border-radius:5px;font-size:13px;font-weight:700}.admin-daily-status.done{color:#087b78;background:#e8f9f7}.admin-daily-status.problem{color:#a44942;background:#fff0ee}.admin-daily-status.working{color:#775d13;background:#fff5d7}.admin-daily-description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--text);font-size:14px;line-height:1.55;overflow-wrap:anywhere}.admin-daily-player{display:grid;justify-items:start;gap:10px}.admin-daily-player summary{width:fit-content;min-height:40px;padding:9px 12px;border:1px solid var(--line);border-radius:6px;cursor:pointer;color:var(--primary);font-weight:700}.admin-daily-player video{display:block;width:min(100%,560px);max-height:420px;margin:10px 0;background:#111}.admin-daily-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;padding:14px}@media(max-width:620px){.admin-daily-filters label{flex:1 1 140px;min-width:0}.admin-daily-filters input,.admin-daily-filters select{width:100%;min-height:44px}.admin-daily-filters button{flex:1;min-height:44px}.admin-daily-item-head{align-items:start}.admin-daily-item{padding:14px}}.admin-video-grid{display:grid;gap:18px}.admin-video-panel{overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.admin-video-panel .admin-filter{padding:16px 18px}.admin-video-result,.admin-video-account{display:grid;gap:12px;padding:0 18px 18px}.admin-video-preview{width:min(100%,720px);max-height:420px;background:#111}.admin-prompt{max-height:180px;overflow:auto;white-space:pre-wrap;word-break:break-word;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft);font-size:15px;line-height:1.55}.admin-video-job{display:grid;gap:10px;padding:14px 0;border-top:1px solid var(--line)}.admin-video-job header{display:grid;gap:4px}.admin-video-job small,.admin-video-result small{color:var(--muted)}.admin-video-segment{display:grid;gap:8px}.admin-page{display:grid;gap:20px;margin-top:22px}.admin-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.admin-page-head h2{margin-top:6px;font-size:20px}.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.admin-metrics>div{display:grid;gap:10px;padding:18px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.admin-metrics span{color:var(--muted);font-size:15px}.admin-metrics strong{color:var(--primary);font-size:24px}.admin-filter{display:flex;gap:8px}.admin-filter input{width:290px;min-height:40px;padding:0 11px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text)}.admin-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.admin-table{width:100%;border-collapse:collapse;font-size:15px}.admin-table th,.admin-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.admin-table th{color:var(--muted);background:color-mix(in srgb,var(--accent) 5%,var(--surface));font-weight:600}.admin-table td:first-child strong,.admin-table td:first-child small{display:block}.admin-table td:first-child small{margin-top:4px;color:var(--muted)}.admin-status{display:inline-flex;padding:3px 7px;border-radius:4px;font-size:14px}.admin-status.active{color:#087b78;background:#e8f9f7}.admin-status.disabled{color:#a44942;background:#fff0ee}.table-actions{display:flex;gap:6px}.table-actions .secondary{min-height:32px;padding:0 10px;font-size:15px}.admin-table code{color:var(--muted);font-size:14px}@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{position:sticky;z-index:2;top:0;min-height:auto;flex-direction:row;align-items:center;overflow:auto;padding:7px 11px}.brand-link{min-height:35px;padding:0}.brand-mark-lockup{width:35px;height:35px}.brand-lockup-copy{display:none}.sidebar-foot{display:flex;margin:0 0 0 auto;white-space:nowrap}.sidebar-foot span{display:none}nav{display:flex}.content{padding:19px 13px 45px}.summary{grid-template-columns:1fr}.empty{align-items:flex-start;flex-direction:column}.empty img{width:100%;max-width:357px}.topup-panel{grid-template-columns:1fr}.topup-form,.project-create-form{align-items:stretch;flex-direction:column}.project-create-form input{width:100%}.project-row{align-items:flex-start;flex-direction:column}}@media(max-width:760px){.brief-layout,.director-two,.editor-grid,.shot-editor-grid,.brief-grid{grid-template-columns:1fr}.reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-rich-row{width:100%}.project-row-actions{width:100%;grid-auto-flow:row;justify-items:start}.project-cover{width:100%;height:auto;aspect-ratio:16 / 9}.director-heading,.director-footer,.editor-footer{align-items:stretch;flex-direction:column}.shot-editor-grid label:nth-child(n+3){grid-column:auto}}.admin-status.revoked{color:#a44942;background:#fff0ee}.admin-status.required{color:var(--muted);background:var(--surface-soft)}@media(max-width:900px){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page-head{align-items:stretch;flex-direction:column}.admin-filter input{width:100%}}.result-page{display:grid;gap:18px;margin-top:22px}.result-head{display:flex;align-items:end;justify-content:space-between;gap:18px}.result-head>div{display:grid;gap:7px}.result-head a{color:var(--primary);font-size:15px;text-decoration:none}.result-video{width:min(100%,960px);max-height:70vh;border-radius:7px;background:#071515}.result-head-actions{display:flex!important;grid-auto-flow:column;align-items:center;gap:8px!important}.result-head-actions .secondary{gap:7px}.wait-card{display:grid;gap:14px;width:min(100%,640px);padding:22px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.wait-card-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.wait-card-head span,.wait-card p{color:var(--muted)}.wait-bar{height:8px;overflow:hidden;border-radius:99px;background:color-mix(in srgb,var(--primary) 12%,var(--line))}.wait-bar i{display:block;height:100%;border-radius:inherit;background:var(--primary);transition:width .6s ease}.wait-steps{display:grid;gap:8px;margin:0;padding:0;list-style:none}.wait-steps li{color:var(--muted)}.wait-steps li.is-done{color:var(--text)}.wait-steps li.is-current{color:var(--primary)}.result-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.result-workspace .result-video{width:100%}.result-inspector{display:grid;gap:16px;padding:20px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.result-inspector dl{display:grid;gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:var(--line)}.result-inspector dl>div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px;padding:10px 11px;background:var(--surface)}.result-inspector dt{color:var(--muted);font-size:15px}.result-inspector dd{margin:0;text-align:right;overflow-wrap:anywhere}.result-download{text-decoration:none}.result-inspector>p{color:var(--muted);font-size:15px;line-height:1.6}@media(max-width:900px){.result-head{align-items:stretch;flex-direction:column}.result-head-actions{display:flex!important;flex-wrap:wrap}.result-workspace{grid-template-columns:1fr}}.referral-input{display:grid;gap:7px;color:var(--muted);font-size:15px}.referral-input input{text-transform:uppercase}.referral-input small{color:var(--accent-dark, #149b99)}.referral-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px;padding:22px 24px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.referral-panel h2{margin-top:7px;color:var(--primary);letter-spacing:.08em}.referral-panel p{margin-top:7px;color:var(--muted)}.referral-actions{display:flex;align-items:center;gap:8px}.referral-actions small{margin-left:6px;color:var(--muted)}.account-version{padding:22px 2px 0;color:var(--muted);font-size:15px;text-align:right}.credit-ledger-panel{display:grid;gap:14px;padding:20px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.credit-ledger-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.credit-ledger-head h2{margin-top:5px;font-size:18px}.credit-ledger-head .secondary{display:inline-flex;align-items:center;gap:7px;min-height:36px}.credit-ledger-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:6px}.credit-ledger-table{width:100%;border-collapse:collapse;font-size:15px}.credit-ledger-table th,.credit-ledger-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.credit-ledger-table th{color:var(--muted);background:var(--surface-soft);font-weight:600}.credit-ledger-table tbody tr:last-child td{border-bottom:0}.credit-positive{color:#087b78;font-weight:700}.credit-negative{color:#a44942;font-weight:700}.credit-ledger-empty{display:grid;min-height:120px;place-items:center;color:var(--muted);border:1px dashed var(--line);border-radius:6px}.credit-ledger-more{justify-self:center}.credit-ledger-panel .form-error{margin:0}@media(max-width:620px){.credit-ledger-panel{padding:12px}.credit-ledger-head{align-items:stretch;flex-direction:column}.credit-ledger-head .secondary{width:fit-content}.credit-ledger-table th,.credit-ledger-table td{padding:7px 8px}}.tier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tier-editor{display:grid;grid-template-columns:minmax(120px,1fr) repeat(2,minmax(120px,.7fr)) auto;align-items:end;gap:12px;padding:16px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.tier-editor>div,.tier-editor label{display:grid;gap:6px}.tier-editor small,.tier-editor label{color:var(--muted);font-size:15px}.tier-editor input{min-height:38px;padding:0 9px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text)}@media(max-width:900px){.tier-grid,.tier-editor{grid-template-columns:1fr}.referral-panel,.referral-actions{align-items:stretch;flex-direction:column}}.legacy-dashboard{--legacy-coral: #ff493d;--legacy-mint: #20aaa7;--legacy-ink: #20383c;width:100%;max-width:1560px;margin:0 auto;padding:8px 4px 46px}.legacy-dashboard-hero{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:64px;align-items:center;min-height:0;padding:18px 0 42px}.legacy-hero-copy h1{display:grid;margin:0 0 16px;color:#14252b;font-size:32px;font-weight:800;line-height:1.14;letter-spacing:0}.legacy-hero-copy h1 span,.legacy-hero-copy h1 strong{white-space:nowrap}.legacy-hero-copy h1 em{color:var(--legacy-coral);font-style:normal}.legacy-hero-copy h1 strong{color:var(--legacy-mint);font:inherit}.legacy-hero-copy>p{position:relative;max-width:650px;margin:0 0 30px;padding-bottom:18px;color:#718187;font-size:18px;line-height:1.8}.legacy-hero-copy>p:after{content:"";position:absolute;bottom:0;left:0;width:128px;height:2px;background:linear-gradient(90deg,var(--legacy-coral) 0 46%,var(--legacy-mint) 46% 82%,#8dd9e7 82%)}.legacy-hero-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,730px);margin:0;padding:0;overflow:hidden;border:1px solid rgba(57,127,88,.16);border-radius:8px;background:#fff;list-style:none;box-shadow:0 10px 28px #1f3d2b0f}.legacy-hero-steps li{display:grid;grid-template-columns:38px minmax(0,1fr) 17px;gap:10px;align-items:center;min-height:90px;padding:14px 16px}.legacy-hero-steps li+li{border-left:1px solid rgba(57,127,88,.13)}.legacy-hero-steps li:last-child{grid-template-columns:38px minmax(0,1fr)}.legacy-hero-steps li>svg{color:#b2bbad}.legacy-step-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(57,127,88,.28);border-radius:7px;color:#2d7d56;background:#f1f8f1}.legacy-hero-steps b,.legacy-hero-steps small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legacy-hero-steps b{font-size:15px}.legacy-hero-steps small{margin-top:5px;color:#829096;font-size:15px}.legacy-engine-visual{display:grid;min-height:390px;place-items:center}.legacy-engine-window{position:relative;width:min(100%,640px);aspect-ratio:1.36 / 1;overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 20px 48px #1f3d2b21}.legacy-engine-window img{width:100%;height:100%;object-fit:cover}.legacy-engine-label{position:absolute;top:17px;left:17px;display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid rgba(255,255,255,.65);border-radius:6px;color:#1f5e3d;background:#fafff8e6;font-size:15px;font-weight:700}.legacy-home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.legacy-home-action{display:grid;grid-template-columns:44px minmax(0,1fr) 18px;gap:16px;align-items:center;min-height:78px;padding:15px 18px;border:1px solid #cce6e7;border-radius:7px;color:var(--legacy-ink);background:linear-gradient(105deg,#fff,#f5fbfb);text-align:left}.legacy-home-action:hover{border-color:#82d9d5;box-shadow:0 5px 13px #19535714}.legacy-action-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:7px;color:#fff}.legacy-action-icon.coral{background:linear-gradient(135deg,var(--legacy-coral),#ff7864)}.legacy-action-icon.mint{background:linear-gradient(135deg,var(--legacy-mint),#18c9c3)}.legacy-home-action strong,.legacy-home-action small{display:block}.legacy-home-action strong{font-size:15px}.legacy-home-action small{margin-top:4px;color:#8a999d;font-size:15px}.legacy-home-action>svg{justify-self:end;color:#7d9195}.legacy-inspiration-stream{margin-top:28px;padding-top:22px;overflow:hidden;border-top:1px solid #e1ecee}.legacy-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:9px}.legacy-section-heading>div>span{color:var(--legacy-coral);font-size:15px;letter-spacing:.04em}.legacy-section-heading h2{margin-top:5px;color:var(--legacy-ink);font-size:18px}.legacy-section-heading .secondary{min-height:35px;gap:7px;padding:8px 12px;font-size:15px}.legacy-inspiration-row{--rail-accent: #397f58;height:42px;margin-top:9px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}.legacy-inspiration-row.tone-1{--rail-accent: #ff493d}.legacy-inspiration-row.tone-2{--rail-accent: #2dbdbb}.legacy-inspiration-track{display:flex;width:max-content;gap:8px;animation:legacy-rail 48s linear infinite}.legacy-inspiration-row.tone-1 .legacy-inspiration-track{animation-direction:reverse;animation-duration:54s}.legacy-inspiration-row:hover .legacy-inspiration-track,.legacy-inspiration-row:focus-within .legacy-inspiration-track{animation-play-state:paused}.legacy-inspiration-track button{display:inline-flex;align-items:center;gap:7px;min-height:39px;padding:8px 13px;border:1px solid color-mix(in srgb,var(--rail-accent) 28%,#dce4dc);border-radius:5px;color:#334b4e;background:color-mix(in srgb,var(--rail-accent) 5%,#fff);font-size:15px}.legacy-inspiration-track button svg{color:var(--rail-accent)}@keyframes legacy-rail{to{transform:translate(-50%)}}@media(prefers-reduced-motion:reduce){.legacy-inspiration-track{animation:none}}@media(min-width:1700px){.legacy-hero-copy h1{font-size:32px}.legacy-dashboard-hero{grid-template-columns:minmax(600px,1.08fr) minmax(560px,.92fr);gap:78px}.legacy-engine-window{width:min(100%,700px)}}@media(max-width:1250px)and (max-resolution:1.49dppx),(max-width:900px)and (min-resolution:1.5dppx){.legacy-dashboard-hero{grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:34px;min-height:0}.legacy-hero-copy h1{font-size:24px}.legacy-engine-window{width:min(100%,520px)}.legacy-hero-steps li{min-height:78px;padding:10px 12px}}@media(max-width:820px){.legacy-dashboard{padding-top:0}.legacy-dashboard-hero{grid-template-columns:1fr;gap:24px;min-height:auto;padding-bottom:24px}.legacy-hero-copy h1{font-size:24px}.legacy-hero-copy h1 span,.legacy-hero-copy h1 strong{white-space:normal}.legacy-engine-window{width:min(100%,540px);justify-self:start}.legacy-home-actions{grid-template-columns:1fr;gap:12px}}@media(max-width:550px){.legacy-hero-copy h1{font-size:20px}.legacy-hero-steps{grid-template-columns:1fr;width:100%}.legacy-hero-steps li,.legacy-hero-steps li:last-child{grid-template-columns:31px minmax(0,1fr) 14px;min-height:59px}.legacy-hero-steps li+li{border-top:2px solid rgba(57,127,88,.13);border-left:0}.legacy-engine-visual{min-height:auto}.legacy-engine-window{aspect-ratio:4 / 3}.legacy-section-heading{align-items:flex-start}}.legacy-engine-visual{perspective:1100px}.legacy-engine-window{transform:rotateY(-25deg) scale(.88);transform-origin:center;transform-style:preserve-3d}.legacy-engine-window>img{transform:none}.legacy-inspiration-stream.catalog-open{overflow:visible}.legacy-catalog-toolbar{display:flex;justify-content:flex-end;min-height:38px}.legacy-inspiration-catalog{margin-top:10px;max-width:100%;overflow-x:hidden}.legacy-catalog-group{--catalog-accent: #3d9a68;padding:16px 0 18px;border-bottom:2px solid color-mix(in srgb,var(--catalog-accent) 30%,transparent)}.legacy-catalog-group.tone-1{--catalog-accent: #ff493d}.legacy-catalog-group.tone-2{--catalog-accent: #2dbdbb}.legacy-catalog-group+.legacy-catalog-group{margin-top:6px}.legacy-catalog-group h3{display:flex;align-items:center;gap:8px;margin:0 0 11px;color:var(--catalog-accent);font-size:15px}.legacy-catalog-group>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}.legacy-catalog-group button{display:flex;min-width:0;min-height:44px;align-items:center;gap:8px;padding:9px 11px;border:1px solid color-mix(in srgb,var(--catalog-accent) 20%,var(--line));border-radius:6px;color:var(--text);background:color-mix(in srgb,var(--catalog-accent) 5%,var(--surface));text-align:left}.legacy-catalog-group button:hover{border-color:var(--catalog-accent);background:color-mix(in srgb,var(--catalog-accent) 10%,var(--surface))}.legacy-catalog-group button svg{flex:0 0 auto;color:var(--catalog-accent)}.legacy-catalog-group.tone-1{--catalog-accent: #4d85c4}.legacy-catalog-group.tone-2{--catalog-accent: #8b70d1}.legacy-catalog-group.tone-3{--catalog-accent: #c8873b}.legacy-catalog-group h3{min-width:0;overflow-wrap:anywhere}.legacy-catalog-group button{width:100%;max-width:100%}.legacy-catalog-group button>span{display:block;flex:1 1 0;min-width:0;overflow-wrap:anywhere;word-break:break-word;white-space:normal;line-height:1.35}html:lang(en) .legacy-catalog-group button{align-items:flex-start}@media(max-width:550px){.legacy-catalog-group>div{grid-template-columns:1fr 1fr}.legacy-catalog-group button{align-items:flex-start}}.legacy-inspiration-row .legacy-inspiration-track{animation-duration:220s}.legacy-inspiration-row.tone-1 .legacy-inspiration-track{animation-direction:reverse;animation-duration:250s}.legacy-inspiration-row.tone-2 .legacy-inspiration-track{animation-duration:280s}.legacy-inspiration-row.tone-3 .legacy-inspiration-track{animation-direction:reverse;animation-duration:240s}.project-page{display:grid;gap:18px;margin-top:22px}.project-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.project-page-head h2{margin:6px 0;font-size:20px}.project-page-head p{color:var(--muted)}.project-filters{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.project-filters input,.project-filters select{min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface)}.project-filters input{width:min(320px,100%)}.project-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.project-table{width:100%;border-collapse:collapse;font-size:15px}.project-table th,.project-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.project-table th{color:var(--muted);background:color-mix(in srgb,var(--accent) 5%,var(--surface));font-weight:600}.project-cell{display:flex;align-items:center;gap:11px;min-width:240px}.project-cell img,.project-cell video,.project-cell-empty,.project-cell .record-thumb{display:grid;flex:0 0 auto;place-items:center;width:64px;height:42px;border-radius:5px;object-fit:cover;color:#fff;background:var(--surface-soft);overflow:hidden}.project-cell>div{display:grid;gap:5px}.project-cell small{color:var(--muted)}.project-stage{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;border-radius:4px;color:#58676b;background:#eef3f3;font-size:15px}.project-stage.stage-generating{color:#8a650d;background:#fff7dd}.project-stage.stage-completed{color:#087b78;background:#e8f9f7}.project-stage.stage-director_ready{color:#6854a4;background:#f1edfb}.project-table-actions{display:flex;align-items:center;gap:6px}.project-table-actions .secondary{min-height:32px;padding:0 10px;text-decoration:none}.project-table-actions>button{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:var(--surface)}.project-table-actions>button:hover{color:var(--text);border-color:var(--accent)}.project-table-actions>button:last-child:hover{color:#a44942;border-color:#d9a09a}.project-empty{display:grid;min-height:220px;place-items:center;align-content:center;gap:8px;color:var(--muted);border:1px dashed var(--line);border-radius:7px}.project-empty h3{color:var(--text)}.project-empty p{max-width:480px;text-align:center}@media(max-width:760px){.project-page-head,.project-filters{align-items:stretch;flex-direction:column}.project-filters input,.project-filters select,.project-page-head .project-create-form{width:100%}}.task-workbench{display:grid;gap:16px;margin-top:22px}.task-workbench-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.task-workbench-head h2{margin:6px 0;font-size:20px}.task-workbench-head p{color:var(--muted)}.task-workbench-head .secondary{gap:7px}.task-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line)}.task-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 2px;border:0;border-bottom:2px solid transparent;color:var(--muted);background:transparent}.task-tabs button.active{color:var(--text);border-bottom-color:var(--primary)}.task-tabs span{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--surface-soft);font-size:14px}.task-filters{display:flex;align-items:center;justify-content:space-between;gap:12px}.task-filter-actions{display:flex;align-items:center;gap:12px;margin-left:auto}@media(max-width:720px){.task-filters{align-items:stretch;flex-direction:column}.task-filter-actions{justify-content:flex-end}}.task-filters select{min-height:38px;min-width:220px;padding:0 10px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface)}.task-filters span{color:var(--muted);font-size:15px}.task-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.task-table{width:100%;border-collapse:collapse;font-size:15px}.task-table th,.task-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.task-table th{color:var(--muted);background:color-mix(in srgb,var(--accent) 5%,var(--surface));font-weight:600}.task-project-cell{display:flex;align-items:center;gap:10px;min-width:220px}.task-project-cell>img,.task-project-cell>video,.task-project-cell>span,.task-project-cell .record-thumb{display:grid;flex:0 0 auto;place-items:center;width:58px;height:38px;border-radius:5px;object-fit:cover;color:#fff;background:var(--surface-soft);overflow:hidden}.task-project-cell>div{display:grid;gap:4px}.task-project-cell small{color:var(--muted)}.task-status{display:inline-flex;min-height:24px;align-items:center;padding:2px 8px;border-radius:4px;color:#59696d;background:#edf3f3;font-size:15px}.task-status.status-generating,.task-status.status-provider_pending{color:#775d13;background:#fff5d7}.task-status.status-succeeded{color:#087b78;background:#e8f9f7}.task-status.status-failed{color:#a44942;background:#fff0ee}.task-status.status-recovery_pending{color:#6854a4;background:#f1edfb}.task-progress-cell{display:grid;gap:7px;min-width:150px}.task-progress-cell>i{display:block;width:100%;height:4px;overflow:hidden;border-radius:3px;background:var(--surface-soft)}.task-progress-cell b{display:block;height:100%;border-radius:inherit;background:var(--accent);transition:width .24s ease}.task-row-actions{display:flex;align-items:center;gap:6px}.task-row-actions .primary,.task-row-actions .secondary{min-height:32px;padding:0 10px;font-size:15px;text-decoration:none}.task-empty{display:grid;min-height:220px;place-items:center;align-content:center;gap:8px;color:var(--muted);border:1px dashed var(--line);border-radius:7px}.task-empty h3{color:var(--text)}.task-drawer-backdrop{position:fixed;z-index:30;top:0;right:0;bottom:0;left:0;background:#07151547}.task-drawer{position:absolute;top:0;right:0;width:min(460px,100%);height:100%;overflow-y:auto;padding:24px;border-left:1px solid var(--line);color:var(--text);background:var(--surface);box-shadow:-18px 0 46px #07151524}.task-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}.task-drawer-head h3{margin-top:6px}.task-drawer-head>button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:var(--surface)}.task-detail-summary{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:18px 0;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:var(--line)}.task-detail-summary>div{display:grid;gap:5px;padding:12px;background:var(--surface)}.task-detail-summary dt{color:var(--muted);font-size:15px}.task-detail-summary dd{margin:0;overflow-wrap:anywhere}.task-timeline{padding-top:4px}.task-timeline h4{margin-bottom:14px}.task-timeline article{position:relative;display:grid;grid-template-columns:14px minmax(0,1fr);gap:10px;min-height:58px}.task-timeline article:before{content:"";position:absolute;top:13px;bottom:-5px;left:5px;width:1px;background:var(--line)}.task-timeline article:last-child:before{display:none}.task-timeline article>i{position:relative;z-index:1;width:11px;height:11px;margin-top:3px;border:2px solid var(--surface);border-radius:50%;background:var(--accent);box-shadow:0 0 0 1px var(--accent)}.task-timeline article>div{display:grid;align-content:start;gap:4px}.task-timeline span,.task-timeline small{color:var(--muted);font-size:15px}.task-drawer-actions{display:flex;gap:8px;padding-top:18px;border-top:1px solid var(--line)}.task-drawer-actions a{text-decoration:none}@media(max-width:760px){.task-workbench-head,.task-filters{align-items:stretch;flex-direction:column}.task-tabs{gap:9px;overflow-x:auto}.task-tabs button{white-space:nowrap}.task-filters select{width:100%}.task-drawer{padding:15px}}.project-brand-selector{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding:14px 18px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.project-brand-selector>div{display:grid;gap:5px}.project-brand-selector small{color:var(--muted)}.project-brand-selector select{min-width:280px;min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface)}.brand-page{display:grid;gap:18px;margin-top:22px}.brand-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.brand-page-head h2{margin:6px 0;font-size:20px}.brand-page-head p{color:var(--muted)}.brand-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.brand-table{width:100%;border-collapse:collapse;font-size:15px}.brand-table th,.brand-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.brand-table th{color:var(--muted);background:color-mix(in srgb,var(--accent) 5%,var(--surface));font-weight:600}.brand-cell{display:flex;align-items:center;gap:10px;min-width:180px}.brand-cell img,.brand-cell>span,.brand-cell .record-thumb{display:grid;place-items:center;width:48px;height:40px;border-radius:5px;object-fit:cover;color:#fff;background:var(--surface-soft);overflow:hidden}.record-thumb{position:relative;isolation:isolate}.record-thumb:before,.record-thumb:after{content:"";position:absolute;inset:auto;border-radius:999px;background:#ffffff38}.record-thumb:before{width:28px;height:28px;top:-10px;right:-8px}.record-thumb:after{width:18px;height:18px;left:-6px;bottom:-8px;background:#0715151f}.record-thumb em{position:relative;z-index:1;font-size:15px;font-style:normal;font-weight:800;letter-spacing:.04em;line-height:1;text-shadow:0 1px 2px rgba(7,21,21,.18)}.brand-row-actions{display:flex;gap:6px}.brand-row-actions .secondary{min-height:32px;padding:0 10px}.brand-row-actions>button:not(.secondary){display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--line);border-radius:5px;color:#a44942;background:var(--surface)}.brand-empty{display:grid;min-height:240px;place-items:center;align-content:center;gap:8px;color:var(--muted);border:1px dashed var(--line);border-radius:7px}.brand-empty h3{color:var(--text)}.brand-drawer-backdrop{position:fixed;z-index:35;top:0;right:0;bottom:0;left:0;background:#0715154d}.brand-drawer{position:absolute;top:0;right:0;width:min(560px,100%);height:100%;overflow-y:auto;padding:24px;color:var(--text);background:var(--surface);box-shadow:-18px 0 46px #07151524}.brand-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}.brand-drawer-head h3{margin-top:6px}.brand-drawer-head>button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:var(--surface)}.brand-form{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:18px 0}.brand-form label{display:grid;gap:7px;color:var(--muted);font-size:15px}.brand-form label:nth-child(n+3){grid-column:span 2}.brand-form input,.brand-form textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);resize:vertical}.brand-asset-sections{display:grid;gap:18px}.brand-asset-sections>section>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.brand-asset-sections .secondary{min-height:34px}.brand-asset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.brand-asset-grid figure{position:relative;min-width:0;margin:0}.brand-asset-grid img{width:100%;aspect-ratio:1;border-radius:5px;object-fit:cover;background:var(--surface-soft)}.brand-asset-grid figure>button{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:4px;color:#fff;background:#071515a8}.brand-asset-grid figcaption{overflow:hidden;margin-top:4px;color:var(--muted);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.brand-drawer-actions{position:sticky;bottom:-24px;display:flex;justify-content:flex-end;gap:8px;margin:20px -24px -24px;padding:14px 24px;border-top:1px solid var(--line);background:var(--surface)}.legacy-project-assets{margin-top:22px;border-top:1px solid var(--line)}.legacy-project-assets>summary{padding:16px 0;color:var(--muted);cursor:pointer}@media(max-width:760px){.project-brand-selector,.brand-page-head{align-items:stretch;flex-direction:column}.project-brand-selector select{width:100%;min-width:0}.brand-form{grid-template-columns:1fr}.brand-form label:nth-child(n+3){grid-column:auto}.brand-asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.project-reference-manager{display:grid;gap:12px;margin-top:12px;padding:16px 18px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.reference-manager-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.reference-manager-head>div{display:grid;gap:5px}.reference-manager-head small{color:var(--muted)}.reference-manager-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(126px,1fr));gap:10px}.reference-manager-grid figure{position:relative;min-width:0;margin:0}.reference-manager-grid img{width:100%;aspect-ratio:4 / 3;border-radius:5px;object-fit:cover;background:var(--surface-soft)}.reference-manager-grid figure>span{position:absolute;top:5px;left:5px;display:grid;place-items:center;width:23px;height:23px;border-radius:4px;color:#fff;background:#071515ad;font-size:14px}.reference-manager-grid figure>div{display:flex;gap:4px;margin-top:5px}.reference-manager-grid button{display:grid;place-items:center;width:28px;height:27px;border:1px solid var(--line);border-radius:4px;color:var(--muted);background:var(--surface)}.reference-manager-grid button:last-child{margin-left:auto;color:#a44942}.reference-manager-grid figcaption{overflow:hidden;margin-top:4px;color:var(--muted);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.reference-manager-empty{padding:18px;color:var(--muted);border:1px dashed var(--line);border-radius:6px;text-align:center}.brief-main .reference-head,.brief-main .reference-grid{display:none}@media(max-width:600px){.reference-manager-head{align-items:stretch;flex-direction:column}.reference-manager-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.brand-create-backdrop{position:fixed;z-index:45;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#07151561}.brand-create-dialog{width:min(620px,100%);max-height:calc(100vh - 40px);overflow-y:auto;padding:24px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface);box-shadow:0 24px 70px #07151538}.brand-create-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}.brand-create-heading h3{margin-top:6px;font-size:20px}.brand-create-heading>button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:var(--surface)}.brand-create-dialog form{display:grid;gap:15px;padding-top:18px}.brand-create-dialog form>label{display:grid;gap:7px;color:var(--muted);font-size:15px}.brand-create-dialog label>span{color:var(--text);font-weight:600}.brand-create-dialog label b{margin-left:6px;color:var(--primary);font-size:14px}.brand-create-dialog input,.brand-create-dialog select,.brand-create-dialog textarea{width:100%;padding:10px 11px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);resize:vertical}.brand-create-dialog small,.brand-form small{color:var(--muted);font-size:14px;font-weight:400}.brand-create-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:5px}.brand-form select{width:100%;min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface)}.brand-cell>div{display:grid;gap:4px}.brand-cell small{color:var(--muted);font-size:14px}.brand-tags{display:flex;max-width:250px;flex-wrap:wrap;gap:5px}.brand-tags span{max-width:180px;overflow:hidden;padding:3px 7px;border-radius:4px;color:#476267;background:var(--surface-soft);font-size:14px;text-overflow:ellipsis;white-space:nowrap}@media(max-width:600px){.brand-create-backdrop{padding:0;place-items:end stretch}.brand-create-dialog{max-height:92vh;border-radius:5px 5px 0 0}.brand-create-actions{position:sticky;bottom:-21px;margin:0 -21px -21px;padding:11px 21px;border-top:2px solid var(--line);background:var(--surface)}}.confirm-backdrop{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#0715156b}.confirm-dialog{width:min(420px,100%);padding:22px 24px 20px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--surface);box-shadow:0 24px 70px #07151540}.confirm-dialog h3{margin:0 0 10px;font-size:15px;font-weight:600;color:var(--text)}.confirm-dialog p{margin:0 0 18px;font-size:15px;line-height:1.6;white-space:pre-line;color:var(--muted)}.confirm-dialog-actions{display:flex;justify-content:flex-end;gap:8px}.confirm-dialog-actions button{min-width:64px;min-height:34px;padding:0 16px;border:1px solid var(--line);border-radius:6px;font-size:15px;cursor:pointer}.confirm-dialog-actions button.primary{color:#fff;background:var(--primary);border-color:var(--primary)}.confirm-dialog-actions button.primary:hover{opacity:.9}.confirm-dialog-actions button.secondary{color:var(--text);background:transparent}.confirm-dialog-actions button.secondary:hover{background:var(--surface-soft)}@media(max-width:480px){.confirm-backdrop{padding:15px}.confirm-dialog{width:100%;padding:15px 15px 13px}}.brand-editor-page{display:grid;gap:18px;margin-top:22px}.brand-editor-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.brand-editor-page-head>div{display:grid;gap:6px}.brand-editor-page-head a{width:fit-content;color:var(--primary);font-size:15px;text-decoration:none}.brand-editor-page-head h2{margin:0;font-size:24px}.brand-editor-page-head p{margin:0;color:var(--muted);font-size:15px}.brand-editor-page-body{display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);gap:18px;align-items:start}.brand-editor-form-panel,.brand-editor-page .brand-asset-sections{display:grid;gap:16px;padding:22px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.brand-editor-page .brand-drawer-head{padding-bottom:14px;border-bottom:1px solid var(--line)}.brand-editor-page .brand-drawer-head h3{margin:5px 0 0;font-size:18px}.brand-editor-page .brand-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.brand-editor-page .brand-form label{display:grid;gap:7px;color:var(--muted);font-size:15px}.brand-editor-page .brand-form label:nth-child(n+3){grid-column:1 / -1}.brand-editor-page .brand-form input,.brand-editor-page .brand-form select,.brand-editor-page .brand-form textarea{width:100%;padding:10px 11px;border:1px solid var(--line);border-radius:7px;color:var(--text);background:var(--surface-soft);font:inherit;resize:vertical}.brand-editor-page .brand-form input:focus,.brand-editor-page .brand-form select:focus,.brand-editor-page .brand-form textarea:focus{border-color:var(--accent);outline:3px solid color-mix(in srgb,var(--accent) 12%,transparent)}.brand-editor-page .brand-asset-sections{min-width:0}.brand-editor-page .brand-asset-sections>section{display:grid;gap:11px;padding-bottom:16px;border-bottom:1px solid var(--line)}.brand-editor-page .brand-asset-sections>section:last-child{padding-bottom:0;border-bottom:0}.brand-editor-page .brand-asset-sections>section>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand-editor-page .brand-asset-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}.brand-editor-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:2px;padding-top:16px;border-top:1px solid var(--line)}@media(max-width:980px){.brand-editor-page-body{grid-template-columns:1fr}.brand-editor-page .brand-editor-form-panel{order:1}.brand-editor-page .brand-asset-sections{order:2}}@media(max-width:620px){.brand-editor-page-head{align-items:stretch;flex-direction:column}.brand-editor-page-head .secondary{width:100%}.brand-editor-page .brand-form{grid-template-columns:1fr}.brand-editor-page .brand-form label:nth-child(n+3){grid-column:auto}.brand-editor-form-panel,.brand-editor-page .brand-asset-sections{padding:13px}.brand-editor-form-actions{padding:10px 0 0}.brand-editor-form-actions>button{flex:1}}.brand-editor-page{gap:22px;margin-top:18px;padding:2px 0 30px}.brand-editor-page-head{position:relative;padding:2px 4px 20px;border-bottom:1px solid color-mix(in srgb,var(--accent) 18%,var(--line))}.brand-editor-page-head:after{position:absolute;bottom:-1px;left:4px;width:86px;height:3px;border-radius:3px;content:"";background:linear-gradient(90deg,var(--primary),var(--accent))}.brand-editor-page-head>div{gap:8px}.brand-editor-page-head a{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));border-radius:999px;color:var(--accent-dark, #087b78);background:color-mix(in srgb,var(--accent) 7%,var(--surface));font-size:15px;font-weight:700}.brand-editor-page-head h2{color:var(--text);font-size:clamp(25px,2.2vw,33px);letter-spacing:-.02em}.brand-editor-page-head p{color:var(--muted);font-size:15px}.brand-editor-page-head .secondary{border-color:color-mix(in srgb,var(--accent) 24%,var(--line));border-radius:8px;background:var(--surface);font-size:15px}.brand-editor-page-body{grid-template-columns:minmax(360px,.88fr) minmax(520px,1.12fr);gap:20px;align-items:stretch}.brand-editor-form-panel,.brand-editor-page .brand-asset-sections{position:relative;gap:20px;min-height:520px;padding:24px;overflow:hidden;border:1px solid color-mix(in srgb,var(--accent) 17%,var(--line));border-radius:14px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 5%,var(--surface)),var(--surface) 42%);box-shadow:0 12px 28px #1f3d370f}.brand-editor-form-panel:before,.brand-editor-page .brand-asset-sections:before{position:absolute;top:0;right:0;left:0;height:4px;content:"";background:linear-gradient(90deg,var(--accent),color-mix(in srgb,var(--primary) 72%,var(--accent)))}.brand-editor-form-panel:after,.brand-editor-page .brand-asset-sections:after{position:absolute;top:-90px;right:-70px;width:190px;height:190px;border-radius:50%;content:"";background:color-mix(in srgb,var(--accent) 8%,transparent);pointer-events:none}.brand-editor-page .brand-drawer-head{z-index:1;padding:2px 0 16px;border-bottom-color:color-mix(in srgb,var(--accent) 17%,var(--line))}.brand-editor-page .brand-drawer-head h3{margin-top:6px;color:var(--text);font-size:18px}.brand-editor-page .brand-form{z-index:1;grid-template-columns:minmax(0,1.15fr) minmax(180px,.85fr);gap:16px}.brand-editor-page .brand-form label{gap:8px;color:var(--text);font-size:15px;font-weight:700}.brand-editor-page .brand-form>label:nth-child(-n+2){align-content:start;grid-template-rows:18px 44px 18px}.brand-editor-page .brand-form .brand-field-label{display:block;min-height:18px;line-height:18px}.brand-editor-page .brand-form>label:nth-child(-n+2) .brand-picker{align-self:start;height:44px;min-height:44px}.brand-editor-page .brand-form>label:nth-child(-n+2) .brand-picker-trigger{align-items:center;height:44px;min-height:44px}.brand-editor-page .brand-form label:nth-child(n+3){gap:9px}.brand-editor-page .brand-form input,.brand-editor-page .brand-form select,.brand-editor-page .brand-form textarea{border-color:#cfe8e5;border-radius:9px;background:#ffffffd1;box-shadow:0 2px 8px #1f5d560a;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}.brand-editor-page .brand-form input,.brand-editor-page .brand-form select{min-height:44px}.brand-editor-page .brand-form textarea{min-height:106px}.brand-editor-page .brand-form input:hover,.brand-editor-page .brand-form select:hover,.brand-editor-page .brand-form textarea:hover{border-color:#84cfc8;background:#fff}.brand-editor-page .brand-form input:focus,.brand-editor-page .brand-form select:focus,.brand-editor-page .brand-form textarea:focus{border-color:var(--accent);background:#fff;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 12%,transparent),0 5px 14px #1f5d5612}.brand-editor-page .brand-form small{color:var(--muted);font-size:14px;font-weight:400}.brand-editor-page .brand-asset-sections{gap:16px}.brand-editor-page .brand-asset-sections-head{z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:2px 0 16px;border-bottom:1px solid color-mix(in srgb,var(--accent) 17%,var(--line))}.brand-editor-page .brand-asset-sections-head h3{margin-top:6px;color:var(--text);font-size:18px}.brand-editor-page .brand-asset-sections-head>strong{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;color:var(--accent-dark, #087b78);background:color-mix(in srgb,var(--accent) 11%,var(--surface));font-size:15px}.brand-editor-page .brand-asset-sections>section{z-index:1;gap:14px;padding:16px;border:1px solid #dcecea;border-radius:11px;background:#ffffffb8}.brand-editor-page .brand-asset-sections>section>div:first-child{align-items:flex-start}.brand-editor-page .brand-asset-sections>section>div:first-child strong{color:var(--text);font-size:15px}.brand-editor-page .brand-asset-sections>section>div:first-child .secondary{min-width:60px;min-height:34px;border-color:#bfe1dd;border-radius:8px;color:var(--accent-dark, #087b78);background:#eefaf8;font-size:15px;font-weight:700}.brand-editor-page .brand-asset-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:12px;min-height:84px;padding:4px}.brand-editor-page .brand-asset-grid figure{border:1px solid #d8eae7;border-radius:10px;background:#f3faf9;box-shadow:0 3px 10px #1f5d560d}.brand-editor-page .brand-asset-grid figure img{height:92px;border-radius:9px 9px 0 0}.brand-editor-page .brand-asset-grid figure figcaption{padding:7px 8px;color:var(--muted);font-size:14px}.my-image-requests{display:grid;gap:8px;margin-bottom:16px}.my-image-requests article{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.my-image-requests article.is-failed{border-color:#e7c1bc}.my-image-requests strong{font-size:14px}.my-image-requests p,.my-image-requests small{margin:0;color:var(--muted);font-size:14px}.image-studio-status{margin:0;color:var(--accent-dark, #087b78);font-size:14px}.image-studio-result{display:grid;gap:8px;margin:4px 0 0}.image-studio-result img{width:min(100%,360px);border-radius:10px;background:var(--surface-soft)}.image-studio-result a{color:var(--accent-dark, #087b78);font-size:14px;font-weight:700}.brand-reference-drop{display:grid;gap:8px;justify-items:start;padding:16px;border:1px dashed #b9dfd9;border-radius:11px;background:#f7fbfa}.brand-reference-drop.is-dragover{border-color:#79cbc5;background:#f3faf8}.brand-reference-drop small{color:var(--muted)}.brand-upload-progress{display:grid;gap:6px;width:100%;color:var(--accent-dark, #087b78);font-size:14px}.brand-upload-progress i{display:block;height:6px;border-radius:999px;background:#159d9b}.brand-editor-page .brand-asset-grid figure select{width:calc(100% - 16px);min-height:28px;margin:0 8px 8px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);font-size:12px}.brand-editor-page .brand-asset-grid figure>button{top:7px;right:7px;width:25px;height:25px;border:1px solid rgba(255,255,255,.7);border-radius:50%;color:#fff;background:#193f3cb8}.brand-editor-form-actions{margin-top:0;padding:16px 0 0;border-top-color:color-mix(in srgb,var(--accent) 20%,var(--line))}.brand-editor-form-actions .primary{min-width:136px;border-radius:9px;box-shadow:0 7px 16px color-mix(in srgb,var(--primary) 22%,transparent)}@media(max-width:1100px)and (min-width:621px)and (max-resolution:1.49dppx),(max-width:900px)and (min-width:621px)and (min-resolution:1.5dppx){.brand-editor-page-body{grid-template-columns:1fr}.brand-editor-form-panel,.brand-editor-page .brand-asset-sections{min-height:0}}@media(max-width:620px){.brand-editor-page{padding-bottom:9px}.brand-editor-form-panel,.brand-editor-page .brand-asset-sections{min-height:0;padding:15px;border-radius:8px}.brand-editor-page .brand-asset-sections>section{padding:10px}.brand-editor-page .brand-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.project-page{gap:20px}.project-page-head{padding-bottom:2px}.project-page-head h2{margin:7px 0 5px;font-size:24px}.project-page-head>div:first-child{min-width:0}.project-page-head .project-create-form{align-items:stretch}.project-page-head .project-create-form input{width:260px;min-height:42px}.project-page-head .project-create-form .primary{gap:7px;min-height:42px;white-space:nowrap}.project-business-panel{overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.project-panel-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:14px 16px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--surface-soft) 42%,var(--surface))}.project-panel-toolbar .project-filters{padding:0;border:0;background:transparent}.project-filters label{display:grid;gap:5px;color:var(--muted);font-size:14px}.project-filters label span{padding-left:1px}.project-filters .secondary{min-height:38px;align-self:end}.project-result-count{padding-bottom:9px;color:var(--muted);font-size:15px;white-space:nowrap}.project-business-panel .project-table-wrap{border:0;border-radius:0}.project-table{table-layout:fixed}.project-table th:first-child{width:4%}.project-table th:nth-child(2){width:32%}.project-table th:nth-child(3){width:14%}.project-table th:nth-child(4){width:12%}.project-table th:nth-child(5){width:16%}.project-table th:nth-child(6){width:12%}.project-table th:last-child{width:10%}.project-table th{height:42px;padding-top:9px;padding-bottom:9px;background:var(--surface)}.project-table td{height:66px}.project-table tbody tr:hover{background:color-mix(in srgb,var(--accent) 3%,var(--surface))}.project-cell{min-width:0}.project-cell img,.project-cell-empty{width:62px;height:42px}.project-cell>div{min-width:0}.project-cell strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-spec-cell,.project-version-cell{display:grid;gap:4px}.project-spec-cell small,.project-version-cell small,.project-muted,.project-table time{color:var(--muted);font-size:15px}.project-primary-action{display:inline-flex;min-height:32px;align-items:center;padding:0 10px;border:1px solid color-mix(in srgb,var(--primary) 45%,var(--line));border-radius:5px;color:var(--primary);background:color-mix(in srgb,var(--primary) 5%,var(--surface));font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap}.project-primary-action:hover{color:#fff;border-color:var(--primary);background:var(--primary)}.project-table-actions{justify-content:flex-end}.project-empty{min-height:300px;margin:0;border:0;border-radius:0}.project-empty .primary{margin-top:6px}@media(max-width:1100px)and (max-resolution:1.49dppx),(max-width:900px)and (min-resolution:1.5dppx){.project-table{min-width:980px;table-layout:auto}.project-table th:first-child{width:auto}.project-page-head .project-create-form input{width:220px}}@media(max-width:760px){.project-page-head{gap:12px}.project-page-head .project-create-form{display:grid;grid-template-columns:minmax(0,1fr) auto}.project-page-head .project-create-form input{width:100%}.project-panel-toolbar{align-items:stretch;flex-direction:column}.project-panel-toolbar .project-filters{display:grid;grid-template-columns:1fr 1fr auto;width:100%}.project-filters input,.project-filters select{width:100%}.project-result-count{padding:0}}@media(max-width:520px){.project-page-head .project-create-form,.project-panel-toolbar .project-filters{grid-template-columns:1fr}.project-filters .secondary,.project-page-head .project-create-form .primary{width:100%}}.account-center{display:grid;gap:18px;margin-top:22px}.account-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.account-summary>div{display:grid;gap:7px;min-height:112px;padding:17px 19px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.account-summary span,.account-summary small{color:var(--muted);font-size:15px}.account-summary strong{color:var(--primary);font-size:24px}.account-summary>div:first-child strong{color:var(--accent-dark,#149b99);font-size:18px}.account-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:5px}.account-section-heading h2{margin-top:5px;font-size:18px}.account-section-heading>p{max-width:460px;color:var(--muted);font-size:15px}.account-center>.topup-panel{margin-top:-6px}.account-center>.topup-panel>div:first-child .eyebrow,.account-center>.topup-panel>div:first-child p{display:none}.account-center>.topup-panel>div:first-child h2{margin:0;font-size:18px}.account-center>.topup-panel>div:first-child h2:before{content:"当前";margin-right:5px;color:var(--muted);font-size:15px;font-weight:400}.referral-heading{margin-top:7px}.account-referral-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-referral-grid:has(>:only-child){grid-template-columns:1fr}.inviter-card,.my-referral-card{display:grid;align-content:start;gap:17px;min-height:235px;padding:20px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.account-card-title{display:flex;align-items:center;gap:11px;padding-bottom:14px;border-bottom:1px solid var(--line)}.account-card-title>div{display:grid;gap:4px}.account-card-title small{color:var(--muted);font-size:14px}.account-card-icon{display:grid;flex:0 0 auto;place-items:center;width:38px;height:38px;border-radius:6px;color:#fff;background:var(--accent)}.account-card-icon.coral{background:var(--primary)}.inviter-bind-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px}.inviter-bind-form label{display:grid;gap:6px;color:var(--muted);font-size:15px}.inviter-bind-form input{width:100%;min-height:42px;padding:0 11px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);text-transform:uppercase}.inviter-bind-form .primary{min-height:42px}.inviter-bind-form>small,.inviter-bound small{grid-column:1 / -1;color:var(--muted);font-size:14px}.inviter-bind-form .form-error{grid-column:1 / -1}.inviter-bound{display:grid;gap:7px;padding:16px;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line));border-radius:6px;background:color-mix(in srgb,var(--accent) 6%,var(--surface))}.inviter-bound span{color:var(--muted);font-size:14px}.inviter-bound strong{color:var(--accent-dark,#149b99);font-size:20px;letter-spacing:.08em}.my-referral-code{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 16px;border-radius:6px;background:var(--surface-soft)}.my-referral-code strong{color:var(--primary);font-size:20px;letter-spacing:.08em}.my-referral-code span{color:var(--muted);font-size:15px}.my-referral-card .referral-actions{margin:0}.my-referral-card>p{color:var(--muted);font-size:15px;line-height:1.6}.account-center .account-version{padding-top:6px}.payment-method-picker{display:flex;gap:8px;margin:0;padding:0;border:0}.payment-method-picker legend{width:100%;margin-bottom:2px;color:var(--muted);font-size:15px}.payment-method-picker label{display:inline-flex;min-height:40px;align-items:center;gap:7px;padding:0 13px;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:var(--surface);cursor:pointer}.payment-method-picker label.selected{color:var(--primary);border-color:var(--primary);background:color-mix(in srgb,var(--primary) 6%,var(--surface))}.payment-method-picker input{accent-color:var(--primary)}@media(max-width:900px){.account-summary,.account-referral-grid{grid-template-columns:1fr}.account-section-heading{align-items:flex-start;flex-direction:column;gap:5px}}@media(max-width:560px){.inviter-bind-form{grid-template-columns:1fr}.inviter-bind-form .primary{width:100%}.my-referral-code{align-items:flex-start;flex-direction:column}.my-referral-card .referral-actions{align-items:stretch;flex-direction:column}.my-referral-card .referral-actions button{width:100%}}.admin-page{gap:18px}.admin-page-head{padding-bottom:2px}.admin-page-head>div{display:grid;gap:5px}.admin-page-head h2{margin:0;font-size:24px}.admin-page-head p{color:var(--muted)}.admin-page-head .secondary{gap:7px}.admin-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-metrics>div{min-height:126px;align-content:start;padding:18px 19px}.admin-metrics>div>span{min-height:20px}.admin-metrics strong{margin-top:2px;font-size:24px}.admin-metrics small{color:var(--muted);font-size:14px}.admin-attention-panel{overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.admin-block-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:15px 17px;border-bottom:1px solid var(--line)}.admin-block-heading h3{margin-top:5px}.admin-block-heading>small{color:var(--muted)}.admin-attention-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.admin-attention-list article{display:flex;align-items:center;gap:12px;min-height:88px;padding:15px 17px}.admin-attention-list article+article{border-left:1px solid var(--line)}.admin-attention-list article>span{display:grid;flex:0 0 auto;place-items:center;min-width:38px;height:38px;padding:0 8px;border-radius:6px;font-weight:800}.admin-attention-list span.normal{color:#087b78;background:#e8f9f7}.admin-attention-list span.warning{color:#a44942;background:#fff0ee}.admin-attention-list article>div{display:grid;gap:5px}.admin-attention-list small{color:var(--muted);font-size:14px;line-height:1.45}.admin-filter input{width:320px;min-height:42px}.admin-filter .primary{min-height:42px}.admin-user-summary{display:flex;flex-wrap:wrap;gap:8px}.admin-user-summary>span{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:var(--surface);font-size:15px}.admin-user-summary strong{color:var(--text)}.admin-table{table-layout:fixed}.admin-table th:first-child{width:25%}.admin-table th:nth-child(2){width:13%}.admin-table th:nth-child(3){width:12%}.admin-table th:nth-child(4){width:20%}.admin-table th:nth-child(5){width:10%}.admin-table th:nth-child(6){width:14%}.admin-table th:last-child{width:6%}.admin-table th{height:42px}.admin-table td{height:64px}.admin-table tbody tr:hover{background:color-mix(in srgb,var(--accent) 3%,var(--surface))}.admin-identity-cell{display:grid;gap:6px;align-items:start}.admin-identity-cell .admin-status{width:fit-content}.admin-business-cell{display:flex;flex-wrap:wrap;gap:5px}.admin-business-cell span{padding:3px 6px;border-radius:4px;color:var(--muted);background:var(--surface-soft);font-size:14px}.admin-action-menu{position:relative;width:fit-content}.admin-action-menu>summary{display:inline-flex;min-height:32px;align-items:center;padding:0 10px;border:1px solid var(--line);border-radius:5px;color:var(--text);background:var(--surface);cursor:pointer;list-style:none}.admin-action-menu>summary::-webkit-details-marker{display:none}.admin-action-menu[open]>summary{border-color:var(--accent)}.admin-action-menu>div{position:absolute;z-index:12;top:37px;right:0;display:grid;width:160px;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:var(--surface);box-shadow:0 12px 32px #07151524}.admin-action-menu button{min-height:38px;padding:0 12px;border:0;border-bottom:1px solid var(--line);color:var(--text);background:transparent;text-align:left}.admin-action-menu button:last-child{color:#a44942;border-bottom:0}.admin-action-menu button:hover{background:var(--surface-soft)}.admin-action-menu button:disabled{opacity:.45}.admin-table-wrap{overflow:visible}.admin-page .admin-table-wrap{overflow-x:auto;overflow-y:visible}@media(max-width:1100px)and (max-resolution:1.49dppx),(max-width:900px)and (min-resolution:1.5dppx){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-attention-list{grid-template-columns:1fr}.admin-attention-list article+article{border-top:1px solid var(--line);border-left:0}.admin-table{min-width:980px;table-layout:auto}.admin-table th:first-child{width:auto}}@media(max-width:700px){.admin-page-head{gap:11px}.admin-filter,.admin-filter input{width:100%}.admin-metrics{grid-template-columns:1fr 1fr}.admin-block-heading{align-items:flex-start;flex-direction:column}.admin-action-menu>div{right:auto;left:0}}@media(max-width:430px){.admin-metrics{grid-template-columns:1fr}}.agent-drawer-backdrop{position:fixed;z-index:45;top:0;right:0;bottom:0;left:0;background:#07151552}.agent-drawer{position:absolute;top:0;right:0;width:min(560px,100%);height:100%;overflow-y:auto;padding:24px;color:var(--text);background:var(--surface);box-shadow:-18px 0 46px #07151529}.agent-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}.agent-drawer-head h3{margin-top:6px}.agent-drawer-head>button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:var(--surface)}.agent-current-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}.agent-current-summary>div{display:grid;gap:6px;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft)}.agent-current-summary span{color:var(--muted);font-size:14px}.agent-current-summary strong{font-size:15px}.agent-form-section{display:grid;gap:13px;padding:18px 0;border-top:1px solid var(--line)}.agent-form-section>p{color:var(--muted);font-size:15px;line-height:1.55}.agent-mode-control{display:grid;grid-template-columns:1fr 1fr;gap:8px}.agent-mode-control label{display:grid;grid-template-columns:18px 1fr;align-items:center;gap:3px 7px;padding:12px;border:1px solid var(--line);border-radius:6px;cursor:pointer}.agent-mode-control label:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 6%,var(--surface))}.agent-mode-control small{grid-column:2;color:var(--muted);font-size:14px}.agent-field{display:grid;gap:7px;color:var(--muted);font-size:15px}.agent-field input,.agent-field select,.agent-field textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);resize:vertical}.agent-tier-default{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:10px 12px;border-radius:6px;background:var(--surface-soft)}.agent-tier-default span{margin-right:auto;color:var(--muted);font-size:14px}.agent-tier-default strong{font-size:15px}.agent-override-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.agent-drawer-actions{position:sticky;bottom:-24px;display:flex;justify-content:flex-end;gap:8px;margin:4px -24px -24px;padding:14px 24px;border-top:1px solid var(--line);background:var(--surface)}.commission-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.commission-summary>div{display:grid;gap:7px;min-height:105px;padding:16px 18px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.commission-summary span,.commission-summary small{color:var(--muted);font-size:14px}.commission-summary strong{color:var(--primary);font-size:20px}.commission-rule-panel,.commission-ledger-panel{overflow:visible;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.commission-rule-panel .tier-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.commission-rule-panel .tier-editor{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;align-content:start;border:0;border-radius:0;box-shadow:none}.commission-rule-panel .tier-editor>div{grid-column:1;grid-row:1;min-height:38px}.commission-rule-panel .tier-editor>label:first-of-type{grid-column:1;grid-row:2}.commission-rule-panel .tier-editor>label:nth-of-type(2){grid-column:2;grid-row:2}.commission-rule-panel .tier-editor+.tier-editor{border-left:1px solid var(--line)}.commission-rule-panel .tier-editor button{grid-column:2;grid-row:1;min-height:34px;align-self:start;justify-self:end}.commission-ledger-panel>.admin-table-wrap{border:0;border-radius:0 0 7px 7px}.commission-status{display:inline-flex;min-height:24px;align-items:center;padding:2px 8px;border-radius:4px;color:var(--muted);background:var(--surface-soft);font-size:14px}.commission-status.pending{color:#775d13;background:#fff5d7}.commission-status.available{color:#087b78;background:#e8f9f7}.commission-status.paid{color:#2e6f45;background:#ebf7ed}.commission-status.reversed,.commission-status.cancelled{color:#a44942;background:#fff0ee}.commission-status.manual_review{color:#6854a4;background:#f1edfb}@media(max-width:900px){.commission-rule-panel .tier-grid,.commission-summary{grid-template-columns:1fr}.commission-rule-panel .tier-editor+.tier-editor{border-top:1px solid var(--line);border-left:0}.agent-override-grid{grid-template-columns:1fr}}@media(max-width:560px){.agent-drawer{padding:15px}.agent-current-summary,.agent-mode-control{grid-template-columns:1fr}.agent-drawer-actions{bottom:-15px;margin:3px -15px -15px;padding:10px 15px}}.commission-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px}.commission-ledger-panel .admin-block-heading{align-items:flex-start;flex-wrap:wrap}.commission-ledger-panel .admin-block-heading>small{margin-left:auto}.commission-ledger-panel .admin-block-heading .commission-actions{flex-basis:100%}.commission-ledger-panel .admin-table{min-width:1080px;table-layout:auto}.commission-ledger-panel .admin-table th:first-child{width:54px}.commission-ledger-panel .admin-table th:nth-child(2){width:150px}.commission-ledger-panel .admin-table th:nth-child(3),.commission-ledger-panel .admin-table th:nth-child(4){width:130px}.commission-ledger-panel .admin-table th:nth-child(5){width:150px}.commission-ledger-panel .admin-table th:nth-child(6),.commission-ledger-panel .admin-table th:nth-child(7){width:80px}.commission-ledger-panel .admin-table th:nth-child(8){width:100px}.commission-ledger-panel .admin-table th:nth-child(9){width:105px}.legacy-project-assets{margin-top:22px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.legacy-project-assets>summary{display:flex;align-items:center;gap:10px;padding:15px 18px;color:var(--text);cursor:pointer}.legacy-project-assets>summary span{font-weight:700}.legacy-project-assets>summary small{color:var(--muted);font-size:15px}.legacy-project-assets[open]>summary{border-bottom:1px solid var(--line)}.project-assets-panel{padding:18px}.project-assets-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px}.project-assets-toolbar>div{display:flex;align-items:center;gap:9px}.project-assets-toolbar>div:first-child{display:grid;gap:4px}.project-assets-toolbar small,.project-asset-name small{color:var(--muted);font-size:14px}.project-assets-toolbar select{min-height:38px;max-width:240px;padding:0 9px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface)}.asset-count{color:var(--muted);font-size:15px;white-space:nowrap}.asset-upload-command,.asset-empty-upload{position:relative;gap:7px;cursor:pointer}.asset-upload-command input,.asset-empty-upload input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.asset-upload-command.disabled{opacity:.5;pointer-events:none}.project-asset-table{margin-top:16px;border:1px solid var(--line);border-radius:6px;overflow:hidden}.project-asset-table-head,.project-asset-table-row{display:grid;grid-template-columns:minmax(260px,1fr) 90px 90px 90px 72px;align-items:center;gap:12px;padding:10px 13px}.project-asset-table-head{color:var(--muted);background:var(--surface-soft);font-size:15px}.project-asset-table-row{min-height:58px;border-top:1px solid var(--line);font-size:15px}.project-asset-name{display:flex;align-items:center;gap:10px;min-width:0}.project-asset-name img,.project-asset-name>span{display:grid;flex:0 0 auto;place-items:center;width:52px;height:36px;border-radius:4px;object-fit:cover;color:var(--muted);background:var(--surface-soft)}.project-asset-name>div{display:grid;min-width:0;gap:4px}.project-asset-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-asset-table-row>span{color:var(--muted)}.asset-ready-dot{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:var(--accent)}.asset-delete-command{display:inline-flex;align-items:center;gap:5px;border:0;color:#a44942;background:transparent}.project-assets-empty{display:flex;align-items:center;gap:13px;min-height:104px;margin-top:15px;padding:18px;color:var(--muted);border:1px dashed var(--line);border-radius:6px;background:color-mix(in srgb,var(--surface-soft) 50%,var(--surface))}.project-assets-empty>div{display:grid;flex:1;gap:4px}.project-assets-empty strong{color:var(--text)}.project-assets-empty p{font-size:15px}.project-assets-empty>svg{flex:0 0 auto;color:var(--accent)}@media(max-width:800px){.project-assets-toolbar{align-items:stretch;flex-direction:column}.project-assets-toolbar>div:last-child{flex-wrap:wrap}.project-assets-toolbar select{max-width:none;flex:1}.project-asset-table{overflow-x:auto}.project-asset-table-head,.project-asset-table-row{min-width:690px}.project-assets-empty{align-items:flex-start;flex-wrap:wrap}}.create-workspace{display:grid;gap:16px;min-width:0;max-width:100%;overflow:visible}.create-workspace-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;min-width:0;max-width:100%;padding:2px 0 18px;border-bottom:1px solid var(--line)}.create-workspace-head>div{display:grid;gap:6px;min-width:0}.create-workspace-head a{width:fit-content;color:var(--primary);font-size:15px;text-decoration:none}.create-workspace-head h2{font-size:24px}.create-workspace-head p{color:var(--muted)}.create-steps{display:flex;margin:0;padding:0;min-width:0;max-width:100%;overflow-x:auto;list-style:none}.create-steps li{position:relative;display:grid;justify-items:center;gap:5px;min-width:92px;color:var(--muted);font-size:14px}.create-steps li:not(:last-child):after{content:"";position:absolute;top:14px;left:calc(50% + 17px);width:calc(100% - 34px);height:1px;background:var(--line)}.create-steps span{position:relative;z-index:1;display:grid;place-items:center;width:29px;height:29px;border:1px solid var(--line);border-radius:50%;background:var(--surface)}.create-steps li.active{color:var(--primary)}.create-steps li.active span{color:#fff;border-color:var(--primary);background:var(--primary)}.create-context-band{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:7px;background:color-mix(in srgb,var(--accent) 3%,var(--surface))}.create-context-band>.eyebrow{padding:0 4px}.create-context-band .project-brand-selector,.create-context-band .project-reference-manager{margin-top:0}.create-context-band .project-brand-selector{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.create-context-band .project-reference-manager{border:0;background:transparent}.create-workspace>.brief-layout{margin-top:0}.create-workspace .brief-heading{display:none}.create-workspace .brief-main>h2{margin-top:0;font-size:18px}.create-workspace .brief-main>h2:before{content:"创作要求"}.create-workspace .brief-main>h2{font-size:0}.create-workspace .brief-main>h2:before{font-size:18px}@media(max-width:1100px)and (max-resolution:1.49dppx),(max-width:900px)and (min-resolution:1.5dppx){.create-workspace-head{align-items:stretch;flex-direction:column}.create-steps{width:100%}.brief-source-row{grid-template-columns:1fr}.create-workspace .project-brand-selector select{min-width:0;width:100%}}@media(max-width:900px){.create-workspace-head{align-items:stretch;flex-direction:column}.create-steps{width:100%;overflow-x:auto}.create-steps li{min-width:82px;flex:1}}.create-workspace .brief-summary>button.secondary{display:none}.activation-redeem{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px}.activation-redeem label{display:grid;gap:7px;color:var(--muted);font-size:15px}.activation-redeem input{width:100%;min-height:42px;padding:0 11px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);letter-spacing:.08em;text-transform:uppercase}.activation-redeem .secondary{min-height:42px}.access-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px}.access-divider:before,.access-divider:after{content:"";flex:1;height:1px;background:var(--line)}.activation-create-panel{display:grid;grid-template-columns:130px 230px minmax(260px,1fr) auto;align-items:end;gap:10px;padding:16px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.activation-create-panel label{display:grid;gap:6px;color:var(--muted);font-size:14px}.activation-create-panel input{width:100%;min-height:42px;padding:0 10px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface)}.activation-create-panel .primary{min-height:42px}.activation-generated{display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px;border:1px solid color-mix(in srgb,var(--accent) 42%,var(--line));border-radius:7px;background:color-mix(in srgb,var(--accent) 7%,var(--surface))}.activation-generated>div{display:grid;gap:4px}.activation-generated small{color:var(--muted)}.activation-generated pre{grid-column:1 / -1;max-height:220px;margin:0;overflow:auto;padding:13px;border-radius:6px;color:var(--text);background:var(--surface);font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}.activation-code-table td:nth-child(3){max-width:260px;overflow:hidden;text-overflow:ellipsis}.admin-status.redeemed{color:#087b78;background:#e8f9f7}.admin-status.expired{color:#776b55;background:#f3f0e9}.activation-create-panel{grid-template-columns:110px 210px minmax(210px,.8fr) minmax(260px,1fr) auto}.admin-code-copy{display:inline-flex;align-items:center;gap:4px;width:max-content;padding:3px 5px;border:1px solid var(--line);border-radius:4px;color:var(--accent-dark);background:var(--surface);font:12px ui-monospace,SFMono-Regular,Consolas,monospace}.activation-admin-page .activation-code-table{min-width:1120px;table-layout:auto}.activation-admin-page .activation-code-table th:nth-child(1){width:105px}.activation-admin-page .activation-code-table th:nth-child(2){width:95px}.activation-admin-page .activation-code-table th:nth-child(3){width:190px}.activation-admin-page .activation-code-table th:nth-child(4){width:220px}.activation-admin-page .activation-code-table th:nth-child(5){width:180px}.activation-admin-page .activation-code-table th:nth-child(6),.activation-admin-page .activation-code-table th:nth-child(7){width:150px}.activation-admin-page .activation-code-table th:nth-child(8){width:100px}@media(max-width:980px){.activation-create-panel{grid-template-columns:1fr 1fr}.activation-note{grid-column:1 / -1}}@media(max-width:560px){.activation-redeem,.activation-create-panel{grid-template-columns:1fr}.activation-note{grid-column:auto}.activation-redeem .secondary,.activation-create-panel .primary{width:100%}.activation-generated{grid-template-columns:1fr}.activation-generated pre{grid-column:auto}}html,body,#root{width:100%;max-width:100%;height:100%;overflow-x:hidden;overflow-y:hidden;font-size:15px}.shell{height:100dvh;min-height:0;max-width:100%;overflow-x:hidden;overflow:hidden}.content{max-width:100%;overflow-x:hidden}.sidebar{height:100dvh;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.content{min-width:0;min-height:0;height:100dvh;overflow:auto;overscroll-behavior:contain}.auth-shell{height:100dvh;min-height:0;overflow:auto}.content,.sidebar,.auth-shell,.brand-create-dialog,.agent-drawer,.task-drawer,.admin-table-wrap,.project-table-wrap,.task-table-wrap,.brand-table-wrap,.project-asset-table,.create-steps,.task-tabs{scrollbar-width:none}.audit-toolbar{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(160px,1fr) auto auto auto auto auto;align-items:end;gap:10px;margin:18px 0 10px;padding:14px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft)}.audit-toolbar>label:not(.audit-error-toggle){display:grid;gap:5px;color:var(--muted);font-size:15px}.audit-toolbar input,.audit-toolbar select{min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:5px;color:var(--text);background:var(--surface)}.audit-toolbar button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.audit-search{position:relative;display:flex!important;align-items:center}.audit-search svg{position:absolute;left:10px;color:var(--muted);pointer-events:none}.audit-search input{width:100%;padding-left:34px}.audit-error-toggle{display:flex;min-height:38px;align-items:center;gap:6px;color:var(--text);font-size:15px;white-space:nowrap}.audit-error-toggle input{min-height:0;width:16px;height:16px}.audit-summary{margin:0 0 8px;color:var(--muted);font-size:15px}.audit-action-cell{max-width:360px}.audit-action-cell strong{display:block;color:var(--text);text-transform:capitalize}.audit-action-cell small{display:block;overflow:hidden;margin-top:5px;color:var(--muted);font-family:monospace;text-overflow:ellipsis;white-space:nowrap}.audit-details{margin-top:7px}.audit-details summary{color:var(--primary);cursor:pointer;font-size:15px}.audit-detail-content{margin-top:7px;overflow-wrap:anywhere;word-break:break-word;color:var(--text);font:13px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:normal}.audit-status{display:inline-flex;padding:3px 8px;border-radius:999px;font-size:15px;font-weight:600}.audit-status-success{color:#166534;background:#dcfce7}.audit-empty{padding:40px!important;color:var(--muted);text-align:center!important}@media(max-width:1100px)and (max-resolution:1.49dppx),(max-width:900px)and (min-resolution:1.5dppx){.audit-toolbar{grid-template-columns:1fr 1fr 1fr}}@media(max-width:700px){.audit-toolbar{grid-template-columns:1fr 1fr}.audit-search{grid-column:1 / -1}.audit-toolbar button{width:100%}}.content::-webkit-scrollbar,.sidebar::-webkit-scrollbar,.auth-shell::-webkit-scrollbar,.brand-create-dialog::-webkit-scrollbar,.agent-drawer::-webkit-scrollbar,.task-drawer::-webkit-scrollbar,.admin-table-wrap::-webkit-scrollbar,.project-table-wrap::-webkit-scrollbar,.task-table-wrap::-webkit-scrollbar,.brand-table-wrap::-webkit-scrollbar,.project-asset-table::-webkit-scrollbar,.create-steps::-webkit-scrollbar,.task-tabs::-webkit-scrollbar{width:0;height:0}.content[data-page=brand-edit]{height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}@media(min-width:761px)and (max-height:820px){.sidebar{gap:12px;padding:14px 12px 12px}.brand-link{min-height:50px;padding:0 4px 10px}.brand-wordmark{width:132px;height:44px}nav{gap:2px}nav a,.sidebar-foot button{padding:8px 11px}.admin-nav{padding-top:9px}.admin-nav>span{padding-bottom:4px}.sidebar-foot{gap:2px}.content{padding:18px 28px 24px}.legacy-dashboard{padding-top:0}.legacy-dashboard-hero{min-height:430px;padding-top:0}}.brief-workspace{display:grid;gap:14px}.brief-card{display:grid;gap:14px;padding:18px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.brief-card-head{display:flex;align-items:baseline;gap:10px}.brief-card-head .eyebrow{color:var(--accent)}.brief-card-head h2{margin:0;font-size:18px}.brief-field{display:grid;gap:7px;color:var(--muted);font-size:15px}.brief-field textarea,.brief-field input,.brief-field select{width:100%;padding:10px 11px;border:1px solid var(--line);border-radius:7px;color:var(--text);background:var(--surface-soft);font:inherit}.brief-field textarea{resize:vertical}.brief-field>small{color:var(--muted);font-size:15px;line-height:1.5}.brief-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.brief-grid label{display:grid;gap:6px;color:var(--muted);font-size:15px}.brief-grid label input,.brief-grid label textarea{width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface-soft);font:inherit}.brief-grid label textarea{resize:vertical}.aspect-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.aspect-opt{display:grid;justify-items:center;gap:7px;padding:12px 6px 9px;border:1.5px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--muted);cursor:pointer}.aspect-opt .aspect-icon{display:block;border:2px solid currentColor;border-radius:2px}.aspect-opt b{font-size:15px;color:var(--text);font-weight:600}.aspect-opt small{font-size:14px}.aspect-opt.active{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--surface))}.aspect-opt.active b{color:var(--accent)}.brief-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:230px;padding-top:18px}.brief-actions .primary{min-height:42px;padding:0 22px;white-space:nowrap}.brief-actions small{color:var(--muted);font-size:15px}.brief-action-meta{display:grid;gap:4px;min-width:108px}.brief-action-meta .save-success{font-size:15px;white-space:nowrap}.brief-field-inline{grid-template-columns:auto 1fr;align-items:center;gap:12px}.brief-field-inline select{width:auto;min-width:120px}@media(max-width:720px){.brief-grid{grid-template-columns:1fr}.aspect-picker{grid-template-columns:repeat(3,1fr)}}.brief-card-primary{gap:18px;padding:24px;border-color:color-mix(in srgb,var(--accent) 25%,var(--line));background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 5%,var(--surface)) 0%,var(--surface) 62%);box-shadow:0 12px 30px #1f29240f}.brief-primary-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.brief-primary-topline .brief-card-head{gap:12px}.brief-primary-topline h1{margin:2px 0 0;font-size:clamp(22px,2.5vw,28px);letter-spacing:-.03em;line-height:1.2}.brief-project-pill{max-width:220px;overflow:hidden;padding:7px 11px;border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));border-radius:999px;color:var(--accent-dark, #087b78);background:color-mix(in srgb,var(--accent) 8%,var(--surface));font-size:15px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.brief-lead{max-width:700px;margin:-3px 0 0 40px;color:var(--muted);font-size:15px;line-height:1.55}.brief-composer-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:14px;align-items:stretch}.brief-composer{gap:9px;min-width:0}.brief-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.brief-label-row strong{color:var(--text);font-size:15px}.brief-label-row small{color:var(--muted);font-size:14px}.brief-composer .brief-desc{min-height:148px;padding:13px;border-color:color-mix(in srgb,var(--accent) 25%,var(--line));border-radius:9px;background:#ffffffd1;box-shadow:inset 0 1px 2px #07151508;font-size:15px;line-height:1.65}.brief-composer .brief-desc:focus{border-color:var(--accent);outline:3px solid color-mix(in srgb,var(--accent) 13%,transparent)}.brief-composer-footer{display:flex;justify-content:space-between;gap:12px}.brief-autosave{color:var(--accent-dark, #149b99)!important}.brief-inspiration{display:grid;align-content:center;gap:8px;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:color-mix(in srgb,var(--surface-soft) 72%,var(--surface))}.brief-inspiration-title{display:flex;align-items:center;gap:7px;color:var(--text)}.brief-inspiration-title svg{color:var(--accent)}.brief-inspiration>p{display:none}.brief-prompt-list{display:flex;flex-wrap:wrap;gap:6px}.brief-prompt-list button{display:inline-flex;align-items:center;gap:4px;padding:6px 7px;border:1px solid transparent;border-radius:6px;color:var(--muted);background:var(--surface);font-size:14px;line-height:1.3;text-align:left}.brief-prompt-list button:hover{border-color:color-mix(in srgb,var(--accent) 35%,var(--line));color:var(--text);background:color-mix(in srgb,var(--accent) 6%,var(--surface))}.brief-prompt-list button span{color:var(--accent);font-size:15px;line-height:1.1}@media(max-width:720px){.brief-primary-topline{flex-direction:column}.brief-project-pill{max-width:100%}.brief-lead{margin-left:0}.brief-composer-layout{grid-template-columns:1fr}.brief-inspiration{order:-1}.brief-composer .brief-desc{min-height:167px}}.brief-card-head{align-items:center}.step-badge{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:none;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;font-size:15px;box-shadow:0 2px 6px color-mix(in srgb,var(--accent) 35%,transparent)}.brief-card-head>div{display:grid;gap:2px}.brief-desc{font-size:15px;line-height:1.6;min-height:132px}.brief-meta{text-align:right}.brand-ref-section{display:grid;gap:12px}.brand-ref-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand-ref-head strong{display:block;color:var(--text);font-size:15px}.brand-ref-head small{color:var(--muted);font-size:15px}.brand-ref-count{flex:none;color:var(--accent);font-weight:700;font-size:15px}.brand-ref-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px}.brand-ref-item{position:relative;padding:0;aspect-ratio:1 / 1;border:2px solid var(--line);border-radius:9px;overflow:hidden;cursor:pointer;background:var(--surface-soft);transition:border-color .15s,opacity .15s}.brand-ref-item img{width:100%;height:100%;object-fit:cover;display:block}.brand-ref-item.is-included{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}.brand-ref-item.is-excluded{opacity:.42}.brand-ref-item.is-excluded img{filter:grayscale(.75)}.brand-ref-check{position:absolute;left:6px;bottom:6px;padding:2px 8px;border-radius:999px;font-size:14px;font-weight:700;line-height:1.4}.brand-ref-item.is-included .brand-ref-check{background:var(--accent);color:#fff}.brand-ref-item.is-excluded .brand-ref-check{background:#00000094;color:#fff}.my-ref-section{display:grid;gap:12px;border-top:1px dashed var(--line);padding-top:14px}.my-ref-section .reference-manager-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}.my-ref-section .reference-manager-grid figure{aspect-ratio:1 / 1}.my-ref-section .reference-manager-grid img{aspect-ratio:1 / 1;object-fit:cover}.brief-assets-card,.brief-output-card{gap:16px;padding:18px 20px}.brief-assets-card .brief-card-head,.brief-output-card .brief-card-head{position:relative}.brief-head-note{margin-left:auto;color:var(--muted);font-size:14px}.brief-source-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-width:0;max-width:100%}.brief-source-picker{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.brief-source-label{color:var(--muted);font-size:15px;font-weight:700;white-space:nowrap}.brief-source-picker .project-brand-selector{display:block;min-width:0;margin:0;padding:0;border:0;background:transparent}.brief-source-picker .project-brand-selector>div:first-child{display:none}.brief-source-picker .project-brand-selector select{width:100%;min-width:0;min-height:34px;padding:0 9px;border-radius:7px;background:var(--surface)}.brief-upload-source{display:grid;grid-template-columns:minmax(0,1fr)}.image-upload-requirements{display:block;color:var(--muted);font-size:14px;line-height:1.5}.brief-upload-source .image-upload-requirements{margin-bottom:4px}.brand-asset-sections-head .image-upload-requirements{margin-top:3px}.brand-asset-sections section>div:first-child>div{display:grid;gap:2px}.brief-upload-compact{width:100%;min-height:34px;gap:6px;padding:0 11px;white-space:nowrap}.brief-reference-summary{display:flex;align-items:center;gap:8px;padding-top:0}.brief-reference-summary strong{color:var(--text);font-size:15px}.brief-reference-summary span{color:var(--muted);font-size:14px}.brief-reference-summary i{margin:0 4px;color:var(--line);font-style:normal}.brief-unified-ref-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:9px;overflow:visible}.unified-ref-item{position:relative;min-width:0}.unified-ref-item img{display:block;width:100%;height:82px;object-fit:cover}.unified-ref-item .unified-ref-source{display:none}.unified-ref-item .brand-ref-check{bottom:6px}.my-ref-item{margin:0;aspect-ratio:auto;border:2px solid color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:9px;overflow:visible;background:var(--surface-soft)}.my-ref-item button{position:absolute;right:5px;bottom:5px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:50%;color:#fff;background:#071515ad}.my-ref-item figcaption{display:none}.brief-unified-empty{margin:0}.brief-output-row{display:grid;gap:16px}.brief-spec-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}.brief-aspect-compact,.brief-duration-compact{display:grid;gap:9px;min-width:0}.brief-output-card .aspect-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.brief-output-card .aspect-opt{grid-template-columns:auto auto;gap:6px;min-height:42px;align-content:center;padding:7px 5px;border-radius:7px}.brief-output-card .aspect-opt .aspect-icon{grid-row:span 2}.brief-output-card .aspect-opt small{display:none}.brief-output-card .aspect-opt b{font-size:15px}.duration-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.duration-opt{display:grid;place-items:center;min-height:42px;padding:7px 5px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--surface-soft);font-size:15px}.duration-opt b{font-size:15px;font-weight:600}.duration-opt.active{border-color:var(--accent);color:var(--accent-dark, #087b78);background:color-mix(in srgb,var(--accent) 9%,var(--surface));font-weight:700}.brief-duration-compact>small{color:var(--muted);font-size:14px}.brief-expression-row{display:grid;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.expression-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.expression-opt{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-height:56px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:var(--surface-soft);text-align:left}.expression-opt b{font-size:15px;white-space:nowrap}.expression-opt em{font-style:normal;font-size:14px;opacity:.78;line-height:1.3}.expression-opt.active{border-color:var(--accent);color:var(--accent-dark, #087b78);background:color-mix(in srgb,var(--accent) 9%,var(--surface))}.expression-opt.active b{font-weight:700}.brief-expression-row>small{color:var(--muted);font-size:14px}.brief-advice{color:#b4690e}@media(max-width:980px){.brief-spec-row{grid-template-columns:1fr}.brief-output-row .brief-actions{justify-content:flex-start;padding-top:0}.expression-options{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.brief-source-row,.brief-spec-row{grid-template-columns:1fr;gap:6px}.brief-output-row .brief-actions{justify-content:flex-start}.brief-output-card .aspect-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.brief-head-note{display:none}.expression-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.brief-card-primary,.brief-assets-card,.brief-output-card{padding:13px}.brief-output-card .aspect-opt{grid-template-columns:1fr}.brief-output-card .aspect-opt .aspect-icon{grid-row:auto}.brief-output-card .aspect-picker{gap:3px}.brief-output-card .aspect-opt{padding-inline:3px}.brief-source-picker{grid-template-columns:1fr;gap:3px}.brief-upload-source{align-items:center;grid-template-columns:auto 1fr}}.create-workspace .brief-card{min-width:0;max-width:100%;border:1px solid rgba(45,189,187,.16);border-radius:14px;background:#fff;box-shadow:0 8px 22px #2a5c580d}.create-workspace .brief-card-primary{border-color:#2dbdbb4d;background:#eefaf8;box-shadow:0 10px 26px #2dbdbb14}.create-workspace .brief-card-head h1,.create-workspace .brief-card-head h2{color:#173332}.create-workspace .step-badge{border:3px solid #d8f3ef;background:#24aaa7;box-shadow:none}.create-workspace .brief-project-pill{border-color:#b9e7e1;color:#087b78;background:#e2f7f4}.create-workspace .brief-focus-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:10px 0 4px;min-width:0;max-width:100%}.create-workspace .brief-focus-row label{display:grid;gap:6px;min-width:0;font-size:15px;font-weight:700;color:#173332}.create-workspace .brief-focus-row select{width:100%;max-width:100%;min-width:0;min-height:38px;border:1px solid #cfe8e4;border-radius:10px;background:#fff;text-overflow:ellipsis}.create-workspace .brief-focus-row option{max-width:100%;overflow:hidden;text-overflow:ellipsis}.create-workspace .brand-ref-toggle{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left}.create-workspace .brand-ref-toggle img{width:100%;height:82px;object-fit:cover}.create-workspace .ref-role-select{position:relative;z-index:2;width:100%;margin-top:4px}.create-workspace .ref-role-select.is-open{z-index:120}.create-workspace .ref-role-select .brand-picker-trigger{min-height:28px;padding:4px 8px;border-width:1px;font-size:14px;box-shadow:none}.create-workspace .ref-role-select .brand-picker-trigger b{font-size:15px}.create-workspace .brief-unified-ref-grid,.create-workspace .unified-ref-item,.create-workspace .brand-ref-item,.create-workspace .my-ref-item{overflow:visible}.create-workspace .unified-ref-item:has(.is-open),.create-workspace .brand-ref-item:has(.is-open),.create-workspace .my-ref-item:has(.is-open){z-index:200}.create-workspace .brief-assets-card:has(.is-open){z-index:30}.create-workspace .ref-role-select .brand-picker-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:250;width:100%;min-width:0;max-width:100%;margin-top:0}.create-workspace .brief-focus-row .brand-picker{width:100%;max-width:100%;min-width:0}.director-decision-edit{display:grid;gap:10px;margin-top:14px}.director-decision-edit label{display:grid;gap:6px;font-size:15px;font-weight:700;color:#173332}.director-decision-edit textarea{width:100%;border:1px solid #cfe8e4;border-radius:10px;padding:8px 10px;font:inherit}.director-ref-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.director-ref-thumbs figure{margin:0;width:64px}.director-ref-thumbs img{width:64px;height:42px;object-fit:cover;border-radius:6px;display:block}.director-ref-thumbs figcaption{margin-top:3px;font-size:14px;font-weight:700;color:#087b78}@media(max-width:900px){.create-workspace .brief-focus-row{grid-template-columns:minmax(0,1fr)}.brand-picker,.brand-picker-trigger,.create-workspace .brand-picker,.create-workspace .brief-focus-row .brand-picker{width:100%;max-width:100%}.brand-picker.is-open{z-index:90}.brand-picker-menu{position:static;width:100%;max-width:100%;max-height:none;overflow:visible}.brand-picker-trigger span{white-space:normal}.create-workspace .brief-inspiration-wall .legacy-inspiration-catalog,.create-workspace .brief-inspiration-wall .legacy-catalog-group>div{grid-template-columns:1fr}.create-workspace .create-steps{overflow-x:hidden}.create-workspace .create-steps li{min-width:0;flex:1}}.create-workspace .brief-composer-layout{display:block}.create-workspace .brief-inspiration-wall{margin-top:14px;min-width:0;max-width:100%;overflow-x:hidden}.content[data-page=create]{overflow-x:hidden}.create-workspace .brief-inspiration-current{margin:0 0 10px;color:#087b78;font-size:15px;font-weight:700}.create-workspace .brief-inspiration-wall .legacy-inspiration-stream{margin-top:0;padding-top:0;border-top:0;overflow:hidden}.create-workspace .brief-inspiration-entry{display:inline-flex;align-items:center;gap:8px;width:auto;min-height:41px;padding:0 17px 0 11px;border:1px solid #ff493d;border-radius:999px;color:#fff;background:linear-gradient(135deg,#ff6b4a,#ff493d);box-shadow:0 8px 16px #ff493d38;font-size:15px;font-weight:800;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.create-workspace .brief-inspiration-entry:hover{filter:brightness(1.05);box-shadow:0 10px 18px #ff493d47;transform:translateY(-1px)}.create-workspace .brief-inspiration-entry-icon{display:grid;flex:0 0 auto;place-items:center;width:27px;height:27px;border-radius:999px;color:#ff493d;background:#fff}.create-workspace .brief-inspiration-wall.is-open .legacy-inspiration-stream{overflow-x:hidden;overflow-y:visible;max-width:100%}.create-workspace .brief-composer .brief-desc{border:2px solid #bfe8e3;background:#fff;box-shadow:none}.create-workspace .brief-composer .brief-desc:hover{border-color:#8ed6d0}.create-workspace .brief-composer .brief-desc:focus{border-color:#24aaa7;outline:4px solid rgba(36,170,167,.12)}.create-workspace .brief-inspiration{border-color:#ccebe7;background:#f7fcfb}.create-workspace .brief-prompt-list button{border:1px solid #d5eeeb;color:#26726f;background:#fff;transition:.15s ease}.create-workspace .brief-prompt-list button:hover{border-color:#62c7c1;color:#087b78;background:#e8f8f6;transform:translateY(-1px)}.create-workspace .brief-assets-card,.create-workspace .brief-output-card{border-color:#dcebea}.create-workspace .brief-assets-card{position:relative;z-index:12;overflow:visible}.create-workspace .brief-output-card{position:relative;z-index:1}.create-workspace .brief-source-picker{border:1px solid #cfe8e5;background:#f4fbfa}.create-workspace .brief-source-picker .project-brand-selector select{width:100%;min-height:38px;padding:0 34px 0 12px;border:2px solid #bfe1dd;border-radius:9px;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;color:#173332;box-shadow:0 2px 7px #24aaa70f;font-size:15px;cursor:pointer}.create-workspace .brief-source-picker .project-brand-selector select:hover{border-color:#79cbc5;background:#fbfffe}.create-workspace .brief-source-picker .project-brand-selector select:focus,.create-workspace .brief-source-picker .project-brand-selector select:focus-visible{border-color:#24aaa7;outline:4px solid rgba(36,170,167,.12);box-shadow:0 2px 9px #24aaa71a}.create-workspace .brief-source-picker .project-brand-selector{position:relative}.create-workspace .brief-source-picker .project-brand-selector:after{display:none}.create-workspace .brand-picker,.create-workspace .brief-focus-row .brand-picker{width:100%;max-width:100%;min-width:0}.create-workspace .brief-upload-compact{border:1px solid #9bd8d2;color:#087b78;background:#e8f8f6;font-weight:700;transition:.15s ease}.create-workspace .brief-upload-compact:hover{border-color:#24aaa7;color:#075f5d;background:#d6f2ef;transform:translateY(-1px)}.create-workspace .brief-reference-summary{padding:8px 11px;border-radius:8px;background:#f2faf9}.create-workspace .brief-reference-summary strong{color:#173332}.create-workspace .brief-unified-ref-grid{padding:10px;overflow:visible;border:1px solid #e0efed;border-radius:10px;background:#f8fcfb}.create-workspace .brand-ref-item{border:2px solid #d8e9e7;background:#eaf5f4;box-shadow:none}.create-workspace .brand-ref-item.is-included{border-color:#39b9b2;box-shadow:0 0 0 3px #39b9b21a}.create-workspace .brand-ref-item.is-excluded{border-color:#dce5e3;background:#f1f4f3;box-shadow:none}.create-workspace .brand-ref-item.is-included .brand-ref-check{background:#24aaa7}.create-workspace .brand-ref-item.is-excluded .brand-ref-check{background:#6e8583}.create-workspace .my-ref-item{border-color:#9bd8d2;box-shadow:0 0 0 3px #9bd8d214}.create-workspace .my-ref-item button{background:#50706d}.create-workspace .my-ref-item button:hover{background:#c44f48}.create-workspace .brief-output-card .aspect-opt{border:1px solid #d1e6e3;color:#4e6b69;background:#f7fbfa;transition:.15s ease}.create-workspace .brief-output-card .aspect-opt:hover{border-color:#79cbc5;color:#087b78;background:#eaf8f6;transform:translateY(-1px)}.create-workspace .brief-output-card .aspect-opt.active{border:2px solid #24aaa7;color:#087b78;background:#def5f2;box-shadow:0 3px 9px #24aaa71f}.create-workspace .brief-output-card .aspect-opt.active b{color:#087b78}.create-workspace .brief-output-card .aspect-opt .aspect-icon{border-color:currentColor}.create-workspace .duration-opt{border:1px solid #d1e6e3;color:#4e6b69;background:#f7fbfa;transition:.15s ease}.create-workspace .duration-opt:hover{border-color:#79cbc5;color:#087b78;background:#eaf8f6;transform:translateY(-1px)}.create-workspace .duration-opt.active{border:2px solid #24aaa7;color:#087b78;background:#def5f2;box-shadow:0 3px 9px #24aaa71f}.create-workspace .brief-actions .primary{border:0;border-radius:9px;color:#fff;background:#f05a50;box-shadow:0 6px 14px #f05a502e;transition:.15s ease}.create-workspace .brief-actions .primary:hover:not(:disabled){background:#de4c44;box-shadow:0 8px 17px #f05a503d;transform:translateY(-1px)}.create-workspace .brief-actions .primary:disabled{opacity:.6;box-shadow:none}.create-workspace .save-success,.create-workspace .brief-autosave{color:#149b99!important}@media(max-width:760px){.shell{grid-template-rows:auto minmax(0,1fr);height:100dvh}.sidebar{width:100%;height:auto;max-height:61px;overflow-x:auto;overflow-y:hidden}.content{height:auto;padding-bottom:21px}}@media(min-width:821px){.content[data-page=dashboard],.content[data-page=images]{overflow-x:hidden;overflow-y:auto;padding-top:28px;padding-bottom:clamp(12px,2vh,28px)}.content[data-page=dashboard] .legacy-dashboard{display:grid;grid-template-rows:auto auto auto;align-content:start;gap:12px;width:100%;height:auto;min-height:0;padding:0 4px;overflow:hidden}.content[data-page=dashboard] .legacy-dashboard-hero{min-height:0;height:auto;padding:0;align-items:start;gap:28px}.content[data-page=dashboard] .legacy-engine-visual{min-height:0}.content[data-page=dashboard] .legacy-hero-copy h1{margin-bottom:12px;font-size:28px}.content[data-page=dashboard] .legacy-hero-copy>p{margin-bottom:16px;padding-bottom:12px;font-size:15px;line-height:1.6}.content[data-page=dashboard] .legacy-hero-steps li{min-height:64px;padding:8px 10px}.content[data-page=dashboard] .legacy-engine-window{width:min(100%,520px);max-height:36vh}.content[data-page=dashboard] .legacy-home-actions{height:72px;margin:0;gap:12px}.content[data-page=dashboard] .legacy-home-action{min-height:72px;padding-top:8px;padding-bottom:8px}.content[data-page=dashboard] .legacy-inspiration-stream{min-height:0;margin:58px 0 0;padding-top:0;overflow:hidden}.content[data-page=dashboard] .legacy-inspiration-row{height:50px;margin-top:8px}.content[data-page=dashboard] .legacy-section-heading+.legacy-inspiration-row{margin-top:8px}.content[data-page=dashboard] .legacy-inspiration-track{gap:10px}.content[data-page=dashboard] .legacy-inspiration-track button{min-height:44px;padding:8px 15px;font-size:15px}.content[data-page=dashboard] .legacy-section-heading{margin-bottom:8px}.content[data-page=dashboard]:has(.legacy-dashboard.catalog-open){overflow-y:auto}.content[data-page=dashboard] .legacy-dashboard.catalog-open{display:block;height:auto;min-height:100%;overflow:visible;padding-bottom:28px}.content[data-page=dashboard] .legacy-dashboard.catalog-open .legacy-dashboard-hero{min-height:440px;height:auto}.content[data-page=dashboard] .legacy-dashboard.catalog-open .legacy-home-actions{margin-top:16px}.content[data-page=dashboard] .legacy-dashboard.catalog-open .legacy-inspiration-stream{margin-top:58px;overflow:visible}}@media(min-width:821px)and (max-height:700px){.content[data-page=dashboard] .legacy-dashboard{grid-template-rows:auto auto auto;min-height:0}.content[data-page=dashboard] .legacy-hero-copy h1{font-size:28px}.content[data-page=dashboard] .legacy-hero-copy>p{margin-bottom:10px;padding-bottom:8px}.content[data-page=dashboard] .legacy-hero-steps li{min-height:56px}.content[data-page=dashboard] .legacy-home-actions,.content[data-page=dashboard] .legacy-home-action{height:60px;min-height:60px}}.task-delete-record{color:var(--danger, #b86861)}.task-delete-record:hover{color:#fff;border-color:#c44f48;background:#c44f48}@media(hover:hover)and (pointer:fine){button:not(:disabled),a,[role=button],summary,label.upload-button,label.asset-upload-command,label.asset-empty-upload{transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease,opacity .16s ease}button:not(:disabled):hover,a:hover,[role=button]:hover,summary:hover,label.upload-button:hover,label.asset-upload-command:hover,label.asset-empty-upload:hover{color:var(--text)}button:not(:disabled):hover{border-color:color-mix(in srgb,var(--accent, var(--primary)) 42%,var(--line));background:color-mix(in srgb,var(--accent, var(--primary)) 6%,var(--surface));box-shadow:0 3px 10px #1f3d3712;transform:translateY(-1px)}.primary:not(:disabled):hover,.secondary:not(:disabled):hover,.theme-link:hover,.danger-link:hover,.danger-action:hover,.auth-password-input button:hover,.brand-create-heading>button:hover,.agent-drawer-head>button:hover{border-color:color-mix(in srgb,var(--accent, var(--primary)) 55%,var(--line));background:color-mix(in srgb,var(--accent, var(--primary)) 9%,var(--surface));box-shadow:0 4px 12px #1f3d371a;transform:translateY(-1px)}.primary:not(:disabled):hover{color:#fff;border-color:color-mix(in srgb,var(--primary) 78%,#000);background:color-mix(in srgb,var(--primary) 88%,#000);box-shadow:0 7px 16px color-mix(in srgb,var(--primary) 24%,transparent)}nav a:hover,.sidebar-foot button:hover,.task-tabs button:not(:disabled):hover,.auth-tabs button:not(:disabled):hover,.create-steps li:hover{color:var(--text);background:color-mix(in srgb,var(--accent) 10%,var(--surface))}nav a:hover,.sidebar-foot button:hover{transform:translate(2px)}.task-tabs button:not(:disabled):hover,.auth-tabs button:not(:disabled):hover{transform:translateY(-1px)}.project-table tbody tr,.task-table tbody tr,.brand-table tbody tr,.admin-table tbody tr,.legacy-hero-steps li,.legacy-home-action,.legacy-inspiration-catalog button,.brief-card,.summary>div,.page-section,.payment-card,.topup-panel,.project-brand-selector,.project-reference-manager,.director-heading,.director-content>section,.director-two>section,.director-editor,.result-inspector,.account-summary>div,.my-referral-card,.admin-metrics>div,.activation-generated,.brand-editor-form-panel,.brand-editor-page .brand-asset-sections,.project-assets-panel{transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,transform .16s ease}.project-table tbody tr:hover,.task-table tbody tr:hover,.brand-table tbody tr:hover,.admin-table tbody tr:hover{background:color-mix(in srgb,var(--accent) 5%,var(--surface));box-shadow:inset 3px 0 0 var(--accent)}.legacy-hero-steps li:hover,.legacy-home-action:hover,.brief-card:hover,.summary>div:hover,.page-section:hover,.payment-card:hover,.topup-panel:hover,.project-brand-selector:hover,.project-reference-manager:hover,.director-heading:hover,.director-content>section:hover,.director-two>section:hover,.director-editor:hover,.result-inspector:hover,.account-summary>div:hover,.my-referral-card:hover,.admin-metrics>div:hover,.activation-generated:hover,.brand-editor-form-panel:hover,.brand-editor-page .brand-asset-sections:hover,.project-assets-panel:hover{border-color:color-mix(in srgb,var(--accent) 34%,var(--line));box-shadow:0 8px 20px #1f3d3714;transform:translateY(-2px)}.legacy-home-action:hover,.legacy-inspiration-catalog button:hover{border-color:color-mix(in srgb,var(--legacy-mint, var(--accent)) 46%,var(--line));background:color-mix(in srgb,var(--legacy-mint, var(--accent)) 7%,var(--surface))}.brand-cell img,.project-cell img,.task-project-cell>img,.reference-manager-grid img,.unified-ref-item img,.brand-ref-item img,.brand-asset-grid img,.legacy-engine-window>img{transition:filter .18s ease,transform .18s ease,box-shadow .18s ease}.brand-cell:hover img,.project-cell:hover img,.task-project-cell:hover>img,.reference-manager-grid figure:hover img,.unified-ref-item:hover img,.brand-ref-item:hover img,.brand-asset-grid figure:hover img,.legacy-engine-window:hover>img{filter:saturate(1.08) contrast(1.02);transform:scale(1.025);box-shadow:0 5px 14px #1f3d3724}input:hover,select:hover,textarea:hover{border-color:color-mix(in srgb,var(--accent) 42%,var(--line))}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 28%,transparent);outline-offset:2px}}@media(prefers-reduced-motion:reduce){button,a,[role=button],summary,input,select,textarea,img,.project-table tbody tr,.task-table tbody tr,.brand-table tbody tr,.admin-table tbody tr{transition-duration:.01ms!important}}@media(min-width:821px){.content{position:relative;overflow:auto}.content:not([data-page=dashboard]):not([data-page=images]){height:100%;min-height:0;padding-top:20px}.global-toolbar{position:static;z-index:auto;top:auto;right:auto;width:fit-content;margin:0 0 12px auto}.content[data-page=dashboard]{height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding-top:28px;padding-bottom:16px}.content[data-page=dashboard] .global-toolbar{position:static;top:auto;right:auto;z-index:auto;width:fit-content;margin:0 0 22px auto}.content[data-page=dashboard] .legacy-dashboard{grid-template-rows:auto auto auto;align-content:start;height:auto;min-height:0;gap:12px}.content[data-page=dashboard] .legacy-dashboard-hero{height:auto;min-height:0;padding:0;align-items:start;gap:28px}.content[data-page=dashboard] .legacy-engine-visual{min-height:0}.content[data-page=dashboard] .legacy-engine-window{max-height:min(40vh,220px)}.content[data-page=dashboard] .legacy-inspiration-stream{min-height:0;overflow:hidden}.content[data-page=dashboard] .legacy-inspiration-stream button{white-space:nowrap}}@media(min-width:821px)and (max-height:700px){.content[data-page=dashboard] .legacy-dashboard{grid-template-rows:auto auto auto}}@media(max-width:820px){.global-toolbar{margin-bottom:8px}}@media(min-width:821px){.content[data-page=account]{height:auto;min-height:0;overflow:auto;padding-top:20px;padding-bottom:28px}.content[data-page=account]>header{min-height:42px}.content[data-page=account] .account-center{grid-template-rows:none;height:auto;min-height:0;margin-top:10px;gap:18px}.content[data-page=account] .account-summary,.content[data-page=account] .account-referral-grid{min-height:0}.content[data-page=account] .account-summary>div{min-height:0;padding:clamp(15px,2.2vh,22px) clamp(16px,1.7vw,24px)}.content[data-page=account] .account-referral-grid,.content[data-page=account] .my-referral-card{height:auto}.content[data-page=account] .my-referral-card{min-height:0;padding:clamp(18px,2.5vh,26px)}.content[data-page=account] .account-section-heading{margin:0}.content[data-page=account]>.topup-panel{grid-template-columns:minmax(150px,.42fr) minmax(0,1.58fr);min-height:0;margin:0;padding:clamp(14px,2vh,22px) clamp(16px,1.9vw,26px)}.content[data-page=account] .topup-form{flex-wrap:wrap;min-width:0;gap:8px}.content[data-page=account] .topup-form input{width:clamp(92px,10vw,150px);flex:0 1 auto}.content[data-page=account] .topup-form select,.content[data-page=account] .topup-form button,.content[data-page=account] .amount-option,.content[data-page=account] .topup-quote{flex:0 0 auto;white-space:nowrap}.content[data-page=account] .topup-form .amount-option{padding-inline:clamp(7px,.75vw,12px)}.content[data-page=account] .account-version{align-self:end;padding-top:0}}@media(min-width:821px)and (max-width:1180px)and (max-resolution:1.49dppx),(min-width:821px)and (max-width:900px)and (min-resolution:1.5dppx){.content[data-page=account] .account-center{grid-template-rows:none}.content[data-page=account]>.topup-panel{grid-template-columns:1fr;gap:10px}.content[data-page=account] .topup-form{overflow-x:auto;padding-bottom:2px}}@media(max-width:820px){.content[data-page=account] .topup-form{flex-wrap:wrap}}@media(min-width:821px)and (min-height:850px){.content[data-page=dashboard] .legacy-dashboard{grid-template-rows:auto auto auto;gap:12px}.content[data-page=dashboard] .legacy-dashboard-hero{padding-block:0}.content[data-page=dashboard] .legacy-hero-copy h1{font-size:clamp(43px,3.25vw,63px);margin-bottom:clamp(14px,2vh,22px)}.content[data-page=dashboard] .legacy-hero-copy>p{margin-bottom:clamp(18px,2.4vh,30px);padding-bottom:clamp(12px,1.8vh,20px)}.content[data-page=dashboard] .legacy-engine-window{width:min(100%,clamp(520px,38vw,700px));max-height:min(42vh,330px)}.content[data-page=dashboard] .legacy-home-actions,.content[data-page=dashboard] .legacy-home-action{height:100%;min-height:0}.content[data-page=dashboard] .legacy-inspiration-stream:not(.catalog-open) .legacy-section-heading{margin:0}}.content[data-page=dashboard],.content[data-page=projects],.content[data-page=create],.content[data-page=director],.content[data-page=tasks],.content[data-page=assets],.content[data-page=brand-edit],.content[data-page=account],.content[data-page=result]{font-size:clamp(15px,.78vw,17px)}.content[data-page=dashboard] .legacy-inspiration-stream button{font-size:15px}.content[data-page=dashboard] .legacy-hero-copy>p,.content[data-page=dashboard] .legacy-home-action small,.content[data-page=dashboard] .legacy-hero-steps small,.content[data-page=projects] .project-page p,.content[data-page=tasks] .task-workbench-head p,.content[data-page=assets] .brand-page-head p,.content[data-page=brand-edit] .brand-editor-page-head p,.content[data-page=account] .account-summary small,.content[data-page=account] .my-referral-card p,.content[data-page=account] .topup-panel p,.content[data-page=director] .director-content p,.content[data-page=result] .result-inspector p{font-size:clamp(14px,.78vw,16px);line-height:1.6}.content[data-page=projects] .project-page h2,.content[data-page=tasks] .task-workbench-head h2,.content[data-page=assets] .brand-page-head h2,.content[data-page=account] .account-section-heading h2,.content[data-page=result] .result-head h2{font-size:clamp(23px,1.55vw,29px)}.content[data-page=create] .brief-card-head h1,.content[data-page=director] .director-customer-summary h3,.content[data-page=brand-edit] .brand-editor-page-head h2{font-size:clamp(27px,2vw,35px)}.content[data-page=projects] .project-table,.content[data-page=tasks] .task-table,.content[data-page=assets] .brand-table{font-size:clamp(14px,.76vw,16px)}.content[data-page=projects] .project-table th,.content[data-page=projects] .project-table td,.content[data-page=tasks] .task-table th,.content[data-page=tasks] .task-table td,.content[data-page=assets] .brand-table th,.content[data-page=assets] .brand-table td{padding-top:14px;padding-bottom:14px}.content[data-page=projects] .project-cell small,.content[data-page=tasks] .task-project-cell small,.content[data-page=assets] .brand-cell small,.content[data-page=tasks] .task-status,.content[data-page=projects] .project-stage,.content[data-page=assets] .brand-tags span{font-size:clamp(13px,.7vw,15px)}.content[data-page=create] .brief-field,.content[data-page=create] .brief-source-label,.content[data-page=create] .brief-duration-compact>small,.content[data-page=brand-edit] .brand-form label,.content[data-page=brand-edit] .brand-asset-sections small,.content[data-page=account] .account-summary span,.content[data-page=account] .account-card-title small,.content[data-page=account] .topup-form,.content[data-page=account] .topup-form input,.content[data-page=account] .topup-form select{font-size:clamp(14px,.76vw,16px)}.content[data-page=create] input,.content[data-page=create] select,.content[data-page=create] textarea,.content[data-page=brand-edit] input,.content[data-page=brand-edit] select,.content[data-page=brand-edit] textarea,.content[data-page=account] input,.content[data-page=account] select{font-size:clamp(15px,.8vw,17px)}.sidebar nav a,.sidebar-foot button{font-size:clamp(15px,.78vw,17px)}.sidebar nav>span{font-size:clamp(13px,.68vw,15px)}.content[data-page=projects] .primary,.content[data-page=projects] .secondary,.content[data-page=tasks] .primary,.content[data-page=tasks] .secondary,.content[data-page=assets] .primary,.content[data-page=assets] .secondary,.content[data-page=brand-edit] .primary,.content[data-page=brand-edit] .secondary,.content[data-page=account] .primary,.content[data-page=account] .secondary,.content[data-page=create] .primary,.content[data-page=create] .secondary,.content[data-page=director] .primary,.content[data-page=director] .secondary,.content[data-page=result] .primary,.content[data-page=result] .secondary{font-size:clamp(14px,.74vw,16px)}@media(max-width:820px){.content[data-page],.content[data-page=projects] .project-table,.content[data-page=tasks] .task-table,.content[data-page=assets] .brand-table{font-size:11px}}.content[data-page] .eyebrow,.content[data-page] .brief-source-label,.content[data-page] .brief-label,.content[data-page] label,.content[data-page] table,.content[data-page] .status,.content[data-page] .project-muted,.content[data-page] .task-muted{font-size:15px}.content[data-page] small,.content[data-page] time,.content[data-page] .brief-lead,.content[data-page] .brief-meta,.content[data-page] .brief-autosave,.content[data-page] .brief-head-note,.content[data-page] .brief-reference-summary span,.content[data-page] .brief-duration-compact>small,.content[data-page] .brief-expression-row>small,.content[data-page] .image-upload-requirements,.content[data-page] .project-table small,.content[data-page] .task-table small,.content[data-page] .result-inspector>p{font-size:15px;line-height:1.6}.content[data-page=create] .brief-lead,.content[data-page=create] .brief-field>small,.content[data-page=create] .brief-description-hint,.content[data-page=create] .expression-opt em,.content[data-page=create] .brief-advice{font-size:15px;line-height:1.6}.content[data-page=create] .expression-opt{min-height:70px;padding:12px 13px}.content[data-page=create] .expression-opt b,.content[data-page=create] .duration-opt,.content[data-page=create] .brief-output-card .aspect-opt b{font-size:15px}.content[data-page=create] .brief-card-head h2{font-size:20px}.content[data-page=projects] .project-table,.content[data-page=tasks] .task-table,.content[data-page=assets] .brand-table,.content[data-page=director] .director-summary-main>p,.content[data-page=director] .storyboard-list span,.content[data-page=director] .storyboard-list small,.content[data-page=result] .result-inspector dt,.content[data-page=result] .result-inspector dd{font-size:15px}@media(max-width:720px){.content[data-page=create] .expression-options{grid-template-columns:repeat(2,minmax(0,1fr))}.content[data-page=create] .expression-opt{min-height:57px;padding:6px 7px}}.content[data-page=credits]{font-size:clamp(15px,.78vw,17px)}.credits-center,.invitation-center{display:grid;gap:18px;width:100%;max-width:none;margin:18px 0 0;padding-bottom:30px}.credits-overview-panel,.invitation-overview-panel,.referral-workbench{overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.service-panel-heading{display:flex;min-height:68px;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--line)}.service-panel-heading h2{margin-top:4px;font-size:18px}.credits-overview-grid{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(190px,.7fr) minmax(280px,1.5fr);min-height:112px;align-items:stretch}.service-metric{display:flex;min-width:0;align-items:center;gap:12px;padding:20px 22px}.service-metric+.service-metric{border-left:1px solid var(--line)}.service-metric>div{display:grid;min-width:0;gap:5px}.service-metric small{color:var(--muted);font-size:15px}.service-metric strong{overflow:hidden;color:var(--text);font-size:20px;text-overflow:ellipsis;white-space:nowrap}.service-metric.primary-metric strong{color:var(--primary);font-size:24px}.service-metric-icon{display:grid;flex:0 0 auto;place-items:center;width:40px;height:40px;border-radius:6px;color:#087b78;background:#e8f9f7}.service-metric-icon.coral{color:#a44942;background:#fff0ee}.credits-overview-grid>p{display:flex;align-items:center;margin:0;padding:20px 22px;border-left:1px solid var(--line);color:var(--muted);font-size:15px;line-height:1.65}.credits-center>.topup-panel{grid-template-columns:minmax(180px,.34fr) minmax(0,1.66fr);min-height:108px;margin:0;padding:0;gap:0}.credits-center>.topup-panel>div:first-child{display:grid;align-content:center;align-self:stretch;gap:4px;padding:18px 20px;border-right:1px solid var(--line);background:color-mix(in srgb,var(--accent) 3%,var(--surface))}.credits-center>.topup-panel>div:first-child h2{margin:0;color:var(--text);font-size:18px}.credits-center>.topup-panel>div:first-child p{margin:0;font-size:15px}.credits-center .topup-form{min-width:0;padding:18px 20px}.credits-center .topup-form input{width:140px}.credits-center .topup-form .primary{min-height:42px}.credits-center .amount-option{min-height:36px;padding-inline:10px}.credits-center .topup-quote{padding:0 6px;font-size:15px}.credit-ledger-panel{padding:0;gap:0}.credit-ledger-head{min-height:68px;padding:14px 18px;border-bottom:1px solid var(--line)}.credit-ledger-head h2{margin-top:4px}.credit-ledger-table-wrap{border:0;border-radius:0}.credit-ledger-table{table-layout:fixed;font-size:15px}.credit-ledger-table th{height:42px;background:color-mix(in srgb,var(--accent) 5%,var(--surface))}.credit-ledger-table th:first-child{width:30%}.credit-ledger-table th:nth-child(2){width:30%}.credit-ledger-table th:nth-child(3),.credit-ledger-table th:nth-child(4){width:20%;text-align:right}.credit-ledger-table td{height:54px}.credit-ledger-table td:nth-child(3),.credit-ledger-table td:nth-child(4){text-align:right;font-variant-numeric:tabular-nums}.credit-ledger-table tbody tr:hover{background:color-mix(in srgb,var(--accent) 3%,var(--surface))}.credit-ledger-empty{min-height:170px;margin:18px}.credit-ledger-more{margin:14px auto}.content[data-page=account] .invitation-center{height:auto}.invitation-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.invitation-overview-grid .service-metric{min-height:104px}.referral-workbench .service-panel-heading{min-height:74px}.referral-heading-copy{display:flex;min-width:0;align-items:center;gap:12px}.referral-heading-copy>div{display:grid;min-width:0;gap:4px}.referral-heading-copy small{overflow:hidden;color:var(--muted);font-size:15px;text-overflow:ellipsis;white-space:nowrap}.referral-count{color:var(--muted);font-size:15px}.referral-share-list{display:grid}.referral-code-toolbar{display:flex;min-height:96px;align-items:center;justify-content:space-between;gap:24px;padding:18px 24px}.referral-code-toolbar+.referral-code-toolbar{border-top:1px solid var(--line)}.referral-code-toolbar>div{display:grid;min-width:0;gap:8px}.referral-code-toolbar small{color:var(--muted);font-size:15px}.referral-code-toolbar strong{color:var(--primary);font-size:24px;letter-spacing:.08em;font-variant-numeric:tabular-nums}.referral-link-toolbar strong{overflow:hidden;font-size:15px;letter-spacing:0;font-variant-numeric:normal;text-overflow:ellipsis;white-space:nowrap}.referral-code-toolbar .secondary{display:inline-flex;flex:none;min-height:40px;align-items:center;gap:7px}.referral-note{display:grid;grid-template-columns:100px 80px minmax(0,1fr);min-height:58px;align-items:center;gap:12px;padding:12px 18px;border-top:1px solid var(--line);background:var(--surface-soft)}.referral-note span,.referral-note p{color:var(--muted);font-size:15px}.referral-note strong{color:#087b78;font-size:15px}.referral-note p{margin:0;text-align:right}.invitation-center .account-version,.credits-center .account-version{padding:0 2px}@media(min-width:821px){.content[data-page=account]{height:auto;min-height:0;overflow:auto}.content[data-page=account] .invitation-center{grid-template-rows:none;height:auto;min-height:0}.content[data-page=credits]{height:auto;min-height:0;overflow:auto}}@media(max-width:900px){.credits-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.credits-overview-grid>p{grid-column:1/-1;min-height:58px;border-top:1px solid var(--line);border-left:0}.credits-center>.topup-panel{grid-template-columns:1fr}.credits-center>.topup-panel>div:first-child{border-right:0;border-bottom:1px solid var(--line)}.credits-center .topup-form{overflow-x:auto;flex-wrap:nowrap}}@media(max-width:620px){.credits-center,.invitation-center{gap:11px;margin-top:9px}.service-panel-heading{min-height:59px;padding:9px 11px}.credits-overview-grid,.invitation-overview-grid{grid-template-columns:1fr}.service-metric{min-height:79px;padding:12px 13px}.service-metric+.service-metric{border-top:2px solid var(--line);border-left:0}.credits-overview-grid>p{padding:11px 13px}.credits-center .topup-form{align-items:stretch;overflow:visible;padding:12px;flex-direction:column}.credits-center .topup-form input,.credits-center .topup-form select,.credits-center .topup-form button{width:100%}.credits-center .amount-option{width:auto}.credit-ledger-head{align-items:center;flex-direction:row;padding:9px 11px}.credit-ledger-head .secondary{width:auto}.credit-ledger-table{min-width:617px}.referral-code-toolbar{min-height:0;align-items:stretch;padding:15px;flex-direction:column}.referral-code-toolbar strong{font-size:16px}.referral-code-toolbar .secondary{justify-content:center}.referral-note{grid-template-columns:1fr auto}.referral-note p{grid-column:1/-1;text-align:left}.referral-count{display:none}}@media(max-width:760px){.shell{grid-template-rows:auto minmax(0,1fr)}.sidebar{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:39px 39px;gap:3px 7px;width:100%;height:auto;max-height:none;padding:5px 9px;overflow:visible}.brand-link{grid-column:1;grid-row:1;min-height:39px}.brand-mark-lockup{width:37px;height:33px}.sidebar>nav:first-of-type{grid-column:1/-1;grid-row:2;display:flex;gap:2px;width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}.sidebar>nav:first-of-type::-webkit-scrollbar{display:none}.sidebar>nav:first-of-type a{flex:0 0 auto;min-height:35px;padding:6px 8px;white-space:nowrap}.sidebar-foot{grid-column:2;grid-row:1;display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:3px;margin:0;overflow:hidden}.sidebar-foot>button:first-child,.sidebar-login,.sidebar-logout{order:3;min-height:27px;width:auto;padding:3px 7px;white-space:nowrap}.sidebar-foot .locale-picker{flex:0 1 105px;min-width:79px}.sidebar-foot .credits{display:inline;flex:0 1 auto;min-width:0;margin:0;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.sidebar-foot .accent{display:none}.content{height:100%;min-height:0;padding:13px 11px 29px;overflow-x:hidden;overflow-y:auto}.global-toolbar{display:none}.credits-center .topup-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.credits-center .topup-form>input{grid-column:1/-1}.credits-center .topup-form>select{grid-column:1/3}.credits-center .topup-form>.topup-quote{display:grid;grid-column:3;place-items:center;min-height:39px}.credits-center .topup-form>.primary{grid-column:1/-1}}@media(max-width:620px){.credit-ledger-table{min-width:0}.credit-ledger-table thead{display:none}.credit-ledger-table tbody{display:grid}.credit-ledger-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:2px 11px;min-height:67px;padding:9px 11px;border-bottom:2px solid var(--line)}.credit-ledger-table tr:last-child{border-bottom:0}.credit-ledger-table td{height:auto;padding:0;border:0;white-space:normal}.credit-ledger-table td:first-child{grid-column:1;grid-row:2;color:var(--muted);font-size:10px}.credit-ledger-table td:nth-child(2){grid-column:1;grid-row:1;font-weight:600}.credit-ledger-table td:nth-child(3){grid-column:2;grid-row:1;align-self:center;font-size:10px}.credit-ledger-table td:nth-child(4){grid-column:2;grid-row:2;color:var(--muted);font-size:10px}.credit-ledger-table td:nth-child(4):before{content:"余额 "}}@media(min-width:1101px){.content[data-page=brand-edit]{height:100%;min-height:0;overflow:hidden}.content[data-page=brand-edit] .brand-editor-page{height:calc(100% - 40px);min-height:0;grid-template-rows:auto minmax(0,1fr) auto auto;gap:10px;margin-top:4px;padding:0 0 2px}.content[data-page=brand-edit] .brand-editor-page-head{min-height:0;padding:0 3px 10px}.content[data-page=brand-edit] .brand-editor-page-head h2{font-size:20px}.content[data-page=brand-edit] .brand-editor-page-head p{font-size:15px}.content[data-page=brand-edit] .brand-editor-page-body{min-height:0;height:100%;gap:12px}.content[data-page=brand-edit] .brand-editor-form-panel,.content[data-page=brand-edit] .brand-asset-sections{min-height:0;height:100%;gap:10px;padding:16px;overflow:hidden}.content[data-page=brand-edit] .brand-drawer-head{padding-bottom:8px}.content[data-page=brand-edit] .brand-drawer-head h3,.content[data-page=brand-edit] .brand-asset-sections-head h3{font-size:18px}.content[data-page=brand-edit] .brand-form{min-height:0;gap:8px 12px}.content[data-page=brand-edit] .brand-form label{gap:5px;font-size:14px}.content[data-page=brand-edit] .brand-form>label:nth-child(-n+2){grid-template-rows:16px 38px 16px}.content[data-page=brand-edit] .brand-form>label:nth-child(-n+2) .brand-picker,.content[data-page=brand-edit] .brand-form>label:nth-child(-n+2) .brand-picker-trigger,.content[data-page=brand-edit] .brand-form input,.content[data-page=brand-edit] .brand-form select{height:38px;min-height:38px}.content[data-page=brand-edit] .brand-form textarea{height:68px;min-height:68px;padding:8px 10px}.content[data-page=brand-edit] .brand-form small{font-size:14px}.content[data-page=brand-edit] .brand-asset-sections{grid-template-rows:auto repeat(3,minmax(0,1fr))}.content[data-page=brand-edit] .brand-asset-sections-head{padding-bottom:8px}.content[data-page=brand-edit] .brand-asset-sections>section{min-height:0;gap:5px;padding:8px;overflow:hidden}.content[data-page=brand-edit] .brand-asset-sections>section>div:first-child{min-height:27px}.content[data-page=brand-edit] .brand-asset-sections>section>div:first-child strong{font-size:15px}.content[data-page=brand-edit] .brand-asset-sections>section>div:first-child .secondary{min-height:27px;padding:0 9px;font-size:14px}.content[data-page=brand-edit] .image-upload-requirements{font-size:14px;line-height:1.2}.content[data-page=brand-edit] .brand-asset-grid{min-height:0;gap:6px;padding:0;overflow:hidden}.content[data-page=brand-edit] .brand-asset-grid figure img{height:58px}.content[data-page=brand-edit] .brand-asset-grid figure figcaption{padding:4px 5px;font-size:14px}.content[data-page=brand-edit] .brand-editor-form-actions{gap:8px;padding-top:8px}.content[data-page=brand-edit]>.form-error{margin:0}}html:lang(en) :is(.primary,.secondary,nav a,.sidebar-foot button){height:auto;min-height:40px;white-space:normal;overflow-wrap:break-word;text-wrap:balance}html:lang(en) :is(.project-table,.task-table,.brand-table,.admin-table) :is(th,td){height:auto;white-space:normal;overflow-wrap:break-word;line-height:1.35}html:lang(en) :is(.project-stage,.task-status,.admin-status,.create-steps li,.aspect-opt b,.expression-opt b,.brief-source-label){max-width:100%;white-space:normal;overflow-wrap:break-word;line-height:1.3;text-align:center}html:lang(en) :is(.brief-actions .primary,.brief-upload-compact,.topup-success .secondary){white-space:normal}html:lang(en) :is(.director-summary-topline,.director-output-panel>div,.reference-head,.brand-ref-head){align-items:flex-start;flex-wrap:wrap}html:lang(en) :is(.director-summary-status,.director-output-panel b,.director-output-panel em){overflow-wrap:break-word;line-height:1.35}html:lang(en) .legacy-hero-copy h1{line-height:1.08}html:lang(en) .legacy-hero-copy h1 :is(span,strong){max-width:22ch;white-space:normal;text-wrap:balance}html:lang(en) .account-center>.topup-panel>div:first-child h2:before{content:"Current"}html:lang(zh-TW) .account-center>.topup-panel>div:first-child h2:before{content:"目前"}@media(min-width:761px){html:lang(en) .shell{grid-template-columns:242px minmax(0,1fr)}}@media(max-width:760px){html:lang(en) nav a{min-width:max-content;white-space:nowrap}}@media(max-width:620px){html:lang(en) .credit-ledger-table td:nth-child(4):before{content:"Balance "}html:lang(zh-TW) .credit-ledger-table td:nth-child(4):before{content:"餘額 "}}@media(max-width:760px){body{min-width:0}.shell{grid-template-rows:auto minmax(0,1fr);width:100%}.sidebar{position:relative;top:auto;grid-template-rows:39px auto;padding:max(5px,env(safe-area-inset-top)) max(9px,env(safe-area-inset-right)) 5px max(9px,env(safe-area-inset-left));border-right:0;border-bottom:2px solid var(--line)}.sidebar>nav:first-of-type,.sidebar>.admin-nav{grid-column:1 / -1;display:flex;width:100%;gap:3px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}.sidebar>.admin-nav{grid-row:3;align-items:center;padding-top:3px;border-top:2px solid var(--line)}.sidebar>.admin-nav>span{flex:0 0 auto;padding:0 5px;white-space:nowrap}.sidebar>nav a{min-height:39px;padding:7px 9px}.content{width:100%;padding-right:max(11px,env(safe-area-inset-right));padding-bottom:max(29px,env(safe-area-inset-bottom));padding-left:max(11px,env(safe-area-inset-left))}.global-toolbar{position:sticky;z-index:3;top:-13px;display:flex;min-width:0;min-height:45px;justify-content:flex-start;margin:-13px -11px 11px;padding:6px max(11px,env(safe-area-inset-right)) 6px max(11px,env(safe-area-inset-left));border-bottom:2px solid var(--line);background:color-mix(in srgb,var(--bg) 94%,transparent);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.global-toolbar .locale-picker{flex:0 1 121px;min-width:89px}.global-toolbar .credits{flex:1 1 auto;min-width:0;margin:0;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.global-toolbar .accent{flex:0 0 auto;width:23px;height:23px}:is(.primary,.secondary,button,select,input){touch-action:manipulation}:is(.primary,.secondary){min-height:41px}header,.section-head{min-width:0;flex-wrap:wrap}h1{font-size:16px;overflow-wrap:anywhere}.page-section,.brief-main,.brief-summary,.director-content>section,.director-two>section{padding:13px}.payment-qr{width:min(261px,100%);height:auto;aspect-ratio:1}.topup-success{min-width:0;width:100%;align-items:flex-start;flex-wrap:wrap}.topup-success .secondary{width:100%;margin-left:0}.result-head-actions>*,.director-footer>*,.editor-footer>*{flex:1 1 auto}.brand-create-dialog,.agent-drawer,.task-drawer{padding-bottom:max(15px,env(safe-area-inset-bottom))}.project-table-wrap,.task-table-wrap,.brand-table-wrap,.admin-table-wrap,.project-asset-table{scrollbar-width:thin;scrollbar-color:var(--muted) transparent}.project-table-wrap::-webkit-scrollbar,.task-table-wrap::-webkit-scrollbar,.brand-table-wrap::-webkit-scrollbar,.admin-table-wrap::-webkit-scrollbar,.project-asset-table::-webkit-scrollbar{height:2px}.project-table-wrap::-webkit-scrollbar-thumb,.task-table-wrap::-webkit-scrollbar-thumb,.brand-table-wrap::-webkit-scrollbar-thumb,.admin-table-wrap::-webkit-scrollbar-thumb,.project-asset-table::-webkit-scrollbar-thumb{border-radius:2px;background:var(--muted)}}@media(max-width:430px){.sidebar{grid-template-columns:35px minmax(0,1fr)}.sidebar-foot>button:first-child{max-width:89px;overflow:hidden;text-overflow:ellipsis}.global-toolbar{gap:4px}.global-toolbar .credits{max-width:109px}.global-toolbar .accent{width:21px;height:21px}.content{padding-top:11px}.page-section,.brief-main,.brief-summary{padding:11px}.auth-shell{padding:max(7px,env(safe-area-inset-top)) max(7px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left))}.auth-panel,.brand-create-dialog{padding:17px 13px}.brand-create-actions{bottom:-17px;margin:0 -13px -17px;padding:9px 13px max(9px,env(safe-area-inset-bottom))}.reference-grid,.reference-manager-grid,.brand-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:821px)and (max-height:820px){.content[data-page=dashboard]{height:auto;min-height:100dvh;overflow-x:hidden;overflow-y:auto}.content[data-page=dashboard] .legacy-dashboard,.content[data-page=dashboard] .legacy-dashboard.catalog-open{display:flex;height:auto;min-height:0;flex-direction:column;gap:16px;overflow:visible}.content[data-page=dashboard] .legacy-dashboard-hero,.content[data-page=dashboard] .legacy-dashboard.catalog-open .legacy-dashboard-hero{display:grid;height:auto;min-height:0;padding:0}.content[data-page=dashboard] .legacy-home-actions,.content[data-page=dashboard] .legacy-dashboard.catalog-open .legacy-home-actions{height:auto;min-height:0;margin:0;gap:12px}.content[data-page=dashboard] .legacy-home-action{height:auto;min-height:72px}.content[data-page=dashboard] .legacy-inspiration-stream,.content[data-page=dashboard] .legacy-dashboard.catalog-open .legacy-inspiration-stream{height:auto;min-height:0;margin:58px 0 0;overflow:visible}}.legacy-hero-steps{display:flex;align-items:stretch;justify-content:space-between}.legacy-hero-steps li,.legacy-hero-steps li:last-child{display:flex;min-width:0;flex:1 1 0;align-items:center;gap:10px}.legacy-hero-steps li>span:nth-child(2){min-width:0;flex:1 1 auto}.legacy-hero-steps li>svg{flex:0 0 auto}.legacy-hero-steps b{overflow:visible;font-size:15px;text-overflow:clip;white-space:nowrap}.legacy-hero-steps small{font-size:15px}@media(max-width:1200px)and (max-resolution:1.49dppx),(max-width:900px)and (min-resolution:1.5dppx){.legacy-dashboard-hero{grid-template-columns:1fr;gap:24px}.legacy-hero-steps{width:100%}.legacy-hero-steps li,.legacy-hero-steps li:last-child{min-width:max-content;padding:11px 14px}.legacy-hero-steps small{display:none}.legacy-engine-visual{min-height:0}.legacy-engine-window{width:min(100%,640px);justify-self:start}}@media(max-width:900px){.legacy-hero-steps{align-items:stretch;flex-direction:column}.legacy-hero-steps li,.legacy-hero-steps li:last-child{width:100%;min-width:0}.legacy-hero-steps li+li{border-top:1px solid rgba(57,127,88,.13);border-left:0}}.director-footer{align-items:center}.director-inline-status{display:inline-flex;align-items:center;gap:7px;margin-right:auto;color:var(--muted);font-size:15px}.director-footer .director-inline-status{order:-1;margin-right:auto}.director-inline-status>span{width:12px;height:12px;border:2px solid var(--line);border-top-color:var(--primary);border-radius:50%;animation:director-spin .8s linear infinite}.project-table th:first-child{width:44px;text-align:center}.project-table th:nth-child(2){width:25%}.project-table th:nth-child(3){width:13%}.project-table th:nth-child(4){width:11%}.project-table th:nth-child(5){width:14%}.project-table th:nth-child(6){width:17%}.project-table th:last-child{width:18%}.project-table td:first-child{width:44px;padding-inline:8px;text-align:center}.project-table input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary)}.task-ai-progress{display:grid;gap:9px;padding:14px 16px;border:1px solid var(--line);border-left:3px solid var(--accent);background:var(--surface)}.task-ai-progress>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.task-ai-progress strong{min-width:0;overflow-wrap:anywhere}.task-ai-progress span{flex:0 0 auto;color:var(--muted);font-size:15px}.task-ai-progress>i,.task-ai-progress b{display:block;height:5px;border-radius:3px}.task-ai-progress>i{overflow:hidden;background:var(--surface-soft)}.task-ai-progress b{background:var(--accent);transition:width .24s ease}.record-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 0;color:var(--muted);font-size:15px}.record-pagination .secondary{display:grid;place-items:center;width:34px;min-height:34px;padding:0}.admin-credit-help{margin:-8px 0 0;color:var(--muted);font-size:15px;line-height:1.6}.brand-editor-form-panel{z-index:3;overflow:visible}.brand-editor-form-panel:focus-within,.brief-source-picker:focus-within,.create-workspace .brand-picker.is-open{z-index:8}.brief-source-picker,.create-workspace .brief-source-row,.create-workspace .brand-picker,.project-panel-toolbar,.task-filters{overflow:visible}.create-workspace .brand-picker-menu{z-index:50}select:focus,select:focus-visible{position:relative;z-index:8}.create-workspace .brief-assets-card,.create-workspace .brief-source-row{overflow:visible}.create-workspace .brief-source-row{position:relative;z-index:20}.create-workspace .brief-reference-summary,.create-workspace .brief-unified-ref-grid,.create-workspace .brand-ref-item,.create-workspace .unified-ref-item{position:relative;z-index:1}.create-workspace .brand-picker-menu{z-index:80}@media(max-width:760px){html,body,#root{height:100dvh;overflow:hidden}.shell{display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);height:100dvh;background:#fff}.sidebar{display:flex;align-items:center;gap:7px;height:49px;padding:max(5px,env(safe-area-inset-top)) 13px 5px;border:0;border-bottom:2px solid #eef2f1;background:#fff}.brand-link{min-height:33px;padding:0;gap:5px}.brand-lockup-copy{display:grid;gap:0}.brand-lockup-copy small{display:none}.brand-lockup-copy strong{font-size:11px;letter-spacing:.04em}.brand-wordmark{width:102px;height:33px}.global-toolbar{display:none}.sidebar-foot{display:flex;margin:0 0 0 auto;align-items:center;gap:5px}.sidebar-credits{display:inline-flex;max-width:42vw;padding:2px 7px;overflow:hidden;border-radius:996px;color:#087b78;background:#eefaf8;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.sidebar-foot .sidebar-login,.sidebar-foot .sidebar-logout{width:auto;min-height:31px;padding:0 9px;border-radius:996px}.primary-nav,.sidebar>nav.primary-nav{position:fixed;z-index:40;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:auto;min-height:calc(96px + env(safe-area-inset-bottom));padding:4px 0 env(safe-area-inset-bottom);border-top:2px solid #eef2f1;background:#fff}.primary-nav a{display:flex;min-height:45px;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0;border-radius:0;color:#8a9696;background:transparent;font-size:10px}.primary-nav a.active{color:var(--primary);background:transparent}.primary-nav .tab-extra{display:none}.nav-icon{display:block}.sidebar .admin-nav{display:none}.admin-mobile-nav{display:flex;align-items:center;gap:3px;width:calc(100% + 29px);margin:-3px -13px 9px;padding:0 13px 7px;overflow-x:auto;border-bottom:2px solid #eef2f1;background:#fff;scrollbar-width:none}.admin-mobile-nav::-webkit-scrollbar{display:none}.admin-mobile-nav a{flex:0 0 auto;min-height:29px;padding:0 9px;border-radius:996px;color:var(--muted);background:#f4f8f7;font-size:10px;white-space:nowrap}.admin-mobile-nav a.active{color:#fff;background:var(--accent-dark, #087b78)}.content{height:100%;min-height:0;padding:13px 13px calc(118px + env(safe-area-inset-bottom));overflow-x:auto;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#fff}.legacy-hero-steps,.legacy-engine-visual{display:none}.legacy-dashboard-hero{grid-template-columns:1fr;gap:5px;min-height:0;padding:5px 0 3px}.legacy-hero-copy h1{width:100%;margin:0 0 3px;font-size:clamp(23px,8.6vw,37px);font-weight:800;line-height:1.18;letter-spacing:-.02em}.legacy-hero-copy h1 span,.legacy-hero-copy h1 strong{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:clip}.legacy-hero-copy>p{display:none}.legacy-home-actions{display:grid;grid-template-columns:1fr;gap:7px;margin:25px 0 9px}.legacy-home-action{min-height:53px;border:2px solid #eef2f1;border-radius:11px;background:#fff}.legacy-home-action:first-child{border:0;color:#fff;background:var(--primary)}.legacy-home-action:first-child small,.legacy-home-action:first-child svg{color:#ffffffe6}.legacy-inspiration-stream{margin-top:11px;padding-top:9px;overflow:hidden}.legacy-section-heading{align-items:center;margin-bottom:5px}.legacy-section-heading .secondary{min-height:29px;padding:0 7px;font-size:10px}.legacy-inspiration-row{height:37px;margin-top:3px;overflow:hidden}.legacy-inspiration-track{gap:5px}.legacy-inspiration-track button{min-height:33px;padding:3px 9px;font-size:10px;white-space:nowrap}.legacy-inspiration-stream.catalog-open,.legacy-dashboard.catalog-open{overflow-x:hidden;overflow-y:visible;height:auto;max-height:none;max-width:100%}.content[data-page=dashboard]:has(.legacy-dashboard.catalog-open),.content[data-page=create]:has(.brief-inspiration-wall.is-open){overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y}.legacy-inspiration-catalog,.legacy-catalog-group,.legacy-catalog-group>div{overflow:visible;touch-action:pan-y}.legacy-catalog-group button{touch-action:pan-y}.mobile-chip-more{color:var(--primary);font-weight:700}.brief-spec-row,.brief-layout,.brief-grid,.director-two,.result-workspace,.credits-overview-grid,.invitation-overview-grid,.credits-center>.topup-panel{grid-template-columns:1fr}.create-workspace-head,.director-heading,.director-footer,.brief-actions,.project-page-head,.task-workbench-head{flex-direction:column;align-items:stretch}.brief-actions .primary,.director-footer>*,.result-head-actions>*{width:100%}.expression-options{grid-template-columns:1fr 1fr}.auth-overlay{align-items:center;justify-items:center;padding:max(9px,env(safe-area-inset-top)) 13px max(9px,env(safe-area-inset-bottom))}.auth-overlay .auth-shell,.auth-shell{width:min(417px,100%);min-height:0;place-items:center;padding:0}.auth-overlay .auth-panel,.auth-panel,.auth-panel.register-panel{width:min(417px,100%);max-width:100%;max-height:min(88dvh,100%);overflow:auto;margin:0 auto;border:2px solid var(--line);border-radius:13px}.project-table thead,.task-table thead,.brand-table thead{display:none}.project-table,.task-table,.brand-table,.project-table tbody,.task-table tbody,.brand-table tbody{display:block;width:100%}.project-table-wrap,.task-table-wrap,.brand-table-wrap{border:0;background:transparent}.project-table tr,.task-table tr,.brand-table tr{display:grid;gap:5px;margin-bottom:5px;padding:11px;border:2px solid #eef2f1;border-radius:9px;background:#fff}.project-table td,.task-table td,.brand-table td{display:flex;width:100%;height:auto;padding:0;border:0;white-space:normal}.brand-page{gap:5px;margin-top:3px;padding-bottom:3px}.brand-table,.brand-table tbody{display:grid;gap:3px;width:100%}.brand-table tr{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 5px;margin:0;padding:4px 5px 4px 7px;overflow:hidden;border:2px solid #dcecea;border-left:2px solid var(--accent);border-radius:7px;background:#fff;box-shadow:none}.brand-table td{display:flex;min-width:0;align-items:center}.brand-table td:before{display:none}.brand-table td:nth-child(n+2):nth-child(-n+6){display:none}.brand-table td:first-child{grid-column:1;grid-row:1}.brand-table td:last-child{grid-column:2;grid-row:1;width:auto;padding:0;border:0}.brand-cell{min-width:0;width:100%;gap:5px}.brand-cell img,.brand-cell>span{width:25px;height:21px}.brand-cell small{display:none}.brand-cell strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.brand-row-actions{width:auto;gap:3px}.brand-row-actions .secondary{flex:none;min-height:27px;padding:0 5px;font-size:10px}.brand-row-actions>button:not(.secondary){width:27px;height:27px}.task-workbench{gap:5px;margin-top:3px}.task-workbench-head{gap:5px}.task-workbench-head h2{margin:3px 0;font-size:11px}.task-workbench-head p{display:none}.task-workbench-head .secondary{min-height:29px;padding:0 7px}.task-ai-progress{gap:3px;padding:5px 7px}.task-tabs{gap:5px}.task-tabs button{min-height:29px;font-size:10px}.task-filters{gap:3px}.task-filters select,.task-filters .secondary{min-height:29px}.task-table,.task-table tbody{display:grid;gap:2px;width:100%}.task-table tr{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:3px 3px;margin:0;padding:3px 5px;overflow:hidden;border:2px solid #dcecea;border-left:2px solid var(--accent);border-radius:5px;background:#fff}.task-table td{display:flex;min-width:0;width:auto;align-items:center}.task-table td:first-child{grid-column:1;grid-row:1;width:auto}.task-table td:nth-child(2){grid-column:2;grid-row:1}.task-table td:nth-child(3){grid-column:3;grid-row:1;justify-content:flex-end}.task-table td:nth-child(4){grid-column:2 / -1;grid-row:2}.task-table td:nth-child(5),.task-table td:nth-child(6){display:none}.task-table td:last-child{grid-column:1 / -1;grid-row:3;width:100%;padding-top:3px;border-top:2px solid #eef2f1}.task-project-cell{min-width:0;width:100%;gap:3px}.task-project-cell>img,.task-project-cell>span{width:25px;height:17px}.task-project-cell small{display:none}.task-project-cell strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.task-status{min-height:17px;padding:0 2px;font-size:10px}.task-progress-cell{min-width:0;width:100%;gap:3px}.task-progress-cell span{font-size:10px}.task-row-actions{width:100%;flex-wrap:wrap;gap:2px}.task-row-actions .primary,.task-row-actions .secondary{min-height:23px;padding:0 4px;font-size:10px}}@media(max-width:760px){.content[data-page=brand-edit]{padding-top:9px;padding-bottom:calc(145px + env(safe-area-inset-bottom))}.brand-editor-page{gap:11px;margin-top:0;min-width:0;padding:0}.brand-editor-page-head{align-items:stretch;flex-direction:column;gap:5px;padding:0 0 9px}.brand-editor-page-head:after{left:0;width:53px}.brand-editor-page-head>div{min-width:0;gap:3px}.brand-editor-page-head a{min-height:29px;padding:0 9px}.brand-editor-page-head h2,.content[data-page=brand-edit] .brand-editor-page-head h2{font-size:14px;line-height:1.25;overflow-wrap:anywhere}.brand-editor-page-head p,.brand-editor-page-head>.secondary{display:none}.brand-editor-page-body{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;min-width:0}.sidebar{z-index:40}.primary-nav,.sidebar>nav.primary-nav{z-index:50}.brand-editor-form-panel,.brand-editor-form-panel:focus-within,.brand-editor-page .brand-asset-sections{z-index:0;min-width:0;min-height:0;gap:11px;padding:13px;overflow:visible;border-radius:9px}.brand-editor-form-panel:after,.brand-editor-page .brand-asset-sections:after{display:none}.brand-editor-page .brand-drawer-head,.brand-editor-page .brand-asset-sections-head{align-items:flex-start;flex-direction:column;gap:5px;padding-bottom:9px}.brand-editor-page .brand-drawer-head h3,.brand-editor-page .brand-asset-sections-head h3{font-size:11px}.brand-editor-page .brand-asset-sections-head>strong{align-self:flex-start}.brand-editor-page .brand-form{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}.brand-editor-page .brand-form label,.brand-editor-page .brand-form label:nth-child(n+3){grid-column:auto;min-width:0;font-size:10px}.brand-editor-page .brand-form input,.brand-editor-page .brand-form select,.brand-editor-page .brand-form textarea{width:100%;max-width:100%;min-width:0;font-size:10px}.brand-editor-page .brand-form textarea{min-height:85px}.brand-editor-page .brand-asset-sections>section{gap:7px;padding:9px}.brand-editor-page .brand-asset-section-head,.brand-editor-page .brand-asset-sections>section>div:first-child{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:7px}.brand-editor-page .brand-asset-section-head .upload-button,.brand-editor-page .brand-asset-sections>section>div:first-child .secondary{width:100%;min-width:0;min-height:41px}.brand-editor-page .brand-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;min-height:0;padding:0}.brand-editor-page .brand-asset-grid figure{min-width:0}.brand-editor-page .brand-asset-grid figure img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}.brand-editor-page .brand-asset-grid figure figcaption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-editor-page .brand-asset-grid figure>button{width:29px;height:29px}.brand-editor-form-actions{position:fixed;z-index:30;right:0;bottom:calc(53px + env(safe-area-inset-bottom));left:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);justify-content:stretch;gap:5px;margin:0;padding:7px 13px 9px;border-top:2px solid var(--line);background:#fff;box-shadow:0 -5px 21px #0715150f}.brand-editor-form-actions>button{width:100%;min-width:0;min-height:41px}.brand-editor-form-actions .primary{min-width:0}}@media(max-width:760px){html,body,#root,.shell,.sidebar,.content,.content[data-page],.auth-shell,.auth-panel{font-size:10px}.content[data-page] .eyebrow,.content[data-page] .brief-source-label,.content[data-page] .brief-label,.content[data-page] label,.content[data-page] table,.content[data-page] .status,.content[data-page] .project-muted,.content[data-page] .task-muted,.content[data-page=create] .brief-lead,.content[data-page=create] .brief-field>small,.content[data-page=create] .brief-description-hint,.content[data-page=create] .expression-opt em,.content[data-page=create] .brief-advice,.content[data-page=projects] .project-table,.content[data-page=tasks] .task-table,.content[data-page=assets] .brand-table,.sidebar nav a,.sidebar-foot button,:is(.primary,.secondary),.brand-editor-page .brand-form label,.brand-editor-page .brand-form input,.brand-editor-page .brand-form select,.brand-editor-page .brand-form textarea,.content[data-page=create] input,.content[data-page=create] select,.content[data-page=create] textarea,.content[data-page=brand-edit] input,.content[data-page=brand-edit] select,.content[data-page=brand-edit] textarea,.content[data-page=account] input,.content[data-page=account] select{font-size:10px}.content[data-page] small,.content[data-page] time,.content[data-page] .image-upload-requirements{font-size:10px}h1{font-size:14px}.legacy-hero-copy h1,.content[data-page=dashboard] .legacy-hero-copy h1{font-size:clamp(23px,8.6vw,37px)}.brand-wordmark{width:102px;height:33px}.content[data-page=create] .brief-card-head h2{font-size:14px}.content[data-page=create] .expression-opt b,.content[data-page=create] .duration-opt,.content[data-page=create] .brief-output-card .aspect-opt b{font-size:10px}.primary-nav a,.sidebar>nav.primary-nav a{font-size:10px}.brand-editor-page-head h2,.content[data-page=brand-edit] .brand-editor-page-head h2{font-size:14px}.invitation-center{gap:5px;margin-top:3px;padding-bottom:5px}.invitation-center .service-panel-heading,.invitation-center .referral-workbench .service-panel-heading{min-height:0;padding:7px 9px}.invitation-center .service-panel-heading h2{margin-top:3px;font-size:10px}.invitation-center .invitation-overview-grid{grid-template-columns:1fr 1fr}.invitation-center .service-metric,.invitation-center .invitation-overview-grid .service-metric{min-height:0;gap:5px;padding:5px 7px}.invitation-center .service-metric+.service-metric{border-top:0;border-left:2px solid var(--line)}.invitation-center .service-metric-icon{width:25px;height:25px}.invitation-center .service-metric small,.invitation-center .service-metric strong{font-size:10px}.invitation-center .referral-heading-copy{gap:5px}.invitation-center .referral-heading-copy small{display:none}.invitation-center .referral-code-toolbar{min-height:0;align-items:center;flex-direction:row;gap:5px;padding:5px 9px}.invitation-center .referral-code-toolbar>div{gap:3px}.invitation-center .referral-code-toolbar strong{font-size:11px}.invitation-center .referral-link-toolbar strong{font-size:10px}.invitation-center .referral-code-toolbar .secondary{min-height:29px;padding:0 7px;font-size:10px}.invitation-center .referral-note{min-height:0;gap:3px;padding:5px 9px}.invitation-center .referral-note p{display:none}.result-page{gap:7px;margin-top:3px;padding-bottom:5px}.result-head{align-items:stretch;flex-direction:column;gap:5px}.result-head>div{gap:3px}.result-head a{font-size:10px}.result-head h2,.content[data-page=result] .result-head h2{font-size:11px;line-height:1.25;overflow-wrap:anywhere}.result-head-actions{display:grid!important;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);align-items:center;gap:3px!important}.result-head-actions>*{width:auto;min-width:0}.result-head-actions .admin-status{justify-self:start}.result-head-actions .secondary{min-height:29px;padding:0 5px;font-size:10px}.result-workspace{gap:7px}.result-video{width:100%;max-height:42dvh;border-radius:7px}.result-inspector{gap:7px;padding:9px;border-radius:7px}.result-inspector dl>div{grid-template-columns:69px minmax(0,1fr);gap:5px;padding:4px 6px}.result-inspector dt,.result-inspector dd,.content[data-page=result] .result-inspector dt,.content[data-page=result] .result-inspector dd{font-size:10px}.result-download{min-height:33px}.result-inspector>p,.content[data-page=result] .result-inspector p{display:none}.content[data-page=projects]{overflow-x:hidden}.project-page,.project-business-panel{min-width:0;max-width:100%;overflow-x:hidden}.project-page{gap:3px;margin-top:3px}.project-page-head{gap:3px}.project-page-head h2,.content[data-page=projects] .project-page h2{margin:0;font-size:10px}.project-page-head p{display:none}.project-business-panel{border-radius:5px}.project-panel-toolbar{gap:3px;padding:5px}.project-panel-toolbar .project-filters{grid-template-columns:1fr;gap:3px}.project-filters label{gap:3px}.project-filters label span{display:none}.project-filters input,.project-filters select,.project-filters .secondary,.project-panel-toolbar>.secondary{min-height:27px}.project-result-count{padding:0;font-size:10px}.project-table-wrap,.project-business-panel .project-table-wrap,.content[data-page=projects] .project-table-wrap{overflow:visible!important;max-width:100%}.project-table,.project-table tbody,.content[data-page=projects] .project-table,.content[data-page=projects] .project-table tbody{display:grid;gap:2px;width:100%;min-width:0!important;max-width:100%;table-layout:auto}.project-table tr{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:0 3px;margin:0;padding:3px 5px;overflow:hidden;border:2px solid #dcecea;border-left:2px solid var(--accent);border-radius:5px;background:#fff}.project-table td{display:flex;min-width:0;width:auto;height:auto;align-items:center;padding:0}.project-table td:first-child{grid-column:1;grid-row:1;width:auto;align-self:start;padding-top:3px}.project-table td:nth-child(2){grid-column:2;grid-row:1}.project-table td:nth-child(3),.project-table td:nth-child(4),.project-table td:nth-child(5),.project-table td:nth-child(6){display:none}.project-table td:last-child{grid-column:3;grid-row:1;width:auto;padding:0;border:0}.project-cell{min-width:0!important;width:100%;gap:3px}.project-cell img,.project-cell-empty{width:25px;height:17px;border-radius:3px;object-fit:cover}.project-cell small{display:none}.project-cell strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.project-table-actions{width:auto;justify-content:flex-end;flex-wrap:nowrap;gap:2px}.project-primary-action{flex:none;min-height:23px;padding:0 4px;font-size:10px}.project-table-actions>button{width:23px;height:23px}.content[data-page=create]{padding-bottom:calc(207px + env(safe-area-inset-bottom))}.create-workspace{gap:5px}.create-workspace-head{gap:3px;padding:0 0 3px;border-bottom:0}.create-workspace-head h2{margin:0;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.create-workspace-head p,.create-steps{display:none}.create-workspace-head a{font-size:10px}.brief-workspace{gap:5px}.brief-card,.brief-card-primary,.brief-assets-card,.brief-output-card{gap:5px;padding:7px;border-radius:7px;box-shadow:none}.brief-primary-topline{align-items:center;flex-direction:row;gap:3px}.brief-project-pill,.step-badge,.brief-card-head .eyebrow,.brief-head-note,.brief-lead,.content[data-page=create] .brief-lead,.brief-label-row small,.brief-composer-footer,.brief-reference-summary,.image-upload-requirements,.brief-duration-compact>small,.brief-expression-row>small,.expression-opt em{display:none}.brief-card-head{gap:0}.brief-card-head h1,.content[data-page=create] .brief-card-head h1,.brief-card-head h2,.content[data-page=create] .brief-card-head h2{margin:0;font-size:10px}.brief-label-row strong{font-size:10px}.brief-composer{gap:3px}.brief-composer .brief-desc,.content[data-page=create] textarea{min-height:85px;padding:7px;font-size:10px}.brief-source-row,.brief-spec-row,.brief-output-row{grid-template-columns:1fr;gap:3px}.brief-source-picker{grid-template-columns:1fr;gap:3px;padding:3px 5px}.brief-source-label{font-size:10px}.brief-upload-source{align-items:stretch;grid-template-columns:1fr}.brief-upload-compact,.brief-upload-source .upload-button{width:100%;min-height:33px}.brief-unified-ref-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px}.unified-ref-item img{height:55px}.brand-ref-check{padding:2px;font-size:10px}.brief-output-row,.brief-aspect-compact,.brief-duration-compact{gap:3px}.brief-output-card .aspect-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.brief-output-card .aspect-opt{display:flex;grid-template-columns:none;flex-direction:row;align-items:center;justify-content:center;gap:3px;min-height:26px;padding:3px 2px}.brief-output-card .aspect-opt .aspect-icon{display:block;flex:none;border-width:1.2px;border-radius:2px}.brief-output-card .aspect-picker .aspect-opt:nth-child(1) .aspect-icon{width:3px!important;height:8px!important}.brief-output-card .aspect-picker .aspect-opt:nth-child(2) .aspect-icon{width:11px!important;height:5px!important}.brief-output-card .aspect-picker .aspect-opt:nth-child(3) .aspect-icon{width:5px!important;height:8px!important}.brief-output-card .aspect-picker .aspect-opt:nth-child(4) .aspect-icon{width:8px!important;height:5px!important}.brief-output-card .aspect-opt b,.content[data-page=create] .brief-output-card .aspect-opt b,.duration-opt b{font-size:10px}.duration-options{gap:2px}.duration-opt,.content[data-page=create] .duration-opt{min-height:26px;padding:2px;font-size:10px}.brief-expression-row{gap:3px;margin-top:3px;padding-top:5px;padding-bottom:5px}.brief-output-card{padding-bottom:15px}.content[data-page=create] .expression-options,.expression-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.content[data-page=create] .expression-opt,.expression-opt{display:grid;place-items:center;min-height:26px;padding:3px 2px}.content[data-page=create] .expression-opt em,.expression-opt em{display:none}.content[data-page=create] .expression-opt b,.expression-opt b{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.brief-actions{position:fixed;z-index:30;right:0;bottom:calc(53px + env(safe-area-inset-bottom));left:0;display:grid;grid-template-columns:minmax(0,1fr);gap:3px;margin:0;padding:5px 13px 7px;border-top:2px solid var(--line);background:#fff;box-shadow:0 -5px 21px #0715150f}.brief-actions .primary{width:100%;min-height:39px}.brief-action-meta{display:none}.admin-page{gap:7px;margin-top:3px}.admin-page-head{align-items:stretch;flex-direction:column;gap:5px}.admin-page-head h2{margin:0;font-size:11px}.admin-page-head p,.admin-credit-help{display:none}.admin-page-head .secondary{min-height:29px;width:fit-content}.admin-metrics{grid-template-columns:1fr 1fr;gap:3px}.admin-metrics>div{min-height:0;gap:3px;padding:7px;border-radius:7px}.admin-metrics span,.admin-metrics small{font-size:10px}.admin-metrics strong{margin:0;font-size:11px}.admin-attention-panel,.commission-rule-panel,.commission-ledger-panel,.admin-video-panel{border-radius:7px}.admin-block-heading{gap:3px;padding:7px 9px}.admin-block-heading h3{margin:0;font-size:10px}.admin-attention-list{grid-template-columns:1fr}.admin-attention-list article{min-height:0;gap:5px;padding:7px 9px}.admin-attention-list article+article{border-top:2px solid var(--line);border-left:0}.admin-filter{flex-direction:column;width:100%;gap:3px}.admin-filter input,.admin-filter .primary,.admin-filter .secondary{width:100%;min-height:33px}.admin-user-summary{gap:3px}.admin-user-summary>span{min-height:23px;padding:0 5px;font-size:10px}.admin-table-wrap,.admin-page .admin-table-wrap,.commission-ledger-panel>.admin-table-wrap{overflow:visible!important;border:0;background:transparent}.admin-table,.activation-code-table,.activation-admin-page .activation-code-table,.commission-ledger-panel .admin-table{min-width:0!important;table-layout:auto!important;width:100%}.admin-table thead,.activation-code-table thead,.commission-ledger-panel .admin-table thead{display:none}.admin-table,.admin-table tbody,.activation-code-table,.activation-code-table tbody,.commission-ledger-panel .admin-table,.commission-ledger-panel .admin-table tbody{display:grid;gap:5px}.admin-table tr,.activation-code-table tr,.commission-ledger-panel .admin-table tr{display:grid;gap:3px;margin:0;padding:7px 9px;overflow:hidden;border:2px solid #dcecea;border-left:2px solid var(--accent);border-radius:7px;background:#fff}.admin-table th,.admin-table td,.activation-code-table th,.activation-code-table td{display:block;width:auto;height:auto;min-width:0;padding:0;overflow-wrap:anywhere;border:0;white-space:normal}.admin-table td:first-child strong{font-size:10px}.content[data-page=admin-users] .admin-page-head{gap:5px}.content[data-page=admin-users] .admin-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;flex-direction:row}.content[data-page=admin-users] .admin-filter .primary{width:auto;min-width:69px}.content[data-page=admin-users] .admin-user-summary{display:grid;grid-template-columns:1fr 1fr;gap:3px}.content[data-page=admin-users] .admin-user-summary>span{justify-content:space-between;min-height:25px}.content[data-page=admin-users] .admin-table tr{grid-template-columns:minmax(0,1fr) auto;gap:3px 5px;padding:7px 9px}.content[data-page=admin-users] .admin-table td:nth-child(1){grid-column:1;grid-row:1}.content[data-page=admin-users] .admin-table td:nth-child(2){grid-column:2;grid-row:1;justify-self:end}.content[data-page=admin-users] .admin-table td:nth-child(3),.content[data-page=admin-users] .admin-table td:nth-child(4){grid-column:1 / -1}.content[data-page=admin-users] .admin-table td:nth-child(5),.content[data-page=admin-users] .admin-table td:nth-child(6){display:none}.content[data-page=admin-users] .admin-table td:nth-child(7){grid-column:1 / -1;padding-top:3px;border-top:2px solid #eef2f1}.content[data-page=admin-users] .admin-identity-cell{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:3px}.content[data-page=admin-users] .admin-identity-cell strong{font-size:10px}.content[data-page=admin-users] .admin-business-cell{display:flex;flex-wrap:wrap;gap:3px}.content[data-page=admin-users] .admin-business-cell span,.content[data-page=admin-users] .admin-code-copy{min-height:21px;padding:3px;font-size:10px}.content[data-page=admin-users] .record-pagination{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:10px}.admin-identity-cell,.admin-business-cell{gap:3px}.admin-action-menu{width:100%}.admin-action-menu>summary,.table-actions .secondary{width:100%;min-height:29px;justify-content:center}.admin-action-menu>div{right:0;left:0;width:100%}.activation-create-panel,.activation-generated{grid-template-columns:1fr;gap:5px;padding:9px}.activation-generated pre{max-height:137px;font-size:10px}.commission-summary{grid-template-columns:1fr 1fr;gap:3px}.commission-summary>div{min-height:0;gap:3px;padding:7px}.commission-summary strong{font-size:11px}.commission-rule-panel .tier-grid,.commission-rule-panel .tier-editor,.agent-override-grid,.agent-current-summary,.agent-mode-control{grid-template-columns:1fr}.commission-rule-panel .tier-editor+.tier-editor{border-top:2px solid var(--line);border-left:0}.admin-video-grid,.admin-video-result,.admin-video-account{gap:7px}.admin-video-preview{width:100%;max-height:217px}.admin-prompt{max-height:117px;font-size:10px}.agent-drawer-backdrop{align-items:end}.agent-drawer{top:auto;bottom:0;width:100%;height:min(88dvh,100%);padding:13px;border-radius:13px 13px 0 0}.agent-drawer-actions{bottom:0;margin:5px -13px -13px;padding:7px 13px calc(9px + env(safe-area-inset-bottom))}.director-page{margin-top:3px}.director-content{gap:7px;margin-top:5px}.director-customer-summary{gap:9px;padding:9px!important;border-radius:9px}.director-customer-summary h3,.content[data-page=director] .director-customer-summary h3{margin:5px 0 3px;font-size:11px;line-height:1.3}.director-summary-main>p,.content[data-page=director] .director-summary-main>p{font-size:10px;line-height:1.55}.director-output-panel{gap:5px;padding:7px;border-radius:7px}.director-output-panel>strong{font-size:10px}.director-output-panel>div{padding-top:5px}.director-footer{gap:3px;padding:0 0 5px}.director-footer .primary,.director-footer .secondary{min-height:33px;font-size:10px}.content[data-page=admin-activation-codes] .admin-filter,.content[data-page=admin-credits] .admin-filter,.content[data-page=admin-videos] .admin-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;flex-direction:row}.content[data-page=admin-activation-codes] .admin-filter .primary,.content[data-page=admin-credits] .admin-filter .secondary,.content[data-page=admin-videos] .admin-filter .primary{width:auto;min-width:69px}.content[data-page=admin-activation-codes] .admin-user-summary,.content[data-page=admin-credits] .admin-user-summary{display:grid;grid-template-columns:1fr 1fr;gap:3px}.content[data-page=admin-activation-codes] .activation-code-table tr{grid-template-columns:minmax(0,1fr) auto;gap:3px 5px}.content[data-page=admin-activation-codes] .activation-code-table td:nth-child(1){grid-column:1;grid-row:1}.content[data-page=admin-activation-codes] .activation-code-table td:nth-child(2){grid-column:2;grid-row:1;justify-self:end}.content[data-page=admin-activation-codes] .activation-code-table td:nth-child(3),.content[data-page=admin-activation-codes] .activation-code-table td:nth-child(4),.content[data-page=admin-activation-codes] .activation-code-table td:nth-child(5){grid-column:1 / -1}.content[data-page=admin-activation-codes] .activation-code-table td:nth-child(6),.content[data-page=admin-activation-codes] .activation-code-table td:nth-child(7){display:none}.content[data-page=admin-activation-codes] .activation-code-table td:nth-child(8){grid-column:1 / -1;padding-top:3px;border-top:2px solid #eef2f1}.content[data-page=admin-activation-codes] .activation-code-table .secondary{width:100%;min-height:29px}.content[data-page=admin-commissions] .commission-summary{grid-template-columns:1fr}.content[data-page=admin-commissions] .commission-actions{display:grid;grid-template-columns:1fr;gap:3px;width:100%}.content[data-page=admin-commissions] .commission-actions .primary,.content[data-page=admin-commissions] .commission-actions .secondary{width:100%;min-height:33px}.content[data-page=admin-commissions] .admin-table tr{grid-template-columns:auto minmax(0,1fr) auto;gap:3px 5px}.content[data-page=admin-commissions] .admin-table td:nth-child(1){grid-column:1;grid-row:1}.content[data-page=admin-commissions] .admin-table td:nth-child(3){grid-column:2;grid-row:1}.content[data-page=admin-commissions] .admin-table td:nth-child(8){grid-column:3;grid-row:1;justify-self:end;font-weight:700}.content[data-page=admin-commissions] .admin-table td:nth-child(4),.content[data-page=admin-commissions] .admin-table td:nth-child(5),.content[data-page=admin-commissions] .admin-table td:nth-child(9){grid-column:1 / -1}.content[data-page=admin-commissions] .admin-table td:nth-child(2),.content[data-page=admin-commissions] .admin-table td:nth-child(6),.content[data-page=admin-commissions] .admin-table td:nth-child(7){display:none}.content[data-page=admin-credits] .admin-page-head{gap:5px}.content[data-page=admin-credits] .admin-table tr{display:grid;grid-template-columns:1fr 1fr;gap:5px 7px;padding:9px}.content[data-page=admin-credits] .admin-table td{display:grid;gap:3px;min-width:0}.content[data-page=admin-credits] .admin-table td:before{color:var(--muted);font-size:10px;content:attr(data-label)}.content[data-page=admin-credits] .admin-table td:nth-child(1){grid-column:1 / -1;padding-bottom:3px;border-bottom:2px solid #eef2f1}.content[data-page=admin-credits] .admin-table td:nth-child(1):before{display:none}.content[data-page=admin-credits] .admin-table td:nth-child(1) strong{font-size:10px}.content[data-page=admin-credits] .admin-table td:nth-child(4){justify-self:stretch;font-size:10px}.content[data-page=admin-audits] .audit-toolbar{display:grid;grid-template-columns:1fr;gap:3px}.content[data-page=admin-audits] .audit-toolbar label,.content[data-page=admin-audits] .audit-toolbar select,.content[data-page=admin-audits] .audit-toolbar .primary,.content[data-page=admin-audits] .audit-toolbar .secondary{width:100%;min-height:33px}.content[data-page=admin-audits] .admin-table tr{grid-template-columns:minmax(0,1fr) auto;gap:3px 5px}.content[data-page=admin-audits] .admin-table td:nth-child(2){grid-column:1;grid-row:1}.content[data-page=admin-audits] .admin-table td:nth-child(5){grid-column:2;grid-row:1;justify-self:end}.content[data-page=admin-audits] .admin-table td:nth-child(1),.content[data-page=admin-audits] .admin-table td:nth-child(3),.content[data-page=admin-audits] .admin-table td:nth-child(4){grid-column:1 / -1}.content[data-page=admin-videos] .admin-video-grid{grid-template-columns:1fr}.content[data-page=admin-videos] .admin-video-panel{padding-bottom:5px}.record-pagination{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:10px}}.brand-picker,.brand-picker-trigger,.brand-picker-menu:not(.ref-role-select .brand-picker-menu),.brand-picker-menu button{max-width:100%;min-width:0;height:auto;overflow:visible;white-space:normal}.menu-select-label{display:block!important;flex:1 1 auto!important;min-width:0!important;max-width:100%!important;overflow:visible!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.4!important}.content[data-page=dashboard]{background:#f3faf7}.prototype-dashboard{--prototype-coral: #f3695f;--prototype-coral-soft: #fff0ed;--prototype-mint: #159d9a;--prototype-mint-soft: #e6f7f4;--prototype-gold: #d39a23;--prototype-gold-soft: #fff6df;--prototype-ink: #153a3e;--prototype-muted: #6f8384;--prototype-line: #cfe4df;display:flex;width:min(100%,1440px);margin:0 auto;padding:0 4px 20px;flex-direction:column;gap:14px;color:var(--prototype-ink)}.prototype-page-head{display:flex;min-height:86px;align-items:flex-end;justify-content:space-between;gap:24px}.prototype-eyebrow,.prototype-kicker{display:inline-flex;align-items:center;gap:7px;color:var(--prototype-mint);font-size:14px;font-weight:750;letter-spacing:0}.prototype-eyebrow:before,.prototype-kicker:before{width:14px;height:2px;background:var(--prototype-coral);content:""}.prototype-page-head h1{margin:8px 0 4px;color:var(--prototype-ink);font-size:24px;font-weight:820;line-height:1.15;letter-spacing:0}.prototype-page-head p{margin:0;color:var(--prototype-muted);font-size:15px;line-height:1.55}.prototype-new.primary{min-height:40px;padding:9px 16px;border:1px solid #e85e55;border-radius:8px;color:#fff;background:var(--prototype-coral);box-shadow:0 8px 18px #f3695f2e}.prototype-new.primary:hover:not(:disabled){border-color:#d95048;background:#dc574f;transform:translateY(-1px)}.prototype-workbench{display:grid;grid-template-columns:minmax(0,1fr) 294px;min-height:348px;overflow:hidden;border:1px solid var(--prototype-line);border-top:3px solid var(--prototype-coral);border-radius:8px;background:#fff;box-shadow:0 12px 30px #27574d14}.prototype-workbench-main{min-width:0;padding:20px 22px 18px}.prototype-workbench-main h2{margin:7px 0 3px;color:var(--prototype-ink);font-size:20px;line-height:1.25;letter-spacing:0}.prototype-intro{margin:0 0 12px;color:var(--prototype-muted);font-size:15px;line-height:1.55}.prototype-prompt{min-height:105px;padding:12px 13px 9px;border:1px solid #bfe2db;border-radius:7px;background:#f4fbf9}.prototype-prompt-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#24484b;font-size:14px}.prototype-prompt-head span{color:#91a2a3;font-size:14px;font-weight:500}.prototype-prompt>p{min-height:31px;margin:7px 0 5px;color:#98a8a7;font-size:15px;line-height:1.5}.prototype-prompt-tools{display:flex;align-items:center;gap:7px;padding-top:7px;border-top:1px solid #d9ece8}.prototype-prompt-tools button,.prototype-prompt-tools span{display:inline-flex;min-height:25px;align-items:center;gap:5px;border-radius:6px;font-size:14px}.prototype-prompt-tools button{padding:4px 8px;border:1px solid #cfe4df;color:#3d6061;background:#fff}.prototype-prompt-tools button:hover{border-color:#69c2b8;color:#087c79;background:#effaf7}.prototype-prompt-tools>span{margin-left:auto;color:var(--prototype-coral)}.prototype-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}.prototype-actions>button{display:grid;grid-template-columns:34px minmax(0,1fr) 17px;min-height:51px;align-items:center;gap:10px;padding:7px 10px;border:1px solid var(--prototype-line);border-radius:7px;color:var(--prototype-ink);background:#fff;text-align:left}.prototype-actions>button:hover:not(:disabled){border-color:#76c9c1;background:#f6fbfa;box-shadow:0 5px 14px #2a706714;transform:translateY(-1px)}.prototype-actions>button>svg{justify-self:end;color:#75908f}.prototype-actions strong,.prototype-actions small,.prototype-signals b,.prototype-signals small,.prototype-reference-list b,.prototype-reference-list small{display:block}.prototype-actions small{margin-top:2px;color:#819393;font-size:14px}.prototype-action-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:7px;color:#fff}.prototype-action-icon.coral{background:var(--prototype-coral)}.prototype-action-icon.mint{background:var(--prototype-mint)}.prototype-signals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:9px}.prototype-signals>div{display:flex;min-height:39px;align-items:center;gap:8px;padding:6px 9px;border-radius:6px;color:#506d6d;background:var(--prototype-coral-soft)}.prototype-signals>div:nth-child(2){background:var(--prototype-mint-soft)}.prototype-signals>div:nth-child(3){background:var(--prototype-gold-soft)}.prototype-signals>div:nth-child(1)>svg{color:var(--prototype-coral)}.prototype-signals>div:nth-child(2)>svg{color:var(--prototype-mint)}.prototype-signals>div:nth-child(3)>svg{color:var(--prototype-gold)}.prototype-signals b{color:#28494b;font-size:14px}.prototype-signals small{margin-top:1px;color:#7e9291;font-size:14px}.prototype-reference{display:flex;margin:15px 15px 15px 0;padding:13px;flex-direction:column;border:1px solid #c8e6e0;border-radius:8px;background:#eaf8f5}.prototype-reference-head,.prototype-reference-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.prototype-reference-head strong{display:inline-flex;align-items:center;gap:6px;color:#194549;font-size:14px}.prototype-reference-head strong svg{color:var(--prototype-coral)}.prototype-reference-head>span{padding:3px 7px;border:1px solid #cfe3df;border-radius:6px;color:#668180;background:#ffffffbf;font-size:14px}.prototype-reference-list{display:grid;gap:7px;margin-top:10px}.prototype-reference-list>button{display:grid;grid-template-columns:52px minmax(0,1fr) 14px;min-height:58px;align-items:center;gap:9px;padding:6px 8px;border:1px solid #cbdedb;border-radius:7px;color:#24474a;background:#ffffffe0;text-align:left}.prototype-reference-list>button:hover{border-color:#70c5bc;background:#fff;transform:translate(2px)}.prototype-reference-list>button>svg{color:#7a908f}.prototype-reference-list b{font-size:14px}.prototype-reference-list small{margin-top:3px;color:#77908f;font-size:14px}.prototype-reference-art{display:grid;width:52px;height:44px;place-items:center;overflow:hidden;border-radius:7px;color:#fff}.prototype-reference-art.coral{background:#fa776d}.prototype-reference-art.mint{background:#4ebbb5}.prototype-reference-art.ink{background:#364d54}.prototype-reference-foot{margin-top:auto;padding-top:11px;color:#708987;font-size:14px}.prototype-reference-foot button{padding:0;border:0;color:var(--prototype-mint);background:transparent;font-size:14px;font-weight:750}.prototype-dashboard>.legacy-inspiration-stream{margin:0;padding:14px 14px 12px;overflow:hidden;border:1px solid var(--prototype-line);border-radius:8px;background:#fff;box-shadow:0 7px 20px #27574d0d}.prototype-dashboard>.legacy-inspiration-stream .legacy-section-heading{margin-bottom:5px}.prototype-dashboard>.legacy-inspiration-stream .legacy-section-heading>div>span{color:var(--prototype-coral);font-size:14px;font-weight:700}.prototype-dashboard>.legacy-inspiration-stream .legacy-section-heading h2{margin-top:3px;color:var(--prototype-ink);font-size:15px;letter-spacing:0}.prototype-dashboard>.legacy-inspiration-stream .legacy-section-heading .secondary{min-height:29px;padding:5px 9px;border-color:#cfe4df;color:var(--prototype-mint);background:#f4fbf9;font-size:14px}.prototype-dashboard>.legacy-inspiration-stream .legacy-inspiration-row{height:37px;margin-top:6px}.prototype-dashboard>.legacy-inspiration-stream .legacy-inspiration-track{gap:7px}.prototype-dashboard>.legacy-inspiration-stream .legacy-inspiration-track button{min-height:34px;padding:6px 11px;border-radius:6px;font-size:14px}.prototype-dashboard.catalog-open>.legacy-inspiration-stream{overflow:visible}.prototype-dashboard-error{margin:0}@media(min-width:821px){.content[data-page=dashboard]{padding:18px clamp(18px,2.2vw,36px) 20px;overflow-x:hidden;overflow-y:auto}.content[data-page=dashboard] .prototype-dashboard>.legacy-inspiration-stream{margin:0;padding-top:14px}}@media(min-width:821px)and (max-width:1400px)and (max-resolution:1.49dppx),(min-width:821px)and (max-width:900px)and (min-resolution:1.5dppx){.prototype-dashboard{gap:11px}.prototype-page-head{min-height:70px}.prototype-page-head h1{margin-top:6px;font-size:24px}.prototype-page-head p{font-size:14px}.prototype-workbench{grid-template-columns:minmax(0,1fr) 270px;min-height:326px}.prototype-workbench-main{padding:16px 18px 14px}.prototype-workbench-main h2{font-size:18px}.prototype-intro{margin-bottom:9px;font-size:14px}.prototype-prompt{min-height:93px;padding-top:9px}.prototype-prompt>p{min-height:25px;margin:5px 0 3px;font-size:14px}.prototype-reference{margin:11px 11px 11px 0;padding:11px}.prototype-reference-list{gap:5px;margin-top:8px}.prototype-reference-list>button{min-height:52px}.prototype-reference-art{height:38px}}@media(min-width:821px)and (max-height:780px){.prototype-page-head{min-height:64px}.prototype-workbench{min-height:312px}.prototype-signals>div{min-height:35px}.prototype-dashboard>.legacy-inspiration-stream{padding-top:10px}.prototype-dashboard>.legacy-inspiration-stream .legacy-inspiration-row{height:34px;margin-top:4px}.prototype-dashboard>.legacy-inspiration-stream .legacy-inspiration-track button{min-height:31px}}@media(max-width:1000px)and (max-resolution:1.49dppx),(max-width:900px)and (min-resolution:1.5dppx){.prototype-workbench{grid-template-columns:minmax(0,1fr) 245px}.prototype-signals small{display:none}.prototype-reference-list>button{grid-template-columns:42px minmax(0,1fr) 14px}.prototype-reference-art{width:42px}}@media(max-width:820px){.content[data-page=dashboard]{padding:14px 12px 82px;overflow-y:auto}.prototype-dashboard{padding:0;gap:12px}.prototype-page-head{min-height:0;align-items:flex-start}.prototype-page-head h1{font-size:20px}.prototype-page-head p{font-size:10px}.prototype-new.primary{flex:0 0 auto}.prototype-workbench{grid-template-columns:1fr}.prototype-workbench-main{padding:16px}.prototype-reference{margin:0 12px 12px}}@media(max-width:620px){.prototype-page-head{display:grid}.prototype-new.primary{width:max-content}.prototype-actions,.prototype-signals{grid-template-columns:1fr}.prototype-signals{gap:5px}.prototype-signals small{display:block}.prototype-prompt-tools{flex-wrap:wrap}.prototype-prompt-tools>span{width:100%;margin-left:0}}.prototype-actions{gap:10px;margin-top:14px}.prototype-actions>button{grid-template-columns:46px minmax(0,1fr) 20px;min-height:76px;gap:13px;padding:11px 14px}.prototype-actions strong{font-size:15px}.prototype-actions small{margin-top:4px;font-size:14px}.prototype-action-icon{width:46px;height:46px}@media(min-width:821px)and (max-width:1400px)and (max-resolution:1.49dppx),(min-width:821px)and (max-width:900px)and (min-resolution:1.5dppx){.prototype-actions>button{min-height:70px;padding:9px 12px}.prototype-actions strong{font-size:15px}.prototype-actions small{font-size:14px}}@media(max-width:620px){.prototype-actions>button{min-height:70px}}.content[data-page=create]{background:#f3faf7}.prototype-create-workspace{gap:0;max-width:1440px}.prototype-create-workspace>.create-workspace-head,.prototype-create-workspace>.create-context-band{display:none}.prototype-brief-page{--create-coral: #ef6b60;--create-coral-soft: #fff0ed;--create-mint: #149d99;--create-mint-soft: #e7f7f4;--create-ink: #153a3e;--create-muted: #708484;--create-line: #d6e6e2;display:flex;width:100%;padding:0 4px 20px;flex-direction:column;gap:13px;color:var(--create-ink)}.prototype-brief-head{display:flex;min-height:70px;align-items:flex-end;justify-content:space-between;gap:18px}.prototype-brief-head h1{margin:7px 0 3px;color:var(--create-ink);font-size:24px;font-weight:820;line-height:1.15;letter-spacing:0}.prototype-brief-head p{color:var(--create-muted);font-size:14px;line-height:1.5}.prototype-save-state{display:inline-flex;min-height:30px;align-items:center;gap:6px;padding:0 9px;border:1px solid var(--create-line);border-radius:6px;color:var(--create-muted);background:#fff;font-size:14px}.prototype-save-dot{width:6px;height:6px;border-radius:50%;background:var(--create-mint)}.prototype-brief-layout{display:grid;grid-template-columns:minmax(0,1fr) 318px;gap:13px;align-items:start}.prototype-brief-left{display:grid;min-width:0;gap:11px}.prototype-brief-card,.prototype-plan-card{min-width:0;border:1px solid var(--create-line);border-radius:8px;background:#fff;box-shadow:0 7px 20px #27574d0b}.prototype-brief-card{overflow:visible}.prototype-brief-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px 0}.prototype-brief-title{display:flex;min-width:0;align-items:center;gap:9px}.prototype-step{display:grid;width:25px;height:25px;flex:0 0 auto;place-items:center;border-radius:6px;color:var(--create-mint);background:var(--create-mint-soft);font-size:14px;font-weight:850}.prototype-brief-title strong,.prototype-brief-title small{display:block}.prototype-brief-title strong{color:var(--create-ink);font-size:15px}.prototype-brief-title small{margin-top:2px;color:var(--create-muted);font-size:14px}.prototype-card-state{color:var(--create-mint);font-size:14px;white-space:nowrap}.prototype-brief-card-body{padding:11px 16px 14px}.prototype-create-prompt{padding:11px 12px 8px;border:1px solid #bfe2db;border-radius:7px;background:#f4fbf9}.prototype-create-prompt-head,.prototype-create-prompt-tools,.prototype-create-inspiration-row,.prototype-asset-controls,.prototype-plan-meta,.prototype-plan-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.prototype-create-prompt-head{color:#24484b;font-size:14px}.prototype-create-prompt-head span{color:#91a2a3;font-size:14px}.prototype-create-textarea{display:block;width:100%;min-height:78px;margin-top:7px;padding:0;resize:vertical;border:0;outline:0;color:#355658;background:transparent;font-size:15px;line-height:1.65}.prototype-create-textarea::placeholder{color:#98a8a7;opacity:1}.prototype-create-prompt-tools{padding-top:7px;border-top:1px solid #d8ece8;color:var(--create-muted);font-size:14px}.prototype-prompt-tools-right{display:inline-flex;align-items:center;gap:10px}.prototype-ai-hint{display:inline-flex;align-items:center;gap:4px;color:var(--create-coral)}.prototype-create-inspiration-row{margin-top:10px;color:var(--create-muted);font-size:14px}.prototype-create-label{white-space:nowrap}.prototype-create-inspiration-slot{display:flex;min-width:0;align-items:center;gap:8px;justify-content:flex-end}.prototype-create-inspiration-slot>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prototype-create-inspiration-slot>button{display:inline-flex;min-height:26px;align-items:center;gap:5px;padding:4px 8px;border:1px solid #bfe2db;border-radius:6px;color:var(--create-mint);background:#fff;font-size:14px;white-space:nowrap}.prototype-selected-style{display:inline-flex;align-items:center;gap:4px;color:var(--create-mint);font-weight:750}.prototype-brief-inspiration-wall{margin-top:8px}.prototype-brief-inspiration-wall .brief-inspiration-entry{display:flex;width:100%;min-height:34px;align-items:center;gap:7px;padding:7px 9px;border:1px dashed #bfe2db;border-radius:6px;color:var(--create-mint);background:#f9fdfc;font-size:14px;text-align:left}.prototype-brief-inspiration-wall .brief-inspiration-entry-icon{display:grid;width:21px;height:21px;place-items:center;border-radius:5px;color:#fff;background:var(--create-mint)}.prototype-assets-card,.prototype-settings-card{padding-bottom:14px}.prototype-asset-controls{align-items:stretch;padding:11px 16px 0}.prototype-asset-picker,.prototype-upload-tile{min-height:63px;padding:9px 10px;border:1px solid var(--create-line);border-radius:7px;background:#f6fbf9}.prototype-asset-picker{display:grid;min-width:0;flex:1 1 auto;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.prototype-asset-picker>span{color:var(--create-muted);font-size:14px;white-space:nowrap}.prototype-asset-picker .project-brand-selector{min-width:0;margin:0;padding:0;border:0;background:transparent}.prototype-asset-picker .project-brand-selector>div:first-child{display:none}.prototype-asset-picker .project-brand-selector select{width:100%;min-height:34px;padding:0 9px;border:1px solid #bfe2db;border-radius:6px;color:var(--create-ink);background:#fff;font-size:14px}.prototype-upload-tile{display:flex;width:196px;flex:0 0 196px;align-items:center;gap:8px;border-style:dashed;border-color:#9bd0c9;color:var(--create-mint);background:var(--create-mint-soft)}.prototype-upload-tile input{display:none}.prototype-upload-tile>svg{flex:0 0 auto}.prototype-upload-tile strong,.prototype-upload-tile small{display:block}.prototype-upload-tile strong{color:var(--create-ink);font-size:14px}.prototype-upload-tile small{margin-top:2px;color:var(--create-muted);font-size:14px}.prototype-reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;padding:10px 16px 0}.prototype-reference-item{position:relative;min-width:0}.prototype-reference-item>button:first-child,.prototype-reference-item>img{display:block;width:100%;overflow:hidden;aspect-ratio:4 / 3;border:1px solid var(--create-line);border-radius:6px;object-fit:cover;background:#f0f5f3}.prototype-reference-item>button:first-child{position:relative;padding:0}.prototype-reference-item>button:first-child img{display:block;width:100%;height:100%;object-fit:cover}.prototype-reference-item>button:first-child span{position:absolute;right:4px;bottom:4px;padding:2px 4px;border-radius:4px;color:#fff;background:#153a3eb8;font-size:14px}.prototype-reference-item.is-excluded>button:first-child{opacity:.52}.prototype-reference-item .ref-role-select{margin-top:4px}.prototype-reference-item .ref-role-select select{width:100%;min-height:25px;padding:0 5px;border:1px solid var(--create-line);border-radius:5px;color:var(--create-muted);background:#fff;font-size:14px}.prototype-reference-item.is-mine>button:last-child{position:absolute;top:4px;right:4px;display:grid;width:22px;height:22px;place-items:center;border:0;border-radius:4px;color:#fff;background:#153a3eb8}.prototype-reference-empty{margin:10px 16px 0;padding:9px;border:1px dashed var(--create-line);border-radius:6px;color:var(--create-muted);background:#f9fdfc;font-size:14px;text-align:center}.prototype-settings-card .prototype-brief-card-head{padding-bottom:0}.prototype-output-settings{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:12px;padding:11px 16px 0}.prototype-setting-group{min-width:0}.prototype-setting-group>label{display:block;margin-bottom:7px;color:var(--create-muted);font-size:14px}.prototype-segmented,.prototype-duration-options,.prototype-expression-options{display:flex;gap:5px}.prototype-segmented button,.prototype-duration-options button,.prototype-expression-options button{display:inline-flex;min-height:33px;flex:1 1 0;align-items:center;justify-content:center;gap:5px;padding:4px 6px;border:1px solid var(--create-line);border-radius:6px;color:#5a7272;background:#fff;font-size:14px;white-space:nowrap}.prototype-segmented button:hover,.prototype-segmented button.active,.prototype-duration-options button:hover,.prototype-duration-options button.active,.prototype-expression-options button:hover,.prototype-expression-options button.active{border-color:#75c6be;color:var(--create-teal-deep, #087976);background:var(--create-mint-soft);font-weight:800}.prototype-aspect-icon{display:inline-block;flex:0 0 auto;border:1px solid currentColor;border-radius:2px}.prototype-expression-group{grid-column:1 / -1;padding-top:10px;border-top:1px solid #e3efec}.prototype-expression-options{max-width:570px}.prototype-plan-card{position:sticky;top:13px;overflow:hidden;border-color:#c5e2dc;background:#eaf8f5}.prototype-plan-top{padding:15px 15px 13px;border-bottom:1px solid #cde6e1}.prototype-plan-kicker{display:inline-flex;align-items:center;gap:6px;color:var(--create-mint);font-size:14px;font-weight:800}.prototype-plan-kicker svg{color:var(--create-coral)}.prototype-plan-card h2{margin-top:8px;color:var(--create-ink);font-size:18px;line-height:1.25}.prototype-plan-card p{margin-top:5px;color:var(--create-muted);font-size:14px;line-height:1.5}.prototype-plan-meta{justify-content:flex-start;margin-top:11px}.prototype-plan-meta span{padding:4px 7px;border:1px solid #c6e2dd;border-radius:5px;color:#5f7b79;background:#ffffffb8;font-size:14px}.prototype-plan-body{padding:12px 15px 14px}.prototype-plan-section-title{color:#486b69;font-size:14px;font-weight:800}.prototype-plan-section-title small{color:var(--create-mint);font-size:14px;font-weight:600}.prototype-plan-list{display:grid;gap:7px;margin-top:9px}.prototype-plan-list>div{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;align-items:start;padding:8px;border:1px solid #cce4df;border-radius:6px;background:#ffffffc4}.prototype-plan-list>div>b{display:grid;width:26px;height:26px;place-items:center;border-radius:6px;color:var(--create-mint);background:var(--create-mint-soft);font-size:14px}.prototype-plan-list>div:nth-child(2)>b{color:#986b11;background:#fff5dd}.prototype-plan-list>div:nth-child(3)>b{color:#c34f48;background:var(--create-coral-soft)}.prototype-plan-list strong,.prototype-plan-list small{display:block}.prototype-plan-list strong{color:var(--create-ink);font-size:14px}.prototype-plan-list small{margin-top:3px;color:var(--create-muted);font-size:14px;line-height:1.35}.prototype-plan-foot{padding:12px 15px 15px;border-top:1px solid #cde6e1}.prototype-plan-foot .primary{display:inline-flex;width:100%;min-height:40px;align-items:center;justify-content:center;gap:7px;border:1px solid var(--create-coral);border-radius:7px;color:#fff;background:var(--create-coral);font-size:14px}.prototype-draft-button{display:inline-flex;width:100%;min-height:32px;align-items:center;justify-content:center;border:0;color:var(--create-mint);background:transparent;font-size:14px;font-weight:750}.prototype-plan-foot .form-error{margin-top:8px;font-size:14px}@media(min-width:821px){.content[data-page=create]{padding:17px clamp(18px,2.2vw,36px) 20px;overflow-x:hidden;overflow-y:auto}}@media(min-width:821px)and (max-width:1400px)and (max-resolution:1.49dppx),(min-width:821px)and (max-width:900px)and (min-resolution:1.5dppx){.prototype-brief-head{min-height:60px}.prototype-brief-head h1{font-size:20px}.prototype-brief-layout{grid-template-columns:minmax(0,1fr) 286px}.prototype-create-textarea{min-height:62px;font-size:14px}.prototype-plan-card h2{font-size:15px}.prototype-plan-list{gap:5px;margin-top:6px}.prototype-plan-list>div{padding:6px}}@media(min-width:821px)and (max-height:820px){.prototype-brief-page{gap:9px;padding-bottom:12px}.prototype-brief-card-head{padding-top:10px}.prototype-brief-card-body,.prototype-asset-controls,.prototype-output-settings{padding-top:8px}.prototype-create-textarea{min-height:52px}.prototype-plan-top{padding-top:11px;padding-bottom:9px}.prototype-plan-body{padding-top:9px;padding-bottom:10px}.prototype-plan-foot{padding-top:9px;padding-bottom:11px}}@media(max-width:820px){.content[data-page=create]{padding:14px 12px 32px;overflow-y:auto}.prototype-brief-page{padding:0}.prototype-brief-head{min-height:0;align-items:flex-start}.prototype-brief-head h1{font-size:16px}.prototype-brief-layout{grid-template-columns:1fr}.prototype-plan-card{position:static}.prototype-upload-tile{width:auto;flex:0 0 196px}}@media(max-width:600px){.prototype-brief-head{display:grid;gap:9px}.prototype-save-state{width:max-content}.prototype-create-inspiration-row,.prototype-asset-controls{align-items:stretch;flex-direction:column}.prototype-create-inspiration-slot{justify-content:space-between}.prototype-asset-picker,.prototype-upload-tile{width:100%;flex:0 0 auto}.prototype-output-settings{grid-template-columns:1fr}.prototype-expression-group{grid-column:auto}.prototype-expression-options{flex-wrap:wrap}.prototype-expression-options button{flex:1 1 calc(50% - 5px)}}.prototype-brand-focus-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px 16px 0}.prototype-brand-focus-row label{display:grid;min-width:0;gap:5px;color:var(--create-muted, #708484);font-size:14px}.prototype-brand-focus-row .menu-select{min-width:0}.prototype-brand-focus-row .menu-select select{width:100%;min-height:31px;padding:0 8px;border:1px solid var(--create-line, #d6e6e2);border-radius:6px;color:var(--create-ink, #153a3e);background:#fff;font-size:14px}@media(max-width:600px){.prototype-brand-focus-row{grid-template-columns:1fr}}.prototype-create-inspiration-row{display:none}.prototype-brief-inspiration-wall{display:block}.content[data-page=dashboard],.content[data-page=images]{background:#f5f7f6}@media(min-width:821px){.content[data-page=dashboard],.content[data-page=images]{display:flex;flex-direction:column;height:100%;min-height:0}.content[data-page=dashboard]>.agent-dashboard,.content[data-page=images]>.agent-dashboard{flex:0 0 auto;margin:calc(8vh - 51px) auto 0}.content[data-page=dashboard]:has(.agent-chat-shell.has-conversation)>.agent-dashboard{margin-block:0}}.agent-dashboard{--agent-coral: #f05249;--agent-coral-soft: #fff0ee;--agent-teal: #159d9b;--agent-teal-soft: #e8f6f4;--agent-ink: #172b2e;--agent-muted: #6d7d7e;--agent-faint: #9aa8a8;--agent-line: #e1e8e6;width:min(1100px,100%);margin:0 auto;padding:6px 0 24px;color:var(--agent-ink)}.agent-page-head{display:flex;min-height:98px;align-items:flex-end;justify-content:space-between;gap:18px}.agent-welcome{min-width:0;text-align:center;flex:1 1 auto}.agent-kicker{display:inline-flex;align-items:center;gap:6px;color:var(--agent-teal);font-size:14px;font-weight:800;letter-spacing:.08em}.agent-welcome h1{margin:10px 0 5px;color:var(--agent-ink);font-size:clamp(27px,3vw,38px);font-weight:820;line-height:1.16}.agent-welcome p{margin:0;color:var(--agent-muted);font-size:14px}.agent-chat-shell{max-width:860px;margin:22px auto 0;overflow:visible;border:1px solid #cfe3df;border-radius:14px;background:linear-gradient(145deg,#fff,#f3faf8);box-shadow:0 12px 28px #2a5c5817}.agent-chat-shell:focus-within{border-color:#79cbc5;outline:3px solid rgba(21,157,155,.09)}.agent-composer{max-width:none;margin:0;padding:13px 15px 12px;border:0;border-radius:0;background:transparent;box-shadow:none}.agent-composer-head{display:flex;align-items:flex-start;gap:12px;min-height:78px;color:var(--agent-muted);font-size:14px}.agent-reference-area{display:grid;min-width:0;flex:1 1 auto;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px 12px}.agent-composer-head.has-attachment .agent-reference-area{grid-template-columns:minmax(0,1fr) minmax(190px,.55fr)}.agent-reference-strip{display:flex;min-width:0;align-items:center;gap:8px;overflow-x:auto;padding:1px 1px 4px;scrollbar-width:thin}.agent-reference-thumb{position:relative;width:78px;height:78px;flex:0 0 78px;overflow:hidden;border:1px solid #b8d9d4;border-radius:8px;background:#edf7f4}.agent-reference-thumb img{display:block;width:100%;height:100%;object-fit:cover}.agent-reference-thumb:after{position:absolute;inset:auto 0 0;height:27px;background:linear-gradient(transparent,#0f3c3aad);content:"";pointer-events:none}.agent-reference-index{position:absolute;z-index:1;right:5px;bottom:5px;color:#fff;font-size:14px;font-weight:700;line-height:1}.agent-reference-thumb button{position:absolute;z-index:2;top:4px;right:4px;display:grid;width:21px;height:21px;place-items:center;border:1px solid rgba(255,255,255,.8);border-radius:50%;color:#355658;background:#ffffffe6}.agent-reference-thumb button:hover{color:#a44942;background:#fff0ee}.agent-add{position:relative;display:grid;place-items:center;width:78px;height:78px;flex:0 0 auto;overflow:hidden;border:1px dashed #b9d6d1;border-radius:8px;color:var(--agent-muted);background:#f5faf8;line-height:1;cursor:pointer}.agent-add svg:first-child{color:var(--agent-teal)}.agent-add-plus{position:absolute;right:8px;bottom:8px;display:grid;width:23px;height:23px;place-items:center;border:1px solid #d6e7e3;border-radius:50%;color:var(--agent-teal);background:#fff}.agent-add.has-image{border-style:solid;border-color:#b8d9d4;background:#edf7f4}.agent-add.has-image img{width:100%;height:100%;object-fit:cover}.agent-image-stack{position:relative;width:100%;height:100%}.agent-image-stack img{display:block;width:100%;height:100%;object-fit:cover}.agent-image-stack span{position:absolute;right:6px;bottom:6px;display:grid;min-width:22px;height:22px;place-items:center;padding:0 5px;border:1px solid rgba(255,255,255,.7);border-radius:999px;color:#fff;background:#174946c7;font-size:14px;font-weight:800}.agent-add.has-image:after{position:absolute;inset:auto 0 0;height:24px;background:linear-gradient(transparent,#0f3c3a8c);content:"";pointer-events:none}.agent-add.has-image input{z-index:1}.agent-add input,.agent-composer-upload input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0}.agent-add.is-busy{cursor:wait;opacity:.65}.agent-add:hover{border-color:#79cbc5;color:var(--agent-teal)}.agent-upload-copy{display:grid;min-width:0;align-content:start;gap:5px;padding-top:3px}.agent-upload-copy strong{color:#355658;font-size:14px;font-weight:700}.agent-upload-copy small{max-width:420px;color:var(--agent-faint);font-size:14px;line-height:1.5}.agent-attachment-list{display:flex;max-width:min(100%,520px);flex-wrap:wrap;gap:4px;margin-top:2px}.agent-suggestion-rail{display:grid;gap:7px;margin:0 0 4px;padding:8px 0 9px;border-top:1px solid #e2eeeb}.agent-suggestion-rail>span{color:var(--agent-faint);font-size:14px}.agent-suggestion-rail>div{display:flex;gap:7px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.agent-suggestion-rail button,.agent-example-row button{display:inline-flex;flex:0 0 auto;min-height:28px;align-items:center;gap:5px;padding:5px 9px;border:1px solid #cfe3df;border-radius:999px;color:#355658;background:#fff;font-size:14px;white-space:nowrap;cursor:pointer}.agent-suggestion-rail button:hover,.agent-suggestion-rail button.is-selected{border-color:#79cbc5;color:#087b78;background:var(--agent-teal-soft)}.agent-suggestion-rail button svg{color:var(--agent-teal)}.agent-example-row{display:flex;gap:7px;margin:-2px 0 10px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.agent-example-row button{border-color:#dcebe8;color:#607677;background:#ffffffb8}.agent-example-row button:hover:not(:disabled){border-color:#b9dfd9;color:#087b78;background:#edf8f5}.agent-example-row button:disabled,.agent-suggestion-rail button:disabled{cursor:not-allowed;opacity:.58}.agent-composer textarea{display:block;width:100%;min-height:74px;margin:9px 0 11px;padding:0 2px;resize:vertical;border:0;outline:0;color:#071515;background:transparent;font-size:15px;line-height:1.65}.agent-composer textarea::placeholder{color:#98a8a8}.agent-attachment-chip{display:inline-flex;max-width:min(100%,360px);min-height:28px;align-items:center;gap:7px;margin:3px 0 0;padding:3px 4px 3px 8px;border:1px solid #cfe3df;border-radius:6px;color:var(--agent-muted);background:#f8fcfb;font-size:14px}.agent-attachment-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-attachment-chip.is-brand{color:#087b78;border-color:#b9dfd9;background:#edf8f5}.agent-attachment-chip button{display:grid;width:22px;height:22px;flex:0 0 auto;place-items:center;border:0;border-radius:5px;color:var(--agent-muted);background:transparent}.agent-attachment-chip button:hover{color:var(--agent-coral);background:var(--agent-coral-soft)}.agent-attachment-chip.is-brand button:hover{color:#a44942;background:#fff0ee}.agent-composer-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:8px;border-top:1px solid #dcebe8}.agent-settings-row{display:flex;min-width:0;align-items:flex-end;gap:8px;flex-wrap:wrap}.agent-brand-create{display:inline-flex;min-height:34px;flex:0 0 auto;align-items:center;justify-content:center;gap:5px;padding:5px 9px;border:1px solid #b9dfd9;border-radius:6px;color:#087b78;background:#edf8f5;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer}.agent-brand-create:hover{border-color:#79cbc5;background:#e4f5f1}.agent-brand-create:disabled{opacity:.55;cursor:not-allowed}.agent-setting{display:grid;min-width:116px;gap:4px}.agent-setting>span{color:var(--agent-faint);font-size:14px;line-height:1}.agent-setting-picker{width:100%;min-width:0}.agent-setting-picker .brand-picker-trigger{min-height:30px;align-items:center;gap:6px;padding:6px 8px;border:1px solid #cfe3df;border-radius:7px;color:#355658;background:#fff;white-space:nowrap;box-shadow:none;font-size:14px}.agent-setting-picker .brand-picker-trigger:hover,.agent-setting-picker.is-open .brand-picker-trigger{border-color:#79cbc5;background:#fbfffe;box-shadow:0 0 0 2px #159d9b14}.agent-setting-picker .brand-picker-trigger:disabled{color:#9aabab;background:#f4f8f7;cursor:not-allowed}.agent-setting-picker .brand-picker-trigger b{color:var(--agent-teal);font-size:15px}.agent-setting-picker .brand-picker-menu{position:absolute;bottom:calc(100% + 6px);top:auto;left:0;right:auto;z-index:160;width:max-content;min-width:100%;max-width:min(320px,70vw);max-height:240px;margin:0;overflow:auto;gap:2px;padding:4px;border:1px solid #c5e0db;border-radius:8px;box-shadow:0 12px 24px #184a4624}.agent-setting-picker .brand-picker-menu button{min-height:30px;align-items:center;padding:6px 8px;border-radius:5px;font-size:14px}.agent-setting-picker .brand-picker-menu button span{white-space:nowrap}.agent-composer-tools,.agent-submit-area{display:flex;align-items:center;gap:4px}.agent-submit-area{gap:8px}.agent-composer-tools button{display:inline-flex;min-height:28px;align-items:center;gap:5px;padding:0 7px;border:0;border-radius:6px;color:var(--agent-muted);background:transparent;font-size:14px}.agent-composer-tools button:hover,.agent-composer-tools button.active,.agent-composer-upload:hover{color:var(--agent-teal);background:var(--agent-teal-soft)}.agent-composer-upload{position:relative;display:inline-flex;min-height:28px;align-items:center;gap:5px;padding:0 7px;border-radius:6px;color:var(--agent-muted);font-size:14px;cursor:pointer}.agent-submit-area>span{color:var(--agent-faint);font-size:14px;white-space:nowrap}.agent-submit,.agent-direct-submit{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:6px;padding:0 12px;border-radius:6px;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer}.agent-direct-submit{border:1px solid var(--agent-line);color:var(--agent-teal);background:#fff}.agent-direct-submit:hover:not(:disabled){border-color:#79cbc5;color:var(--agent-teal);background:var(--agent-teal-soft)}.agent-submit{border:0;color:#fff;background:var(--agent-coral);box-shadow:0 4px 11px #f052492e}.agent-submit:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-1px)}.agent-submit:disabled{color:#fff;background:#cbd7d5;box-shadow:none}.agent-direct-submit:disabled{color:#9aabab;background:#f4f8f7;cursor:not-allowed}.agent-submit:disabled{cursor:not-allowed}.agent-run-panel{max-width:none;margin:0;padding:12px 15px 13px;border:0;border-top:1px solid #dcebe8;border-radius:0;background:#f0f9f7c7;box-shadow:none}.agent-run-panel.is-error{border-top-color:#efc1bc;background:#fff8f7}.agent-run-panel.is-needs-brand{border-top-color:#ead6a8;background:#fffbf0}.agent-conversation-head.is-error .agent-turn-count{color:var(--agent-coral)}.agent-conversation-head.is-needs-brand .agent-turn-count{color:#a47612}.agent-run-head{display:flex;align-items:center;gap:9px}.agent-run-icon{display:grid;width:30px;height:30px;flex:0 0 auto;place-items:center;border-radius:7px;color:#fff;background:var(--agent-teal)}.agent-conversation-head .agent-run-icon{background:transparent}.agent-conversation-head .agent-run-icon img,.agent-message.agent .agent-message-avatar img{display:block;width:100%;height:100%;object-fit:contain}.agent-run-panel.is-error .agent-run-icon{background:var(--agent-coral)}.agent-run-panel.is-needs-brand .agent-run-icon{color:#fff;background:#c9951e}.agent-run-head>div{display:grid;min-width:0;gap:3px}.agent-run-head strong{color:var(--agent-ink);font-size:14px}.agent-run-head small{overflow:hidden;color:var(--agent-muted);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.agent-run-pulse{margin-left:auto;color:var(--agent-teal);font-size:14px;font-weight:800}.agent-run-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:12px 0 0 39px}.agent-run-steps>div{position:relative;display:flex;min-width:0;align-items:flex-start;gap:7px;padding:0 18px 0 0;border:0;background:transparent}.agent-run-steps>div:not(:last-child):after{content:"";position:absolute;top:9px;right:8px;width:20px;height:1px;background:#cadbd8}.agent-run-steps>div.current{color:var(--agent-teal)}.agent-run-steps>div.complete{color:var(--agent-teal)}.agent-run-steps i{display:grid;width:18px;height:18px;flex:0 0 auto;place-items:center;border-radius:50%;color:var(--agent-muted);background:#edf2f0;font-size:14px;font-style:normal;font-weight:800}.agent-run-steps .current i,.agent-run-steps .complete i{color:#fff;background:var(--agent-teal)}.agent-run-steps span{display:block;min-width:0}.agent-run-steps b,.agent-run-steps small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-run-steps b{color:var(--agent-ink);font-size:14px;font-weight:750}.agent-run-steps small{margin-top:3px;color:var(--agent-muted);font-size:14px}.agent-run-actions{display:flex;gap:7px;margin-top:10px}.agent-run-actions .primary,.agent-run-actions .secondary{min-height:31px;padding-inline:11px;font-size:14px}.agent-progress-note{display:flex;min-height:34px;align-items:center;gap:7px;margin:0 15px;padding:7px 0;border-top:1px solid #e2eeeb;color:var(--agent-muted);font-size:14px}.agent-progress-note b{color:var(--agent-ink);font-size:14px;font-weight:750}.agent-progress-note span:last-child{color:var(--agent-muted)}.agent-progress-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:var(--agent-teal);box-shadow:0 0 0 3px #159d9b1f}.agent-progress-note.is-thinking .agent-progress-dot,.agent-progress-note.is-brief .agent-progress-dot,.agent-progress-note.is-director .agent-progress-dot{animation:agent-progress-pulse 1.3s ease-in-out infinite}.agent-progress-note.is-done .agent-progress-dot{background:#56a67b;box-shadow:0 0 0 3px #56a67b1f}@keyframes agent-progress-pulse{0%,to{opacity:.45;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}.agent-run-actions{margin:0;padding:10px 15px 11px;border-top:1px solid #e2eeeb}.agent-run-actions.is-error{border-top-color:#efc1bc;background:#fff8f7}.agent-run-actions.is-needs-brand{border-top-color:#ead6a8;background:#fffbf0}.agent-conversation-panel{max-width:860px;margin:14px auto 0;padding:13px 15px 12px;border:1px solid #cfe3df;border-radius:10px;background:#fff;box-shadow:0 7px 20px #2a5c580f}.agent-conversation-head{display:flex;align-items:center;gap:9px;padding:14px 15px 12px;border-bottom:1px solid #e1ece9}.agent-conversation-head>div{display:grid;min-width:0;gap:3px}.agent-conversation-head strong{color:#071515;font-size:15px}.agent-conversation-head small{color:#071515;font-size:14px;line-height:1.5}.agent-turn-count{margin-left:auto;color:var(--agent-teal);font-size:14px;font-weight:800}.agent-message-list{display:grid;max-height:320px;gap:12px;margin:0;padding:16px 18px;overflow:auto}.agent-message{display:flex;align-items:flex-start;gap:7px}.agent-message-avatar{display:grid;width:22px;height:22px;flex:0 0 auto;place-items:center;border-radius:6px;color:#fff;background:var(--agent-teal);font-size:14px;font-weight:800}.agent-message.agent .agent-message-avatar{background:transparent}.agent-message.user .agent-message-avatar{order:2;color:#fff;background:var(--agent-coral)}.agent-message p{max-width:84%;margin:0;padding:10px 12px;border-radius:8px 8px 8px 2px;color:#071515;background:#f4faf8;font-size:15px;line-height:1.65;white-space:pre-line}.agent-message.user p{border-radius:7px 7px 2px;color:#071515;background:#e8f9f7}.agent-confirm-actions{display:flex;gap:7px;margin:0;padding:0 15px 12px}.agent-confirm-actions .primary,.agent-confirm-actions .secondary{min-height:32px;gap:5px;padding-inline:11px;font-size:14px}.agent-chat-shell.has-conversation .agent-composer{border-top:1px solid #e1ece9}.agent-context-card{display:grid;gap:9px;margin:10px 0;padding:11px 13px;border:1px solid #cfe3df;border-radius:9px;background:#f8fcfb}.agent-context-card.is-compact{margin:0 0 12px}.agent-context-head{display:flex;align-items:center;gap:8px}.agent-context-mark{display:grid;width:26px;height:26px;flex:0 0 auto;place-items:center;border-radius:6px;color:#fff;background:#159d9b}.agent-context-mark img{display:block;width:18px;height:18px;object-fit:contain}.agent-context-head>div{display:grid;min-width:0;gap:2px}.agent-context-head strong{color:#173332;font-size:14px}.agent-context-head small{color:#708484;font-size:14px}.agent-context-project{margin-left:auto;color:#149d99;font-size:14px;font-weight:800}.agent-context-prompt{margin:0;color:#355658;font-size:14px;line-height:1.55;white-space:pre-line}.agent-context-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.agent-context-facts span{min-width:0;padding:6px 7px;border:1px solid #dcebe8;border-radius:6px;color:#536f70;background:#fff;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-context-facts b{margin-right:4px;color:#149d99;font-size:14px}@media(max-width:620px){.agent-context-facts{grid-template-columns:1fr}.agent-context-project{display:none}}.agent-template-panel{margin-top:26px;padding:14px;border:1px solid var(--agent-line);border-radius:10px;background:#ffffffc7;box-shadow:0 7px 20px #2a5c580b}.agent-template-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.agent-template-head strong{color:var(--agent-ink);font-size:15px}.agent-template-head button{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;color:var(--agent-teal);background:transparent;font-size:14px}.agent-template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.agent-template-card{display:grid;min-width:0;overflow:hidden;padding:0;border:1px solid var(--agent-line);border-radius:8px;color:var(--agent-ink);background:#fff;text-align:left;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.agent-template-card:hover{border-color:#9bd8d2;box-shadow:0 8px 18px #2a5c5817;transform:translateY(-1px)}.agent-template-cover{display:flex;min-height:69px;align-items:flex-end;padding:9px;color:#fff}.agent-template-cover.coral{background:linear-gradient(135deg,#ef8479,#d85d56)}.agent-template-cover.mint{background:linear-gradient(135deg,#63c4bd,#3c9e99)}.agent-template-cover.ink{background:linear-gradient(135deg,#7d9293,#52696b)}.agent-template-cover.gold{background:linear-gradient(135deg,#d3aa64,#b27f36)}.agent-template-cover b,.agent-template-cover small{display:block}.agent-template-cover b{font-size:14px;line-height:1.2}.agent-template-cover small{margin-top:3px;color:#ffffffd1;font-size:14px}.agent-template-body{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:7px;padding:8px 9px}.agent-template-body>span:first-child{min-width:0}.agent-template-body b,.agent-template-body small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-template-body b{color:var(--agent-ink);font-size:14px}.agent-template-body small{margin-top:3px;color:var(--agent-muted);font-size:14px}.agent-template-go{display:grid;width:25px;height:25px;flex:0 0 auto;place-items:center;border:1px solid #bfe2db;border-radius:50%;color:var(--agent-teal);background:var(--agent-teal-soft)}.agent-template-go:hover{color:#fff;background:var(--agent-teal)}@media(min-width:821px){.content[data-page=dashboard]{padding:16px clamp(22px,3vw,46px) 26px;overflow-x:hidden;overflow-y:auto}}@media(max-width:900px){.agent-page-head{align-items:center;flex-direction:column}.agent-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.agent-dashboard{padding-top:0}.agent-welcome h1{font-size:20px}.agent-welcome p{line-height:1.5}.agent-mode-tabs{margin-top:15px}.agent-chat-shell{margin-top:18px}.agent-chat-shell .agent-composer{margin-top:0;padding:12px}.agent-composer-head{gap:10px;min-height:66px}.agent-reference-area,.agent-composer-head.has-attachment .agent-reference-area{grid-template-columns:1fr}.agent-add{width:66px;height:66px}.agent-reference-thumb{width:66px;height:66px;flex-basis:66px}.agent-upload-copy small{max-width:240px;font-size:10px}.agent-composer textarea{min-height:94px;font-size:10px}.agent-composer-foot{align-items:stretch;flex-direction:column}.agent-settings-row{width:100%}.agent-setting{min-width:0;flex:1 1 0}.agent-composer-tools{width:100%;flex-wrap:wrap}.agent-submit-area{width:100%;justify-content:flex-end;flex-wrap:wrap}.agent-submit-area>span{margin-right:auto}.agent-submit,.agent-direct-submit{min-height:36px}.agent-skill-row{justify-content:flex-start}.agent-template-panel{margin-top:21px}.agent-template-grid,.agent-run-steps{grid-template-columns:1fr}.agent-run-steps>div:not(:last-child):after{display:none}.agent-run-head small{white-space:normal}.agent-progress-note{margin-inline:12px}}@media(min-width:821px){.content[data-page=dashboard]{padding-inline:clamp(20px,2.4vw,46px)}.agent-dashboard{width:min(100%,1420px);padding-top:2px}.agent-page-head{min-height:78px}.agent-chat-shell,.agent-conversation-panel{max-width:1120px}.agent-chat-shell{margin-top:16px}}@media(min-width:1100px){.content[data-page=create]{display:flex;height:100%;min-height:0;padding:12px clamp(16px,2.2vw,32px);overflow:hidden;flex-direction:column}.content[data-page=create]>.global-toolbar{flex:0 0 auto;min-height:22px;margin:0 0 5px}.content[data-page=create]>.prototype-create-workspace{flex:1 1 auto;height:100%;min-height:0;overflow:hidden}.prototype-brief-page{height:100%;min-height:0;gap:8px;padding:0 4px 2px}.prototype-brief-head{min-height:52px}.prototype-brief-head h1{margin:4px 0 2px;font-size:20px}.prototype-brief-layout{flex:1 1 auto;min-height:0;grid-template-columns:minmax(0,1fr) minmax(280px,31%);align-items:stretch;gap:10px}.prototype-brief-left{min-height:0;grid-template-columns:minmax(0,1.16fr) minmax(260px,.84fr);grid-template-rows:auto minmax(0,1fr);gap:10px}.prototype-description-card{grid-column:1 / -1}.prototype-assets-card,.prototype-settings-card{min-height:0;overflow:hidden}.prototype-brief-card-head{padding:10px 13px 0}.prototype-brief-card-body{padding:8px 13px 11px}.prototype-create-prompt{padding:9px 10px 7px}.prototype-create-textarea{min-height:58px;resize:none}.prototype-brief-inspiration-wall{margin-top:6px}.prototype-asset-controls{padding:8px 13px 0}.prototype-upload-tile{width:164px;flex-basis:164px;min-height:54px}.prototype-reference-grid{grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:6px;padding:8px 13px 0;overflow:auto}.prototype-reference-empty{margin:8px 13px 0;padding:8px}.prototype-output-settings{grid-template-columns:1fr;gap:8px;padding:8px 13px 0}.prototype-setting-group>label{margin-bottom:5px}.prototype-segmented,.prototype-duration-options,.prototype-expression-options{gap:4px}.prototype-segmented button,.prototype-duration-options button,.prototype-expression-options button{min-height:29px;padding:3px 5px;font-size:14px}.prototype-expression-group{padding-top:8px}.prototype-plan-card{position:static;display:flex;height:100%;min-height:0;flex-direction:column}.prototype-plan-top{padding:12px 13px 10px}.prototype-plan-body{min-height:0;padding:10px 13px 11px;overflow:auto}.prototype-plan-foot{padding:9px 13px 11px}}.prototype-dashboard>.legacy-inspiration-stream{padding:17px 17px 15px}.prototype-dashboard>.legacy-inspiration-stream .legacy-section-heading h2{font-size:18px}.prototype-dashboard>.legacy-inspiration-stream .legacy-inspiration-row{height:48px;margin-top:9px}.prototype-dashboard>.legacy-inspiration-stream .legacy-inspiration-track{gap:12px}.prototype-dashboard>.legacy-inspiration-stream .legacy-inspiration-track button{min-height:43px;gap:8px;padding:8px 15px;border-radius:7px;font-size:15px}@media(max-width:820px){.prototype-dashboard>.legacy-inspiration-stream{padding:14px 12px 13px}.prototype-dashboard>.legacy-inspiration-stream .legacy-inspiration-row{height:44px;margin-top:7px}.prototype-dashboard>.legacy-inspiration-stream .legacy-inspiration-track{gap:9px}.prototype-dashboard>.legacy-inspiration-stream .legacy-inspiration-track button{min-height:39px;padding:7px 12px;font-size:10px}}.prototype-prompt>textarea{display:block;width:100%;min-height:34px;margin:6px 0 4px;padding:0;resize:vertical;border:0;outline:0;color:#557070;background:transparent;font:inherit;font-size:15px;line-height:1.5}.prototype-prompt>textarea::placeholder{color:#98a8a7;opacity:1}.prototype-prompt>textarea:focus{color:#24484b}@media(min-width:821px)and (max-width:1400px)and (max-resolution:1.49dppx),(min-width:821px)and (max-width:900px)and (min-resolution:1.5dppx){.prototype-prompt>textarea{font-size:14px}}.director-agent-page{--director-coral: #f05249;--director-coral-soft: #fff0ee;--director-teal: #159d9b;--director-teal-soft: #e8f6f4;--director-ink: #172b2e;--director-muted: #6d7d7e;--director-line: #dce9e6;width:min(1120px,100%);margin:0 auto;padding:2px 0 30px;color:var(--director-ink)}.director-agent-head{display:flex;min-height:112px;align-items:flex-end;justify-content:center;padding-bottom:8px}.director-agent-welcome{text-align:center}.director-agent-kicker{display:inline-flex;align-items:center;gap:6px;color:var(--director-teal);font-size:14px;font-weight:800;letter-spacing:.06em}.director-agent-welcome h1{margin:10px 0 5px;color:var(--director-ink);font-size:clamp(26px,2.7vw,36px);font-weight:820;line-height:1.18}.director-agent-welcome p{margin:0;color:var(--director-muted);font-size:15px}.director-agent-page>.agent-context-card,.director-agent-page>.director-agent-start,.director-agent-page>.director-error{width:min(1120px,100%);margin-inline:auto}.director-agent-page>.agent-context-card{margin-top:13px;margin-bottom:14px;padding:12px 15px;border-color:#cfe3df;border-radius:10px;background:#f8fcfb;box-shadow:0 7px 20px #2a5c580b}.director-agent-page .agent-context-head strong,.director-agent-page .agent-context-prompt,.director-agent-page .agent-context-facts span{color:var(--director-ink)}.director-agent-start{justify-content:center;min-height:62px;margin-top:0;padding:12px 16px;border-color:#cfe3df;border-radius:12px;background:linear-gradient(145deg,#fff,#f3faf8);box-shadow:0 10px 24px #2a5c580f}.director-agent-page>.director-error{display:flex;align-items:center;gap:11px;margin-top:0;padding:13px 15px;border-color:#f0c2bd;border-radius:12px;background:#fff8f7;box-shadow:0 8px 20px #f052490d}.director-error-icon{display:grid;width:30px;height:30px;flex:0 0 auto;place-items:center;border-radius:8px;color:#fff;background:var(--director-coral)}.director-error-icon img{display:block;width:18px;height:18px;object-fit:contain}.director-error-copy{display:grid;min-width:0;flex:1;gap:2px}.director-error-copy strong{color:var(--director-ink);font-size:15px}.director-error-copy p{color:#8b6260;font-size:15px;line-height:1.45}.director-agent-content{width:100%;margin-top:15px}.director-agent-content .director-customer-summary{grid-template-columns:minmax(0,1fr) 268px;gap:26px;align-items:start;padding:24px 26px!important;border-color:#b9e7e1!important;border-radius:14px;background:linear-gradient(145deg,#fff,#f3faf8)!important;box-shadow:0 12px 28px #2a5c5814}.director-agent-content .director-summary-main{min-width:0}.director-summary-kicker{display:inline-flex;align-items:center;gap:6px;color:var(--director-teal);font-size:14px;font-weight:800}.director-summary-kicker img{display:block;width:14px;height:14px;object-fit:contain}.director-agent-content .director-summary-status{padding:5px 9px;border-radius:999px;color:#087b78;background:var(--director-teal-soft);font-size:14px;font-weight:800}.director-agent-content .director-summary-main>h1{margin:14px 0 10px;color:var(--director-ink);font-size:clamp(24px,2.1vw,31px);line-height:1.28}.director-agent-content .director-summary-main>p{max-width:760px;margin:0;color:#355658;font-size:15px;line-height:1.8}.director-decision-section{margin-top:22px;padding-top:18px;border-top:1px solid var(--director-line)}.director-decision-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}.director-decision-header strong{color:var(--director-ink);font-size:15px}.director-decision-header span{color:var(--director-muted);font-size:14px}.director-agent-content .director-decision-edit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0}.director-agent-content .director-decision-edit label{display:grid;gap:6px;color:#355658;font-size:14px;font-weight:700}.director-agent-content .director-decision-edit textarea{min-height:68px;padding:9px 10px;border:1px solid #cfe3df;border-radius:8px;color:var(--director-ink);background:#ffffffc7;font:inherit;font-size:15px;line-height:1.55;resize:vertical}.director-agent-content .director-decision-edit textarea:focus{border-color:#79cbc5;outline:3px solid rgba(21,157,155,.09)}.director-agent-content .director-spec-panel{align-self:start;align-content:start;gap:11px;padding:17px;border-color:#c5e8e3;border-radius:11px;background:#fffc}.director-agent-content .director-spec-panel>span{color:var(--director-teal);font-size:14px;font-weight:800}.director-agent-content .director-spec-panel>strong{color:var(--director-ink);font-size:18px}.director-agent-content .director-spec-panel>div:not(.director-ref-thumbs){padding-top:10px;border-top-color:#dcefeb}.director-agent-content .director-spec-panel b{color:#68817e;font-size:14px}.director-agent-content .director-spec-panel em{padding:4px 8px;border-radius:6px;color:#087b78;background:var(--director-teal-soft);font-size:14px;font-style:normal;font-weight:800}.director-agent-content .director-ref-thumbs{display:flex;flex-wrap:wrap;gap:7px;margin-top:2px}.director-agent-content .director-ref-thumbs figure{width:54px}.director-agent-content .director-ref-thumbs img{width:54px;height:42px;border-radius:6px}.director-agent-content .director-ref-thumbs figcaption{margin-top:3px;color:#087b78;font-size:14px;font-weight:700;text-align:center}.director-agent-footer{min-height:48px;align-items:center;gap:7px;padding:4px 2px 0}.director-agent-footer .primary,.director-agent-footer .secondary{min-height:35px;border-radius:7px;font-size:15px}.director-agent-footer .primary{background:var(--director-coral);border-color:var(--director-coral)}.director-agent-footer .secondary{color:#355658;border-color:#cfe3df;background:#fff}@media(max-width:760px){.director-agent-page{padding-bottom:18px}.director-agent-head{min-height:92px}.director-agent-welcome h1{font-size:16px}.director-agent-welcome p{font-size:10px}.director-agent-content .director-customer-summary{grid-template-columns:1fr;gap:16px;padding:17px!important}.director-agent-content .director-decision-edit{grid-template-columns:1fr}.director-decision-header{align-items:flex-start;flex-direction:column;gap:3px}.director-agent-footer{align-items:stretch;flex-wrap:wrap}.director-agent-footer .director-inline-status{width:100%;order:-1}}@media(max-width:520px){.director-agent-page>.agent-context-card{margin-top:9px;padding:10px 11px}.director-agent-page>.director-error{align-items:flex-start;flex-wrap:wrap}.director-error-copy{flex-basis:calc(100% - 41px)}.director-agent-page>.director-error button{margin-left:41px}.director-agent-content .director-summary-main>h1{font-size:14px}.director-agent-content .director-summary-main>p{font-size:10px}.director-agent-footer>*{flex:1 1 auto}}@media(min-width:821px){.content[data-page=director]{display:flex;min-height:100%;height:auto;flex-direction:column;overflow-x:hidden;overflow-y:auto;padding-top:10px;padding-bottom:10px}.content[data-page=director]>.director-agent-page{display:flex;width:min(1120px,100%);min-height:0;flex:1 1 auto;flex-direction:column}.content[data-page=director] .director-agent-head{min-height:88px;flex:0 0 auto}.content[data-page=director]>.director-agent-page>.agent-context-card{flex:0 0 auto}.content[data-page=director] .director-agent-content{display:flex;min-height:auto;flex:0 0 auto;flex-direction:column;overflow:visible}.content[data-page=director] .director-agent-content .director-customer-summary{min-height:auto;flex:0 0 auto;overflow:visible}.content[data-page=director] .director-agent-content .director-summary-main{min-height:auto;overflow:visible}.content[data-page=director] .director-agent-footer{flex:0 0 auto}}@media(min-width:1101px)and (min-height:650px){.content:is([data-page=projects],[data-page=tasks],[data-page=assets],[data-page=credits],[data-page=result]){display:flex;height:100%;min-height:0;flex-direction:column;overflow:hidden;padding-bottom:20px}.content:is([data-page=projects],[data-page=tasks],[data-page=assets],[data-page=credits],[data-page=result])>.global-toolbar{flex:0 0 auto}.content[data-page=projects] .project-page,.content[data-page=tasks] .task-workbench,.content[data-page=assets] .brand-page,.content[data-page=result] .result-page{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;margin-top:12px}.content[data-page=projects] .project-business-panel{display:flex;min-height:0;flex:1 1 auto;flex-direction:column}.content[data-page=projects] .project-table-wrap,.content[data-page=tasks] .task-table-wrap,.content[data-page=assets] .brand-table-wrap{min-height:0;flex:1 1 auto;overflow:auto;scrollbar-width:thin}.content:is([data-page=projects],[data-page=tasks],[data-page=assets]) :is(.project-table,.task-table,.brand-table) thead th,.content[data-page=credits] .credit-ledger-table thead th{position:sticky;z-index:1;top:0}.content[data-page=credits] .credits-center{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;gap:12px;margin-top:12px;padding-bottom:0}.content[data-page=credits] .credit-ledger-panel{display:flex;min-height:0;flex:1 1 auto;flex-direction:column}.content[data-page=credits] .credit-ledger-table-wrap{min-height:0;flex:1 1 auto;overflow:auto;scrollbar-width:thin}.content[data-page=result] .result-workspace{min-height:0;flex:1 1 auto;align-items:stretch}.content[data-page=result] .result-video{max-height:100%;object-fit:contain}.content[data-page=result] .result-inspector{min-height:0;max-height:100%;overflow-y:auto}}.content[data-page=admin-credits] .admin-page{gap:12px}.admin-credit-tabs{display:flex;align-items:center;gap:8px;padding:4px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft);width:fit-content;max-width:100%}.admin-credit-tabs button{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 15px;border:0;border-radius:6px;color:var(--muted);background:transparent;font-weight:700;cursor:pointer;white-space:nowrap}.admin-credit-tabs button.active{color:var(--primary);background:var(--surface);box-shadow:0 2px 9px #07151514}.admin-credit-tabs button span{padding:2px 7px;border-radius:999px;color:var(--muted);background:var(--surface-soft);font-size:14px;font-weight:600}.content[data-page=admin-credits] .admin-table{table-layout:auto}.content[data-page=admin-credits] .admin-table th,.content[data-page=admin-credits] .admin-table td{width:auto}.content[data-page=admin-credits] .admin-credit-account-table th:first-child{width:30%}.content[data-page=admin-credits] .admin-credit-topup-table th:first-child{width:25%}.content[data-page=admin-credits] .admin-credit-topup-table th:nth-child(2){width:24%}.content[data-page=admin-credits] .admin-credit-topup-table th:last-child{width:7%}.content[data-page=admin-credits] .topup-trade-no{font-variant-numeric:tabular-nums;font-size:15px}.content[data-page=admin-credits] .topup-number{font-variant-numeric:tabular-nums;white-space:nowrap}.content[data-page=admin-credits] .topup-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:5px;color:#775d13;background:#fff5d7;font-size:14px;white-space:nowrap}.content[data-page=admin-credits] .topup-status.credited{color:#087b78;background:#e8f9f7}.content[data-page=admin-credits] .topup-status.manual_review{color:#a44942;background:#fff0ee}@media(min-width:1101px){.content[data-page=admin-credits] .admin-credit-topup-table .admin-table{min-width:950px}.content[data-page=admin-credits] .admin-credit-topup-table td:nth-child(2){overflow:hidden;text-overflow:ellipsis}}@media(max-width:1100px)and (max-resolution:1.49dppx),(max-width:900px)and (min-resolution:1.5dppx){.admin-credit-tabs{width:100%}.admin-credit-tabs button{flex:1;justify-content:center;min-width:0;padding:0 7px;font-size:10px}}@media(min-width:1101px)and (min-height:650px){.content[data-page=credits] .credits-center{overflow:hidden}.content[data-page=credits] .credits-overview-panel{flex:0 0 auto}.content[data-page=credits] .credits-overview-grid{min-height:92px}.content[data-page=credits] .credits-center>.topup-panel{flex:0 0 auto;min-height:104px}.content[data-page=credits] .credit-ledger-panel{flex:1 1 0;min-height:0}.content[data-page=credits] .credit-ledger-table-wrap{min-height:0;overflow:auto}.content[data-page=result] .result-page{overflow:hidden}.content[data-page=result] .result-head{flex:0 0 auto}.content[data-page=result] .result-workspace{display:grid;min-height:0;flex:1 1 0;align-items:stretch}.content[data-page=result] .result-workspace>:first-child{min-height:0;overflow:hidden}.content[data-page=result] .result-video{display:block;width:100%;height:100%;max-height:none;object-fit:contain}.content[data-page=result] .result-inspector{height:100%;max-height:none;overflow-y:auto}}@media(min-width:1101px){.content[data-page=brand-edit] .brand-editor-form-panel{overflow-y:auto;scrollbar-width:thin}.content[data-page=brand-edit] .brand-asset-sections{grid-template-rows:none;align-content:start;overflow-y:auto;scrollbar-width:thin}.content[data-page=brand-edit] .brand-asset-sections>section,.content[data-page=brand-edit] .brand-asset-grid{overflow:visible}}@media(min-width:1101px)and (min-height:650px){.content:is([data-page=admin-users],[data-page=admin-activation-codes],[data-page=admin-credits],[data-page=admin-commissions],[data-page=admin-audits]){display:flex;height:100%;min-height:0;flex-direction:column;overflow:hidden;padding-bottom:20px}.content:is([data-page=admin-users],[data-page=admin-activation-codes],[data-page=admin-credits],[data-page=admin-commissions],[data-page=admin-audits]) .admin-page{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;margin-top:12px}.content:is([data-page=admin-users],[data-page=admin-activation-codes],[data-page=admin-credits],[data-page=admin-commissions],[data-page=admin-audits]) .admin-table-wrap{min-height:0;flex:1 1 auto;overflow:auto;scrollbar-width:thin}.content:is([data-page=admin-users],[data-page=admin-activation-codes],[data-page=admin-credits],[data-page=admin-commissions],[data-page=admin-audits]) .admin-table thead th{position:sticky;z-index:1;top:0}.content[data-page=admin-commissions] .admin-page{gap:12px}.content[data-page=admin-commissions] .admin-page-head,.content[data-page=admin-commissions] .commission-summary,.content[data-page=admin-commissions] .commission-rule-panel{flex:0 0 auto}.content[data-page=admin-commissions] .commission-ledger-panel{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;overflow:hidden}.content[data-page=admin-commissions] .commission-ledger-panel>.admin-block-heading{flex:0 0 auto}.content[data-page=admin-commissions] .commission-ledger-panel>.admin-table-wrap{min-height:0;flex:1 1 auto;overflow:auto;scrollbar-width:thin}.content[data-page=admin-commissions] .commission-ledger-panel .admin-table thead th{position:sticky;z-index:2;top:0}}@media(min-width:1101px)and (min-height:650px){.content[data-page=admin-commissions]{padding-bottom:12px}.content[data-page=admin-commissions] .admin-page,.content[data-page=admin-commissions] .commission-summary{gap:8px}.content[data-page=admin-commissions] .commission-summary>div{min-height:76px;gap:4px;padding:10px 14px}.content[data-page=admin-commissions] .commission-summary strong{font-size:20px}.content[data-page=admin-commissions] .commission-rule-panel .admin-block-heading,.content[data-page=admin-commissions] .commission-ledger-panel .admin-block-heading{padding:10px 14px}.content[data-page=admin-commissions] .commission-rule-panel .tier-editor{gap:8px;padding:10px 14px}.content[data-page=admin-commissions] .commission-rule-panel .tier-editor>div{min-height:30px}.content[data-page=admin-commissions] .commission-rule-panel .tier-editor input,.content[data-page=admin-commissions] .commission-rule-panel .tier-editor button{min-height:32px}.content[data-page=admin-commissions] .commission-ledger-panel .admin-block-heading{align-items:center}.content[data-page=admin-commissions] .commission-ledger-panel .commission-actions{flex-basis:auto;margin-top:0}.content[data-page=admin-commissions] .commission-ledger-panel .admin-table th{height:36px;padding:8px 10px}.content[data-page=admin-commissions] .commission-ledger-panel .admin-table td{height:50px;padding:8px 10px}.content[data-page=admin-commissions] .commission-ledger-panel>.admin-table-wrap{scrollbar-width:thin;scrollbar-color:var(--muted) transparent}.content[data-page=admin-commissions] .commission-ledger-panel>.admin-table-wrap::-webkit-scrollbar{width:9px;height:9px}.content[data-page=admin-commissions] .commission-ledger-panel>.admin-table-wrap::-webkit-scrollbar-thumb{border-radius:5px;background:color-mix(in srgb,var(--muted) 65%,transparent)}}.admin-user-table .admin-table th:nth-child(4){width:16%}.admin-user-table .admin-table th:nth-child(6){width:12%}.admin-user-table .admin-table th:last-child{width:12%}.admin-user-table .admin-table td:last-child{overflow:visible}.audit-video-id{display:flex;align-items:center;gap:8px;margin-top:6px;color:var(--text);font-family:ui-monospace,monospace;font-size:14px;white-space:normal}.audit-video-id button{min-height:28px;padding:0 8px;border:1px solid var(--line);border-radius:4px;color:var(--text);background:var(--surface)}.project-cell .record-thumb,.project-cell img,.project-cell video{display:block;flex:0 0 auto;width:64px;height:42px}.image-studio{display:grid;gap:18px;margin-top:22px}.image-studio-head h2{margin:6px 0;font-size:24px}.image-studio-head p{max-width:720px;color:var(--muted);font-size:15px}.image-studio-form{display:grid;gap:12px;padding:20px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.image-studio-form textarea{min-height:140px;padding:12px;border:1px solid var(--line);border-radius:6px;color:var(--text);background:var(--surface);resize:vertical}.image-studio-form>div{display:flex;flex-wrap:wrap;gap:12px}.image-studio-form label{display:grid;gap:6px;color:var(--muted);font-size:15px}.image-studio-form select,.image-studio-form input{min-height:40px}.image-studio-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.image-studio-grid figure{margin:0;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.image-studio-grid img{width:100%;aspect-ratio:1;object-fit:cover;background:var(--surface-soft)}.image-studio-grid figcaption{overflow:hidden;padding:10px;color:var(--muted);font-size:15px;text-overflow:ellipsis;white-space:nowrap}.image-studio-grid{width:min(860px,100%);margin:22px auto 0}.agent-chat-shell.is-dragover{border-color:#79cbc5;outline:3px solid rgba(21,157,155,.16);background:#f3faf8}.agent-welcome h1{color:#127e7c}.agent-start-ideas{display:flex;justify-content:center;gap:10px;width:min(860px,100%);margin:16px auto 0}.agent-start-ideas button{display:grid;gap:3px;min-width:140px;padding:12px 14px;border:1px solid #cfe3df;border-radius:12px;color:#173033;background:#ffffffd1;text-align:left}.agent-start-ideas button:hover{border-color:#79cbc5;background:#fff}.agent-start-ideas small{color:#6d7d7e;font-size:14px}.content[data-page=dashboard],.content[data-page=images]{background:radial-gradient(420px 220px at 18% 8%,rgba(240,82,73,.16),transparent 70%),radial-gradient(520px 280px at 82% 0%,rgba(21,157,155,.2),transparent 72%),#f5f7f6}.agent-page-head{align-items:center}.agent-showcase{width:118px;height:168px;margin:0;padding:7px;border:1px solid rgba(255,255,255,.8);border-radius:18px;background:linear-gradient(160deg,#fff,#fff7f6 45%,#f3faf8);box-shadow:0 16px 32px #f0524924,0 8px 18px #159d9b1f}.agent-showcase.is-poster{width:138px;height:156px}.agent-showcase img{width:100%;height:100%;object-fit:cover;border-radius:12px}.agent-chat-shell{border:1px solid rgba(255,255,255,.78);box-shadow:inset 0 0 0 1px #d7ebe7,0 18px 36px #175c581a}.agent-start-ideas button{grid-template-columns:46px minmax(0,1fr);align-items:center}.agent-start-ideas img,.agent-example-row img{width:46px;height:46px;object-fit:cover;border-radius:8px}.agent-example-row button{display:inline-flex;align-items:center;gap:8px}@media(max-width:760px){.agent-showcase{display:none}}.my-images-page .project-page-head p{color:var(--muted)}.my-images-page .project-page-head .primary{min-height:40px;padding:0 16px;text-decoration:none}.my-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.my-image-grid article{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.my-image-grid article>button{padding:0;border:0;background:var(--surface-soft)}.my-image-grid img{width:100%;aspect-ratio:1;object-fit:cover}.my-image-grid article>div{display:grid;gap:8px;padding:12px}.my-image-grid strong{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.my-image-grid small{color:var(--muted)}.my-image-grid article>div>div{display:flex;gap:8px}.my-image-grid .secondary{min-height:32px;padding:0 12px;text-decoration:none}.image-preview-backdrop{position:fixed;z-index:40;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#071515b8}.image-preview-backdrop figure{display:grid;gap:12px;width:min(920px,100%);margin:0}.image-preview-backdrop img{width:100%;max-height:74vh;object-fit:contain;border-radius:8px;background:#111}.image-preview-backdrop figcaption{display:flex;align-items:center;gap:10px}.image-preview-backdrop p{flex:1;margin:0;color:#fff}.image-preview-backdrop a,.image-preview-backdrop button{min-height:36px;padding:0 14px;text-decoration:none}@media(max-width:760px){.primary-nav a span{max-width:100%;overflow:hidden;font-size:10px;line-height:1.15;text-align:center;text-overflow:ellipsis;white-space:nowrap}}.agent-status-line{margin:0 0 10px;color:#127e7c;font-size:14px}.agent-status-line.is-error,.agent-status-line.is-needs-brand{color:#a44942}.agent-message.agent p{max-width:min(92%,640px)}.agent-message.user p{max-width:min(72%,420px)}.agent-message.is-plan p{border:1px solid #b7e4df;background:#fff}.agent-action-row{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:760px){.agent-action-row{display:grid;grid-template-columns:1fr;width:100%}.agent-action-row button{width:100%}}.agent-message{align-items:flex-start}.agent-message.user{justify-content:flex-end}.agent-message.agent{justify-content:flex-start}.agent-message.user p{max-width:min(68%,380px);color:#fff;background:#149b99;border-radius:14px 14px 4px}.agent-message.agent p{max-width:min(94%,680px);color:#173033;background:#fff;border:1px solid #d7ebe7;border-radius:4px 14px 14px}.agent-message.is-plan p{background:#f3faf8;border-color:#8fd0cb}.agent-expression-options{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}.agent-expression-options button{min-height:34px;padding:0 12px;border:1px solid #cfe3df;border-radius:8px;color:#365653;background:#fff}.agent-expression-options button.active{border-color:#75c6be;color:#087976;background:#e8f8f6;font-weight:700}@media(max-width:760px){.agent-setting>span{font-size:10px}.agent-setting-picker .brand-picker-trigger,.agent-setting-picker .brand-picker-menu button,.agent-expression-options button{font-size:10px}}@media(max-width:760px){.agent-welcome h1{font-size:18px;white-space:nowrap}.agent-welcome p{font-size:12px}.agent-expression-options{flex-wrap:nowrap}.agent-expression-options button{flex:1 1 0;min-width:0;padding:0 4px;font-size:11px;white-space:nowrap}.agent-action-row{display:grid;grid-template-columns:1fr;width:100%}.agent-action-row button,.agent-submit,.agent-direct-submit,.agent-brand-create{width:100%;min-height:40px;padding:0 12px;font-size:14px;white-space:nowrap}.agent-setting>span,.agent-setting-picker .brand-picker-trigger,.agent-setting-picker .brand-picker-menu button{font-size:11px}.primary-nav a{font-size:10px}.primary-nav a span{font-size:10px;white-space:nowrap}}.agent-setting-picker .brand-picker-trigger{align-items:center;height:34px;min-height:34px;overflow:hidden}.agent-setting-picker .brand-picker-trigger span,.agent-setting-picker .menu-select-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media(max-width:760px){.agent-settings-row{display:grid;grid-template-columns:1fr 1fr}.agent-setting-picker .brand-picker-trigger,.agent-setting-picker .brand-picker-menu button{height:32px;font-size:12px}.agent-setting-picker .brand-picker-trigger span,.agent-setting-picker .brand-picker-menu button span{font-size:12px;white-space:nowrap}}@media(max-width:760px){.agent-welcome p{font-size:11px;white-space:nowrap}.agent-upload-copy small{max-width:none;font-size:10px;white-space:nowrap}}@media(min-width:761px){.agent-welcome p,.agent-upload-copy small,.agent-upload-copy strong{white-space:nowrap}}.admin-attention-list article.is-clickable{cursor:pointer}.admin-failed-count{border:0;border-radius:4px;color:var(--muted);background:var(--surface-soft)}.admin-failed-count.warning{color:#a44942;background:#fff0ee;font-weight:700;cursor:pointer}.inspiration-danmaku{position:fixed;z-index:2;top:0;right:0;bottom:0;left:222px;overflow:hidden;pointer-events:none}.agent-page-head,.agent-chat-shell{position:relative;z-index:4}.inspiration-danmaku-row{position:absolute;left:0;display:flex;width:max-content;margin:0;animation:inspiration-danmaku 320s linear infinite}.inspiration-danmaku-row:nth-child(2n){animation-name:inspiration-danmaku-back;animation-duration:360s}.inspiration-danmaku-row.is-paused{animation-play-state:paused}.inspiration-danmaku-track{display:flex;gap:9px;padding-right:9px}.inspiration-danmaku button{pointer-events:auto;box-sizing:border-box;height:42px;min-height:42px;padding:0 18px;border:1px solid rgba(21,157,155,.28);border-radius:999px;color:#365653;background:#ffffffd1;font-size:17px;line-height:40px;white-space:nowrap}.inspiration-danmaku button.is-selected{color:#fff;border-color:#149b99;background:#149b99}@keyframes inspiration-danmaku{0%{transform:translate(0)}to{transform:translate(-50%)}}@keyframes inspiration-danmaku-back{0%{transform:translate(-50%)}to{transform:translate(0)}}@media(max-width:760px){.inspiration-danmaku{display:none}.inspiration-danmaku-row{margin:12px 0}.inspiration-danmaku button{min-height:28px;padding:0 8px;font-size:12px}}@media(min-width:761px){html:lang(en) .inspiration-danmaku{left:242px}}.inspiration-danmaku{clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,var(--hole-x, 0px) var(--hole-y, 0px),var(--hole-x, 0px) calc(var(--hole-y, 0px) + var(--hole-h, 0px)),calc(var(--hole-x, 0px) + var(--hole-w, 0px)) calc(var(--hole-y, 0px) + var(--hole-h, 0px)),calc(var(--hole-x, 0px) + var(--hole-w, 0px)) var(--hole-y, 0px),var(--hole-x, 0px) var(--hole-y, 0px))}.inspiration-panel-backdrop{position:fixed;z-index:40;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#0715156b}.inspiration-panel{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(980px,100%);max-height:min(760px,100%);overflow:hidden;border-radius:10px;background:#fff}.inspiration-panel header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line)}.inspiration-panel header h3{margin:0;font-size:20px}.inspiration-panel header button{min-height:32px;padding:0 12px;border:1px solid var(--line);border-radius:6px;background:#fff}.inspiration-panel>div{overflow:auto;padding:8px 18px 18px}.inspiration-panel section{padding:14px 0;border-bottom:1px solid var(--line)}.inspiration-panel h4{margin:0 0 10px;font-size:15px}.inspiration-panel section>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.inspiration-panel section button{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:760px){.inspiration-panel section>div{grid-template-columns:repeat(2,minmax(0,1fr))}}.inspiration-panel section button{min-height:34px;padding:0 12px;border:1px solid #cfe3df;border-radius:999px;color:#365653;background:#fff}.inspiration-panel section button.is-selected{color:#fff;border-color:#149b99;background:#149b99}.inspiration-all-button{position:absolute;right:18px;bottom:18px;z-index:30;margin:0}.inspiration-mobile-button{display:none}@media(max-width:760px){.inspiration-all-button{display:none}.inspiration-mobile-button{display:inline-flex;width:100%;margin-top:8px}}.agent-chat-shell{width:min(1120px,100%);max-width:min(1120px,100%);contain:inline-size}.agent-composer{width:100%;min-width:0}.agent-composer textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.agent-submit-area>span{flex:0 0 auto;white-space:nowrap;font-variant-numeric:tabular-nums}@media(min-width:761px){.agent-composer-foot{flex-wrap:nowrap}.agent-settings-row{flex:1 1 auto;min-width:0;flex-wrap:nowrap}.agent-setting{min-width:0;flex:1 1 0}.agent-submit-area{flex:0 0 auto;min-width:0}.agent-action-row{flex:0 0 auto;flex-wrap:nowrap}.agent-settings-row .agent-setting:first-child{flex:0 0 168px;width:168px;min-width:168px;max-width:168px}.agent-settings-row .agent-setting:nth-child(2){flex:0 0 118px;width:118px;min-width:118px;max-width:118px}.agent-settings-row .agent-setting:nth-child(3){flex:0 0 92px;width:92px;min-width:92px;max-width:92px}.agent-settings-row .agent-setting:nth-child(4){flex:0 0 132px;width:132px;min-width:132px;max-width:132px}.agent-settings-row .agent-setting:nth-child(5){flex:0 0 168px;width:168px;min-width:168px;max-width:168px}.agent-setting-picker .brand-picker-trigger,.agent-setting-picker .brand-picker-trigger span,.agent-setting-picker .menu-select-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:keep-all}}.agent-chat-shell{border:1px solid #d7e4e1;border-radius:16px;background:#fff;box-shadow:0 10px 28px #172b2e0f}.agent-chat-shell:focus-within{border-color:#8fd0cb;outline:3px solid rgba(21,157,155,.08)}.agent-composer{padding:16px 16px 12px}.agent-composer-head{min-height:0}.agent-composer-head:not(.has-attachment) .agent-upload-copy{display:none}.agent-composer-head:not(.has-attachment) .agent-reference-area{grid-template-columns:auto}.agent-composer-head:not(.has-attachment) .agent-add{width:42px;height:42px;border-radius:10px}.agent-composer textarea{min-height:92px;margin:12px 0 8px;padding:2px 2px 0;font-size:16px;line-height:1.6}.agent-composer-foot{align-items:flex-end;gap:12px;border-top-color:#edf2f1}.agent-settings-row{flex:1 1 auto}.agent-setting{min-width:108px}.agent-setting>span{font-size:12px}.agent-submit-area{flex:0 0 auto;align-items:flex-end}.agent-action-row{display:flex;align-items:center;gap:2px}.agent-text-action{min-height:32px;padding:0 8px;border:0;border-radius:6px;color:#6d7d7e;background:transparent;font-size:13px;white-space:nowrap}.agent-text-action:hover:not(:disabled){color:#087b78;background:#f3faf8}.agent-text-action:disabled{opacity:.45;cursor:not-allowed}.agent-submit{min-height:38px;padding:0 16px;border-radius:8px;font-weight:700}@media(max-width:620px){.agent-composer textarea{min-height:88px;font-size:16px}.agent-action-row{flex-wrap:wrap}}.agent-chat-shell.has-conversation{display:flex;min-height:calc(100vh - 150px);flex-direction:column}.agent-chat-shell.has-conversation .agent-message-list{max-height:none;flex:1 1 auto;padding:22px 22px 12px;background:#f7faf9}.agent-message.user p{color:#fff;background:#159d9b}.agent-message.agent p{background:#fff;border:1px solid #e3eeeb}.agent-message.is-plan p{border-color:#b7dfd9;background:#f3fbf9}.agent-status-line{margin:0;padding:12px 18px;border-bottom:1px solid #e7efed;background:#fff}.agent-chat-shell.has-conversation .agent-confirm-actions{margin-top:auto;padding:12px 18px;border-top:1px solid #e7efed;background:#fff}.agent-chat-shell.has-conversation .agent-composer{background:#fff}.agent-chat-shell.has-conversation .agent-composer{display:flex;flex-direction:column}.agent-chat-shell.has-conversation .agent-composer textarea{order:1;margin-top:0}.agent-chat-shell.has-conversation .agent-composer-head{order:2}.agent-chat-shell.has-conversation .agent-suggestion-rail,.agent-chat-shell.has-conversation .agent-expression-options{order:3}.agent-chat-shell.has-conversation .agent-composer-foot{order:4}.agent-chat-shell.has-conversation .agent-composer-head:not(.has-attachment){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.agent-chat-shell.has-conversation .agent-composer-head.has-attachment{min-height:0;margin:2px 0 8px}.agent-chat-shell.has-conversation .agent-composer-head.has-attachment .agent-upload-copy{display:none}.agent-chat-shell.has-conversation .agent-composer-head.has-attachment .agent-reference-area{grid-template-columns:auto}.agent-chat-shell.has-conversation .agent-composer-head.has-attachment .agent-add,.agent-chat-shell.has-conversation .agent-composer-head.has-attachment .agent-reference-thumb{width:48px;height:48px;flex-basis:48px}.agent-chat-shell.has-conversation .agent-composer-foot{position:relative}.agent-chat-shell.has-conversation .agent-settings-row:before{content:"";width:34px;flex:0 0 34px}.agent-chat-shell.has-conversation .agent-composer-head:not(.has-attachment){position:static;width:auto;height:auto;overflow:visible;clip:auto;order:4}.agent-chat-shell.has-conversation .agent-composer-foot{order:5}.agent-chat-shell.has-conversation .agent-composer-head:not(.has-attachment) .agent-reference-strip{padding:0}.agent-chat-shell.has-conversation .agent-composer{position:relative}.agent-chat-shell.has-conversation .agent-composer-head:not(.has-attachment){position:absolute;left:16px;bottom:14px;z-index:2}.agent-chat-shell.has-conversation .agent-composer-head:not(.has-attachment) .agent-add{width:34px;height:34px;border-radius:8px}.agent-chat-shell.has-conversation .agent-settings-row{padding-left:42px}.agent-expression-add{position:relative;display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border:1px solid #cfe3df;border-radius:8px;color:#087b78;background:#fff;cursor:pointer}.agent-expression-add:hover{border-color:#75c6be;background:#e8f8f6}.agent-expression-add input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.agent-chat-shell.has-conversation .agent-composer-head:not(.has-attachment){display:none}.agent-chat-shell.has-conversation .agent-expression-options,.agent-chat-shell.has-conversation .agent-settings-row{padding-left:0}.agent-chat-shell:not(.has-conversation) .agent-composer-head:not(.has-attachment) .agent-add{display:grid}.agent-expression-picker{display:inline-flex;min-height:34px;align-items:center;gap:6px;padding:0 8px 0 10px;border:1px solid #cfe3df;border-radius:8px;color:#6d7d7e;background:#fff;font-size:13px}.agent-expression-picker select{border:0;outline:0;color:#173332;background:transparent;font-size:13px}.agent-message.is-plan>div{display:grid;max-width:84%;gap:8px}.agent-message.is-plan>div>p{max-width:none}.agent-plan-actions{display:flex;gap:8px}.agent-plan-actions .primary,.agent-plan-actions .secondary{min-height:32px;padding:0 12px;border-radius:7px;font-size:13px}.agent-message-body{display:grid;min-width:0;max-width:min(84%,680px);gap:8px}.agent-message.user .agent-message-body{max-width:min(72%,460px)}.agent-message-body>p{max-width:none}.agent-message.is-plan>div{max-width:none}.agent-message{min-width:0}.agent-message-body{width:max-content;max-width:72%}.agent-message.user .agent-message-body{max-width:72%}.agent-message-body>p{width:auto;max-width:none;overflow-wrap:anywhere}.agent-message-list{display:flex;flex-direction:column;align-items:stretch}.agent-message{display:flex;width:100%}.agent-message-body{display:block;width:fit-content;max-width:78%}.agent-message.agent .agent-message-body{max-width:86%}.agent-message p,.agent-message-body>p,.agent-message.user p,.agent-message.agent p{display:block;width:auto;max-width:none;writing-mode:horizontal-tb}.agent-chat-shell .agent-message-list .agent-message.user .agent-message-body{display:block!important;width:fit-content!important;max-width:78%!important;min-width:0}.agent-chat-shell .agent-message-list .agent-message.agent .agent-message-body{display:block!important;width:fit-content!important;max-width:88%!important}.agent-chat-shell .agent-message-list .agent-message-body>p{display:block!important;width:auto!important;max-width:none!important}.agent-chat-shell.has-conversation .agent-settings-row{display:none}.agent-chat-shell.has-conversation .agent-composer-foot{justify-content:flex-end}.agent-message.is-pending p{color:#6d7d7e;background:transparent;border:0;padding-left:0}.agent-chat-shell.has-conversation .agent-settings-row{display:flex;flex:1 1 auto;gap:6px}.agent-chat-shell.has-conversation .agent-setting{min-width:0;gap:0}.agent-chat-shell.has-conversation .agent-setting>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.agent-chat-shell.has-conversation .agent-setting-picker .brand-picker-trigger{min-height:30px;padding:4px 10px;border:0;border-radius:999px;color:#365653;background:#f3f7f6;font-size:13px}.agent-chat-shell.has-conversation .agent-setting-picker .brand-picker-trigger:hover,.agent-chat-shell.has-conversation .agent-setting-picker.is-open .brand-picker-trigger{background:#e7f5f2;box-shadow:none}.agent-chat-shell.has-conversation .agent-composer-foot{justify-content:space-between;align-items:center}.agent-typing{display:inline-flex!important;width:auto!important;align-items:center;gap:5px;min-height:24px;padding:8px 12px!important}.agent-waiting-label{margin:0 0 4px;color:#55716e;font-size:12px}.agent-typing i{width:6px;height:6px;border-radius:50%;background:#8aa09e;animation:agent-typing 1s infinite ease-in-out}.agent-typing i:nth-child(2){animation-delay:.15s}.agent-typing i:nth-child(3){animation-delay:.3s}@keyframes agent-typing{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.agent-chat-shell.has-conversation .agent-composer textarea{min-height:44px;max-height:160px}.agent-message.is-failed .agent-message-body{display:flex!important;align-items:center;gap:8px}.agent-message.is-failed p{color:#a44942!important;background:#fff6f5!important;border:1px solid #f0c7c3!important}.agent-message.is-failed button{min-height:30px;padding:0 10px;border:0;border-radius:7px;color:#fff;background:#159d9b;font-size:13px}.agent-live-status{flex:0 0 auto;padding-top:0;padding-bottom:8px}.agent-chat-shell.has-conversation .agent-live-status{display:flex!important;flex:0 0 auto;min-height:48px;margin:0;padding:8px 22px;background:#f7faf9}.agent-chat-shell.has-conversation .agent-live-status .agent-typing{display:inline-flex!important;min-width:54px;min-height:28px;border-radius:14px;background:#fff!important;border:1px solid #e3eeeb}.agent-chat-shell.has-conversation .agent-live-status .agent-typing i{display:block;width:6px;height:6px;background:#159d9b}@media(max-width:720px){.agent-chat-shell.has-conversation{min-height:calc(100vh - 92px)}.agent-chat-shell.has-conversation .agent-expression-options{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.agent-chat-shell.has-conversation .agent-expression-options button,.agent-chat-shell.has-conversation .agent-expression-add{flex:0 0 auto}.agent-chat-shell.has-conversation .agent-composer-foot{align-items:stretch;flex-direction:column;gap:8px}.agent-chat-shell.has-conversation .agent-settings-row{width:100%;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.agent-chat-shell.has-conversation .agent-setting{flex:0 0 auto}.agent-chat-shell.has-conversation .agent-submit-area{width:100%;justify-content:space-between}.agent-chat-shell.has-conversation .agent-action-row{min-width:0;overflow-x:auto}.agent-chat-shell.has-conversation .agent-submit{flex:0 0 auto;min-width:88px}.agent-composer textarea{font-size:16px}}@media(max-width:720px){.agent-chat-shell .agent-message-list .agent-message.user .agent-message-body,.agent-chat-shell .agent-message-list .agent-message.agent .agent-message-body{max-width:92%!important}.agent-chat-shell.has-conversation .agent-text-action{min-height:36px;padding:0 10px}}.agent-chat-shell.has-conversation{height:calc(100vh - 120px);min-height:0;overflow:hidden}.agent-chat-shell.has-conversation .agent-message-list{min-height:0;overflow-y:auto}.agent-chat-shell.has-conversation .agent-composer{flex:0 0 auto}@media(max-width:720px){.agent-chat-shell.has-conversation{height:calc(100dvh - 92px)}}.content[data-page=dashboard]:has(.agent-chat-shell.has-conversation){overflow:hidden!important}.content[data-page=dashboard]:has(.agent-chat-shell.has-conversation)>.agent-dashboard{height:100%;min-height:0;overflow:hidden}.agent-dashboard:has(.agent-chat-shell.has-conversation){display:flex;flex-direction:column;height:100%;min-height:0}.agent-chat-shell.has-conversation{flex:1 1 auto;height:auto!important;min-height:0!important}.content[data-page=images] .agent-add{display:grid!important}.agent-chat-shell:not(.has-conversation) .agent-composer-head:not(.has-attachment) .agent-add{display:none!important}.agent-chat-shell.has-conversation .agent-composer-head:not(.has-attachment) .agent-add{display:none!important}.content[data-page=images] .agent-composer-head .agent-add{display:grid!important;width:78px;height:78px}.image-studio .agent-add{display:grid!important;width:78px!important;height:78px!important}.image-studio .agent-upload-copy{display:grid!important}.content[data-page=images] .image-studio .agent-composer-head:not(.has-attachment) .agent-add{display:grid!important;width:78px!important;height:78px!important}.image-upload{position:relative;display:grid!important;width:78px;height:78px;flex:0 0 auto;place-items:center;overflow:hidden;border:1px dashed #b9d6d1;border-radius:8px;color:#6d7d7e;background:#f5faf8;cursor:pointer}.image-upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.agent-reference-restore{margin:0;padding:8px 18px;color:#8a5a16;background:#fff8ec;font-size:13px}.content[data-page=images] .image-upload{display:grid!important}.agent-history-panel div{display:grid;gap:8px}.agent-history-panel div button{min-height:38px;padding:8px 10px;border:1px solid #d7e4e1;border-radius:8px;color:#173332;background:#fff;text-align:left}.agent-credit-hint{color:#6d7d7e;font-size:13px;white-space:nowrap}.task-failure-reason{display:block;max-width:240px;margin-top:6px;color:#a44942;font-size:13px;line-height:1.4;white-space:normal}.task-project-filter{width:490px;min-width:490px;max-width:490px}.task-project-filter .brand-picker-trigger{width:100%}.task-project-filter .menu-select-label{display:block;overflow:hidden;text-overflow:ellipsis}.task-filters{flex-wrap:nowrap}.task-filter-actions{flex:0 0 auto;white-space:nowrap}.agent-stage,.agent-composer,.agent-composer-foot,.agent-settings-row{overflow:visible}.agent-setting-picker.is-open{z-index:160}.agent-chat-shell.has-conversation .agent-composer-foot{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:12px}.agent-chat-shell.has-conversation .agent-settings-row{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:flex-end;min-width:0}.agent-chat-shell.has-conversation .agent-submit-area{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end}.agent-chat-shell.has-conversation .agent-settings-label{display:none}.agent-settings-popover{position:relative;min-width:0}.agent-settings-popover summary{display:flex;align-items:center;gap:8px;min-height:34px;padding:0 10px;border:1px solid #cfe3df;border-radius:7px;background:#fff;cursor:pointer;list-style:none}.agent-settings-popover summary::-webkit-details-marker{display:none}.agent-settings-popover summary span{color:#173332;font-size:14px;font-weight:700}.agent-settings-popover summary small{color:#6d7d7e;font-size:13px;white-space:nowrap}.agent-settings-popover[open] .agent-settings-row{position:absolute;z-index:180;bottom:calc(100% + 8px);left:0;display:grid;width:min(420px,78vw);gap:10px;padding:12px;border:1px solid #c5e0db;border-radius:10px;background:#fff;box-shadow:0 12px 24px #184a4624}.agent-chat-shell:not(.has-conversation) .agent-settings-popover summary{display:none}.agent-chat-shell:not(.has-conversation) .agent-settings-popover .agent-settings-row{position:static;display:flex;width:auto;padding:0;border:0;box-shadow:none}.image-studio .image-model-picker{width:108px;min-width:108px;max-width:108px;flex:0 0 108px}.image-studio .image-model-picker .menu-select-label{white-space:nowrap}.image-studio .agent-settings-row{gap:0;justify-content:flex-start}.image-studio .agent-setting{width:auto;flex:0 0 auto}.image-studio .image-size-picker{width:132px;min-width:132px;max-width:132px;flex:0 0 132px}.image-studio .image-size-picker .brand-picker-menu{position:absolute;top:calc(100% + 6px);bottom:auto;left:0;width:max-content;min-width:132px;max-width:none;max-height:280px;overflow:auto}.image-studio .image-size-picker .menu-select-label,.image-studio .image-size-picker .brand-picker-menu button{white-space:nowrap}.image-studio .image-model-picker .brand-picker-menu{position:absolute;top:calc(100% + 6px);bottom:auto;left:0;width:max-content;min-width:100%;max-width:none}.image-studio .agent-composer-foot{justify-content:space-between;align-items:flex-end;gap:16px}.image-studio .agent-settings-row{width:auto;flex:0 1 auto;gap:0}.image-studio .agent-submit-area{margin-left:auto;flex:0 0 auto}.image-studio .agent-settings-row:before{content:none!important;display:none!important;width:0!important;min-width:0!important;flex:0 0 0!important}@media(max-width:760px){.image-studio .agent-composer-foot{display:grid;grid-template-columns:1fr;align-items:stretch;gap:10px}.image-studio .agent-settings-row{display:grid;grid-template-columns:1fr;width:100%;gap:8px}.image-studio .agent-setting{width:100%;min-width:0}.image-studio .image-model-picker,.image-studio .image-size-picker{width:100%;min-width:0;max-width:none;flex:1 1 auto}.image-studio .agent-setting>span,.image-studio .agent-setting-picker .brand-picker-trigger,.image-studio .agent-setting-picker .brand-picker-menu button{font-size:14px}.image-studio .agent-submit-area{width:100%;margin-left:0}}@media(max-width:760px){.agent-chat-shell:not(.image-studio) .agent-composer-foot{display:grid!important;grid-template-columns:1fr;align-items:stretch;gap:10px}.agent-chat-shell:not(.image-studio) .agent-settings-popover,.agent-chat-shell:not(.image-studio) .agent-settings-popover[open]{width:100%}.agent-chat-shell:not(.image-studio) .agent-settings-popover[open] .agent-settings-row,.agent-chat-shell:not(.image-studio) .agent-settings-row{position:static!important;display:grid!important;grid-template-columns:1fr 1fr;width:100%!important;min-width:0;gap:8px;padding:0!important;overflow:visible!important;border:0;box-shadow:none;background:transparent}.agent-chat-shell:not(.image-studio) .agent-setting:first-child,.agent-chat-shell:not(.image-studio) .agent-setting:nth-child(4){grid-column:1 / -1;width:100%!important;min-width:0!important;max-width:none!important;flex:1 1 auto!important}.agent-chat-shell:not(.image-studio) .agent-setting,.agent-chat-shell:not(.image-studio) .agent-setting-picker{width:100%!important;min-width:0!important;max-width:none!important}.agent-chat-shell:not(.image-studio) .agent-action-row{display:flex!important;grid-template-columns:none;width:100%;gap:8px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}.agent-chat-shell:not(.image-studio) .agent-action-row::-webkit-scrollbar{display:none}.agent-chat-shell:not(.image-studio) .agent-action-row button{flex:0 0 auto;width:auto!important}.agent-chat-shell:not(.image-studio) .agent-submit-area{display:grid!important;width:100%;margin-left:0;justify-content:stretch}.agent-chat-shell:not(.image-studio) .agent-submit{width:100%}}@media(max-width:760px){html.mobile-typing .agent-page-head,html.mobile-typing .agent-settings-popover,html.mobile-typing .agent-action-row,html.mobile-typing .inspiration-danmaku,html.mobile-typing .inspiration-all-button,html.mobile-typing .inspiration-mobile-button{display:none!important}html.mobile-typing .content{display:flex;align-items:flex-end;overflow-y:auto}html.mobile-typing .agent-dashboard{width:100%;margin:0!important;padding-bottom:8px}html.mobile-typing .agent-composer textarea{min-height:72px}html.mobile-typing .agent-submit-area,html.mobile-typing .agent-submit{width:100%}}@media(max-width:760px){.content[data-page=result]{overflow-x:hidden}.content[data-page=result] .result-page,.content[data-page=result] .result-workspace,.content[data-page=result] .wait-card,.content[data-page=result] .result-inspector{width:100%;min-width:0;max-width:100%}.content[data-page=result] .result-head,.content[data-page=result] .result-head-actions,.content[data-page=result] .wait-card-head{display:grid;grid-template-columns:1fr;align-items:stretch}.content[data-page=result] .result-head-actions button,.content[data-page=result] .result-head-actions a,.content[data-page=result] .agent-run-actions button{width:100%}.content[data-page=result] .result-inspector dl>div{grid-template-columns:72px minmax(0,1fr)}.content[data-page=result] .result-inspector dd,.content[data-page=result] h2,.content[data-page=result] p{overflow-wrap:anywhere}}.image-studio .agent-settings-row{display:flex!important;grid-template-columns:none!important;width:auto!important;flex:0 0 auto!important;flex-wrap:nowrap!important;gap:4px!important;justify-content:flex-start!important}.image-studio .agent-setting{width:auto!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important}.image-studio .image-model-picker{width:108px!important;min-width:108px!important;max-width:108px!important;flex:0 0 108px!important}.image-studio .image-size-picker{width:132px!important;min-width:132px!important;max-width:132px!important;flex:0 0 132px!important}.admin-inline-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:280px}.admin-inline-actions .secondary{min-height:30px;padding:0 8px;font-size:14px}.admin-credit-adjust{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:280px}.admin-credit-adjust input{min-height:32px;width:110px;padding:0 8px;border:1px solid var(--line);border-radius:5px}.admin-credit-adjust small{color:#087b78}.admin-user-table .admin-inline-actions{max-height:72px;overflow:auto}.topup-status+small,.audit-status+small{display:block;max-width:280px;margin-top:4px;color:var(--muted);white-space:normal}.admin-page .admin-table{table-layout:auto;min-width:920px}.admin-page .admin-table th,.admin-page .admin-table td{height:auto;white-space:normal;vertical-align:top;line-height:1.45}.admin-page .admin-table th:first-child,.admin-page .admin-table th:nth-child(2),.admin-page .admin-table th:nth-child(3),.admin-page .admin-table th:nth-child(4),.admin-page .admin-table th:nth-child(5),.admin-page .admin-table th:nth-child(6),.admin-page .admin-table th:last-child{width:auto}.admin-page .admin-table td:last-child{position:sticky;right:0;background:var(--surface)}.admin-page .admin-table small{display:block;max-width:360px;white-space:normal}.admin-user-table .admin-inline-actions{max-height:none;overflow:visible}.admin-filter-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.admin-filter-chips button{min-height:32px;padding:0 12px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--surface);font-size:14px;cursor:pointer}.admin-filter-chips button.active{border-color:var(--accent);color:var(--accent-dark,#149b99);background:color-mix(in srgb,var(--accent) 8%,var(--surface));font-weight:700}.admin-filter-sep{width:1px;height:20px;margin:0 4px;background:var(--line)}.admin-user-link{padding:0;border:0;color:var(--text);background:transparent;font:inherit;font-weight:700;text-align:left;cursor:pointer}.admin-user-link:hover{color:var(--accent-dark,#149b99);text-decoration:underline}.content[data-page=admin-credits] .topup-status.payment_requested{color:#775d13;background:#fff5d7}.content[data-page=admin-credits] .topup-status.paid_pending_sync{color:#6854a4;background:#f1edfb}.content[data-page=admin-credits] .topup-status.failed{color:#a44942;background:#fff0ee}.content[data-page=admin-credits] .topup-status.expired{color:#776b55;background:#f3f0e9}.content[data-page=admin-credits] .topup-upstream-ok{color:#087b78}.content[data-page=admin-credits] .topup-upstream-warn{color:#a44942}.admin-user-detail .agent-form-section h4{font-size:15px}.admin-detail-grid{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px 12px;margin:0;font-size:15px}.admin-detail-grid dt{color:var(--muted)}.admin-detail-grid dd{margin:0;min-width:0;overflow-wrap:anywhere}.admin-mono{font:14px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--muted)}.admin-user-detail .admin-table-wrap{max-height:52vh;overflow:auto}.admin-user-detail .admin-table{min-width:640px;font-size:14px}.admin-user-detail .admin-table th,.admin-user-detail .admin-table td{padding:9px 11px}.admin-user-detail .admin-table td:last-child{position:static}.admin-user-detail .admin-credit-tabs{width:100%}.admin-user-detail .admin-credit-tabs button{flex:1;justify-content:center;min-width:0;padding:0 9px;font-size:13px}.account-password-panel{display:grid;gap:14px;padding:22px 24px}.account-password-panel h2,.account-password-panel p{margin:0}.account-password-panel p{color:var(--muted);font-size:14px;line-height:1.5}.account-password-panel form{display:grid;gap:12px;max-width:430px}.account-password-panel label{display:grid;gap:6px;font-size:14px}.account-password-panel input{width:100%;min-height:42px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text)}.account-password-panel button{justify-self:start;min-height:40px}.account-password-panel [role=status]{color:var(--accent-dark, #087b78)}.migration-overlay{z-index:110}.migration-panel{width:min(520px,calc(100% - 28px));max-height:90vh;overflow:auto}.migration-panel form{display:grid;gap:12px}.migration-panel p{line-height:1.6}.migration-panel label{display:grid;gap:5px}.migration-panel input,.account-reset-result input{width:100%;min-height:42px;padding:8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text)}.account-reset-result{padding:20px;margin:12px 0;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.account-reset-result div{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
