:root{--bg:#f2f2f4;--surface:#fff;--surface-2:#f4f4f6;--surface-3:#eaeaee;--line:#16161c12;--line-2:#16161c21;--text:#1d1d22;--text-2:#1d1d22a1;--text-3:#1d1d226b;--ink:#fff;--primary:#1c1c21;--primary-2:#35353d;--amount:#9d6b08;--amount-strong:#e8b64c;--amount-soft:#e3b34f29;--ok:#188a56;--ok-soft:#188a561a;--err:#d6453e;--err-soft:#d6453e17;--run:#2e6be6;--run-soft:#2e6be617;--warn:#a1720a;--warn-soft:#b280101f;--skill:#6d4fe0;--skill-soft:#6d4fe017;--r-sm:9px;--r-md:12px;--r-lg:18px;--r-xl:24px;--r-pill:999px;--shadow-pop:0 8px 24px #16161e1a, 0 24px 64px #16161e21;--shadow-card:0 1px 2px #16161e0a, 0 10px 34px #16161e0f;--enter:cubic-bezier(.22, 1, .36, 1);--move:cubic-bezier(.25, 1, .5, 1);--font:-apple-system, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*,:before,:after{box-sizing:border-box}*{margin:0}html{-moz-text-size-adjust:100%;text-size-adjust:100%}body{font-family:var(--font);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-size:14px;line-height:1.55}h1,h2,h3{letter-spacing:-.01em;font-weight:650;line-height:1.25}h1{font-size:24px}h2{font-size:16px}h3{font-size:13.5px}p{margin:0}img,video,svg,canvas{max-width:100%;display:block}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;padding:0}button:disabled{cursor:not-allowed;opacity:.5}input,select,textarea{font:inherit;color:var(--text)}::selection{background:#1d1d2224}:focus-visible{outline-offset:2px;border-radius:4px;outline:2px solid #1d1d228c}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.conn-alert{color:var(--err);background:var(--surface);border-radius:var(--r-pill);z-index:70;box-shadow:var(--shadow-pop);border:1px solid #d6453e4d;align-items:center;gap:8px;padding:8px 16px;font-size:12.5px;font-weight:600;display:inline-flex;position:fixed;top:14px;left:50%;transform:translate(-50%)}.icon{stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;fill:none;flex:none;width:16px;height:16px}.icon.sm{width:14px;height:14px}label{color:var(--text-2);flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;display:flex}input[type=text],input[type=password],input[type=number],input:not([type]),select,textarea{background:var(--surface-2);border:1px solid var(--line-2);color:var(--text);transition:border-color .14s var(--enter), box-shadow .14s var(--enter);border-radius:10px;padding:9px 12px;font-size:14px}input::placeholder,textarea::placeholder{color:var(--text-3)}input:focus,select:focus,textarea:focus{border-color:#1d1d2259;outline:none;box-shadow:0 0 0 3px #1d1d220f}textarea{resize:vertical;line-height:1.6}select{-webkit-appearance:none;appearance:none}.primary-button,.secondary-button,.danger-button,.quiet-button,.text-button{border-radius:var(--r-pill);transition:background .14s var(--enter), border-color .14s var(--enter), color .14s var(--enter), transform .12s var(--enter);white-space:nowrap;justify-content:center;align-items:center;gap:7px;padding:9px 17px;font-size:13px;font-weight:650;display:inline-flex}.primary-button{background:var(--primary);color:var(--ink)}.primary-button:hover:not(:disabled){background:var(--primary-2)}.primary-button:active:not(:disabled){transform:scale(.98)}.primary-button.wide{width:100%;padding:12px 16px;font-size:14px}.secondary-button{border:1px solid var(--line-2);color:var(--text);background:0 0}.secondary-button:hover:not(:disabled){border-color:var(--text-3);background:var(--surface-2)}.danger-button{background:var(--err-soft);color:var(--err);border:1px solid #0000}.danger-button:hover:not(:disabled){border-color:var(--err)}.quiet-button{color:var(--text-2);border-radius:9px;padding:7px 11px;font-weight:600}.quiet-button:hover:not(:disabled){background:var(--surface-3);color:var(--text)}.text-button{color:var(--text-3);padding:4px 7px;font-weight:600}.text-button:hover:not(:disabled){color:var(--text)}.button-loader{border:2px solid;border-top-color:#0000;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.3;transform:scale(.7)}}@keyframes rec-blink{0%,to{opacity:1}50%{opacity:.25}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes pop-in{0%{opacity:0;transform:translateY(6px)scale(.96)}to{opacity:1;transform:none}}.orb-loader{border:2.5px solid #1d1d2224;border-top-color:var(--text);border-radius:50%;width:26px;height:26px;animation:.8s linear infinite spin}.orb-loader.small{border-width:2px;width:18px;height:18px}.inline-loader{background:currentColor;border-radius:50%;width:6px;height:6px;animation:1.1s ease-in-out infinite pulse-dot}.video-loader{gap:7px;display:inline-flex}.video-loader i{background:var(--text-2);border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite pulse-dot}.video-loader i:nth-child(2){animation-delay:.18s}.video-loader i:nth-child(3){animation-delay:.36s}.callout{border-radius:var(--r-md);border:1px solid #0000;padding:11px 14px;font-size:13px;line-height:1.55}.callout strong{margin-bottom:2px;display:block}.callout.danger{background:var(--err-soft);color:var(--err);border-color:#d6453e40}.callout.warning{background:var(--warn-soft);color:var(--warn);border-color:#a1720a40}.callout.success{background:var(--ok-soft);color:var(--ok);border-color:#188a5640}.form-error{color:var(--err);font-size:13px}.status-pill{border-radius:var(--r-pill);white-space:nowrap;align-items:center;gap:6px;padding:4px 11px;font-size:12px;font-weight:650;display:inline-flex}.status-pill:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.status-pill.blue{background:var(--run-soft);color:var(--run)}.status-pill.amber{background:var(--warn-soft);color:var(--warn)}.status-pill.green{background:var(--ok-soft);color:var(--ok)}.status-pill.red{background:var(--err-soft);color:var(--err)}.status-pill.violet{background:var(--skill-soft);color:var(--skill)}.brand-mark{width:38px;height:38px;color:var(--ink);background:var(--primary);border-radius:12px;flex:none;place-items:center;font-size:17px;font-weight:800;display:inline-grid}.brand-mark.large{border-radius:16px;width:54px;height:54px;font-size:25px}.empty-state{text-align:center;border:1px dashed var(--line-2);border-radius:var(--r-lg);color:var(--text-2);flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:8px;padding:56px 24px;display:flex}.empty-state .icon{width:28px;height:28px;color:var(--text-3);stroke-width:1.3px}.empty-state strong{color:var(--text);font-size:15px}.empty-state p{font-size:13px}.empty-state.compact{padding:32px 18px}.toast{background:var(--primary);color:var(--ink);border-radius:var(--r-pill);box-shadow:var(--shadow-pop);z-index:90;max-width:min(88vw,480px);animation:toast-in .2s var(--enter);padding:11px 20px;font-size:13px;font-weight:600;position:fixed;bottom:26px;left:50%;transform:translate(-50%)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.modal-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:80;background:#14141a66;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-xl);box-shadow:var(--shadow-pop);width:min(560px,100%);max-height:min(84vh,760px);animation:modal-in .2s var(--enter);flex-direction:column;display:flex;overflow:hidden}@keyframes modal-in{0%{opacity:0;transform:translateY(10px)scale(.97)}to{opacity:1;transform:none}}.modal-header{justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 14px;display:flex}.modal-header h2{margin:4px 0;font-size:17px}.modal-header>div>p:last-child{color:var(--text-2);font-size:13px}.modal-header>button{width:30px;height:30px;color:var(--text-3);border-radius:9px;flex:none;justify-content:center;align-items:center;font-size:18px;display:inline-flex}.modal-header>button:hover:not(:disabled){background:var(--surface-3);color:var(--text)}.modal-footer{border-top:1px solid var(--line);color:var(--text-2);justify-content:space-between;align-items:center;gap:12px;padding:14px 24px;font-size:13px;display:flex}.eyebrow{letter-spacing:.15em;text-transform:uppercase;color:var(--text-3);font-size:11px;font-weight:650}.boot-screen{min-height:100vh;color:var(--text-2);z-index:1;flex-direction:column;justify-content:center;align-items:center;gap:18px;font-size:14px;display:flex;position:relative}.login-page{z-index:1;grid-template-columns:1.15fr 1fr;min-height:100vh;display:grid;position:relative}.login-brand{background:radial-gradient(760px 460px at 16% 18%,#6c80f024,#0000 62%),radial-gradient(700px 480px at 84% 82%,#c792ea1f,#0000 62%);flex-direction:column;justify-content:center;gap:18px;padding:clamp(40px,7vw,96px);display:flex;position:relative;overflow:hidden}.login-brand h1{letter-spacing:-.02em;max-width:14em;font-size:clamp(32px,3.8vw,48px)}.login-lead{color:var(--text-2);max-width:42ch;font-size:15px;line-height:1.75}.login-capabilities{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.login-capabilities span{border-radius:var(--r-pill);border:1px solid var(--line-2);color:var(--text-2);padding:6px 13px;font-size:12px;font-weight:600}.login-panel{background:var(--surface);border-left:1px solid var(--line);flex-direction:column;justify-content:center;gap:20px;padding:clamp(36px,5vw,72px);display:flex}.login-panel h2{margin:6px 0 4px;font-size:22px}.login-panel>div>p:last-child{color:var(--text-2);font-size:13.5px}.login-form{flex-direction:column;gap:16px;display:flex}.login-footnote{color:var(--text-3);font-size:12px}.app-shell{z-index:1;grid-template-columns:236px minmax(0,1fr);min-height:100vh;display:grid;position:relative}.rail{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);height:calc(100vh - 24px);box-shadow:var(--shadow-card);z-index:30;flex-direction:column;align-items:stretch;gap:4px;margin:12px 0 12px 12px;padding:16px 12px 14px;display:flex;position:sticky;top:12px}.rail-logo{text-align:left;border-radius:12px;align-items:center;gap:10px;margin-bottom:14px;padding:4px 6px;display:flex}.rail-logo strong{letter-spacing:-.01em;font-size:15px;font-weight:750}.rail-logo .brand-mark{border-radius:11px;width:34px;height:34px;font-size:16px}.rail-item{color:var(--text-2);white-space:nowrap;transition:color .14s var(--enter), background .14s var(--enter);border-radius:14px;align-items:center;gap:11px;padding:11px 13px;font-weight:600;display:flex;position:relative}.rail-item .icon{width:19px;height:19px}.rail-item span{letter-spacing:.01em;font-size:13.5px}.rail-item:hover{color:var(--text);background:var(--surface-2)}.rail-item.active{color:var(--text);background:var(--surface-3);font-weight:700}.rail-count{border-radius:var(--r-pill);background:var(--primary);min-width:19px;height:19px;color:var(--ink);font-variant-numeric:tabular-nums;justify-content:center;align-items:center;margin-left:auto;padding:0 6px;font-size:11px;font-weight:750;display:inline-flex}.rail-spacer{flex:1}.rail-credits{background:var(--amount-soft);border-radius:14px;align-items:baseline;gap:6px;padding:11px 14px;display:flex}.rail-credits strong{color:var(--amount);font-variant-numeric:tabular-nums;font-size:14.5px;font-weight:750}.rail-credits span{color:var(--text-2);font-size:11.5px;font-weight:600}.rail-account{margin-top:8px;padding:0 2px;position:relative}.rail-avatar{background:var(--surface-3);width:38px;height:38px;color:var(--text);transition:background .14s var(--enter), color .14s var(--enter);border-radius:50%;place-items:center;font-size:13.5px;font-weight:700;display:grid}.rail-avatar:hover,.rail-account.open .rail-avatar{background:var(--primary);color:var(--ink)}.account-menu{background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-lg);min-width:208px;box-shadow:var(--shadow-pop);z-index:60;transform-origin:0 100%;animation:pop-in .16s var(--enter);padding:6px;position:absolute;bottom:0;left:calc(100% + 10px)}.account-menu header{border-bottom:1px solid var(--line);margin-bottom:5px;padding:9px 11px 8px}.account-menu header strong{font-size:13.5px;display:block}.account-menu header small{color:var(--text-3);font-size:11.5px}.account-menu button{width:100%;color:var(--text-2);text-align:left;border-radius:10px;align-items:center;gap:10px;padding:9px 11px;font-size:13px;font-weight:600;display:flex}.account-menu button:hover{background:var(--surface-3);color:var(--text)}.account-menu button.danger:hover{background:var(--err-soft);color:var(--err)}.main-area{min-width:0}.wrap{flex-direction:column;max-width:1120px;margin:0 auto;padding:0 clamp(18px,3.5vw,48px) 72px;display:flex}.topline{color:var(--text-3);justify-content:space-between;align-items:center;padding:16px 0 0;font-size:12.5px;display:flex}.topline .conn{align-items:center;gap:7px;display:inline-flex}.connection-dot{background:var(--err);border-radius:50%;flex:none;width:7px;height:7px}.connection-dot.online{background:var(--ok)}.scope-switch{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-pill);align-self:flex-start;gap:2px;margin-top:14px;padding:3px;display:inline-flex}.scope-switch button{border-radius:var(--r-pill);color:var(--text-3);padding:5px 13px;font-size:12px;font-weight:600}.scope-switch button.active{background:var(--primary);color:var(--ink)}.page-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;padding-top:34px;display:flex}.page-heading h1{letter-spacing:-.02em;margin:0 0 5px;font-size:30px}.page-heading>div:first-child>p:last-child{color:var(--text-2);max-width:62ch;font-size:13.5px}.home-page{flex-direction:column;padding-top:16px;display:flex}.home-hero{border-radius:var(--r-xl);background:radial-gradient(900px 430px at 12% -12%,#7086f62e,#0000 60%),radial-gradient(720px 400px at 88% -2%,#e8a6d529,#0000 62%),radial-gradient(780px 430px at 50% 112%,#6e50e217,#0000 60%),linear-gradient(160deg,#eef1fb,#f6f1fa 52%,#eef4f1);flex-direction:column;align-items:center;gap:22px;padding:clamp(30px,5vw,54px) clamp(18px,4vw,56px) clamp(26px,4vw,46px);display:flex;position:relative;overflow:hidden}.home-hero h1{letter-spacing:-.015em;text-align:center;font-size:clamp(22px,2.6vw,30px)}.hc-card{background:var(--surface);border:1px solid var(--line);width:min(760px,100%);transition:box-shadow .18s var(--enter), border-color .18s var(--enter);border-radius:22px;flex-direction:column;gap:10px;padding:16px 16px 12px;display:flex;box-shadow:0 12px 40px #22222e14}.hc-card:focus-within{border-color:#1d1d2229;box-shadow:0 18px 56px #22222e1f}.hc-card textarea{resize:none;background:0 0;border:none;min-height:52px;padding:2px 4px;font-size:15px;line-height:1.65}.hc-card textarea:focus{box-shadow:none}.hc-bar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hc-tools{flex-wrap:wrap;flex:1;align-items:center;gap:7px;display:flex}.hc-skill{color:var(--text-2);background:var(--surface-2);border-radius:var(--r-pill);transition:background .14s var(--enter), color .14s var(--enter);border:1px solid #0000;align-items:center;gap:6px;padding:7px 13px;font-size:12.5px;font-weight:600;display:inline-flex}.hc-skill .icon{width:13px;height:13px;color:var(--skill)}.hc-skill:hover{background:var(--surface-3);color:var(--text)}.hc-skill.more .icon{color:var(--text-3)}.hc-send{background:var(--primary);width:40px;height:40px;color:var(--ink);transition:transform .12s var(--enter), background .14s var(--enter);border-radius:50%;flex:none;place-items:center;display:grid}.hc-send:hover{background:var(--primary-2)}.hc-send:active{transform:scale(.94)}.caret-right{transform:rotate(-90deg)}.feature-cards{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:14px;display:grid}.feature-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);text-align:left;transition:transform .15s var(--enter), box-shadow .15s var(--enter);align-items:center;gap:12px;padding:12px 14px;display:flex}.feature-card>div{min-width:0}button.feature-card:hover{box-shadow:var(--shadow-card);transform:translateY(-2px)}.feature-card strong{font-size:13.5px;font-weight:700;display:block}.feature-card small{color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;margin-top:1px;font-size:11.5px;display:block;overflow:hidden}.fc-thumb{color:#fff;border-radius:13px;flex:none;place-items:center;width:44px;height:44px;display:grid}.fc-thumb .icon{width:20px;height:20px}.fc-thumb.f-film{background:linear-gradient(135deg,#5c7cfa,#845ef7)}.fc-thumb.f-story{background:linear-gradient(135deg,#ff922b,#f76707)}.fc-thumb.f-skill{background:linear-gradient(135deg,#845ef7,#be4bdb)}.fc-thumb.f-shield{background:linear-gradient(135deg,#38d9a9,#0ca678)}.continue-row{margin-top:42px}.continue-cards{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;display:grid}.start-card{border:1.5px dashed var(--line-2);border-radius:var(--r-lg);min-height:138px;color:var(--text-2);transition:border-color .14s var(--enter), color .14s var(--enter), background .14s var(--enter);background:#ffffff8c;flex-direction:column;justify-content:center;align-items:center;gap:7px;font-size:13.5px;font-weight:650;display:flex}.start-card .icon{width:20px;height:20px}.start-card small{color:var(--text-3);font-size:11px;font-weight:600}.start-card:hover{border-color:var(--text-3);color:var(--text);background:var(--surface)}.recent-card{border-radius:var(--r-lg);border:1px solid var(--line);background:var(--surface);text-align:left;transition:transform .15s var(--enter), box-shadow .15s var(--enter);flex-direction:column;gap:4px;display:flex;overflow:hidden}.recent-card:hover{box-shadow:var(--shadow-card);transform:translateY(-2px)}.recent-cover{aspect-ratio:16/9;background:var(--surface-2);width:100%;color:var(--text-3);place-items:center;display:grid;overflow:hidden}.recent-cover video{object-fit:cover;width:100%;height:100%}.recent-card strong{text-overflow:ellipsis;white-space:nowrap;padding:6px 12px 0;font-size:12.5px;font-weight:600;overflow:hidden}.recent-card small{color:var(--text-3);font-variant-numeric:tabular-nums;padding:0 12px 10px;font-size:11px}.studio-page{flex-direction:column;display:flex}.greeting{padding:40px 0 20px}.greeting h1{font-size:24px}.greeting p{color:var(--text-2);margin-top:4px;font-size:13.5px}.viewfinder{position:relative}.composer{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow-card);transition:border-color .22s var(--enter), box-shadow .22s var(--enter);padding:16px 16px 12px;position:relative}.viewfinder:focus-within .composer{border-color:#1d1d2229;box-shadow:0 18px 56px #22222e1f}.tiles{flex-wrap:wrap;gap:10px;margin-bottom:12px;display:flex}.tile{border:1.5px dashed var(--line-2);width:92px;height:68px;color:var(--text-3);transition:border-color .14s var(--enter), color .14s var(--enter), background .14s var(--enter);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:11px;font-weight:600;display:flex}.tile .icon{width:16px;height:16px}.tile:hover{border-color:var(--text-3);color:var(--text-2);background:var(--surface-2)}.tile.filled{border-style:solid;border-color:var(--line-2);color:#fff;cursor:default;padding:0;position:relative;overflow:hidden}.tile.filled .material-media,.tile.filled .media-placeholder,.tile.filled .audio-preview{object-fit:cover;width:100%;height:100%}.tile.filled em{border-radius:var(--r-pill);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-overflow:ellipsis;white-space:nowrap;background:#0a0a0cb8;max-width:calc(100% - 12px);padding:2px 7px;font-size:10px;font-style:normal;font-weight:700;position:absolute;bottom:5px;left:6px;overflow:hidden}.tile.filled .rm{color:#ffffffe0;background:#0a0a0cb8;border-radius:50%;place-items:center;width:18px;height:18px;font-size:11px;display:grid;position:absolute;top:5px;right:5px}.tile.filled .rm:hover{background:var(--err);color:#fff}.upload-control{display:inline-flex;position:relative}.upload-popover{background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-lg);min-width:264px;box-shadow:var(--shadow-pop);z-index:50;transform-origin:0 0;animation:pop-in .16s var(--enter);flex-direction:column;gap:2px;padding:6px;display:flex;position:absolute;top:calc(100% + 8px);left:0}.upload-popover button{text-align:left;transition:background .13s var(--enter);border-radius:11px;align-items:center;gap:12px;padding:11px 12px;display:flex}.upload-popover button:hover{background:var(--surface-3)}.upload-popover button .icon{width:18px;height:18px;color:var(--text-2)}.upload-popover strong{font-size:13px;display:block}.upload-popover small{color:var(--text-3);font-size:11.5px}.chips{flex-wrap:wrap;gap:7px;padding:0 2px 10px;display:flex}.chip{border-radius:var(--r-pill);background:var(--skill-soft);color:var(--skill);align-items:center;gap:6px;padding:5px 11px;font-size:12px;font-weight:600;display:inline-flex}.chip .icon{width:11px;height:11px}.chip button{opacity:.7;padding:0 1px;font-size:12px}.chip button:hover{opacity:1}.composer textarea{resize:none;background:0 0;border:none;width:100%;min-height:96px;padding:2px 4px;font-size:15.5px;line-height:1.7}.composer textarea:focus{box-shadow:none;border:none}.prompt-zone{position:relative}.mention-menu{background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-lg);min-width:250px;max-height:230px;box-shadow:var(--shadow-pop);z-index:50;transform-origin:0 100%;animation:pop-in .15s var(--enter);padding:6px;position:absolute;bottom:calc(100% + 6px);left:4px;overflow:auto}.mention-menu>small{color:var(--text-3);padding:5px 10px 4px;font-size:11px;font-weight:650;display:block}.mention-menu button{text-align:left;border-radius:9px;align-items:center;gap:10px;width:100%;padding:8px 10px;display:flex}.mention-menu button:hover{background:var(--surface-3)}.mention-menu button span{color:var(--text);flex:none;font-size:12.5px;font-weight:700}.mention-menu button strong{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:500;overflow:hidden}.bar{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding-top:12px;display:flex}.pill-select{position:relative}.pill{color:var(--text-2);border:1px solid var(--line-2);border-radius:var(--r-pill);font-variant-numeric:tabular-nums;transition:border-color .14s var(--enter), color .14s var(--enter);background:0 0;align-items:center;gap:7px;padding:7px 13px;font-size:12.5px;font-weight:600;display:inline-flex}.pill .icon{width:15px;height:15px}.pill .caret{opacity:.55;width:12px;height:12px;transition:transform .16s var(--enter)}.pill:hover,.pill-select.open .pill{color:var(--text);border-color:var(--text-3)}.pill-select.open .caret{transform:rotate(180deg)}.pill-menu{background:var(--surface);border:1px solid var(--line-2);min-width:132px;max-height:260px;box-shadow:var(--shadow-pop);z-index:50;transform-origin:0 100%;animation:pop-in .15s var(--enter);border-radius:14px;padding:5px;position:absolute;bottom:calc(100% + 8px);left:0;overflow:auto}.pill-menu button{width:100%;color:var(--text-2);font-variant-numeric:tabular-nums;text-align:left;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:7px 11px;font-size:12.5px;font-weight:600;display:flex}.pill-menu button:hover{background:var(--surface-3);color:var(--text)}.pill-menu button.on{color:var(--text)}.pill-menu button.on:after{content:"";background:var(--text);border-radius:50%;width:6px;height:6px}.bar-spacer{flex:1}.bar .hint{color:var(--text-3);font-size:12px}.go{background:var(--primary);color:var(--ink);border-radius:var(--r-pill);white-space:nowrap;transition:transform .12s var(--enter), background .14s var(--enter);align-items:center;gap:10px;padding:10px 10px 10px 20px;font-size:14px;font-weight:700;display:inline-flex}.go:active:not(:disabled){transform:scale(.98)}.go .price{color:#4f3b0d;background:var(--amount-strong);border-radius:var(--r-pill);font-variant-numeric:tabular-nums;align-items:center;gap:4px;padding:4px 11px 4px 8px;font-size:12px;font-weight:750;display:inline-flex}.go .price .icon{fill:currentColor;stroke:none;width:12px;height:12px}.go .price.idle{background:var(--surface-3);color:var(--text-3)}.composer-notes{flex-direction:column;gap:8px;margin-top:10px;display:flex}.trust{text-align:right;color:var(--text-3);margin-top:10px;font-size:12px}.trust b{color:var(--ok);font-weight:600}.skill-sheet{background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-lg);animation:pop-in .18s var(--enter);flex-direction:column;gap:14px;margin-top:12px;padding:16px;display:flex}.skill-sheet-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.skill-sheet-head h3{font-size:13.5px}.skill-sheet-head small{color:var(--text-3);margin-left:8px;font-size:12px;font-weight:500}.skill-sheet-head strong{color:var(--skill);font-size:12px;font-weight:650}.skill-groups{flex-direction:column;gap:12px;display:flex}.skill-group>small{color:var(--text-3);margin-bottom:7px;font-size:11.5px;font-weight:650;display:block}.skill-group>div{flex-wrap:wrap;gap:7px;display:flex}.skill-capsule{border-radius:var(--r-pill);border:1px solid var(--line-2);color:var(--text-2);transition:border-color .13s var(--enter), background .13s var(--enter), color .13s var(--enter);background:0 0;align-items:center;gap:6px;padding:6px 13px;font-size:12.5px;font-weight:600;display:inline-flex}.skill-capsule .icon{width:12px;height:12px;color:var(--skill)}.skill-capsule:hover{border-color:var(--skill);color:var(--text)}.skill-capsule.active{background:var(--skill-soft);color:var(--skill);border-color:#6d4fe059}.upload-queue{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);flex-direction:column;gap:12px;margin-top:16px;padding:14px 16px;display:flex}.upload-queue-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.upload-queue-head h3{font-size:13px}.upload-queue-head small{color:var(--text-3);margin-left:8px;font-size:12px;font-weight:500}.upload-items{flex-direction:column;gap:10px;display:flex}.upload-item{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 12px;font-size:13px;display:grid}.upload-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.upload-item small{color:var(--text-2);font-size:12px}.upload-item.error small{color:var(--err)}.upload-item>span{color:var(--text-2);font-variant-numeric:tabular-nums;font-size:12px;font-weight:650}.mini-progress{border-radius:var(--r-pill);background:var(--surface-3);grid-column:1/-1;height:3px;overflow:hidden}.mini-progress i{border-radius:inherit;background:var(--text-2);height:100%;transition:width .3s var(--move);display:block}.upload-item.error .mini-progress i{background:var(--err)}.sec-head{justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:14px;display:flex}.sec-head h2{align-items:center;gap:9px;font-size:16px;display:inline-flex}.sec-head .more{color:var(--text-3);font-size:12.5px;font-weight:600}.sec-head .more:hover{color:var(--text-2)}.rec{background:var(--err);border-radius:50%;flex:none;width:8px;height:8px;animation:1.6s ease-in-out infinite rec-blink}.running{margin-top:42px}.run-cards{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;display:grid}.run-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);text-align:left;transition:border-color .15s var(--enter);grid-template-columns:118px minmax(0,1fr);gap:14px;padding:12px;display:grid}.run-card:hover{border-color:var(--line-2)}.run-thumb{aspect-ratio:16/10;background:linear-gradient(120deg,#eaeaee,#f6f6f8 45%,#eaeaee 80%) 0 0/200% 100%;border-radius:10px;animation:2.2s linear infinite shimmer;position:relative;overflow:hidden}.run-thumb .material-media{object-fit:cover;opacity:.55;width:100%;height:100%}.run-body{flex-direction:column;gap:5px;min-width:0;padding:2px 2px 0 0;display:flex}.run-body strong{white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;font-weight:620;overflow:hidden}.run-meta{color:var(--text-3);font-variant-numeric:tabular-nums;font-size:12px}.run-state{color:var(--run);align-items:center;gap:8px;min-width:0;margin-top:auto;font-size:12px;font-weight:600;display:flex}.run-state .stage{color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bar-track{border-radius:var(--r-pill);background:var(--surface-3);flex:1;min-width:40px;height:3px;overflow:hidden}.bar-fill{border-radius:inherit;background:var(--run);height:100%;transition:width .5s var(--move)}.run-pct{font-variant-numeric:tabular-nums;font-weight:700}.queue-pos{color:var(--text-2);background:var(--surface-3);border-radius:var(--r-pill);flex:none;padding:2px 9px;font-size:11.5px;font-weight:600}.works{margin-top:44px}.filter-tabs{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-pill);gap:2px;padding:3px;display:inline-flex}.filter-tabs button{color:var(--text-3);border-radius:var(--r-pill);padding:6px 15px;font-size:12.5px;font-weight:600}.filter-tabs button.active{background:var(--primary);color:var(--ink)}.work-grid{grid-template-columns:repeat(auto-fill,minmax(236px,1fr));gap:14px;display:grid}.work{border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);transition:transform .16s var(--enter), border-color .16s var(--enter);flex-direction:column;display:flex;position:relative;overflow:hidden}.work:hover{box-shadow:var(--shadow-card);transform:translateY(-3px)}.work .cover{aspect-ratio:16/9;background:var(--surface-2);place-items:center;width:100%;padding:0;display:grid;position:relative;overflow:hidden}.work .cover video,.work .cover .material-media{object-fit:cover;width:100%;height:100%}.work .dur{font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:var(--r-pill);color:#fff;background:#0a0a0cb8;padding:3px 8px;font-size:11px;font-weight:700;position:absolute;bottom:8px;right:8px}.work .play{opacity:0;transition:opacity .18s var(--enter);background:#0a0a0c47;place-items:center;display:grid;position:absolute;inset:0}.work:hover .play,.work:focus-within .play{opacity:1}.play i{width:42px;height:42px;color:var(--text);background:#fffffff0;border-radius:50%;place-items:center;display:grid}.play svg{fill:currentColor;stroke:none;width:16px;height:16px;margin-left:2px}.failed-face{text-align:center;color:var(--text-3);padding:12px;font-size:12px}.failed-face b{color:var(--err);margin-bottom:3px;font-size:13px;font-weight:650;display:block}.failed-face .refund{color:var(--ok);font-weight:600}.work .info{flex-direction:column;gap:7px;padding:11px 13px 12px;display:flex}.work .info strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.work .row{color:var(--text-3);justify-content:space-between;align-items:center;gap:8px;min-height:24px;font-size:11.5px;display:flex}.work .row .actions{opacity:0;transition:opacity .16s var(--enter);gap:2px;display:inline-flex}.work:hover .row .actions,.work:focus-within .row .actions{opacity:1}.work .row .actions button{color:var(--text-2);border-radius:8px;padding:4px 9px;font-size:11.5px;font-weight:600}.work .row .actions button:hover{background:var(--surface-3);color:var(--text)}.badge{border-radius:var(--r-pill);align-items:center;gap:5px;padding:3px 9px;font-size:11px;font-weight:650;display:inline-flex}.badge.ok{background:var(--ok-soft);color:var(--ok)}.badge.err{background:var(--err-soft);color:var(--err)}.badge.warn{background:var(--warn-soft);color:var(--warn)}.project-page{flex-direction:column;gap:18px;padding-top:22px;display:flex}.project-loading{place-items:center;min-height:40vh;display:grid}.project-head{align-items:center;gap:12px;display:flex}.caret-left{transform:rotate(90deg)}.project-title{background:0 0;border:1px solid #0000;border-radius:10px;flex:1;min-width:0;padding:6px 10px;font-size:19px;font-weight:650}.project-title:hover,.project-title:focus{border-color:var(--line-2);background:var(--surface)}.stepper{flex-wrap:wrap;gap:8px;display:flex}.step{color:var(--text-3);border:1px solid var(--line);border-radius:var(--r-pill);align-items:center;gap:8px;padding:7px 15px 7px 8px;font-size:12.5px;font-weight:650;display:inline-flex}.step i{background:var(--surface-3);width:20px;height:20px;color:var(--text-2);border-radius:50%;place-items:center;font-size:11px;font-style:normal;font-weight:750;display:grid}.step small{color:var(--text-3);font-size:11px;font-weight:550}.step.current{color:var(--text);border-color:var(--line-2)}.step.current i{background:var(--primary);color:var(--ink)}.step.done{color:var(--ok);border-color:#188a564d}.step.done i{background:var(--ok-soft);color:var(--ok)}.project-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.script-card,.entities-card,.shots-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);flex-direction:column;gap:12px;padding:18px;display:flex}.idea-row{gap:8px;display:flex}.idea-row input{flex:1;min-width:0}.cost{color:var(--amount);background:var(--amount-soft);border-radius:var(--r-pill);font-variant-numeric:tabular-nums;align-items:center;gap:3px;padding:2px 8px 2px 5px;font-size:11px;font-weight:750;display:inline-flex}.cost .icon{fill:currentColor;stroke:none;width:11px;height:11px}.script-card textarea{font-size:13.5px;line-height:1.7}.style-row{gap:6px}.entity-list{flex-direction:column;gap:10px;max-height:480px;display:flex;overflow:auto}.entity-card{border:1px solid var(--line);border-radius:var(--r-md);grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px;display:grid}.entity-thumb{background:var(--surface-2);border-radius:10px;place-items:center;width:96px;height:96px;display:grid;overflow:hidden}.entity-thumb .material-media{object-fit:cover;width:100%;height:100%}.entity-empty{color:var(--text-3);font-size:12px}.entity-body{flex-direction:column;gap:6px;min-width:0;display:flex}.entity-body input{padding:6px 9px;font-size:13px;font-weight:650}.entity-body textarea{padding:6px 9px;font-size:12.5px}.entity-actions{gap:6px;display:flex}.entity-actions button{border:1px solid var(--line-2);color:var(--text-2);border-radius:9px;align-items:center;gap:5px;padding:6px 11px;font-size:12px;font-weight:600;display:inline-flex}.entity-actions button:hover:not(:disabled){border-color:var(--text-3);color:var(--text)}.entity-actions .icon{fill:currentColor;stroke:none;width:11px;height:11px;color:var(--amount)}.entity-hint{color:var(--text-3);font-size:12.5px}.shots-head-actions{align-items:center;gap:10px;display:flex}.shot-list{flex-direction:column;gap:12px;display:flex}.shot-row{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-2);grid-template-columns:120px minmax(0,1fr) 240px;gap:14px;padding:12px;display:grid}.shot-row.confirmed{border-color:#188a5659}.shot-side{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.shot-no{background:var(--surface-3);font-variant-numeric:tabular-nums;border-radius:8px;place-items:center;width:26px;height:26px;font-size:12.5px;font-weight:750;display:grid}.shot-confirm{flex-direction:row;align-items:center;gap:6px;font-size:12px}.shot-confirm input{width:15px;height:15px;accent-color:var(--ok);padding:0}.shot-side select{padding:5px 8px;font-size:12px}.shot-delete{color:var(--text-3);font-size:11.5px}.shot-delete:hover{color:var(--err)}.shot-main{flex-direction:column;gap:7px;min-width:0;display:flex}.shot-main textarea{padding:8px 10px;font-size:13px}.shot-main .shot-final{color:var(--text-2);font-size:12px}.shot-fields{grid-template-columns:100px 1fr 1fr;gap:7px;display:grid}.shot-fields input{padding:7px 9px;font-size:12.5px}.shot-media{flex-direction:column;gap:8px;display:flex}.shot-frame{aspect-ratio:16/9;background:var(--surface-3);border-radius:10px;place-items:center;display:grid;overflow:hidden}.shot-frame .material-media{object-fit:cover;width:100%;height:100%}.shot-frame-empty{color:var(--text-3);font-size:12px}.shot-media-actions{flex-wrap:wrap;gap:6px;display:flex}.shot-media-actions button{border:1px solid var(--line-2);color:var(--text-2);border-radius:9px;align-items:center;gap:5px;padding:6px 11px;font-size:12px;font-weight:600;display:inline-flex}.shot-media-actions button:hover:not(:disabled){border-color:var(--text-3);color:var(--text)}.shot-media-actions .icon{fill:currentColor;stroke:none;width:11px;height:11px;color:var(--amount)}.preview-modal{width:min(900px,100%)}.preview-body{padding:0 24px 22px}.preview-body video{border-radius:var(--r-md);background:#101014;width:100%}@media (max-width:1120px){.project-grid,.shot-row{grid-template-columns:minmax(0,1fr)}.shot-side{flex-direction:row;align-items:center}}.tasks-page,.materials-page,.users-page,.settings-page{flex-direction:column;gap:20px;display:flex}.task-summary{gap:10px;display:flex}.task-summary span{border-radius:var(--r-md);background:var(--surface);border:1px solid var(--line);flex-direction:column;align-items:center;gap:1px;min-width:78px;padding:9px 14px;display:flex}.task-summary strong{font-variant-numeric:tabular-nums;font-size:18px;font-weight:750}.task-summary small{color:var(--text-2);font-size:11.5px}.task-list{flex-direction:column;gap:12px;display:flex}.task-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);transition:border-color .15s var(--enter);overflow:hidden}.task-card.tone-red{border-color:#d6453e4d}.task-card.tone-violet{border-color:#6d4fe04d}.task-head{text-align:left;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:16px;width:100%;padding:14px 18px;display:grid}.task-head:hover{background:var(--surface-2)}.task-title{flex-direction:column;gap:1px;min-width:0;display:flex}.task-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:620;overflow:hidden}.task-title small{color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.task-progress-copy{flex-direction:column;align-items:flex-end;gap:1px;min-width:88px;display:flex}.task-progress-copy strong{font-variant-numeric:tabular-nums;font-size:14px;font-weight:700}.task-progress-copy small{color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:11.5px;overflow:hidden}.task-head time{color:var(--text-3);font-variant-numeric:tabular-nums;font-size:12px}.chevron{color:var(--text-3);transition:transform .18s var(--enter);display:inline-flex}.chevron.open{transform:rotate(180deg)}.task-progress{background:var(--surface-3);height:3px}.task-progress i{background:var(--run);height:100%;transition:width .5s var(--move);display:block}.tone-green .task-progress i{background:var(--ok)}.tone-red .task-progress i{background:var(--err)}.task-detail{border-top:1px solid var(--line);grid-template-columns:minmax(280px,420px) minmax(0,1fr);gap:20px;padding:18px;display:grid}.task-visual{border-radius:var(--r-md);background:#101014;justify-content:center;align-items:center;min-height:220px;display:flex;position:relative;overflow:hidden}.task-visual video{object-fit:contain;width:100%;height:100%;max-height:420px}.playback-label{color:#ffffffeb;border-radius:var(--r-pill);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0a0a0cad;padding:4px 10px;font-size:11px;font-weight:650;position:absolute;bottom:10px;left:10px}.generation-wait{text-align:center;color:var(--text);flex-direction:column;align-items:center;gap:10px;padding:34px 22px;display:flex}.generation-wait strong{font-size:14.5px}.generation-wait p{color:var(--text-3);max-width:34ch;font-size:12.5px}.failure-mark{background:var(--err-soft);width:34px;height:34px;color:var(--err);border-radius:50%;justify-content:center;align-items:center;font-size:16px;font-weight:800;display:inline-flex}.task-info{flex-direction:column;gap:14px;min-width:0;display:flex}.detail-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px 18px;display:grid}.detail-grid span{flex-direction:column;gap:1px;min-width:0;display:flex}.detail-grid small{color:var(--text-3);font-size:11px;font-weight:650}.detail-grid strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:620;overflow:hidden}.task-skills{flex-wrap:wrap;gap:6px;display:flex}.task-skills span{color:var(--skill);background:var(--skill-soft);border-radius:var(--r-pill);align-items:center;gap:5px;padding:4px 10px;font-size:11.5px;font-weight:600;display:inline-flex}.review-list{border:1px solid var(--line);border-radius:var(--r-md);flex-direction:column;gap:7px;padding:12px 14px;display:flex}.review-list h3{color:var(--text-2);margin-bottom:2px;font-size:12.5px}.review-list>div{align-items:baseline;gap:9px;font-size:12.5px;display:flex}.review-list>div span{color:var(--text-3);font-variant-numeric:tabular-nums;min-width:15px;font-size:11px;font-weight:700}.review-list strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.review-list small{color:var(--text-3);flex:none;margin-left:auto;font-size:11.5px}.unknown-resolution{background:var(--skill-soft);border-radius:var(--r-md);border:1px solid #6d4fe04d;flex-direction:column;gap:9px;padding:14px;font-size:13px;display:flex}.unknown-resolution strong{color:var(--skill)}.unknown-resolution p{color:var(--text-2);font-size:12.5px}.unknown-resolution>div{flex-wrap:wrap;gap:8px;display:flex}.unknown-resolution input{flex:1;min-width:200px;padding:8px 10px;font-size:13px}.unknown-resolution button,.task-actions button,.material-actions button,.point-adjust button{border:1px solid var(--line-2);color:var(--text-2);transition:border-color .13s var(--enter), color .13s var(--enter);background:0 0;border-radius:10px;padding:8px 13px;font-size:12.5px;font-weight:600}.unknown-resolution button:hover,.task-actions button:hover:not(:disabled),.material-actions button:hover,.point-adjust button:hover{border-color:var(--text-3);color:var(--text)}.danger-actions button:hover{border-color:var(--err)!important;color:var(--err)!important}.task-actions{flex-wrap:wrap;gap:8px;display:flex}.points-page{flex-direction:column;gap:18px;display:flex}.ledger-summary{gap:12px;display:flex}.ledger-stat{border-radius:var(--r-lg);background:var(--amount-soft);border:1px solid #e3b34f40;flex-direction:column;gap:2px;min-width:140px;padding:14px 18px;display:flex}.ledger-stat small{color:var(--text-2);font-size:11.5px;font-weight:600}.ledger-stat strong{color:var(--amount);font-variant-numeric:tabular-nums;font-size:24px;font-weight:780}.ledger-list{flex-direction:column;gap:8px;display:flex}.ledger-row{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 16px;display:grid}.ledger-reason{flex-direction:column;gap:1px;min-width:0;display:flex}.ledger-reason strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.ledger-reason small{color:var(--text-3);font-variant-numeric:tabular-nums;font-size:11.5px}.ledger-delta{font-variant-numeric:tabular-nums;color:var(--text-3);font-size:15px;font-weight:750}.ledger-delta.plus{color:var(--ok)}.ledger-delta.minus{color:var(--err)}.filter-groups{flex-wrap:wrap;gap:10px;display:flex}.material-grid{grid-template-columns:repeat(auto-fill,minmax(236px,1fr));gap:14px;display:grid}.material-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);transition:transform .15s var(--enter), border-color .15s var(--enter);flex-direction:column;display:flex;overflow:hidden}.material-card:hover{border-color:var(--line-2);transform:translateY(-2px)}.material-preview{aspect-ratio:16/10;background:var(--surface-2);justify-content:center;align-items:center;display:flex;overflow:hidden}.material-preview .material-media{object-fit:cover;width:100%;height:100%}.material-card-body{flex-direction:column;gap:6px;padding:12px 14px 14px;display:flex}.material-card-body>div:first-child{flex-wrap:wrap;gap:5px;display:flex}.material-card-body strong{text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:620;overflow:hidden}.material-card-body p{color:var(--text-3);font-variant-numeric:tabular-nums;font-size:12px}.type-chip,.origin-chip{border-radius:var(--r-pill);letter-spacing:.02em;align-items:center;padding:3px 8px;font-size:10.5px;font-weight:700;display:inline-flex}.type-chip.image{background:var(--run-soft);color:var(--run)}.type-chip.video{background:var(--skill-soft);color:var(--skill)}.type-chip.audio{background:var(--warn-soft);color:var(--warn)}.origin-chip{background:var(--surface-3);color:var(--text-2)}.material-error{color:var(--err);font-size:12px}.material-actions{gap:7px;margin-top:4px;display:flex}.media-placeholder{width:100%;height:100%;min-height:90px;color:var(--text-3);flex-direction:column;justify-content:center;align-items:center;gap:7px;font-size:12px;display:flex}.media-placeholder.compact{gap:3px;min-height:0}.media-placeholder.compact small{font-size:9.5px}.audio-preview{width:100%;color:var(--text-2);flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;font-size:12.5px;display:flex}.audio-preview audio{width:100%}.material-picker-modal{width:min(880px,100%)}.picker-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;padding:6px 24px 18px;display:grid;overflow:auto}.picker-card{border:1.5px solid var(--line-2);border-radius:var(--r-md);background:var(--surface-2);text-align:left;transition:border-color .13s var(--enter), transform .13s var(--enter);flex-direction:column;display:flex;position:relative;overflow:hidden}.picker-card:hover{border-color:var(--text-3);transform:translateY(-1px)}.picker-card.selected{border-color:var(--primary)}.picker-card .material-media,.picker-card .media-placeholder,.picker-card .audio-preview{aspect-ratio:16/10;object-fit:cover;width:100%}.picker-card>span{flex-direction:column;gap:1px;padding:9px 11px;display:flex}.picker-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:620;overflow:hidden}.picker-card small{color:var(--text-3);font-size:11px}.picker-card i{color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0a0a0c99;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:13px;font-style:normal;font-weight:700;display:inline-flex;position:absolute;top:8px;right:8px}.picker-card.selected i{background:var(--primary);color:var(--ink)}.admin-grid{grid-template-columns:300px minmax(0,1fr);align-items:start;gap:18px;display:grid}.admin-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);flex-direction:column;gap:14px;padding:18px;display:flex}.create-user-card{position:sticky;top:20px}.create-user-card h2{font-size:15px}.user-list{flex-direction:column;gap:10px;display:flex}.user-row{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px 14px;padding:14px 16px;display:grid}.user-row.disabled{opacity:.55}.user-avatar{width:38px;height:38px;color:var(--text-2);background:var(--surface-3);border-radius:50%;flex:none;place-items:center;font-size:14px;font-weight:700;display:inline-grid}.user-identity{flex-direction:column;gap:1px;min-width:0;display:flex}.user-identity strong{font-size:14px}.user-identity span{color:var(--text-2);font-size:12.5px}.user-identity small{color:var(--text-3);font-size:11.5px}.account-status{border-radius:var(--r-pill);background:var(--err-soft);color:var(--err);justify-self:end;padding:4px 11px;font-size:11.5px;font-weight:650}.account-status.active{background:var(--ok-soft);color:var(--ok)}.point-adjust{flex-wrap:wrap;grid-column:2/-1;gap:8px;display:flex}.point-adjust input{padding:8px 10px;font-size:13px}.point-adjust input:first-child{width:110px}.point-adjust input:nth-child(2){flex:1;min-width:160px}.user-actions{flex-wrap:wrap;grid-column:2/-1;gap:8px;display:flex}.user-actions button{padding:7px 13px;font-size:12.5px}.settings-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));align-items:start;gap:16px;display:grid}.settings-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);flex-direction:column;gap:14px;padding:20px;display:flex}.settings-card-head{align-items:flex-start;gap:12px;display:flex}.settings-card-head>div{flex:1;min-width:0}.settings-card-head h2{font-size:15px}.settings-card-head p{color:var(--text-2);text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.settings-icon{background:var(--surface-3);width:36px;height:36px;color:var(--text-2);border-radius:11px;flex:none;justify-content:center;align-items:center;display:inline-flex}.settings-icon .icon{width:17px;height:17px}.secret-input{gap:8px;display:flex}.secret-input input{flex:1;min-width:0;font-family:Consolas,Menlo,monospace;font-size:13px}.secret-input button{border:1px solid var(--line-2);color:var(--text-2);border-radius:10px;padding:0 14px;font-size:12.5px;font-weight:600}.secret-input button:hover{color:var(--text);border-color:var(--text-3)}.settings-actions{gap:9px;display:flex}.info-card h2{font-size:15px}.info-card>p{color:var(--text-2);font-size:13px}.info-card>div{border-top:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:12px;padding-top:10px;font-size:13px;display:flex}.info-card>div span{color:var(--text-3);flex:none;font-size:12px}.info-card>div strong{text-overflow:ellipsis;white-space:nowrap;font-family:Consolas,Menlo,monospace;font-size:12.5px;font-weight:600;overflow:hidden}.info-card ul{color:var(--text-2);flex-direction:column;gap:5px;margin:0;padding-left:18px;font-size:13px;display:flex}.password-form{flex-direction:column;gap:14px;padding:0 24px 22px;display:flex}.password-hint{color:var(--text-3);font-size:12.5px}.password-actions{justify-content:flex-end;gap:9px;display:flex}@media (max-width:1120px){.task-detail,.admin-grid{grid-template-columns:minmax(0,1fr)}.create-user-card{position:static}}@media (max-width:900px){.login-page{grid-template-columns:minmax(0,1fr)}.login-brand{justify-content:flex-end;min-height:32vh}.login-panel{border-left:none;border-top:1px solid var(--line)}}@media (max-width:760px){.app-shell{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.rail{border:none;border-bottom:1px solid var(--line);height:auto;box-shadow:none;scrollbar-width:none;border-radius:0;flex-direction:row;align-items:center;gap:2px;margin:0;padding:9px 12px;position:sticky;top:0;overflow-x:auto}.rail::-webkit-scrollbar{display:none}.rail-logo{margin-bottom:0;margin-right:4px;padding:2px 4px}.rail-logo strong{display:none}.rail-logo .brand-mark{border-radius:9px;width:30px;height:30px;font-size:13.5px}.rail-item{border-radius:11px;flex:none;gap:7px;padding:8px 11px}.rail-spacer,.rail-credits,.rail-account{flex:none}.rail-item .icon{width:17px;height:17px}.rail-item span{font-size:12.5px}.rail-count{margin-left:4px}.rail-credits{white-space:nowrap;border-radius:11px;gap:5px;padding:8px 12px}.rail-account{margin-top:0;margin-left:4px}.account-menu{transform-origin:100% 0;inset:calc(100% + 8px) 0 auto auto}.greeting{padding-top:26px}.task-head{grid-template-columns:auto minmax(0,1fr) auto;gap:10px;padding:12px 14px}.task-head time,.task-progress-copy small{display:none}.task-progress-copy{min-width:0}.bar .hint{display:none}.go{flex:100%;justify-content:space-between}.wrap{padding-bottom:44px}.modal-header,.password-form{padding-left:18px;padding-right:18px}.picker-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));padding-left:18px;padding-right:18px}}.project-page.with-agent{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:16px;display:grid}.project-main{flex-direction:column;gap:18px;min-width:0;display:flex}.work-tabs{margin-left:4px}.secondary-button.toggled{border-color:var(--skill);color:var(--skill)}.flow-wrap{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);height:640px;overflow:hidden}.flow-card{background:var(--surface-2);border:1px solid var(--line-2);border-radius:12px;min-width:170px;max-width:200px;font-size:12px;overflow:hidden}.flow-card header{border-bottom:1px solid var(--line);color:var(--text-2);padding:7px 10px;font-size:11.5px;font-weight:650}.flow-card.ok header{color:var(--ok)}.flow-card.err header{color:var(--err)}.flow-card.run header{color:var(--run)}.flow-card.violet header{color:var(--skill)}.flow-card-body{padding:8px 10px}.flow-thumb{aspect-ratio:16/10;background:var(--surface-3);border-radius:8px;overflow:hidden}.flow-thumb .material-media{object-fit:cover;width:100%;height:100%}.flow-script,.flow-hint{color:var(--text-3);text-align:left;font-size:11.5px;line-height:1.5}.flow-video{border-radius:8px;width:100%;display:block;position:relative;overflow:hidden}.flow-video video{width:100%;display:block}.flow-play{color:#fff;background:#0a0a0c4d;place-items:center;display:grid;position:absolute;inset:0}.agent-drawer{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);flex-direction:column;height:calc(100vh - 32px);display:flex;position:sticky;top:16px;overflow:hidden}.agent-head{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:14px 16px;display:flex}.agent-head .icon{color:var(--skill)}.agent-head strong{font-size:13.5px;display:block}.agent-head small{color:var(--text-3);font-size:11px}.agent-list{flex-direction:column;flex:1;gap:10px;padding:14px;display:flex;overflow:auto}.agent-msg{background:var(--surface-2);border:1px solid var(--line);white-space:pre-wrap;word-break:break-word;border-radius:12px 12px 12px 4px;max-width:92%;padding:9px 12px;font-size:13px;line-height:1.6}.agent-msg.mine{background:var(--skill-soft);border-color:#6d4fe047;border-radius:12px 12px 4px;align-self:flex-end}.agent-action{color:var(--amount);background:var(--amount-soft);border-radius:var(--r-pill);align-items:center;gap:5px;margin-bottom:6px;padding:2px 9px;font-size:11px;font-weight:650;display:inline-flex}.agent-action .icon{fill:currentColor;stroke:none;width:10px;height:10px}.agent-thinking{color:var(--text-3);align-items:center;gap:8px;display:inline-flex}.agent-empty{color:var(--text-3);padding:12px 6px;font-size:12.5px;line-height:1.8}.agent-question{border-top:1px solid var(--line);flex-direction:column;gap:8px;padding:12px 14px;font-size:12.5px;display:flex}.agent-question>div{flex-direction:column;gap:6px;display:flex}.agent-question button{text-align:left;border:1px solid var(--line-2);color:var(--text-2);border-radius:10px;padding:8px 11px;font-size:12.5px;font-weight:600}.agent-question button:hover{border-color:var(--skill);color:var(--text)}.agent-input{border-top:1px solid var(--line);align-items:center;gap:8px;padding:10px;display:flex}.agent-input input{flex:1;min-width:0;font-size:13px}.agent-input .hc-send{width:36px;height:36px}@media (max-width:1120px){.project-page.with-agent{grid-template-columns:minmax(0,1fr)}.agent-drawer{height:420px;position:static}}.gen-error{color:var(--err);background:var(--err-soft);border-radius:var(--r-md);border:1px solid #d6453e38;justify-content:space-between;align-items:flex-start;gap:10px;padding:9px 12px;font-size:12.5px;line-height:1.55;display:flex}.gen-error span{word-break:break-word;min-width:0}.gen-error button{color:var(--err);border-radius:var(--r-pill);transition:background .13s var(--enter), color .13s var(--enter);border:1px solid #d6453e59;flex:none;padding:3px 12px;font-size:12px;font-weight:650}.gen-error button:hover:not(:disabled){background:var(--err);color:#fff}.agent-msg.error{background:var(--err-soft);color:var(--err);border-color:#d6453e40}.agent-retry{color:var(--err);border-radius:var(--r-pill);border:1px solid #d6453e59;margin-top:7px;padding:3px 14px;font-size:12px;font-weight:650}.agent-retry:hover:not(:disabled){background:var(--err);color:#fff}.agent-examples{flex-direction:column;gap:7px;margin-top:10px;display:flex}.agent-examples button{text-align:left;color:var(--text-2);background:var(--surface-2);transition:background .13s var(--enter), color .13s var(--enter);border-radius:10px;padding:9px 12px;font-size:12.5px;font-weight:600}.agent-examples button:hover{background:var(--surface-3);color:var(--text)}.material-actions .danger-confirm{background:var(--err-soft);border-color:var(--err)!important;color:var(--err)!important}.point-adjust-label{color:var(--text-3);flex:100%;font-size:11.5px;font-weight:650}.filter-groups .primary-button{padding:8px 16px}.empty-state .primary-button{margin-top:6px}.prompt-editor-wrap{position:relative}.prompt-editor{white-space:pre-wrap;word-break:break-word;outline:none;width:100%;min-height:96px;padding:2px 4px;font-size:15.5px;line-height:1.7}.prompt-editor[data-empty=true]:before{content:attr(data-placeholder);color:var(--text-3);pointer-events:none;position:absolute}.prompt-chip{border-radius:var(--r-pill);background:var(--run-soft);color:var(--run);white-space:nowrap;cursor:default;-webkit-user-select:none;user-select:none;align-items:center;margin:0 2px;padding:1px 9px;font-size:13.5px;font-weight:650;display:inline-flex}.chip-preview{z-index:90;background:var(--surface);border:1px solid var(--line-2);border-radius:var(--r-md);width:148px;box-shadow:var(--shadow-pop);pointer-events:none;animation:pop-in .14s var(--enter);padding:6px;position:fixed}.chip-preview .material-media,.chip-preview .media-placeholder,.chip-preview .audio-preview{aspect-ratio:16/10;object-fit:cover;border-radius:8px;width:100%}.chip-preview small{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:11px;display:block;overflow:hidden}.go{color:#fff;background:linear-gradient(135deg,#6d4fe0,#8b5cf6)}.go:hover:not(:disabled){background:linear-gradient(135deg,#5f41d6,#7c4ce8)}.go .price{color:#fff;background:#fff3}.go .price.idle{color:#ffffffc7;background:#ffffff29}.hero-composer{text-align:left;width:min(860px,100%)}.hero-composer .viewfinder .composer{box-shadow:0 12px 40px #22222e1a}.hero-composer .trust{color:var(--text-2)}.projects-page{flex-direction:column;gap:20px;display:flex}.project-cards{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;display:grid}.project-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);transition:transform .15s var(--enter), box-shadow .15s var(--enter);flex-direction:column;display:flex;overflow:hidden}.project-card:hover{box-shadow:var(--shadow-card);transform:translateY(-2px)}.project-cover{aspect-ratio:16/8;width:100%;color:var(--text-3);background:radial-gradient(420px 200px at 18% -20%, #7086f629, transparent 62%), radial-gradient(360px 200px at 88% 0%, #e8a6d521, transparent 62%), var(--surface-2);place-items:center;display:grid}.project-cover .icon{width:26px;height:26px}.project-card-body{flex-direction:column;gap:5px;padding:12px 14px 13px;display:flex}.project-card-title{text-align:left;text-overflow:ellipsis;white-space:nowrap;font-size:14.5px;font-weight:700;overflow:hidden}.project-card-body small{color:var(--text-3);font-variant-numeric:tabular-nums;font-size:11.5px}.project-card-actions{gap:6px;margin-top:6px;display:flex}.project-card-actions button{border:1px solid var(--line-2);color:var(--text-2);border-radius:9px;padding:5px 12px;font-size:12px;font-weight:600}.project-card-actions button:hover{border-color:var(--text-3);color:var(--text)}.project-card-actions .danger-confirm{background:var(--err-soft);border-color:var(--err)!important;color:var(--err)!important}.studio-recent{margin-top:40px}.modal-ledger{padding:4px 24px 20px;overflow:auto}.flow-workspace{height:calc(100vh - 230px);min-height:480px;position:relative}.flow-toolbar{z-index:10;flex-wrap:wrap;align-items:center;gap:8px;display:flex;position:absolute;top:12px;left:12px}.flow-toolbar button{border-radius:var(--r-pill);background:var(--surface);border:1px solid var(--line);color:var(--text-2);box-shadow:var(--shadow-card);transition:color .13s var(--enter), border-color .13s var(--enter);align-items:center;gap:6px;padding:8px 14px;font-size:12.5px;font-weight:650;display:inline-flex}.flow-toolbar button:hover:not(:disabled){color:var(--text);border-color:var(--line-2)}.flow-tip{color:var(--text-3);border-radius:var(--r-pill);background:#ffffffbf;padding:4px 10px;font-size:11.5px}.flow-editor{background:var(--surface);min-width:240px;max-width:280px;box-shadow:var(--shadow-card)}.flow-editor header.flow-drag{cursor:grab;background:var(--surface-2);color:var(--text);align-items:center;gap:8px;padding:8px 10px;font-size:12px;font-weight:700;display:flex}.flow-editor header.flow-drag:active{cursor:grabbing}.flow-editor header.flow-drag.violet{color:var(--skill)}.flow-shot-node.ok header.flow-drag{color:var(--ok)}.flow-editor .flow-card-body{flex-direction:column;gap:8px;display:flex}.flow-editor input,.flow-editor textarea,.flow-editor select{border-radius:8px;padding:6px 9px;font-size:12.5px}.flow-editor textarea{line-height:1.55}.flow-editor .flow-row{gap:6px;display:flex}.flow-editor .flow-row input{flex:1;min-width:0}.flow-editor button{border:1px solid var(--line-2);color:var(--text-2);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:6px 10px;font-size:12px;font-weight:600;display:inline-flex}.flow-editor button:hover:not(:disabled){border-color:var(--text-3);color:var(--text)}.flow-editor .flow-primary{background:var(--primary);color:var(--ink);border-color:#0000}.flow-editor .flow-primary:hover:not(:disabled){background:var(--primary-2);color:var(--ink)}.flow-editor .cost{padding:1px 7px 1px 4px;font-size:10.5px}.flow-confirm{color:var(--text-2);flex-direction:row;align-items:center;gap:4px;font-size:11.5px;font-weight:600;display:inline-flex}.flow-confirm input{width:13px;height:13px;accent-color:var(--ok);padding:0}.flow-editor header select{margin-left:auto;padding:3px 6px;font-size:11px}.flow-x{color:var(--text-3);font-size:13px;border:none!important;padding:2px 6px!important}.flow-x:hover{color:var(--err)!important}.flow-error{padding:7px 9px;font-size:11.5px}.flow-video-node{min-width:200px;max-width:220px}.flow-workspace .react-flow__minimap{box-shadow:var(--shadow-card);border-radius:12px;overflow:hidden}.project-page{z-index:45;background:var(--bg);flex-direction:column;gap:0;padding:0;display:flex;position:fixed;inset:0}.pj-topbar{background:var(--surface);border-bottom:1px solid var(--line);flex-wrap:wrap;flex:none;align-items:center;gap:10px;padding:9px 14px;display:flex}.pj-topbar .project-title{flex:0 240px;padding:5px 10px;font-size:15px}.pj-save{color:var(--text-3);white-space:nowrap;font-size:11.5px;font-weight:600}.pj-save.saved{color:var(--ok)}.pj-spacer{flex:1}.pj-progress{color:var(--text-3);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.pj-topbar .primary-button,.pj-topbar .secondary-button{padding:7px 13px;font-size:12.5px}.pj-body{flex:1;min-height:0;display:flex}.pj-stage{flex:1;min-width:0;position:relative}.pj-body .agent-drawer{border:none;border-left:1px solid var(--line);border-radius:0;flex:none;width:360px;height:auto;position:static}.pj-scroll{flex-direction:column;gap:18px;padding:18px clamp(16px,3vw,40px) 60px;display:flex;position:absolute;inset:0;overflow:auto}.project-loading.full{position:absolute;inset:0}.flow-workspace{background:var(--bg);border:none;border-radius:0;height:auto;min-height:0;position:absolute;inset:0}.cv-rail{z-index:10;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-card);border-radius:16px;flex-direction:column;gap:5px;padding:7px 6px;display:flex;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.cv-rail button{width:50px;color:var(--text-2);border-radius:11px;flex-direction:column;align-items:center;gap:3px;padding:8px 0;font-size:10.5px;font-weight:600;display:flex}.cv-rail button:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.cv-zoom{z-index:10;color:var(--text-2);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-pill);font-variant-numeric:tabular-nums;box-shadow:var(--shadow-card);padding:4px 11px;font-size:11.5px;font-weight:650;position:absolute;bottom:16px;left:54px}.flow-editor{border-radius:14px;min-width:250px;max-width:280px}.flow-editor .flow-card-body{gap:7px;padding:8px}.flow-editor header.flow-drag{padding:7px 9px;font-size:11.5px}.flow-editor textarea,.flow-editor input{background:0 0;border-color:#0000;padding:4px 6px}.flow-editor textarea:hover,.flow-editor textarea:focus,.flow-editor input:hover,.flow-editor input:focus{border-color:var(--line-2);background:var(--surface)}.flow-video-node{border-radius:14px}.flow-thumb{border-radius:9px}@media (max-width:900px){.pj-body .agent-drawer{display:none}}.cv-menu{z-index:30;background:var(--surface);border:1px solid var(--line-2);min-width:172px;box-shadow:var(--shadow-pop);animation:pop-in .13s var(--enter);border-radius:14px;flex-direction:column;padding:5px;display:flex;position:absolute}.cv-menu button{text-align:left;color:var(--text-2);border-radius:9px;padding:8px 12px;font-size:12.5px;font-weight:600}.cv-menu button:hover{background:var(--surface-2);color:var(--text)}.cv-menu button.danger{color:var(--err)}.cv-menu button.danger:hover{background:var(--err-soft)}.cv-menu hr{border:none;border-top:1px solid var(--line);margin:4px 8px}.cv-multibar{z-index:20;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-pill);box-shadow:var(--shadow-card);animation:pop-in .14s var(--enter);align-items:center;gap:8px;padding:7px 14px;display:flex;position:absolute;top:14px;left:50%;transform:translate(-50%)}.cv-multibar strong{font-size:12.5px}.cv-multibar button{border-radius:var(--r-pill);border:1px solid var(--line-2);color:var(--text-2);align-items:center;gap:5px;padding:6px 12px;font-size:12px;font-weight:650;display:inline-flex}.cv-multibar button:hover{border-color:var(--text-3);color:var(--text)}.cv-multibar button.danger{color:var(--err);border-color:#d6453e4d}.cv-multibar button.danger:hover{background:var(--err-soft)}.cv-composer{z-index:20;background:var(--surface);border:1px solid var(--line);width:min(680px,100% - 140px);box-shadow:var(--shadow-pop);animation:pop-in .15s var(--enter);border-radius:18px;flex-direction:column;gap:9px;padding:12px 14px;display:flex;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.cv-composer-head{align-items:center;gap:12px;display:flex}.cv-composer-head strong{font-size:13px}.cv-composer-head select{padding:4px 8px;font-size:12px}.cv-composer-spacer{flex:1}.cv-versions-btn{color:var(--skill);background:var(--skill-soft);border-radius:var(--r-pill);padding:4px 11px;font-size:11.5px;font-weight:650}.cv-send-agent{color:var(--skill);border-radius:var(--r-pill);border:1px solid #6d4fe04d;align-items:center;gap:5px;padding:5px 12px;font-size:12px;font-weight:650;display:inline-flex}.cv-send-agent:hover{background:var(--skill-soft)}.cv-composer textarea{font-size:13px;line-height:1.6}.cv-composer-actions{gap:8px;display:flex}.cv-composer-actions button{border-radius:var(--r-pill);border:1px solid var(--line-2);color:var(--text-2);align-items:center;gap:6px;padding:8px 14px;font-size:12.5px;font-weight:650;display:inline-flex}.cv-composer-actions button:hover:not(:disabled){border-color:var(--text-3);color:var(--text)}.cv-composer-actions .flow-primary{color:#fff;background:linear-gradient(135deg,#6d4fe0,#8b5cf6);border-color:#0000}.cv-composer-actions .flow-primary:hover:not(:disabled){color:#fff;background:linear-gradient(135deg,#5f41d6,#7c4ce8)}.cv-composer-actions .cost{font-size:10.5px}.cv-versions{gap:8px;padding:2px;display:flex;overflow-x:auto}.cv-versions button{border:2px solid #0000;border-radius:10px;flex:none;width:108px;position:relative;overflow:hidden}.cv-versions button .material-media,.cv-versions button .media-placeholder{aspect-ratio:16/10;object-fit:cover;width:100%}.cv-versions button.current{border-color:var(--skill)}.cv-versions button em{color:#fff;background:var(--skill);border-radius:var(--r-pill);padding:1px 7px;font-size:10px;font-style:normal;font-weight:700;position:absolute;bottom:5px;right:5px}.flow-versions{color:#fff;background:var(--skill);border-radius:var(--r-pill);justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 6px;font-size:11px;font-weight:750;display:inline-flex;position:absolute;bottom:6px;right:6px}.flow-thumb{position:relative}.flow-empty-frame{flex-direction:column;justify-content:center;align-items:center;gap:7px;width:100%;padding:14px 0;display:flex}.flow-empty-frame button{color:var(--text-2);border:1px solid var(--line-2);border-radius:var(--r-pill);align-items:center;gap:5px;padding:5px 12px;font-size:11.5px;font-weight:650;display:inline-flex}.flow-empty-frame button:hover:not(:disabled){border-color:var(--text-3);color:var(--text)}.cv-nav-tip{z-index:10;color:var(--text-3);border-radius:var(--r-pill);pointer-events:none;background:#fffc;padding:4px 11px;font-size:11px;position:absolute;bottom:16px;right:14px}.flow-editor.picked,.flow-video-node.picked{border-color:var(--skill);box-shadow:0 0 0 2px #6d4fe040, var(--shadow-card)}.flow-editor,.flow-video-node{transition:box-shadow .16s var(--enter), transform .16s var(--enter);border:none;border-radius:16px;box-shadow:0 1px 2px #16161e0d,0 10px 30px #16161e14}.flow-editor header.flow-drag{background:0 0;border-bottom:none;gap:8px;padding:10px 12px 4px}.flow-title{color:var(--text);text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;font-weight:700;overflow:hidden}.flow-dur{color:var(--text-3);background:var(--surface-2);border-radius:var(--r-pill);font-variant-numeric:tabular-nums;padding:2px 8px;font-size:10.5px;font-weight:700}.flow-confirm{border:1.5px solid var(--line-2);color:#0000;cursor:pointer;width:22px;height:22px;transition:background .13s var(--enter), border-color .13s var(--enter), color .13s var(--enter);border-radius:50%;justify-content:center;align-items:center;gap:0;display:inline-flex}.flow-confirm input{display:none}.flow-confirm .icon{width:12px;height:12px}.flow-confirm:hover{border-color:var(--ok);color:var(--ok)}.flow-confirm.on{background:var(--ok);border-color:var(--ok);color:#fff}.flow-x{opacity:0;transition:opacity .13s var(--enter)}.flow-card:hover .flow-x,.flow-editor.picked .flow-x{opacity:1}.flow-editor .flow-card-body{padding:6px 10px 10px}.flow-empty-frame{padding:22px 0}.flow-empty-frame button{background:var(--surface);border-color:var(--line);box-shadow:0 1px 3px #16161e0f}.flow-editor textarea{color:var(--text-2);background:0 0;border-color:#0000;padding:5px 6px;font-size:12.5px}.flow-editor textarea:hover{background:var(--surface-2);border-color:#0000}.flow-editor textarea:focus{background:var(--surface);border-color:var(--line-2);color:var(--text)}.flow-editor input{background:var(--surface-2);border-color:#0000}.flow-editor input:focus{background:var(--surface);border-color:var(--line-2)}.flow-actions{opacity:0;transition:opacity .15s var(--enter), transform .15s var(--enter);pointer-events:none;transform:translateY(2px)}.flow-card:hover .flow-actions,.flow-editor.picked .flow-actions{opacity:1;pointer-events:auto;transform:none}.flow-editor .flow-row button{border-radius:var(--r-pill);border-color:var(--line);box-shadow:0 1px 2px #16161e0a}.flow-editor .flow-primary{border-radius:var(--r-pill)}.cv-rail{border-radius:18px;gap:4px;padding:8px 7px}.cv-rail button{border-radius:12px;justify-content:center;width:38px;height:38px;padding:0}.cv-rail button span{display:none}.cv-composer{border:none;border-radius:20px;padding:14px 16px;box-shadow:0 2px 6px #16161e14,0 24px 64px #16161e29}.cv-composer textarea{background:var(--surface-2);border-color:#0000;border-radius:12px;padding:9px 12px}.cv-composer .flow-confirm{width:22px;height:22px}.pj-topbar .primary-button{background:var(--surface-2);color:var(--text-2)}.pj-topbar .primary-button:hover:not(:disabled){background:var(--surface-3);color:var(--text)}:root{--canvas-bg:#e6e6e6;--tx:#000c;--tx-2:#0009;--tx-3:#0006;--frost:#fffc;--frost-menu:#ffffffb8;--frost-ring:inset 0 0 0 1px #fffffff2;--frost-shadow:0 8px 24px #0000000a;--skill:#7e57ff;--skill-soft:#7e57ff1a;--skill-glow:#855cff7a;--ok:#119f35}.project-page{background:var(--canvas-bg)}.pj-body{height:100%}.flow-workspace,.flow-workspace .react-flow{background:var(--canvas-bg)}.pj-topbar{z-index:30;pointer-events:none;background:0 0;border-bottom:none;flex-wrap:nowrap;gap:16px;padding:0;position:absolute;top:8px;left:12px;right:12px}.pj-cluster{pointer-events:auto;align-items:center;min-width:0;display:flex}.pj-cluster-left{background:var(--frost);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);height:40px;box-shadow:var(--frost-ring), var(--frost-shadow);border-radius:38px;gap:4px;padding:4px 10px 4px 4px}.pj-cluster-right{gap:8px;margin-left:auto}.pj-back{width:32px;height:32px;color:var(--tx-2);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.pj-back:hover{color:var(--tx);background:#0000000d}.pj-topbar .project-title{color:var(--tx);background:0 0;border-color:#0000;flex:0 200px;padding:4px 8px;font-size:13.5px;font-weight:500}.pj-topbar .project-title:hover,.pj-topbar .project-title:focus{background:#0000000a;border-color:#0000}.pj-save{border-radius:40px;padding:2px 8px;font-size:12px;font-weight:500}.pj-save.saved{color:var(--ok);background:#119f3514}.pj-progress{color:var(--tx-2);font-size:12px;font-weight:500}.pj-topbar .work-tabs{background:var(--frost);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);height:36px;box-shadow:var(--frost-ring), var(--frost-shadow);border:none;border-radius:38px;padding:2px}.pj-topbar .work-tabs button{height:32px;color:var(--tx-2);border-radius:32px;padding:0 14px;font-size:12.5px;font-weight:500}.pj-topbar .work-tabs button.active{color:#fff}.pj-topbar .secondary-button{height:36px;color:var(--tx);background:var(--frost);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:var(--frost-ring), var(--frost-shadow);border:none;border-radius:38px;padding:0 14px;font-size:12.5px;font-weight:500}.pj-topbar .secondary-button:hover:not(:disabled){background:#fffffff2}.pj-topbar .secondary-button.toggled{color:var(--skill)}.pj-topbar .primary-button{color:#fff;background:#000;border-radius:38px;height:36px;padding:0 16px;font-size:12.5px;font-weight:500;box-shadow:inset 0 0 12px #ffffff59,0 2px 3px #00000014,0 6px 10px #00000014}.pj-topbar .primary-button:hover:not(:disabled){color:#fff;background:#141414}.pj-topbar .primary-button:disabled{box-shadow:none;background:#00000029}.pj-scroll{padding-top:64px}.cv-rail{background:var(--frost);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);width:56px;box-shadow:var(--frost-ring), var(--frost-shadow);border:none;border-radius:52px;align-items:center;gap:8px;padding:11px 0;left:16px}.cv-rail button{width:40px;height:40px;color:var(--tx-2);border-radius:50%}.cv-rail button:hover:not(:disabled){color:var(--tx);background:#0000000d}.cv-rail button .icon{width:18px;height:18px}.cv-rail button.rail-primary{color:#fff;background:#000;width:36px;height:36px;box-shadow:inset 0 0 12px #fff9,0 2px 3px #00000014,0 6px 10px #00000014}.cv-rail button.rail-primary:hover:not(:disabled){color:#fff;background:#000;transform:scale(1.05)}.cv-rail button.on{background:var(--skill-soft);color:var(--skill)}.flow-workspace .react-flow__controls{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:none;background:#ffffff8c;border:none;border-radius:38px;flex-direction:row;gap:0;margin:0 0 16px 16px;padding:2px;display:flex}.flow-workspace .react-flow__controls-button{background:0 0;border:none;border-radius:40px;width:32px;height:32px}.flow-workspace .react-flow__controls-button:hover{background:#0000000d}.flow-workspace .react-flow__controls-button svg{width:13px;height:13px;fill:var(--tx-2);max-width:13px;max-height:13px}.cv-zoom{color:var(--tx-2);box-shadow:none;background:0 0;border:none;padding:0;font-size:12px;font-weight:500;bottom:24px;left:130px}.flow-workspace .react-flow__minimap{background:var(--frost);box-shadow:var(--frost-ring), var(--frost-shadow);border-radius:28px;margin:0 0 60px 16px;overflow:hidden}.flow-workspace .react-flow__minimap svg{border-radius:28px}.cv-nav-tip{background:var(--frost);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--frost-ring);color:var(--tx-3)}.flow-editor,.flow-video-node{box-shadow:none;background:0 0;border:none;border-radius:0}.flow-editor:hover,.flow-video-node:hover{box-shadow:none}.flow-editor header.flow-drag,.flow-video-node header.flow-drag{cursor:grab;background:0 0;border:none;align-items:center;gap:6px;padding:0;display:flex;position:absolute;top:-24px;left:4px;right:0}.flow-editor header.flow-drag>.icon,.flow-video-node header.flow-drag>.icon{color:#898d92;flex:none;width:13px;height:13px}.flow-title{color:var(--tx-3);flex:0 auto;font-size:12.5px;font-weight:500}.flow-dur{color:var(--tx-3);background:0 0;padding:0;font-size:11px;font-weight:500}.flow-drag .flow-confirm{border-width:1.5px;width:18px;height:18px}.flow-drag .flow-confirm .icon{width:10px;height:10px}.flow-drag .flow-x{color:var(--tx-3);padding:0 4px;font-size:14px}.flow-editor .flow-card-body,.flow-video-node .flow-card-body{background:var(--surface);transition:box-shadow .15s var(--enter);border-radius:24px;padding:10px;box-shadow:0 0 0 1px #0000000a}.flow-card:hover .flow-card-body{box-shadow:0 0 0 1px #0000000f,0 10px 24px #0000000f}.flow-editor.picked,.flow-video-node.picked{box-shadow:none;border:none}.flow-editor.picked .flow-card-body,.flow-video-node.picked .flow-card-body{box-shadow:0 0 0 1px #00000024,0 12px 32px #0000001a}.flow-thumb{background:#f2f2f2;border-radius:16px}.flow-video-node .flow-card-body{background:#111;padding:0;overflow:hidden}.flow-video-node .flow-video{border-radius:24px;overflow:hidden}.flow-node-toolbar{z-index:6;background:var(--frost);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);white-space:nowrap;height:40px;animation:node-toolbar-in .13s var(--enter);border-radius:32px;align-items:center;gap:4px;padding:4px 8px;display:flex;position:absolute;bottom:calc(100% + 36px);left:50%;transform:translate(-50%);box-shadow:inset 0 0 0 1px #fff,0 12px 24px #0000000f}@keyframes node-toolbar-in{0%{opacity:0;transform:translate(-50%,4px)}to{opacity:1;transform:translate(-50%)}}.flow-node-toolbar button{height:32px;color:var(--tx);border-radius:999px;align-items:center;gap:4px;padding:0 12px;font-size:12px;font-weight:500;display:inline-flex}.flow-node-toolbar button:hover:not(:disabled){background:#0000000d}.flow-node-toolbar button.danger{color:var(--err)}.flow-node-toolbar button.danger:hover{background:var(--err-soft)}.flow-node-toolbar button .icon{width:13px;height:13px}.flow-node-toolbar .cost{color:var(--tx-3);font-size:10.5px}.flow-versions{background:#7e57ffe6;min-width:18px;height:18px;padding:0 5px;font-size:10px;font-weight:600;top:50%;bottom:auto;right:-4px;transform:translateY(-50%)}.cv-menu{background:var(--frost-menu);-webkit-backdrop-filter:blur(20px)saturate(1.08);backdrop-filter:blur(20px)saturate(1.08);border:none;border-radius:24px;min-width:220px;padding:8px;box-shadow:inset 0 0 0 1px #fff,0 40px 60px #00000014,0 8px 20px #0000000f}.cv-menu button{color:#1d2023;white-space:nowrap;border-radius:12px;align-items:center;gap:12px;height:44px;padding:0 12px;font-size:13px;font-weight:500;display:flex}.cv-menu button:hover{color:#1d2023;background:#0000000a}.cv-menu hr{border-top:1px solid #0000000f}.cv-multibar{background:var(--frost);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:var(--frost-ring), var(--frost-shadow);border:none;border-radius:38px;padding:6px 8px 6px 16px;top:60px}.cv-multibar strong{color:var(--tx-2);font-size:12.5px;font-weight:500}.cv-multibar button{height:32px;color:var(--tx);border:none;border-radius:999px;padding:0 12px;font-weight:500}.cv-multibar button:hover{color:var(--tx);background:#0000000d}.cv-composer{background:var(--frost);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);width:min(1040px,100% - 180px);box-shadow:var(--frost-ring), 0 10px 15px -5px #0000000d, 0 30px 60px #0000000f;border:none;border-radius:28px;gap:6px;padding:12px}.cv-composer-head{gap:10px;padding:0 4px}.cv-composer-head strong{color:var(--tx-2);font-size:12.5px;font-weight:500}.cv-composer textarea{color:var(--tx);background:0 0;border-color:#0000;border-radius:12px;padding:4px 8px;font-size:14px}.cv-composer textarea:hover{background:0 0;border-color:#0000}.cv-composer textarea:focus{background:#ffffffbf;border-color:#0000}.cv-composer-actions{align-items:center;gap:4px;padding-left:4px}.cv-composer-actions button{height:36px;color:var(--tx);box-shadow:none;border:none;border-radius:40px;padding:0 12px;font-size:12.5px;font-weight:500}.cv-composer-actions button:hover:not(:disabled){color:var(--tx);background:#0000000d;border:none}.cv-duration{height:36px;color:var(--tx);cursor:pointer;background:0 0;border:none;border-radius:40px;padding:0 10px;font-size:12.5px;font-weight:500}.cv-duration:hover{background:#0000000d}.cv-composer-actions .cv-composer-send{color:#fff;width:36px;height:36px;box-shadow:0 2px 6px var(--skill-glow);background:#000;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.cv-composer-actions .cv-composer-send:hover:not(:disabled){color:#fff;background:#141414;transform:scale(1.05)}.cv-composer-actions .cv-composer-send:disabled{box-shadow:none;background:#00000026}.cv-composer-actions .cv-composer-send .icon{width:15px;height:15px}.cv-send-agent{color:var(--tx-2);border:none;font-weight:500}.cv-send-agent:hover{color:var(--tx);background:#0000000d}.cv-versions-btn{font-weight:500}.pj-body .agent-drawer{background:#ffffffe0;border-left:none;width:clamp(380px,29vw,500px);box-shadow:-1px 0 #0000000d}.agent-head{background:#ffffff80;border-bottom:none;align-items:center;height:48px;padding:5px 8px;display:flex}.agent-tab{background:#4848490a;border-radius:12px;align-items:center;gap:8px;height:38px;padding:0 14px;display:inline-flex}.agent-tab .icon{width:16px;height:16px;color:var(--skill)}.agent-tab strong{color:var(--tx);font-size:13px;font-weight:500}.agent-list{gap:14px;padding:16px 20px}.agent-msg{max-width:100%;color:var(--tx);box-shadow:none;background:0 0;border:none;border-radius:0;padding:0;font-size:14px;line-height:1.65}.agent-msg.mine{color:#000;background:#4848490a;border:1px solid #0000000a;border-radius:12px;align-self:flex-end;max-width:calc(100% - 60px);padding:10px 16px}.agent-msg.error{background:var(--err-soft);border:none;border-radius:12px;padding:10px 14px}.agent-input{background:var(--surface);border:none;border-radius:16px;flex-direction:column;gap:10px;margin:0 12px 8px;padding:12px;display:flex;box-shadow:0 0 0 1px #0000001f,0 8px 24px #0000000d}.agent-input input{color:var(--tx);background:0 0;border:none;padding:2px 4px;font-size:14px}.agent-input input:focus{box-shadow:none;background:0 0;border:none;outline:none}.agent-input-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.agent-input-hint{color:var(--tx-3);font-size:11px}.agent-input .hc-send{color:#fff;width:32px;height:32px;box-shadow:0 2px 6px var(--skill-glow);background:#000;border-radius:50%;flex:none}.agent-input .hc-send:disabled{box-shadow:none;background:#0000001f}.flow-card .cost,.flow-node-toolbar .cost,.cv-composer .cost{color:var(--tx-3);background:0 0;padding:0;font-weight:500}.flow-card .flow-primary .cost{color:#ffffffb8}.flow-workspace:has(.cv-composer) .cv-nav-tip{opacity:0}.flow-workspace .react-flow__handle{opacity:0;pointer-events:none}.cv-composer{width:640px;animation:node-toolbar-in .15s var(--enter);border-radius:24px;gap:4px;padding:10px;bottom:auto}.cv-composer textarea{min-height:52px;padding:4px 8px}.cv-composer-actions button,.cv-duration{height:32px;padding:0 10px;font-size:12px}.cv-composer-actions .cv-composer-send{width:34px;height:34px}.cv-agent-mini{width:32px;color:var(--skill);flex:none;justify-content:center}.cv-composer-actions .cv-agent-mini{padding:0}.cv-composer-actions .flow-confirm{flex:none;width:20px;height:20px}.cv-composer-actions .cv-pill-off,.cv-pill-off{color:#00000040;cursor:not-allowed;background:#00000008;border-radius:40px}.cv-composer-actions .cv-pill-off:disabled{color:#00000040;background:#00000008}.cv-upload-input{display:none}.cv-sub-wrap{position:relative}.cv-menu .cv-sub-trigger{width:100%}.cv-sub-caret{width:12px;height:12px;color:var(--tx-3);margin-left:auto;transform:rotate(-90deg)}.cv-menu-hint{color:var(--tx-3);white-space:nowrap;margin-left:auto;padding-left:16px;font-size:11px;font-weight:400}.cv-sub-trigger+.cv-submenu{display:none}.cv-sub-wrap:hover .cv-submenu{display:flex}.cv-sub-wrap.flip .cv-submenu{left:auto;right:calc(100% + 2px)}.cv-submenu{z-index:5;background:var(--frost-menu);-webkit-backdrop-filter:blur(20px)saturate(1.08);backdrop-filter:blur(20px)saturate(1.08);border-radius:20px;flex-direction:column;min-width:200px;padding:8px;position:absolute;top:-8px;left:calc(100% + 2px);box-shadow:inset 0 0 0 1px #fff,0 24px 48px #0000001a}
