:root{color:#eaeaea;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--bg:#1b1b1d;--sidebar:#1b1c21;--surface:#262628;--subtle:#b6b6b6;--muted:#7c7c7c;--accent:#b4ec60;--line:#343434;--gradient:linear-gradient(110deg, #b8e85f, #6ce4a1);background:#1b1b1d;font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif;font-size:.78125vw}*{box-sizing:border-box}body{min-width:1200px;margin:0}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0}button,input,textarea,select{-webkit-tap-highlight-color:transparent}button{transition:background .18s,color .18s,filter .18s,box-shadow .18s}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{cursor:wait;opacity:.65}button:hover{color:#fff}input,textarea,select{color:inherit}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:1px solid #b3e964}svg{stroke-width:1.7px;flex-shrink:0;width:1.25rem;height:1.25rem}img{display:block}::selection{color:#fff;background:#82ad4b66}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#424242;border-radius:6px}::-webkit-scrollbar-track{background:0 0}.app-shell{min-height:100vh}.rail{background:var(--sidebar);z-index:30;border-right:1px solid #343438;flex-direction:column;align-items:center;width:6.875rem;display:flex;position:fixed;inset:0 auto 0 0}.logo-button{place-items:center;width:100%;height:4.1rem;display:grid}.brand-mark{background:#09c75a;border-radius:50%;width:2.18rem;height:2.18rem;display:block;position:relative;transform:rotate(-12deg)}.brand-mark:before{content:"";border:.27rem solid #fff;border-radius:50%;position:absolute;inset:.36rem}.brand-mark:after{content:"";background:#fff;border-radius:.5rem;width:.66rem;height:.82rem;position:absolute;bottom:.04rem;left:.27rem}.brand-mark i{z-index:1;background:#09c75a;width:.72rem;height:.38rem;position:absolute;bottom:.15rem;right:.45rem;transform:rotate(-20deg)}.rail-nav{flex-direction:column;gap:1.45rem;width:100%;display:flex}.rail-item{color:#c9c9cb;border-radius:.42rem;flex-direction:column;justify-content:center;align-items:center;gap:.12rem;width:calc(100% - .55rem);height:4rem;margin:0 auto;font-size:.85rem;display:flex;position:relative}.rail-item>svg{stroke-width:1.6px;width:2.15rem;height:2.15rem}.rail-item:first-child{margin-top:.65rem;margin-bottom:0}.rail-item:nth-child(2){margin-bottom:.3rem}.rail-item:nth-child(2)>svg{width:1.8rem;height:1.8rem}.rail-item.active{color:#f4f4f5;background:#48484c}.rail-item:hover{background:#343439}.rail-item em{color:#fff;background:#ff3d45;border-radius:.32rem;padding:.31rem .35rem;font-size:.85rem;font-style:normal;line-height:1.1;position:absolute;top:0;right:.05rem}.rail-bottom{flex-direction:column;align-items:center;gap:1.25rem;width:100%;margin-top:auto;padding-bottom:1.1rem;display:flex}.vip-button{color:#33333b;background:linear-gradient(110deg,#ffe8ba,#ffc36f);border-radius:.55rem;flex-direction:column;justify-content:center;align-items:center;gap:.18rem;width:5.95rem;height:3.8rem;font-size:.84rem;display:flex}.vip-button:hover{color:#33333b;filter:brightness(1.08)}.vip-button>svg{color:#ffd089;background:#33343a;border-radius:50%;width:1.4rem;height:1.4rem;padding:.25rem}.profile-button{background:#2c2d33;border-radius:50%;place-items:center;width:3.3rem;height:3.3rem;display:grid}.profile-button>svg{fill:#fff;color:#fff;stroke:#fff;width:2rem;height:2rem}.rail-utility{color:#e8e8e9;place-items:center;width:2.5rem;height:1.8rem;display:grid;position:relative}.rail-utility>svg{width:1.5rem;height:1.5rem}.rail-utility small{background:var(--sidebar);font-size:.47rem;font-weight:700;position:absolute;top:.69rem}.history-sidebar{background:var(--sidebar);z-index:10;width:18.125rem;padding:0 1rem 1.5rem 1.55rem;position:fixed;top:4.6rem;bottom:0;left:6.875rem;overflow-y:auto}.history-sidebar:before{content:"";background:var(--sidebar);z-index:-1;width:18.125rem;height:4.6rem;position:fixed;top:0;left:6.875rem}.new-conversation{color:#d4d4d5;text-align:left;border-bottom:1px dashed #333338;align-items:center;gap:.72rem;width:100%;height:3.35rem;margin-bottom:.85rem;padding-left:.4rem;font-size:1.1rem;display:flex}.new-conversation>svg:first-child{width:1.25rem;height:1.25rem}.new-conversation>svg:last-child{width:.75rem;height:.75rem;margin-left:-.5rem}.history-label{color:#8d8d90;margin-bottom:.7rem;font-size:.96rem}.group-heading{justify-content:space-between;align-items:center;height:2.4rem;display:flex}.group-heading>button:first-child{color:#ddd;align-items:center;gap:.5rem;font-size:1rem;display:flex}.group-heading svg{color:#a6a6a8;width:1.15rem;height:1.15rem}.add-conversation{opacity:0;pointer-events:none;border-radius:.3rem;place-items:center;width:1.75rem;height:1.75rem;margin-right:.15rem;transition:opacity .15s,background .15s;display:grid;position:relative}.group-heading:hover .add-conversation,.group-heading:focus-within .add-conversation{opacity:1;pointer-events:auto}.add-conversation:hover{background:#ffffff0d}.add-conversation:hover:after,.add-conversation:focus-visible:after{content:"新建对话";white-space:nowrap;color:#ddd;pointer-events:none;background:#48484b;border-radius:1rem;padding:.25rem .6rem;font-size:.75rem;position:absolute;bottom:1.7rem;right:0}.history-items{padding:.05rem 0 .4rem .7rem}.history-item{text-align:left;color:#bfbfc1;border-radius:.4rem;align-items:center;gap:.66rem;width:100%;height:2.7rem;font-size:.875rem;display:flex}.history-item:hover,.history-item.selected{background:#292b2d}.history-item>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.history-avatar,.history-item>img{object-fit:cover;background:#48494d;border-radius:50%;flex-shrink:0;place-items:center;width:2rem;height:2rem;display:grid}.history-avatar svg{color:#c3cfbf;width:1.15rem;height:1.15rem}.history-empty{color:#6f7073;padding:.4rem;font-size:.8rem;display:block}.workspace-tabs{z-index:40;background:#333335;border-radius:2rem;align-items:center;width:27.8rem;height:2.7rem;padding:.15rem;display:flex;position:fixed;top:1rem;left:8.75rem}.workspace-tabs>button{color:#b4b4b5;white-space:nowrap;border-radius:2rem;flex:1;height:100%;font-size:1rem}.workspace-tabs>button.selected{color:#29292c;background:#fff;font-weight:600;box-shadow:0 1px 4px #0002}.workspace-tabs>button:not(.selected):hover{color:#fff;background:#444448}.main-workspace{background:var(--bg);scrollbar-gutter:stable;scroll-behavior:smooth;position:fixed;inset:0 0 0 25rem;overflow:auto}.hero{isolation:isolate;z-index:2;height:32.25rem;padding-top:7.96rem;padding-left:3.5rem;position:relative}.hero>h1{text-align:center;color:#f9f9f9;letter-spacing:.005em;z-index:1;margin:0 0 3.55rem;font-size:2.3rem;font-weight:500;line-height:2.75rem;position:relative}.hero-ribbon{pointer-events:none;mix-blend-mode:lighten;z-index:-1;width:11.5rem;height:14.25rem;position:absolute;top:0;left:calc(50% + 13.6rem)}.composer{background:radial-gradient(at 100% 100%,#3b5040 0%,#262628 40%);border-radius:1.3rem;width:62.5rem;min-height:16.1rem;margin:0 auto;padding:1.15rem 1.1rem .65rem;transition:box-shadow .2s;position:relative}.composer.dragging{box-shadow:0 0 0 2px var(--accent);background:#2d372c}.reference-row{align-items:flex-start;gap:.6rem;margin-bottom:.65rem;display:flex}.reference-images{scrollbar-width:thin;gap:.6rem;min-width:0;display:flex;overflow-x:auto}.upload-anchor{flex-shrink:0;position:relative}.upload-button,.reference-image{border-radius:.35rem;flex-shrink:0;width:4.85rem;height:4.85rem}.upload-button{color:#ececec;background:#3c3c3c;border:1px dashed #535353;place-items:center;display:grid}.upload-button:hover{background:#454844;border-color:#a0bc87}.upload-button>svg{width:1.25rem;height:1.25rem}.upload-tooltip{visibility:hidden;opacity:0;color:#c9c9cd;z-index:30;pointer-events:none;background:#333338;border-radius:.3rem;width:max-content;padding:.65rem .75rem;font-size:.8rem;line-height:1.65;transition:opacity .12s;position:absolute;bottom:calc(100% + .6rem);left:0;box-shadow:0 .3rem 1rem #0002}.upload-tooltip strong{margin-bottom:.25rem;font-size:.95rem;font-weight:400;display:block}.upload-tooltip span{display:block}.upload-anchor:hover .upload-tooltip,.upload-anchor:focus-within .upload-tooltip{visibility:visible;opacity:1}.reference-image{background:#424347;position:relative;overflow:hidden}.reference-image>img,.video-thumbnail,.video-thumbnail video,.audio-thumbnail{object-fit:cover;width:100%;height:100%}.video-thumbnail{background:#333638;position:relative}.video-thumbnail>svg{filter:drop-shadow(0 1px 3px #000);width:1.2rem;height:1.2rem;position:absolute;top:44%;left:50%;transform:translate(-50%,-50%)}.audio-thumbnail{color:#b4c6c1;background:#3b4146;place-items:center;display:grid}.audio-thumbnail>svg{stroke-width:1.4px;width:2.4rem;height:2.4rem}.reference-image>span{text-align:center;color:#f1f1f1;background:#25252585;font-size:.7rem;line-height:1.1rem;position:absolute;bottom:0;left:0;right:0}.reference-image>button{opacity:0;pointer-events:none;background:#202020d9;border-radius:50%;place-items:center;width:1.45rem;height:1.45rem;transition:opacity .12s;display:grid;position:absolute;top:.2rem;right:.2rem}.reference-image:hover>button,.reference-image:focus-within>button{opacity:1;pointer-events:auto}.reference-image>button:hover{background:#a74343}.reference-image>button svg{width:1rem;height:1rem}.upload-issue{color:#f5b589;margin:0 0 .4rem;font-size:.8rem}.composer textarea{resize:none;color:#e5e5e5;scrollbar-width:thin;background:0 0;border:0;outline:none;width:100%;height:5.95rem;padding:.1rem 0;font-size:1rem;line-height:1.65;display:block}.composer textarea::placeholder{color:#838383;opacity:1}.composer textarea:focus-visible{outline:none}.composer-toolbar{align-items:center;gap:.7rem;height:2.7rem;margin-left:-.4rem;margin-right:-.4rem;display:flex}.control{white-space:nowrap;color:#c7c7c7;background:#323232;border-radius:.36rem;justify-content:center;align-items:center;gap:.45rem;height:2.5rem;padding:0 .7rem;font-size:1rem;display:flex}.control:hover{background:#3c3f39}.control>svg{stroke-width:3px;fill:currentColor;width:.8rem;height:.8rem}.mode-control{color:#b4ec60}.parameter-control{gap:.32rem;padding:0 .65rem}.parameter-control>i{background:#646464;width:1px;height:1rem}.parameter-control>svg{margin-left:.2rem}.sound-control{gap:.8rem}.switch{background:#3a3a3a;border:1px solid #696c67;border-radius:1rem;width:2.7rem;height:1.3rem;display:inline-block;position:relative}.switch>i{background:#92958e;border-radius:50%;width:.85rem;height:.85rem;transition:transform .18s;position:absolute;top:.15rem;left:.15rem}.switch.on{border-color:#c0ed66}.switch.on>i{background:#80f7ac;transform:translate(1.4rem)}.watermark-control{color:#c9c9c9;white-space:nowrap;align-items:center;gap:.5rem;padding:.3rem .2rem;font-size:1rem;display:flex}.watermark-control>svg:first-child{width:1.5rem;height:1.5rem}.watermark-control>svg:last-child:not(:first-child){width:.85rem;height:.85rem}.watermark-control.removed{color:#b4ec60}.send-button{color:#253c2b;background:linear-gradient(110deg,#849e4e,#55a17a);border-radius:.7rem;flex-shrink:0;justify-content:center;align-items:center;gap:.45rem;min-width:6.95rem;height:2.7rem;margin-left:auto;font-size:1rem;display:flex}.send-button>svg{stroke-width:1.4px;width:1.65rem;height:1.65rem}.send-button.ready{background:var(--gradient);color:#233222}.send-button:hover{filter:brightness(1.1);color:#20331f}.composer-send-actions{flex-shrink:0;align-items:center;gap:.8rem;margin-left:auto;display:flex}.composer-credit-estimate{color:#d2d3ce;white-space:nowrap;font-variant-numeric:tabular-nums;align-items:center;gap:.3rem;font-size:.9rem;display:flex;position:relative}.composer-credit-icon{fill:#ffce69;stroke:#ffe3a5;stroke-width:1.5px;width:1rem;height:1rem}.composer-credit-help{color:#aaaead;place-items:center;padding:.2rem;display:grid}.composer-credit-help>svg{width:.85rem;height:.85rem}.composer-credit-help:hover,.composer-credit-help:focus-visible{color:#e6e9df}.composer-credit-tooltip{z-index:15;color:#c5c8c0;background:#292b28;border:1px solid #494b46;border-radius:.5rem;padding:.8rem 1rem;font-size:.9rem;line-height:1.8;display:none;position:absolute;bottom:calc(100% + .65rem);right:0;box-shadow:0 6px 20px #0005}.composer-credit-tooltip>strong,.composer-credit-tooltip>span{display:block}.composer-credit-tooltip>strong{color:#ededdf;font-weight:500}.composer-credit-tooltip>small{white-space:normal;color:#a4aaa0;max-width:28rem;margin-top:.4rem;font-size:.85rem;display:block}.composer-credit-estimate:hover .composer-credit-tooltip,.composer-credit-estimate:focus-within .composer-credit-tooltip{display:block}.popover-anchor{position:relative}.popover{z-index:25;background:#2c2d2b;border:1px solid #454742;border-radius:.7rem;padding:.5rem;animation:.15s fade-in;position:absolute;top:calc(100% + .75rem);left:0;box-shadow:0 .8rem 2.5rem #0006}.mode-popover{width:12rem}.mode-popover>button{border-radius:.35rem;justify-content:space-between;align-items:center;width:100%;padding:.75rem .8rem;font-size:.95rem;display:flex}.popover button:hover{background:#3d4237}.popover .chosen{color:#c2f27a;background:#b2e56410}.mode-popover svg{width:1rem;height:1rem}.style-control{background:0 0;gap:.45rem;padding:0 .25rem}.style-control>img{object-fit:cover;border-radius:.2rem;width:2.1rem;height:2.1rem}.style-control>svg{fill:none;stroke-width:2px;width:1rem;height:1rem}.style-popover{width:min(32rem,420px);max-height:var(--popover-space,70dvh);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#666467 transparent;background:#353334;border:0;border-radius:.65rem;padding:1rem;animation:.15s settings-popover-in;top:calc(100% + .3rem);bottom:auto;overflow-y:auto}.style-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem 1rem;display:grid}.style-card{text-align:center;color:#aaa8aa;border-radius:0;min-width:0;padding:0}.style-card>img{aspect-ratio:1;object-fit:cover;width:100%;display:block}.style-card>span{white-space:nowrap;margin-top:.5rem;font-size:clamp(11px,1rem,14px);font-weight:400;line-height:1.4;display:block}.popover .style-card:hover{color:#e7e7e9;background:0 0}.style-card:hover>img{outline-offset:2px;outline:1px solid #88858a}.style-card.selected>span{color:#d3d1d3}.style-card:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.settings-popover{background:#363638;border:0;border-radius:1.35rem;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.5rem;width:min(45rem,100vw - 2rem);min-height:25.5rem;padding:1.35rem 1.5rem;animation:.15s settings-popover-in;display:grid;position:absolute;top:calc(100% + .3rem);bottom:auto;left:0;box-shadow:0 1rem 2.5rem #0009}@keyframes settings-popover-in{0%{opacity:0;transform:translateY(-.35rem)}to{opacity:1;transform:translateY(0)}}.settings-popover h3{color:#e7e7e9;margin:0 0 .8rem;font-size:1.05rem;font-weight:500}.settings-model-column{border-right:2px dotted #96969b;min-width:0;padding-right:1.5rem}.model-card{text-align:left;color:#e7e7e9;background:#505054;border-radius:.65rem;flex-direction:column;align-items:flex-start;width:100%;min-height:4.2rem;margin-bottom:.65rem;padding:.75rem .95rem;display:flex;position:relative}.model-card:hover{background:#5b5d58}.model-card-selected{color:#b5f86d;background:linear-gradient(120deg,#4d513f,#3e5148)}.model-card-selected:hover{background:linear-gradient(120deg,#555b46,#45594f)}.model-card:last-child{margin-bottom:0}.model-card strong{font-size:1rem;font-weight:400;line-height:1.35}.model-card span{color:inherit;margin-top:.2rem;font-size:.8rem;line-height:1.4}.model-card em{color:#fff;background:#ff4547;border-radius:.9rem 0 0;align-items:center;height:1.75rem;padding:0 .7rem 0 .65rem;font-size:.75rem;font-style:normal;display:flex;position:absolute;top:-.7rem;right:-.7rem}.settings-options-column{min-width:0}.settings-options-column>h3{margin-bottom:1.15rem}.ratio-choices,.resolution-choices{gap:.65rem;display:flex}.ratio-choices button,.resolution-choices button{color:#e5e5e7;background:#505054;border-radius:.45rem;min-width:5rem;height:2.5rem;padding:0 .9rem;font-size:.9rem}.ratio-choices button:hover,.resolution-choices button:hover{background:#5c5e59}.ratio-choices button.chosen,.resolution-choices button.chosen{color:#b5f86d;background:linear-gradient(120deg,#4b513f,#3e5147)}.duration-setting{margin-top:1.8rem}.duration-setting h3,.resolution-setting h3{align-items:baseline;gap:.9rem;display:flex}.duration-setting h3 b{color:#b5f86d;font-size:.8rem;font-weight:400}.range-row{color:#f1f1f2;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.7rem;font-size:.78rem;display:grid}.range-row input{appearance:none;background:linear-gradient(90deg,#b7f96e 0 55%,#ececef 55% 100%);border-radius:99rem;outline:none;width:100%;height:.35rem}.range-row input::-webkit-slider-thumb{appearance:none;background:#b5f86d;border:0;border-radius:50%;width:.9rem;height:.9rem;box-shadow:0 0 0 .2rem #b5f86d33}.range-row input::-moz-range-thumb{background:#b5f86d;border:0;border-radius:50%;width:.9rem;height:.9rem}.resolution-setting{margin-top:1.8rem}.resolution-choices button{min-width:5rem}.remove-watermark-setting{color:#e7e7e9;justify-content:space-between;align-items:center;width:100%;margin-top:1.6rem;font-size:.85rem;display:flex}.remove-watermark-setting>span{align-items:center;gap:.35rem;display:inline-flex}.remove-watermark-setting svg{color:#ffca7a;fill:#ffca7a;stroke:#ffca7a;width:1.2rem;height:1.2rem}.remove-watermark-setting>i{background:0 0;border:2px solid #aafa65;border-radius:2rem;width:3.9rem;height:1.7rem;position:relative}.remove-watermark-setting>i b{background:#858787;border-radius:50%;width:1.3rem;height:1.3rem;transition:transform .18s,background .18s;position:absolute;top:.13rem;left:.15rem}.remove-watermark-setting>i.on b{background:linear-gradient(135deg,#b8f96d,#7ff4b2);transform:translate(2.2rem)}.setting-group{margin-top:1rem}.setting-group>span{color:#aaa;font-size:.85rem}.setting-choices{gap:.5rem;margin-top:.6rem;display:flex}.setting-choices>button{border:1px solid #494b45;border-radius:.3rem;flex:1;padding:.5rem .4rem;font-size:.85rem}.setting-choices>button.chosen{border-color:#9fc75d}.settings-done{border-radius:.35rem;margin:1.25rem 0 0 auto;padding:.5rem 1.3rem;font-size:.9rem;display:block;color:#273222!important;background:#b4ec60!important}.discovery{z-index:1;padding:1rem 1.45rem 3rem 1.4rem;position:relative}.feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.35rem;display:grid}.feature-card{background:var(--surface);text-align:left;isolation:isolate;border-radius:.9rem;height:8.65rem;display:flex;position:relative;overflow:hidden}.feature-card>div{z-index:1;flex-direction:column;flex:1;justify-content:space-between;padding:1.55rem 0 .8rem 1.08rem;display:flex}.feature-card h2{white-space:nowrap;margin:0;font-size:1.1rem;font-weight:600}.feature-card p{color:#bfbfbf;white-space:pre;margin:0 0 .8rem;font-size:.875rem;line-height:1.25}.feature-card>img{object-fit:cover;border-radius:.8rem;flex-shrink:0;width:44%;height:calc(100% - .65rem);margin:.325rem .325rem .325rem 0;transition:transform .35s}.feature-card:hover{background:#30332c;box-shadow:0 0 0 1px #72864c}.feature-card:hover>img{transform:scale(1.04)}.feature-arrow{opacity:0;z-index:2;background:#0008;border-radius:50%;width:1.3rem;height:1.3rem;position:absolute;top:.8rem;right:.8rem}.feature-card:hover .feature-arrow{opacity:1}.gallery-section{margin-top:3.85rem}.category-tabs{align-items:center;gap:3rem;margin-bottom:2.2rem;display:flex}.category-tabs>button{color:#c6c6c6;white-space:nowrap;font-size:1.65rem;font-weight:400;line-height:2.4rem;position:relative}.category-tabs>button.active{background:var(--gradient);color:#0000;-webkit-background-clip:text;background-clip:text}.category-tabs>button.active:after{content:"";background:#b7e75e;width:85%;height:2px;position:absolute;bottom:-.15rem;left:7.5%}.gallery-grid{grid-template-columns:1.015fr .99fr 1fr .99fr;gap:1.7rem;display:grid}.gallery-card{text-align:left;border-radius:.1rem;min-width:0;overflow:hidden}.gallery-image{aspect-ratio:382/175;background:#252525;position:relative;overflow:hidden}.gallery-image>img{object-fit:cover;width:100%;height:100%;transition:transform .45s}.gallery-card:hover .gallery-image>img{transform:scale(1.04)}.gallery-hover{opacity:0;background:#0004;flex-direction:column;justify-content:center;align-items:center;gap:.6rem;font-size:.9rem;transition:opacity .2s;display:flex;position:absolute;inset:0}.gallery-hover>svg{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid #fffa;border-radius:50%;width:2.8rem;height:2.8rem;padding:.8rem}.gallery-card:hover .gallery-hover{opacity:1}.gallery-duration{opacity:0;background:#0008;border-radius:.2rem;padding:.15rem .3rem;font-size:.75rem;transition:opacity .2s;position:absolute;bottom:.5rem;right:.6rem}.gallery-card:hover .gallery-duration{opacity:1}.gallery-caption{padding:1rem 0}.gallery-caption h3{color:#ddd;margin:0 0 .6rem;font-size:1rem;font-weight:500}.gallery-caption>span{color:#828482;justify-content:space-between;align-items:center;font-size:.8rem;display:flex}.gallery-caption svg{width:1rem;height:1rem}.primary-button,.secondary-button{white-space:nowrap;border-radius:.5rem;justify-content:center;align-items:center;gap:.6rem;min-height:2.6rem;padding:.65rem 1.1rem;font-size:.95rem;font-weight:500;display:inline-flex}.primary-button{background:var(--gradient);color:#223222}.primary-button:hover{filter:brightness(1.08);color:#172a15}.primary-button svg,.secondary-button svg{width:1.1rem;height:1.1rem}.secondary-button{color:#c7c9c3;background:#2a2b27;border:1px solid #4a4c45}.secondary-button:hover{background:#373b30}.icon-button{color:#c0c1bc;background:#ffffff0d;border-radius:50%;place-items:center;width:2.2rem;height:2.2rem;display:grid}.icon-button:hover{background:#ffffff20}.subtle-label{color:#a6bc8c;font-size:.8rem}.demo-note{color:#858a80;font-size:.8rem;font-weight:400;line-height:1.6;display:block}.toast{z-index:100;white-space:nowrap;background:#33372d;border:1px solid #596d42;border-radius:.6rem;align-items:center;gap:.7rem;padding:.8rem 1rem;font-size:.9rem;animation:.2s fade-in;display:flex;position:fixed;bottom:2rem;left:calc(50% + 6rem);transform:translate(-50%);box-shadow:0 .5rem 2rem #0005}.toast>svg{color:#b9ee74;width:1.1rem;height:1.1rem}.toast>button{color:#aaa;place-items:center;margin-left:1rem;display:grid}.toast>button>svg{width:1rem;height:1rem}.modal-backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);z-index:80;background:#0009;place-items:center;padding:3rem;animation:.2s fade-in;display:grid;position:fixed;inset:0}.modal{background:#252623;border:1px solid #41443b;border-radius:1.1rem;outline:none;width:32rem;max-height:calc(100vh - 6rem);position:relative;overflow:auto;box-shadow:0 2rem 8rem #0008}.modal-close{z-index:2;position:absolute;top:1rem;right:1rem}.preview-modal{grid-template-columns:1.1fr 1fr;width:62rem;display:grid;overflow:hidden}.preview-image{background:#1c1e19;justify-content:center;align-items:center;min-height:30rem;display:flex;overflow:hidden}.preview-image>img{object-fit:contain;width:100%;height:auto;max-height:35rem}.preview-content{flex-direction:column;padding:3rem 2rem 2rem;display:flex}.preview-content h2{margin:.7rem 0 2rem;font-size:1.6rem;font-weight:500;line-height:1.5}.preview-content h3{color:#b2b7a8;margin:0 0 .7rem;font-size:.9rem;font-weight:400}.preview-content p{color:#c1c4bb;margin:0;font-size:.95rem;line-height:1.9}.preview-tags{gap:.6rem;margin:1.5rem 0 2rem;display:flex}.preview-tags>span{color:#9ca68c;border:1px solid #474b3f;border-radius:.3rem;padding:.3rem .5rem;font-size:.75rem}.preview-content>.primary-button{margin-top:auto}.info-modal{text-align:center;padding:3rem 2.3rem 2rem}.info-modal>h2{margin:.6rem 0 1rem;font-size:1.7rem;font-weight:500}.info-modal>h3{font-size:1.1rem}.info-modal>p{color:#a4aa9b;font-size:.95rem;line-height:1.7}.info-modal>.primary-button{width:100%;margin-top:1rem}.info-modal>.demo-note{margin-top:1rem}.modal-emblem{color:#ffcf8a;fill:#ffcf8a22;width:3rem;height:3rem}.plan-card{text-align:left;background:linear-gradient(130deg,#38372b,#2b2f25);border:1px solid #6c654d;border-radius:.7rem;margin-top:1.5rem;padding:1.4rem}.plan-card>span{color:#e5d3ad;font-size:1rem}.plan-card>strong{color:#ffdc9e;margin:.7rem 0 1.3rem;font-size:2.5rem;display:block}.plan-card small{color:#ada78f;font-size:.85rem;font-weight:400}.plan-card p{color:#c3c6b7;align-items:center;gap:.6rem;font-size:.9rem;display:flex}.plan-card p:last-child{margin-bottom:0}.plan-card p>svg{color:#cce591;width:1rem;height:1rem}.account-avatar{color:#b4ec60;background:#b4ec6030;border-radius:50%;place-items:center;width:4.5rem;height:4.5rem;margin:2rem auto 1rem;font-size:2rem;display:grid}.help-list{text-align:left;border-top:1px solid #414538;margin-top:1.5rem}.help-list p{margin:1.3rem 0}.help-list b{color:#c2df9a;font-size:1rem;font-weight:500;display:block}.help-list span{color:#a4aa9b;margin-top:.5rem;font-size:.9rem;display:block}.info-modal pre{text-align:left;color:#c1dd9f;background:#1b1e17;border:1px solid #414638;border-radius:.5rem;margin:1.5rem 0;padding:1.2rem;font-family:monospace;font-size:.85rem;line-height:1.8}.language-option{color:#cbec9f;background:#b4ec6010;border:1px solid #8ba75d;border-radius:.5rem;justify-content:space-between;align-items:center;width:100%;margin:1.5rem 0;padding:1rem;font-size:1rem;display:flex}.library,.records-page{padding:7.5rem 3rem 3rem}.library>header,.records-page>header{align-items:center;gap:1rem;margin-bottom:2.5rem;display:flex}.library h1,.records-page h1{margin:0 0 .7rem;font-size:2rem;font-weight:500}.library header p,.records-page header p{color:#92958c;margin:0;font-size:.95rem}.library header>div,.records-page header>div{margin-right:auto}.search-field{color:#8e9781;background:#292b26;border:1px solid #3c4034;border-radius:.5rem;align-items:center;gap:.6rem;width:15rem;height:2.6rem;padding:0 .8rem;display:flex}.search-field svg{width:1.1rem;height:1.1rem}.search-field input{background:0 0;border:0;outline:none;width:100%;min-width:0;font-size:.9rem}.library-meta{color:#c3cbb7;border-bottom:1px solid #34392c;align-items:center;gap:.6rem;padding-bottom:1.2rem;font-size:.95rem;display:flex}.library-meta svg{color:#b9de86}.library-meta>span{background:#b4ec6015;border-radius:.3rem;padding:.2rem .4rem;font-size:.75rem}.library-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem;margin-top:2rem;display:grid}.library-grid>button{text-align:left;background:#272a23;border-radius:.6rem;overflow:hidden}.library-grid img{object-fit:cover;width:100%;height:12rem}.library-grid button>span{white-space:nowrap;text-overflow:ellipsis;padding:1rem;font-size:.95rem;display:block;overflow:hidden}.library-grid button:hover{box-shadow:0 0 0 1px #92a779}.empty-state{text-align:center;color:#78836a;padding:7rem 0}.empty-state>svg{stroke-width:1px;width:3.5rem;height:3.5rem;margin-bottom:.8rem}.empty-state>h2{color:#b4bea5;font-size:1.3rem;font-weight:400}.empty-state>p{font-size:.9rem}.records-list{flex-direction:column;gap:.8rem;display:flex}.records-list>button{text-align:left;background:#252722;border:1px solid #353a2e;border-radius:.7rem;align-items:center;gap:1.3rem;padding:1.2rem;display:flex}.records-list>button:hover{background:#2c3025;border-color:#849960}.record-icon{color:#a0b186;background:#363e2c;border-radius:.4rem;place-items:center;width:5rem;height:3.5rem;display:grid;overflow:hidden}.record-icon>img{object-fit:cover;width:100%;height:100%}.record-icon>svg{width:1.5rem;height:1.5rem}.records-list h3{margin:0 0 .5rem;font-size:1rem;font-weight:400}.records-list p{color:#969f88;margin:0;font-size:.8rem}.records-list>button>svg{color:#a8b697;margin-left:auto}.creation{max-width:92rem;margin:auto;padding:6.5rem 4rem 4rem}.back-button{color:#a4af96;align-items:center;gap:.5rem;margin-bottom:2rem;font-size:.9rem;display:flex}.back-button svg{width:1rem;height:1rem}.creation-heading{justify-content:space-between;align-items:center;display:flex}.creation-heading h1{margin:.7rem 0 0;font-size:2rem;font-weight:500}.job-status{color:#b2e878;background:#b2e87810;border:1px solid #6b854b;border-radius:2rem;align-items:center;gap:.4rem;padding:.45rem .7rem;font-size:.8rem;display:flex}.job-status svg{width:1rem;height:1rem}.job-status.loading{color:#d9d29d;background:#d9d29d0d;border-color:#6e6c46}.prompt-summary{color:#c1cbb3;background:#272b22;border:1px solid #3a402f;border-radius:.6rem;align-items:flex-start;gap:.8rem;margin:2rem 0;padding:1.2rem;display:flex}.prompt-summary>svg{color:#b3dc80;margin-top:.1rem}.prompt-summary p{margin:0;font-size:.95rem;line-height:1.7}.result-layout{grid-template-columns:minmax(0,1fr) 19rem;gap:2rem;display:grid}.result-visual{background:#262923;border-radius:.8rem;align-items:center;min-height:24rem;display:flex;position:relative;overflow:hidden}.result-visual>img{width:100%;height:auto}.result-badge{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#d5e8be;background:#141b11cc;border-radius:.4rem;align-items:center;gap:.4rem;padding:.45rem .6rem;font-size:.75rem;display:flex;position:absolute;bottom:1rem;left:1rem}.result-badge>svg{width:.9rem;height:.9rem}.result-details{background:#262a21;border:1px solid #3b4230;border-radius:.7rem;align-self:start;padding:1.5rem}.result-details h2{margin:0 0 1.5rem;font-size:1.1rem;font-weight:500}.result-details>p{color:#9da88f;justify-content:space-between;gap:1rem;margin:1.2rem 0;font-size:.85rem;display:flex}.result-details b{color:#d6ddcc;font-weight:400}.result-details>.demo-note{border-top:1px solid #3a422e;margin-top:1.5rem;padding-top:1rem}.result-buttons{flex-direction:column;gap:.7rem;margin-top:1.5rem;display:flex}.generation-overlay{text-align:center;background:#11180ee6;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.generation-spinner{background:#b4ec6010;border:1px solid #b4ec6060;border-radius:1rem;place-items:center;width:4rem;height:4rem;animation:2s infinite breathe;display:grid}.generation-spinner>svg{color:#c8ef99;width:2rem;height:2rem}.generation-overlay h2{margin:1.5rem 0 .4rem;font-size:1.3rem;font-weight:400}.generation-overlay p{color:#9caa8c;font-size:.85rem}.generation-progress{background:#7e8d662e;border-radius:2px;width:14rem;height:3px;margin-top:1.3rem;overflow:hidden}.generation-progress>i{background:var(--gradient);width:30%;height:100%;animation:2.8s ease-out forwards generate;display:block}.story-script{background:#272b22;border:1px solid #424a35;border-radius:.7rem;padding:1.5rem}.story-script h2{align-items:center;gap:.7rem;margin:0 0 1.3rem;font-size:1.1rem;font-weight:500;display:flex}.story-script h2 svg{color:#bfdc98}.story-script article{border-top:1px solid #3b432f;align-items:center;gap:1.2rem;padding:1.5rem 0;display:flex}.story-script article>span{color:#8aa56c;font-size:1.6rem;font-weight:300}.story-script h3{color:#dbe5cd;margin:0 0 .6rem;font-size:1rem;font-weight:500}.story-script article p{color:#a7b298;margin:0;font-size:.9rem;line-height:1.7}.story-script article small{color:#a5bb8b;white-space:nowrap;margin-left:auto;font-size:.8rem}.script-footer{border-top:1px solid #3b432f;justify-content:space-between;align-items:center;gap:1rem;padding-top:1.5rem;display:flex}.script-footer>span{color:#9fac91;font-size:.85rem}.spin{animation:1.2s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes breathe{50%{transform:scale(1.05);box-shadow:0 0 2rem #b4ec6018}}@keyframes generate{0%{width:5%}to{width:95%}}@keyframes fade-in{0%{opacity:0;transform:translateY(.4rem)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (width<=1200px){:root{font-size:9.375px}.app-shell{width:1200px}.main-workspace{min-width:965.625px}.rail{width:64.45px}}.feature-card:first-child>img{width:45%}.mode-control>svg{width:.6rem;height:.6rem}.agent-workspace{scrollbar-gutter:auto;background:#000;overflow:hidden}.agent-conversation{color:#d8d8da;background:#000;flex-direction:column;height:100%;padding-top:64px;font-size:12px;display:flex}.agent-conversation svg,.agent-dialog svg{stroke-width:1.7px;width:16px;height:16px}.agent-transcript{overscroll-behavior:contain;flex:1;min-height:0;scroll-padding-top:20px;overflow-y:auto}.agent-messages{width:min(100% - 104px,1040px);margin:0 auto;padding:16px 0 30px}.agent-message{align-items:flex-start;gap:15px;margin-bottom:32px;scroll-margin-top:22px;display:flex}.agent-message:last-child{margin-bottom:0}.agent-message-body{flex:1;min-width:0}.agent-avatar{background:radial-gradient(circle at 50% 40%,#25292d,#141719 70%);border:1px solid #85898c;border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid}.agent-avatar svg{width:28px;height:28px}.agent-user-avatar{color:#f1fff4;background:linear-gradient(#4de77b,#11b958);border:1px solid #0ba54b;border-radius:50%;flex:0 0 23px;place-items:center;width:23px;height:23px;margin-top:1px;display:grid}.agent-user-avatar svg{stroke-width:1.5px;width:13px;height:13px}.agent-message-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0 14px;line-height:1.8}.agent-message.user{flex-direction:row-reverse;gap:11px;margin-bottom:9px;margin-left:22%}.agent-message.user .agent-message-body{flex-direction:column;flex:0 auto;align-items:flex-end;max-width:100%;display:flex}.agent-message.user .agent-message-text{color:#d9dfcf;background:linear-gradient(110deg,#2d3516,#15362a);border-radius:7px;margin:0;padding:12px 17px;line-height:1.85}.agent-message-meta{color:#63676a;align-items:center;gap:8px;margin-top:6px;font-size:10px;line-height:1.4;display:flex}.agent-message-meta button{color:#8a8d90;place-items:center;display:grid}.agent-message-meta svg{width:12px;height:12px}.agent-settings{background:#1b1c21;border-radius:8px;width:min(62%,560px);padding:16px}.agent-setting-fields{grid-template-columns:1fr 1fr;gap:9px 10px;display:grid}.agent-setting-fields label{background:#2b2c31;border-radius:5px;justify-content:space-between;align-items:center;gap:7px;min-width:0;padding:9px 10px;font-size:11px;display:flex}.agent-setting-fields label>span{color:#a0a1a7;white-space:nowrap}.agent-setting-fields select{color:#d4d5d9;cursor:pointer;text-align:right;background:0 0;border:0;min-width:0;max-width:67%;padding:0;font-size:11px}.agent-setting-fields option{background:#2b2c31}.agent-setting-fields select:disabled{opacity:1;cursor:default}.agent-auto{align-items:flex-start;gap:9px;padding-top:13px;display:flex}.agent-auto strong{margin-top:1px;font-size:11px;font-weight:500;display:block}.agent-auto p{color:#8c8e96;margin:5px 0 0;font-size:10px;line-height:1.6}.agent-switch{background:#303438;border:1px solid #7a7e64;border-radius:10px;flex-shrink:0;width:34px;height:17px;margin-top:1px;padding:2px}.agent-switch i{background:#e5e7e8;border-radius:50%;width:11px;height:11px;transition:transform .15s;display:block}.agent-switch.on{background:#84bb3c}.agent-switch.on i{background:#fff;transform:translate(17px)}.agent-stage-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:13px;display:flex}.agent-primary,.agent-secondary{border-radius:3px;justify-content:center;align-items:center;gap:6px;min-height:28px;padding:6px 14px;font-size:11px;line-height:1.4;display:inline-flex}.agent-primary{color:#1b1c20;background:#fff;font-weight:400}.agent-primary:hover{color:#141418;background:#e9e9eb}.agent-primary:disabled{opacity:1;cursor:default}.agent-secondary{color:#a4a6ab;background:#1b1d20}.agent-secondary:hover{background:#2c2e32}.agent-secondary:disabled{opacity:.7;cursor:default}.agent-primary svg,.agent-secondary svg{width:13px;height:13px}.agent-import-button svg{color:#8a8d96;width:11px;height:11px}.agent-regenerate-help{margin-left:7px;position:relative}.agent-regenerate-help summary{color:#a4c05b;cursor:pointer;font-size:11px;text-decoration:underline;list-style:none}.agent-regenerate-help summary::-webkit-details-marker{display:none}.agent-regenerate-help p{z-index:5;color:#bdbfc4;background:#24262a;border:1px solid #3d4046;border-radius:5px;width:250px;padding:12px;font-size:11px;line-height:1.7;position:absolute;top:15px;left:0;box-shadow:0 7px 25px #0008}.agent-plan{grid-template-columns:.95fr 1.15fr;gap:10px;width:min(84%,760px);display:grid}.agent-plan>section{background:#1b1c21;border-radius:6px;min-width:0;overflow:hidden}.agent-plan header{justify-content:space-between;align-items:center;gap:9px;padding:12px 14px 5px;display:flex}.agent-plan h3{color:#e6e6e9;white-space:nowrap;align-items:center;gap:7px;margin:0;font-size:12px;font-weight:600;display:flex}.agent-plan h3>svg{color:#c785df;fill:#c785df;width:13px;height:13px}.agent-plan header>div{color:#b3b5be;gap:9px;display:flex}.agent-plan header button{place-items:center;display:grid}.agent-plan header svg{width:13px;height:13px}.agent-plan-scroll{overscroll-behavior:contain;height:300px;padding:0 14px 12px;overflow-y:auto}.agent-plan article{padding:7px 0 3px}.agent-plan article p{color:#bec0c8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:11px;line-height:1.85}.agent-material-plan article strong{color:#a8bc5a;font-weight:500}.agent-shot-plan article{border-bottom:1px solid #3a3b42;gap:10px;padding:8px 0;display:flex}.agent-shot-plan article:last-child{border-bottom:0}.plan-number{color:#c1c1c8;flex:0 0 10px;font-size:11px;line-height:1.85}.agent-media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:min(100% - 48px,900px);display:grid}.agent-media-card{border-radius:4px;min-width:0;position:relative}.agent-media-image{background:#1c1c1c;border-radius:4px;width:100%;display:block;position:relative;overflow:hidden}.agent-media-image.materials{aspect-ratio:1}.agent-media-image.storyboards,.agent-media-image.clips{aspect-ratio:16/9}.agent-media-image img{object-fit:cover;width:100%;height:100%}.agent-media-tools{color:#c8cbce;opacity:0;pointer-events:none;background:#0009;border-radius:4px;align-items:center;gap:7px;padding:5px;transition:opacity .15s;display:flex;position:absolute;top:6px;right:6px}.agent-media-card:hover .agent-media-tools,.agent-media-card:focus-within .agent-media-tools{opacity:1;pointer-events:auto}.agent-media-tools button{place-items:center;display:grid}.agent-media-tools svg{width:16px;height:16px}.agent-media-description{color:#dedfe3;opacity:0;pointer-events:none;background:#000b;border-radius:3px;max-height:68px;padding:5px 7px;font-size:10px;line-height:1.5;transition:opacity .15s;position:absolute;bottom:7px;left:7px;right:7px;overflow:hidden}.agent-media-card:hover .agent-media-description,.agent-media-card:focus-within .agent-media-description{opacity:1}.agent-media-version{color:#ddd;background:#0008;border-radius:3px;padding:3px 5px;font-size:10px;position:absolute;top:7px;left:7px}.agent-play{background:#000a;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.agent-play svg{width:14px;height:14px;margin-left:2px}.agent-result-text{color:#a7a9af;white-space:pre-wrap;width:min(100% - 48px,900px);margin:17px 0 0;font-size:11px;line-height:1.8}.agent-final-player{aspect-ratio:16/9;background:#191919 url(/assets/agent-reference-character.webp) 50%/cover;border-radius:3px;position:relative;overflow:hidden}.agent-final-player:before{content:"";-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);position:absolute;inset:0}.agent-final video{object-fit:contain;border-radius:3px;width:100%;height:100%;display:block;position:relative}.agent-final-play{color:#fff;background:#000b;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.agent-final-play svg{width:21px;height:21px;margin-left:3px}.agent-thinking{color:#b5b8bd;align-items:center;gap:10px;min-height:30px;padding-top:6px;font-size:12px;display:flex}.agent-thinking>svg{color:#b8c8da;width:17px;height:17px}.agent-thinking button{color:#8c9097;align-items:center;gap:5px;margin-left:10px;font-size:11px;display:flex}.agent-thinking button svg{width:10px;height:10px}.agent-revision-label{color:#676b73;margin-top:10px;font-size:10px;display:block}.agent-chat-footer{background:#000;flex-shrink:0;padding:8px 52px 13px;position:relative}.agent-composer{background:#1c1d21;border:1px solid #383a41;border-radius:10px;width:min(100%,942px);margin:0 auto}.agent-composer:focus-within{border-color:#6d7658}.agent-composer textarea{resize:none;background:0 0;border:0;outline:none;width:100%;height:55px;padding:14px 16px 6px;font-size:12px;line-height:1.7;display:block}.agent-composer textarea::placeholder{color:#757780}.agent-composer textarea:disabled{opacity:.7}.agent-composer>div{justify-content:space-between;align-items:center;padding:0 11px 9px 16px;display:flex}.agent-composer>div>span{color:#93969d;align-items:center;gap:6px;font-size:11px;display:flex}.agent-composer>div>span svg{width:14px;height:14px}.agent-send{background:var(--gradient);color:#23351b;border-radius:50%;place-items:center;width:29px;height:29px;display:grid}.agent-send:hover{color:#172b10}.agent-send:disabled{color:#737d69;opacity:1;cursor:default;background:#41463d}.agent-send svg{width:17px;height:17px}.agent-disclaimer{color:#555961;text-align:center;margin:8px auto 0;font-size:10px}.agent-jump{background:#25272b;border:1px solid #41444a;border-radius:20px;align-items:center;gap:5px;padding:8px 12px;font-size:11px;display:flex;position:absolute;bottom:calc(100% + 4px);left:50%;transform:translate(-50%);box-shadow:0 4px 15px #0005}.agent-jump svg{width:13px;height:13px}@media (width<=1450px){.agent-messages{width:calc(100% - 80px)}.agent-chat-footer{padding-left:40px;padding-right:40px}}.agent-dialog-backdrop{z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000a;place-items:center;padding:40px;display:grid;position:fixed;inset:0}.agent-dialog{background:#252629;border:1px solid #44474b;border-radius:13px;flex-direction:column;width:min(760px,90vw);max-height:85vh;padding:24px;font-size:13px;display:flex;box-shadow:0 20px 80px #0006}.agent-dialog>header{flex-shrink:0;justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.agent-dialog h2{margin:0;font-size:16px;font-weight:500}.agent-dialog>header button{color:#a3a5a9;place-items:center;display:grid}.agent-edit-list{padding:2px;overflow-y:auto}.agent-edit-list label{margin-bottom:18px;display:block}.agent-edit-list label span{color:#bfd6a6;margin-bottom:9px;font-size:12px;display:block}.agent-edit-list textarea{resize:vertical;background:#1e2022;border:1px solid #414449;border-radius:6px;width:100%;min-height:85px;padding:12px;font-size:13px;line-height:1.8}.agent-dialog footer{justify-content:flex-end;gap:10px;padding-top:17px;display:flex}.agent-preview{width:auto;max-width:min(1000px,90vw)}.agent-preview>img{object-fit:contain;border-radius:6px;max-width:100%;min-height:0;max-height:68vh}.agent-preview>video{background:#000;border-radius:6px;width:min(880px,80vw);max-height:68vh}.agent-dialog>p{color:#a0a5a8;margin:0 0 18px;font-size:12px;line-height:1.8}.agent-import-grid{grid-template-columns:repeat(4,1fr);gap:13px;padding:3px;display:grid;overflow-y:auto}.agent-import-grid button{border:1px solid #464942;border-radius:6px;overflow:hidden}.agent-import-grid button:hover{outline:2px solid #b1dc8c}.agent-import-grid img{aspect-ratio:1;object-fit:cover;width:100%}.preview-image>video{object-fit:contain;background:#191919;width:100%;height:100%}.preview-image:has(>audio){background:#30383a;place-items:center;display:grid}.preview-image>audio{width:85%}.library-grid>button>.video-thumbnail,.library-grid>button>.audio-thumbnail{height:13rem}.video-workspace{scrollbar-gutter:auto;background:#000;overflow:hidden}.video-conversation{color:#ddd;background:#000;flex-direction:column;height:100%;padding:56px 0 30px;font-size:14px;display:flex}.video-transcript{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;overflow-y:auto}.video-messages,.video-composer-dock{width:min(100% - 104px,1040px);margin:0 auto}.video-messages{padding:0 0 36px}.video-turn{margin-bottom:48px}.video-turn:last-child{margin-bottom:0}.video-user-message{flex-direction:column;align-items:flex-end;display:flex}.video-message-references{flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:70%;margin-bottom:8px;padding-right:56px;display:flex}.video-reference{background:#333638;border-radius:6px;flex:0 0 72px;width:72px;height:72px;position:relative;overflow:hidden}.video-reference>img{object-fit:cover;width:100%;height:100%}.video-reference>span{color:#fff;white-space:nowrap;text-overflow:ellipsis;background:#25252588;padding:0 3px;font-size:12px;line-height:18px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.video-reference>svg{color:#919191;width:26px;height:26px}.video-user-row{justify-content:flex-end;align-items:flex-start;gap:16px;max-width:80%;display:flex}.video-user-bubble{color:#f3f3f3;overflow-wrap:anywhere;background:#353334;border-radius:8px;max-width:470px;padding:14px 18px;font-size:14px;line-height:22px}.video-user-bubble>p{white-space:pre-wrap;margin:0}.video-user-bubble>span{display:block}.video-user-avatar{background:linear-gradient(150deg,#54e9a9,#1fba3e 70%);border:2px solid #327744;border-radius:50%;flex:0 0 40px;place-items:center;width:40px;height:40px;display:grid}.video-user-avatar>svg{fill:#d2ffe0;stroke:#d2ffe0;stroke-width:1.5px;width:24px;height:24px}.video-message-actions{color:#727274;align-items:center;gap:8px;margin:8px 56px 0 0;font-size:12px;display:flex}.video-message-actions>button{align-items:center;gap:4px;display:flex}.video-message-actions svg{stroke-width:1.6px;width:17px;height:17px}.video-message-actions>button:hover{color:#d7d7d7}.video-assistant-message{align-items:flex-start;gap:16px;margin-top:24px;display:flex}.video-assistant-message>.agent-avatar{flex-basis:46px;width:46px;height:46px;margin-top:2px}.video-assistant-message>.agent-avatar:has(>img){background:0 0;border:0}.video-assistant-message>.agent-avatar>img{border-radius:50%;width:100%;height:100%}.video-assistant-message>.agent-avatar svg{width:38px;height:38px}.video-result-content{width:316px;max-width:calc(100% - 62px)}.video-generation-placeholder{aspect-ratio:16/9;background:radial-gradient(at 3% 12%,#7d5f6199,#0000 65%),radial-gradient(at 92% 15%,#292858,#0000 80%),linear-gradient(120deg,#55515a,#17384a 47%,#383044);border:1px solid #524653;border-radius:6px;width:100%;animation:4s ease-in-out infinite alternate video-waiting}@keyframes video-waiting{to{filter:brightness(1.14)}}.video-generation-caption{color:#99999b;margin:7px 0 0;font-size:12px;line-height:20px}.video-result-player{aspect-ratio:16/9;background:#202024;border-radius:6px;width:100%;position:relative;overflow:hidden}.video-result-player video{object-fit:contain;width:100%;height:100%;display:block}.video-play-button{background:#0002;place-items:center;display:grid;position:absolute;inset:0}.video-play-button>svg{color:#fff;background:#0007;border:1px solid #fff9;border-radius:50%;width:38px;height:38px;padding:9px}.video-result-actions{align-items:center;gap:16px;margin-top:10px;display:flex}.video-result-actions>button{color:#c8c8ca;align-items:center;gap:5px;font-size:12px;display:flex}.video-result-actions>button:hover{color:#fff}.video-result-actions svg{width:15px;height:15px}.video-demo-caption{color:#6f6f74;margin:8px 0 0;font-size:11px}.video-composer-dock{z-index:5;flex-shrink:0;position:relative}.conversation-composer{background:radial-gradient(at 100% 100%,#2e5035 0%,#0000 60%),radial-gradient(at 10% 10%,#303135 0%,#1b1c20 55%);border:1px solid #3e4243;border-radius:16px;width:100%;min-height:264px;margin:0;padding:18px 16px 10px}.conversation-composer .reference-row{gap:8px;margin-bottom:10px}.conversation-composer .upload-button,.conversation-composer .reference-image{border-radius:7px;width:72px;height:72px}.conversation-composer .upload-button{color:#939397;background:#303035;border-color:#4c4c52;flex-direction:column;gap:12px;display:flex}.conversation-composer .upload-button>svg{stroke-width:3px;width:23px;height:23px}.conversation-composer .upload-button>span{font-size:13px;line-height:16px}.conversation-composer textarea{height:118px;padding:0;font-size:14px;line-height:22px}.conversation-composer textarea::placeholder{color:#78797c}@media (prefers-reduced-motion:reduce){.video-generation-placeholder{animation:none}}.agent-conversation{padding-top:58px;font-size:14px}.agent-flow-header{background:#000;flex-shrink:0;justify-content:space-between;align-items:center;gap:20px;padding:12px 32px 22px;display:flex}.agent-flow-header nav{align-items:center;gap:clamp(14px,1.6vw,30px);margin:0 auto;display:flex}.agent-flow-header nav>button{color:#b8b8bf;white-space:nowrap;align-items:center;gap:7px;font-size:12px;display:flex}.agent-flow-header nav>button>span{color:#d7d7dc;background:#38383d;border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.agent-flow-header nav>button.current{color:#f1f1f1}.agent-flow-header nav>button.current>span{color:#1d2813;background:#d8edb7}.agent-flow-header nav>button.complete{color:#c1cbbb}.agent-flow-header nav>button.complete>span{color:#b6e28a;background:#263225}.agent-flow-header nav>button:disabled{opacity:1;cursor:default}.agent-flow-header nav>button.current:disabled{opacity:1}.agent-balance{color:#dfbd87;white-space:nowrap;background:#1b1b1b;border-radius:24px;align-items:center;gap:8px;padding:10px 14px;font-size:12px;display:flex}.agent-balance>span{color:#d1d1d1}.agent-balance>svg{color:#ffd371;width:17px;height:17px}.agent-balance>i{background:#4d463c;width:1px;height:14px;margin:0 2px}.agent-messages{padding-top:24px}.agent-message{gap:16px;margin-bottom:28px;scroll-margin-top:20px}.agent-message-text{margin-top:5px;line-height:1.8}.agent-avatar{flex-basis:40px;width:40px;height:40px}.agent-avatar:has(>img){background:0 0;border:0}.agent-avatar>img{object-fit:contain;width:100%;height:100%}.agent-user-avatar{flex-basis:30px;width:30px;height:30px}.agent-user-avatar svg{width:19px;height:19px}.agent-message.user{margin-bottom:24px}.agent-message.user .agent-message-text{padding:12px 18px}.agent-settings{border-radius:12px;width:min(68%,640px);padding:20px}.agent-setting-fields{gap:12px 10px}.agent-setting-fields label{border-radius:8px;padding:13px 12px;font-size:13px}.agent-setting-fields select{max-width:65%;font-size:13px}.agent-auto{gap:12px;padding-top:16px}.agent-auto strong{font-size:14px}.agent-auto p{font-size:12px;line-height:1.7}.agent-auto .agent-switch{background:0 0;border-color:#b5b5b8;width:42px;height:21px}.agent-auto .agent-switch i{width:15px;height:15px}.agent-auto .agent-switch.on{background:#303b1b;border-color:#b4ef73}.agent-auto .agent-switch.on i{background:linear-gradient(120deg,#b9ed71,#6ff6bc);transform:translate(19px)}.agent-stage-actions{gap:12px;margin-top:18px}.agent-primary,.agent-secondary{border-radius:4px;min-height:34px;padding:8px 18px;font-size:13px}.agent-primary:disabled{color:#242424;cursor:not-allowed;background:#939393}.agent-primary:disabled:hover{background:#939393}.agent-link{color:#b2d78a;text-underline-offset:3px;white-space:nowrap;font-size:13px;text-decoration:underline}.agent-link:hover{color:#d3f8ad}.agent-link:disabled{color:#7b826f;cursor:default}.agent-stage-blocker{color:#c9aa70;margin:9px 0 0;font-size:12px}.agent-message-meta{color:#7b7b7f;flex-wrap:wrap;margin-top:12px;font-size:11px}.agent-message-meta>svg{color:#ffca65;width:15px;height:15px}.agent-message-meta time+span{margin-left:4px}.agent-combined-plan{grid-template-columns:.86fr 1.14fr;gap:20px;width:100%}.agent-combined-plan>section{background:#1b1c20;border-radius:10px}.agent-combined-plan header{min-height:53px;padding:16px 16px 12px}.agent-combined-plan h3{font-size:15px}.agent-combined-plan header svg{width:17px;height:17px}.agent-combined-plan header>div{align-items:center;gap:14px}.agent-combined-plan header .agent-link{font-size:14px}.agent-combined-plan .agent-plan-scroll{scrollbar-width:thin;scrollbar-color:#55565a transparent;height:min(540px,56vh);padding:0 16px 16px}.agent-combined-plan .agent-shot-plan article{background:#27282c;border:0;border-radius:6px;margin-bottom:10px;padding:12px;display:block}.agent-combined-plan .agent-shot-plan article:last-child{margin-bottom:0}.agent-shot-heading{color:#b5d784;align-items:center;gap:9px;margin-bottom:8px;font-size:13px;display:flex}.agent-shot-heading>i{background:#86ad66;width:1px;height:12px}.agent-combined-plan article p{color:#d0d0d2;font-size:13px;line-height:1.8}.agent-material-list{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:18px 16px;display:grid}.agent-material-card{min-width:0}.agent-material-picture{aspect-ratio:16/9;background:#585858;border-radius:5px;position:relative;overflow:hidden}.agent-material-preview{width:100%;height:100%;display:block}.agent-material-preview>img{object-fit:cover;width:100%;height:100%;display:block}.agent-material-placeholder{color:#d3d3d3;flex-direction:column;justify-content:center;align-items:center;gap:9px;height:100%;display:flex}.agent-material-placeholder>svg{width:36px;height:36px}.agent-material-placeholder>span{font-size:12px}.agent-material-empty-options{opacity:0;visibility:hidden;background:#585858;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:25px 12px 8px;transition:opacity .12s;display:flex;position:absolute;inset:0}.agent-material-empty-options>button{border:1px solid #eee;border-radius:30px;width:min(100%,150px);min-height:32px;font-size:12px}.agent-material-empty-options>button:first-child{color:#242424;background:#fff}.agent-material-card.empty:hover .agent-material-empty-options,.agent-material-card.empty:focus-within .agent-material-empty-options{opacity:1;visibility:visible}.agent-material-card.ready .agent-material-empty-options{display:none}.agent-material-tools{color:#eee;opacity:0;background:#0007;border-radius:4px;align-items:center;gap:7px;padding:4px;transition:opacity .12s;display:flex;position:absolute;top:7px;right:7px}.agent-material-tools button{place-items:center;display:grid}.agent-material-tools svg{width:16px;height:16px}.agent-material-card:hover .agent-material-tools,.agent-material-card:focus-within .agent-material-tools{opacity:1}.agent-material-caption{justify-content:space-between;align-items:center;gap:8px;min-height:25px;padding-top:7px;font-size:13px;display:flex}.agent-material-caption>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.agent-material-caption>button{white-space:nowrap;color:#e4a149;font-size:12px}.agent-material-caption>button.failed{color:#f58f8f}.agent-material-caption>button.agent-material-redo{color:#a8b69e;opacity:0}.agent-material-card:hover .agent-material-redo,.agent-material-card:focus-within .agent-material-redo{opacity:1}.agent-output-placeholder{color:#a5a6ab;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.agent-output-placeholder>svg{width:26px;height:26px}.agent-result-text{margin-top:16px;font-size:14px}.agent-media-grid{gap:18px;width:100%}.agent-media-grid.storyboards{row-gap:24px}.agent-final{width:min(100%,800px)}.agent-final-player{width:100%}.agent-final>button{margin-top:20px}.agent-auto-running{color:#b7d393;font-size:12px}.agent-thinking{flex-wrap:wrap;font-size:13px}.agent-paused-actions{margin:12px 0 0 56px}.agent-edit-item{background:#1c1d20;border-radius:8px;margin-bottom:18px;padding:14px}.agent-edit-item input{background:#292b2f;border:1px solid #414449;border-radius:5px;width:100%;min-height:36px;padding:8px;font-size:13px}.agent-edit-item label{margin-bottom:10px}.agent-dialog.agent-add-material-dialog{background:#353334;border:0;border-radius:12px;width:min(1020px,100vw - 80px);padding:18px 20px 14px}.agent-add-material-dialog>header{margin-bottom:16px}.add-material-form{min-height:0;overflow-y:auto}.add-material-layout{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:24px;display:grid}.add-material-upload{background:#494749;border:1px dashed #888587;border-radius:8px;min-height:356px;position:relative;overflow:hidden}.add-material-upload.dragging{background:#4b5345;border-color:#c6fc78}.add-material-upload-trigger{color:#f4f3f3;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:100%;height:100%;display:flex;position:absolute;inset:0}.add-material-upload-trigger>svg{width:26px;height:26px}.add-material-upload-trigger>strong{font-size:14px;font-weight:600}.add-material-upload.has-image{background:#272628;border-style:solid;border-color:#575456}.add-material-upload>img{object-fit:contain;width:100%;height:100%;position:absolute}.add-material-image-actions{gap:7px;display:flex;position:absolute;top:10px;right:10px}.add-material-image-actions button{color:#fff;background:#19191ac9;border-radius:5px;align-items:center;gap:5px;padding:8px;font-size:12px;display:flex}.add-material-image-actions button>svg{width:15px;height:15px}.add-material-fields{flex-direction:column;gap:13px;display:flex}.add-material-fields>label{color:#e4e1e2;flex-direction:column;gap:8px;font-size:12px;line-height:18px;display:flex}.add-material-field{background:#27262b;border-radius:6px;position:relative}.add-material-fields input,.add-material-fields textarea,.add-material-fields select{color:#efedef;background:#27262b;border:1px solid #0000;border-radius:6px;width:100%;padding:10px;font-size:12px;line-height:18px;display:block}.add-material-fields input{height:38px;padding-right:48px}.add-material-fields input::placeholder{color:#929094}.add-material-fields select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;height:38px;padding-right:10px}.add-material-fields textarea{resize:none;height:56px;padding-bottom:21px}.add-material-description textarea{height:94px}.add-material-count{pointer-events:none;color:#969297;font-size:10px;line-height:16px;position:absolute;bottom:5px;right:8px}.add-material-field:has(input) .add-material-count{top:11px;bottom:auto}.add-material-form>footer{align-items:center;min-height:59px;padding-top:18px}.add-material-form>footer>.agent-form-error{margin:0 auto 0 0;font-size:12px}.add-material-create{color:#192219;background:linear-gradient(100deg,#d4ff5f,#7af8b1);border-radius:8px;justify-content:center;align-items:center;gap:7px;width:128px;height:40px;margin-left:auto;font-size:14px;display:flex}.add-material-create>svg{width:16px;height:16px}.agent-duration-edit{width:160px}.agent-duration-total{margin:12px 0 0!important}.agent-form-error{font-size:13px;line-height:1.7;color:#eea0a0!important}@media (width<=1300px){.agent-flow-header{gap:12px;padding-left:24px;padding-right:24px}.agent-flow-header nav{gap:12px}.agent-flow-header nav>button{gap:5px;font-size:11px}.agent-balance{padding:9px 10px;font-size:11px}.agent-combined-plan{gap:12px}.agent-combined-plan header{padding:12px}.agent-combined-plan h3{font-size:13px}.agent-combined-plan header .agent-link{font-size:12px}.agent-combined-plan .agent-plan-scroll{padding-left:12px;padding-right:12px}.agent-settings{width:76%}}@media (prefers-reduced-motion:reduce){.agent-material-tools,.agent-material-empty-options,.agent-switch i{transition:none}}.popover.anchored-popover{z-index:120;overscroll-behavior:contain;scrollbar-width:thin;max-width:calc(100vw - 32px);min-height:0;animation:.12s anchored-popover-in;position:fixed;bottom:auto;overflow-y:auto}@keyframes anchored-popover-in{0%{opacity:0}to{opacity:1}}.anchored-popover .style-card.selected>img{outline-offset:2px;outline:2px solid #b9ee81}.anchored-popover .style-card.selected>span{color:#c3ef99}.anchored-popover .ratio-choices button{flex:1;min-width:0}.anchored-popover button:focus-visible{outline-offset:2px;outline:2px solid #b9ee81}.agent-setting-trigger{text-align:left;background:#2b2c31;border-radius:8px;align-items:center;gap:6px;min-width:0;padding:13px 12px;font-size:13px;display:flex}.agent-setting-trigger>span{color:#b8b8bf;white-space:nowrap}.agent-setting-trigger>strong{white-space:nowrap;text-overflow:ellipsis;color:#e0e0e4;margin-left:auto;font-size:13px;font-weight:400;overflow:hidden}.agent-setting-trigger>svg{color:#c3c3c9;flex-shrink:0;width:14px;height:14px}.agent-setting-trigger:hover:not(:disabled),.agent-setting-trigger[aria-expanded=true]{background:#36383c}.agent-setting-trigger:disabled{opacity:1;cursor:default}.agent-setting-trigger:focus-visible{outline-offset:2px;outline:2px solid #b9ee81}.agent-flow-header nav>button>span>svg{width:15px;height:15px}.agent-dialog.agent-cost-dialog,.agent-dialog.agent-preview{background:#353334;border:0;border-radius:16px}.agent-cost-dialog>header button,.agent-preview>header button{color:#f1f1f1;background:#4a4849;border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.agent-cost-dialog>header button:hover,.agent-preview>header button:hover{background:#616061}.agent-cost-dialog>header button>svg,.agent-preview>header button>svg{width:18px;height:18px}.agent-dialog.agent-cost-dialog{width:min(850px,100vw - 80px);padding:22px 24px 26px}.agent-cost-dialog>header{margin-bottom:18px;padding:0 8px}.agent-cost-dialog h2{font-size:22px}.agent-quote-scroll{scrollbar-width:thin;border:1px solid #515052;border-radius:8px;min-height:0;overflow:auto}.agent-quote-table{border-collapse:collapse;text-align:left;table-layout:fixed;color:#b4b2b6;width:100%;font-size:16px}.agent-quote-table .quote-name-col{width:44%}.agent-quote-table th{background:#292929;padding:18px 20px;font-weight:400}.agent-quote-table th:first-child,.agent-quote-table td:first-child{padding-left:30px}.agent-quote-table td{padding:19px 20px}.agent-quote-table tbody tr:nth-child(odd),.agent-quote-table tfoot{background:#202020}.agent-quote-table tbody tr:nth-child(2n){background:#292929}.agent-quote-name{color:#d2d0d3;white-space:nowrap;align-items:center;gap:14px;display:flex}.agent-quote-icon{place-items:center;width:34px;font-size:27px;display:inline-grid}.agent-quote-name em{color:#d7a5ef;background:#352b3a;border-radius:20px;padding:2px 10px;font-size:13px;font-style:normal}.agent-quote-price{align-items:center;gap:14px;display:flex}.agent-quote-info{cursor:help;display:inline-flex;position:relative}.agent-quote-info>svg{width:18px;height:18px}.agent-quote-info>span{color:#eee;background:#494749;border-radius:6px;width:215px;padding:10px 12px;font-size:12px;display:none;position:absolute;bottom:calc(100% + 10px);right:-10px;box-shadow:0 8px 20px #0006}.agent-quote-info:hover>span,.agent-quote-info:focus>span{display:block}.agent-quote-table tfoot td{padding-top:24px;padding-bottom:24px}.agent-quote-total{color:#fff;white-space:nowrap;justify-content:flex-end;align-items:center;gap:14px;display:flex}.agent-quote-total svg{color:#ffcd72;flex-shrink:0;width:23px;height:23px}.agent-quote-total strong{font-weight:400}.agent-quote-note{color:#9f9c9f;background:#292929;margin:0;padding:17px 28px;font-size:13px;line-height:1.6}.agent-dialog.agent-preview{width:min(1080px,100vw - 80px);max-width:none;padding:18px 24px 24px}.agent-preview>header{margin-bottom:16px}.agent-preview h2{font-size:14px}.agent-preview>header button{width:22px;height:22px}.agent-preview>header button>svg{width:14px;height:14px}.agent-preview-layout{grid-template-columns:minmax(0,3fr) minmax(240px,1fr);gap:20px;min-height:0;display:grid}.agent-preview-media{aspect-ratio:16/9;color:#bcbabc;background:#161616;border-radius:4px;place-items:center;min-height:0;max-height:calc(85vh - 80px);display:grid;position:relative;overflow:hidden}.agent-preview-media>img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.agent-preview-details{flex-direction:column;gap:14px;min-height:0;display:flex}.agent-preview-copy{scrollbar-width:thin;flex:1;min-height:0;overflow-y:auto}.agent-preview-copy h3{color:#d1f593;margin:0 0 6px;font-size:13px;font-weight:500;line-height:1.6}.agent-preview-copy p{color:#e3dfe3;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.85}.agent-preview-bottom{flex-shrink:0}.agent-preview-hint,.agent-preview-failure{color:#aca7ac;margin:0 0 12px;font-size:11px;line-height:1.6}.agent-preview-failure{color:#edb79a}.agent-preview-actions{gap:10px;display:flex}.agent-preview-actions>button{color:#191919;white-space:nowrap;border-radius:24px;flex:1;justify-content:center;align-items:center;gap:5px;min-height:40px;padding:10px 8px;font-size:13px;display:flex}.agent-preview-adjust{background:#fff}.agent-preview-adjust:disabled{cursor:default;opacity:.8}.agent-preview-regenerate{background:linear-gradient(110deg,#d0fb79,#7ef5b0)}.agent-preview-regenerate:hover:not(:disabled){filter:brightness(1.08)}.agent-preview-regenerate:disabled{opacity:.5;cursor:default}.agent-preview-regenerate svg{width:14px;height:14px}.agent-preview-generating{z-index:2;color:#d3edb9;background:#171b17dc;justify-content:center;align-items:center;gap:9px;padding:14px;font-size:12px;display:flex;position:absolute;inset:auto 0 0}.agent-preview-generating>svg{width:16px;height:16px}.agent-preview-video{position:absolute;inset:0}.agent-preview-video video{object-fit:contain;cursor:pointer;width:100%;height:100%}.agent-preview-play{color:#fff;background:#000c;border-radius:50%;place-items:center;width:72px;height:72px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.agent-preview-play>svg{width:32px;height:32px;margin-left:4px}.agent-preview-playback{opacity:0;color:#fff;background:#000b;border-radius:6px;align-items:center;gap:8px;width:fit-content;padding:5px 9px;font-size:11px;transition:opacity .15s;display:flex;position:absolute;bottom:16px;left:12px;right:12px}.agent-preview-video:hover .agent-preview-playback,.agent-preview-video:focus-within .agent-preview-playback{opacity:1}.agent-preview-playback button{place-items:center;display:grid}.agent-preview-playback svg{width:17px;height:17px}.agent-preview-progress{appearance:none;background:linear-gradient(90deg, #bdf47a 0%, #80f7b7 var(--played), #060606 var(--played), #060606 100%);cursor:pointer;border-radius:9px;width:100%;height:7px;margin:0;position:absolute;bottom:0;left:0}.agent-preview-progress::-webkit-slider-thumb{appearance:none;opacity:0;background:#bdf47a;border-radius:50%;width:10px;height:10px}.agent-preview-progress::-moz-range-thumb{background:#bdf47a;border:0;border-radius:50%;width:10px;height:10px}.agent-preview-progress:hover::-webkit-slider-thumb{opacity:1}.agent-preview-progress:focus-visible::-webkit-slider-thumb{opacity:1}.agent-preview-error{background:#111b;place-items:center;font-size:13px;display:grid;position:absolute;inset:0}@media (prefers-reduced-motion:reduce){.popover.anchored-popover{animation:none}}.agent-script-inline-editor{color:#e1e1e3;width:100%;min-height:150px;font:inherit;resize:vertical;background:#202226;border:1px solid #92b36c;border-radius:5px;padding:8px 10px;font-size:13px;line-height:1.8;display:block}.agent-script-inline-editor:focus{outline:1px solid #b8e289}.agent-inline-error{margin:8px 0;font-size:12px;line-height:1.6;color:#f0ad99!important}.agent-preview-nav{z-index:3;color:#fff;background:#181818b8;border:1px solid #ffffff30;border-radius:50%;place-items:center;width:36px;height:36px;display:grid;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 2px 8px #0003}.agent-preview-nav.previous{left:12px}.agent-preview-nav.next{right:12px}.agent-preview-nav:hover:not(:disabled){background:#323232ed}.agent-preview-nav:disabled{opacity:.3;cursor:default}.agent-preview-nav svg{width:22px;height:22px}.agent-preview-index{color:#eee;pointer-events:none;background:#161616a3;border-radius:18px;padding:4px 10px;font-size:11px;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.agent-preview-empty{color:#aaa7ab;flex-direction:column;align-items:center;gap:12px;font-size:13px;display:flex}.agent-preview-empty>svg{width:44px;height:44px}.agent-preview-copy{flex-direction:column;align-items:stretch;display:flex}.agent-preview-copy .agent-preview-title{color:#d1f593;width:100%;margin:0 0 8px;padding:3px 5px;font-size:13px;line-height:1.6;display:block}.agent-preview-edit-text{text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #0000;border-radius:4px}.agent-preview-edit-text:not(:disabled):hover{background:#ffffff05;border-color:#777474}.agent-preview-edit-text:disabled{opacity:1;cursor:text}.agent-preview-description{color:#e3dfe3;width:100%;padding:6px 5px;font-size:12px;line-height:1.85}.agent-preview-title-editor,.agent-preview-description-editor{color:#eee;background:#282729;border:1px solid #9fbd7c;border-radius:4px;outline:none;width:100%;margin:0 0 8px;padding:6px;font-family:inherit;font-size:12px;line-height:1.85}.agent-preview-title-editor{color:#d1f593;font-size:13px}.agent-preview-description-editor{resize:none;flex:1;min-height:100px;margin-bottom:0}.agent-preview-text-header{flex-shrink:0;align-items:flex-start;gap:8px;margin-bottom:5px;display:flex}.agent-preview-text-header>h3,.agent-preview-text-header>.agent-preview-title,.agent-preview-text-header>.agent-preview-title-editor{flex:1;width:auto;min-width:0;margin:0;padding:3px 5px}.agent-preview-text-header>h3{overflow-wrap:anywhere}.agent-preview-text-tools{flex-shrink:0;gap:3px;display:flex}.agent-preview-text-tools>button{color:#c7c4ca;border-radius:4px;place-items:center;width:26px;height:27px;display:grid}.agent-preview-text-tools>button:hover:not(:disabled){color:#fff;background:#ffffff12}.agent-preview-text-tools>button[aria-pressed=true]{color:#d1f593;background:#b4df7c16}.agent-preview-text-tools>button:disabled{opacity:.35;cursor:default}.agent-preview-text-tools svg{width:14px;height:14px}.agent-preview-adjust-input{background:#19191f;border:1px dotted #c1e68d;border-radius:8px;height:142px;position:relative}.agent-preview-adjust-input textarea{resize:none;color:#e8e5eb;width:100%;height:100%;font:inherit;background:0 0;border:0;border-radius:8px;outline:none;padding:12px 26px 45px 12px;font-size:12px;line-height:1.7}.agent-preview-adjust-input textarea::placeholder{color:#8e8a93}.agent-preview-adjust-close{color:#fff;background:#080809;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:-8px;right:-7px}.agent-preview-adjust-close svg{width:12px;height:12px}.agent-preview-adjust-send{color:#33313b;background:#fff;border-radius:7px;place-items:center;width:33px;height:30px;display:grid;position:absolute;bottom:7px;right:7px}.agent-preview-adjust-send svg{width:19px;height:19px}.agent-preview-adjust-send:disabled{opacity:.35;cursor:default}.agent-media-tools.repairing{opacity:1;pointer-events:auto}.agent-media-tools button:disabled{cursor:wait;opacity:1}.routing-conversation{flex-direction:column;height:100%;min-height:0;display:flex}.routing-transcript{scrollbar-width:thin;flex:1;padding:42px 0;overflow-y:auto}.routing-message{align-items:flex-start;gap:17px;width:min(100% - 104px,1040px);margin:0 auto;display:flex}.routing-message>.agent-avatar{flex-shrink:0}.routing-message>div{min-width:0;padding-top:5px}.routing-progress,.routing-failure{color:#d6d7d9;align-items:center;gap:10px;min-height:30px;margin:0;font-size:14px;line-height:1.8;display:flex}.routing-progress>svg,.routing-failure>svg{color:#c5ee9c;flex-shrink:0;width:17px;height:17px}.routing-failure,.routing-failure>svg{color:#ecc1a8}.routing-actions{gap:10px;margin-top:20px;display:flex}.routing-actions button{align-items:center;gap:7px;display:inline-flex}.routing-actions svg{width:15px;height:15px}.video-route-explanation{color:#c4c8c1;margin:0 0 15px 57px;font-size:13px;line-height:1.8}.agent-video-history .video-messages{width:100%;padding-bottom:20px}.agent-video-history .video-result-player{max-width:650px}.routing-user-message{width:min(100% - 104px,1040px);margin:0 auto 28px}.agent-creation-message{margin-bottom:28px}.video-user-bubble>span{color:#b6b6b8;margin-top:8px;font-size:12px;line-height:1.8}
