:root{--bg:#e8f5f6;--surface:#fff;--text:#14151c;--muted:#6b6f7b;--faint:#9a9fad;--line:#0c0f180f;--line-strong:#0c0f181c;--black:#060710;--accent:#7c4dff;--accent-soft:#f3edff;--green:#10b981;--shadow-sm:0 1px 3px #0c0f180a;--shadow:0 6px 24px #0c0f181a;--shadow-lg:0 16px 48px #0c0f181a;--sidebar-w:248px;--sidebar-collapsed-w:64px;--radius:14px;--radius-lg:20px;--radius-xl:26px;--transition:.3s cubic-bezier(.4, 0, .2, 1)}*{box-sizing:border-box;margin:0;padding:0}html{height:100%}body{color:var(--text);-webkit-font-smoothing:antialiased;background:#e8f5f6;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,system-ui,sans-serif}.site-footer{z-index:2;color:#7d8390;text-align:center;background:#fff6;padding:14px 16px 20px;font-size:12px;line-height:1.5;position:relative}body:has(.director-agent-workspace){flex-direction:column;min-height:100dvh;display:flex}body:has(.director-agent-workspace)>.site-footer{flex:none}.bg-decor{z-index:0;pointer-events:none;background:linear-gradient(135deg,#e8f9f7fa 0%,#eef3fff5 43%,#daf3f7f0 100%),linear-gradient(90deg,#0f766e1a,#0000 34%,#7c4dff24);position:fixed;inset:0;overflow:hidden}.bg-sweep{border-top:1px solid #14223614;border-bottom:1px solid #ffffffb8;height:34vh;position:absolute;left:-12vw;right:-12vw;transform:rotate(-8deg)}.sweep-one{background:linear-gradient(90deg,#0f766e33,#7c4dff2e,#14b8a62e,#0000);top:8vh}.sweep-two{background:linear-gradient(90deg,#0000,#0f172a1a,#38bdf829,#ffffff47);top:42vh}.sweep-three{background:linear-gradient(90deg,#ffffff3d,#11182714,#7c4dff29);bottom:-16vh}.bg-dots{opacity:.32;background-image:radial-gradient(circle,#0c0f1817 1px,#0000 1px);background-size:32px 32px;position:absolute;inset:0}.bg-lines{opacity:.42;background:linear-gradient(90deg,#0c0f1809 0 1px,#0000 1px 96px),linear-gradient(0deg,#0c0f1806 0 1px,#0000 1px 96px);position:absolute;inset:0}button,textarea,input{font:inherit}button{cursor:pointer;background:0 0;border:0}textarea{resize:none;border:0;outline:none}.app-shell{z-index:1;grid-template-columns:var(--sidebar-w) minmax(0, 1fr);min-height:100vh;display:grid;position:relative}.app-shell.sidebar-collapsed{grid-template-columns:var(--sidebar-collapsed-w) minmax(0, 1fr)}.sidebar{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);height:100vh;transition:all var(--transition);z-index:10;background:#ffffffd6;border:1px solid #ffffffe0;border-radius:20px;flex-direction:column;margin:8px 0 8px 8px;padding:16px 14px 14px;display:flex;position:sticky;top:0;overflow:hidden;box-shadow:6px 0 36px #0c0f180a}.app-shell.sidebar-collapsed .sidebar{margin:8px 0 8px 8px;padding:12px 8px}.brand-row{transition:all var(--transition);grid-template-columns:34px 1fr auto;align-items:center;gap:8px;padding:2px 6px 18px;display:grid}.app-shell.sidebar-collapsed .brand-row{grid-template-columns:1fr;justify-items:center;padding:0 0 18px}.brand-mark{color:#fff;cursor:pointer;background:linear-gradient(135deg,#0a0a16,#3d2b7a);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:18px;font-weight:900;transition:transform .2s;display:inline-flex;box-shadow:0 8px 20px #26125433}.brand-mark:hover{transform:scale(1.05)}.brand-text{white-space:nowrap;overflow:hidden}.app-shell.sidebar-collapsed .brand-text{display:none}.brand-name{font-size:18px;font-weight:900;line-height:1.15}.brand-sub{color:var(--muted);margin-top:1px;font-size:10px}.sidebar-toggle{color:#565a66;background:#0000000a;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;transition:all .2s;display:flex}.sidebar-toggle:hover{color:#14151c;background:#00000017}.sidebar-toggle svg{transition:transform .3s}.sidebar-toggle.rotated svg{transform:rotate(180deg)}.app-shell.sidebar-collapsed .sidebar-toggle{background:#0000000f;border-radius:12px;width:40px;height:40px;margin:0 auto}.side-nav{gap:4px;display:grid}.app-shell.sidebar-collapsed .side-nav{gap:8px}.side-item{color:#282a35;border-radius:14px;align-items:center;gap:10px;height:46px;padding:0 12px;font-size:14px;font-weight:700;transition:all .15s;display:flex}.app-shell.sidebar-collapsed .side-item{border-radius:12px;justify-content:center;height:44px;padding:0}.side-label{white-space:nowrap}.app-shell.sidebar-collapsed .side-label{display:none}.side-item:hover,.side-item.active{background:#0000000e}.side-item:active{transform:scale(.97)}.side-icon{color:#17171d;background:0 0;border:2px solid #17171d;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;font-size:11px;transition:all .2s;display:inline-flex}.side-item.active .side-icon{color:#fff;background:#0e0e18;border-color:#0e0e18}.history-head{color:var(--faint);justify-content:space-between;align-items:center;padding:22px 4px 8px;font-size:12px;font-weight:700;display:flex}.app-shell.sidebar-collapsed .history-head{display:none}.clear-all-btn{color:#9ba0ab;border-radius:6px;padding:3px 7px;font-size:11px}.clear-all-btn:hover{color:#e34040;background:#e340400f}.history-list{gap:4px;display:grid}.app-shell.sidebar-collapsed .history-list{display:none}.history-item{cursor:pointer;color:#1e2029;border-radius:12px;grid-template-columns:28px minmax(0,1fr) 24px;align-items:center;gap:8px;min-width:0;padding:6px 4px 6px 8px;font-size:13px;font-weight:600;display:grid;position:relative}.history-item:hover{background:#00000009}.history-thumb{background:linear-gradient(135deg,#00000008,#00000003),#edf0f3;border-radius:8px;flex-shrink:0;width:28px;height:28px;position:relative}.history-thumb:after{content:"";background:#d0d5db;border-radius:3px;width:12px;height:8px;position:absolute;top:10px;left:8px}.history-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding-right:2px;font-size:12px;overflow:hidden}.history-delete{color:#999;opacity:.72;cursor:pointer;z-index:2;background:#0000000a;border-radius:50%;justify-content:center;justify-self:end;align-items:center;width:22px;height:22px;font-size:13px;font-weight:800;line-height:1;transition:all .15s;display:flex}.history-item:hover .history-delete{opacity:1}.history-delete:hover{color:#c0392b;background:#ffe8e8}.sidebar-footer{margin-top:auto}.app-shell.sidebar-collapsed .sidebar-footer{display:none}.quota-card{border:1px solid var(--line);background:#ffffffb3;border-radius:14px;justify-content:space-between;align-items:center;padding:11px;display:flex}.quota-card strong{font-size:19px;line-height:1;display:block}.quota-card span{color:var(--muted);font-size:11px}.quota-card button{color:#23242b;height:30px;box-shadow:var(--shadow-sm);background:#fff;border:1px solid #0000000d;border-radius:999px;padding:0 11px;font-size:12px;font-weight:700}.main{flex-direction:column;align-items:center;min-width:0;padding:10px 32px 56px;display:flex}.topbar{justify-content:flex-end;align-items:center;gap:10px;width:100%;max-width:900px;height:52px;display:flex}.top-actions{align-items:center;gap:8px;display:flex}.enterprise-api-top{color:#fff;background:#101d52;border:1px solid #5390ffb3;border-radius:999px;height:34px;padding:0 14px;font-size:13px;font-weight:800;box-shadow:0 7px 16px #1a367b2e}.enterprise-api-top:hover{background:#182a72}.top-actions .primary-soft{color:#5b3fd4;height:34px;box-shadow:var(--shadow-sm);background:#ffffffb3;border:1px solid #ffffffbf;border-radius:999px;padding:0 14px;font-size:13px;font-weight:700}.invite-top-btn{color:#fff;background:linear-gradient(135deg,#0f766e,#5b3fd4);border:1px solid #ffffffbf;border-radius:999px;height:34px;padding:0 14px;font-size:13px;font-weight:800;box-shadow:0 10px 26px #0f766e38}.invite-top-btn:hover{background:linear-gradient(135deg,#0d9488,#6d58dd)}.avatar{color:#fff;cursor:pointer;background:linear-gradient(135deg,#0a0a16,#3d2b7a);border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;font-size:14px;font-weight:900;display:inline-flex}.profile-entry{display:inline-flex;position:relative}.profile-entry .avatar{border-radius:10px;width:36px;height:36px;box-shadow:0 10px 24px #2612542e}.profile-hover-card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);opacity:0;visibility:hidden;z-index:40;background:#fffffff0;border:1px solid #ffffffd9;border-radius:18px;width:286px;padding:14px;transition:opacity .16s,transform .16s,visibility .16s;position:absolute;top:calc(100% + 10px);right:-10px;transform:translateY(-6px);box-shadow:0 24px 60px #0c0f1826}.profile-entry:hover .profile-hover-card,.profile-entry:focus-within .profile-hover-card{opacity:1;visibility:visible;transform:translateY(0)}.profile-hover-card:before{content:"";width:120px;height:16px;position:absolute;top:-16px;right:0}.profile-hover-head{align-items:center;gap:10px;display:flex}.profile-hover-avatar{color:#fff;background:linear-gradient(135deg,#10111d,#6d58dd);border-radius:14px;justify-content:center;align-items:center;width:44px;height:44px;font-size:18px;font-weight:900;display:inline-flex;box-shadow:0 12px 28px #4c34a838}.profile-hover-head strong,.profile-hover-head em{text-overflow:ellipsis;white-space:nowrap;max-width:196px;font-style:normal;display:block;overflow:hidden}.profile-hover-head strong{color:#14151c;font-size:15px;font-weight:900}.profile-hover-head em{color:#777d8c;margin-top:2px;font-size:12px;font-weight:650}.profile-hover-grid{grid-template-columns:1fr 1fr;gap:8px;margin:14px 0;display:grid}.profile-hover-grid span{background:#f6f7fb;border:1px solid #0c0f180d;border-radius:12px;min-width:0;padding:10px}.profile-hover-grid strong,.profile-hover-grid em{text-overflow:ellipsis;white-space:nowrap;font-style:normal;display:block;overflow:hidden}.profile-hover-grid strong{color:#171923;font-size:15px;font-weight:900}.profile-hover-grid em{color:#858b98;margin-top:2px;font-size:11px;font-weight:750}.profile-hover-card>button{color:#fff;background:#0c0d16;border-radius:12px;width:100%;height:38px;font-size:13px;font-weight:850}.profile-hover-card>button:hover{background:var(--accent)}.top-logout{color:#5a6070;background:#ffffffb8;border:1px solid #0000000f;border-radius:999px;height:30px;padding:0 10px;font-size:12px;font-weight:800}.auth-loading{color:#171820;background:#f6f7fb;align-content:center;place-items:center;gap:12px;min-height:100vh;display:grid}.auth-loading strong{font-size:15px}.profile-page{background:radial-gradient(circle at 12% 18%,#7c4dff1c,#0000 28%),radial-gradient(circle at 88% 16%,#10b9811a,#0000 26%),radial-gradient(circle at 56% 92%,#3b82f614,#0000 30%),#f6f7fb;min-height:100vh;padding:26px}.profile-shell{width:min(1160px,100%);margin:0 auto}.profile-top{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.profile-top button{color:#303441;height:38px;box-shadow:var(--shadow-sm);background:#ffffffd1;border:1px solid #ffffffe6;border-radius:999px;padding:0 14px;font-size:13px;font-weight:850}.profile-hero,.profile-panel,.profile-stats>div{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffe0;border:1px solid #ffffffe6;box-shadow:0 18px 54px #0c0f1814}.profile-hero{border-radius:26px;justify-content:space-between;align-items:center;gap:18px;min-height:190px;padding:28px;display:flex}.profile-identity{align-items:center;gap:18px;min-width:0;display:flex}.profile-identity>span{color:#fff;background:linear-gradient(135deg,#0c0d16,#6d58dd);border-radius:22px;flex:none;justify-content:center;align-items:center;width:78px;height:78px;font-size:34px;font-weight:950;display:inline-flex;box-shadow:0 18px 38px #4630a038}.profile-identity em,.profile-identity p{color:#737987;font-style:normal;font-weight:750}.profile-identity em{color:#08734f;background:#edf7f2;border-radius:999px;padding:5px 10px;font-size:12px;display:inline-flex}.profile-identity h1{letter-spacing:0;margin-top:10px;font-size:clamp(30px,4vw,48px);line-height:1}.profile-identity p{text-overflow:ellipsis;white-space:nowrap;max-width:520px;margin-top:8px;overflow:hidden}.profile-balance{color:#fff;text-align:left;background:#11131d;border-radius:20px;min-width:210px;padding:20px}.profile-balance span{color:#ffffffad;font-size:12px;font-weight:800}.profile-balance strong{margin:8px 0 14px;font-size:42px;line-height:1;display:block}.profile-balance button{color:#11131d;background:#fff;border-radius:999px;width:100%;height:38px;font-size:13px;font-weight:900}.profile-alert{color:#946200;background:#fff5df;border-radius:14px;margin-top:14px;padding:12px 14px;font-size:13px;font-weight:750}.profile-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.profile-stats>div{border-radius:18px;min-width:0;padding:18px}.profile-stats span,.profile-stats em{color:#77808f;font-size:12px;font-style:normal;font-weight:800;display:block}.profile-stats strong{text-overflow:ellipsis;color:#151720;margin:10px 0 8px;font-size:30px;font-weight:950;line-height:1;display:block;overflow:hidden}.profile-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-top:14px;display:grid}.profile-panel{border-radius:22px;min-width:0;padding:20px}.profile-panel-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.profile-panel-head h2{font-size:18px;line-height:1.2}.profile-panel-head p{color:#7c828f;max-width:360px;font-size:12px;font-weight:650}.profile-info-list{gap:10px;display:grid}.profile-info-list div{background:#f7f8fb;border:1px solid #0c0f180a;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.profile-info-list span{color:#777e8c;font-size:12px;font-weight:800}.profile-info-list strong{text-overflow:ellipsis;white-space:nowrap;color:#171923;min-width:0;font-size:13px;font-weight:850;overflow:hidden}.profile-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.profile-actions button{color:#191b24;background:#f7f8fb;border:1px solid #0c0f180d;border-radius:16px;min-height:74px;padding:14px;font-size:14px;font-weight:900}.profile-actions button:hover{color:#fff;background:#11131d}.profile-table-wrap{max-height:360px;overflow:auto}.profile-table{border-collapse:collapse;width:100%;font-size:12px}.profile-table th,.profile-table td{text-align:left;color:#383c48;border-bottom:1px solid #0c0f180f;padding:10px 8px}.profile-table th{color:#848b99;white-space:nowrap;font-weight:900}.profile-table td{text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-weight:650;overflow:hidden}.profile-table .plus{color:#08875a;font-weight:900}.profile-table .minus{color:#d04545;font-weight:900}.profile-task-list{gap:10px;display:grid}.profile-task,.profile-empty{background:#f7f8fb;border:1px solid #0c0f180a;border-radius:14px;min-width:0;padding:12px}.profile-task{gap:7px;display:grid}.profile-task-status{color:#626a78;background:#eef1f6;border-radius:999px;width:fit-content;padding:3px 8px;font-size:11px;font-weight:900}.profile-task-status.done{color:#2d7a18;background:#e8f8df}.profile-task-status.failed{color:#c0392b;background:#ffe8e8}.profile-task-status.processing,.profile-task-status.queued{color:#3559c7;background:#edf2ff}.profile-task strong{text-overflow:ellipsis;white-space:nowrap;color:#161820;font-size:13px;overflow:hidden}.profile-task em,.profile-empty{color:#7d8492;font-size:12px;font-style:normal;font-weight:700}.profile-task-video{background:#111522;border-radius:10px;width:100%;max-height:220px;display:block}.profile-loading{color:#171820;align-content:center;place-items:center;gap:12px;min-height:calc(100vh - 52px);display:grid}.login-page{background:radial-gradient(circle at 18% 22%,#7c4dff1a,#0000 30%),radial-gradient(circle at 84% 16%,#10b9811a,#0000 28%),linear-gradient(#f8f9fc,#eef1f6);place-items:center;min-height:100vh;padding:28px;display:grid}.login-shell{grid-template-columns:minmax(0,1fr) 440px;align-items:stretch;gap:18px;width:min(1120px,100%);display:grid}.login-brand-panel,.login-card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffdb;border:1px solid #ffffffe6;border-radius:24px;box-shadow:0 22px 64px #0c0f181a}.login-brand-panel{flex-direction:column;justify-content:space-between;min-height:620px;padding:36px;display:flex}.login-kicker{color:#08734f;background:#eef7f2;border-radius:999px;width:fit-content;padding:5px 10px;font-size:12px;font-weight:900}.login-brand-panel h1{color:#11131b;letter-spacing:0;max-width:620px;margin-top:90px;font-size:clamp(34px,5vw,58px);line-height:1.05}.login-brand-panel p{color:#626a78;max-width:560px;margin-top:18px;font-size:15px;line-height:1.8}.login-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:40px;display:grid}.login-metrics div{background:#fff;border:1px solid #e9ecf2;border-radius:16px;padding:16px}.login-metrics strong{font-size:24px;display:block}.login-metrics span{color:#6b7280;font-size:12px;font-weight:750}.login-card{padding:24px}.login-role-switch,.login-auth-tabs{background:#eef0f4;border-radius:999px;padding:4px;display:flex}.login-role-switch button,.login-auth-tabs button{color:#5b6370;border-radius:999px;flex:1;height:38px;font-size:13px;font-weight:900}.login-role-switch button.active,.login-auth-tabs button.active{color:#11131b;background:#fff;box-shadow:0 4px 14px #0c0f181a}.login-card-head{padding:24px 2px 18px}.login-card-head h2{font-size:26px;line-height:1.2}.login-card-head p,.login-footnote{color:#69707d;margin-top:8px;font-size:13px;line-height:1.7}.login-auth-tabs{margin-bottom:18px}.login-form{gap:12px;display:grid}.login-form label{color:#505866;gap:7px;font-size:12px;font-weight:900;display:grid}.login-form input{color:#151720;background:#fff;border:1px solid #dfe3eb;border-radius:13px;outline:none;height:44px;padding:0 13px}.login-form input:focus{border-color:#7c4dff;box-shadow:0 0 0 4px #7c4dff14}.login-two{grid-template-columns:1fr 1fr;gap:10px;display:grid}.login-message{color:#b42318;background:#fff1f1;border-radius:12px;margin-top:12px;padding:10px 12px;font-size:13px;font-weight:750}.login-submit{color:#fff;background:#090a10;border-radius:15px;width:100%;height:46px;margin-top:16px;font-size:15px;font-weight:900}.login-submit:disabled{opacity:.55;cursor:default}.login-forgot{color:#6346d8;justify-self:start;padding:2px 0;font-size:13px;font-weight:850}.login-forgot:hover{text-decoration:underline}.login-password-help{color:#39314f;text-align:center;background:#faf8ff;border:1px solid #ddd5ff;border-radius:14px;justify-items:center;gap:8px;margin-top:14px;padding:14px;display:grid}.login-password-help strong{font-size:14px}.login-password-help p{color:#6a637c;margin:0;font-size:12px;line-height:1.65}.login-password-help img{background:#fff;border-radius:8px;width:144px;height:144px}.profile-password-form{gap:10px;display:grid}.profile-password-form label{color:#5d6573;gap:6px;font-size:12px;font-weight:800;display:grid}.profile-password-form input{background:#fff;border:1px solid #dfe3eb;border-radius:11px;width:100%;height:42px;padding:0 12px}.profile-password-form button{color:#fff;background:#17151d;border-radius:11px;min-height:42px;margin-top:4px;font-weight:850}.profile-password-form button:disabled{opacity:.6}.haizhu-page{color:#172337;background:#f6f8fc;min-height:100vh;padding:22px 18px 104px;overflow-x:clip}.haizhu-hero{text-align:center;max-width:680px;margin:0 auto;padding:42px 0 20px}.haizhu-kicker,.haizhu-checkout section>span,.haizhu-success section>span{color:#2852a1;background:#e9f0ff;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:850;display:inline-block}.haizhu-hero h1{letter-spacing:-.045em;margin:17px 0 12px;font-size:clamp(32px,9vw,62px);line-height:1.12}.haizhu-hero>p{color:#67758a;margin:0 auto 24px;font-size:16px;line-height:1.7}.haizhu-price-card{text-align:left;background:#fff;border:1px solid #dce5f3;border-radius:24px;gap:12px;padding:25px;display:grid;box-shadow:0 16px 45px #2543741f}.haizhu-price-card>span{color:#53647e;font-size:14px;font-weight:800}.haizhu-price-card strong{color:#1e57d5;font-size:45px;line-height:1}.haizhu-price-card small{color:#53647e;font-size:15px}.haizhu-price-card em{color:#de5c1f;margin-bottom:4px;font-size:13px;font-style:normal;font-weight:800}.haizhu-price-card b{color:#2f415d;font-size:14px;line-height:1.55}.haizhu-price-card button,.haizhu-sticky button,.haizhu-primary,.haizhu-checkout button{color:#fff;background:#195bda;border-radius:14px;min-height:48px;font-size:15px;font-weight:900;box-shadow:0 9px 20px #195bda40}.haizhu-price-card button{margin-top:8px}.haizhu-price-card button:hover,.haizhu-sticky button:hover,.haizhu-primary:hover,.haizhu-checkout button:hover{background:#104bbd}.haizhu-section{width:min(960px,100%);margin:48px auto 0}.haizhu-section h2{letter-spacing:-.03em;margin-bottom:17px;font-size:clamp(23px,5.5vw,32px)}.haizhu-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.haizhu-cards article,.haizhu-two article{background:#fff;border:1px solid #e2e8f2;border-radius:18px;padding:19px}.haizhu-cards strong,.haizhu-two h2{font-size:17px}.haizhu-cards p,.haizhu-two p{color:#65748a;margin:9px 0 0;font-size:14px;line-height:1.75}.haizhu-flow{text-align:center}.haizhu-flow>div{justify-items:center;gap:8px;display:grid}.haizhu-flow b{color:#fff;background:#1d59cc;border-radius:50%;place-items:center;width:34px;height:34px;font-size:12px;display:grid}.haizhu-flow span{font-weight:800}.haizhu-flow i{color:#8da0be;margin:3px 0;font-style:normal}.haizhu-flow>p{color:#1a55c4;margin-top:22px;font-size:17px;font-weight:900}.haizhu-two{grid-template-columns:1fr 1fr;gap:14px;display:grid}.haizhu-sticky{z-index:20;padding:12px max(18px, env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-right));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border-top:1px solid #e4eaf2;justify-content:space-between;align-items:center;gap:15px;display:flex;position:fixed;bottom:0;left:0;right:0}.haizhu-sticky span{color:#596982;font-size:13px;font-weight:800}.haizhu-sticky b{color:#195bda;font-size:23px}.haizhu-sticky button{min-width:190px;padding:0 18px}.haizhu-dialog{z-index:50;background:#0c19307a;place-items:end center;padding:14px;display:grid;position:fixed;inset:0}.haizhu-dialog section{background:#fff;border-radius:23px;gap:13px;width:min(480px,100%);padding:27px 20px 22px;display:grid;position:relative}.haizhu-dialog section>span{color:#2454a7;font-size:12px;font-weight:900}.haizhu-dialog h2{margin:0;font-size:24px}.haizhu-dialog p{color:#68778d;margin:0;font-size:13px;line-height:1.65}.haizhu-dialog label{color:#43536a;gap:6px;font-size:12px;font-weight:850;display:grid}.haizhu-dialog input{border:1px solid #d7e0ed;border-radius:12px;width:100%;height:46px;padding:0 12px}.haizhu-close{color:#627188;border-radius:50%;width:34px;height:34px;font-size:25px;position:absolute;top:11px;right:13px}.haizhu-error{color:#be392f;background:#fff1f0;border-radius:10px;padding:10px;font-size:13px}.haizhu-checkout,.haizhu-success{background:linear-gradient(145deg,#eff5ff,#f8fafc);place-items:center;min-height:100vh;padding:22px;display:grid}.haizhu-checkout>section,.haizhu-success>section{background:#fff;border-radius:26px;width:min(560px,100%);padding:clamp(24px,7vw,50px);box-shadow:0 22px 60px #2a436b21}.haizhu-checkout h1,.haizhu-success h1{letter-spacing:-.04em;margin:14px 0 8px;font-size:clamp(30px,8vw,48px)}.haizhu-checkout h2,.haizhu-success h2{color:#43546b;font-size:17px;font-weight:750}.haizhu-checkout>section>strong{color:#1c59d2;margin:26px 0 20px;font-size:53px;display:block}.haizhu-checkout li,.haizhu-checkout p,.haizhu-success>section>p{color:#627288;line-height:1.75}.haizhu-checkout ul{gap:7px;padding-left:20px;display:grid}.haizhu-checkout button{width:100%;margin-top:18px}.haizhu-success section{text-align:center}.haizhu-success section>i{color:#fff;background:#1aa36a;border-radius:50%;place-items:center;width:68px;height:68px;margin:0 auto 16px;font-size:37px;font-style:normal;display:grid}.haizhu-contact{text-align:left;background:#f4f8ff;border-radius:18px;align-items:center;gap:17px;margin-top:25px;padding:16px;display:flex}.haizhu-contact img{border-radius:8px;flex:none}.haizhu-contact strong{color:#234f9f;display:block}.haizhu-contact p{color:#637287;margin:8px 0 0;font-size:13px;line-height:1.6}.haizhu-password-once{text-align:left;background:#fff9e8;border:1px solid #ffd98d;border-radius:17px;margin-top:20px;padding:18px}.haizhu-password-once strong{color:#875504}.haizhu-password-once p{color:#735e36;margin:8px 0;font-size:13px;line-height:1.6}.haizhu-password-once code{color:#fff;letter-spacing:.06em;background:#283349;border-radius:9px;padding:10px;font-size:17px;font-weight:850;display:block}@media (min-width:700px){.haizhu-dialog{place-items:center}.haizhu-hero{padding-top:68px}.haizhu-price-card{max-width:530px;margin:0 auto}.haizhu-flow>div{text-align:left;grid-template-columns:44px 1fr 44px;place-items:center start;max-width:480px;margin:0 auto}.haizhu-flow>div i{grid-column:2;justify-self:start;margin-left:10px;transform:rotate(-90deg)}.haizhu-flow>div:last-of-type i{display:none}}@media (max-width:420px){.haizhu-page{padding-left:14px;padding-right:14px}.haizhu-cards,.haizhu-two{grid-template-columns:1fr}.haizhu-sticky button{min-width:0}.haizhu-contact{align-items:flex-start}.haizhu-contact img{width:116px;height:116px}}.haizhu-temporary-password{color:#fff;letter-spacing:.06em;overflow-wrap:anywhere;background:#27334a;border-radius:11px;padding:13px;font-size:18px;font-weight:900;display:block}.login-required-modal{z-index:1000;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#171c2b52;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.login-required-panel{color:#252432;background:#fffffff0;border:1px solid #8d8cbe33;border-radius:24px;width:min(400px,100%);padding:30px;box-shadow:0 24px 80px #26264833}.login-required-kicker{letter-spacing:.12em;color:#796bd3;font-size:11px;font-weight:800}.login-required-panel h2{margin:10px 0 8px;font-size:23px}.login-required-panel p{color:#73717d;margin:0;line-height:1.65}.login-required-panel>div{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.login-required-panel button{color:#494754;cursor:pointer;background:#f0eff5;border:0;border-radius:12px;padding:10px 16px;font-weight:700}.login-required-panel button.primary{color:#fff;background:#6253c7}.hero-area{flex-direction:column;align-items:center;width:100%;max-width:900px;padding:32px 0 44px;display:flex}.hero-title{color:#151720;letter-spacing:-.4px;text-align:center;margin-bottom:16px;font-size:clamp(24px,2.8vw,34px);font-weight:550}.agent-switch{background:#fffc;border-radius:999px;margin-bottom:18px;padding:4px;display:inline-flex;box-shadow:0 4px 18px #0c0f181a}.agent-switch button{color:#3a3d4a;background:0 0;border-radius:999px;min-width:116px;height:40px;font-size:14px;font-weight:750;transition:all .18s}.agent-switch button.active{color:#fff;background:#080811}.ecommerce-page{color:#181725;background:radial-gradient(circle at 76% 8%,#c1b1ff6b,#0000 26%),radial-gradient(circle at 16% 32%,#e0d9ffb3,#0000 30%),#f8f7fc;min-height:100vh;padding:22px clamp(18px,5vw,74px) 80px}.director-agent-page{color:#292238;background:radial-gradient(circle at 80% 0,#a78cff38,#0000 28%),#f8f7fc;min-height:100vh;padding:26px max(22px,50vw - 600px)}.director-agent-page>header{max-width:760px;padding:25px 0}.director-agent-page>header>a{color:#7154c7;font-size:13px;font-weight:800}.director-agent-page>header>span{color:#8669d3;letter-spacing:.16em;margin-top:30px;font-size:10px;font-weight:900;display:block}.director-agent-page h1{letter-spacing:-.06em;margin:8px 0;font-size:46px}.director-agent-page>header p{color:#756d83}.director-spec,.director-workspace{background:#ffffffdb;border:1px solid #e1daf0;border-radius:24px;box-shadow:0 16px 55px #37276f12}.director-spec{max-width:820px;padding:30px}.director-options{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.director-spec label{color:#655d73;gap:7px;font-size:12px;font-weight:800;display:grid}.director-spec select,.director-spec textarea,.director-chat textarea{color:#322c42;background:#fff;border:1px solid #ddd5ec;border-radius:12px;padding:11px}.director-spec textarea,.director-chat textarea{resize:vertical;width:100%;min-height:112px;margin:22px 0}.director-spec button,.director-chat button{color:#fff;background:linear-gradient(120deg,#7554d3,#a16dde);border:0;border-radius:12px;padding:12px 18px;font-weight:900}.director-workspace{grid-template-columns:255px minmax(0,1fr);display:grid;overflow:hidden}.director-workspace aside{background:#f7f4feb3;border-right:1px solid #e9e3f2;padding:20px}.director-workspace aside>p{color:#786f86;font-size:12px}.director-workspace aside>div{color:#978ea2;border-radius:10px;margin-top:10px;padding:10px;font-size:13px}.director-workspace aside>div.active{color:#6344b7;background:#ece5ff;font-weight:900}.director-workspace aside>div.done{color:#4e9a71}.director-workspace aside small{margin:4px 0 0 18px;font-size:10px;font-weight:500;display:block}.director-main{padding:24px}.director-status{color:#766d84;border-bottom:1px solid #eee9f5;justify-content:space-between;gap:12px;padding-bottom:17px;font-size:13px;display:flex}.director-status b{color:#6545bb}.director-result{padding:18px 0}.director-result pre,.director-result p{white-space:pre-wrap;color:#514a5d;font:13px/1.7 ui-monospace,Consolas,monospace}.director-result section{background:#fcfbff;border:1px solid #ebe5f4;border-radius:16px;margin:14px 0;padding:16px}.director-assets{flex-wrap:wrap;gap:14px;display:flex}.director-assets figure{width:160px;margin:0}.director-assets img{object-fit:cover;border-radius:12px;width:160px;height:160px}.director-assets figcaption{color:#756d83;font-size:11px}.director-shot{background:#f8f6fc;border-radius:12px;margin:10px 0;padding:13px}.director-shot b{color:#5f47ab}.director-chat{border-top:1px solid #eee9f5;padding-top:16px}.director-chat textarea{margin:0 0 10px}.director-error{color:#b54a58;background:#fff7f8;border:1px solid #f0cbd2;border-radius:12px;padding:12px}@media (max-width:760px){.director-agent-page{padding:18px}.director-agent-page h1{font-size:36px}.director-options,.director-workspace{grid-template-columns:1fr}.director-workspace aside{border-bottom:1px solid #e9e3f2;border-right:0}.director-workspace aside>div{margin-right:6px;display:inline-block}.director-workspace aside small{display:none}}.director-workspace aside>button{color:#6042ae;text-align:left;background:#fff;border:1px solid #ddd3ef;border-radius:10px;width:100%;margin:12px 0;padding:10px;font-weight:800;display:block}.director-workspace aside>button.active{background:#ece5ff}.director-composer-tools{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;display:flex}.director-composer-tools>label{color:#6748b5;cursor:pointer;background:#fff;border:1px solid #ddd5ec;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:800}.director-composer-tools>span{background:#fff;border:1px solid #e4ddef;border-radius:8px;align-items:center;gap:5px;padding:4px 6px;display:inline-flex}.director-composer-tools img{object-fit:cover;border-radius:5px;width:28px;height:28px}.director-composer-tools select{color:#685b79;border:0;font-size:11px}.director-composer-tools button{color:#a34d5c;background:0 0;border:0;padding:0 3px;font-size:16px}.director-asset-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;display:grid}.director-asset-grid figure{width:auto}.director-asset-grid img,.director-asset-placeholder{object-fit:cover;border-radius:12px;width:100%;height:145px}.director-asset-placeholder{color:#8a7f9b;background:#f0ecf7;place-items:center;font-size:12px;display:grid}.director-asset-grid figcaption{gap:4px;margin-top:5px;display:grid}.director-asset-grid figcaption small,.director-asset-grid figcaption em{color:#8e829b;font-size:10px;font-style:normal}.director-asset-grid figcaption button{color:#6648aa;background:#fff;border:1px solid #d9cbed;border-radius:7px;justify-self:start;padding:5px 8px;font-size:10px;font-weight:800}.director-artifact-card,.director-storyboard-cards>article{background:#fff;border:1px solid #e5ddf1;border-radius:14px;margin:12px 0;padding:14px}.director-artifact-card header,.director-storyboard-cards article header{color:#574071;justify-content:space-between;gap:8px;display:flex}.director-artifact-card header small,.director-storyboard-cards article header small{color:#8f819e;font-size:10px}.director-artifact-card>p{color:#756b80;margin:7px 0;font-size:12px}.director-artifact-card pre{background:#faf8ff;border-radius:9px;max-height:280px;margin-top:10px;padding:10px;font-size:11px;overflow:auto}.director-storyboard-cards>h3{color:#594474;margin:14px 0 8px}.director-storyboard-cards article p{font-size:12px}.director-storyboard-cards details p{font-family:ui-monospace,Consolas,monospace;font-size:11px}.ecommerce-topbar{justify-content:space-between;align-items:center;max-width:1320px;margin:0 auto;display:flex}.ecommerce-back{color:#454256;background:#ffffffb3;border:1px solid #5d4a9e1f;border-radius:999px;padding:10px 14px;font-weight:750;transition:all .2s}.ecommerce-back:hover{box-shadow:var(--shadow);background:#fff;transform:translate(-2px)}.ecommerce-badge,.ecommerce-eyebrow{color:#7658ce;letter-spacing:.18em;font-size:10px;font-weight:900}.ecommerce-hero{text-align:center;max-width:1320px;margin:68px auto 38px}.ecommerce-hero h1{letter-spacing:-.07em;margin:12px 0;font-size:clamp(36px,5vw,64px);line-height:1.05}.ecommerce-hero p{color:#777287;margin:0;font-size:16px}.ecommerce-builder{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:22px;max-width:1320px;margin:0 auto;display:grid}.ecommerce-main{gap:16px;display:grid}.ecommerce-step{background:#ffffffd9;border:1px solid #624ea01c;border-radius:24px;padding:25px;box-shadow:0 14px 40px #3d2b6f0e}.ecommerce-step-head{align-items:center;gap:14px;margin-bottom:20px;display:flex}.ecommerce-step-head>span{color:#6d4fc2;background:#eee9ff;border-radius:12px;place-items:center;width:34px;height:34px;font:800 11px/1 ui-monospace,monospace;display:grid}.ecommerce-step h2{letter-spacing:-.025em;margin:0;font-size:18px}.ecommerce-step p{color:#918ba0;margin:3px 0 0;font-size:12px}.product-upload{cursor:pointer;background:linear-gradient(145deg,#fbfaff,#f3f0ff);border:1.5px dashed #baaaf6;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:220px;transition:all .2s;display:flex;position:relative;overflow:hidden}.product-upload:hover{background:#faf8ff;border-color:#7555d3;transform:translateY(-1px)}.product-upload input{display:none}.product-upload.has-image{border-style:solid;padding:0}.product-upload img{object-fit:contain;background:#fff;width:100%;height:270px}.replace-image{color:#fff;background:#171425c7;border-radius:10px;padding:8px 12px;font-size:12px;font-weight:700;position:absolute;bottom:14px;right:14px}.upload-orb{color:#fff;background:#201b35;border-radius:14px;place-items:center;width:44px;height:44px;font-size:22px;display:grid;box-shadow:0 10px 22px #3d2b6f38}.product-upload strong{font-size:15px}.product-upload p{color:#938da2}.product-upload.multi{min-height:170px}.product-upload.dragging{background:#eee8ff;border-color:#6e4bc6;transform:scale(1.005)}.product-upload small{color:#786aa3;font-size:11px;font-weight:800}.product-image-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.product-image-card{background:#fff;border:1px solid #ebe6f3;border-radius:15px;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:8px;display:grid}.product-image-card img{object-fit:cover;background:#f4f1fa;border-radius:10px;width:68px;height:68px}.product-image-card strong,.product-image-card small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.product-image-card strong{color:#433c53;font-size:12px}.product-image-card small{color:#96909f;margin-top:4px;font-size:10px}.product-image-card select{color:#6b6178;background:#fcfbff;border:1px solid #e7e1f1;border-radius:7px;width:100%;margin-top:5px;padding:5px 4px;font-size:11px}.product-image-card nav{gap:4px;display:grid}.product-image-card nav button{color:#7052c3;background:#f3effb;border-radius:6px;width:25px;height:22px;font-weight:900}.product-image-card nav button:disabled{opacity:.3}.product-image-card nav .remove{color:#d34d5b;background:#fff0f1}.product-analysis-panel{background:#fbfaff;border:1px solid #e3dbf8;border-radius:15px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:14px;padding:15px;display:grid}.product-analysis-panel>div:first-child strong{color:#443662;font-size:14px}.product-analysis-panel>div:first-child p{color:#8e839d;margin:4px 0 0;font-size:12px}.product-analysis-button{color:#fff;background:#6f4fc7;border-radius:10px;min-height:36px;padding:0 15px;font-weight:800}.product-analysis-button:disabled{opacity:.6;cursor:wait}.product-analysis-result{border-top:1px solid #ece6fa;grid-column:1/-1;padding-top:4px}.product-analysis-result h3{color:#34274d;align-items:center;gap:8px;margin:10px 0 5px;font-size:16px;display:flex}.product-analysis-result h3 span{color:#7252c6;background:#eee8fb;border-radius:999px;padding:2px 7px;font-size:11px}.product-analysis-result>p{color:#766d83;margin:0 0 10px;font-size:12px;line-height:1.65}.product-analysis-list{grid-template-columns:78px minmax(0,1fr);align-items:start;gap:8px;margin-top:8px;display:grid}.product-analysis-list>strong{color:#615574;font-size:12px}.product-analysis-list>div{flex-wrap:wrap;gap:6px;display:flex}.product-analysis-list span{color:#645878;background:#f1edf8;border-radius:7px;padding:4px 7px;font-size:11px;line-height:1.4}.ad-director-grid{grid-template-columns:minmax(220px,1fr) minmax(0,1fr);align-items:start;gap:13px;display:grid}.ad-product-select{gap:7px;display:grid}.ad-product-select span,.ad-director-option>span{color:#625878;font-size:12px;font-weight:800}.ad-product-select select{color:#403653;background:#fff;border:1px solid #ddd5ee;border-radius:10px;min-height:40px;padding:0 11px}.ad-director-option{gap:7px;display:grid}.ad-director-option>div{flex-wrap:wrap;gap:7px;display:flex}.ad-director-option button{color:#756b85;background:#fff;border:1px solid #e5def2;border-radius:9px;min-height:34px;padding:0 11px;font-size:12px;font-weight:700}.ad-director-option button.active{color:#6042b7;background:#f2edff;border-color:#8465d4}.ad-director-generate{color:#fff;background:linear-gradient(110deg,#5f45b9,#8a66e3);border-radius:11px;min-height:42px;margin-top:15px;padding:0 17px;font-weight:800;box-shadow:0 8px 18px #694dc22e}.ad-director-generate:disabled{opacity:.55;cursor:wait}.ad-project-result{border-top:1px solid #e9e3f4;margin-top:17px;padding-top:16px}.ad-project-head{background:linear-gradient(120deg,#faf8ff,#f4f1ff);border-radius:14px;padding:16px}.ad-project-head>span{color:#8065c6;letter-spacing:.12em;font-size:10px;font-weight:900}.ad-project-head h3{color:#34274d;margin:5px 0 8px;font-size:19px}.ad-project-head p{color:#6f657d;margin:5px 0;font-size:12px;line-height:1.6}.marketing-strategy{background:#fff9;border:1px solid #e4dcf4;border-radius:10px;gap:3px;margin-top:11px;padding:10px 12px;display:grid}.marketing-strategy p{margin:0}.ad-video-actions{flex-wrap:wrap;gap:8px;margin-top:13px;display:flex}.ad-video-actions button{border-radius:9px;min-height:36px;padding:0 12px;font-size:12px;font-weight:800}.ad-video-generate{color:#fff;background:#6245ba;box-shadow:0 7px 15px #5b40ad2e}.ad-video-refresh{color:#654bb2;background:#fff;border:1px solid #d9cfef}.ad-video-actions button:disabled{opacity:.6;cursor:wait}.ad-project-head small{color:#80758e;margin-top:9px;font-size:11px;display:block}.ad-video-compose{color:#fff;background:linear-gradient(110deg,#0b7495,#2864c9);box-shadow:0 7px 15px #1b66b729}.ad-compose-hint{color:#9b6b19!important;margin:9px 0 0!important;font-size:11px!important}.ad-compose-status{color:#60708a;background:#ffffffb3;border:1px solid #dbe4f3;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:11px;padding:9px 10px;font-size:11px;font-weight:800;display:flex}.ad-compose-status.completed{color:#18734c;border-color:#bde4d0}.ad-compose-status.failed{color:#b34d57;border-color:#f2cfd2}.ad-compose-status a{color:#365ec0}.ad-compose-status em{color:#b34d57;width:100%;font-style:normal;font-weight:600}.ad-compose-status button{color:#576889;background:#fff;border:1px solid #d7deeb;border-radius:7px;margin-left:auto;padding:5px 8px;font-size:11px;font-weight:800}.ad-orchestrator-status{color:#6755a0;background:#faf8ff;border:1px solid #d7d0f0;border-radius:10px;flex-wrap:wrap;gap:7px;margin-top:10px;padding:9px 10px;font-size:11px;font-weight:800;display:flex}.ad-orchestrator-status.composing{color:#3f6f9e;background:#f5faff;border-color:#c9ddf2}.ad-orchestrator-status.completed{color:#18734c;background:#f6fcf8;border-color:#bde4d0}.ad-orchestrator-status.failed{color:#b34d57;background:#fff8f8;border-color:#f2cfd2}.ad-orchestrator-status em{width:100%;font-style:normal;font-weight:600}.ad-studio-page{color:#292238;background:radial-gradient(circle at 82% 0,#b59dff38,#0000 28%),linear-gradient(145deg,#fcfbff,#f4f1fc);min-height:100vh;padding:24px max(22px,50vw - 590px)}.ad-studio-topbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.ad-studio-topbar button{color:#62557d;background:#ffffffbf;border:1px solid #ded7ee;border-radius:10px;padding:9px 12px;font-size:12px;font-weight:800}.ad-studio-topbar .ad-studio-quick-link{color:#6245ba;border-color:#cfc1ed}.ad-studio-hero{max-width:680px;padding:46px 0 28px}.ad-studio-hero>span{color:#7b5ccc;letter-spacing:.15em;font-size:11px;font-weight:900}.ad-studio-hero h1{letter-spacing:-.055em;margin:9px 0;font-size:clamp(30px,5vw,48px)}.ad-studio-hero p{color:#756d83;margin:0;font-size:15px;line-height:1.75}.ad-studio-error{color:#ad4653;background:#fff8f8;border:1px solid #f2cfd2;border-radius:12px;margin-bottom:16px;padding:11px 13px;font-size:13px}.ad-studio-flow{gap:14px;padding-bottom:52px;display:grid}.ad-studio-card{background:#fffc;border:1px solid #e5e0ef;border-radius:18px;position:relative;overflow:hidden;box-shadow:0 12px 28px #4934790e}.ad-studio-card.active{border-color:#d5c6f3;box-shadow:0 15px 32px #6448b717}.ad-studio-card:not(:last-child):after{z-index:2;content:"";background:#cfc3e8;width:1px;height:15px;position:absolute;bottom:-15px;left:34px}.ad-studio-card-top{grid-template-columns:34px 32px minmax(0,1fr) auto;align-items:start;gap:11px;padding:18px 20px 13px;display:grid}.ad-studio-number{color:#8b7ba8;font-size:12px;font-weight:900}.ad-studio-icon{color:#fff;background:linear-gradient(135deg,#7551c7,#a780e5);border-radius:9px;place-items:center;width:28px;height:28px;font-size:14px;display:grid}.ad-studio-card-top h2{margin:0 0 4px;font-size:16px}.ad-studio-card-top p{color:#7b7488;max-width:620px;margin:0;font-size:12px;line-height:1.6}.ad-studio-card-top>strong{color:#77658f;white-space:nowrap;background:#f2eef9;border-radius:99px;align-self:center;padding:5px 8px;font-size:11px}.ad-studio-card-content{padding:0 20px 19px 77px}.ad-studio-card-content>button,.ad-studio-uploaded button,.ad-studio-action-list button{color:#fff;background:linear-gradient(110deg,#6546bb,#8d68d7);border-radius:9px;min-height:34px;padding:0 12px;font-size:12px;font-weight:800}.ad-studio-card-content button:disabled{opacity:.58;cursor:wait}.ad-studio-file{display:none}.ad-studio-uploaded{background:#fcfbff;border:1px solid #e2dced;border-radius:10px;align-items:center;gap:10px;margin-top:10px;padding:8px;font-size:12px;display:flex}.ad-studio-uploaded img{object-fit:cover;border-radius:7px;width:38px;height:38px}.ad-studio-uploaded span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.ad-studio-select{color:#736a80;align-items:center;gap:10px;margin-top:10px;font-size:12px;font-weight:700;display:flex}.ad-studio-select select,.ad-studio-advanced select{color:#504863;min-width:150px;font:inherit;background:#fff;border:1px solid #ddd5eb;border-radius:8px;padding:7px 8px}.ad-studio-analysis,.ad-studio-director-result,.ad-studio-task{background:#faf8ff;border:1px solid #ddd5ee;border-radius:10px;margin-top:10px;padding:10px;font-size:12px}.ad-studio-analysis p,.ad-studio-director-result p{color:#756d83;margin:5px 0;line-height:1.55}.ad-studio-analysis small,.ad-studio-director-result small{color:#88769f}.ad-studio-advanced{background:#fcfbff;border:1px solid #e5dff0;border-radius:10px;margin:0 0 11px;padding:9px 10px;font-size:12px}.ad-studio-advanced summary{cursor:pointer;color:#6b5a82;font-weight:800}.ad-studio-advanced label{color:#70667c;align-items:center;gap:7px;margin:10px 12px 0 0;display:inline-flex}.ad-studio-action-list{gap:7px;display:grid}.ad-studio-action-list>div{color:#695f76;border:1px solid #ece7f3;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;font-size:12px;display:flex}.ad-studio-action-list button{min-height:28px;padding:0 9px;font-size:11px}.ad-studio-placeholder{color:#918899;margin:0;font-size:12px;line-height:1.6}.ad-studio-scenes{gap:7px;display:grid}.ad-studio-scenes details{background:#fdfcff;border:1px solid #e9e4f1;border-radius:9px;padding:9px 10px;font-size:12px}.ad-studio-scenes summary{cursor:pointer;color:#534a60;font-weight:800}.ad-studio-scenes p{color:#766d80;margin:8px 0 4px;line-height:1.55}.ad-studio-scenes small{color:#927ba8}.ad-studio-task{color:#685990;flex-wrap:wrap;align-items:center;gap:9px;display:flex}.ad-studio-task.composing{color:#39719e;background:#f5faff;border-color:#cde0f1}.ad-studio-task.completed{color:#19734d;background:#f6fcf8;border-color:#c4e5d2}.ad-studio-task.failed{color:#ae4c58;background:#fff8f8;border-color:#f1d0d3}.ad-studio-task button{color:#655b78;background:#fff;border:1px solid #ddd5eb;border-radius:7px;min-height:27px;margin-left:auto;padding:0 9px;font-size:11px;font-weight:800}.ad-studio-task em{width:100%;font-style:normal}.ad-studio-segment-list{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.ad-studio-segment-list span{color:#776d86;background:#f2eff7;border-radius:7px;padding:5px 7px;font-size:11px}.ad-studio-final-video{color:#fff;background:linear-gradient(110deg,#0b7495,#2864c9);border-radius:9px;align-items:center;min-height:34px;padding:0 12px;font-size:12px;font-weight:800;text-decoration:none;display:inline-flex}.creative-goal-heading{align-items:baseline;gap:9px;margin-bottom:8px;display:flex}.creative-goal-heading strong{color:#56466d;font-size:13px}.creative-goal-heading span{color:#8a8195;font-size:11px}.creative-goal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.creative-goal-grid button{color:#645b70;text-align:left;background:#fff;border:1px solid #e4ddec;border-radius:10px;min-height:94px;padding:11px;transition:all .18s}.creative-goal-grid button:hover{background:#fcfaff;border-color:#cdbdea}.creative-goal-grid button.active{background:linear-gradient(135deg,#f7f3ff,#fbfaff);border-color:#8b69d1;box-shadow:inset 0 0 0 1px #7b56c31f}.creative-goal-grid strong,.creative-goal-grid span{display:block}.creative-goal-grid strong{color:#4f4165;font-size:12px}.creative-goal-grid strong em{color:#6c49bb;background:#eadeff;border-radius:99px;margin-left:6px;padding:2px 5px;font-size:9px;font-style:normal;display:inline-block}.creative-goal-grid span{color:#847b8e;margin-top:6px;font-size:11px;line-height:1.45}.creative-goal-hint{color:#6f607f;background:#faf7ff;border-left:3px solid #8a68cf;border-radius:0 8px 8px 0;margin:9px 0 11px;padding:8px 9px;font-size:12px;line-height:1.5}.creative-goal-hint b{color:#5d4296}.creative-brief{background:linear-gradient(135deg,#fbf9ff,#f6f2ff);border:1px solid #dcd2f1;border-radius:13px;margin-top:12px;padding:14px}.creative-brief header span,.asset-scene header span,.director-storyboard-card>span{color:#8061c7;letter-spacing:.08em;font-size:10px;font-weight:900}.creative-brief h3{margin:5px 0 11px;font-size:16px}.creative-brief>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.creative-brief label{color:#897c9a;background:#ffffffbf;border-radius:8px;padding:8px;font-size:10px}.creative-brief b{color:#594a69;margin-top:3px;font-size:12px;line-height:1.45;display:block}.asset-studio-list,.segment-production-list{gap:10px;display:grid}.asset-scene{background:#fff;border:1px solid #e4ddef;border-radius:12px;padding:12px}.asset-scene>header{align-items:center;gap:9px;display:flex}.asset-scene header strong{color:#51405e;margin-top:2px;font-size:13px;display:block}.asset-scene header em{color:#3b8158;background:#edfaf2;border-radius:99px;margin-left:auto;padding:4px 7px;font-size:10px;font-style:normal;font-weight:800}.asset-scene header button,.segment-status button{color:#6849b3;background:#fff;border:1px solid #d8cbed;border-radius:7px;min-height:28px;padding:0 9px;font-size:11px;font-weight:800}.asset-type-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:11px;display:grid}.asset-group{background:#fcfbfe;border:1px solid #eee8f5;border-radius:9px;min-width:0;padding:8px}.asset-group>strong{color:#665675;margin-bottom:7px;font-size:11px;display:block}.asset-group>p{color:#a095a8;margin:0;font-size:11px}.asset-group figure{margin:0}.asset-group img{aspect-ratio:1;object-fit:cover;background:#eeeaf4;border-radius:7px;width:100%;display:block}.asset-group figcaption{color:#766c81;justify-content:space-between;gap:4px;margin-top:5px;font-size:10px;display:flex;overflow:hidden}.asset-group figcaption>a{color:#7855c6;white-space:nowrap}.director-storyboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.director-storyboard-card{background:#fff;border:1px solid #e4ddef;border-radius:12px;padding:13px}.director-storyboard-card h3{color:#453551;margin:5px 0;font-size:14px}.director-storyboard-card>p{color:#786e82;margin:0;font-size:12px;line-height:1.55}.director-storyboard-card dl{gap:5px;margin:10px 0;display:grid}.director-storyboard-card dl div{grid-template-columns:62px minmax(0,1fr);gap:6px;display:grid}.director-storyboard-card dt{color:#91869c;font-size:10px}.director-storyboard-card dd{color:#5c5069;margin:0;font-size:11px;line-height:1.45}.director-storyboard-card summary,.segment-status summary{cursor:pointer;color:#7253c5;font-size:11px;font-weight:800}.director-storyboard-card details p,.segment-status details p{color:#72687b;font-size:11px;line-height:1.55}.segment-status{background:#fff;border:1px solid #e5dff0;border-radius:11px;padding:11px}.segment-status header{justify-content:space-between;display:flex}.segment-status header strong{color:#53425f;font-size:12px}.segment-status header em{color:#7d708c;font-size:11px;font-style:normal;font-weight:800}.segment-status.processing{background:#f7fbff;border-color:#c9ddf2}.segment-status.completed{background:#f8fdf9;border-color:#cbe8d7}.segment-status.completed header em{color:#23794f}.segment-status.failed{background:#fff9f9;border-color:#f0d0d4}.segment-status.failed header em{color:#b74c58}.segment-status video{background:#14121a;border-radius:8px;width:100%;max-height:260px;margin-top:9px}.segment-status>p{color:#a34551;margin:9px 0 5px;font-size:12px;line-height:1.5}.segment-status>small{color:#766a7c;font-size:11px;line-height:1.55;display:block}.segment-status>div{align-items:center;gap:9px;margin-top:9px;display:flex}@media (max-width:680px){.ad-studio-page{padding:16px}.ad-studio-hero{padding:34px 2px 22px}.ad-studio-card-top{grid-template-columns:28px 28px minmax(0,1fr);padding:15px}.ad-studio-card-top>strong{grid-column:3;justify-self:start}.ad-studio-card-content{padding:0 15px 15px}.ad-studio-uploaded{flex-wrap:wrap}.ad-studio-uploaded span{min-width:130px}.ad-studio-action-list>div{flex-direction:column;align-items:flex-start}.creative-goal-grid{grid-template-columns:1fr}.creative-goal-heading{display:block}.creative-goal-heading span{margin-top:3px;display:block}.asset-type-grid,.director-storyboard-grid,.creative-brief>div{grid-template-columns:1fr}}.asset-workbench-actions{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.asset-workbench-actions button{color:#604a93;background:#fbf9ff;border:1px solid #d8cbed;border-radius:9px;min-height:32px;padding:0 11px;font-size:12px;font-weight:800}.asset-workbench-actions button:nth-last-child(-n+3){color:#fff;background:linear-gradient(110deg,#6546bb,#8d68d7);border-color:#0000}.projects-page{color:#30263b;background:#faf9ff;min-height:100vh;padding:48px max(22px,50vw - 540px)}.projects-page header{justify-content:space-between;align-items:start;gap:20px;margin-bottom:26px;display:flex}.projects-page header span{color:#7859bd;letter-spacing:.12em;font-size:11px;font-weight:900}.projects-page h1{margin:8px 0;font-size:34px}.projects-page header p{color:#82768e;margin:0}.projects-page header button,.projects-page article>button{color:#fff;background:linear-gradient(110deg,#6546bb,#8d68d7);border-radius:9px;min-height:35px;padding:0 13px;font-weight:800}.projects-page section{gap:10px;display:grid}.projects-page article{background:#fff;border:1px solid #e5dff0;border-radius:14px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:16px;display:grid}.projects-page article span{color:#8064b7;font-size:11px;font-weight:800}.projects-page article h2{margin:5px 0;font-size:16px}.projects-page article p,.projects-empty{color:#8d8298;margin:0;font-size:12px}.project-status{color:#67578a;background:#f0ecfa;border-radius:99px;padding:6px 9px;font-size:11px}.project-status.completed{color:#28734e;background:#edf9f1}.project-status.video_processing{color:#32729a;background:#eef7ff}.projects-error{color:#ad4653}@media (max-width:680px){.projects-page{padding:24px 16px}.projects-page header,.projects-page article{flex-direction:column;align-items:flex-start;display:flex}}.video-settings-grid{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:10px;display:grid}.video-settings-grid fieldset,.video-settings-grid>label{color:#665b74;background:#fcfbff;border:1px solid #e5dff0;border-radius:11px;gap:7px;margin:0;padding:11px;font-size:12px;display:grid}.video-settings-grid legend{color:#5b4779;padding:0 4px;font-weight:900}.video-settings-grid fieldset label{cursor:pointer;align-items:flex-start;gap:6px;display:flex}.video-settings-grid small{color:#978aa2;font-size:10px;line-height:1.45}.video-settings-grid select{color:#51445e;min-height:34px;font:inherit;background:#fff;border:1px solid #dcd3eb;border-radius:8px;padding:0 8px}.ad-studio-uploaded>div{flex:1;gap:7px;display:flex;overflow:auto}.ad-studio-uploaded figure{flex:0 0 74px;margin:0;position:relative}.ad-studio-uploaded img{width:74px;height:56px}.ad-studio-uploaded figcaption{color:#776c83;gap:2px;font-size:10px;display:grid}.ad-studio-uploaded figcaption button{color:#a24656;background:0 0;min-height:auto;padding:0}.creative-brief header{align-items:center;gap:8px;display:flex}.creative-brief header button,.director-storyboard-card>button{color:#6649a5;background:#fff;border:1px solid #d9ccef;border-radius:7px;min-height:27px;margin-left:auto;padding:0 8px;font-size:10px;font-weight:800}.asset-group figcaption small{color:#978aa2;white-space:nowrap}@media (max-width:840px){.video-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.video-settings-grid{grid-template-columns:1fr}.ad-studio-uploaded>div{flex-basis:100%;width:100%}}.storyboard-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:12px;display:grid}.storyboard-card{background:#fff;border:1px solid #e6dff1;border-radius:13px;padding:14px}.storyboard-card>span{color:#8065c6;font-size:10px;font-weight:900}.storyboard-card h4{color:#403451;margin:5px 0;font-size:15px}.storyboard-card>p{color:#766c82;margin:0;font-size:12px;line-height:1.6}.storyboard-card dl{gap:5px;margin:11px 0 0;display:grid}.storyboard-card dl div{grid-template-columns:65px minmax(0,1fr);gap:7px;display:grid}.storyboard-card dt{color:#8a8193;font-size:11px}.storyboard-card dd{color:#5e536d;margin:0;font-size:11px;line-height:1.45}.storyboard-card details{margin-top:10px}.storyboard-card summary{color:#7253c5;cursor:pointer;font-size:11px;font-weight:800}.storyboard-card details p{color:#71677d;margin:7px 0 0;font-size:11px;line-height:1.6}.storyboard-assets{background:#fcfbff;border:1px solid #ece6f6;border-radius:10px;margin-top:13px;padding:11px}.storyboard-assets>div:first-child{justify-content:space-between;gap:8px;display:flex}.storyboard-assets>div:first-child strong{color:#5b4c70;font-size:12px}.storyboard-assets>div:first-child span{color:#8162c8;font-size:11px;font-weight:800}.storyboard-assets>button{color:#6b4aba;background:#f5f1ff;border:1px solid #ddd3f3;border-radius:8px;width:100%;min-height:32px;margin-top:9px;font-size:11px;font-weight:800}.storyboard-assets>button:disabled{opacity:.6;cursor:wait}.storyboard-video-status{background:#fbfaff;border:1px solid #e8e3f1;border-radius:10px;margin-top:10px;padding:10px 11px}.storyboard-video-status>div{justify-content:space-between;gap:8px;display:flex}.storyboard-video-status strong{color:#5b4c70;font-size:12px}.storyboard-video-status span{color:#7d6d96;font-size:11px;font-weight:800}.storyboard-video-status.processing span{color:#8b5e11}.storyboard-video-status.completed span{color:#38815c}.storyboard-video-status.failed span,.storyboard-video-status p{color:#b44f59}.storyboard-video-status a{color:#684ac0;margin-top:7px;font-size:11px;font-weight:800;display:inline-block}.storyboard-video-status p{margin:7px 0 0;font-size:11px;line-height:1.5}.storyboard-asset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:9px;display:grid}.storyboard-asset-grid figure{background:#fff;border:1px solid #eee9f7;border-radius:7px;min-width:0;margin:0;overflow:hidden}.storyboard-asset-grid img{object-fit:cover;background:#f4f1fa;width:100%;height:70px;display:block}.storyboard-asset-grid figcaption{color:#7a6e88;text-align:center;text-overflow:ellipsis;white-space:nowrap;padding:4px;font-size:10px;overflow:hidden}.ecommerce-option-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.ecommerce-option-grid.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.ecommerce-option-grid.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.ecommerce-choice{text-align:left;color:#514c5c;background:#fff;border:1px solid #ece9f2;border-radius:15px;align-items:center;gap:9px;min-height:64px;padding:12px 13px;font-size:13px;font-weight:750;transition:all .18s;display:flex}.ecommerce-choice:hover{border-color:#b7a6ed;transform:translateY(-1px)}.ecommerce-choice.active{color:#563aa7;background:linear-gradient(135deg,#f2eeff,#fff);border-color:#8b70dd;box-shadow:0 7px 16px #694bbf1a}.ecommerce-choice b{color:#7858ce;background:#f0ecfb;border-radius:9px;place-items:center;width:28px;height:28px;font-size:16px;display:grid}.ecommerce-choice i{color:#7555d3;margin-left:auto;font-style:normal}.character-options{background:#faf9fe;border-radius:15px;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px;padding:14px;display:grid}.story-options{background:linear-gradient(135deg,#faf9fe,#f6f2ff);border-radius:15px;margin-top:14px;padding:14px}.story-options>span{color:#7a7485;margin-bottom:10px;font-size:12px;font-weight:800;display:block}.ecommerce-settings{background:#faf9fe;border-radius:16px;grid-template-columns:1fr 1fr;gap:18px;padding:16px;display:grid}.custom-duration{color:#7a7485;flex-direction:column;gap:8px;font-size:12px;font-weight:800;display:flex}.custom-duration input{color:#4b4359;background:#fff;border:1px solid #e8e3f1;border-radius:9px;outline:none;width:100%;max-width:150px;padding:8px 10px}.custom-duration input:focus{border-color:#9a7ce2}.ecommerce-select-group>span{color:#7a7485;margin-bottom:8px;font-size:12px;font-weight:800;display:block}.ecommerce-select-group>div{flex-wrap:wrap;gap:7px;display:flex}.ecommerce-select-group button{color:#777080;background:#fff;border:1px solid #e8e3f1;border-radius:9px;padding:7px 9px;font-size:12px}.ecommerce-select-group button.active{color:#5c3eb3;background:#e9e2ff;border-color:#a98ee8;font-weight:800}.ecommerce-textarea{resize:vertical;color:#292433;width:100%;min-height:100px;font:inherit;background:#fcfbff;border:1px solid #e8e3f0;border-radius:15px;outline:none;padding:15px;font-size:14px;display:block}.ecommerce-textarea:focus{border-color:#9a7ce2;box-shadow:0 0 0 3px #7e5bd81a}.ecommerce-summary{color:#fff;background:linear-gradient(155deg,#27213c,#15131f);border-radius:24px;padding:25px;position:sticky;top:22px;overflow:hidden;box-shadow:0 20px 50px #23184240}.ecommerce-summary:before{content:"";filter:blur(8px);opacity:.42;background:#8365dd;border-radius:50%;width:180px;height:180px;position:absolute;top:-74px;right:-70px}.ecommerce-summary>*{position:relative}.ecommerce-summary>span{color:#c9bbff;letter-spacing:.12em;font:800 10px/1 ui-monospace,monospace}.ecommerce-summary h2{letter-spacing:-.05em;margin:15px 0 7px;font-size:25px}.ecommerce-summary p{color:#c3bed1;min-height:42px;margin:0 0 22px;font-size:13px;line-height:1.6}.summary-line{color:#e3e0eb;align-items:center;gap:9px;margin:12px 0;font-size:12px;display:flex}.summary-line i{background:#ae94ff;border-radius:99px;width:7px;height:7px;box-shadow:0 0 12px #ae94ff}.ecommerce-generate{color:#20183c;background:#fff;border-radius:15px;justify-content:center;align-items:center;gap:12px;width:100%;min-height:52px;margin-top:24px;font-size:14px;font-weight:900;transition:all .2s;display:flex}.ecommerce-generate:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 24px #ffffff29}.ecommerce-generate:disabled{opacity:.45;cursor:not-allowed}.ecommerce-generate span{font-size:19px}.ecommerce-summary small{text-align:center;color:#9890ae;margin-top:13px;font-size:11px;display:block}.ecommerce-error{color:#ffb7bd;background:#eb4f5a29;border-radius:10px;margin-top:16px;padding:10px;font-size:12px;line-height:1.45}@media (max-width:980px){.ecommerce-builder{grid-template-columns:1fr}.ecommerce-summary{position:relative;top:auto}}@media (max-width:620px){.ecommerce-page{padding:16px 13px 45px}.ecommerce-hero{margin:45px auto 27px}.ecommerce-hero p{font-size:14px}.ecommerce-step{border-radius:19px;padding:18px}.ecommerce-option-grid,.ecommerce-option-grid.two-col,.ecommerce-option-grid.three-col,.product-image-list,.ecommerce-settings{grid-template-columns:1fr 1fr}.category-grid .ecommerce-choice{min-height:70px}.character-options{grid-template-columns:1fr}}.composer{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);text-align:left;background:#fffffff5;border-radius:22px;width:100%;max-width:860px;display:none;box-shadow:0 20px 54px #0c0f181a,0 0 0 1px #fffc}.composer.active{display:block}.creative-panel{padding:20px 20px 12px}.creative-panel textarea{color:#181922;background:0 0;width:100%;height:74px;font-size:15px;line-height:1.65}.selected-skill-row{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.selected-skill-chip{color:#6d3dff;background:#f0eaff;border:1px solid #dfd2ff;border-radius:9px;align-items:center;min-height:28px;padding:4px 26px 4px 10px;font-size:14px;font-weight:850;display:inline-flex;position:relative}.selected-skill-chip button{color:#fff;background:#171820;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:13px;line-height:1;display:inline-flex;position:absolute;top:-6px;right:-6px;box-shadow:0 4px 10px #0c0f1829}.selected-skill-chip button:hover{background:#ef4444}.creative-panel textarea::placeholder,.script-text::placeholder,.ai-script-input::placeholder{color:#adb3bf}.composer-bottom{justify-content:space-between;align-items:center;gap:14px;display:flex}.tool-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.plus-btn,.tool-btn,.file-label,.toggle-label{color:#242630;white-space:nowrap;border-radius:999px;align-items:center;gap:5px;height:32px;font-size:13px;font-weight:700;display:inline-flex}.tool-btn,.file-label{padding:0 8px}.tool-btn:hover,.file-label:hover,.plus-btn:hover{background:#f2f4f7}.reference-upload-btn{color:#303541;cursor:pointer;background:#f1f2f6;border:1px solid #e4e7ed;border-radius:50%;flex-shrink:0;justify-content:center;width:36px;height:36px;padding:0;font-size:22px;font-weight:500;line-height:1}.reference-upload-btn:hover{color:#fff;background:#111;border-color:#111}.reference-upload-btn input{display:none}.home-upload-menu-wrap{display:inline-flex;position:relative}.home-upload-menu{z-index:30;background:#fff;border:1px solid #e3e5ea;border-radius:10px;min-width:210px;padding:5px;position:absolute;bottom:calc(100% + 8px);left:0;box-shadow:0 10px 28px #161b2626}.home-upload-menu button{text-align:left;color:#252a35;border-radius:7px;width:100%;padding:8px 10px;font-size:13px;display:block}.home-upload-menu button:hover{color:#5d34ae;background:#f3f1f8}.home-hidden-file-input{display:none}.tool-btn span{color:#6b6f7c;font-weight:600}.tool-btn small{color:#111;background:#eeeef2;border-radius:999px;padding:1px 5px;font-size:10px}.file-label input,.toggle-label input{display:none}.toggle-label span{background:#dbdee4;border-radius:999px;width:28px;height:16px;display:inline-block;position:relative}.toggle-label span:after{content:"";background:#fff;border-radius:50%;width:12px;height:12px;transition:transform .18s;position:absolute;top:2px;left:2px}.toggle-label input:checked+span{background:#111}.toggle-label input:checked+span:after{transform:translate(12px)}.send-btn{color:#b9bdc8;background:#f1f2f6;border-radius:50%;flex-shrink:0;width:42px;height:42px;font-size:20px;transition:all .15s}.send-btn:hover{color:#fff;background:#111}.send-btn:disabled{cursor:not-allowed}.send-btn.ready{color:#fff;cursor:pointer;background:#111;box-shadow:0 6px 16px #1111112e}.send-btn.ready:hover{background:#333;transform:translateY(-1px)}.canvas-mode-toggle{margin-left:14px}.price-estimate{color:#687080;margin:8px 6px 0;font-size:12px}.file-preview{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.file-chip{border:1px solid var(--line);color:#525866;background:#f8f9fc;border-radius:14px;align-items:flex-start;gap:7px;max-width:360px;min-height:34px;padding:6px 7px 6px 4px;font-size:11px;font-weight:700;display:inline-flex}.file-thumb{background:#e8ebf0 50%/cover no-repeat;border-radius:50%;flex-shrink:0;width:26px;height:26px}.video-thumb{object-fit:cover;background:#11131a}.file-thumb-generic{background:linear-gradient(135deg,#0000000f,#00000005),#e8ebf0}.file-chip .file-name{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.file-chip .file-size{color:#8a91a0;font-variant-numeric:tabular-nums;flex-shrink:0}.file-details{align-items:start;gap:3px;min-width:0;display:grid}.reference-purpose-label{color:#8a91a0;font-size:10px;font-weight:700}.reference-purpose-actions{flex-wrap:wrap;gap:4px;display:flex}.file-chip .reference-purpose-actions button{color:#717887;background:#fff;border:1px solid #dfe2ea;border-radius:999px;width:auto;height:22px;padding:0 7px;font-size:10px;font-weight:800}.file-chip .reference-purpose-actions button.active,.file-chip .reference-purpose-actions button:hover{color:#644ab4;background:#f0edff;border-color:#8c75d6}.character-binding-fields{gap:5px;margin-top:3px;display:grid}.character-binding-fields input{color:#373b45;background:#fff;border:1px solid #dfe2ea;border-radius:7px;min-width:190px;height:28px;padding:0 8px;font-size:10px}.character-binding-fields .character-binding-save{color:#644ab4;background:#f7f4ff;border:1px solid #8c75d6;border-radius:7px;width:max-content;height:27px;padding:0 9px;font-size:10px;font-weight:800}.character-binding-fields small{color:#9691a0;text-overflow:ellipsis;white-space:nowrap;max-width:190px;font-size:9px;overflow:hidden}.character-sync-status{font-size:10px;font-weight:800}.character-sync-processing,.character-sync-no_binding{color:#a37936}.character-sync-active{color:#4a9a70}.character-sync-failed{color:#c45b63}.character-sync-error{color:#b64f59;max-width:250px;font-size:10px;font-weight:700}.file-chip .character-resync-btn{color:#b64f59;background:#fff1f2;border-radius:999px;width:auto;height:22px;padding:0 7px;font-size:10px;font-weight:800}.file-chip>button:last-child{flex-shrink:0}.svip-ratio-hint,.svip-generation-hint{color:#7964be;margin:8px 6px 0;font-size:11px;font-weight:800}.svip-generation-hint{color:#a37936}.file-chip button{color:#777d89;background:#0000000f;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:14px;font-weight:900;display:inline-flex}.file-chip button:hover{color:#c0392b;background:#ffe4e4}.drama-panel{padding:0;overflow:hidden}.drama-tabs{background:#ebedf0;grid-template-columns:1fr 1fr 1fr;display:grid}.drama-tabs button{background:0 0;border-radius:16px 16px 0 0;height:52px;font-size:14px;font-weight:800}.drama-tabs button.active{background:#fff}.drama-tabs span{color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:2px 7px;font-size:11px}.drama-body{padding:22px;display:none}.drama-body.active{display:block}.upload-zone{color:#1d1e25;background:#fcfcff;border:1.5px dashed #c4b5ff;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:150px;display:flex;position:relative}.upload-zone input{opacity:0;cursor:pointer;position:absolute;inset:0}.upload-zone.dragging{background:#faf7ff;border-color:#7c3cff}.upload-icon{color:#fff;background:#050505;border-radius:999px;justify-content:center;align-items:center;width:56px;height:30px;font-size:18px;display:flex}.upload-zone p{color:#a1a5af;margin:0;font-size:12px}.upload-zone button,.drama-result{background:#fcfcff;border:1px solid #eef0ff;border-radius:18px;margin:16px 22px 0;overflow:hidden}.drama-result-head{background:#faf7ff;border-bottom:1px solid #eef0ff;justify-content:space-between;align-items:center;padding:14px 20px;display:flex}.drama-result-head strong{color:#1d1e25;font-size:15px}.drama-result-head button{cursor:pointer;color:#777;background:#fff;border:1px solid #e0ddff;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:14px;transition:all .15s;display:flex}.drama-result-head button:hover{color:#c0392b;background:#ffe8e8;border-color:#f99}.drama-result-content{white-space:pre-wrap;color:#1d1e25;max-height:400px;padding:20px 24px;font-family:inherit;font-size:14px;line-height:1.8;overflow-y:auto}.generate-btn{color:#fff;background:#050505;border-radius:999px;height:36px;padding:0 16px;font-size:12px;font-weight:800}.script-text,.ai-script-input{border:1px solid var(--line);color:#181922;background:#fff;border-radius:16px;width:100%;min-height:90px;margin-top:12px;padding:14px;font-size:14px}.ai-script-input{min-height:90px;margin-top:0}.style-library{border:1px solid var(--line);background:#fafbfd;border-radius:16px;margin-top:10px;padding:12px}.style-library-head{align-items:center;gap:10px;margin-bottom:10px;display:flex}.style-library-head strong{font-size:14px}.style-library-head span{color:var(--muted);font-size:11px}.style-categories{flex-direction:column;gap:9px;display:flex}.style-cat{flex-direction:column;gap:4px;display:flex}.cat-label{color:#585c69;font-size:11px;font-weight:750}.style-grid{flex-wrap:wrap;gap:5px;display:flex}.style-grid button{border:1px solid var(--line);color:#3a3d4a;background:#fff;border-radius:999px;height:28px;padding:0 11px;font-size:12px;font-weight:600;transition:all .12s}.style-grid button:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.style-grid button.active{background:var(--accent);color:#fff;border-color:var(--accent)}.drama-options{align-items:center;gap:8px;margin-top:12px;display:flex}.drama-options button{color:#202129;background:#f3f5f7;border-radius:999px;height:34px;padding:0 13px;font-size:12px;font-weight:750}.drama-options .generate-btn{color:#fff;background:#050505;margin-left:auto}.coming-soon{text-align:center;color:#8b909c;place-items:center;min-height:220px}.coming-soon.active{display:grid}.coming-soon strong{color:#17171d;font-size:18px}.quick-tools{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:18px;display:flex}.quick-tool-wrap{display:inline-flex;position:relative}.quick-tools button{color:#2a2c38;background:#ffffffa6;border-radius:999px;height:36px;padding:0 16px;font-size:13px;font-weight:700;transition:all .15s;box-shadow:0 2px 10px #0c0f180a}.quick-tools button:hover{box-shadow:var(--shadow);background:#fff;transform:translateY(-1px)}.quick-tool-tip{z-index:20;color:#fff;opacity:0;pointer-events:none;text-align:left;background:#14151cf5;border:1px solid #ffffff1f;border-radius:20px;gap:7px;width:330px;padding:18px 20px;transition:opacity .16s,transform .16s;display:grid;position:absolute;bottom:calc(100% + 12px);left:50%;transform:translate(-50%)translateY(4px);box-shadow:0 22px 58px #0c0f183d}.quick-tool-tip:after{content:"";background:#14151cf5;border-bottom:1px solid #ffffff1f;border-right:1px solid #ffffff1f;width:14px;height:14px;position:absolute;bottom:-7px;left:50%;transform:translate(-50%)rotate(45deg)}.quick-tool-wrap:hover .quick-tool-tip{opacity:1;transform:translate(-50%)translateY(0)}.quick-tool-tip strong{font-size:15px;line-height:1.35}.quick-tool-tip em{color:#b6c2ff;margin-top:3px;font-size:12px;font-style:normal;font-weight:900}.quick-tool-tip span,.quick-tool-tip p{color:#eef1ff;font-size:13px;line-height:1.65}.quick-tool-tip p{margin:0}.feature-chips{flex-direction:column;gap:8px;width:100%;max-width:860px;margin-top:24px;display:flex}.chip-header{align-items:baseline;gap:10px;display:flex}.chip-label{color:#181922;font-size:14px;font-weight:800}.chip-hint{color:var(--muted);font-size:12px}.feature-row{flex-wrap:wrap;gap:8px;display:flex}.feature-chip{color:#272a35;box-shadow:var(--shadow-sm);background:#ffffffc7;border:1px solid #0000000d;border-radius:14px;align-items:center;gap:9px;padding:10px 16px;font-size:13px;font-weight:660;transition:all .15s;display:flex}.feature-chip:hover{box-shadow:var(--shadow);border-color:#0000001a;transform:translateY(-1px)}.feature-chip em{color:#31a619;background:#e7ffd9;border-radius:999px;margin-left:2px;padding:1px 6px;font-size:10px;font-style:normal}.feature-chip.more{color:var(--muted);background:0 0;border:1.5px dashed #00000014}.feature-chip.more:hover{border-color:var(--accent);color:var(--accent)}.chip-icon{border-radius:9px;flex-shrink:0;width:32px;height:32px}.icon-red{background:linear-gradient(135deg,#ff8d75,#a4213f)}.icon-blue{background:linear-gradient(135deg,#9ac8ff,#172a63)}.icon-green{background:linear-gradient(135deg,#f1d6aa,#79b57e)}.icon-purple{background:linear-gradient(135deg,#feb47b,#6f4fd6)}.workspace-grid{grid-template-columns:minmax(0,1fr);gap:16px;width:100%;max-width:1180px;margin-top:30px;display:grid}.panel{border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);background:#ffffffad;padding:18px}.section-head{justify-content:space-between;align-items:flex-end;margin-bottom:12px;display:flex}.section-head h2{font-size:16px}.section-head p{color:var(--muted);margin:3px 0 0;font-size:12px}.section-head button{background:#fff;border:1px solid #0000000d;border-radius:999px;height:30px;padding:0 11px;font-size:12px;font-weight:700}.section-head.compact{margin-bottom:10px}.gallery{grid-template-rows:142px 142px;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:12px;display:grid}.gallery-card{background:linear-gradient(135deg,#dde8e9,#f5f5f5);border-radius:16px;min-height:142px;position:relative;overflow:hidden}.gallery-card.tall{background:linear-gradient(145deg,#ece2de,#bccacb);grid-row:span 2}.gallery-card:before{content:"";background:#ffffff61;border-radius:999px;width:72px;height:72px;position:absolute;top:18%;left:14%}.gallery-card:after{content:"";background:#0000000d;border-radius:999px;width:110px;height:40px;position:absolute;bottom:12px;right:-14px;transform:rotate(-12deg)}.gallery-card span{color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0003;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800;position:absolute;bottom:10px;left:12px}.task-list{gap:7px;display:grid}.task-empty,.task-item{border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px}.task-empty{color:var(--muted);text-align:center;padding:32px 12px;font-size:13px}.task-item{gap:3px;display:grid}.task-item strong{font-size:13px}.task-item p{color:var(--muted);margin:0;font-size:12px}.task-status{background:var(--accent-soft);color:#6941c6;border-radius:999px;width:max-content;padding:2px 7px;font-size:10px;font-weight:800}.popover{z-index:20;position:fixed;inset:0}.popover:before{content:"";position:absolute;inset:0}.popover-card{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffffff0;border:1px solid #ffffffd6;border-radius:20px;min-width:270px;max-width:360px;max-height:65vh;padding:10px;position:absolute;overflow-y:auto;box-shadow:0 16px 50px #0c101c24}.menu-title{color:#969ba8;padding:6px 10px;font-size:11px;font-weight:800}.segment{background:#eef0f1;border-radius:999px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:10px;padding:3px;display:grid}.segment button{background:0 0;border-radius:999px;height:30px;font-size:12px;font-weight:750}.segment button.active{box-shadow:var(--shadow-sm);background:#fff}.option-row{text-align:left;color:#22242b;border-radius:14px;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;width:100%;height:auto;min-height:46px;padding:8px 10px;font-size:12px;display:grid}.option-row:hover,.option-row.selected{background:#f5f6f8}.option-row .bar-icon{grid-template-columns:repeat(3,3px);align-items:end;gap:1.5px;width:16px;height:16px;display:grid}.bar-icon i{background:#111;border-radius:999px;width:3px;display:block}.bar-icon i:first-child{height:6px}.bar-icon i:nth-child(2){height:12px}.bar-icon i:nth-child(3){height:8px}.option-row strong{font-size:13px;display:block}.option-row span{color:#8d929d;margin-top:1px;font-size:11px;display:block}.tag{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:2px 6px;font-size:10px;font-weight:800}.ratio-list .option-row,.duration-list .option-row{grid-template-columns:20px 1fr auto;min-height:38px}.ratio-icon{border:2px solid #222;border-radius:3px;justify-self:center}.ratio-auto{width:14px;height:11px}.ratio-16{width:18px;height:10px}.ratio-21{width:20px;height:8px}.ratio-9{width:9px;height:18px}.ratio-4{width:16px;height:12px}.ratio-3{width:12px;height:16px}.ratio-1{width:14px;height:14px}.recharge-modal{z-index:40;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#080a125c;justify-content:center;align-items:center;padding:28px;display:flex;position:fixed;inset:0}.recharge-panel{background:#f7f7f8;border:1px solid #fffc;border-radius:28px;width:min(1200px,100%);max-height:calc(100vh - 56px);padding:48px 40px 34px;position:relative;overflow-y:auto;box-shadow:0 28px 80px #080a123d}.recharge-close{color:#555b68;border:1px solid var(--line);width:34px;height:34px;box-shadow:var(--shadow-sm);background:#fff;border-radius:50%;font-size:22px;line-height:1;position:absolute;top:18px;right:18px}.recharge-close:hover{color:#111;background:#f0f1f4}.recharge-head{text-align:center;flex-direction:column;align-items:center;gap:22px;margin-bottom:28px;display:flex}.recharge-head h2{color:#101119;font-size:clamp(24px,3vw,34px);font-weight:900;line-height:1.25}.recharge-cycle{background:#efeff0;border-radius:999px;padding:4px;display:inline-flex}.recharge-cycle button{color:#686d78;border-radius:999px;min-width:118px;height:36px;padding:0 18px;font-size:14px;font-weight:750}.recharge-cycle button.active{color:#151720;background:#fff;box-shadow:0 3px 12px #0c0f181f}.recharge-cycle span{color:var(--accent);font-weight:900}.recharge-service-promo{background:linear-gradient(115deg,#eef5ff,#f8fbff);border:1px solid #bad2ff;border-radius:18px;justify-content:space-between;align-items:center;gap:22px;margin:-4px 0 20px;padding:18px 20px;display:flex}.recharge-service-promo>div{gap:5px;display:grid}.recharge-service-promo span{color:#2460bf;font-size:12px;font-weight:850}.recharge-service-promo strong{color:#17294a;font-size:18px;font-weight:900}.recharge-service-promo p{color:#51657f;margin:0;font-size:13px;font-weight:700}.recharge-service-promo em{color:#ab5c1c;font-size:12px;font-style:normal;font-weight:800}.recharge-service-promo button{color:#fff;background:#1c5bd1;border-radius:999px;flex:none;min-height:44px;padding:0 18px;font-size:13px;font-weight:850}.recharge-service-promo button:hover{background:#1449af}@media (max-width:640px){.recharge-service-promo{flex-direction:column;align-items:stretch;gap:14px;padding:16px}.recharge-service-promo button{width:100%}}.recharge-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.recharge-card{text-align:left;color:#171820;background:#fff;border:2px solid #0000;border-radius:26px;flex-direction:column;gap:22px;min-height:520px;padding:28px 26px 24px;transition:border-color .16s,transform .16s,box-shadow .16s;display:flex;box-shadow:0 10px 30px #0c0f180a}.recharge-card:hover{transform:translateY(-2px);box-shadow:0 18px 44px #0c0f181a}.recharge-card.active{border-color:var(--accent)}.recharge-card-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.recharge-card-top strong{font-size:18px;font-weight:900;display:block}.recharge-card-top em{color:#707583;margin-top:8px;font-size:13px;font-style:normal;font-weight:600;display:block}.recharge-card-top i{color:var(--accent);background:var(--accent-soft);white-space:nowrap;border-radius:5px;padding:3px 8px;font-size:11px;font-style:normal;font-weight:900}.recharge-price{align-items:baseline;gap:8px;min-height:62px;display:flex}.recharge-price small{font-size:18px;font-weight:900}.recharge-price b{font-size:clamp(38px,4vw,50px);font-weight:900;line-height:1}.recharge-price del{color:#8b8f9a;font-size:15px}.recharge-price span{color:#1b1c24;font-size:16px}.recharge-points{grid-template-columns:1fr 1fr;gap:8px;display:grid}.recharge-points>span{border:1px solid var(--line);border-radius:14px;flex-direction:column;justify-content:center;gap:6px;min-height:74px;padding:14px;display:flex}.recharge-points em{color:#737987;font-size:12px;font-style:normal;font-weight:700}.recharge-points strong{color:#20222b;font-size:15px;font-weight:850;line-height:1.35}.recharge-cta{color:#fff;background:#050505;border-radius:999px;justify-content:center;align-items:center;height:44px;font-size:15px;font-weight:850;display:flex}.recharge-card:first-child .recharge-cta{color:#9a9da6;background:#f4f4f5}.recharge-features{color:#2d3039;gap:12px;font-size:13px;font-weight:650;display:grid}.recharge-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.recharge-secondary,.recharge-primary{border-radius:999px;height:40px;padding:0 18px;font-size:13px;font-weight:800}.recharge-secondary{color:#555b68;border:1px solid var(--line);background:#fff}.recharge-primary{color:#fff;background:#050505}.recharge-primary:hover,.recharge-cta:hover{background:var(--accent)}.enterprise-api-modal{z-index:130;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#070a1699;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.enterprise-api-panel{color:#f7f9ff;background:radial-gradient(circle at 20% 14%,#5652e059,#0000 31%),radial-gradient(circle at 67% 92%,#2c87ff2e,#0000 32%),#08112d;border:1px solid #9eb6ff47;border-radius:28px;grid-template-columns:minmax(0,1fr) minmax(410px,.94fr);width:min(1080px,100%);min-height:620px;display:grid;position:relative;overflow:hidden;box-shadow:0 30px 90px #03081e73}.enterprise-api-close{z-index:2;color:#fff;background:#ffffff21;border-radius:50%;width:34px;height:34px;font-size:24px;line-height:1;position:absolute;top:17px;right:18px}.enterprise-api-close:hover{background:#ffffff3b}.enterprise-api-copy{z-index:1;padding:58px 22px 44px 58px;position:relative}.enterprise-api-copy:after{content:"";z-index:-1;background:repeating-linear-gradient(125deg,#0000 0 22px,#a7b2ff14 23px 24px);position:absolute;inset:20% -20% -15% 0;transform:skewY(-8deg);-webkit-mask-image:linear-gradient(#0000,#000 30%,#0000);mask-image:linear-gradient(#0000,#000 30%,#0000)}.enterprise-api-kicker{color:#a9d4ff;letter-spacing:.04em;background:#0d2d69b8;border:1px solid #70b2ff94;border-radius:999px;align-items:center;min-height:28px;padding:0 11px;font-size:12px;font-weight:800;display:inline-flex}.enterprise-api-copy h2{color:#fff;letter-spacing:-.055em;margin:20px 0 14px;font-size:clamp(34px,4vw,52px);line-height:1.08}.enterprise-api-copy>p{color:#bdcce8;max-width:455px;margin:0;font-size:15px;line-height:1.8}.enterprise-api-copy>.enterprise-api-detail{color:#8fa2c8;margin-top:12px;font-size:13px}.enterprise-api-promo{color:#e6ddff;background:#39208757;border:1px solid #9d7bff9e;border-radius:10px;align-items:baseline;gap:8px;margin-top:18px;padding:8px 12px;font-size:13px;font-weight:750;display:inline-flex}.enterprise-api-promo strong{color:#8cbcff;letter-spacing:.02em;font-size:18px}.enterprise-api-points{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:430px;margin-top:20px;display:grid}.enterprise-api-points>div{background:#051236ad;border:1px solid #769eff45;border-radius:14px;padding:12px 15px}.enterprise-api-points strong{color:#eef5ff;font-size:14px;display:block}.enterprise-api-points span{color:#9aafd3;margin-top:4px;font-size:12px;display:block}.enterprise-api-actions{align-items:center;gap:14px;margin-top:25px;display:flex}.enterprise-api-actions button{color:#0d1b51;background:#fff;border-radius:999px;height:44px;padding:0 20px;font-size:14px;font-weight:900}.enterprise-api-actions button:hover{background:#dbeeff}.enterprise-api-actions span{color:#91a6cb;font-size:12px}.enterprise-api-tags{flex-wrap:wrap;gap:7px;margin-top:17px;display:flex}.enterprise-api-tags span{color:#b9c8e8;background:#06123380;border:1px solid #9eb1ff3d;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}.enterprise-lead-form{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0912319e;border-left:1px solid #b5c7ff33;flex-direction:column;padding:48px 42px 35px;display:flex;position:relative}.enterprise-lead-form:before{content:"";pointer-events:none;background:linear-gradient(145deg,#ffffff14,#0000 35%);position:absolute;inset:0}.enterprise-lead-form>*{z-index:1;pointer-events:auto;position:relative}.enterprise-form-grid input,.enterprise-form-grid select,.enterprise-form-grid textarea,.enterprise-form-actions button{z-index:2;pointer-events:auto;position:relative}.enterprise-form-head{position:relative}.enterprise-form-head>span{color:#a9c8ff;letter-spacing:.14em;font:800 10px/1 ui-monospace,monospace}.enterprise-form-head h3{color:#fff;letter-spacing:-.04em;margin:11px 0 6px;font-size:25px}.enterprise-form-head p{color:#aab8d3;margin:0;font-size:12px;line-height:1.65}.enterprise-form-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;display:grid;position:relative}.enterprise-form-grid label{gap:6px;display:grid}.enterprise-form-grid label>span{color:#b9c6df;font-size:11px;font-weight:800}.enterprise-form-grid label>span em{color:#7f90b5;font-style:normal;font-weight:500}.enterprise-form-grid input,.enterprise-form-grid select,.enterprise-form-grid textarea{color:#eef4ff;width:100%;font:inherit;background:#040d279e;border:1px solid #9eb5eb3d;border-radius:10px;outline:none;font-size:12px;transition:all .18s}.enterprise-form-grid input,.enterprise-form-grid select{height:38px;padding:0 10px}.enterprise-form-grid textarea{resize:vertical;min-height:80px;padding:10px;line-height:1.55}.enterprise-form-grid select option{color:#222;background:#fff}.enterprise-form-grid input::placeholder,.enterprise-form-grid textarea::placeholder{color:#6f82a7}.enterprise-form-grid input:focus,.enterprise-form-grid select:focus,.enterprise-form-grid textarea:focus{border-color:#8c73ff;box-shadow:0 0 0 3px #745eff29}.enterprise-form-wide{grid-column:1/-1}.enterprise-form-actions{grid-template-columns:1fr auto;gap:9px;margin-top:16px;display:grid;position:relative}.enterprise-form-actions button{border-radius:11px;height:42px;font-size:13px;font-weight:850}.enterprise-submit{color:#fff;background:linear-gradient(105deg,#7555ff,#277fff);box-shadow:0 10px 20px #445fff40}.enterprise-submit:hover{filter:brightness(1.08)}.enterprise-submit:disabled{opacity:.65;cursor:wait}.enterprise-qr-button{color:#dce9ff;background:#ffffff14;border:1px solid #aabeef5c;padding:0 14px}.enterprise-qr-button:hover{background:#ffffff26}.enterprise-lead-form>small{color:#8292b3;margin-top:10px;font-size:10px;position:relative}.enterprise-form-error{color:#ffafb7;margin:12px 0 -4px;font-size:12px;position:relative}.enterprise-consultation-modal{z-index:140;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#070a169e;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.enterprise-consultation-panel{text-align:center;color:#fff;background:radial-gradient(circle at 82% 0,#9574ff59,#0000 38%),linear-gradient(155deg,#25203f,#11121f);border:1px solid #c1b1ff80;border-radius:28px;width:min(390px,100%);padding:40px 30px 30px;animation:.2s ease-out enterprise-consultation-in;position:relative;box-shadow:0 30px 90px #03081e80}.enterprise-consultation-panel>span{color:#c9bbff;letter-spacing:.14em;font:800 10px/1 ui-monospace,monospace}.enterprise-consultation-panel h2{letter-spacing:-.05em;margin:13px 0 8px;font-size:28px}.enterprise-consultation-panel p{color:#bbb5cd;max-width:260px;margin:0 auto 21px;font-size:13px;line-height:1.65}.enterprise-consultation-panel img{object-fit:contain;background:#fff;border-radius:17px;width:min(220px,100%);height:auto;margin:0 auto;display:block;box-shadow:0 12px 30px #00000040}.enterprise-consultation-close{color:#fff;background:#ffffff1a;border-radius:50%;width:32px;height:32px;font-size:22px;line-height:1;position:absolute;top:13px;right:14px}.enterprise-consultation-close:hover{background:#fff3}@keyframes enterprise-consultation-in{0%{opacity:0;transform:translateY(10px)scale(.97)}to{opacity:1;transform:none}}.invite-modal{z-index:120;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#080a1257;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.invite-panel{background:linear-gradient(145deg,#fffffffa,#f6f9fcf5),linear-gradient(90deg,#7c4dff14,#14b8a614);border:1px solid #ffffffe6;border-radius:24px;width:min(440px,100%);padding:28px;position:relative;box-shadow:0 28px 80px #080a1238}.invite-close{color:#6b6f7b;background:#0c0f180d;border-radius:10px;width:32px;height:32px;font-size:20px;position:absolute;top:14px;right:14px}.invite-close:hover{color:#111827;background:#0c0f1817}.invite-badge{color:#fff;background:#10111d;border-radius:999px;align-items:center;height:28px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.invite-panel h2{color:#10111d;max-width:340px;margin-top:16px;font-size:28px;font-weight:950;line-height:1.16}.invite-panel p{color:#5f6675;margin-top:10px;font-size:14px;line-height:1.7}.invite-code-box{color:#fff;background:#10111d;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding:16px;display:flex}.invite-code-box span{color:#ffffffa8;font-size:12px;font-weight:700}.invite-code-box strong{letter-spacing:1px;font-size:22px}.invite-link-box{color:#5f6675;word-break:break-all;background:#ffffffb8;border:1px solid #0c0f1814;border-radius:14px;margin-top:12px;padding:12px 14px;font-size:12px;line-height:1.5}.invite-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.invite-actions button{color:#333846;background:#0c0f180f;border-radius:12px;height:40px;padding:0 16px;font-size:14px;font-weight:850}.invite-actions .primary{color:#fff;background:var(--accent);box-shadow:0 12px 28px #7c4dff3d}.toast{z-index:30;color:#fff;background:#0f1018;border-radius:999px;padding:9px 18px;font-size:13px;font-weight:700;position:fixed;bottom:36px;left:50%;transform:translate(-50%);box-shadow:0 10px 32px #00000029}@media (max-width:1100px){.workspace-grid{grid-template-columns:1fr}.recharge-grid,.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-grid{grid-template-columns:1fr}}@media (max-width:820px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:1fr}.sidebar{height:auto;margin:4px;position:relative}.app-shell.sidebar-collapsed .sidebar{padding:12px 14px}.app-shell.sidebar-collapsed .brand-row{grid-template-columns:34px 1fr auto;justify-items:start;padding:2px 6px 18px}.app-shell.sidebar-collapsed .brand-text,.app-shell.sidebar-collapsed .side-label{display:block}.app-shell.sidebar-collapsed .side-item{justify-content:start;padding:0 12px}.app-shell.sidebar-collapsed .history-head,.app-shell.sidebar-collapsed .history-list,.app-shell.sidebar-collapsed .sidebar-footer{display:flex}.main{padding:8px 14px 36px}.topbar{justify-content:center;height:auto;padding:4px 0}.top-actions{flex-wrap:wrap;justify-content:center}.invite-top-btn,.top-actions .primary-soft,.enterprise-api-top{height:32px;padding:0 12px;font-size:12px}.profile-hover-card{right:50%;transform:translate(50%,-6px)}.profile-entry:hover .profile-hover-card,.profile-entry:focus-within .profile-hover-card{transform:translate(50%)}.hero-title{font-size:22px}.gallery{grid-template-rows:auto;grid-template-columns:1fr}.gallery-card.tall{grid-row:auto}.recharge-modal{align-items:flex-start;padding:10px}.recharge-panel{border-radius:20px;max-height:calc(100vh - 20px);padding:46px 16px 22px}.recharge-grid{grid-template-columns:1fr}.recharge-card{border-radius:20px;min-height:auto;padding:22px 18px}.recharge-actions{background:#f7f7f8;padding-top:12px;position:sticky;bottom:0}.enterprise-api-modal{align-items:flex-end;padding:12px}.enterprise-api-panel{border-radius:22px;grid-template-columns:1fr;max-height:calc(100vh - 24px);overflow-y:auto}.enterprise-api-copy{padding:56px 22px 28px}.enterprise-lead-form{border-top:1px solid #b5c7ff33;border-left:0;padding:28px 22px}.enterprise-api-actions{flex-direction:column;align-items:flex-start}.invite-modal{align-items:flex-end;padding:12px}.invite-panel{border-radius:22px;padding:24px 18px 18px}.invite-panel h2{font-size:24px}.invite-actions{flex-direction:column-reverse}.invite-actions button{width:100%}}.chat-page{background-color:#f8f9fc;background-image:radial-gradient(80% 60% at 20% 80%,#7c3cff0a 0%,#0000 70%),radial-gradient(60% 50% at 80% 20%,#00c8960a 0%,#0000 70%),radial-gradient(50% 40%,#6496ff08 0%,#0000 70%);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;flex-direction:column;height:100vh;display:flex;position:relative;overflow:hidden}.chat-page:before{content:"";pointer-events:none;opacity:.6;background-image:radial-gradient(2px 2px at 15% 25%,#7c3cff1a,#0000),radial-gradient(2px 2px at 35% 60%,#7c3cff14,#0000),radial-gradient(1px 1px at 55% 30%,#00c8961a,#0000),radial-gradient(2px 2px at 75% 55%,#7c3cff0f,#0000),radial-gradient(1px 1px at 85% 75%,#6496ff1a,#0000),radial-gradient(2px 2px at 25% 85%,#00c89612,#0000),radial-gradient(1px 1px at 65% 15%,#ff966414,#0000);position:absolute;inset:0}.chat-header{z-index:10;background:#fff;border-bottom:1px solid #eef0ff;align-items:center;gap:16px;padding:14px 24px;display:flex}.chat-back{cursor:pointer;color:#555;background:#fff;border:1px solid #e0ddff;border-radius:999px;padding:8px 16px;font-size:13px;transition:all .15s}.chat-back:hover{color:#7c3cff;background:#f5f3ff;border-color:#7c3cff}.chat-title{align-items:center;gap:10px;display:flex}.chat-title h2{color:#1d1e25;margin:0;font-size:16px;font-weight:700}.chat-mode-badge{color:#7c3cff;background:#f0ecff;border-radius:999px;padding:3px 10px;font-size:11px;font-weight:600}.chat-main{flex:1;padding:24px;overflow-y:auto}.chat-messages{flex-direction:column;gap:20px;max-width:800px;margin:0 auto;display:flex}.chat-msg{align-items:flex-start;gap:12px;display:flex}.msg-avatar{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.chat-msg.assistant .msg-avatar{color:#fff;background:linear-gradient(135deg,#7c3cff,#a78bfa);box-shadow:0 2px 8px #7c3cff33}.chat-msg.user .msg-avatar{color:#fff;background:linear-gradient(135deg,#0ea5e9,#38bdf8);box-shadow:0 2px 8px #0ea5e933}.msg-bubble{white-space:pre-wrap;word-break:break-word;border-radius:18px;max-width:75%;padding:14px 18px;font-size:14px;line-height:1.7}.chat-msg.assistant .msg-bubble{color:#1d1e25;background:#fff;border:1px solid #eef0ff;border-top-left-radius:4px}.chat-msg.user .msg-bubble{color:#1d1e25;background:#fff;border:1px solid #e0f2fe;border-top-right-radius:4px}.msg-bubble.typing{gap:6px;padding:18px 24px;display:flex}.msg-bubble.typing span{background:#c4b5ff;border-radius:50%;width:8px;height:8px;animation:1.4s ease-in-out infinite both typingBounce}.msg-bubble.typing span:first-child{animation-delay:0s}.msg-bubble.typing span:nth-child(2){animation-delay:.16s}.msg-bubble.typing span:nth-child(3){animation-delay:.32s}.chat-inline-wait{background:linear-gradient(135deg,#fff,#faf7ff);border:1px solid #ebe4fb;border-radius:5px 18px 18px;align-items:center;gap:11px;min-width:220px;padding:12px 15px;display:inline-flex;box-shadow:0 10px 28px #56398912}.chat-inline-wait>span:last-child{gap:2px;display:grid}.chat-inline-wait strong{color:#57406f;font-size:12px}.chat-inline-wait em{color:#9585aa;font-size:11px;font-style:normal}.chat-inline-wait-orbit{border:2px solid #875fd433;border-top-color:#7b51cf;border-radius:50%;flex:none;width:28px;height:28px;animation:1.1s linear infinite chatWaitSpin;position:relative}.chat-inline-wait-orbit i,.chat-inline-wait-orbit b{content:"";border-radius:50%;display:block;position:absolute}.chat-inline-wait-orbit i{background:#875dda;width:10px;height:10px;top:7px;left:7px;box-shadow:0 0 12px #875ddaa6}.chat-inline-wait-orbit b{background:#e3b7e7;width:5px;height:5px;bottom:1px;right:-2px}@keyframes chatWaitSpin{to{transform:rotate(360deg)}}@keyframes typingBounce{0%,80%,to{opacity:.4;transform:scale(.6)}40%{opacity:1;transform:scale(1)}}.chat-footer{background:#fff;border-top:1px solid #eef0ff;padding:16px 24px 24px}.chat-input-wrap{background:#f8f9fc;border:1px solid #e0ddff;border-radius:20px;align-items:flex-end;gap:10px;max-width:800px;margin:0 auto;padding:8px 8px 8px 18px;transition:border-color .2s;display:flex}.chat-input-wrap:focus-within{border-color:#7c3cff;box-shadow:0 0 0 3px #7c3cff14}.chat-input{resize:none;color:#1d1e25;background:0 0;border:none;outline:none;flex:1;max-height:120px;font-family:inherit;font-size:14px;line-height:1.5}.chat-input::placeholder{color:#aaa}.chat-send{color:#fff;cursor:pointer;background:#050505;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:18px;transition:all .15s;display:flex}.chat-send:hover{background:#7c3cff}.chat-send:disabled{cursor:default;background:#ccc}.chat-loading{color:#888;flex-direction:column;justify-content:center;align-items:center;gap:16px;height:100vh;display:flex}.spinner{border:3px solid #eef0ff;border-top-color:#7c3cff;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.chat-page{background:radial-gradient(58% 34% at 12% 0,#8e71df1c,#0000 72%),radial-gradient(48% 32% at 91% 8%,#58bad21a,#0000 74%),linear-gradient(145deg,#f5f7fc 0%,#f8f7fc 47%,#f3f7fa 100%);height:auto;min-height:100vh;overflow:visible}.chat-main{padding:22px 28px 8px;overflow:visible}.chat-workspace{grid-template-columns:minmax(0,1fr) minmax(250px,290px);align-items:start;gap:22px;width:min(1560px,100%);height:auto}.chat-thread{min-height:auto;overflow:visible}.msg-stack{max-width:min(88%,1180px)}.long-form-workflow{width:min(1080px,100%)}.character-sidebar{background:#ffffffed;border:1px solid #dee0eee6;border-radius:22px;max-height:calc(100vh - 100px);padding:16px;position:sticky;top:80px;overflow-y:auto;box-shadow:0 14px 36px #272e4812}.character-sidebar-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.character-sidebar-head div{gap:3px;display:grid}.character-sidebar-head strong{color:#24202a;font-size:15px}.character-sidebar-head span{color:#8b8291;font-size:11px}.character-sidebar-head button{color:#6745a2;cursor:pointer;background:#faf8ff;border:1px solid #ded5f0;border-radius:9px;padding:6px 8px;font-size:11px;font-weight:750}.character-sidebar-list{gap:8px;display:grid}.character-sidebar-item{cursor:pointer;background:#ffffffc7;border:1px solid #ebe6f0;border-radius:12px;grid-template-columns:46px minmax(0,1fr);gap:9px;padding:8px;transition:opacity .15s,border-color .15s;display:grid}.character-sidebar-item:hover{border-color:#bfa9e9}.character-sidebar-item.muted{opacity:.42}.character-sidebar-thumb{cursor:zoom-in;background:#ece8f3 50%/cover no-repeat;border:0;border-radius:9px;width:46px;height:46px;padding:0}.character-sidebar-item>div{gap:2px;min-width:0;display:grid}.character-sidebar-item strong{color:#44394d;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.character-sidebar-item span,.character-sidebar-item small{color:#887e8f;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.4;overflow:hidden}.character-sidebar-item input{border:1px solid #ded6e5;border-radius:6px;width:100%;min-width:0;height:27px;padding:0 7px;font-size:10px}.character-sidebar-actions{flex-direction:row;grid-column:1/-1;gap:6px;grid-template-columns:none!important;display:flex!important}.character-sidebar-actions button{color:#6a527f;cursor:pointer;background:#fff;border:1px solid #ded6e5;border-radius:7px;padding:5px 8px;font-size:10px}.chat-page{padding-bottom:var(--chat-composer-height,160px)}.chat-return-bottom{right:32px;bottom:calc(var(--chat-composer-height,160px) + 16px);z-index:22;color:#634597;cursor:pointer;background:#fff;border:1px solid #dcd1ed;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:800;position:fixed;box-shadow:0 10px 28px #32234b29}.long-form-planning-status{color:#615270;background:#fbf9ff;border:1px solid #dfd5ef;border-radius:12px;align-items:center;gap:9px;width:fit-content;margin:4px auto 0;padding:9px 12px;font-size:12px;display:flex}.long-form-planning-status span{color:#8b8095}.long-form-planning-status button{color:#67489a;font:inherit;cursor:pointer;background:#eee8f8;border:0;border-radius:7px;padding:5px 8px;font-size:11px;font-weight:800}.long-form-version-row button.previewing{color:#68459d;background:#f5f0fb;border-color:#7d57c1}@media (max-width:1023px){.chat-workspace{grid-template-columns:1fr}.character-sidebar{order:2;max-height:none;position:static}.chat-thread{order:1}.chat-main{padding-inline:16px}.chat-return-bottom{right:18px}}.chat-header{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffdb;min-height:68px;padding:12px 28px}.chat-title{flex:1;min-width:0}.chat-title h2{text-overflow:ellipsis;white-space:nowrap;max-width:720px;font-size:17px;font-weight:850;overflow:hidden}.chat-header-meta{color:#6f7481;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;font-size:12px;font-weight:700;display:flex}.chat-header-meta span{background:#f3f4f7;border-radius:999px;padding:5px 10px}.result-toggle{color:#fff;background:#0b0b10;border-radius:999px;height:30px;padding:0 12px;font-size:12px;font-weight:850}.result-toggle:hover{background:var(--accent)}.chat-main{padding:22px}.chat-workspace{grid-template-columns:minmax(0,1fr) 360px;gap:18px;width:min(1280px,100%);height:100%;margin:0 auto;display:grid}.chat-workspace.result-collapsed{grid-template-columns:minmax(0,1fr);max-width:980px}.chat-thread{background:#ffffff8a;border:1px solid #ffffffc7;border-radius:24px;min-height:0;overflow-y:auto;box-shadow:0 18px 48px #0c0f180f}.chat-messages{max-width:860px;padding:28px 22px}.chat-msg{align-items:flex-start;gap:12px}.chat-msg.user{flex-direction:row-reverse}.msg-avatar{width:38px;height:38px;font-size:14px;font-weight:900;position:relative;overflow:hidden}.avatar-ai-mark,.avatar-user-mark{width:100%;height:100%;display:block;position:relative}.avatar-ai-mark{background:radial-gradient(circle at 64% 34%,#fff 0 8%,#0000 9%),radial-gradient(circle at 36% 34%,#fff 0 8%,#0000 9%),linear-gradient(135deg,#15131f,#7c4dff 72%)}.avatar-ai-mark:before{content:"";border:2px solid #ffffffe6;border-top:0;border-radius:0 0 14px 14px;width:18px;height:10px;position:absolute;top:19px;left:10px}.avatar-ai-mark:after{content:"";background:#ffffff3d;border-radius:999px;width:18px;height:4px;position:absolute;top:8px;left:10px}.avatar-user-mark{background:radial-gradient(circle at 50% 35%,#fff 0 16%,#0000 17%),radial-gradient(at 50% 78%,#fff 0 26%,#0000 27%),linear-gradient(135deg,#0ea5e9,#38bdf8)}.avatar-user-mark:after{content:"";border:1px solid #ffffff6b;border-radius:50%;position:absolute;inset:5px}.msg-stack{gap:10px;max-width:min(76%,720px);display:grid}.long-form-planning-message{width:auto}.long-form-planning-card{align-content:center;gap:2px;width:220px;min-height:86px;display:grid}.long-form-planning-indicator{color:#7c4dff;align-items:center;gap:7px;height:17px;display:flex}.long-form-planning-spark{color:#7c4dff;margin-right:2px;font-size:16px;line-height:1;animation:1.5s ease-in-out infinite longFormPlanningSparkBreath;display:block}.long-form-planning-dot{background:#dccdf0;border-radius:50%;width:5px;height:5px;animation:1.5s ease-in-out infinite longFormPlanningDotPulse}.long-form-planning-dot:nth-child(3){animation-delay:.15s}.long-form-planning-dot:nth-child(4){animation-delay:.3s}.long-form-planning-title,.long-form-planning-stage,.long-form-planning-estimate{white-space:nowrap;margin:0}.long-form-planning-title{color:#4b3d58;font-size:15px;font-weight:600;line-height:19px}.long-form-planning-stage{color:#93869f;text-overflow:ellipsis;font-size:12px;line-height:15px;overflow:hidden}.long-form-planning-estimate{color:#aa9caf;font-size:11px;line-height:14px}.long-form-planning-card>button{color:#9b8baa;cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;font-size:12px;font-weight:500;line-height:14px}.long-form-planning-card>button:hover{color:#725789;text-decoration:underline}@keyframes longFormPlanningSparkBreath{0%,to{opacity:.62;transform:scale(.92)}50%{opacity:1;transform:scale(1.06)}}@keyframes longFormPlanningDotPulse{0%,to{opacity:.48;background:#dccdf0;transform:scale(.8)}36%{opacity:1;background:#7c4dff;transform:scale(1.1)}58%{opacity:.68;background:#cdb8e3;transform:scale(.9)}}@media (prefers-reduced-motion:reduce){.long-form-planning-spark,.long-form-planning-dot{animation:none}}.chat-msg.user .msg-stack{justify-items:end}.msg-bubble{border-radius:20px;max-width:100%;padding:16px 18px;font-size:14px;line-height:1.75;box-shadow:0 10px 28px #0c0f180a}.chat-msg.user .msg-bubble{background:#fff;border:1px solid #dbeeff}.chat-msg.assistant .msg-bubble{background:#fff;border:1px solid #ececff}.video-task-card{background:#ffffffeb;border:1px solid #e8e9f2;border-radius:18px;width:min(520px,100%);padding:14px;box-shadow:0 14px 38px #0c0f1814}.chat-reference-list{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;width:min(520px,100%);display:grid}.chat-msg.user .chat-reference-list{justify-self:end}.chat-reference-item{background:#ffffffe0;border:1px solid #e7e9f1;border-radius:14px;align-items:center;gap:9px;min-width:0;padding:8px;display:flex;box-shadow:0 10px 28px #0c0f180d}.reference-thumb,.reference-file-icon{background:linear-gradient(135deg,#eef1f6,#dfe4ec);border-radius:12px;flex-shrink:0;width:52px;height:52px}.reference-thumb{background-position:50%;background-repeat:no-repeat;background-size:cover}.reference-video{object-fit:cover;background:#11131a}.reference-file-icon:after{content:"";background:#c7ced8;border-radius:4px;width:20px;height:14px;margin:19px auto;display:block}.chat-reference-item div{gap:3px;min-width:0;display:grid}.chat-skill-list{flex-wrap:wrap;gap:8px;width:min(520px,100%);display:flex}.chat-msg.user .chat-skill-list{justify-self:end}.chat-skill-list span{color:#6d3dff;background:#f0eaff;border:1px solid #dfd2ff;border-radius:9px;align-items:center;min-height:28px;padding:4px 10px;font-size:13px;font-weight:850;display:inline-flex}.chat-reference-item strong{color:#242733;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:12px;overflow:hidden}.chat-reference-item span{color:#777d89;font-size:11px;font-weight:700}.video-task-head{align-items:center;gap:10px;margin-bottom:12px;display:flex}.video-task-head strong{color:#171820;font-size:14px;display:block}.video-task-head p{color:#767c89;margin:2px 0 0;font-size:12px}.task-dot{background:#8b5cf6;border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 6px #8b5cf61f}.task-dot.done{background:#10b981;box-shadow:0 0 0 6px #10b9811f}.task-dot.failed{background:#ef4444;box-shadow:0 0 0 6px #ef44441f}.chat-video,.result-video-card video{aspect-ratio:9/16;object-fit:contain;background:#080910;border-radius:14px;width:100%;max-height:520px;display:block}.video-actions{gap:8px;margin-top:10px;display:flex}.video-actions a,.result-video-card a{color:#fff;background:#0b0b10;border-radius:999px;justify-content:center;align-items:center;height:34px;padding:0 12px;font-size:12px;font-weight:800;text-decoration:none;display:inline-flex}.video-actions a+a{color:#20232d;background:#f2f3f6}.video-progress{background:#f5f6fa;border-radius:14px;align-items:center;height:46px;padding:0 14px;display:flex;position:relative;overflow:hidden}.video-progress span{background:linear-gradient(90deg,#0000,#7c4dff2e,#0000);width:42%;animation:1.6s linear infinite videoProgress;position:absolute;inset:0}.video-progress em{color:#696f7c;font-size:12px;font-style:normal;font-weight:750;position:relative}@keyframes videoProgress{0%{transform:translate(-100%)}to{transform:translate(240%)}}.result-panel{background:#ffffffb8;border:1px solid #ffffffc7;border-radius:24px;min-height:0;padding:18px;overflow-y:auto;box-shadow:0 18px 48px #0c0f180f}.result-panel-head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.result-panel-actions{align-items:center;gap:8px;display:flex}.result-panel-head span{color:#181922;font-size:16px;font-weight:900}.result-panel-head strong{color:#07865d;background:#eefaf4;border-radius:999px;padding:5px 10px;font-size:12px}.result-panel-actions button{color:#6a707d;background:#f1f2f5;border-radius:50%;width:28px;height:28px;font-size:18px;font-weight:800;line-height:1}.result-panel-actions button:hover{color:var(--accent);background:#e9e5ff}.result-video-card{gap:12px;display:grid}.result-video-info{flex-direction:column;gap:3px;display:flex}.result-video-info strong{font-size:14px}.result-video-info span,.result-task code{color:#767c89;word-break:break-all;font-size:12px}.result-empty{text-align:center;background:#ffffff94;border:1px dashed #dfe2ea;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:360px;display:flex}.result-empty-icon{color:#fff;background:linear-gradient(135deg,#0c0d14,#6d4cff);border-radius:18px;justify-content:center;align-items:center;width:58px;height:58px;font-size:22px;display:flex}.result-empty strong{color:#181922;font-size:16px}.result-empty p{color:#767c89;max-width:220px;font-size:13px}.result-task{background:#f6f7fa;border-radius:14px;gap:5px;margin-top:14px;padding:12px;display:grid}.result-task span{color:#555b68;font-size:12px;font-weight:850}.chat-footer{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffe6}.chat-input-wrap{background:#fff;border-radius:22px;max-width:900px;min-height:56px}.chat-send{border-radius:16px;width:auto;min-width:58px;padding:0 14px;font-size:14px;font-weight:850}@media (max-width:980px){.chat-workspace{grid-template-columns:1fr}.result-panel{order:-1;max-height:none}.result-empty{min-height:180px}}@media (max-width:640px){.chat-header{flex-wrap:wrap;gap:8px;padding:10px 12px}.chat-header-meta{order:3;width:100%}.chat-main{padding:10px}.chat-messages{padding:18px 12px}.msg-stack{max-width:calc(100vw - 92px)}.chat-footer{padding:10px}.chat-input-wrap{max-width:none}}.short-drama-workflow{gap:18px;width:min(1120px,100%);margin:0 auto;padding-bottom:28px;display:grid}.drama-workflow-intro,.drama-plan-card,.drama-outline-section,.drama-workflow-error,.drama-stage-status{background:#ffffffd6;border:1px solid #ffffffdb;box-shadow:0 18px 48px #0c0f180f}.drama-workflow-intro{border-radius:24px;justify-content:space-between;align-items:flex-start;gap:18px;padding:24px 26px;display:flex}.drama-section-kicker{color:#7650e8;letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px;font-size:11px;font-weight:900;display:block}.drama-workflow-intro h1,.drama-plan-heading h2,.drama-section-title h2{color:#171820;margin:0}.drama-workflow-intro h1{font-size:24px}.drama-workflow-intro p{color:#676d7a;max-width:760px;margin:10px 0 0;font-size:13px;line-height:1.7}.drama-cost-badge{color:#6d3dff;background:#f3edff;border-radius:999px;flex:none;padding:7px 11px;font-size:12px;font-weight:850}.drama-stage-status{color:#5d4b98;border-radius:16px;align-items:center;gap:10px;padding:15px 18px;display:flex}.drama-stage-status strong{font-size:14px}.drama-stage-status>span:last-child{color:#8a829b;font-size:12px}.drama-stage-spinner{border:2px solid #ddd2ff;border-top-color:#7c3cff;border-radius:50%;flex:none;width:16px;height:16px;animation:.8s linear infinite spin}.drama-plan-card,.drama-outline-section{border-radius:24px;padding:24px}.drama-plan-heading{border-bottom:1px solid #eef0f6;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:18px;display:flex}.drama-plan-heading h2{font-size:25px}.drama-plan-heading p{color:#787d89;margin:8px 0 0;font-size:12px;font-weight:800}.drama-plan-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.drama-plan-field,.drama-relationship{background:#f7f8fb;border-radius:15px;padding:14px}.drama-plan-field span,.drama-relationship span,.drama-outline-grid b,.drama-beats>b,.drama-scene-card b{color:#777d8a;margin-bottom:5px;font-size:11px;font-weight:900;display:block}.drama-plan-field p,.drama-relationship p,.drama-outline-grid p,.drama-beats li,.drama-scene-card p{color:#303440;margin:0;font-size:13px;line-height:1.72}.drama-relationship{margin-top:14px}.drama-character-section{margin-top:22px}.drama-subsection-title,.drama-section-title,.drama-episode-heading,.drama-script-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.drama-subsection-title strong{color:#1b1d25;font-size:15px}.drama-subsection-title span,.drama-section-title>span,.drama-script-heading span{color:#858b97;font-size:12px;font-weight:700}.drama-character-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:12px;display:grid}.drama-character-card{background:#fff;border:1px solid #ececf4;border-radius:16px;padding:15px}.drama-character-name{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.drama-character-name strong{color:#242733;font-size:15px}.drama-character-name span{color:#7b8190;font-size:11px;font-weight:800}.drama-character-card p{color:#505663;margin:10px 0 0;font-size:12px;line-height:1.6}.drama-character-card p b{color:#8a829b;margin-right:5px}.drama-section-title{margin-bottom:17px}.drama-section-title h2{font-size:20px}.drama-episode-list{gap:13px;display:grid}.drama-episode-card{background:#fff;border:1px solid #ececf4;border-radius:18px;padding:18px}.drama-episode-heading{align-items:flex-start}.drama-episode-heading>div>span{color:#7650e8;font-size:11px;font-weight:900}.drama-episode-heading h3{color:#1d2029;margin:4px 0 0;font-size:17px}.drama-episode-button,.drama-workflow-error button,.drama-inline-error button{color:#6740cf;cursor:pointer;background:#f7f3ff;border:1px solid #dcd2ff;border-radius:999px;min-height:34px;padding:0 12px;font-size:12px;font-weight:850}.drama-episode-button:hover,.drama-workflow-error button:hover,.drama-inline-error button:hover{background:#ece4ff}.drama-episode-button:disabled,.drama-workflow-error button:disabled,.drama-inline-error button:disabled{opacity:.55;cursor:default}.drama-outline-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.drama-outline-grid>div{background:#f8f9fc;border-radius:13px;padding:11px 12px}.drama-beats{background:#fbfaff;border:1px solid #efeaff;border-radius:14px;margin-top:14px;padding:13px 15px}.drama-beats ol{gap:5px;margin:0;padding-left:20px;display:grid}.drama-outline-tags{flex-wrap:wrap;gap:6px;margin-top:13px;display:flex}.drama-outline-tags span{color:#6e7482;background:#f1f4f8;border-radius:7px;padding:4px 8px;font-size:11px;font-weight:800}.drama-script-card{background:#fafafa;border:1px solid #e9e9ef;border-radius:15px;margin-top:16px;padding:15px}.drama-script-heading strong{color:#232630;font-size:14px}.drama-script-card h4{color:#3d4150;margin:10px 0 12px;font-size:15px}.drama-scene-list{gap:10px;display:grid}.drama-scene-card{background:#fff;border:1px solid #ececf2;border-radius:13px;padding:13px}.drama-scene-meta{color:#7052c9;font-size:12px;font-weight:900}.drama-scene-characters{color:#757b88;margin-top:5px;font-size:11px;font-weight:800}.drama-scene-card p{margin-top:9px}.drama-scene-card p b{color:#777d8a;margin-right:6px;display:inline}.drama-dialogue{background:#faf8ff;border-left:3px solid #cfc0ff;margin-top:9px;padding:10px}.drama-dialogue b{display:block}.drama-dialogue p{color:#343743;margin-top:5px}.drama-ending-state{color:#785c38;background:#fff5e9;border-radius:11px;margin-top:12px;padding:10px 12px;font-size:12px;line-height:1.6}.drama-ending-state b{margin-right:6px}.drama-workflow-error,.drama-inline-error{background:#fff7f7;border-color:#ffd9d9;border-radius:15px;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.drama-workflow-error>div,.drama-inline-error{color:#a43d47}.drama-workflow-error strong{font-size:14px;display:block}.drama-workflow-error span{color:#9a6870;margin-top:5px;font-size:12px;line-height:1.5;display:block}.drama-inline-error{margin-top:14px;font-size:12px;line-height:1.5}.drama-inline-error button{background:#fff;flex:none}.drama-workflow-empty{text-align:center;color:#8a8f9a;padding:48px 20px}@media (max-width:640px){.short-drama-workflow{gap:12px}.drama-workflow-intro,.drama-plan-card,.drama-outline-section{border-radius:18px;padding:17px}.drama-workflow-intro{display:grid}.drama-workflow-intro h1{font-size:20px}.drama-plan-fields,.drama-outline-grid{grid-template-columns:1fr}.drama-episode-heading,.drama-workflow-error,.drama-inline-error{flex-direction:column;align-items:flex-start}.drama-episode-button,.drama-workflow-error button,.drama-inline-error button{width:100%}}.admin-page{color:#171820;background:#f5f6fa;min-height:100vh;padding:28px}.admin-console-shell{background:#f6f6f8;grid-template-columns:236px minmax(0,1fr);gap:20px;padding:18px;display:grid}.admin-sidebar{color:#d4d2db;background:#111118;border:1px solid #e5e4e9;border-radius:20px;height:calc(100vh - 36px);padding:18px 12px;position:sticky;top:18px;overflow:auto}.admin-sidebar-brand{color:#fff;padding:5px 10px 20px}.admin-sidebar-brand b{font-size:18px;display:block}.admin-sidebar-brand span{letter-spacing:.15em;color:#9b94af;font-size:10px}.admin-sidebar section{margin:14px 0}.admin-sidebar small{color:#827d91;letter-spacing:.1em;padding:0 10px 7px;font-size:10px;display:block}.admin-nav-item{color:#cac7d1;text-align:left;background:0 0;border:0;border-radius:10px;width:100%;padding:10px;font-size:13px;font-weight:700;display:block}.admin-nav-item i{color:#a999d7;width:22px;font-style:normal;display:inline-block}.admin-nav-item:hover,.admin-nav-item.active{color:#fff;background:#302849}.admin-content{min-width:0}.admin-header{justify-content:space-between;align-items:center;max-width:1320px;margin:0 auto 18px;padding:14px 6px;display:flex}.admin-header span{color:#807c8b;font-size:12px;font-weight:800}.admin-header h1{margin:3px 0 0;font-size:25px}.admin-header>div:last-child{align-items:center;gap:9px;display:flex}.admin-header em{color:#6547ba;font-size:12px;font-style:normal;font-weight:800}.admin-header button,.admin-primary{background:#fff;border:1px solid #e3e1e8;border-radius:10px;padding:9px 13px;font-size:12px;font-weight:800}.admin-header button.dark,.admin-primary{color:#fff;background:#17151d;border-color:#17151d}.admin-primary:hover,.admin-header button.dark:hover{background:#4d3b7d}.admin-modal{z-index:1000;background:#11111861;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.admin-modal section{background:#fff;border:1px solid #e5e4e9;border-radius:20px;gap:12px;width:min(440px,100%);padding:25px;display:grid;box-shadow:0 22px 70px #11111833}.admin-modal h2{margin:0;font-size:20px}.admin-modal p{color:#686372;margin:0;font-size:13px}.admin-modal input,.admin-modal select{border:1px solid #dedce4;border-radius:10px;height:42px;padding:0 12px}.admin-temporary-password{color:#fff;letter-spacing:.05em;overflow-wrap:anywhere;background:#17151d;border-radius:10px;padding:13px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:16px;font-weight:800;display:block}.admin-modal section>div:last-child{justify-content:flex-end;gap:9px;display:flex}.points-plus{color:#168349;font-weight:800}.points-minus{color:#c53b48;font-weight:800}.admin-hero{grid-template-columns:minmax(0,1fr) minmax(320px,420px);align-items:stretch;gap:18px;max-width:1320px;margin:0 auto 18px;display:grid}.admin-hero>div{background:#fff;border:1px solid #e7e9f0;border-radius:18px;padding:22px;box-shadow:0 12px 36px #0c0f180d}.admin-kicker{color:#08734f;background:#eff7f2;border-radius:999px;margin-bottom:8px;padding:4px 9px;font-size:12px;font-weight:850;display:inline-flex}.admin-hero h1{margin-bottom:8px;font-size:30px;line-height:1.2}.admin-hero p,.admin-panel-head p{color:#69707d;font-size:13px;line-height:1.7}.admin-formula{flex-direction:column;justify-content:center;gap:9px;display:flex}.admin-formula span{color:#767d89;font-size:12px;font-weight:850}.admin-formula strong{font-size:16px;line-height:1.5}.admin-formula em{color:#5a6270;font-size:13px;font-style:normal}.admin-logout{color:#fff;background:#101118;border-radius:999px;width:fit-content;height:34px;margin-top:6px;padding:0 14px;font-size:12px;font-weight:850}.admin-logout:hover{background:#7c4dff}.admin-tabs{flex-wrap:wrap;gap:8px;max-width:1320px;margin:0 auto 14px;display:flex}.admin-tabs button{color:#3b404c;background:#fff;border:1px solid #e5e7ee;border-radius:999px;height:38px;padding:0 16px;font-size:13px;font-weight:850}.admin-tabs button.active{color:#fff;background:#101118;border-color:#101118}.admin-tabs .admin-enterprise-link{color:#6547ba;background:#faf8ff;border-color:#d8cbff}.admin-tabs .admin-enterprise-link:hover{background:#f1edff;border-color:#7c4dff}.admin-message{color:#7a5200;background:#fff8e5;border:1px solid #ffe2a3;border-radius:12px;max-width:1320px;margin:0 auto 14px;padding:10px 14px;font-size:13px;font-weight:750}.admin-metrics,.admin-panel{max-width:1320px;margin:0 auto 16px}.admin-metrics{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;display:grid}.admin-metrics>div{background:#fff;border:1px solid #e7e9f0;border-radius:16px;flex-direction:column;justify-content:space-between;min-height:94px;padding:16px;display:flex;box-shadow:0 10px 28px #0c0f180a}.admin-metrics span{color:#69707d;font-size:12px;font-weight:850}.admin-metrics strong{font-size:23px;line-height:1.1}.admin-metrics .ok{color:#08734f}.admin-metrics .bad{color:#c0392b}.boss-enterprise-alert{text-align:left;background:linear-gradient(140deg,#faf8ff,#f2edff);border:1px solid #ded1ff;border-radius:16px;min-height:94px;padding:16px;box-shadow:0 10px 28px #48319614}.boss-enterprise-alert span{color:#694db6;font-size:12px;font-weight:850;display:block}.boss-enterprise-alert strong{color:#3f276f;margin-top:9px;font-size:23px;line-height:1.1;display:block}.boss-enterprise-alert em{color:#74688e;margin-top:6px;font-size:11px;font-style:normal;display:block}.admin-panel{background:#fff;border:1px solid #e7e9f0;border-radius:18px;padding:18px;box-shadow:0 12px 36px #0c0f180d}.admin-panel-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.admin-panel-head h2{margin-bottom:4px;font-size:18px}.admin-primary{color:#fff;background:#101118;border-radius:999px;height:38px;padding:0 16px;font-size:13px;font-weight:850}.admin-primary:disabled,.admin-cost-edit button:disabled{opacity:.5;cursor:default}.admin-note-grid,.admin-pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.admin-note-grid>div{background:#f7f8fb;border:1px solid #eceef4;border-radius:14px;gap:8px;padding:15px;display:grid}.admin-note-grid strong{font-size:14px}.admin-note-grid span{color:#636b78;font-size:13px;line-height:1.7}.admin-pricing-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.admin-pricing-grid label{color:#5c6472;gap:7px;font-size:12px;font-weight:850;display:grid}.admin-pricing-grid input,.admin-pricing-grid select,.admin-table input{color:#171820;background:#fff;border:1px solid #dfe3eb;border-radius:10px;width:100%;height:36px;padding:0 10px}.admin-table-wrap{width:100%;overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;min-width:900px;font-size:13px}.admin-table th{text-align:left;color:#596170;white-space:nowrap;background:#f6f7fa;border-bottom:1px solid #e7e9f0;padding:11px 10px}.admin-table td{vertical-align:top;color:#242833;border-bottom:1px solid #eef0f5;padding:11px 10px;line-height:1.55}.admin-table code{color:#505866;background:#f1f3f7;border-radius:6px;margin-bottom:5px;padding:2px 6px;font-size:12px;display:inline-block}.admin-status{color:#5e6674;background:#eef0f4;border-radius:999px;justify-content:center;align-items:center;min-height:24px;padding:3px 8px;font-size:12px;font-weight:850;display:inline-flex}.admin-status.ok,.admin-status.done{color:#08734f;background:#e8f8ef}.admin-status.bad,.admin-status.failed{color:#c0392b;background:#ffe9e9}.admin-status.processing,.admin-status.queued{color:#8a6208;background:#fff4d9}.admin-status.muted{color:#9096a3;background:#f1f2f5}.enterprise-leads-table{min-width:1120px}.enterprise-leads-table td strong{color:#202534}.enterprise-leads-table .table-muted{margin-top:4px;display:block}.enterprise-requirement{min-width:210px;max-width:300px;color:#566070!important}.enterprise-status-select{color:#8a6208;background:#fff4d9;border:0;border-radius:999px;min-width:88px;height:31px;padding:0 9px;font-size:12px;font-weight:800}.enterprise-status-select.contacted{color:#225b9f;background:#e9f2ff}.enterprise-status-select.negotiating{color:#855a06;background:#fff1c9}.enterprise-status-select.won{color:#08734f;background:#e8f8ef}.enterprise-status-select.closed{color:#707785;background:#f0f2f5}.enterprise-empty{text-align:center;color:#8b919d!important;padding:34px!important}.usage-table{min-width:1180px}.admin-cost-edit{grid-template-columns:88px 88px 58px;gap:6px;display:grid}.admin-cost-edit input{height:30px;padding:0 8px;font-size:12px}.admin-cost-edit button{color:#fff;background:#101118;border-radius:9px;font-size:12px;font-weight:850}.call-log-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.call-log-metrics div{background:#f7f8fb;border:1px solid #eceff5;border-radius:14px;align-content:space-between;min-height:84px;padding:14px;display:grid}.call-log-metrics span,.table-muted{color:#747b88;font-size:12px;font-weight:750}.call-log-metrics strong{font-size:24px}.call-log-table{min-width:1320px}.prompt-preview{color:#3c4350;word-break:break-word;max-width:280px;font-size:12px;line-height:1.55}.boss-kpis{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;max-width:1320px;margin:0 auto 16px;display:grid}.boss-kpis div,.boss-panel{background:#fff;border:1px solid #e7e9f0;border-radius:18px;box-shadow:0 12px 36px #0c0f180d}.boss-kpis div{align-content:space-between;min-height:118px;padding:16px;display:grid}.boss-kpis span{color:#69707d;font-size:12px;font-weight:900}.boss-kpis strong{font-size:26px;line-height:1.1}.boss-kpis em{color:#8a909b;font-size:11px;font-style:normal;font-weight:750}.boss-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:1320px;margin:0 auto 16px;display:grid}.boss-panel{min-height:280px;padding:18px}.boss-panel-wide{grid-column:span 2}.boss-panel-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.boss-panel-head h2{font-size:16px}.boss-panel-head span{color:#6a7280;background:#f3f4f7;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:850}.line-chart{grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:10px;height:210px;padding-top:24px;display:grid}.line-point{background:linear-gradient(#7c4dff,#c6b5ff);border-radius:999px 999px 4px 4px;justify-content:center;align-items:flex-end;min-height:8px;display:flex;position:relative}.line-point span{white-space:nowrap;color:#505866;font-size:11px;font-weight:850;position:absolute;bottom:calc(100% + 8px)}.line-point em,.bar-item em{color:#7b8290;font-size:11px;font-style:normal;font-weight:750;position:absolute;top:calc(100% + 8px)}.donut-wrap{grid-template-columns:160px 1fr;align-items:center;gap:16px;display:grid}.donut{border-radius:50%;width:154px;height:154px;position:relative}.donut:after{content:"";background:#fff;border-radius:50%;position:absolute;inset:34px;box-shadow:inset 0 0 0 1px #eef0f5}.legend-list{gap:10px;display:grid}.legend-list span{color:#4b5361;align-items:center;gap:8px;font-size:13px;font-weight:800;display:flex}.legend-list i{border-radius:50%;width:10px;height:10px}.legend-list .green{background:#10b981}.legend-list .amber{background:#f59e0b}.legend-list .red{background:#ef4444}.bar-chart{grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:12px;height:210px;display:grid}.bar-item{justify-content:center;align-items:flex-end;min-width:0;height:180px;display:flex;position:relative}.bar-item span{background:linear-gradient(#0ea5e9,#9bdcff);border-radius:12px 12px 4px 4px;width:min(54px,80%)}.bar-item strong{color:#3b4350;font-size:12px;position:absolute;bottom:calc(100% - 14px)}.role-split{grid-template-columns:1fr 1fr;gap:10px;margin-top:24px;display:grid}.role-split div{background:#f7f8fb;border:1px solid #eceff5;border-radius:14px;padding:16px}.role-split strong{font-size:28px;display:block}.role-split span{color:#69707d;font-size:12px;font-weight:850}.progress-row{background:#edf0f5;border-radius:999px;height:12px;margin-top:18px;overflow:hidden}.progress-row span{border-radius:inherit;background:linear-gradient(90deg,#10b981,#7c4dff);height:100%;display:block}.rank-list{gap:12px;display:grid}.rank-row{grid-template-columns:28px 110px minmax(0,1fr) 76px;align-items:center;gap:10px;display:grid}.rank-row b{color:#fff;background:#101118;border-radius:50%;place-items:center;width:26px;height:26px;font-size:12px;display:grid}.rank-row span{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:13px;font-weight:850;overflow:hidden}.rank-row i{background:#edf0f5;border-radius:999px;height:10px;overflow:hidden}.rank-row i em{border-radius:inherit;background:linear-gradient(90deg,#7c4dff,#10b981);height:100%;display:block}.rank-row strong{text-align:right;font-size:13px}.mini-bars{align-items:flex-end;gap:10px;height:160px;padding-top:20px;display:flex}.mini-bars span{background:linear-gradient(#11131b,#7c4dff);border-radius:999px 999px 4px 4px;flex:1}.boss-caption{color:#707784;margin-top:16px;font-size:12px;line-height:1.6}.pay-page{background:radial-gradient(circle at 18% 20%,#7c4dff14,#0000 28%),radial-gradient(circle at 82% 12%,#10b98114,#0000 26%),#f5f6fa;min-height:100vh;padding:24px}.pay-shell{max-width:1120px;margin:0 auto;position:relative}.pay-back{color:#404756;background:#fff;border:1px solid #e5e7ee;border-radius:999px;height:36px;margin-bottom:16px;padding:0 14px;font-size:13px;font-weight:850}.pay-head{grid-template-columns:minmax(0,1fr) 280px;gap:16px;margin-bottom:16px;display:grid}.pay-head>div,.pay-panel{background:#fff;border:1px solid #e7e9f0;border-radius:18px;box-shadow:0 12px 36px #0c0f180d}.pay-head>div:first-child{padding:22px}.pay-kicker{color:#3653c7;background:#eef4ff;border-radius:999px;margin-bottom:8px;padding:4px 9px;font-size:12px;font-weight:850;display:inline-flex}.pay-head h1{margin-bottom:8px;font-size:30px}.pay-head p{color:#6b7280;font-size:13px;line-height:1.7}.pay-summary{flex-direction:column;justify-content:center;gap:8px;padding:22px;display:flex}.pay-summary strong{font-size:30px;line-height:1}.pay-summary span{color:#0c7a53;font-size:14px;font-weight:850}.pay-summary em{color:#6b7280;font-size:13px;font-style:normal}.pay-grid{grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);gap:16px;display:grid}.pay-panel{padding:20px}.pay-methods{gap:8px;margin-bottom:16px;display:flex}.pay-method-badge{color:#3653c7;background:#eef4ff;border-radius:999px;align-items:center;min-height:30px;padding:0 12px;font-size:13px;font-weight:850;display:inline-flex}.pay-security-card{background:linear-gradient(135deg,#f4f8ff,#f9fbff);border:1px solid #dbe7ff;border-radius:16px;align-items:flex-start;gap:12px;padding:18px;display:flex}.pay-security-icon{color:#fff;background:#1677ff;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.pay-security-card strong{font-size:15px}.pay-security-card p{color:#62708a;margin-top:5px;font-size:13px;line-height:1.65}.pay-guide-list{gap:12px;margin-top:18px;display:grid}.pay-guide-list span{color:#525b6b;align-items:center;gap:9px;font-size:13px;font-weight:750;display:flex}.pay-guide-list b{color:#536074;background:#f0f2f6;border-radius:50%;place-items:center;width:22px;height:22px;font-size:11px;display:grid}.pay-detail{gap:12px;display:grid}.pay-detail h2{margin-bottom:4px;font-size:18px}.pay-row{border-bottom:1px solid #eef0f5;justify-content:space-between;gap:12px;padding:12px 0;display:flex}.pay-row span{color:#6b7280;font-size:13px}.pay-row strong{font-size:14px}.pay-note{color:#5e6572;background:#f7f8fb;border-radius:14px;margin-top:2px;padding:14px;font-size:13px;line-height:1.7}.pay-actions{margin-top:6px;display:block}.pay-actions button{color:#323844;background:#f3f4f7;border-radius:999px;height:40px;padding:0 16px;font-size:13px;font-weight:850}.pay-actions .primary{color:#fff;background:linear-gradient(135deg,#1677ff,#4b55e8);width:100%;height:46px;box-shadow:0 10px 22px #1677ff38}.pay-actions .primary:hover{filter:brightness(1.04)}.profile-load-more{color:#6042c2;background:#f3f1ff;border-radius:10px;width:100%;min-height:38px;margin-top:10px;font-size:13px;font-weight:800}.profile-load-more:disabled{opacity:.6;cursor:default}@media (max-width:900px){.pay-head,.pay-grid{grid-template-columns:1fr}}@media (max-width:1100px){.admin-hero,.admin-pricing-grid{grid-template-columns:1fr 1fr}.login-shell,.boss-grid{grid-template-columns:1fr}.login-brand-panel{min-height:auto}.login-brand-panel h1{margin-top:44px}.boss-panel-wide{grid-column:auto}.boss-kpis,.admin-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-note-grid{grid-template-columns:1fr}}@media (max-width:720px){.admin-page{padding:14px}.login-page{padding:12px}.login-brand-panel{padding:24px}.login-metrics,.login-two,.boss-kpis,.donut-wrap,.role-split,.admin-hero,.admin-pricing-grid,.admin-metrics{grid-template-columns:1fr}.admin-panel-head{flex-direction:column}}.hero-area{padding-top:clamp(28px,5vh,64px)}.hero-title{letter-spacing:-.035em;margin-bottom:18px}.agent-switch{margin-bottom:14px}.creative-panel{border:1px solid #7059b026;border-radius:30px;overflow:visible;box-shadow:0 20px 52px #3a256017,0 2px 8px #2c234608}.home-prompt-input-wrap{position:relative}.creative-panel textarea#creativePrompt{box-sizing:border-box;resize:none;min-height:88px;max-height:180px;padding:16px 20px 10px;font-size:15px;line-height:1.55;overflow-y:auto}.creative-panel:focus-within{border-color:#774fc27a;box-shadow:0 20px 52px #3a25601a,0 0 0 4px #7c4ecd14}.creative-panel .composer-bottom{background:linear-gradient(#faf9fd59,#f6f4fbb8);border-top:1px solid #55447714;min-height:44px;padding:7px 14px 9px}.creative-panel .tool-row{gap:4px;min-width:0}.creative-panel .tool-btn,.creative-panel .plus-btn{color:#9a8daa;background:#f5f0fa;border:1px solid #e4dbf0;border-radius:9px;min-height:34px;padding:0 10px;font-size:12px;transition:background .16s,color .16s,border-color .16s}.creative-panel .tool-btn span{color:#625175;font-weight:800}.creative-panel .tool-btn:hover,.creative-panel .plus-btn:hover{color:#68468b;background:#f1eafa;border-color:#d9cbea}.creative-mode-selector{border-left:1px solid #ebe6f1;margin-left:2px;padding-left:12px!important}.history-item{border:1px solid #0000;border-radius:10px;position:relative}.history-item:hover{background:#ffffff9e;border-color:#6f53b414}.history-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;display:-webkit-box;overflow:hidden}.history-title small{opacity:.62}.history-delete{letter-spacing:1px;border-radius:8px;width:28px;font-weight:700;right:6px}.history-confirm-modal{z-index:4000;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#140f1f52;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.history-confirm-panel{background:#fff;border:1px solid #6f53b424;border-radius:20px;width:min(420px,100%);padding:26px;box-shadow:0 30px 90px #1e142e33}.history-confirm-icon{color:#7650b5;background:#f2edfa;border-radius:12px;place-items:center;width:38px;height:38px;margin-bottom:14px;display:grid}.history-confirm-panel h2{margin:0 0 8px;font-size:19px}.history-confirm-panel p{color:#6e6876;margin:0;font-size:13px;line-height:1.65}.history-confirm-panel>div{justify-content:flex-end;gap:9px;margin-top:22px;display:flex}.history-confirm-panel button{background:#fff;border:1px solid #e4dfeb;border-radius:10px;height:38px;padding:0 18px}.history-confirm-panel button.danger{color:#fff;background:#e34a55;border-color:#e34a55}.long-form-plan{background:#fffffff5;border:1px solid #e4ddec;border-radius:18px;align-self:center;width:min(900px,100%);overflow:hidden;box-shadow:0 16px 44px #402c5b14}.long-form-plan>header{background:linear-gradient(135deg,#fbfaff,#f5f0ff);border-bottom:1px solid #eee8f3;justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 22px 17px;display:flex}.long-form-kicker{color:#7954b5;letter-spacing:.12em;font-size:10px;font-weight:800}.long-form-plan h3{color:#241d2d;margin:6px 0 4px;font-size:18px}.long-form-plan header p,.long-form-plan.readiness-card p{color:#777080;margin:0;font-size:12px}.long-form-status{color:#69429f;background:#fff;border:1px solid #ddd0ef;border-radius:999px;flex:none;padding:5px 9px;font-size:11px;font-weight:700}.long-form-segments{padding:8px 14px}.long-form-segment{border-bottom:1px solid #f0ecf3;grid-template-columns:56px minmax(0,1fr);gap:10px;padding:13px 8px;display:grid}.long-form-segment:last-child{border-bottom:0}.segment-index{color:#5e3c92;background:#f2ecfa;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:48px;display:flex}.segment-index b{font-size:14px}.segment-index span{opacity:.75;font-size:10px}.segment-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.segment-heading strong{color:#332a3d;font-size:13px}.segment-heading>span{color:#84788e;margin-left:auto;font-size:10px}.segment-heading button{color:#68458f;cursor:pointer;background:#fff;border:1px solid #ddd3e7;border-radius:6px;padding:3px 7px;font-size:10px}.segment-source-text{color:#544d5a;background:#f8f6fa;border-radius:9px;max-height:168px;margin-top:8px;font-size:12px;line-height:1.65;position:relative;overflow:hidden}.segment-source-text.expanded{max-height:none}.segment-source-text p{white-space:pre-wrap;margin:0;padding:10px 12px}.segment-expand{color:#72509b;cursor:pointer;background:0 0;border:0;margin-top:5px;padding:2px 0;font-size:10px}.segment-references{flex-wrap:wrap;gap:7px;margin-top:9px;display:flex}.segment-reference-item{display:inline-flex;position:relative}.segment-reference-remove{z-index:1;color:#6b516f;cursor:pointer;opacity:0;background:#fff;border:1px solid #d8cbdc;border-radius:50%;place-items:center;width:18px;height:18px;padding:0;font-size:15px;line-height:1;transition:opacity .15s,background .15s;display:grid;position:absolute;top:-5px;right:-5px}.segment-reference-item:hover .segment-reference-remove,.segment-reference-item:focus-within .segment-reference-remove{opacity:1}.segment-reference-remove:hover{color:#fff;background:#9a5073}.segment-references>.segment-reference-item>button:first-child{cursor:zoom-in;background:0 0;border:0;padding:0}.segment-references>.segment-reference-item>button:first-child:hover img{border-color:#9671c6;box-shadow:0 0 0 2px #9671c638}.segment-references figure{width:58px;margin:0}.segment-references img{object-fit:cover;border:1px solid #e3dbe9;border-radius:9px;width:58px;height:58px;display:block}.segment-references figcaption{color:#827989;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:9px;overflow:hidden}.segment-references>span{color:#716979;background:#f4f0f7;border-radius:7px;padding:5px 8px;font-size:10px}.segment-source-editor{margin-top:8px}.segment-source-editor textarea{resize:vertical;color:#4c4552;width:100%;min-height:110px;font:inherit;background:#fff;border:1px solid #dcd3e5;border-radius:8px;padding:9px 10px;line-height:1.55}.segment-source-editor>div{justify-content:flex-end;gap:7px;margin-top:6px;display:flex}.segment-source-editor button{color:#68458f;background:#fff;border:1px solid #ddd3e7;border-radius:7px;padding:5px 9px;font-size:10px}.segment-source-editor button:last-child{color:#fff;background:#7650b5;border-color:#7650b5}.segment-source-editor button:disabled{cursor:not-allowed;opacity:.55}.segment-state{color:#89818f;flex-wrap:wrap;gap:5px 12px;margin-top:6px;font-size:10px;display:flex}.segment-versions{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.segment-versions>span{color:#716979;background:#fff;border:1px solid #e5ddec;border-radius:8px;align-items:center;gap:5px;min-height:27px;padding:3px 7px;font-size:10px;display:inline-flex}.segment-versions>span.selected{color:#603594;background:#f7f2ff;border-color:#9d79d4}.segment-versions button{color:#fff;background:#7650b5;border:0;border-radius:5px;padding:2px 6px;font-size:10px}.segment-versions em{font-style:normal}.segment-video{background:#17141b;border-radius:10px;width:min(520px,100%);margin-top:10px}.long-form-modify{background:#faf8fc;border:1px solid #e2d8ec;border-radius:12px;margin:0 20px 16px;padding:14px}.long-form-modify label{color:#3b3245;margin-bottom:7px;font-size:12px;font-weight:700;display:block}.long-form-modify textarea{resize:vertical;width:100%;min-height:92px;font:inherit;background:#fff;border:1px solid #d9cfe3;border-radius:8px;padding:9px 10px;font-size:12px;line-height:1.55}.long-form-modify>p{color:#c43f4b;margin:6px 0 0;font-size:10px}.long-form-modify>div{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.long-form-modify button{color:#644487;background:#fff;border:1px solid #d8cce6;border-radius:8px;min-height:34px;padding:0 13px;font-size:11px;font-weight:700}.long-form-modify button:last-child{color:#fff;background:#7650b5;border-color:#7650b5}.long-form-modify button:disabled{opacity:.55}.long-form-plan>footer{background:#fcfbfd;border-top:1px solid #eee8f3;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.long-form-plan footer>span{color:#7b7381;font-size:11px}.long-form-plan footer button,.long-form-plan footer a,.long-form-plan.readiness-card>button{color:#fff;background:linear-gradient(135deg,#7650b5,#586ee8);border:0;border-radius:9px;min-height:36px;padding:0 15px;font-size:12px;font-weight:700;text-decoration:none}.long-form-actions{flex:none;gap:8px;display:flex}.long-form-plan footer .long-form-secondary{color:#644487;background:#fff;border:1px solid #d8cce6}.long-form-plan.readiness-card{padding:22px}.long-form-plan.readiness-card h3{margin-top:8px}.long-form-plan.readiness-card>button{margin-top:16px}.long-form-workflow{gap:12px;width:min(720px,100%);display:grid}.long-form-workflow>section{width:100%;margin-top:0}.long-form-artifact-segments{gap:8px;display:grid}.long-form-source-artifact{color:#5f5468;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border-radius:9px;margin-top:9px;padding:10px 11px;font-size:11px;line-height:1.65}.long-form-continuity-debug{color:#756a7d;border:1px dashed #ded5e4;border-radius:10px;margin:10px 0;padding:9px 11px;font-size:11px}.long-form-continuity-debug summary{cursor:pointer;font-weight:700}.long-form-continuity-debug dl{gap:8px;margin:10px 0;display:grid}.long-form-continuity-debug dl>div{min-width:0}.long-form-continuity-debug dt{margin-bottom:4px;font-weight:700}.long-form-continuity-debug dd{margin:0}.long-form-continuity-debug pre{color:#e9dff2;white-space:pre-wrap;overflow-wrap:anywhere;background:#2e2736;border-radius:8px;max-height:240px;margin:5px 0 0;padding:9px;font:10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.long-form-character-registry,.long-form-character-usage{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex}.long-form-character-registry{background:#fbf9fd;border:1px solid #e8e0ef;border-radius:10px;padding:10px 12px}.long-form-character-registry strong,.long-form-character-usage strong{color:#73647e;font-size:10px}.long-form-character-registry span,.long-form-character-usage span{color:#654779;background:#f8f3fc;border:1px solid #e1d6ec;border-radius:999px;padding:4px 7px;font-size:9px}.long-form-unmatched{color:#a66d32;margin:8px 0 0;font-size:10px}.chat-character-registry{background:#fffffff5;border:1px solid #e2dbe9;border-radius:13px;width:min(960px,100% - 32px);margin:0 auto 8px;padding:10px}.chat-character-registry-head{color:#44394d;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:11px;display:flex}.chat-character-registry-head span{color:#8b8291;font-size:9px}.chat-character-registry-list{gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.chat-character-reference-card{background:#fcfbfd;border:1px solid #ece6f0;border-radius:10px;flex:0 0 300px;grid-template-columns:48px minmax(0,1fr);gap:8px;padding:8px;display:grid}.chat-character-reference-thumb{background-position:50%;background-size:cover;border-radius:8px;width:48px;height:48px}.chat-character-reference-card>div:nth-child(2){gap:4px;min-width:0;display:grid}.chat-character-reference-card strong{color:#44394d;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.chat-character-reference-card span{color:#887e8f;font-size:9px}.chat-character-reference-card input{border:1px solid #ded6e5;border-radius:6px;min-width:0;height:25px;padding:0 7px;font-size:9px}.chat-character-reference-actions{flex-wrap:wrap;grid-column:1/-1;gap:4px;display:flex}.chat-character-reference-actions button{color:#716779;background:#fff;border:1px solid #ded6e5;border-radius:6px;height:24px;padding:0 7px;font-size:9px}.chat-character-reference-actions button.active{color:#644ab4;background:#f0edff;border-color:#8c75d6}.long-form-stage-editor{background:#fff;border:1px solid #e4dce9;border-radius:9px;gap:7px;margin-top:10px;padding:10px;display:grid}.long-form-stage-editor label{color:#6d6076;font-size:10px;font-weight:750}.long-form-stage-editor textarea{resize:vertical;color:#554b5d;border:1px solid #ddd5e5;border-radius:10px;width:100%;height:260px;min-height:220px;max-height:60vh;padding:11px 12px;font:12px/1.65 inherit}.long-form-stage-editor>div{justify-content:flex-end;gap:7px;display:flex}.long-form-pronunciation{background:#fff;border:1px solid #e4dce9;border-radius:9px;gap:8px;margin-top:10px;padding:10px;display:grid}.long-form-pronunciation summary{color:#6d6076;cursor:pointer;font-size:10px;font-weight:750}.long-form-pronunciation>p{color:#8a7d91;margin:0;font-size:10px;line-height:1.45}.long-form-pronunciation-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 72px auto;gap:6px;display:grid}.long-form-pronunciation-row input{color:#554b5d;border:1px solid #ddd5e5;border-radius:7px;min-width:0;padding:7px 8px;font:11px/1.3 inherit}.long-form-pronunciation button{color:#6d6076;cursor:pointer;background:#fff;border:1px solid #ddd5e5;border-radius:7px;min-height:28px;padding:0 8px;font-size:10px}.long-form-pronunciation-actions{justify-content:flex-end;gap:7px;display:flex}.long-form-pronunciation-actions button:last-child{color:#654b93;background:#f5f0fb;border-color:#8b6bc1}.long-form-pronunciation button:disabled{cursor:default;opacity:.55}.long-form-submit-error{color:#b3404c;margin:0;font-size:10px;line-height:1.45}.long-form-version-row{color:#9a8f9f;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;font-size:10px;display:flex}.long-form-version-row button{color:#6d6076;cursor:pointer;background:#fff;border:1px solid #ddd5e5;border-radius:7px;min-height:28px;padding:0 8px;font-size:10px}.long-form-version-row button.selected{color:#654b93;background:#f5f0fb;border-color:#8b6bc1}.long-form-version-row button:disabled{cursor:default;opacity:.55}.long-form-subtitles{background:#faf9fb;border:1px solid #e8e1ef;border-radius:11px;margin-top:14px;padding:13px}.long-form-subtitles>div:first-child{flex-wrap:wrap;align-items:center;gap:8px 14px;display:flex}.long-form-subtitles strong{color:#554761;font-size:12px}.long-form-subtitles label{color:#7d7185;font-size:10px}.long-form-subtitle-list{gap:7px;margin-top:10px;display:grid}.long-form-subtitle-list label{grid-template-columns:150px minmax(0,1fr);align-items:center;gap:8px;display:grid}.long-form-subtitle-list input{color:#554b5d;background:#fff;border:1px solid #ddd5e5;border-radius:8px;min-height:34px;padding:0 9px}.long-form-selected-versions{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.long-form-selected-versions span{color:#5f775f;background:#edf7ef;border-radius:7px;padding:5px 7px;font-size:10px}.long-form-stage-status{color:#7964a0;text-align:right;margin:10px 0 0;font-size:10px}@media (max-width:820px){.creative-panel .composer-bottom{align-items:flex-end}.creative-panel .tool-row{scrollbar-width:none;flex-wrap:nowrap;padding-bottom:3px;overflow-x:auto}.creative-panel .tool-btn,.creative-panel .plus-btn{flex:none}.long-form-plan>header,.long-form-plan>footer{flex-direction:column;align-items:flex-start}.long-form-actions{width:100%}.long-form-actions button{flex:1}.long-form-plan>footer>button,.long-form-plan>footer>a{place-items:center;width:100%;display:grid}.long-form-segment{grid-template-columns:46px minmax(0,1fr)}.long-form-subtitle-list label{grid-template-columns:1fr}}@media (max-width:640px){.profile-page{padding:14px}.profile-top,.profile-hero,.profile-identity{align-items:stretch}.profile-top,.profile-hero{flex-direction:column}.profile-identity{grid-template-columns:58px minmax(0,1fr);display:grid}.profile-identity>span{border-radius:18px;width:58px;height:58px;font-size:24px}.profile-balance{width:100%}.profile-stats,.profile-actions{grid-template-columns:1fr}.profile-panel-head{flex-direction:column}.profile-table-wrap{max-width:100%;overflow-x:auto}.profile-table{min-width:560px}}.character-profile-card{background:linear-gradient(135deg,#f8f5ff,#fdfcff);border:1px solid #cfc0ee;border-radius:13px;margin:0 0 11px;padding:13px}.character-profile-card header span{color:#7d5bc4;letter-spacing:.1em;font-size:10px;font-weight:900;display:block}.character-profile-card header strong{color:#4d3b68;margin:4px 0;font-size:15px;display:block}.character-profile-card header em{color:#877798;font-size:11px;font-style:normal}.character-profile-card>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:11px;display:grid}.character-profile-card label{color:#887a97;background:#ffffffb8;border-radius:8px;padding:8px;font-size:10px}.character-profile-card label.wide{grid-column:1/-1}.character-profile-card b{color:#5a4a6a;margin-top:3px;font-size:11px;line-height:1.45;display:block}.character-profile-waiting{color:#8c8195;background:#fcfbfe;border:1px dashed #d9cfea;border-radius:11px;margin-bottom:11px;padding:12px;font-size:12px}.scene-character-ref{background:#faf7ff;border-left:3px solid #8a68cf;border-radius:0 8px 8px 0;margin:9px 0;padding:8px}.scene-character-ref b{color:#604a8c;font-size:11px;display:block}.scene-character-ref span{color:#796c87;margin-top:3px;font-size:10px;line-height:1.45;display:block}.asset-image-button{cursor:zoom-in;background:#f5f3fa;border:0;border-radius:9px;width:100%;padding:0;display:block;overflow:hidden}.asset-image-button img{aspect-ratio:1;object-fit:cover;width:100%;display:block}.asset-group figcaption button{color:#7253b5;cursor:pointer;background:0 0;border:0;margin-left:auto;font-size:11px}.asset-preview-backdrop{z-index:80;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#140d2394;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.asset-preview-modal{background:#fff;border:1px solid #ffffff8c;border-radius:20px;width:min(620px,100%);max-height:calc(100vh - 40px);padding:22px;position:relative;overflow:auto;box-shadow:0 28px 90px #1a113259}.asset-preview-modal>span{color:#8564c5;letter-spacing:.12em;font-size:10px;font-weight:900}.asset-preview-modal h3{color:#302443;margin:5px 36px 14px 0;font-size:18px}.asset-preview-modal img{object-fit:contain;background:#f6f4fa;border-radius:12px;width:100%;max-height:65vh;display:block}.asset-preview-modal>div{gap:9px;margin-top:14px;display:flex}.asset-preview-modal a{color:#5e439b;background:#f0ebfb;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:800}.asset-preview-close{color:#594b68;cursor:pointer;background:#f1eef6;border:0;border-radius:50%;width:28px;height:28px;font-size:21px;line-height:1;position:absolute;top:14px;right:14px}.agent-switch{overflow:visible}.agent-switch button{justify-content:center;align-items:center;display:inline-flex;position:relative;overflow:visible}.agent-label{justify-content:center;align-items:center;gap:4px;line-height:1.2;display:inline-flex;position:relative}.agent-badge{z-index:1;letter-spacing:.05em;white-space:nowrap;pointer-events:none;border-radius:4px;align-items:center;min-height:14px;padding:0 4px;font-size:8px;font-weight:800;line-height:1;display:inline-flex;position:static;box-shadow:0 2px 5px #4a377014}.agent-badge-new{color:#73519f;background:linear-gradient(115deg,#f3eaff,#e9efff);border:1px solid #e4d9fa;transform:rotate(-4deg)}.agent-badge-beta{color:#6352a0;background:#eeeaff;border:1px solid #ddd4f5;transform:rotate(3deg)}.image-result-card{background:#fff;border:1px solid #e5d8f5;border-radius:15px;margin-top:10px;overflow:hidden;box-shadow:0 8px 22px #5b3b8914}.image-result-head{color:#5c3c91;border-bottom:1px solid #f0e9f8;justify-content:space-between;align-items:baseline;gap:10px;padding:10px 12px;display:flex}.image-result-head strong{font-size:13px}.image-result-head span{color:#9583a9;font-size:11px}.image-result-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px;padding:10px;display:grid}.image-result-grid figure{background:#faf8fd;border:1px solid #eee7f5;border-radius:10px;min-width:0;margin:0;overflow:hidden}.image-result-grid figure button{cursor:zoom-in;background:0 0;width:100%;padding:0;display:block;overflow:hidden}.image-result-grid img{aspect-ratio:1;object-fit:cover;width:100%;transition:transform .18s;display:block}.image-result-grid figure button:hover img{transform:scale(1.03)}.image-result-grid figcaption{color:#766583;justify-content:space-between;align-items:center;gap:7px;padding:7px 8px;font-size:11px;display:flex}.image-result-grid figcaption span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.image-result-grid figcaption a{color:#7044ad;flex:none;font-weight:750}.announcement-modal{z-index:120;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1c172a61;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow-y:auto}.announcement-panel{background:linear-gradient(145deg,#fff,#faf9fe);border:1px solid #ffffffb8;border-radius:26px;width:min(650px,100%);margin:auto;padding:30px;position:relative;box-shadow:0 28px 80px #23183e47}.announcement-close{color:#71677f;cursor:pointer;background:#f2f0f6;border:0;border-radius:50%;width:32px;height:32px;font-size:22px;position:absolute;top:15px;right:15px}.announcement-close:hover{color:#6547a4;background:#ece7f7}.announcement-kicker{color:#8061c6;letter-spacing:.14em;font-size:10px;font-weight:900}.announcement-panel h2{color:#2f273c;letter-spacing:-.04em;margin:8px 44px 4px 0;font-size:clamp(22px,4vw,29px)}.announcement-lead{color:#82788d;margin:0 0 18px;font-size:14px}.announcement-capabilities{gap:8px;display:grid}.announcement-capabilities article{background:#ffffffb8;border:1px solid #ebe6f3;border-radius:13px;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:10px;display:grid}.announcement-capabilities article>span{background:#f0eaff;border-radius:10px;place-items:center;width:34px;height:34px;font-size:16px;display:grid}.announcement-capabilities strong{color:#4d405f;font-size:13px}.announcement-capabilities em{color:#7552ad;letter-spacing:.06em;background:#efe9ff;border-radius:5px;margin-left:5px;padding:2px 5px;font-size:8px;font-style:normal}.announcement-capabilities em.beta{color:#66569c;background:#eeeaff}.announcement-capabilities p{color:#82788e;margin:3px 0 0;font-size:11px;line-height:1.55}.announcement-flow{background:#f9f7fd;border:1px solid #e4dcf3;border-radius:13px;margin-top:12px;padding:12px}.announcement-flow strong{color:#634997;font-size:12px}.announcement-flow span{color:#6f647b;margin-top:5px;font-size:11px;line-height:1.65;display:block}.announcement-flow p{color:#847a90;margin:8px 0 0;font-size:11px;line-height:1.5}.announcement-actions{justify-content:flex-end;gap:8px;margin-top:17px;display:flex}.announcement-actions button{color:#695b7b;cursor:pointer;background:#fff;border:1px solid #ddd4ec;border-radius:10px;min-height:38px;padding:0 14px;font-size:12px;font-weight:800}.announcement-actions .primary{color:#fff;background:#6e4fba;border-color:#6e4fba;box-shadow:0 8px 18px #5f43a633}@media (max-width:640px){.announcement-modal{align-items:start;padding:12px}.announcement-panel{border-radius:20px;padding:23px 18px 18px}.announcement-capabilities article{padding:9px}.announcement-actions{background:linear-gradient(#0000,#faf9fe 28%);padding-top:10px;position:sticky;bottom:0}}.history-subhead{color:#a198a8;letter-spacing:.08em;margin:16px 8px 6px;font-size:10px;font-weight:800}.history-empty{color:#a39aa8;padding:14px 8px;font-size:12px}.conversation-thumb{background:linear-gradient(135deg,#ede5fa,#dfe9f8)}.creative-conversation-history .history-title small{color:#806ca0}.creative-mode-selector{justify-content:center;min-width:112px}.creative-mode-selector span{color:#8c8295;font-size:12px}.creative-mode-options{gap:5px;display:grid}.creative-mode-option{color:#6f6479;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:11px;grid-template-columns:22px minmax(0,1fr) auto;align-items:start;gap:8px;width:100%;min-height:58px;padding:9px 8px;display:grid}.creative-mode-option:hover,.creative-mode-option.selected{background:#f5f0fb}.creative-mode-option-icon{padding-top:1px;font-size:15px;line-height:1.2}.creative-mode-option strong{color:#4f415e;font-size:12px;line-height:1.25;display:block}.creative-mode-option small{color:#978b9d;margin-top:3px;font-size:10px;font-weight:500;line-height:1.4;display:block}.creative-mode-option b{color:#7252a1;padding-top:1px;font-size:12px;line-height:1.2}.creative-panel textarea#creativePrompt{min-height:88px;padding:16px 20px 10px}.creative-panel .composer-bottom{align-items:flex-end}.svip-ratio-hint{color:#8e7ba7}.chat-footer{background:linear-gradient(#fff0,#fff 22%);padding:12px 20px 20px}.chat-input-wrap{background:#fff;border:1px solid #e1dce8;border-radius:18px;grid-template-columns:minmax(0,1fr) auto;gap:10px;max-width:980px;margin:0 auto;padding:12px 12px 10px 16px;display:grid;position:relative;box-shadow:0 12px 34px #3827541a}.chat-input{background:0 0;border:0;min-height:62px;padding:5px 3px}.chat-input:focus{outline:0}.chat-composer-tools{color:#93899d;flex-wrap:wrap;grid-column:1/2;gap:6px;font-size:10px;display:flex}.chat-composer-tools span{background:#f7f4fa;border-radius:6px;padding:4px 7px}.chat-tool-upload{cursor:pointer;align-items:center;display:inline-flex;position:relative}.chat-tool-upload input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.chat-director-mode{color:#654895;font:inherit;cursor:pointer;background:#f0eafa;border:0;border-radius:6px;padding:4px 7px}.chat-send{border-radius:11px;align-self:end;min-width:46px;min-height:40px}.generation-meta{color:#877b91;flex-wrap:wrap;gap:6px;margin-top:10px;font-size:10px;display:flex}.generation-meta span{background:#f7f4fa;border-radius:6px;padding:4px 7px}.video-actions button{color:#7353a7;font:inherit;cursor:pointer;background:0 0;border:0}.director-suggestion{color:#6b5c78;background:#faf8fe;border:1px solid #e1d8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;max-width:980px;margin:0 auto 9px;padding:11px 14px;font-size:11px;display:flex}.director-suggestion div{gap:3px;display:grid}.director-suggestion strong{color:#57417b;font-size:12px}.director-suggestion button{color:#fff;cursor:pointer;background:#6f4baa;border:0;border-radius:8px;flex:none;min-height:30px;padding:0 10px;font-size:11px;font-weight:750}@media (max-width:760px){.creative-panel .tool-row{flex-wrap:wrap;align-items:stretch}.creative-mode-selector{min-width:112px}.chat-footer{padding:8px 10px 12px}.chat-input-wrap{border-radius:15px;grid-template-columns:minmax(0,1fr) auto}.chat-composer-tools{gap:4px}.chat-composer-tools span:nth-child(3),.chat-composer-tools span:nth-child(4){display:none}}@media (max-width:820px){html,body{overflow-x:hidden}.main{min-width:0}.sidebar,.app-shell.sidebar-collapsed .sidebar{border-radius:16px;height:auto;margin:4px;padding:9px 10px 10px;position:relative}.brand-row,.app-shell.sidebar-collapsed .brand-row{grid-template-columns:34px 1fr auto;justify-items:start;padding:2px 5px 9px}.app-shell.sidebar-collapsed .brand-text{display:block}.sidebar-toggle,.app-shell.sidebar-collapsed .sidebar-toggle{width:30px;height:30px;margin:0}.side-nav,.app-shell.sidebar-collapsed .side-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid}.side-item,.app-shell.sidebar-collapsed .side-item{border-radius:11px;flex-direction:column;justify-content:center;gap:2px;min-width:0;height:52px;padding:4px 2px;font-size:10px}.app-shell.sidebar-collapsed .side-label{display:block}.side-icon{border-width:1.5px;width:23px;height:23px}.sidebar .history-head,.sidebar .history-list,.sidebar .sidebar-footer{display:none!important}.creative-panel .tool-row{scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.agent-switch{justify-content:stretch;width:100%;max-width:100%;overflow:visible}.agent-switch button{white-space:nowrap;flex:25%;min-width:0;height:38px;padding:0 4px;font-size:10.5px}}.gallery-card.featured-card{cursor:pointer;text-align:left;border:0;width:100%;height:100%;padding:0;display:block}.featured-works-panel{padding:22px}.featured-works-panel .section-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.featured-works-all-link{color:#3f3a4d;flex:none;padding-top:4px;font-size:13px;font-weight:800;text-decoration:none}.featured-works-all-link:hover{color:#7561d4}.works-page{width:min(1180px,100% - 40px);margin:42px auto 80px}.featured-works-all .gallery{grid-template-rows:none;grid-template-columns:repeat(3,minmax(0,1fr))}.featured-works-all .gallery-card{aspect-ratio:16/10;min-height:0}.gallery-card.featured-card:before,.gallery-card.featured-card:after{display:none}.gallery-card.featured-card img,.gallery-card.featured-card video{object-fit:cover;background:#111218;width:100%;height:100%;display:block}.featured-works-panel .gallery{grid-template-rows:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.featured-works-panel .gallery-card.featured-card{background:#fff;border:1px solid #1d192714;border-radius:18px;grid-template-rows:minmax(0,270px) 76px;min-height:346px;transition:transform .18s,box-shadow .18s;display:grid;overflow:hidden;box-shadow:0 8px 24px #241d3512}.featured-works-panel .gallery-card.featured-card:hover{transform:translateY(-2px);box-shadow:0 13px 30px #241d3521}.featured-card-media{background:#17151d;min-width:0;min-height:0;position:relative;overflow:hidden}.featured-card-media-background{opacity:.48;filter:blur(18px)brightness(.72);position:absolute;inset:-18px;transform:scale(1.12)}.featured-card-media-background img,.featured-card-media-background video{object-fit:cover;width:100%;height:100%}.featured-card-media:after{content:"";background:linear-gradient(#0c0a120f,#0c0a122e);position:absolute;inset:0}.featured-card-media-foreground{z-index:1;place-items:center;display:grid;position:absolute;inset:0}.gallery-card.featured-card .featured-card-media-foreground img,.gallery-card.featured-card .featured-card-media-foreground video{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.gallery-card.featured-card .featured-card-play{z-index:2;color:#fff;opacity:0;background:#100d1761;border:1px solid #ffffff6b;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;font-size:13px;font-weight:400;transition:opacity .18s,transform .18s;display:grid;position:absolute;top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%)scale(.96)}.featured-card.featured-card:hover .featured-card-play{opacity:1;transform:translate(-50%,-50%)scale(1)}.featured-card-info{color:#292431;text-align:left;background:#fff;border:0;border-radius:0;align-content:center;gap:5px;min-width:0;padding:13px 15px;display:grid;position:static}.featured-card-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.3;overflow:hidden}.featured-card-info small{text-overflow:ellipsis;white-space:nowrap;color:#807988;font-size:11px;font-weight:700;overflow:hidden}.featured-card-empty{color:#eee;place-items:center;height:100%;display:grid}.featured-works-all .gallery-card.featured-card{grid-template-rows:minmax(0,230px) 76px;min-height:306px}.featured-modal{z-index:240;background:#08090ec7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.featured-modal-panel{color:#f4f1ea;background:#111218;border-radius:24px;grid-template-columns:minmax(260px,1fr) minmax(300px,360px);width:min(1080px,100%);max-height:calc(100vh - 48px);display:grid;position:relative;overflow:hidden;box-shadow:0 24px 80px #00000059}.featured-modal-panel.portrait{grid-template-columns:minmax(240px,420px) minmax(300px,380px);width:min(860px,100%)}.featured-modal-panel.square{grid-template-columns:minmax(280px,520px) minmax(300px,360px);width:min(920px,100%)}.featured-modal-close{z-index:2;color:#fff;background:#ffffff1f;border:0;border-radius:999px;width:36px;height:36px;font-size:22px;position:absolute;top:14px;left:14px}.featured-modal-media{background:#05060a;place-items:center;min-height:0;padding:18px;display:grid}.featured-modal-media video,.featured-modal-media img{object-fit:contain;background:#05060a;border-radius:16px;width:auto;max-width:100%;height:auto;max-height:calc(100vh - 96px)}.featured-modal-empty{color:#9a9fad;place-items:center;min-height:360px;display:grid}body.featured-modal-open .site-footer{display:none}.featured-modal-meta{background:#17181f;align-content:start;gap:16px;padding:28px 22px 22px;display:grid;overflow:auto}.featured-modal-meta h3{font-size:22px;line-height:1.25}.featured-modal-meta p{color:#c6c2b8;font-size:13px;line-height:1.6}.featured-meta-chips{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.featured-meta-chips em{color:#efe8d8;background:#ffffff14;border-radius:999px;padding:4px 8px;font-size:11px;font-style:normal;font-weight:700}.featured-prompt-box{background:#ffffff0a;border-radius:16px;gap:8px;padding:12px;display:grid}.featured-prompt-box>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.featured-prompt-box button{color:#fff;background:#ffffff1a;border:0;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.featured-prompt-box pre{white-space:pre-wrap;word-break:break-word;color:#ddd8cc;max-height:240px;font-size:12px;line-height:1.65;overflow:auto}.featured-remix{color:#111218;background:#fff;border:0;border-radius:999px;height:44px;font-size:14px;font-weight:800}.featured-remix:disabled{opacity:.6}.featured-admin-grid{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:18px;display:grid}.featured-admin-form,.featured-source-search{gap:10px;display:grid}.featured-admin-form label,.featured-source-search{color:#5d5868;font-size:12px;font-weight:800}.featured-admin-form input,.featured-admin-form textarea,.featured-admin-form select,.featured-source-search input{width:100%;font:inherit;border:1px solid #dedce4;border-radius:10px;margin-top:6px;padding:10px 12px;font-weight:600}.featured-admin-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.featured-admin-checks{gap:16px;display:flex}.featured-admin-checks label{align-items:center;gap:6px;display:flex}.featured-admin-actions,.featured-source-search{gap:8px;display:flex}.featured-admin-actions button,.featured-source-search button,.admin-table button{background:#fff;border:1px solid #e3e1e8;border-radius:10px;min-height:36px;padding:0 12px;font-size:12px;font-weight:800}.featured-source-list{gap:8px;max-height:640px;display:grid;overflow:auto}.featured-source-list button{text-align:left;background:#fff;border:1px solid #eceaf1;border-radius:12px;gap:4px;width:100%;padding:12px;display:grid}.featured-source-list em{color:#7a7584;font-size:12px;font-style:normal}.featured-upload input{margin-top:6px}@media (max-width:980px){.featured-modal{align-items:stretch;padding:10px}.featured-modal-panel,.featured-modal-panel.portrait,.featured-modal-panel.square{grid-template-columns:1fr;width:100%;max-height:calc(100vh - 20px)}.featured-modal-media video,.featured-modal-media img{max-height:min(58vh,520px)}.featured-admin-grid,.featured-admin-row{grid-template-columns:1fr}.featured-works-all .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-works-panel .gallery{gap:11px}.featured-works-panel .gallery-card.featured-card{grid-template-rows:minmax(0,220px) 72px;min-height:292px}}.task-center-trigger{color:#393441;background:#ffffffb8;border:1px solid #e1dee8;border-radius:999px;min-height:34px;padding:0 12px;font-size:12px;font-weight:800;position:relative}.task-center-dot{background:#7d65df;border-radius:999px;width:7px;height:7px;margin-right:6px;display:inline-block;box-shadow:0 0 0 4px #7d65df21}.task-drawer-backdrop{z-index:250;background:#15121d38;position:fixed;inset:0}.task-drawer{z-index:251;background:#fbfafc;grid-template-rows:auto minmax(0,1fr);width:min(400px,100vw);height:100dvh;transition:transform .22s;display:grid;position:fixed;top:0;right:0;transform:translate(105%);box-shadow:-18px 0 48px #241d3529}.task-drawer.open{transform:translate(0)}.task-drawer header{border-bottom:1px solid #ece9f0;justify-content:space-between;align-items:flex-start;padding:24px 22px 18px;display:flex}.task-drawer header span{color:#7c7688;font-size:12px;font-weight:800}.task-drawer header h2{margin:4px 0 0;font-size:20px}.task-drawer header button{background:#f0edf5;border:0;border-radius:50%;width:32px;height:32px;font-size:21px}.task-drawer-content{padding:16px;overflow:auto}.task-drawer-section{gap:9px;margin-bottom:22px;display:grid}.task-drawer-section h3{color:#756f80;margin:0 0 2px;font-size:12px}.task-drawer-item{text-align:left;background:#fff;border:1px solid #e9e5ef;border-radius:14px;gap:10px;width:100%;padding:10px;display:flex}.task-drawer-item:hover{border-color:#cfc4ef}.task-drawer-item video{object-fit:cover;background:#17151d;border-radius:9px;flex:0 0 64px;width:64px;height:48px}.task-drawer-item>div{gap:4px;min-width:0;display:grid}.task-drawer-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.task-drawer-item small{color:#817b8c;font-size:11px;line-height:1.4}.task-drawer-status{color:#655f6e;background:#f2eff7;border-radius:999px;width:max-content;padding:2px 7px;font-size:10px;font-weight:800}.task-drawer-status.processing{color:#6249c3;background:#eee9ff}.task-drawer-status.succeeded{color:#287c3c;background:#e6f7e7}.task-drawer-status.failed{color:#b63b3b;background:#ffebeb}.task-drawer-empty{color:#817b8c;text-align:center;padding:24px 12px;font-size:13px;line-height:1.7}@media (max-width:700px){.gallery{grid-template-rows:none;grid-template-columns:1fr}.gallery-card.tall{grid-row:auto;min-height:260px}.gallery-card{min-height:150px}.featured-works-all .gallery{grid-template-columns:1fr}.works-page{width:min(100% - 24px,1180px);margin:20px auto 60px}.featured-works-panel{padding:16px}.featured-works-panel .gallery,.featured-works-all .gallery{grid-template-columns:1fr;gap:12px}.featured-works-panel .gallery-card.featured-card,.featured-works-all .gallery-card.featured-card{grid-template-rows:minmax(0,250px) 72px;min-height:322px}.featured-card-play{opacity:1}}.project-reference-pool{background:#15122a57;border:1px solid #8b70ff42;border-radius:12px;margin:14px 0}.project-reference-pool>summary{cursor:pointer;color:#efeaff;justify-content:space-between;gap:12px;padding:11px 13px;font-weight:700;display:flex}.project-reference-pool>summary small{color:#a8a1bd;font-weight:500}.project-reference-pool-actions{flex-wrap:wrap;gap:8px;padding:0 13px 11px;display:flex}.project-reference-pool-actions button,.project-reference-pool-actions select,.project-reference-pool-actions input{min-height:32px;color:inherit;background:#ffffff0f;border:1px solid #ffffff26;border-radius:8px;padding:5px 8px}.project-reference-pool-actions button{cursor:pointer}.project-reference-pool-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:9px;padding:0 13px 13px;display:grid}.project-reference-card{background:#ffffff0b;border-radius:9px;gap:8px;min-width:0;padding:8px;display:flex;position:relative}.project-reference-card>div:nth-child(2){gap:2px;min-width:0;display:grid}.project-reference-card strong,.project-reference-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-reference-card small{color:#b8b1ca;font-size:11px}.project-reference-thumb{color:#d7d0ea;background:#332a50;border-radius:7px;flex:0 0 48px;place-items:center;width:48px;height:48px;font-size:11px;display:grid;overflow:hidden}.project-reference-thumb img{object-fit:contain;width:100%;height:100%}.project-reference-card>button{color:#d6a6ac;cursor:pointer;background:0 0;border:0;font-size:11px;position:absolute;bottom:5px;right:6px}.project-reference-error{color:#ffafaf!important}.project-reference-pool-progress,.project-reference-pool-empty{color:#aaa3ba;margin:0 13px 11px;font-size:12px}.project-reference-pool-trigger{color:#5d3e98;min-height:34px;font:inherit;cursor:pointer;background:#f7f2ff;border:1px solid #d9c9f2;border-radius:9px;margin:10px 0;padding:0 11px;font-size:12px;font-weight:750}.project-reference-pool-trigger span{color:#7c64aa}.project-reference-overlay{z-index:2147483000;isolation:isolate;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);overscroll-behavior:contain;background:#1913278c;place-items:center;padding:5vh 5vw;display:grid;position:fixed;inset:0;overflow:hidden}.project-reference-panel{color:#493b57;background:#fff;border:1px solid #dfd3efe6;border-radius:20px;flex-direction:column;width:min(1180px,90vw);height:min(86vh,920px);display:flex;overflow:hidden;box-shadow:0 28px 90px #22173759}.project-reference-panel>header{border-bottom:1px solid #eee8f4;flex:none;justify-content:space-between;align-items:flex-start;gap:16px;padding:23px 28px 17px;display:flex}.project-reference-panel>header span{color:#7957b5;letter-spacing:.07em;font-size:11px;font-weight:800}.project-reference-panel>header h2{color:#2f273c;margin:5px 0 6px;font-size:21px}.project-reference-panel>header p{color:#82778e;margin:0;font-size:12px}.project-reference-close{color:#6e6179;cursor:pointer;background:#f2eff6;border:0;border-radius:50%;flex:none;width:31px;height:31px;font-size:22px;line-height:1}.project-reference-toolbar{background:#fdfcff;border-bottom:1px solid #eee8f4;flex:none;gap:10px;padding:14px 28px;display:grid}.project-reference-toolbar>div:first-child,.project-reference-batch-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.project-reference-toolbar button,.project-reference-toolbar select,.project-reference-toolbar input,.project-reference-editor button,.project-reference-editor select,.project-reference-editor input{color:#5a4d68;min-height:34px;font:inherit;background:#fff;border:1px solid #ded5ea;border-radius:9px;padding:0 10px;font-size:12px}.project-reference-toolbar>div:first-child button:first-child{color:#fff;background:#7151ad;border-color:#7151ad;font-weight:750}.project-reference-toolbar>div:first-child button:nth-child(2){color:#6a4a9f;background:#f7f3fd}.project-reference-toolbar small{color:#8b8198;font-size:11px}.project-reference-message{color:#a04e5d;flex:none;margin:10px 28px 0;font-size:12px}.project-reference-editor{background:#fbf8ff;border:1px solid #dfd3ef;border-radius:11px;flex-wrap:wrap;flex:none;align-items:center;gap:8px;margin:10px 28px 0;padding:10px;display:flex}.project-reference-editor strong{color:#5a4380;font-size:12px}.project-reference-character-confirmation{background:#fbf8ff;border:1px solid #d7c7ee;border-radius:11px;flex:none;gap:8px;margin:10px 28px 0;padding:12px;display:grid}.project-reference-character-confirmation>strong{color:#5a4380;font-size:13px}.project-reference-character-confirmation>div:first-of-type,.project-reference-character-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.project-reference-character-confirmation input,.project-reference-character-confirmation button{color:#5a4d68;min-height:34px;font:inherit;background:#fff;border:1px solid #ded5ea;border-radius:9px;padding:0 10px;font-size:12px}.project-reference-character-confirmation button{color:#fff;background:#7151ad;border-color:#7151ad}.project-reference-character-row{border-top:1px solid #ece5f4;grid-template-columns:44px minmax(130px,1fr) minmax(110px,.7fr) minmax(92px,.6fr) auto;padding-top:8px;display:grid}.project-reference-character-row>span{background:#eee7f8;border-radius:7px;width:40px;height:40px;overflow:hidden}.project-reference-character-row img{object-fit:cover;width:100%;height:100%}.project-reference-character-row small{color:#746b80;font-size:11px}.project-reference-content{overscroll-behavior:contain;flex:auto;align-content:start;gap:16px;min-height:0;padding:0 28px 28px;display:grid;overflow-y:auto}.project-reference-empty{text-align:center;align-content:center;place-items:center;min-height:250px;display:grid}.project-reference-empty strong{color:#4e405c;font-size:16px}.project-reference-empty p{color:#91869b;margin:8px 0 0;font-size:13px}.project-reference-group{border-top:1px solid #f0ebf4;padding-top:15px}.project-reference-group h3{color:#4e405c;align-items:center;gap:7px;margin:0 0 9px;font-size:13px;display:flex}.project-reference-group h3 small{color:#78698a;background:#f1edf6;border-radius:999px;padding:1px 6px;font-size:10px}.project-reference-grid{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:9px;display:grid}.project-reference-manage-card{cursor:pointer;background:#fcfbfd;border:1px solid #ece6f1;border-radius:9px;grid-template-rows:118px auto auto;gap:7px;min-width:0;min-height:192px;padding:8px;display:grid;position:relative}.project-reference-manage-card.selected{background:#faf7ff;border-color:#805bbb;box-shadow:0 0 0 2px #805bbb29}.project-reference-card-thumb{color:#887c92;background:#ece7f5;border-radius:7px;place-items:center;width:100%;height:118px;font-size:11px;display:grid;overflow:hidden}.project-reference-card-thumb img{object-fit:contain;width:100%;height:100%}.project-reference-card-copy{gap:3px;min-width:0;display:grid}.project-reference-card-copy strong,.project-reference-card-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-reference-card-copy strong{color:#493b57;font-size:12px}.project-reference-card-copy small{color:#887c92;font-size:10px}.project-reference-card-actions button{color:#6d5294;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:11px}@media (max-width:760px){.project-reference-overlay{padding:0}.project-reference-panel{border-radius:0;width:100vw;height:100dvh}.project-reference-panel>header,.project-reference-toolbar,.project-reference-content{padding-left:15px;padding-right:15px}.project-reference-message,.project-reference-editor{margin-left:15px;margin-right:15px}.project-reference-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}.project-reference-batch-actions input{width:calc(50% - 4px)}}.segment-auto-reference{color:#aaa3c9;margin:9px 0;font-size:12px}.project-reference-draft-trigger{align-items:center;gap:9px;font-weight:750;display:inline-flex;box-shadow:0 7px 17px #6043a03d;color:#fff!important;background:linear-gradient(135deg,#6240a3,#8365c7)!important;border:1px solid #7151ad!important;border-radius:11px!important;min-height:44px!important;padding:0 15px!important}.project-reference-draft-trigger:hover{filter:brightness(1.05);transform:translateY(-1px)}.project-reference-draft-trigger b{color:inherit;white-space:nowrap;font-size:13px}.project-reference-draft-trigger span{color:#f4efff;white-space:nowrap;background:#ffffff2b;border-radius:999px;padding:3px 7px;font-size:11px}.quick-tools button.active{color:#fff;background:linear-gradient(135deg,#5f43a0,#7962c7);box-shadow:0 5px 16px #5f43a03d}.project-reference-draft-overlay{z-index:2147483000;isolation:isolate;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);overscroll-behavior:contain;background:#1913278c;place-items:center;padding:5vh 5vw;display:grid;position:fixed;inset:0;overflow:hidden}.project-reference-draft-panel{background:#fff;border-radius:20px;flex-direction:column;width:min(1180px,90vw);height:min(86vh,920px);padding:0;display:flex;overflow:hidden;box-shadow:0 28px 90px #2217374d}.project-reference-draft-panel>header{border-bottom:1px solid #eee8f4;justify-content:space-between;align-items:flex-start;gap:16px;padding:23px 28px 17px;display:flex}.project-reference-draft-panel>header span{color:#7957b5;letter-spacing:.07em;font-size:11px;font-weight:800}.project-reference-draft-panel>header h2{color:#2f273c;margin:5px 0 6px;font-size:21px}.project-reference-draft-panel>header p{color:#82778e;max-width:520px;margin:0;font-size:12px;line-height:1.55}.project-reference-draft-close{color:#6e6179;cursor:pointer;background:#f2eff6;border:0;border-radius:50%;flex:none;width:31px;height:31px;font-size:22px;line-height:1}.project-reference-draft-toolbar{background:#fdfcff;border-bottom:1px solid #eee8f4;gap:10px;padding:14px 28px;display:grid}.project-reference-draft-toolbar>div:first-child,.project-reference-batch-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.project-reference-draft-toolbar button,.project-reference-draft-toolbar select,.project-reference-draft-toolbar input,.project-reference-inline-editor button,.project-reference-inline-editor select,.project-reference-inline-editor input{color:#5a4d68;background:#fff;border:1px solid #ded5ea;border-radius:9px;min-height:34px;padding:0 10px;font-size:12px}.project-reference-draft-toolbar>div:first-child button:first-child{color:#fff;background:#7151ad;border-color:#7151ad;font-weight:750}.project-reference-draft-toolbar>div:first-child button:nth-child(2){color:#6a4a9f;background:#f7f3fd}.project-reference-draft-toolbar small{color:#8b8198;font-size:11px}.project-reference-batch-actions{background:#f8f4fd;border:1px solid #dfd3ef;border-radius:11px;padding:9px 10px}.project-reference-batch-actions strong{color:#624a86;font-size:12px}.project-reference-batch-actions .danger{color:#a75662;background:#fff}.project-reference-draft-progress{color:#6e5794;background:#f6f1fc;border-radius:9px;margin:10px 28px 0;padding:9px 10px;font-size:12px;line-height:1.45}.project-reference-inline-editor{background:#fbf8ff;border:1px solid #dfd3ef;border-radius:11px;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 28px 0;padding:10px;display:flex}.project-reference-inline-editor strong{color:#5a4380;font-size:12px}.project-reference-draft-content{flex:1;align-content:start;gap:16px;min-height:0;padding:0 28px 28px;display:grid;overflow-y:auto}.project-reference-draft-empty{text-align:center;align-content:center;place-items:center;min-height:250px;display:grid}.project-reference-draft-empty strong{color:#4e405c;font-size:16px}.project-reference-draft-empty p{color:#91869b;margin:8px 0 0;font-size:13px}.project-reference-draft-group{border-top:1px solid #f0ebf4;padding:15px 0 0}.project-reference-draft-group h3{color:#4e405c;align-items:center;gap:7px;margin:0 0 9px;font-size:13px;display:flex}.project-reference-draft-group h3 small{color:#78698a;background:#f1edf6;border-radius:999px;padding:1px 6px;font-size:10px}.project-reference-draft-group>p{color:#aaa0b1;margin:0;font-size:12px}.project-reference-draft-panel .project-reference-pool-grid{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));padding:0}.project-reference-draft-panel .project-reference-card{cursor:pointer;background:#fcfbfd;border:1px solid #ece6f1;grid-template-rows:auto auto auto;align-content:start;gap:7px;min-height:0;display:grid}.project-reference-draft-panel .project-reference-card.selected{background:#faf7ff;border-color:#805bbb;box-shadow:0 0 0 2px #805bbb29}.project-reference-draft-panel .project-reference-thumb{background:#ece7f5;border-radius:7px;flex:none;width:100%;height:auto;min-height:0}.project-reference-draft-panel .project-reference-card>div:nth-child(2){gap:3px}.project-reference-draft-panel .project-reference-card strong{color:#493b57;font-size:12px}.project-reference-draft-panel .project-reference-card small{color:#887c92;font-size:10px}.project-reference-check{z-index:1;cursor:pointer;background:#ffffffe6;border-radius:50%;place-items:center;width:22px;height:22px;display:grid;position:absolute;top:12px;left:12px;box-shadow:0 2px 6px #2d1e412e}.project-reference-check input{accent-color:#7151ad}.project-reference-card-actions{gap:7px;display:flex}.project-reference-card-actions button{color:#6d5294;cursor:pointer;background:0 0;border:0;padding:0;font-size:11px}.project-reference-card-actions button:last-child{color:#a65c67}.project-reference-draft-panel .project-reference-error{color:#c0505f!important}@media (max-width:760px){.project-reference-draft-overlay{padding:0}.project-reference-draft-panel{border-radius:0;width:100vw;height:100vh}.project-reference-draft-panel>header,.project-reference-draft-toolbar,.project-reference-draft-content{padding-left:15px;padding-right:15px}.project-reference-draft-progress,.project-reference-inline-editor{margin-left:15px;margin-right:15px}.project-reference-draft-panel .project-reference-pool-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}.project-reference-batch-actions input{width:calc(50% - 4px)}}.project-reference-draft-panel .project-reference-card,.project-reference-manage-card{overflow:hidden}.registry-overlay{padding:clamp(14px,3vh,34px)}.registry-panel{flex-direction:column;width:min(1240px,96vw);height:min(88vh,900px);max-height:none;display:flex;overflow:hidden}.registry-header{flex:none;padding-bottom:14px!important}.registry-header h2{align-items:baseline;gap:10px;display:flex}.registry-header h2 em{color:#8b76a8;font-size:13px;font-style:normal;font-weight:650}.registry-header p{color:#82758e;margin:5px 0 0;font-size:12px}.registry-toolbar{background:#fcfaff;border-top:1px solid #eee8f4;border-bottom:1px solid #eee8f4;justify-content:space-between;align-items:center;gap:14px;padding:12px 28px;display:flex}.registry-toolbar>div{gap:8px;display:flex}.registry-toolbar button,.registry-tabs button,.registry-inspector button{color:#5e4b70;cursor:pointer;background:#fff;border:1px solid #dfd4eb;border-radius:9px;min-height:34px;padding:0 11px;font-size:12px}.registry-toolbar .registry-primary,.registry-save{font-weight:750;color:#fff!important;background:#7050a7!important;border-color:#7050a7!important}.registry-toolbar>span{color:#887b94;font-size:12px}.registry-tabs{flex:none;gap:6px;padding:12px 28px 0;display:flex}.registry-tabs button{color:#877a92;background:#f4f0f7;border-color:#0000}.registry-tabs button.active{color:#61438b;background:#ede4fa;box-shadow:inset 0 -2px #7050a7}.registry-tabs small{color:inherit;opacity:.75;margin-left:5px}.registry-message{color:#634c88;background:#f5f0fb;border-radius:8px;margin:10px 28px 0;padding:8px 10px;font-size:12px}.registry-workspace{border-top:1px solid #eee8f4;flex:1;grid-template-columns:minmax(0,1fr) 320px;min-height:0;margin-top:12px;display:grid}.registry-grid-scroll{min-width:0;padding:16px 20px 28px 28px;overflow:auto}.registry-grid{grid-template-columns:repeat(auto-fill,minmax(156px,1fr));align-content:start;gap:13px;display:grid}.registry-card{text-align:left;min-width:0;color:inherit;cursor:pointer;background:#fff;border:1px solid #e8e1ee;border-radius:11px;padding:0;transition:border-color .15s,box-shadow .15s,transform .15s;overflow:hidden}.registry-card:hover{border-color:#ae92d4;transform:translateY(-1px)}.registry-card.selected{border-color:#7151ad;box-shadow:0 0 0 3px #7151ad26}.registry-card-thumb{aspect-ratio:4/3;background:#f1edf5;place-items:center;display:grid;overflow:hidden}.registry-card-thumb img{object-fit:contain;width:100%;height:100%;display:block}.registry-card-thumb i{color:#9387a0;font-size:12px;font-style:normal}.registry-card-copy{gap:4px;padding:9px;display:grid}.registry-card-copy strong{color:#4c3b5d;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.registry-kind{color:#897b94;font-size:10px}.registry-badges{flex-wrap:wrap;gap:4px;display:flex}.registry-badges b{color:#765a9e;text-overflow:ellipsis;white-space:nowrap;background:#f1eafb;border-radius:999px;max-width:100%;padding:2px 5px;font-size:9px;font-weight:650;overflow:hidden}.registry-empty{color:#978b9f;place-items:center;min-height:260px;font-size:13px;display:grid}.registry-inspector{background:#fcfbfd;border-left:1px solid #e8e1ee;padding:18px;overflow:auto}.registry-inspector>label{color:#695b76;gap:5px;margin:0 0 13px;font-size:11px;font-weight:700;display:grid}.registry-inspector input,.registry-inspector select{box-sizing:border-box;color:#51425e;background:#fff;border:1px solid #ded4e7;border-radius:8px;width:100%;min-height:36px;padding:0 9px;font-size:12px}.registry-inspector-title{color:#554165;justify-content:space-between;align-items:center;margin-bottom:17px;font-size:13px;font-weight:750;display:flex}.registry-inspector-title button{color:#87699f;background:0 0;border:0;min-height:auto;padding:3px 0}.registry-save,.registry-remove{width:100%;margin-top:5px}.registry-remove{color:#a45162!important;background:#fff!important}.registry-inspector-empty{text-align:center;align-content:center;place-items:center;min-height:280px;display:grid}.registry-inspector-empty strong{color:#5d4c6c;font-size:14px}.registry-inspector-empty p{color:#94879d;margin:8px 0 0;font-size:12px;line-height:1.55}.segment-reference-heading{color:#66517e;flex-wrap:wrap;align-items:center;gap:7px;margin:12px 0 7px;font-size:12px;display:flex}.segment-reference-heading span{color:#75599b;background:#f1eafb;border-radius:999px;padding:2px 6px;font-size:11px;font-weight:700}.segment-reference-heading em{color:#8d7aa0;font-size:11px;font-style:normal}.segment-reference-actions{flex-wrap:wrap;gap:8px;margin-top:9px;display:flex}@media (max-width:780px){.registry-overlay{padding:0}.registry-panel{border-radius:0;width:100vw;height:100vh}.registry-toolbar,.registry-tabs{padding-left:15px;padding-right:15px}.registry-toolbar{flex-direction:column;align-items:flex-start}.registry-workspace{display:block;overflow:auto}.registry-grid-scroll{min-height:48vh;padding:15px;overflow:visible}.registry-grid{grid-template-columns:repeat(auto-fill,minmax(138px,1fr))}.registry-inspector{border-top:1px solid #e8e1ee;border-left:0}}.project-reference-draft-panel .project-reference-thumb,.project-reference-card-thumb{aspect-ratio:4/3;background:#f3f0f6;place-items:center;height:auto;min-height:0;display:grid;position:relative;overflow:hidden}.project-reference-draft-panel .project-reference-thumb>img,.project-reference-card-thumb>img{max-width:100%;max-height:100%;object-fit:contain!important;object-position:center center!important;width:100%!important;height:100%!important;display:block!important}.project-reference-panel,.project-reference-draft-panel{width:min(1440px,96vw);height:min(94vh,1000px);position:relative}.project-reference-draft-overlay{padding:2vh 2vw}.project-reference-draft-panel>header{padding:15px 28px 10px}.project-reference-draft-panel>header h2{margin:3px 0;font-size:19px}.project-reference-draft-panel>header p{line-height:1.35}.project-reference-folderbar{padding-top:8px!important;padding-bottom:8px!important}.project-reference-draft-toolbar{gap:7px;padding-top:9px;padding-bottom:9px}.project-reference-character-confirmation{gap:6px;padding:10px}.project-reference-character-bulk-fields{margin:0 0 5px}.project-reference-character-confirmation input,.project-reference-character-confirmation button{min-height:32px}.project-reference-character-rows{max-height:126px}.project-reference-character-row{padding-top:6px}.project-reference-draft-content{gap:10px;padding-bottom:18px}.project-reference-draft-group{padding-top:10px}.project-reference-folderbar{background:#fff;border-bottom:1px solid #eee8f4;flex-wrap:wrap;flex:none;align-items:center;gap:8px;padding:8px 28px;display:flex}.project-reference-folderbar select,.project-reference-folderbar button,.project-reference-folderbar input{color:#5a4d68;min-height:31px;font:inherit;background:#fff;border:1px solid #ded5ea;border-radius:8px;padding:0 10px;font-size:12px}.project-reference-folderbar select{color:#513b77;min-width:210px;font-weight:700}.project-reference-folderbar input{width:150px}.project-reference-folderbar button:first-of-type{color:#fff;background:#7151ad;border-color:#7151ad}.project-reference-folderbar .danger{color:#a75662}.project-reference-folderbar button:disabled{cursor:not-allowed;opacity:.45}.project-reference-panel>.project-reference-content,.project-reference-draft-panel>.project-reference-draft-content{min-height:min(430px,88vh - 240px)}.project-reference-character-mode{background:#fff;border:1px solid #ded5ea;border-radius:9px;align-items:center;gap:4px;padding:3px;display:inline-flex}.project-reference-character-mode span{color:#746787;white-space:nowrap;padding:0 4px;font-size:11px}.project-reference-character-mode button{color:#6d5294;white-space:nowrap;background:0 0!important;border:0!important;border-radius:6px!important;min-height:28px!important}.project-reference-character-mode button.active{color:#fff;font-weight:750;background:#7151ad!important}.project-reference-panel .project-reference-character-confirmation,.project-reference-draft-panel .project-reference-character-confirmation{width:auto;max-height:none;box-shadow:none;position:static;margin:8px 16px!important}.project-reference-panel .project-reference-character-confirmation>strong,.project-reference-draft-panel .project-reference-character-confirmation>strong{background:#fbf8ff;padding:2px 0 8px;display:block}.project-reference-character-bulk-fields{grid-template-columns:minmax(150px,1fr) minmax(130px,.8fr) auto;gap:8px;margin:2px 0 8px;display:grid}.project-reference-character-rows{gap:6px;max-height:250px;padding-right:3px;display:grid;overflow-y:auto}.project-reference-panel .project-reference-character-row,.project-reference-draft-panel .project-reference-character-row{grid-template-columns:40px minmax(140px,1fr) minmax(120px,.8fr) minmax(96px,auto);align-items:center}.project-reference-panel .project-reference-character-row small,.project-reference-draft-panel .project-reference-character-row small{grid-column:auto}.project-reference-character-thumb{background:#eee7f8;border-radius:7px;width:40px;height:40px;overflow:hidden}.project-reference-character-thumb img{object-fit:cover;width:100%;height:100%;display:block}.project-reference-cme-status{min-width:96px}.project-reference-cme-status.active{color:#10b981}.project-reference-cme-status.processing{color:#f59e0b}.project-reference-cme-status.failed{color:#ef4444}.project-reference-cme-status.pending{color:#746b80}@media (min-width:1101px){.project-reference-draft-panel .project-reference-character-confirmation{z-index:6;width:min(680px,42vw);max-height:286px;position:absolute;top:120px;right:72px;overflow:auto;box-shadow:0 18px 45px #311f4921;margin:0!important}}.project-reference-grid,.project-reference-draft-panel .project-reference-pool-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}@media (max-width:760px){.project-reference-folderbar{padding-left:15px;padding-right:15px}.project-reference-folderbar select{min-width:min(100%,220px)}.project-reference-character-bulk-fields{grid-template-columns:1fr 1fr}.project-reference-character-bulk-fields button{grid-column:1/-1}.project-reference-panel .project-reference-character-row,.project-reference-draft-panel .project-reference-character-row{grid-template-columns:40px minmax(0,1fr) minmax(0,1fr)}.project-reference-panel .project-reference-character-row small,.project-reference-draft-panel .project-reference-character-row small{grid-column:2/-1}.project-reference-grid,.project-reference-draft-panel .project-reference-pool-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}body:has(.app-shell){--sidebar-w:254px;--sidebar-collapsed-w:68px;--home-violet:#6246d7;--home-violet-deep:#33207f;--home-violet-soft:#eeeaff;--home-ink:#171927;--home-border:#654db924;background:#eaf5f8}body:has(.app-shell) .bg-decor{background:radial-gradient(circle at 82% 10%,#a0e7e86b,#0000 31%),radial-gradient(circle at 37% 28%,#bfb2ff6b,#0000 35%),radial-gradient(circle at 76% 70%,#97d2ff59,#0000 36%),linear-gradient(135deg,#ebf9f6fa 0%,#eef1fff5 46%,#dcf5f8f2 100%)}body:has(.app-shell) .bg-sweep{filter:blur(.2px);border-top-color:#4f40a317;border-bottom-color:#ffffffc2}body:has(.app-shell) .sweep-one{background:linear-gradient(90deg,#56c4be33,#8868eb3d,#59d2d22e,#0000)}body:has(.app-shell) .sweep-two{background:linear-gradient(90deg,#0000,#58628c1c,#4bb8ed2b,#ffffff57)}body:has(.app-shell) .sweep-three{background:linear-gradient(90deg,#ffffff47,#505e8014,#7555de2b)}body:has(.app-shell) .bg-dots{opacity:.12}body:has(.app-shell) .bg-lines{opacity:.18}body:has(.app-shell) .app-shell{grid-template-columns:var(--sidebar-w) minmax(0, 1fr)}body:has(.app-shell) .app-shell.sidebar-collapsed{grid-template-columns:var(--sidebar-collapsed-w) minmax(0, 1fr)}body:has(.app-shell) .sidebar{-webkit-backdrop-filter:blur(28px)saturate(1.16);backdrop-filter:blur(28px)saturate(1.16);background:#ffffffc7;border:1px solid #ffffffd1;border-radius:22px;height:calc(100vh - 16px);margin:8px 0 8px 8px;padding:14px 13px 13px;box-shadow:0 20px 55px #2d2e5214}body:has(.app-shell) .brand-row{grid-template-columns:40px minmax(0,1fr) auto;gap:9px;padding:3px 4px 15px}body:has(.app-shell) .brand-mark{background:linear-gradient(145deg,#111126,#4e3190);border-radius:13px;width:40px;height:40px;box-shadow:0 9px 22px #2d196033}body:has(.app-shell) .brand-name{color:#151622;letter-spacing:-.035em;font-size:17px}body:has(.app-shell) .brand-sub{color:#8b8f9b;font-size:10px}body:has(.app-shell) .sidebar-toggle{color:#747886;background:#f5f5f9e6;border:1px solid #3b365d0d;border-radius:10px;width:30px;height:30px}body:has(.app-shell) .sidebar-toggle:hover{color:var(--home-violet);background:#efebff;border-color:#6246d733;transform:translateY(-1px)}body:has(.app-shell) .side-nav{gap:6px}body:has(.app-shell) .side-item{color:#262836;border:1px solid #0000;border-radius:13px;gap:10px;height:48px;padding:0 10px;font-size:13px;transition:background .16s,border-color .16s,color .16s,transform .16s;position:relative;overflow:hidden}body:has(.app-shell) .side-item:before{content:"";background:var(--home-violet);opacity:0;border-radius:0 999px 999px 0;width:3px;transition:opacity .16s,transform .16s;position:absolute;inset:8px auto 8px -1px;transform:scaleY(.5)}body:has(.app-shell) .side-item:hover{background:#f7f5fcdb;border-color:#5e48a814;transform:translate(2px)}body:has(.app-shell) .side-item.active{color:#211c3d;background:linear-gradient(90deg,#6c4de021,#a18bf514);border-color:#654bd30f}body:has(.app-shell) .side-item.active:before{opacity:1;transform:scaleY(1)}body:has(.app-shell) .side-icon{color:#4e5261;background:#ffffffb8;border:1px solid #3c3e5224;border-radius:9px;width:27px;height:27px;box-shadow:0 3px 9px #26253d09}body:has(.app-shell) .side-item.active .side-icon{color:#fff;background:linear-gradient(145deg,#7157e7,#4a2cc2);border-color:#0000;box-shadow:0 8px 18px #5939cd42}body:has(.app-shell) .history-head{color:#969aaa;letter-spacing:.01em;padding:19px 5px 7px}body:has(.app-shell) .history-list{gap:3px}body:has(.app-shell) .history-item{border-radius:12px;grid-template-columns:32px minmax(0,1fr) 25px;gap:8px;min-height:42px;padding:5px 4px 5px 6px}body:has(.app-shell) .history-item:hover{background:#ffffffc7;border-color:#674bc21a;box-shadow:0 6px 18px #2d27470a}body:has(.app-shell) .history-thumb{background:linear-gradient(135deg,#eee9ff,#eef4f4);border:1px solid #6954bc14;border-radius:9px;width:32px;height:25px}body:has(.app-shell) .history-thumb:after{background:#d5d9df;width:12px;top:9px;left:10px}body:has(.app-shell) .history-delete{color:#9296a2;opacity:.78;background:#f6f6f9eb;border-radius:9px;width:25px;height:25px}body:has(.app-shell) .quota-card{background:#ffffffa3;border-color:#5d4aa31a;border-radius:17px;min-height:58px;padding:10px}body:has(.app-shell) .quota-card button{border-color:#6248b91a;min-width:52px;height:30px}body:has(.app-shell) .main{padding:10px 64px 48px 24px}body:has(.app-shell) .topbar{max-width:1040px;height:50px}body:has(.app-shell) .top-actions{gap:9px}body:has(.app-shell) .enterprise-api-top{border-radius:13px;height:38px;padding-inline:16px;transition:transform .16s,box-shadow .16s,border-color .16s,filter .16s}body:has(.app-shell) .top-actions .primary-soft{border-radius:13px;height:38px;padding-inline:16px;transition:transform .16s,box-shadow .16s,border-color .16s,filter .16s}body:has(.app-shell) .invite-top-btn{border-radius:13px;height:38px;padding-inline:16px;transition:transform .16s,box-shadow .16s,border-color .16s,filter .16s}body:has(.app-shell) .top-logout{border-radius:13px;height:38px;padding-inline:16px;transition:transform .16s,box-shadow .16s,border-color .16s,filter .16s}body:has(.app-shell) .enterprise-api-top{background:#17133e;border-color:#6e56d86b}body:has(.app-shell) .top-actions .primary-soft{background:#ffffffb8}body:has(.app-shell) .invite-top-btn{background:linear-gradient(135deg,#6246d7,#7a42d7);box-shadow:0 9px 22px #5e39cc33}body:has(.app-shell) .enterprise-api-top:hover{transform:translateY(-1px)}body:has(.app-shell) .top-actions .primary-soft:hover{transform:translateY(-1px)}body:has(.app-shell) .invite-top-btn:hover{transform:translateY(-1px)}body:has(.app-shell) .top-logout:hover{transform:translateY(-1px)}body:has(.app-shell) .hero-area{max-width:960px;padding:clamp(30px,4vh,46px) 0 10px}body:has(.app-shell) .hero-title{color:var(--home-ink);letter-spacing:-.055em;margin-bottom:22px;font-size:clamp(28px,2.05vw,36px);font-weight:780;line-height:1.18}body:has(.app-shell) .hero-emphasis{z-index:0;display:inline-block;position:relative}body:has(.app-shell) .hero-emphasis:after{content:"";z-index:-1;opacity:.94;pointer-events:none;background:url(/images/ui/hero-underline-violet.png) 50%/100% 100% no-repeat;height:28px;position:absolute;bottom:-17px;left:-2%;right:-5%;transform:rotate(-1deg)}body:has(.app-shell) .agent-switch{-webkit-backdrop-filter:blur(18px)saturate(1.15);backdrop-filter:blur(18px)saturate(1.15);background:#ffffffc2;border:1px solid #ffffffdb;width:min(720px,100%);min-height:46px;margin-bottom:16px;padding:4px;box-shadow:0 10px 28px #2b284c14}body:has(.app-shell) .agent-switch button{border:1px solid #0000;flex:auto;gap:6px;min-width:0;height:38px;padding:0 12px;font-size:13px}body:has(.app-shell) .agent-switch button svg{color:#72748a;flex:none}body:has(.app-shell) .agent-switch button:hover{background:#f4f2fbd6;border-color:#674ec214}body:has(.app-shell) .agent-switch button.active{background:linear-gradient(135deg,#191643,#4930b8 82%);border-color:#ffffff2e;box-shadow:0 8px 18px #3422843b}body:has(.app-shell) .agent-switch button.active svg{color:#fff}body:has(.app-shell) .creative-panel{-webkit-backdrop-filter:blur(24px)saturate(1.12);backdrop-filter:blur(24px)saturate(1.12);background:#ffffffe0;border:1px solid #6850cd47;border-radius:26px;width:min(920px,100%);max-width:none;min-height:252px;padding:18px 20px 13px;box-shadow:0 24px 64px #352a631a,inset 0 0 0 1px #ffffffa8}body:has(.app-shell) .creative-panel:focus-within{border-color:#6546e094;box-shadow:0 25px 70px #3427701f,0 0 0 4px #6446dc14,inset 0 0 0 1px #65d3df47}body:has(.app-shell) .creative-panel textarea#creativePrompt{color:#202230;min-height:88px;max-height:166px;padding:11px 10px 12px;font-size:15px}body:has(.app-shell) .creative-panel .composer-bottom{background:#f9f8fdc7;border:1px solid #604fa01a;border-radius:16px;min-height:52px;padding:6px 8px;box-shadow:inset 0 10px 30px #2c254d0a}body:has(.app-shell) .creative-panel .tool-row{gap:7px}:is(body:has(.app-shell) .creative-panel .tool-btn,body:has(.app-shell) .creative-panel .plus-btn){color:#8f879b;background:#f7f5fbe6;border:1px solid #6754a81a;border-radius:10px;min-height:34px;padding:0 10px}:is(body:has(.app-shell) .creative-panel .tool-btn:hover,body:has(.app-shell) .creative-panel .plus-btn:hover){color:#5534bd;background:#f1edff;border-color:#6146ca38}body:has(.app-shell) .creative-panel .reference-upload-btn{width:36px;padding:0}body:has(.app-shell) .creative-panel .project-reference-draft-trigger{box-shadow:0 9px 20px #5232c340;background:linear-gradient(135deg,#4d2fc5,#7645db)!important;border:0!important;border-radius:12px!important;min-height:36px!important}body:has(.app-shell) .send-btn{border-radius:50%;place-items:center;width:46px;height:46px;display:inline-grid}body:has(.app-shell) .send-btn.ready{background:linear-gradient(145deg,#4c2dc5,#714ce7);box-shadow:0 10px 22px #5332cb4d,0 0 0 5px #6f51e112}body:has(.app-shell) .send-btn.ready:hover{background:linear-gradient(145deg,#5a35d1,#7d56ed);transform:translateY(-2px);box-shadow:0 13px 28px #5332cb5c,0 0 0 7px #6f51e117}:is(body:has(.app-shell) .price-estimate,body:has(.app-shell) .svip-ratio-hint){margin-left:10px}body:has(.app-shell) .quick-tools{gap:10px;margin-top:14px}body:has(.app-shell) .quick-tools button{color:#292b3b;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffb8;border:1px solid #ffffffd1;justify-content:center;align-items:center;gap:7px;min-width:116px;height:40px;padding:0 15px;display:inline-flex;box-shadow:0 7px 20px #322e4f0e}body:has(.app-shell) .quick-tools button svg{color:#6749db}body:has(.app-shell) .quick-tools button:hover{background:#fffffff0;border-color:#674ccd29;transform:translateY(-2px);box-shadow:0 12px 26px #3f2f761a}body:has(.app-shell) .workspace-grid{max-width:1180px;margin-top:8px}body:has(.app-shell) .featured-works-panel{-webkit-backdrop-filter:blur(18px)saturate(1.08);backdrop-filter:blur(18px)saturate(1.08);background:#ffffffad;border-color:#ffffffc7;border-radius:26px;padding:24px;box-shadow:0 15px 42px #2e2d4a0f}body:has(.app-shell) .featured-works-panel .gallery-card.featured-card{border-radius:20px}@media (max-width:1280px){body:has(.app-shell){--sidebar-w:232px}body:has(.app-shell) .main{padding-inline:24px}body:has(.app-shell) .creative-panel{min-height:232px}body:has(.app-shell) .quick-tools button{min-width:108px}}@media (max-width:980px){body:has(.app-shell){--sidebar-w:236px}body:has(.app-shell) .main{padding-inline:18px}body:has(.app-shell) .topbar{justify-content:flex-start;overflow-x:auto}body:has(.app-shell) .top-actions{min-width:max-content;margin-left:auto}body:has(.app-shell) .agent-switch{justify-content:flex-start;overflow-x:auto}body:has(.app-shell) .agent-switch button{flex:none;min-width:150px}body:has(.app-shell) .creative-panel .tool-row{flex-wrap:nowrap;overflow-x:auto}body:has(.app-shell) .quick-tools button{min-width:0}}@media (max-width:820px){body:has(.app-shell) .app-shell{display:block}body:has(.app-shell) .app-shell.sidebar-collapsed{display:block}body:has(.app-shell) .sidebar{border-radius:18px;width:calc(100% - 8px);height:auto;margin:4px;padding:10px}body:has(.app-shell) .app-shell.sidebar-collapsed .sidebar{border-radius:18px;width:calc(100% - 8px);height:auto;margin:4px;padding:10px}body:has(.app-shell) .brand-row{grid-template-columns:38px minmax(0,1fr) auto;padding-bottom:10px}body:has(.app-shell) .brand-mark{border-radius:12px;width:38px;height:38px}body:has(.app-shell) .side-nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}body:has(.app-shell) .app-shell.sidebar-collapsed .side-nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}body:has(.app-shell) .side-item{border-radius:12px;flex-direction:column;justify-content:center;gap:3px;height:58px;padding:5px 2px;font-size:10px}body:has(.app-shell) .app-shell.sidebar-collapsed .side-item{border-radius:12px;flex-direction:column;justify-content:center;gap:3px;height:58px;padding:5px 2px;font-size:10px}body:has(.app-shell) .side-item:before{border-radius:999px 999px 0 0;width:auto;height:3px;inset:auto 9px -1px}body:has(.app-shell) .side-icon{border-radius:8px;width:26px;height:26px}body:has(.app-shell) .app-shell.sidebar-collapsed .side-label{display:block}body:has(.app-shell) .main{padding:8px 12px 42px}body:has(.app-shell) .hero-area{padding-top:26px}body:has(.app-shell) .hero-title{font-size:clamp(26px,7vw,34px)}body:has(.app-shell) .hero-emphasis:after{height:22px;bottom:-13px}body:has(.app-shell) .creative-panel{border-radius:22px;min-height:238px;padding:16px 14px 12px}body:has(.app-shell) .creative-panel textarea#creativePrompt{min-height:88px}body:has(.app-shell) .quick-tools{gap:8px}body:has(.app-shell) .quick-tools button{height:40px;padding-inline:13px;font-size:12px}body:has(.app-shell) .featured-works-panel{border-radius:20px;padding:16px}}
