.modal.portrait-modal{width:min(820px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden;background:var(--surface,#1c1c1e);color:var(--text,#f5f5f7)}.portrait-head{display:flex;align-items:center;justify-content:space-between;padding:24px 26px 18px;border-bottom:1px solid var(--border,#38383a)}.portrait-head h2{margin:0;font-size:23px}.portrait-head p{margin:5px 0 0;color:var(--muted,#aaaab0);font-size:13px}.portrait-body{max-height:calc(100dvh - 230px);overflow:auto;overscroll-behavior:contain;padding:22px 26px}.portrait-toolbar{display:flex;gap:10px;align-items:center}.portrait-modal .portrait-search{display:flex;flex-direction:row;align-items:center;gap:8px;flex:1;min-width:0}.portrait-search input{min-width:0;width:100%}.portrait-capacity{display:flex;align-items:center;gap:12px;margin:18px 0 24px;font-size:12px;color:var(--muted,#aaaab0);font-variant-numeric:tabular-nums}.portrait-capacity progress{flex:1;min-width:35px;height:4px;accent-color:var(--accent,#0a84ff)}.portrait-capacity progress::-webkit-progress-bar{background:#38383a;border-radius:4px}.portrait-capacity progress::-webkit-progress-value{background:#0a84ff;border-radius:4px}.portrait-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}.portrait-item{min-width:0}.portrait-photo{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:12px;background:#111113}.portrait-photo img{width:100%;height:100%;object-fit:cover}.portrait-status{position:absolute;left:8px;bottom:8px;right:8px;display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 8px;border-radius:8px;background:#141418e0;color:#f5f5f7;font-size:11px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.portrait-status.ready{color:#b8dfff}.portrait-caption{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:7px 0}.portrait-caption strong{overflow-wrap:anywhere;font-size:14px}.portrait-use{width:100%;justify-content:center}.portrait-item-error{font-size:12px;color:#ffca9d;overflow-wrap:anywhere}.portrait-empty{padding:36px 10px;text-align:center}.portrait-empty p{color:var(--muted,#aaaab0);max-width:44ch;margin:10px auto;line-height:1.5}.portrait-empty svg{color:#8f969f}.portrait-foot{border-top:1px solid var(--border,#38383a);padding:16px 26px;color:var(--muted,#aaaab0);font-size:12px;line-height:1.5}.portrait-add,.portrait-delete{padding:20px 0 24px;margin-bottom:24px;border-bottom:1px solid var(--border,#38383a)}.portrait-add h3,.portrait-delete h3{margin:0 0 10px}.portrait-add>label{display:flex;flex-direction:column;gap:8px;margin-top:16px}.portrait-add>label.portrait-rights{flex-direction:row;align-items:flex-start;line-height:1.5;font-size:13px}.portrait-rights input{width:18px;height:18px;flex-shrink:0;margin-top:2px;accent-color:#0a84ff}.portrait-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;flex-wrap:wrap}.portrait-sources{display:flex;gap:10px;overflow:auto;padding:10px 2px}.portrait-sources button{flex:0 0 100px;min-width:0;display:flex;flex-direction:column;position:relative;padding:5px}.portrait-sources img{width:88px;height:100px;object-fit:cover;border-radius:8px}.portrait-sources span{width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.portrait-sources .chosen{border-color:#64aaff;background:#183856}.portrait-sources svg{position:absolute;right:9px;top:9px;color:#fff;background:#0069cf;border-radius:50%}.portrait-error,.portrait-delete{color:#ffca9d;line-height:1.5}.portrait-error{font-size:13px}.portrait-danger{color:#ffc0b9!important;background:#4a2427!important}.portrait-loading{display:flex;align-items:center;justify-content:center;gap:8px;padding:24px}.portrait-entry{width:100%;justify-content:center;margin:8px 0 14px;min-height:36px}.portrait-modal button{transition:background-color .15s ease,color .15s ease}.portrait-modal button:focus-visible,.portrait-modal input:focus-visible{outline:2px solid #64aaff;outline-offset:2px}@media(max-width:560px){.portrait-head,.portrait-body{padding:18px}.portrait-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.portrait-foot{padding:14px 18px}.portrait-toolbar{gap:6px}.portrait-toolbar>.primary{padding:10px}.portrait-capacity{gap:7px;font-size:11px}.portrait-head h2{font-size:21px}}@media(prefers-reduced-motion:reduce){.portrait-modal *{scroll-behavior:auto!important;transition:none!important}}@media(max-width:560px){.portrait-toolbar{flex-wrap:wrap}.portrait-modal .portrait-search{flex-basis:100%}.portrait-toolbar>.primary{margin-left:auto}}.portrait-modal .portrait-add{display:block;padding:12px 0 18px;margin:0 0 18px}.portrait-modal .portrait-add h3{font-size:17px;margin:0 0 6px}.portrait-modal .portrait-add-hint{margin:0 0 14px;line-height:1.5}.portrait-modal .portrait-capacity{margin:14px 0 18px}.portrait-upload-invite{display:flex;width:100%;align-items:center;gap:12px;padding:14px 16px;margin:0 0 20px;text-align:left;border:1px dashed var(--border-interactive);background:var(--input)}.portrait-upload-invite>span{flex:1;min-width:0}.portrait-upload-invite strong,.portrait-upload-invite small{display:block}.portrait-upload-invite small{margin-top:4px;color:var(--muted);font-size:12px}.portrait-upload-layout{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;align-items:start}.portrait-modal .portrait-file-picker{display:flex;position:relative;flex-direction:column;gap:12px;justify-content:center;align-items:center;min-height:140px;padding:12px 6px;overflow:hidden;background:var(--input);border:1px dashed var(--border-interactive);font-size:12px}.portrait-modal .portrait-file-picker.has-preview{padding:0;border-style:solid}.portrait-file-picker img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.portrait-file-picker.has-preview span{position:absolute;bottom:0;left:0;right:0;padding:6px;background:#000b;color:var(--text)}.portrait-file-fields{min-width:0}.portrait-modal .portrait-file-fields label{display:flex;flex-direction:column;gap:6px;margin:0;font-size:13px}.portrait-file-fields input{width:100%;min-width:0}.portrait-modal .portrait-file-fields p{margin:8px 0 0;line-height:1.5;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.portrait-modal .portrait-clear{margin-top:6px;min-height:32px;padding:4px 0;border:0;background:none;font-size:12px;color:var(--muted)}.portrait-existing{margin-top:12px}.portrait-existing>p{margin:0;font-size:12px;color:var(--muted)}.portrait-modal .portrait-sources{padding:8px 2px;gap:8px}.portrait-modal .portrait-sources button{flex-basis:76px;padding:4px;gap:4px}.portrait-modal .portrait-sources img{width:66px;height:64px}.portrait-modal .portrait-sources span{width:66px;font-size:10px}.portrait-add-bottom{display:flex;align-items:center;gap:16px;margin-top:16px}.portrait-modal .portrait-add-bottom .portrait-rights{display:flex;align-items:center;flex:1;gap:8px;margin:0;font-size:12px;line-height:1.5;min-height:44px}.portrait-rights input{margin:0}.portrait-add-bottom .portrait-actions{flex-shrink:0;margin:0;gap:8px}.portrait-add-bottom .portrait-actions button{min-height:44px;white-space:nowrap;padding:10px 12px;font-size:12px}.portrait-notice{display:flex;align-items:start;gap:8px;color:var(--accent);font-size:13px;line-height:1.5}.portrait-notice svg{flex-shrink:0;margin-top:2px}.portrait-drop-overlay{position:absolute;top:8px;right:8px;bottom:8px;left:8px;z-index:5;border-radius:18px;border:2px dashed var(--accent);background:var(--surface);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;pointer-events:none;color:var(--accent)}@media(max-width:680px){.portrait-add-bottom{flex-wrap:wrap;gap:10px}.portrait-modal .portrait-add-bottom .portrait-rights{flex-basis:100%}.portrait-add-bottom .portrait-actions{margin-left:auto}.portrait-upload-layout{grid-template-columns:90px minmax(0,1fr);gap:12px}.portrait-modal .portrait-file-picker{min-height:128px}.portrait-upload-invite{padding:12px;gap:8px}.portrait-upload-invite small{font-size:11px}}@media(pointer:coarse){.portrait-modal .portrait-clear{min-height:44px}}.portrait-type-row{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:10px}.portrait-modal .portrait-type-row h3{margin:0}.portrait-type-row .segmented button{min-height:40px;font-size:12px;padding:8px 12px}.portrait-verification{display:flex;gap:20px;align-items:flex-start;padding:8px 0 14px}.portrait-qr{flex:0 0 164px;min-height:164px;background:#fff;border-radius:12px;overflow:hidden}.portrait-qr img{display:block;width:164px;height:164px}.portrait-verification-copy{min-width:0;flex:1}.portrait-modal .portrait-verification p{font-size:13px;line-height:1.6;margin:8px 0 12px}.portrait-verification small{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin-top:10px}.portrait-verify-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.portrait-verify-actions button{min-height:44px;font-size:12px}.portrait-verify-actions a{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-size:12px;min-height:44px}.portrait-verify-status{font-size:12px;line-height:1.5;color:var(--muted);margin-top:8px}.portrait-modal .portrait-check{font-size:12px;margin-top:8px;min-height:38px}.portrait-resume{display:flex;align-items:center;text-align:left;width:100%;gap:10px;margin:8px 0 12px;padding:10px 12px;font-size:12px}.portrait-resume span{flex:1;min-width:0}.portrait-resume strong,.portrait-resume small{display:block;overflow-wrap:anywhere}.portrait-resume small{color:var(--muted);margin-top:3px}@media(max-width:560px){.portrait-type-row{flex-wrap:wrap}.portrait-type-row .segmented{width:100%}.portrait-type-row .segmented button{flex:1}.portrait-verification{flex-direction:column;gap:14px}.portrait-qr{align-self:center}.portrait-verification-copy{width:100%}}.portrait-modal .portrait-add-bottom label.portrait-rights{flex-direction:row;align-items:center}.portrait-modal .portrait-target{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:13px}.portrait-target .studio-select-trigger{width:100%}.portrait-file-picker video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;pointer-events:none;background:var(--input)}.portrait-file-picker .portrait-media-mark{position:absolute;top:8px;left:8px;filter:drop-shadow(0 1px 2px #000);color:#fff}.portrait-photo video{display:block;width:100%;height:100%;object-fit:contain;background:var(--input)}.portrait-photo:has(video){aspect-ratio:4/5}.portrait-photo:has(video) .portrait-status{top:8px;bottom:auto;pointer-events:none}.portrait-file-type{position:absolute;left:8px;bottom:48px;display:flex;align-items:center;gap:5px;padding:4px 7px;border-radius:6px;background:#18181bcc;color:var(--text);font-size:11px;pointer-events:none}.portrait-group-label{margin:0 0 8px;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.portrait-modal .portrait-sources .portrait-source-video{left:8px;right:auto;top:8px;background:#18181bcc;border-radius:3px;padding:2px;width:18px;height:18px}.reference-row .reference-library{flex-shrink:0;min-height:32px;padding:5px 7px;font-size:10px;white-space:nowrap}@media(pointer:coarse){.reference-row .reference-library{min-height:44px}}.portrait-modal .portrait-body{padding-top:16px;padding-bottom:16px}.portrait-modal .portrait-type-row{margin-bottom:6px}.portrait-modal .portrait-add{padding-top:6px}.portrait-verification-person{display:flex;align-items:center;gap:12px;margin:12px 0 18px;padding:12px;border:1px solid var(--border-interactive);border-radius:12px;background:var(--input)}.portrait-verification-person>img{width:44px;height:52px;object-fit:cover;border-radius:7px;flex-shrink:0}.portrait-verification-person>div{min-width:0}.portrait-verification-person strong{display:block;font-size:14px;overflow-wrap:anywhere}.portrait-verification-person span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.portrait-qr>span{display:flex;align-items:center;justify-content:center;min-height:164px;padding:12px;text-align:center;color:var(--input);font-size:12px}.portrait-verification-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.portrait-verification-controls button{min-height:44px;font-size:12px}.portrait-modal .portrait-check-link{background:transparent;border-color:transparent;color:var(--muted)}.portrait-modal .portrait-check-link:hover{background:#ffffff08;color:var(--text)}.portrait-verification-saved{display:flex;align-items:flex-start;gap:8px;margin:8px 0 16px;padding:12px;border-radius:10px;background:#0a84ff0b;color:var(--muted);font-size:12px;line-height:1.5}.portrait-verification-saved svg{flex-shrink:0;margin-top:2px;color:var(--accent)}.portrait-verification-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.portrait-verification-bottom>div{display:flex;gap:8px;flex-wrap:wrap}.portrait-verification-bottom button{min-height:44px;font-size:12px}.portrait-modal .portrait-verification-error{color:#ffca9d;font-size:12px;overflow-wrap:anywhere}.portrait-checks-heading{display:flex;gap:8px;align-items:center;margin:0 0 10px}.portrait-checks-heading h3{margin:0;font-size:14px}.portrait-checks-heading>span{font-size:11px;color:var(--muted);padding:2px 6px;background:var(--input);border-radius:6px}.portrait-verification-list{margin:0 0 24px}.portrait-modal .portrait-resume{gap:10px;margin:8px 0;padding:8px;border:1px solid var(--border-interactive);border-radius:12px;background:#ffffff03}.portrait-modal .portrait-resume-main{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:44px;padding:4px;text-align:left;border:0;background:transparent}.portrait-resume-main>img{width:36px;height:42px;object-fit:cover;border-radius:6px;flex-shrink:0}.portrait-resume-main>svg{flex-shrink:0}.portrait-resume-main>span{min-width:0}.portrait-resume-main strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px}.portrait-resume-main small{font-size:11px;line-height:1.4}.portrait-resume-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.portrait-resume-actions button{min-height:44px;font-size:12px;padding:8px 10px}.portrait-resume-actions .icon-button{width:44px;padding:10px}.portrait-hidden-notice{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 12px;background:#0a84ff0b;border-radius:10px;margin:0 0 14px;font-size:12px;line-height:1.5;color:var(--muted)}.portrait-hidden-notice button{min-height:36px;padding:6px 10px;color:var(--accent)}@media(max-width:560px){.portrait-verification-bottom>div{flex:1;justify-content:flex-end}.portrait-verification-bottom{gap:8px}.portrait-verification-bottom button{padding:8px 10px}.portrait-resume{flex-wrap:wrap}.portrait-resume-actions{margin-left:auto}.portrait-resume-main{flex-basis:100%}.portrait-verification-person{margin-bottom:14px}.portrait-verification .portrait-qr{align-self:flex-start}}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf5HiWQacJpGdAgdrbV6g/Rf1BfxRqZVQnrxRVWSJb6RLFnyu0elilmjeoSQCKnxsmwLaddUMjnksriSYuuPl06EAl7KfAiWQjCUETz0zNZ3EII94CDQtzkMfZ/9IkkY8tZRZTDky5ZVwBAM+GYpdd4ZVAWYImnLkiTg48l79gGx3D+VBtLeyg8u7bJAd4uo0pFuQBFysE9C95l0W4Fkiao6GfrDbu77lVU7wk9cV3uqOsXmQiMkhVKl1ugjzUAJBSIkkVWHijkpkVSyUFsgVBuJMA0N+ZnXtyUv5yMigGdfQRmwL1AAjQ3YXG6iIFNSUdPQo8+AISPGAltBMDQRAtyf4ZspLlZkpyOVoMZPvFGWzvk8p5SUC/NWPMj6T2/Yas2EdlON5GkfdkeFwVGjta825H89NIenlLWAPAp5h1KDtRhCaAQWMsFKtEvOKpIhgLHlXPARokkgEGEOAkqxJRQpKYq4ezahIiLHP6hZpqMbV0pUF2vdvEimLEQ/iIUYLgYWs0VXGVlLTOPdaPmFfCC/XrtzqVo1ez7vz6+Kd2+7o11ZJ+4MreLbB5BKVGxobAq4jZYalZ5aX2CKJiwUuc9GNJyi4M8bGyKcdjSRrG4JohdF8buJfmQefbYYREnMFsOoiNliFDVxmRgL0XUmUMLqzW0A4gCQAhWGYCQpFNukwXhIkPMsbRI19ewtw8Cp2Wj/Ro5cM2OTAbJAvZ/L4opBXb9+UHscYuOKM/W8isgwN26Exexjizmfnlp9dE3hOSqdZ/F5QqbckIlPb+oKfXxd6hftJ7Sm/uyPYpONza84CRlMNk/uhOrLpyf53982++zRkXNu3g3VF8qFbx1+7fbHZ9DrB3VXWNSmhnT2vrwS1+1Z+kHGBaZIhnnvuLBTNDeA340D1DWu5/jEa9pVfl6+Jij+yo3EELNixXCLjr173Q5eDP7Y7/L4iQFHbjpaJLFoP4cCsYP6sAPL7gMHNg53yYjqxqTDrYqLDl5DzW/eTLjYxCvucprjI3yl2ykKowKUC2Ox2FJLFo6Fa1HBWLC2jMCIIBEmklkYhmkpmBhTm/LCvJAH5oGcMKcgFEP1xUdho8ANPa6RFD99/PN60fjj9eXy2Eex4B5MpmRapXidzFk1p4uLk3+hn6jAP9ovJcXPPwk8o/0ltizbdbnTprvx4PSxT0VZ3Xc772aN7RflgbXRYwc3hLNO+k878nxGwfuVM8m8Gs7WEoVGWLHwSpx4vNSHBCMNqJ4m15Kp/TfHHVkQd++eY7PGN4W5byTs+6Ft8Ozvb/D60btv37de8ER0mS3P/0sLW84qGjEVkwztPzz06eGUWwKLwPb0D/WFd3vltl2aP276KpM0JNz6AfnAnZ5ADlF2zVyZ2OkxHSMxWPMnSZLbbDR3F1UjPVqp4d68da13F1YZujdWw7271iecO2l9+/4p47Oztjck355/75wFOI+VdGDqbNGs+ISgxg3iB2jb2r+b0CWsNLHIM4sdv8SDSFBP/Oromz6FNCWw2iMTxV0R8QLyBTkpe0j5+pSSJOOTB5Mck/gh3IopuNQnhKj02t3FL80gGbEh89SZcwTxcYt5cZT/nMnB3uXfPy8BSpVMBuRx+ZhACGzDBmwHsJRAjhotOnzuj2wDz3ug2wOUAY2NgZln9/TK/enG/oE4rO1wxvGUFMAxsZ0qNjRC7hl9d17e7imbgDt6uJXhUobDg7v3RX/yRCKxgMhfyiKcZfbpk0wmCcdQlIAOHeakXLvCNt++WfKiozNqSZxxJotn+c0a7DdPsx7DPYgKIDxwwYUZDg9aJbxocTjcwovr9WAsVV32mQoiiIOCHc60Oltst9qCQYuCqN1yHo0Kj60OgI2OqmiuBUWrNA0NDhYCDcdpmMrs1fZZ0xdTzMr1HdPtIHstYhqaPDDA5YxUDx7J4fJiisBSDI/L6G/bn34GNy8Q2g044ZTulAdFLb0tI6NNxfj3DzLjWiNGxje1pz7aXOcNV68lDPEd2SXl6VfBuwmHzdf1gxFy1HvA7pD8I2BnnmyGw852Cg5XbgIdEEGE5UCzen5jTlG6JCU5iajlxVcsXvbcS0SAcg1dcesWJLVK8+hYHOYQ+Pjy+EyVGXP0aPTFagrV9E03hCQvYx+g47KGq+1GsLj8uBIyihNw33YUe8PNC4BOJ3Lm1AglLV3nCuvUdIP+v15tVGbWIwgxLVpPkfpthCGpTKG+oA/DQfsKKvxhScqaN6FuElAUtTKv2UYgOmQegsN/n7njHUju8wM4VTcm+Q8xfX9SFwjTzdVqu95UOWSIGOabH8OGBEba//8Yxl3GcPdP/dMBOoSX/0z5SZmBoLbaPs+9asaMpb36yknKaw6FqWZa6A5vDa02mhkOba1q6KtLV208xrkwmW5C4VD6n2fvRjADy2qDYYnNy+H10Fq0LMbNzS863gkO7iQ8eC48/Ny5m59tOcEso3u7Qg3yrqDL6eKXwJAuWnhylfbWrRObe66rzX59+XDtzusnL66dI/86ArmtLlzED860Ef3bFPV78OX/zFTA11fcBn2Vntb7qiGBSgLBHyuv/uEaqqoTgSpOyjlzh86me1Vriv7i9rLPLvtghWmSnblRbAsBJL/4dScSQTBxOivHMO5QvBBY0iheJvfwWLxLOGzYKZyM4zVc2Cll46zEpeUV4MqGEWZj22SdOxhGAjgs9AEnfT+RoiMfcDb0GS5NncKVxju4Nt/mRk13O9Gz3FLct5oCD6wkwUNrCfHIUg6SMf8LwQGyVaBUqpLPW5BaMpRshEpl8nS1qw5dgnzlik8QBXmdy5UrIH74heTKZKMSilQso4hsRiGraQZRzxpNGqlEJMsXuAU7GlcR8mWSykUpVkWGyIf0a8v4qEQp5CtGsMiZa+4ESYQy+WilCiguHzxMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-greek-wght-normal-DL7QRZyv.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/manrope-latin-wght-normal-DHIcAJRg.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color-scheme:dark;--background: #000;--canvas: #08080a;--input: #111113;--surface: #1c1c1e;--raised: #242426;--overlay: #2c2c2e;--separator: #3a3a3c;--text-primary: #f5f5f7;--text-secondary: #bcbcc2;--text-muted: #a1a1a6;--text-tertiary: #8e8e93;--blue: #0a84ff;--blue-rgb: 10 132 255;--blue-text: #64adff;--action: #0066cc;--action-hover: #006edb;--on-action: #fff;--dark: var(--background);--panel: var(--surface);--text: var(--text-primary);--muted: var(--text-muted);--accent: var(--blue-text);--line: #ffffff1f;--surface-raised: var(--raised);--surface-input: var(--input);--border-interactive: #ffffff33}:root{font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text-primary);background:var(--canvas);font-synthesis:none;--radius:12px;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--accent)}button{cursor:pointer;color:inherit;border:1px solid var(--line);background:var(--raised);border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px;font-size:14px;font-weight:600;transition:background .15s}button:hover{background:var(--overlay)}button:disabled{opacity:.42;cursor:not-allowed}a{color:inherit;text-decoration:none}input,select,textarea{background:var(--raised);color:var(--text-primary);border:1px solid var(--separator);border-radius:8px;padding:11px 12px;min-width:0;width:100%;font-size:14px}input:focus,select:focus,textarea:focus{outline:1px solid var(--text-tertiary);border-color:var(--text-tertiary)}input::placeholder,textarea::placeholder{color:var(--text-tertiary)}select{cursor:pointer}label{display:flex;flex-direction:column;gap:9px;font-size:14px;font-weight:600;color:var(--text-secondary)}form{display:flex;flex-direction:column;gap:20px}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:700;letter-spacing:-.04em}small,.small{font-size:12px;color:var(--muted);line-height:1.7}.small{margin:14px 0}.primary{background:var(--accent);border-color:var(--accent);color:var(--surface);padding:14px 16px;font-weight:800}.primary:hover{background:var(--text-primary)}.icon-button{border:0;background:transparent;padding:7px;flex-shrink:0}.tiny-button{border:0;background:transparent;padding:0;color:var(--text-secondary)}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand-mark{font-size:42px;font-weight:600;color:var(--accent);line-height:1;transform:translateY(-2px)}.brand>b{font-size:25px;letter-spacing:-1.2px;display:flex;align-items:center;gap:10px}.version{font-size:11px;letter-spacing:.02em;color:var(--text-muted);border:1px solid var(--separator);padding:4px 6px;border-radius:4px;font-weight:500}.loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px}.spin{animation:spin 1.5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:50px;padding:0 28px;position:sticky;top:0;background:#111111f7;z-index:20}.primary-tabs{display:flex;height:100%;gap:30px}.primary-tabs button{background:none;border:0;border-radius:0;padding:0 2px;color:var(--text-tertiary);position:relative;font-size:15px}.primary-tabs button.active{color:var(--text-primary)}.primary-tabs button.active:after{content:"";position:absolute;bottom:0;height:3px;background:var(--accent);left:0;right:0}.top-right{margin-left:auto;display:flex;align-items:center;gap:12px}.team-label{font-size:11px;letter-spacing:1.5px;color:var(--text-muted);display:flex;gap:8px;align-items:center;margin-right:14px}.online-dot{display:inline-block;width:5px;height:5px;background:var(--text-secondary);border-radius:50%}.admin-toggle{background:none;border:0;color:var(--text-secondary)}.admin-toggle.selected{color:var(--accent);background:var(--raised)}.avatar{width:32px;height:32px;background:var(--separator);border:1px solid var(--separator);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--text-primary)}.username{font-size:13px;max-width:100px;overflow:hidden;text-overflow:ellipsis}.studio{display:grid;grid-template-columns:360px minmax(0,1fr);min-height:calc(100vh - 80px)}.composer{border-right:1px solid var(--line);padding:27px 23px 24px;display:flex;flex-direction:column;gap:20px;background:var(--input);position:sticky;top:80px;max-height:calc(100vh - 80px);overflow-y:auto;scrollbar-width:thin}.composer-title{display:flex;justify-content:space-between;align-items:center;padding-bottom:4px}.composer-title h1{font-size:19px;letter-spacing:-.5px}.count-chip{border:1px solid var(--separator);color:var(--text-tertiary);border-radius:4px;font-size:10px;padding:3px 5px}.model-project{display:grid;grid-template-columns:1.2fr 1fr;gap:10px}.model-project label{font-size:12px;color:var(--text-muted);gap:8px}.label-row{display:flex;justify-content:space-between}.select-wrap{position:relative}.select-wrap select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:23px;text-overflow:ellipsis;font-size:13px;height:46px}.select-wrap svg{position:absolute;right:8px;top:15px;pointer-events:none;color:var(--text-tertiary)}.section-label{display:flex;justify-content:space-between;font-size:13px;color:var(--text-secondary);margin-bottom:-9px}.section-label>span+span{color:var(--text-tertiary);font-size:12px}.upload-area{border:1px dashed var(--separator);border-radius:10px;background:var(--surface)}.upload-area button{background:transparent;border:0;width:100%;flex-direction:column;gap:8px;padding:20px 10px;color:var(--text-secondary)}.upload-area svg{color:var(--text-tertiary);margin-bottom:3px}.upload-area button span{font-size:13px}.upload-area small{font-size:11px;color:var(--text-tertiary)}.upload-area:hover{border-color:var(--text-tertiary)}.prompt-label{font-size:13px;color:var(--text-muted)}.prompt-box{border:1px solid var(--separator);background:var(--surface);border-radius:10px;position:relative}.prompt-box:focus-within{border-color:var(--text-tertiary)}.prompt-box textarea{background:none;resize:vertical;min-height:145px;border:0;line-height:1.7;padding:13px;color:var(--text-primary);font-size:14px;outline:0}.prompt-footer{display:flex;align-items:center;justify-content:space-between;padding:6px 10px 10px}.prompt-footer button{padding:5px 7px;background:var(--overlay);border:0;color:var(--text-secondary);font-size:13px}.prompt-footer small{font-size:10px}.parameter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:9px}.parameter-grid label{font-size:12px;color:var(--text-muted)}.parameter-grid select{font-size:13px;padding:10px 7px}.switch-row{flex-direction:row;align-items:center;justify-content:space-between;font-size:13px;padding:0 2px}.switch-row span{display:flex;gap:9px;align-items:center;color:var(--text-secondary)}.switch-row input{width:17px;height:17px;accent-color:var(--accent)}.advanced summary{display:flex;gap:8px;font-size:12px;color:var(--text-muted);cursor:pointer}.advanced label{margin-top:15px;font-size:12px}.generate-bottom{margin-top:auto;padding-top:12px}.generate{width:100%;font-size:14px}.generate>span{margin-left:auto;display:flex;align-items:center;font-size:12px}.generate-hint{display:flex;justify-content:space-between;margin-top:12px;font-size:10px;color:var(--text-tertiary)}kbd{font-family:inherit;border:1px solid var(--separator);padding:2px 5px;border-radius:4px;font-size:10px}.connection-note{display:flex;gap:7px;align-items:center;margin-bottom:12px;font-size:12px;color:var(--text-secondary)}.connection-note button{border:0;background:none;padding:0;font-size:12px;text-decoration:underline;text-underline-offset:3px;color:var(--text-secondary)}.offline-dot{width:5px;height:5px;background:var(--text-secondary);border-radius:50%;flex-shrink:0}.history{min-width:0;padding:31px 35px 20px;display:flex;flex-direction:column}.history-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--text-tertiary);margin-bottom:10px}.history-heading h2{font-size:26px;display:flex;align-items:center;gap:10px}.history-heading h2 span{font-size:12px;letter-spacing:0;background:var(--overlay);color:var(--text-secondary);padding:4px 8px;border-radius:5px}.view-toggle{display:flex;border:1px solid var(--overlay);border-radius:7px;padding:3px;gap:2px}.view-toggle button{padding:7px;background:transparent;border:0;color:var(--text-tertiary)}.view-toggle button.active{background:var(--separator);color:var(--text-primary)}.history-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:24px}.scope-tabs{display:flex;background:var(--surface);border-radius:8px;padding:4px;gap:3px;flex-shrink:0}.scope-tabs button{padding:8px 12px;font-size:12px;border:0;background:transparent;color:var(--text-tertiary)}.scope-tabs button.active{background:var(--separator);color:var(--text-primary)}.history-filters{display:flex;gap:8px;align-items:center;min-width:0}.history-filters select{max-width:160px;background:transparent;border-color:var(--separator);font-size:12px;padding:8px}.search{display:flex;align-items:center;border:1px solid var(--separator);border-radius:7px;padding:0 9px;color:var(--text-tertiary);max-width:190px}.search input{border:0;background:transparent;padding:9px 6px;font-size:12px}.empty-history{flex:1;min-height:460px;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;padding:25px}.empty-symbol{width:80px;height:80px;display:flex;align-items:center;justify-content:center;border:1px solid var(--separator);background:linear-gradient(135deg,var(--overlay),var(--surface));border-radius:22px;color:var(--text-secondary);position:relative;margin-bottom:25px}.empty-spark{position:absolute;right:-6px;top:-6px;width:26px;height:26px;background:var(--accent);border:5px solid var(--canvas);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--surface)}.empty-history h3{font-size:24px;margin-bottom:13px;color:var(--text-primary)}.empty-history>p{font-size:14px;color:var(--text-tertiary);max-width:380px;line-height:1.8}.empty-steps{display:flex;gap:16px;align-items:center;margin-top:38px}.empty-steps span{font-size:11px;color:var(--text-muted);display:flex;align-items:center;gap:8px}.empty-steps b{border:1px solid var(--separator);border-radius:50%;width:21px;height:21px;display:flex;align-items:center;justify-content:center;font-size:10px;color:var(--text-secondary);font-weight:500}.empty-steps i{width:20px;height:1px;background:var(--separator)}.empty-caption{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--text-tertiary);margin-top:57px}.history-footer{display:flex;justify-content:space-between;font-size:10px;color:var(--text-tertiary);padding-top:30px;letter-spacing:.7px;margin-top:auto}.generation-list{display:flex;flex-direction:column;gap:23px}.generation-card{border:1px solid var(--overlay);border-radius:14px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 250px;background:var(--surface)}.result-surface{position:relative;min-height:290px;background:var(--surface);display:flex;align-items:center;justify-content:center}.result-surface img,.result-surface video{width:100%;max-height:570px;object-fit:contain;display:block}.pending-result{padding:45px;display:flex;align-items:center;flex-direction:column;gap:13px;color:var(--text-muted);font-size:13px;text-align:center}.pending-result p{color:var(--text-muted);font-size:12px;line-height:1.7;max-width:380px}.status-badge{position:absolute;top:14px;left:14px;border:1px solid var(--separator);border-radius:20px;padding:6px 9px;display:flex;align-items:center;gap:6px;font-size:10px;background:#292929eb;color:var(--text-secondary)}.status-badge span{width:4px;height:4px;border-radius:50%;background:currentColor}.status-badge.running,.status-badge.queued{color:var(--accent)}.status-badge.failed,.status-badge.needs_review{color:#e6bd83}.download-overlay{position:absolute;bottom:15px;right:15px;background:#1d1d1dcc;border-radius:8px;padding:8px}.result-info{padding:17px;display:flex;flex-direction:column;gap:15px;min-width:0}.result-model{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--text-secondary)}.result-model>span{padding:5px 7px;border:1px solid var(--separator);border-radius:5px}.result-prompt{font-size:13px;color:var(--text-muted);line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:170px;overflow:auto}.result-tags{display:flex;flex-wrap:wrap;gap:5px}.result-tags span{font-size:10px;border:1px solid var(--separator);background:var(--raised);padding:4px 6px;border-radius:4px;display:flex;align-items:center;gap:4px;color:var(--text-muted)}.result-author{display:flex;flex-direction:column;gap:4px;font-size:10px;color:var(--text-tertiary);margin-top:auto}.result-actions{display:flex;gap:7px}.result-actions button{font-size:11px;flex:1;padding:8px 5px;background:var(--overlay);color:var(--text-secondary);border-color:var(--separator)}.result-refs{display:flex;gap:5px;flex-wrap:wrap}.result-refs button{width:34px;height:34px;border-radius:5px;overflow:hidden;background:var(--overlay);display:flex;align-items:center;justify-content:center}.result-refs img{width:100%;height:100%;object-fit:cover}.grid.generation-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.grid .generation-card{display:flex;flex-direction:column}.grid .result-surface{min-height:210px}.grid .result-surface img,.grid .result-surface video{height:230px;object-fit:contain}.grid .result-info{flex:1}.reference-list{display:flex;flex-direction:column;gap:6px}.reference-row{display:flex;align-items:center;gap:7px;padding:5px;border:1px solid var(--separator);border-radius:6px}.reference-row img{height:28px;width:28px;object-fit:cover;border-radius:4px}.reference-row>svg{flex-shrink:0}.reference-row input{border:0;background:none;padding:3px;font-size:11px}.reference-row select{max-width:89px;font-size:10px;padding:4px}.mention-menu{position:absolute;top:100%;left:0;right:0;border:1px solid var(--text-tertiary);background:var(--overlay);z-index:10;border-radius:8px;box-shadow:0 12px 30px #0008;padding:10px;max-height:230px;overflow:auto}.mention-menu .small{margin:0 0 8px;font-size:11px}.mention-menu button{display:flex;width:100%;justify-content:flex-start;padding:8px;border:0;background:none;font-size:12px}.mention-menu button:hover{background:var(--separator)}.mention-menu p{font-size:12px}.load-more{margin:24px auto}.modal{color:var(--text-primary);background:var(--surface);border:1px solid var(--separator);border-radius:16px;width:min(850px,92vw);max-height:90vh;padding:26px}.modal::backdrop{background:#000b;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.modal-head h2{font-size:22px}.modal .generation-card{margin-bottom:20px}.detail-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--text-secondary);margin-bottom:20px}.detail-meta code{font-size:11px;width:100%}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);background:var(--separator);border:1px solid var(--text-tertiary);border-radius:10px;padding:12px 16px;max-width:90vw;display:flex;align-items:center;gap:10px;z-index:1000;box-shadow:0 10px 40px #0008;font-size:13px;color:var(--text-primary)}.error{background:#432920;color:#ffd5bd;border:1px solid #704132;border-radius:8px;padding:12px;font-size:13px;line-height:1.6}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-identity{border-right:1px solid var(--separator);padding:40px 50px;background:radial-gradient(ellipse at 35% 70%,#2c2c2c44,transparent 70%),var(--surface);display:flex;flex-direction:column;position:relative}.auth-copy{margin:auto 0;padding:80px 0}.auth-copy .eyebrow{color:var(--text-tertiary);font-size:11px}.auth-copy h1{font-size:clamp(48px,5vw,76px);line-height:1.12;letter-spacing:-4px;margin:25px 0}.auth-copy em{font-style:normal;color:var(--accent)}.auth-copy>p{font-size:16px;color:var(--text-muted);line-height:1.7}.auth-models{display:flex;gap:8px;flex-wrap:wrap;margin-top:40px}.auth-models span{font-size:11px;color:var(--text-secondary);border:1px solid var(--separator);border-radius:5px;padding:7px 9px}.auth-foot{display:flex;justify-content:space-between;letter-spacing:1.4px;font-size:10px;color:var(--text-tertiary)}.auth-form{display:flex;align-items:center;justify-content:center;padding:50px 35px}.form-wrap{max-width:355px;width:100%}.auth-icon{width:48px;height:48px;background:var(--raised);border:1px solid var(--separator);border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);margin-bottom:25px}.auth-form h2{font-size:30px;margin-bottom:10px}.auth-form .form-wrap>p{color:var(--text-muted);font-size:14px;line-height:1.8;margin-bottom:28px}.auth-form .form-wrap>p.small{font-size:12px;margin-top:20px}.auth-form label{font-size:13px}.auth-form input{padding:13px;background:var(--surface)}.auth-form .primary{margin-top:5px}.auth-form .primary svg{margin-left:auto}.admin-page{max-width:1350px;margin:auto;padding:40px}@media(min-width:1700px){.composer{width:380px}.studio{grid-template-columns:380px minmax(0,1fr)}.history{padding-left:45px;padding-right:45px}.generation-card{grid-template-columns:minmax(0,1fr) 290px}}@media(max-width:1150px){.topbar{gap:30px;padding:0 20px}.team-label{display:none}.studio{grid-template-columns:325px minmax(0,1fr)}.composer{padding:22px 17px}.history{padding:26px 22px}.history-toolbar{flex-wrap:wrap}.history-filters{width:100%}.generation-card{grid-template-columns:minmax(0,1fr)}.result-author{flex-direction:row;justify-content:space-between}.history-heading h2{font-size:22px}.empty-steps{gap:7px}.empty-steps i{width:8px}.empty-history{padding:18px}.grid.generation-list{grid-template-columns:1fr}.username{display:none}}@media(max-width:760px){.topbar{height:65px;padding:0 15px;gap:20px}.brand>b{font-size:21px}.brand-mark{font-size:34px}.version{display:none}.primary-tabs{gap:15px}.primary-tabs button{font-size:12px;gap:5px}.top-right{gap:3px}.admin-toggle span,.avatar{display:none}.admin-toggle{padding:5px}.studio{display:flex;flex-direction:column}.composer{position:relative;top:auto;max-height:none;border-right:0;border-bottom:1px solid var(--line);padding:22px}.history{padding:25px 20px}.empty-history{min-height:380px}.history-filters{flex-wrap:wrap}.search{max-width:none;flex:1}.generation-card,.auth-page{grid-template-columns:1fr}.auth-identity{padding:25px;min-height:210px}.auth-copy{padding:25px 0 0}.auth-copy h1{font-size:40px;letter-spacing:-2px;margin:15px 0}.auth-copy h1 br{display:none}.auth-copy>p,.auth-models,.auth-foot{display:none}.auth-form{padding:35px 25px}.auth-form h2{font-size:26px}.modal{padding:20px}.empty-steps{flex-wrap:wrap;justify-content:center}.empty-caption{font-size:10px}.admin-page{padding:25px 18px}.result-surface{min-height:220px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.admin-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.admin-heading h1{font-size:31px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.admin-heading p{color:var(--text-muted);font-size:14px;margin-top:10px}.admin-badge{font-size:10px;letter-spacing:0;display:inline-flex;gap:5px;align-items:center;border:1px solid var(--separator);border-radius:5px;padding:5px 7px;color:var(--text-secondary);font-weight:500}.subtle{background:transparent;color:var(--text-secondary)}.admin-nav{display:flex;gap:7px;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:25px;overflow:auto}.admin-nav button{border:0;background:none;font-size:13px;color:var(--text-tertiary);white-space:nowrap}.admin-nav button.active{color:var(--accent);background:var(--overlay)}.admin-loading{padding:70px;text-align:center}.stats-filters{display:flex;gap:10px;align-items:center;margin-bottom:25px;flex-wrap:wrap}.stats-filters>select{width:auto;max-width:210px;font-size:12px}.stats-filters label{flex-direction:row;align-items:center;font-size:12px;color:var(--text-muted)}.stats-filters input{font-size:12px;max-width:160px}.stats-filters button{margin-left:auto;font-size:12px;background:none}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric{border:1px solid var(--separator);background:var(--surface);padding:22px;border-radius:12px}.metric>div{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--text-muted);line-height:1.6}.metric strong{display:block;font-size:31px;letter-spacing:-1px;margin:17px 0 9px;color:var(--text-primary);font-weight:600}.metric p{font-size:10px;line-height:1.6;color:var(--text-tertiary)}.metric.accent{border-color:var(--text-tertiary);background:linear-gradient(120deg,var(--overlay),var(--surface))}.metric.accent strong,.metric.accent svg{color:var(--accent)}.stats-note{font-size:11px;line-height:1.7;color:var(--text-tertiary);margin:13px 0 25px}.chart-panel,.data-panel{border:1px solid var(--separator);border-radius:12px;background:var(--surface);margin-bottom:20px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 23px}.panel-heading h2{font-size:17px;letter-spacing:-.3px}.panel-heading h2 span{font-size:12px;margin-left:8px;color:var(--text-tertiary)}.panel-heading button{font-size:12px}.chart-legend{font-size:10px;color:var(--text-muted);display:flex;align-items:center;gap:7px}.chart-legend i{height:6px;width:6px;border-radius:50%;background:var(--accent);margin-left:8px}.chart-legend .estimate-dot{background:var(--separator)}.chart-empty{height:185px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--text-tertiary)}.chart-empty p{font-size:13px;color:var(--text-muted)}.chart-empty span{font-size:11px;color:var(--text-tertiary)}.bar-chart{height:200px;display:flex;align-items:flex-end;gap:15px;padding:10px 25px 22px;overflow:auto}.chart-day{min-width:35px;flex:1;display:flex;align-items:center;flex-direction:column;gap:12px}.bar-pair{height:125px;display:flex;align-items:flex-end;gap:3px;justify-content:center;width:100%}.bar-pair>div{background:var(--accent);width:min(20px,40%);border-radius:4px 4px 0 0;min-height:2px}.bar-pair .estimated-bar{background:var(--separator)}.chart-day>span{font-size:10px;color:var(--text-tertiary)}.breakdowns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.breakdown-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 23px;border-top:1px solid var(--separator);font-size:13px}.breakdown-row>div{display:flex;flex-direction:column;gap:5px}.breakdown-row b{font-weight:500}.breakdown-row span{font-size:11px;color:var(--text-tertiary)}.breakdown-row strong{font-size:14px;font-weight:500}.panel-description{font-size:12px;color:var(--text-muted);line-height:1.7;padding:0 23px 15px;margin:0}.panel-heading .panel-description{padding:7px 0 0}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-weight:500;font-size:11px;color:var(--text-tertiary);background:var(--raised);white-space:nowrap}th,td{padding:15px 23px;border-bottom:1px solid var(--overlay)}td small{display:block;font-size:10px;color:var(--text-tertiary);margin-top:5px}td{color:var(--text-secondary)}td code{font-size:12px}.table-status{font-size:10px;white-space:nowrap;border:1px solid var(--separator);background:var(--overlay);border-radius:5px;padding:5px 7px;color:var(--text-secondary)}.table-status.failed,.table-status.needs_review{border-color:#64552d;color:#d6ba70;background:#322c19}.cost-button{padding:4px 0;border:0;background:transparent;font-size:12px;white-space:nowrap;color:var(--text-primary)}.table-empty{padding:35px 20px;text-align:center;font-size:13px;color:var(--text-tertiary)}.project-cards{padding:0 23px 23px;display:flex;flex-direction:column;gap:10px}.project-card{display:flex;align-items:center;gap:14px;border:1px solid var(--separator);background:var(--raised);border-radius:9px;padding:15px}.folder-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;background:var(--separator);border-radius:8px;color:var(--text-secondary)}.project-card h3{font-size:14px;letter-spacing:0}.project-card p{font-size:11px;color:var(--text-tertiary);margin-top:5px}.project-card>button{margin-left:auto;font-size:12px;background:none}.project-card.archived{opacity:.65}.table-user{display:flex;gap:10px;align-items:center;white-space:nowrap}.inline-actions{display:flex;gap:8px}.inline-actions button{font-size:11px;background:none}.provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:0 23px 23px}.provider-card{padding:20px;border:1px solid var(--separator);border-radius:10px;background:var(--raised)}.provider-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.provider-heading h3{font-size:17px;letter-spacing:-.3px}.provider-heading span{font-size:9px;border-radius:5px;padding:4px 5px;background:var(--separator);color:var(--text-secondary);white-space:nowrap}.provider-heading .not-connected{background:var(--separator);color:#c5be87}.provider-card>p{font-size:11px;color:var(--text-muted);margin:10px 0 24px}.provider-card label,.provider-card input{font-size:11px}.provider-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:14px 0}.provider-footer a{font-size:11px;color:var(--text-secondary);display:flex;align-items:center;gap:2px}.provider-footer button{font-size:10px;padding:7px}.provider-card>small{font-size:10px;line-height:1.5;display:block;color:var(--text-tertiary)}.price-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:0 23px}.price-grid label{font-size:12px}.price-input{display:flex;align-items:center;background:var(--overlay);border:1px solid var(--separator);border-radius:8px;padding:0 10px;gap:6px;font-size:13px}.price-input input{background:transparent;border:0;padding:12px 0;font-size:13px}.price-input small{font-size:10px;white-space:nowrap}.settings-bottom{padding:0 23px 23px;display:flex;align-items:center;justify-content:space-between;gap:30px}.settings-bottom p{font-size:11px;color:var(--text-muted);line-height:1.8;max-width:700px}.settings-bottom button{white-space:nowrap;font-size:12px}.audit-list>div{display:flex;gap:20px;flex-wrap:wrap;padding:16px 23px;font-size:12px;border-top:1px solid var(--separator);color:var(--text-muted)}.audit-list b{color:var(--text-secondary);font-weight:500}.audit-list small{width:100%;font-size:11px}.modal-copy{font-size:14px;line-height:1.8;color:var(--text-secondary);margin-bottom:22px}.request-id{display:block;margin:15px 0;font-size:12px;overflow-wrap:anywhere}.review-form{margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}@media(max-width:1100px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.provider-grid{grid-template-columns:1fr}.provider-card{max-width:none}.price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-bottom{align-items:flex-start;flex-direction:column}.metric strong{font-size:29px}}@media(max-width:760px){.admin-heading h1{font-size:25px}.admin-heading>button{font-size:0;padding:8px}.metrics{gap:10px}.metric{padding:16px}.metric>div{font-size:10px}.metric strong{font-size:25px}.metric p{font-size:10px}.breakdowns{grid-template-columns:1fr;gap:0}.stats-filters{gap:8px}.stats-filters>select{max-width:48%;flex:1}.panel-heading{padding:17px}.panel-heading .primary{font-size:11px;padding:8px}.provider-grid{padding:0 17px 17px}.admin-nav{gap:0}.admin-nav button{font-size:11px;padding:10px}.chart-legend{font-size:9px;gap:4px}.panel-heading h2{font-size:15px}.project-cards{padding:0 15px 15px}.project-card{flex-wrap:wrap}.project-card>button{font-size:10px}.price-grid{grid-template-columns:1fr}.stats-filters label input{max-width:140px}.stats-filters button{margin-left:0}.admin-heading p{font-size:12px}}.profile-button{border:0;background:transparent;padding:4px 7px;gap:8px}.profile-button>svg{color:var(--text-muted)}@media(max-width:760px){.profile-button{padding:6px}}select,option{color-scheme:dark}option{background:var(--raised);color:var(--text-primary)}.upload-area.drag-over{outline:3px solid var(--accent);outline-offset:3px;background:var(--separator)}.reference-row{cursor:grab}.reference-row.dragging{opacity:.4;border-color:var(--accent)}.drag-grip{color:var(--text-tertiary)}.reference-name{flex:1;min-width:0;display:grid;gap:4px}.reference-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-tertiary)}.reference-name b{font-size:13px;font-weight:500}.prompt-editor{min-height:220px;max-height:550px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;outline:none;line-height:1.7;font-size:15px}.prompt-editor:empty:before{content:attr(data-placeholder);color:var(--text-tertiary)}.prompt-chip{display:inline-flex;vertical-align:middle;align-items:center;gap:4px;border:1px solid var(--text-tertiary);border-radius:6px;padding:1px 5px;background:var(--overlay);font-size:12px;-webkit-user-select:all;user-select:all}.prompt-chip img,.mention-thumb{width:32px;height:32px;object-fit:cover;border-radius:4px}.expand-result{position:absolute;top:12px;right:55px;z-index:2;background:#222c;padding:8px;border-radius:8px}.media-viewer{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:var(--canvas);color:var(--text-primary)}.viewer-toolbar{height:64px;display:flex;align-items:center;gap:16px;padding:12px 24px}.viewer-toolbar span{flex:1}.viewer-body{height:calc(100dvh - 64px);overflow:auto;display:flex;align-items:center;justify-content:center}.viewer-body img,.viewer-body video{max-width:100%;max-height:100%;object-fit:contain}.viewer-body img{cursor:zoom-in}.viewer-body.zoomed{display:block}.viewer-body.zoomed img{max-width:none;max-height:none;cursor:zoom-out}.result-actions{flex-wrap:wrap}.pending-result p{white-space:pre-wrap;max-width:680px;overflow-wrap:anywhere;text-align:left;line-height:1.6}.noise-button{font-size:12px;padding:6px;border:1px solid var(--separator);border-radius:6px;white-space:nowrap}.noise-modal{width:min(900px,95vw)}.noise-preview{background:var(--input);max-height:60vh;overflow:auto;text-align:center;margin-bottom:16px}.noise-preview canvas{max-width:100%;height:auto;vertical-align:middle}.noise-modal input[type=range]{padding:0;width:100%;accent-color:var(--accent)}.noise-actions{display:flex;gap:16px;margin:12px 0}.noise-actions button{padding:8px;border:1px solid var(--separator);border-radius:6px}.noise-modal[open]{display:flex;flex-direction:column;max-height:94dvh;width:min(900px,94vw);overflow:auto;gap:10px}.noise-modal .modal-head{margin:0;flex-shrink:0}.noise-preview{flex:1 1 auto;min-height:100px;max-height:calc(94dvh - 330px);overflow:hidden;display:flex;align-items:center;justify-content:center;margin:0}.noise-preview canvas{display:block;object-fit:contain;max-width:100%;max-height:calc(94dvh - 330px);width:auto;height:auto}.noise-modal>.primary{position:sticky;bottom:0;flex-shrink:0;min-height:44px}.noise-modal .noise-actions,.noise-modal p{margin:0}.noise-applied{font-size:12px;color:var(--text-primary)}.reference-preview-button{padding:0;border:0;background:none;flex-shrink:0;cursor:zoom-in}.reference-row .reference-preview-button img{width:38px;height:38px;object-fit:cover;border-radius:5px}.viewer-toolbar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.noise-modal .noise-preview,.noise-modal .noise-preview canvas{max-height:calc(94dvh - 425px)}.generation-model-label{display:flex;flex-direction:column;gap:5px;min-width:0}.generation-model-label small{font-size:10px;color:var(--text-muted)}.generation-model-label strong{font-size:13px;color:var(--text-primary);line-height:1.4;overflow-wrap:anywhere}.generation-model-label span{font-size:11px;color:var(--text-primary)}.viewer-body{padding:16px;box-sizing:border-box}.overview-date{position:relative;display:block}.overview-date input[type=date]{color:transparent!important;min-width:155px}.overview-date input[type=date]::-webkit-datetime-edit{opacity:0}.overview-date>span{position:absolute;top:0;right:36px;bottom:0;left:12px;display:flex;align-items:center;pointer-events:none;font-size:13px;color:inherit}.overview-date:focus-within input[type=date]{color:inherit!important}.overview-date:focus-within input[type=date]::-webkit-datetime-edit{opacity:1}.overview-date:focus-within>span{display:none}.mcp-profile-link{display:flex;align-items:center;gap:10px;margin-top:20px;padding:14px 16px;border:1px solid var(--border);border-radius:14px;color:var(--text);text-decoration:none;background:#ffffff09;transition:background .15s ease}.mcp-profile-link span{flex:1}.mcp-profile-link:hover{background:#0a84ff1a}.mcp-profile-link:focus-visible{outline:2px solid #0a84ff;outline-offset:3px}.reference-row .reference-download{flex-shrink:0;display:flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none}:root{--ink:12,17,25;--glass:32,43,58;--aura:126,190,226;--ease:cubic-bezier(.2,.8,.2,1);font-family:Manrope Variable,sans-serif;color-scheme:dark}body{background:var(--input);color:var(--text);font-family:Manrope Variable,sans-serif}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 12% 0%,rgba(123,123,123,.25),transparent 48%),radial-gradient(ellipse at 90% 18%,rgba(115,115,115,.2),transparent 45%),radial-gradient(ellipse at 35% 100%,rgba(114,114,114,.12),transparent 55%)}button,input,select,textarea{font-family:inherit}button{border-radius:12px;transition:background .18s var(--ease),border-color .18s var(--ease),box-shadow .18s var(--ease);min-height:36px}button:not(:disabled):hover{border-color:#ededed66;background-color:#e1e1e11c}button:active:not(:disabled){filter:brightness(.9)}button:disabled{opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input,select,textarea{border-radius:12px;background:#0c0c0c61;border-color:#cecece38;color:var(--text-primary)}input:focus,select:focus,textarea:focus{border-color:var(--text-secondary);outline:2px solid #cbcbcb33;outline-offset:1px}select option{background:var(--raised);color:var(--text-primary)}label{color:var(--text-secondary)}.topbar{height:88px;margin:0;padding:16px 32px;border:0;background:linear-gradient(#111111ed,#1110);gap:30px;-webkit-backdrop-filter:none;backdrop-filter:none}.brand{gap:10px}.brand-mark{display:grid;place-items:center;width:40px;height:40px;background:linear-gradient(145deg,var(--text-primary),var(--text-secondary));color:var(--raised);border-radius:13px;box-shadow:inset 0 1px #fff9,0 4px 24px #0003;transform:none}.brand-mark svg{width:25px;height:25px}.brand>b{font-size:28px;letter-spacing:-1.4px;gap:12px}.version{font-size:10px;border:0;background:#ffffff08;border-radius:20px;color:var(--text-secondary);padding:6px 9px;letter-spacing:.03em}.primary-tabs{height:52px;padding:5px;gap:4px;border-radius:19px;background:linear-gradient(130deg,#e4e4e41c,#ffffff08);border:1px solid #ededed29;box-shadow:inset 0 1px #ffffff1c,0 8px 28px #0002;isolation:isolate}.primary-tabs button{padding:0 22px;border-radius:13px;font-size:13px;gap:9px;color:var(--text-secondary);z-index:1}.primary-tabs button.active{color:var(--text-primary);background:linear-gradient(120deg,#e7e7e729,#ffffff12);box-shadow:inset 0 1px #fff3,0 3px 10px #0002}.primary-tabs button.active:after{display:none}.top-right{gap:10px}.admin-toggle,.profile-button{min-height:44px;border:1px solid #e3e3e318;background:#e7e7e708;border-radius:15px;color:var(--text-secondary)}.admin-toggle.selected{color:var(--accent);background:rgb(var(--blue-rgb) / .071)}.avatar{background:linear-gradient(130deg,var(--text-tertiary),var(--separator));border-color:#e4e4e433;color:var(--text-primary)}.icon-button{min-width:36px;min-height:36px;color:var(--text-secondary)}.studio{grid-template-columns:370px minmax(0,1fr);gap:28px;padding:14px 32px 32px;align-items:start;min-height:calc(100vh - 88px)}.composer{width:auto;top:102px;max-height:calc(100dvh - 120px);padding:24px;gap:19px;border:1px solid #ededed29;border-radius:26px;background:linear-gradient(145deg,#e9e9e912,#e9e9e904),rgba(var(--glass),.57);-webkit-backdrop-filter:blur(28px) saturate(140%);backdrop-filter:blur(28px) saturate(140%);box-shadow:inset 0 1px #f2f2f224,0 16px 50px #0003;scrollbar-color:#bfbfbf40 transparent}.composer-title{padding-bottom:16px;border-bottom:1px solid var(--line);align-items:flex-start}.composer-title h1{font-size:23px;font-weight:650;line-height:1.25;max-width:235px;letter-spacing:-.8px}.count-chip{color:var(--text-secondary);background:#e6e6e60b;border-color:#e6e6e621;border-radius:9px;padding:6px 8px;font-size:11px}.model-project{grid-template-columns:1fr;gap:13px}.model-project label,.parameter-grid label{color:var(--text-secondary);font-size:12px}.select-wrap select{height:45px;font-size:13px;padding-left:13px}.select-wrap svg{right:13px}.section-label{color:var(--text-secondary);font-size:12px;font-weight:600}.section-label>span+span{color:var(--text-secondary)}.upload-area{border-radius:17px;border-color:#e5e5e538;background:linear-gradient(140deg,#e0e0e00c,#e0e0e003);transition:.2s}.upload-area button{padding:19px 10px;gap:7px}.upload-area svg{color:var(--text-primary)}.upload-area small{font-size:11px;color:var(--text-secondary)}.upload-area button span{font-weight:650;color:var(--text-primary)}.upload-area:hover,.upload-area.drag-over{background:rgb(var(--blue-rgb) / .063);border-color:var(--accent);box-shadow:inset 0 0 0 1px rgb(var(--blue-rgb) / .4)}.prompt-label{font-size:12px;color:var(--text-secondary)}.prompt-box{margin-top:9px;background:#0e0e0e80;border:1px solid #d2d2d230;border-radius:17px;box-shadow:inset 0 2px 8px #0002}.prompt-box:focus-within{border-color:var(--text-primary);box-shadow:0 0 0 3px #dadada0c}.prompt-editor{min-height:180px;font-size:14px;line-height:1.8;color:var(--text-primary)}.prompt-footer{padding:9px 12px 12px}.prompt-footer button{background:#e5e5e512;border-radius:9px;min-height:32px}.prompt-footer small{color:var(--text-secondary);font-size:10px}.reference-row{background:#e1e1e108;border-color:#e2e2e220;border-radius:12px;padding:7px;gap:8px}.reference-name b{color:var(--text-primary)}.reference-name small{color:var(--text-secondary)}.noise-button{color:var(--text-secondary);background:#ededed08;border-color:#d6d6d625;border-radius:8px}.reference-row .reference-preview-button img{border-radius:8px}.mention-menu{background:var(--raised);border-color:#dfdfdf44;box-shadow:0 15px 40px #0007;border-radius:14px}.mention-menu button{min-height:42px;color:var(--text-primary)}.parameter-grid select{min-height:42px}.switch-row span,.advanced summary{color:var(--text-secondary)}.generate-bottom{padding-top:6px}.primary,.primary.generate{background:linear-gradient(125deg,var(--text-primary),var(--text-secondary));border-color:#f7f7f780;color:var(--raised);box-shadow:inset 0 1px #ffffff80,0 5px 22px #d6d6d613;border-radius:14px;font-weight:750}.primary:hover,.primary.generate:hover{background:linear-gradient(125deg,var(--text-primary),var(--text-primary));box-shadow:0 5px 30px #dfdfdf22}.generate{min-height:54px}.generate-hint{color:var(--text-secondary);font-size:10px}.history{padding:8px 0 0;min-width:0;background:none}.history-heading{margin-bottom:26px;gap:16px}.history-heading .eyebrow{font-size:10px;letter-spacing:2px;color:var(--text-secondary);margin-bottom:12px}.history-heading h2{font-size:34px;font-weight:600;letter-spacing:-1.3px}.history-heading h2 span{font-size:13px;vertical-align:middle;border:1px solid #d8d8d826;background:#e1e1e109;color:var(--text-secondary);border-radius:20px;padding:5px 10px;letter-spacing:0;margin-left:10px}.view-toggle,.scope-tabs{border:1px solid #e7e7e726;border-radius:13px;padding:4px;background:#e4e4e408}.view-toggle button,.scope-tabs button{border:0;border-radius:9px;min-height:34px;background:transparent;color:var(--text-secondary)}.view-toggle button.active,.scope-tabs button.active{background:#e8e8e820;color:var(--text-primary);box-shadow:inset 0 1px #fff2}.history-toolbar{gap:16px;margin-bottom:24px;padding:0;border:0}.history-filters{gap:10px}.history-filters select,.search{height:42px;background:#e3e3e308;border:1px solid #e7e7e726;border-radius:12px;color:var(--text-secondary)}.search input{background:transparent;border:0;color:var(--text-primary)}.search svg{color:var(--text-secondary)}.generation-card{grid-template-columns:minmax(0,1fr) 274px;border:1px solid #e4e4e424;border-radius:24px;background:#242424a6;box-shadow:inset 0 1px #ffffff0d,0 12px 34px #0002;transition:border-color .2s}.generation-card:hover{border-color:#e4e4e444}.result-surface{min-height:330px;background:var(--input)}.result-surface img,.result-surface video{max-height:640px}.result-info{padding:22px;gap:17px;background:linear-gradient(150deg,#efefef08,transparent)}.generation-model-label small{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:var(--text-secondary)}.generation-model-label strong{font-size:14px;color:var(--text-primary)}.generation-model-label span{font-size:11px;color:var(--text-secondary)}.result-prompt{font-size:12px;line-height:1.85;color:var(--text-secondary);max-height:155px}.result-refs{gap:7px}.result-refs a{width:40px;height:40px;border:1px solid #eeeeee22;border-radius:9px}.result-tags span{background:#e7e7e709;border-color:#e7e7e720;border-radius:7px;color:var(--text-secondary);font-size:10px}.result-author{color:var(--text-secondary);font-size:11px;gap:7px}.result-actions{flex-wrap:wrap;gap:8px}.result-actions button{min-height:40px;border-radius:11px;background:#e7e7e70b;border-color:#e7e7e726;color:var(--text-primary);font-size:11px}.result-actions button:first-child{flex-basis:100%}.status-badge{background:#262626e8;border:1px solid #f6f6f629;box-shadow:0 3px 15px #0003;color:var(--text-secondary);font-size:11px;padding:7px 11px}.status-badge.running{color:var(--text-primary)}.status-badge.succeeded,.status-badge.cancelled{color:var(--text-secondary)}.pending-result{color:var(--text-secondary);min-height:300px}.pending-result p{color:var(--text-secondary)}.expand-result,.download-overlay{border-radius:12px;background:#282828d9;border:1px solid #e7e7e726;color:var(--text-primary)}.grid.generation-list{grid-template-columns:repeat(2,minmax(0,1fr))}.grid .result-surface{min-height:240px}.empty-history{border:1px solid #e9e9e917;border-radius:26px;background:radial-gradient(ellipse at 50% 30%,#c1c1c10c,transparent 70%);min-height:540px}.empty-symbol{width:90px;height:90px;background:linear-gradient(140deg,#e9e9e922,#eaeaea06);border-color:#e6e6e640;border-radius:28px;box-shadow:inset 0 1px #ffffff36,0 20px 60px #0003;color:var(--text-primary)}.empty-spark{background:var(--accent);border-color:var(--surface)}.empty-history h3{font-size:29px;font-weight:600;color:var(--text-primary)}.empty-history>p{color:var(--text-secondary)}.empty-steps span,.empty-caption{color:var(--text-secondary)}.history-footer{color:var(--text-muted);letter-spacing:.6px;font-size:10px;padding-top:28px}.admin-page{padding:30px 32px 60px;max-width:1500px}.admin-heading h1{font-size:38px;font-weight:600}.admin-heading p,.panel-description{color:var(--text-secondary)}.admin-nav{border:1px solid #e3e3e325;background:#ededed08;border-radius:17px;padding:6px;gap:6px}.admin-nav button{border-radius:11px}.admin-nav button.active{background:#e5e5e51b;color:var(--text-primary)}.data-panel,.metric,.chart-panel,.project-card,.provider-card{background:linear-gradient(135deg,#ebebeb0b,#ebebeb03),#232323b3;border:1px solid #ebebeb24;border-radius:20px;box-shadow:inset 0 1px #ffffff10,0 10px 30px #0001}.metric.accent{background:linear-gradient(125deg,#c1c1c120,var(--raised));border-color:#dedede4a}.metric strong{font-weight:600;letter-spacing:-1.5px}.metric p,.metric>div span,.stats-note,.settings-bottom p{color:var(--text-secondary)}.stats-note{background:#e6e6e608;border-color:#dbdbdb20;border-radius:12px}.table-scroll td,.table-scroll th{border-color:#e5e5e516}.table-scroll th{color:var(--text-secondary);background:#e6e6e605}.table-scroll td small{color:var(--text-secondary)}.connected{color:var(--text-primary)}.table-status.cancelled{color:var(--text-secondary)}.bar-pair>div{background:var(--text-primary)}.chart-legend i{background:var(--text-primary)}.chart-day>span{color:var(--text-secondary)}.modal{border-radius:25px;border-color:#e6e6e644;background:linear-gradient(145deg,#323232f5,#212121fa);box-shadow:inset 0 1px #ffffff24,0 30px 100px #0009;padding:28px}.modal::backdrop{background:#090909b8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.modal-head h2{font-weight:600}.toast{background:#343434f2;border-color:#e7e7e740;border-radius:16px;color:var(--text-primary);box-shadow:0 12px 50px #0006}.error{background:#51332c;border-color:#b8897355;color:#ffe0cb}.media-viewer{background:#0c0c0cf5}.viewer-toolbar{background:#dedede08;border-bottom:1px solid #e8e8e81f;color:var(--text-secondary)}.viewer-toolbar button{background:#e6e6e612;border-color:#e6e6e626}.auth-identity{background:radial-gradient(ellipse at 40% 45%,#9494942b,transparent 65%);border-color:#e1e1e120}.auth-copy h1{font-weight:550;letter-spacing:-3px}.auth-form{background:#e4e4e403}.form-wrap{background:linear-gradient(140deg,#ededed12,#ededed04);padding:34px;border:1px solid #ededed29;border-radius:28px;max-width:430px;box-shadow:0 30px 100px #0003}.auth-form input{background:#13131380}.auth-icon{background:#e4e4e413;border-color:#e4e4e426}.auth-form .form-wrap>p{color:var(--text-secondary)}.auth-models span{background:#e7e7e70a;border-color:#e7e7e725;color:var(--text-secondary)}.auth-foot{color:var(--text-secondary)}@keyframes glass-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.composer,.history-heading{animation:glass-enter .45s var(--ease) both}.history-heading{animation-delay:.06s}@media(min-width:1700px){.studio{grid-template-columns:390px minmax(0,1fr);gap:36px;padding-left:40px;padding-right:40px}.composer{width:auto;padding:26px}.history{padding:8px 0}.generation-card{grid-template-columns:minmax(0,1fr) 310px}}@media(max-width:1200px){.studio{grid-template-columns:330px minmax(0,1fr);gap:20px;padding:12px 20px 24px}.composer{padding:20px}.topbar{padding:14px 20px;gap:22px}.version{display:none}.generation-card{grid-template-columns:1fr}.result-info{padding:20px}.result-actions{flex-wrap:nowrap}.result-actions button:first-child{flex-basis:auto}.result-prompt{max-height:110px}.history-heading h2{font-size:28px}.history-toolbar{flex-wrap:wrap}.history-filters{width:100%;flex-wrap:wrap}.grid.generation-list{grid-template-columns:1fr}}@media(max-width:760px){.topbar{height:auto;min-height:116px;display:flex;flex-wrap:wrap;padding:12px 16px;gap:10px;background:#191919ed}.brand>b{font-size:25px}.brand-mark{width:34px;height:34px}.primary-tabs{order:3;width:100%;height:46px;justify-content:center;border-radius:15px}.primary-tabs button{flex:1;padding:0 12px}.top-right{gap:5px}.top-right button{min-width:40px;min-height:40px}.profile-button .avatar{display:flex;width:27px;height:27px}.studio{display:flex;padding:14px;gap:24px}.composer{position:relative;top:auto;max-height:none;width:100%;padding:20px;border-radius:23px;overflow:visible}.history{width:100%;padding:0}.history-heading{margin-bottom:20px}.history-heading h2{font-size:27px}.history-heading .eyebrow{font-size:9px;letter-spacing:1.5px}.model-project{grid-template-columns:1fr}.history-filters select{max-width:100%;flex:1;min-width:130px}.search{flex-basis:100%;max-width:none}.generation-card{border-radius:20px}.result-surface{min-height:240px}.result-info{padding:18px}.result-actions button{min-height:44px}.empty-history{min-height:400px;padding:24px}.empty-steps{gap:10px}.empty-caption{font-size:11px}.admin-page{padding:20px 14px}.admin-heading h1{font-size:29px}.admin-nav{flex-wrap:wrap}.auth-identity{padding:24px}.auth-form{padding:20px}.form-wrap{padding:24px}.viewer-toolbar{padding:10px;gap:8px;font-size:12px}.viewer-toolbar button{min-height:40px}.history-footer{gap:15px;flex-wrap:wrap}.reference-row .icon-button,.noise-button{min-height:40px}.tiny-button{min-width:28px;min-height:28px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(prefers-reduced-transparency:reduce){.composer,.primary-tabs,.generation-card,.modal,.topbar{background:var(--raised)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}:root{--glass:39,43,49;--ease:cubic-bezier(.22,1,.36,1);font-family:-apple-system,BlinkMacSystemFont,Manrope Variable,sans-serif}body{font-family:-apple-system,BlinkMacSystemFont,Manrope Variable,sans-serif;background:var(--input);min-height:100dvh}.composer{padding:10px!important;overflow:hidden;display:block;background:linear-gradient(145deg,#ffffff16,#ffffff04),#262626b8;border-color:#ffffff29;box-shadow:inset 0 1px #ffffff30,inset 0 -1px #ffffff08,0 20px 55px #0004;-webkit-backdrop-filter:blur(32px) saturate(115%);backdrop-filter:blur(32px) saturate(115%)}.composer-scroll{display:flex;flex-direction:column;gap:19px;max-height:calc(100dvh - 142px);overflow:auto;padding:14px;scrollbar-width:thin;scrollbar-color:#cbcbcb4d transparent;scrollbar-gutter:stable;overscroll-behavior:contain;animation:panel-reveal .32s var(--ease) both}.composer-scroll::-webkit-scrollbar{width:6px}.composer-scroll::-webkit-scrollbar-thumb{background:#cbcbcb4d;border-radius:10px}.composer-scroll::-webkit-scrollbar-track{margin-block:14px;background:transparent}.primary-tabs{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;border-radius:19px;background:linear-gradient(145deg,#ffffff13,#ffffff05)}.primary-tabs:before{content:"";position:absolute;inset:5px auto 5px 5px;width:calc(50% - 5px);border-radius:13px;background:linear-gradient(150deg,#ffffff2b,#ffffff0e);box-shadow:inset 0 1px #fff5,inset 0 -1px #ffffff12,0 3px 10px #0003;transition:transform .38s var(--ease),opacity .2s;pointer-events:none}.primary-tabs:has(button:nth-of-type(2).active):before{transform:translate(100%)}.primary-tabs:not(:has(button.active)):before{opacity:0}.primary-tabs button.active{background:transparent;box-shadow:none}.primary-tabs button{transition:color .2s,transform .2s var(--ease)}button{transition:transform .2s var(--ease),background .2s,border-color .2s,box-shadow .2s,color .2s}button:active:not(:disabled){transform:scale(.96);filter:none}.primary-tabs button:active:not(:disabled){transform:scale(.97)}button svg{transition:transform .25s var(--ease)}.upload-area:hover svg{transform:translateY(-3px)}.generate:hover:not(:disabled)>svg{transform:rotate(12deg) scale(1.1)}.primary,.primary.generate{background:linear-gradient(145deg,var(--text-primary),var(--text-secondary));border-color:#fbfbfb66;color:var(--raised);box-shadow:inset 0 1px #fff9,0 5px 22px #dbdbdb13}.primary:hover,.primary.generate:hover{background:linear-gradient(145deg,var(--text-primary),var(--text-primary))}.reference-row{transition:background .2s,border-color .2s,opacity .2s;animation:panel-reveal .24s var(--ease)}.reference-row:hover{background:#ffffff0d;border-color:#ffffff30}.generation-card{background:#262626cc;transition:border-color .25s,box-shadow .25s;animation:panel-reveal .35s var(--ease) both}.generation-card:hover{box-shadow:inset 0 1px #ffffff12,0 15px 40px #0003}.generation-card:nth-child(2){animation-delay:.04s}.generation-card:nth-child(3){animation-delay:.08s}.result-info{background:linear-gradient(150deg,#ffffff08,transparent)}.scope-tabs button.active,.view-toggle button.active{animation:selection-settle .25s var(--ease)}.modal[open]{animation:dialog-reveal .25s var(--ease)}.toast{animation:toast-reveal .3s var(--ease)}@keyframes panel-reveal{0%{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}@keyframes selection-settle{0%{scale:.96}to{scale:1}}@keyframes dialog-reveal{0%{opacity:0;scale:.98;translate:0 6px}to{opacity:1;scale:1;translate:0 0}}@keyframes toast-reveal{0%{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}@media(max-width:760px){.composer-scroll{max-height:none;overflow:visible;padding:10px;scrollbar-gutter:auto}.composer{overflow:hidden}.primary-tabs{display:grid}.primary-tabs button{width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:active:not(:disabled){transform:none}}.prompt-chip[role=button]{cursor:zoom-in;transition:background .18s,border-color .18s;-webkit-user-select:none;user-select:none}.prompt-chip[role=button]:hover{background:var(--separator);border-color:var(--text-primary)}.prompt-chip[role=button]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.topbar{background:var(--input);border-bottom:1px solid #ffffff10;box-shadow:0 6px 20px #0002;isolation:isolate}.composer-scroll{border-radius:17px;clip-path:inset(0 round 17px)}.prompt-box{padding:8px;border-radius:19px}.prompt-editor{border-radius:12px;padding:12px;scrollbar-width:thin;scrollbar-color:#cbcbcb4d transparent}.prompt-footer{padding:8px 4px 4px}.prompt-chip{vertical-align:middle;align-items:center;line-height:1.2;padding:3px 6px 3px 3px;border-radius:8px}.prompt-chip img{display:block;border-radius:5px;flex-shrink:0}.prompt-editor:focus-visible{outline:none}.composer{padding:24px 10px!important}.composer-scroll{max-height:calc(100dvh - 170px);border-radius:18px;clip-path:inset(0 round 18px)}@media(max-width:760px){.composer-scroll{max-height:none}}.brand-mark{background:none;border:0;box-shadow:none}.brand-mark img{display:block;width:100%;height:100%}.fixed-video-model{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border:1px solid #ffffff20;border-radius:12px;background:#ffffff05}.fixed-video-model small{flex-basis:100%;font-size:11px;color:var(--muted)}.fixed-video-model strong{font-size:14px}.fixed-video-model span{font-size:12px;color:var(--muted)}.reference-row{position:relative}.reference-row.dragging{opacity:1;border-color:var(--text-primary);outline:none;box-shadow:inset 0 0 0 2px var(--accent);background:rgb(var(--blue-rgb) / .102);cursor:grabbing}.reference-row.insert-before:before,.reference-row.insert-after:after{content:"";position:absolute;left:0;right:0;height:3px;border-radius:3px;background:var(--accent);box-shadow:0 0 8px rgb(var(--blue-rgb) / .502);pointer-events:none;z-index:2}.reference-row.insert-before:before{top:-6px}.reference-row.insert-after:after{bottom:-6px}.reference-list.reordering{padding-block:6px}.composer{padding:24px!important}.composer-viewport{border-radius:16px;overflow:hidden;isolation:isolate;clip-path:inset(0 round 16px)}.composer-scroll{padding:0 6px 0 0;max-height:calc(100dvh - 170px);border-radius:0;clip-path:none;animation:none;scrollbar-gutter:auto}@media(max-width:760px){.composer{padding:20px!important}.composer-scroll{max-height:none;padding:0;overflow:visible}}.auth-page{display:grid;grid-template-columns:1fr;place-items:center;min-height:100dvh;position:relative;isolation:isolate;overflow:hidden;background:var(--input)}.paint-background{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;z-index:-1;filter:blur(22px) saturate(130%)}.auth-page:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at center,transparent 25%,#0b0b0b80 100%)}.auth-form{width:100%;padding:40px 20px;background:none;display:flex;align-items:center;justify-content:center}.auth-form .form-wrap{width:100%;max-width:420px;padding:36px;border-radius:28px;background:linear-gradient(140deg,#ffffff0c,#ffffff03),#181818c9;-webkit-backdrop-filter:blur(32px) saturate(115%);backdrop-filter:blur(32px) saturate(115%);border:1px solid #ededed29;box-shadow:inset 0 1px #fff2,0 24px 80px #0005;text-align:center}.auth-brand{display:flex;justify-content:center;margin-bottom:28px}.auth-brand .brand{flex-direction:column;gap:12px}.auth-brand .brand-mark{width:56px;height:56px}.auth-brand .brand>b{font-size:28px}.auth-brand .version{display:inline-block;font-size:10px}.auth-form label{text-align:left}.auth-form h2{font-size:26px}.auth-form .form-wrap>p{font-size:13px}.auth-form .primary{position:relative;justify-content:center}.auth-form .primary>svg{position:absolute;right:16px;margin:0}.auth-form input{background:#1119}.auth-form .small{margin-bottom:0}@media(max-width:480px){.auth-form{padding:24px 16px}.auth-form .form-wrap{padding:28px 24px}.paint-background{filter:blur(16px)}}@media(prefers-reduced-transparency:reduce){.auth-form .form-wrap{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none}}.paint-background{filter:none;background:radial-gradient(ellipse at 25% 40%,var(--separator),transparent 65%),var(--canvas)}.paint-background iframe{display:block;width:100%;height:100%;border:0;pointer-events:none}.auth-brand .version{display:none}.auth-version{display:table;margin:24px auto 0;padding:6px 12px;border:1px solid #ffffff16;border-radius:20px;font-size:11px;color:var(--text-secondary);background:#ffffff05}.auth-form .form-wrap{background:linear-gradient(140deg,#ffffff0a,#ffffff02),#161616dc}.paint-background{background:var(--canvas)}.auth-page:after{background:radial-gradient(ellipse at center,transparent 45%,#0b0b0b33 100%)}.composer-scroll{padding-right:0;scrollbar-width:none}.composer-scroll::-webkit-scrollbar{display:none}.composer-viewport{border-radius:16px;clip-path:inset(0 round 16px)}.generation-timer{display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums;color:var(--accent)}.billing-totals{display:flex;flex-wrap:wrap;gap:28px;margin:24px 0}.billing-totals>div{display:grid;gap:8px}.billing-totals strong{font-size:26px}.billing-panel>label,.billing-panel>.small,.billing-panel>.billing-totals,.billing-panel>.stats-note,.billing-panel>p[role=status]{margin-left:24px;margin-right:24px}.billing-panel>label{display:block;max-width:280px}.billing-panel>.stats-note{padding:12px 0;line-height:1.7}.composer-scroll{padding-bottom:16px}.generate-hint{padding-inline:8px;align-items:center;gap:12px;line-height:1.6}.generate-hint kbd{flex-shrink:0}.result-tags .seed-tag{font-size:10px;font-weight:400;line-height:normal;border:1px solid #e7e7e720;background:#e7e7e709;padding:4px 6px;border-radius:7px;display:inline-flex;align-items:center;gap:4px;color:var(--text-secondary);box-shadow:none;min-height:0}.result-tags .seed-tag:hover{background:#e7e7e716;border-color:#e7e7e740}.generation-card.has-video .result-surface{min-height:0;align-self:start}.generation-card.has-video .result-surface video{display:block;width:100%;height:auto;max-height:none;object-fit:contain}@media(min-width:1101px){.generation-card.has-video:not(.grid .generation-card) .result-info{height:0;min-height:100%;overflow-y:auto;scrollbar-width:thin}}:root{--page-gutter:32px}.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:24px;height:88px;min-height:88px;padding:16px var(--page-gutter)}.topbar>.brand{justify-self:start;gap:10px;min-width:0;align-items:center}.topbar .brand-mark{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;transform:none;line-height:1}.topbar .brand-mark img{display:block;width:40px;height:40px}.topbar .brand>b{font-size:28px;line-height:1;align-items:center;gap:12px}.topbar .brand .version{line-height:1;align-self:center}.topbar>.primary-tabs{grid-column:2;justify-self:center;order:0;width:276px;max-width:100%;height:52px;margin:0}.topbar>.top-right{display:flex;justify-content:flex-end;align-items:center;gap:24px;margin:0;min-width:0;justify-self:end}.account-actions{display:flex;align-items:center;gap:10px;flex:none}.byteplus-balance-compact{display:flex;flex-direction:column;justify-content:center;flex:none;gap:7px;width:176px;min-height:36px}.token-count{color:var(--text);font-size:14px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}.token-count small{color:var(--muted);font-size:11px;font-weight:400;line-height:1.2;margin-left:3px}.token-approx{color:var(--muted);font-weight:400}.byteplus-balance-compact meter,.token-meter-empty{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:3px;border:0;border-radius:4px;background:rgb(var(--blue-rgb) / .102)}.byteplus-balance-compact meter::-webkit-meter-bar{height:3px;background:rgb(var(--blue-rgb) / .102);border:0;border-radius:4px}.byteplus-balance-compact meter::-webkit-meter-optimum-value{background:var(--accent);border-radius:4px}.byteplus-balance-compact meter::-moz-meter-bar{background:var(--accent);border-radius:4px}.result-tags .generation-cost{color:var(--text-primary);background:rgb(var(--blue-rgb) / .031);border-color:rgb(var(--blue-rgb) / .137);font-variant-numeric:tabular-nums}@media(min-width:1700px){:root{--page-gutter:40px}}@media(max-width:1400px){.topbar{column-gap:16px}.topbar>.top-right{gap:16px}.byteplus-balance-compact{width:148px}.topbar .admin-toggle span,.topbar .profile-button .username,.topbar .profile-button>svg{display:none}.account-actions{gap:6px}.topbar .account-actions>button{width:36px;height:40px;min-width:36px;padding:6px}.topbar .profile-button .avatar{display:flex}}@media(max-width:1200px){:root{--page-gutter:20px}}@media(min-width:761px)and (max-width:1100px){.topbar>.primary-tabs{width:244px}.topbar>.top-right{gap:8px}.byteplus-balance-compact{width:92px}.token-count{font-size:12px}.token-count small{display:none}}@media(max-width:760px){:root{--page-gutter:14px}.topbar{grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:0;padding:14px var(--page-gutter);gap:12px;background:var(--input)}.topbar>.brand{grid-row:1;grid-column:1}.topbar .brand-mark,.topbar .brand-mark img{width:36px;height:36px}.topbar .brand>b{font-size:25px}.topbar>.top-right{display:contents}.topbar .account-actions{grid-row:1;grid-column:2;justify-self:end;gap:4px}.topbar .account-actions>button{width:40px;height:44px;min-width:40px}.topbar>.primary-tabs{grid-row:2;grid-column:1/-1;width:276px;height:46px;justify-self:center}.topbar .byteplus-balance-compact{grid-row:3;grid-column:1/-1;justify-self:end;width:148px;min-height:30px;margin-top:2px}.topbar .token-count{font-size:13px}.topbar .token-count small{display:inline}}:root{--ease:cubic-bezier(.23,1,.32,1);--ease-out:var(--ease);--ease-in-out:cubic-bezier(.77,0,.175,1);--radius:14px;--radius-panel:26px;font-family:Manrope Variable,sans-serif}body{font-family:Manrope Variable,sans-serif;color:var(--text);background:var(--background)}body:before{background:none}.app-shell{overflow-x:clip}::selection{background:#c4c4c43d;color:var(--text-primary)}input,textarea,[contenteditable]{caret-color:var(--accent)}*{scrollbar-color:#79797955 transparent;scrollbar-width:thin}h1,h2,h3{letter-spacing:-.035em;text-wrap:balance}label{font-weight:550;color:var(--text-secondary);gap:8px}small,.small{color:var(--muted)}button{position:relative;border-color:var(--line);background:#ffffff06;min-height:38px;border-radius:12px;font-weight:600;transition:transform .14s var(--ease),background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}button:active:not(:disabled){transform:scale(.97);filter:none}button:disabled{opacity:.38}button svg{stroke-width:1.7;flex-shrink:0;transition:transform .16s var(--ease)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input,select,textarea{background:var(--surface-input);border-color:#d4d4d423;border-radius:12px;color:var(--text);font-weight:450;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}input::placeholder,textarea::placeholder{color:var(--text-muted)}input:focus,select:focus,textarea:focus{outline:0;border-color:#b8b8b880;box-shadow:0 0 0 3px rgb(var(--blue-rgb) / .063)}select option{background:var(--surface);color:var(--text)}@media(hover:hover)and (pointer:fine){button:not(:disabled):hover{background-color:rgb(var(--blue-rgb) / .067);border-color:rgb(var(--blue-rgb) / .267);color:var(--text)}.icon-button:not(:disabled):hover{color:var(--accent);transform:translateY(-1px)}.upload-area:hover svg{transform:translateY(-3px)}.generate:hover:not(:disabled)>svg{transform:rotate(12deg)}}@media(hover:none){button:hover{background-color:inherit}.upload-area:hover svg{transform:none}}.topbar{background:#101010fa;border-bottom:1px solid #d4d4d414;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);height:88px;min-height:88px}.topbar .brand>b{letter-spacing:-.045em;font-weight:750}.brand .version{color:var(--text-muted);background:#f1f1f107;border:1px solid #f1f1f111;font-size:10px;font-weight:500;border-radius:20px}.topbar .brand-mark{border-radius:12px}.topbar>.primary-tabs{grid-column:2}.account-actions button{background:#ffffff04;border:1px solid #d4d4d417;border-radius:13px}.account-actions .icon-button{border-color:transparent;background:transparent}.admin-toggle.selected{background:rgb(var(--blue-rgb) / .075);color:var(--accent);border-color:rgb(var(--blue-rgb) / .22)}.profile-button{gap:9px;padding:5px 10px 5px 5px}.avatar{background:linear-gradient(145deg,var(--text-tertiary),var(--separator));border-color:#cecece2b;font-size:12px;color:var(--text-primary)}.token-count{font-size:13px;color:var(--text-primary)}.token-count small{font-size:10px;color:var(--text-muted)}.byteplus-balance-compact{gap:8px}.segmented{position:relative;display:flex;align-items:stretch;isolation:isolate;padding:4px;gap:2px;border:1px solid #cccccc20;background:#ffffff04;border-radius:14px;box-shadow:inset 0 1px #ffffff04}.segmented:before,.segmented:after,.segmented button:after{display:none!important}.segmented button{position:relative;flex:1;display:flex;align-items:center;justify-content:center;background:transparent!important;box-shadow:none!important;border:0;border-radius:10px;color:var(--text-muted);z-index:auto;min-height:34px;padding:8px 13px;font-size:12px;animation:none!important;white-space:nowrap}.segmented button.active{background:transparent;box-shadow:none;animation:none;color:var(--blue-text)}.segment-indicator{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;border-radius:inherit;border:1px solid #e0e0e02e;box-shadow:inset 0 1px #f9f9f915,0 2px 5px #0002;background:linear-gradient(155deg,#ffffff18,#ffffff08);border-color:#ffffff29}.segment-label{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;pointer-events:none}.primary-tabs.segmented{display:grid;grid-template-columns:1fr 1fr;gap:4px;border-radius:18px;padding:5px;background:#ffffff04;box-shadow:none}.primary-tabs.segmented button{border-radius:12px;padding:0 18px;font-size:13px}.view-toggle.segmented{padding:3px;border-radius:12px}.view-toggle.segmented button{padding:8px;min-width:34px;min-height:32px;border-radius:8px}.scope-tabs.segmented{width:198px;flex:none}.scope-tabs.segmented button{font-size:12px}.admin-nav.segmented{width:max-content;max-width:100%;padding:5px;margin-bottom:28px;gap:4px;border-radius:15px;flex-wrap:wrap}.admin-nav.segmented button{padding:10px 16px}.studio{gap:30px;padding-top:24px;grid-template-columns:370px minmax(0,1fr)}.composer{display:flex;flex-direction:column;gap:18px;top:112px;height:calc(100dvh - 136px);max-height:calc(100dvh - 136px);padding:24px!important;border-radius:var(--radius-panel);border:1px solid #d2d2d22b;background:linear-gradient(155deg,#ffffff08,transparent 55%),var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 14px 40px #0002;overflow:visible;isolation:isolate;animation:none}.composer-viewport{flex:1;min-height:0;position:relative;z-index:1;border-radius:16px;clip-path:inset(0 round 16px);overflow:hidden}.composer-scroll{display:flex;flex-direction:column;height:100%;max-height:none;padding:0 0 16px;gap:21px;border-radius:0;clip-path:none;scrollbar-width:none;overflow-y:auto}.composer-title{padding-bottom:18px;border-bottom:1px solid #cbcbcb1a}.composer-title h1{font-weight:600;font-size:23px;max-width:100%;line-height:1.3;letter-spacing:-.035em}.model-project{gap:16px}.model-project label,.parameter-grid label{color:var(--text-secondary);font-size:11px;letter-spacing:.015em}.label-row{align-items:center;min-height:24px}.tiny-button{min-width:24px;min-height:24px;border-radius:7px;color:var(--text-secondary)}.select-wrap select{height:46px;padding-inline:13px 28px;font-size:13px}.select-wrap svg{top:15px;color:var(--text-tertiary)}.fixed-video-model{padding:0 0 16px;background:none;border:0;border-bottom:1px solid #cbcbcb1a;border-radius:0;column-gap:9px;row-gap:6px}.fixed-video-model small{display:none}.fixed-video-model strong{font-size:14px;font-weight:650;color:var(--text-primary)}.fixed-video-model span{font-size:12px;color:var(--text-muted)}.section-label{font-size:12px;color:var(--text-secondary);font-weight:550;margin-bottom:-10px}.section-label>span+span{font-size:11px;color:var(--text-muted)}.upload-area{position:relative;border-radius:15px;background:rgb(var(--blue-rgb) / .016);border:1px dashed rgb(var(--blue-rgb) / .216);transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.upload-area button{padding:21px 8px;color:var(--text-secondary);border-radius:inherit}.upload-area button span{font-size:12px;font-weight:550;color:var(--text-primary)}.upload-area small{font-size:10px;color:var(--text-muted);line-height:1.5}.upload-area svg{color:var(--text-secondary);margin:0 0 3px}.upload-area:hover,.upload-area.drag-over{background:rgb(var(--blue-rgb) / .043);border-color:rgb(var(--blue-rgb) / .627);box-shadow:inset 0 0 0 1px rgb(var(--blue-rgb) / .137)}.reference-row{border-radius:12px;background:#ffffff03;border-color:#d7d7d71c;gap:8px;animation:none;min-width:0}.reference-row:hover{background:rgb(var(--blue-rgb) / .031);border-color:rgb(var(--blue-rgb) / .259)}.reference-row.dragging{border-color:var(--accent);box-shadow:inset 0 0 0 2px var(--accent);background:rgb(var(--blue-rgb) / .098)}.reference-row .reference-preview-button{border:0;border-radius:8px;padding:0;background:transparent}.reference-name b{font-size:11px;color:var(--text-primary)}.reference-name small{font-size:10px;color:var(--text-muted)}.noise-button{border-radius:8px;font-size:10px;background:#ffffff04;border-color:#ffffff1c;color:var(--text-secondary);min-height:30px;padding:5px 8px;white-space:nowrap}.reference-row .icon-button{min-width:26px;min-height:30px;padding:5px}.prompt-label{color:var(--text-secondary);font-size:12px}.prompt-box{margin-top:10px;padding:8px;border:1px solid rgb(var(--blue-rgb) / .169);border-radius:17px;background:var(--input);box-shadow:inset 0 2px 5px #0001;transition:border-color .18s ease,box-shadow .18s ease}.prompt-box:focus-within{border-color:rgb(var(--blue-rgb) / .463);box-shadow:0 0 0 3px rgb(var(--blue-rgb) / .031)}.prompt-editor{font-size:13px;line-height:1.8;color:var(--text-primary);padding:10px 0;min-height:164px;max-height:clamp(220px,44dvh,360px);border-radius:10px;overscroll-behavior-y:auto}.prompt-editor:empty:before{color:var(--text-muted)}.prompt-editor:focus{box-shadow:none;outline:none}.prompt-footer{padding:8px 2px 2px;gap:8px}.prompt-footer button{background:rgb(var(--blue-rgb) / .039);border-radius:8px;color:var(--text-secondary);min-height:28px;font-size:11px;padding:5px 8px}.prompt-footer small{font-size:10px;color:var(--text-muted)}.prompt-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding-right:6px}.prompt-heading .clear-prompt-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;min-height:32px;padding:6px 9px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text-secondary);font-size:11px;font-weight:550;line-height:1.4;box-shadow:none}.prompt-heading .clear-prompt-button:hover:not(:disabled){background:var(--surface-raised);color:var(--text-primary);border-color:var(--separator)}.prompt-heading .clear-prompt-button:focus-visible{outline:2px solid var(--blue);outline-offset:-3px}.prompt-heading .clear-prompt-button:disabled{opacity:.45;cursor:default}@media(pointer:coarse){.prompt-heading .clear-prompt-button{min-height:44px;padding-inline:12px}}.prompt-chip{background:rgb(var(--blue-rgb) / .071);color:var(--text-primary);border-color:rgb(var(--blue-rgb) / .243)}.prompt-chip[role=button]:hover{background:rgb(var(--blue-rgb) / .141);border-color:rgb(var(--blue-rgb) / .627)}.mention-menu{background:var(--overlay);border-color:rgb(var(--blue-rgb) / .263);box-shadow:0 12px 28px #0006;color:var(--text-primary)}.mention-menu button{color:var(--text-primary)}.parameter-grid{gap:10px}.parameter-grid select{font-size:12px;padding:11px 9px;min-height:44px}.switch-row{padding:2px 0}.switch-row span{font-size:12px;color:var(--text-secondary)}.switch-row input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:36px;height:22px;border-radius:14px;background:var(--separator);border:1px solid #d2d2d22b;padding:2px;position:relative;cursor:pointer;flex-shrink:0;transition:background-color .18s ease,border-color .18s ease}.switch-row input:before{content:"";display:block;width:16px;height:16px;background:var(--text-secondary);border-radius:50%;box-shadow:0 1px 3px #0003;transition:transform .18s var(--ease),background-color .18s ease}.switch-row input:checked{background:var(--blue);border-color:var(--blue)}.switch-row input:checked:before{transform:translate(14px);background:var(--on-action)}.advanced{border-top:1px solid #cccccc19;padding-top:14px}.advanced summary{color:var(--text-secondary);font-size:11px;min-height:26px;align-items:center;transition:color .16s ease}.advanced[open]>label{animation:soft-appear .18s var(--ease)}.generate-bottom{position:relative;z-index:1;flex:none;padding-top:16px;margin-top:0;border-top:1px solid #cbcbcb1a}.generate-bottom>.small{font-size:10px;margin:3px 0 11px;color:var(--text-secondary)}.primary,.primary.generate{border-radius:14px;font-weight:700;background:var(--action);color:var(--on-action);border-color:#ffffff1f;box-shadow:inset 0 1px #ffffff24}.primary.generate{min-height:52px;font-size:13px;gap:9px;overflow:visible}.generate>span{font-size:11px;font-weight:650}.generate-hint{padding-inline:6px;margin-top:11px;font-size:10px;color:var(--text-muted);line-height:1.65;gap:12px}.generate-hint kbd{font-size:10px;border-color:#cacaca25;background:#ffffff02;padding:1px 5px}@media(hover:hover)and (pointer:fine){.primary:not(:disabled):hover,.primary.generate:not(:disabled):hover{background:var(--action-hover);color:var(--on-action);border-color:#fff3;box-shadow:inset 0 1px #ffffff24}}.history{padding:0;min-width:0}.history-heading{min-height:48px;margin:0 0 21px;animation:none;align-items:center}.history-heading h2{font-size:28px;line-height:1.2;font-weight:550;letter-spacing:-.035em}.history-toolbar{margin-bottom:22px;gap:16px;flex-wrap:wrap}.history-filters{gap:8px;flex:1;justify-content:flex-end;flex-wrap:wrap;margin-left:auto;max-width:100%}.history-filters select,.search{height:42px;border-color:#d0d0d01d;border-radius:12px;background:#ffffff03;color:var(--text-secondary);font-size:11px}.search{min-width:170px;flex:1;max-width:240px}.search input{font-size:11px;color:var(--text-primary)}.search input:focus{box-shadow:none;outline:none}.search:focus-within{border-color:rgb(var(--blue-rgb) / .459)}.search svg{color:var(--text-muted)}.history-content{flex:1;min-width:0}.generation-list{gap:24px}.generation-card{border-radius:22px;border:1px solid #cdcdcd23;background:var(--surface);grid-template-columns:minmax(0,1fr) 270px;box-shadow:none;animation:none!important;transition:border-color .18s ease}.generation-card:hover{box-shadow:none;border-color:#cdcdcd4d}.result-surface{background:var(--canvas);min-height:320px;overflow:hidden}.result-info{background:linear-gradient(145deg,#ffffff03,transparent);padding:22px;gap:17px;border-left:1px solid #cfcfcf0d}.generation-model-label{gap:5px}.generation-model-label small{display:none}.generation-model-label strong{color:var(--text-primary);font-size:13px;line-height:1.5;font-weight:650}.generation-model-label span{color:var(--text-muted);font-size:10px}.result-model .icon-button{min-width:24px;min-height:24px;padding:2px;color:var(--text-secondary)}.result-prompt{color:var(--text-secondary);font-size:12px;line-height:1.85;max-height:160px;scrollbar-color:#b6b6b638 transparent}.result-refs{gap:6px}.result-refs button{width:36px;height:36px;border-radius:8px;border-color:#d1d1d128;overflow:hidden}.result-refs img{transition:transform .18s var(--ease)}.result-tags{gap:6px}.result-tags>span,.result-tags .seed-tag{border-radius:7px;padding:4px 6px;border:1px solid #d2d2d220;background:#ffffff03;color:var(--text-secondary);font-size:10px;font-weight:450;line-height:1.4;min-height:0}.result-tags .generation-cost{color:var(--text-primary);background:rgb(var(--blue-rgb) / .035);border-color:rgb(var(--blue-rgb) / .133)}.result-author{color:var(--text-muted);font-size:10px;gap:6px}.generation-timer{font-size:10px;color:var(--text-secondary)}.result-actions{gap:7px}.result-actions button{min-height:38px;font-size:10px;font-weight:550;border-color:#cacaca23;border-radius:10px;color:var(--text-secondary);background:#ffffff04;line-height:1.5}.status-badge{border:1px solid #cecece2b;background:#1d1d1deb;padding:7px 10px;color:var(--text-secondary);font-size:10px;box-shadow:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.status-badge.running,.status-badge.queued{color:var(--text-primary);border-color:rgb(var(--blue-rgb) / .188)}.status-badge.succeeded{color:var(--accent)}.status-badge.failed,.status-badge.needs_review{color:#e2bb88;background:#26211ceb;border-color:#e2bb8829}.expand-result,.download-overlay{width:34px;height:34px;min-height:34px;display:grid;place-items:center;padding:7px;border-radius:11px;color:var(--text-secondary);border:1px solid #dcdcdc2a;background:#1e1e1edb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.pending-result{padding:36px;color:var(--text-secondary);gap:14px}.pending-result>svg{color:var(--text-muted);stroke-width:1.4}.pending-result p{color:var(--text-secondary);font-size:12px}.generation-card.has-video .result-surface{width:100%;aspect-ratio:16/9;min-height:0;max-height:min(640px,70dvh)}.generation-card.has-video .result-surface video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;max-height:100%;display:block;object-fit:contain}.grid.generation-list{gap:22px}.grid .result-info{padding:20px}.grid .result-surface{min-height:250px}@media(hover:hover)and (pointer:fine){.result-refs button:hover img{transform:scale(1.07)}.result-tags .seed-tag:hover{border-color:rgb(var(--blue-rgb) / .396);background:rgb(var(--blue-rgb) / .043);color:var(--text-primary)}}.empty-history{min-height:480px;border:1px solid #cccccc1a;border-radius:24px;background:radial-gradient(ellipse at 50% 32%,#c0c0c008,transparent 58%),var(--surface);position:relative;overflow:hidden}.empty-symbol{width:84px;height:84px;border:1px solid rgb(var(--blue-rgb) / .153);background:linear-gradient(150deg,rgb(var(--blue-rgb) / .075),rgb(var(--blue-rgb) / .012));border-radius:25px;box-shadow:inset 0 1px #fbfbfb0e;color:var(--text-secondary)}.empty-spark{border-color:var(--surface);background:var(--action);color:var(--on-action)}.empty-history h3{font-size:25px;line-height:1.4;font-weight:550;color:var(--text-primary)}.empty-history>p{font-size:13px;color:var(--text-secondary);max-width:390px}.empty-steps{display:none}.empty-caption{margin-top:32px;color:var(--text-muted);font-size:10px}.history-footer{padding-top:26px;color:var(--text-tertiary);font-size:9px;letter-spacing:.03em}.load-more{margin:24px auto 0;display:flex;border-radius:12px}.generation-card.is-generating .result-surface{min-height:380px}.generation-playground{position:relative;width:100%;height:100%;min-height:380px;isolation:isolate;background:var(--canvas);overflow:hidden}.playground-canvas{position:absolute;top:0;right:0;bottom:0;left:0;animation:soft-appear .24s var(--ease);z-index:1}.playground-canvas>div{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important}.playground-canvas canvas{touch-action:pan-y}.playground-fallback{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;opacity:.35;pointer-events:none}.playground-fallback>div{position:absolute;width:120px;height:120px;border:1px solid rgb(var(--blue-rgb) / .333);border-radius:50%;transform:translate(-36px)}.playground-fallback>div:nth-child(2){width:190px;height:190px;transform:translate(28px);border-color:rgb(var(--blue-rgb) / .149)}.playground-fallback>div:nth-child(3){width:260px;height:260px;transform:translate(50px);border-color:rgb(var(--blue-rgb) / .078)}.generation-playground:has(canvas) .playground-fallback{display:none}.playground-caption{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:42px 25px 23px;background:linear-gradient(transparent,#121212e6 65%);z-index:2;pointer-events:none}.playground-state{display:flex;gap:12px;align-items:center}.playground-state>div{display:flex;flex-direction:column;gap:5px}.playground-state strong{font-size:15px;line-height:1.3;font-weight:550;color:var(--text-primary)}.playground-state>div>span{font-size:10px;line-height:1.5;color:var(--text-secondary)}.activity-orbit{width:28px;height:28px;border:1px solid #c6c6c633;border-top-color:var(--accent);border-right-color:rgb(var(--blue-rgb) / .592);border-radius:50%;animation:spin 2.8s linear infinite;flex-shrink:0}.generation-playground[data-playing=false] .activity-orbit{animation-play-state:paused}.playground-controls{display:flex;gap:6px;pointer-events:auto}.playground-controls button{width:32px;height:32px;min-width:32px;min-height:32px;padding:6px;border-radius:10px;border-color:#d1d1d126;color:var(--text-secondary);background:#ffffff06}.grid .generation-playground,.grid .generation-card.is-generating .result-surface{min-height:280px}.grid .playground-caption{padding:40px 18px 18px}.grid .playground-state strong{font-size:13px}.admin-page{max-width:1600px;padding:32px var(--page-gutter) 60px}.admin-heading{margin-bottom:30px}.admin-heading h1{font-size:32px;font-weight:550;line-height:1.35}.admin-heading p{font-size:13px;color:var(--text-muted)}.admin-badge{color:var(--text-muted);background:#ffffff03;border-color:#c7c7c727;font-size:10px}.admin-content{min-width:0}.data-panel,.metric,.chart-panel,.project-card,.provider-card{background:var(--surface);border:1px solid #cccccc21;border-radius:18px;box-shadow:none}.metric{padding:22px}.metric.accent{background:var(--surface);border-color:rgb(var(--blue-rgb) / .231)}.metric strong{font-weight:550;font-size:30px;letter-spacing:-.035em;color:var(--text-primary)}.metric>div span,.metric p,.panel-description,.settings-bottom p{color:var(--text-secondary)}.metrics{gap:16px}.panel-heading h2{font-size:18px;font-weight:550;letter-spacing:-.025em}.panel-heading{padding:22px 24px}.stats-filters{gap:12px}.stats-filters label{font-size:11px;color:var(--text-muted)}.stats-filters input,.stats-filters select{border-color:#d2d2d229;background:var(--input)}.stats-note{background:rgb(var(--blue-rgb) / .024);border-color:rgb(var(--blue-rgb) / .098);color:var(--text-secondary);font-size:11px;border-radius:11px}.table-scroll th{color:var(--text-secondary);background:rgb(var(--blue-rgb) / .024);font-weight:550;font-size:11px}.table-scroll td,.table-scroll th{border-color:#cdcdcd15}.table-scroll td{font-size:12px;color:var(--text-primary)}.table-scroll td small{color:var(--text-muted)}.table-scroll tbody tr{transition:background-color .14s ease}.table-scroll tbody tr:hover{background:rgb(var(--blue-rgb) / .016)}.table-status{border-radius:6px}.provider-card p,.provider-card>small{color:var(--text-secondary)}.provider-footer a{color:var(--text-secondary)}.provider-heading h3{font-size:16px}.connected{color:var(--accent)}.not-connected{color:#b9b4a0}.project-card p{color:var(--text-muted)}.folder-icon{background:rgb(var(--blue-rgb) / .039);color:var(--accent)}.project-card h3{font-size:15px;font-weight:600}.bar-pair>div,.chart-legend i{background:var(--blue)}.bar-pair .estimated-bar,.chart-legend .estimate-dot{background:#526b8a}.chart-day>span{color:var(--text-muted)}.chart-legend{color:var(--text-secondary)}.breakdown-row{border-color:rgb(var(--blue-rgb) / .094)}.breakdown-row span,.audit-list>div>span{color:var(--text-muted)}.request-id{background:var(--input);color:var(--text-secondary)}.billing-totals strong{font-weight:550;color:var(--text-primary)}.billing-panel .small{color:var(--text-secondary)}.modal{background:linear-gradient(145deg,#ffffff05,transparent),var(--raised);border:1px solid #d2d2d23b;border-radius:24px;padding:28px;box-shadow:0 28px 90px #0008;color:var(--text-primary)}.modal::backdrop{background:#0a0a0aad;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.modal-head{border-color:#d0d0d020}.modal-head h2{font-size:22px;font-weight:550}.modal-head .icon-button{border-radius:10px}.modal[open]{animation:soft-dialog .22s var(--ease)}.modal::backdrop{animation:soft-appear .2s ease}.modal .generation-card{border-radius:16px}.media-viewer{background:#0e0e0ef5}.viewer-toolbar{background:#222222bf;border-bottom-color:#d3d3d320;color:var(--text-secondary);gap:16px}.viewer-toolbar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewer-toolbar button{background:rgb(var(--blue-rgb) / .039);border-color:rgb(var(--blue-rgb) / .157);color:var(--text-secondary);border-radius:10px}.media-viewer[open]{animation:soft-appear .2s ease}.viewer-body img{border-radius:3px}.toast{background:#333333f5;border:1px solid #d9d9d944;border-radius:14px;color:var(--text-primary);box-shadow:0 10px 30px #0005;animation:none;font-size:12px;max-width:calc(100vw - 32px)}.error{background:#35251d;border-color:#b68c6438;border-radius:12px;color:#efcab0}.error button{border-color:#eac9ac3d;color:#f1d3b9}.auth-page{background:var(--background)}.auth-form .form-wrap{background:linear-gradient(150deg,#dfdfdf08,transparent),#191919dc;border-color:#d4d4d42b;border-radius:28px;-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px);box-shadow:0 25px 90px #0004}.auth-form h2{font-weight:550;font-size:26px;line-height:1.3}.auth-form .form-wrap>p{color:var(--text-secondary);font-size:12px;line-height:1.8}.auth-form input{background:#131313ad;border-color:rgb(var(--blue-rgb) / .188);min-height:46px}.auth-form label{font-size:12px;color:var(--text-secondary)}.auth-form .primary{min-height:48px}.auth-version{font-size:10px;background:#dfdfdf05;border-color:#cecece18;color:var(--text-muted)}.auth-brand .brand>b{font-size:28px;letter-spacing:-.035em}@keyframes soft-appear{0%{opacity:0}to{opacity:1}}@keyframes soft-dialog{0%{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media(min-width:1700px){.studio{grid-template-columns:390px minmax(0,1fr);gap:36px}.generation-card{grid-template-columns:minmax(0,1fr) 300px}.history-heading h2{font-size:31px}}@media(max-width:1200px){.history-filters{flex-basis:100%}.studio{grid-template-columns:330px minmax(0,1fr);gap:22px;padding-top:20px}.composer{top:108px;padding:22px!important;height:calc(100dvh - 128px);max-height:calc(100dvh - 128px)}.composer-title h1{font-size:22px}.history-heading h2{font-size:26px}.generation-card{grid-template-columns:1fr}.result-info{border-left:0;border-top:1px solid #cfcfcf10;padding:20px}.result-prompt{max-height:110px}.result-actions{flex-wrap:wrap}.result-actions button:first-child{flex-basis:100%}.admin-nav.segmented{width:100%}.admin-nav.segmented button{flex:none}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.topbar{height:auto;min-height:0;background:#101010f7;gap:12px}.topbar>.primary-tabs{grid-column:1/-1}.studio{display:flex;flex-direction:column;gap:28px;padding:18px 14px 28px}.composer{position:relative;top:auto;width:100%;height:auto;max-height:none;padding:22px!important;border-radius:24px}.composer-viewport{flex:none}.composer-scroll{height:auto;max-height:none;overflow:visible;padding-bottom:12px}.composer-title h1{font-size:23px}.history{width:100%;padding:0}.history-heading{margin-bottom:16px}.history-heading h2{font-size:24px}.history-toolbar{gap:14px;margin-bottom:18px}.history-filters{gap:8px}.history-filters select{flex:1;max-width:none;min-width:100px}.search{flex:1 0 100%;max-width:none}.segmented button{min-height:36px}.scope-tabs.segmented{width:204px}.generation-card{border-radius:20px}.generation-playground,.generation-card.is-generating .result-surface{min-height:300px}.playground-caption{padding:40px 17px 18px;gap:8px}.playground-state{gap:9px}.playground-state strong{font-size:14px}.playground-state>div>span{font-size:9px}.playground-controls button{width:36px;height:36px;min-height:36px}.activity-orbit{width:23px;height:23px}.result-info{padding:19px}.result-actions button{min-height:42px}.result-tags>span,.result-tags .seed-tag{font-size:10px}.empty-history{min-height:360px;padding:30px 20px}.empty-history h3{font-size:23px}.empty-history>p{font-size:12px}.empty-caption{font-size:10px;line-height:1.6}.admin-page{padding:24px 14px 40px}.admin-heading h1{font-size:26px;gap:8px}.admin-badge{display:none}.admin-nav.segmented{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.admin-nav.segmented button{font-size:11px;padding:8px 10px}.metrics{gap:10px}.metric{padding:16px}.metric strong{font-size:26px}.metric p{font-size:10px}.panel-heading{padding:19px}.modal{padding:22px;border-radius:22px}.viewer-toolbar{gap:8px;padding:10px}.viewer-toolbar button{font-size:11px;flex:none}.reference-row .icon-button,.noise-button{min-height:36px}}@media(prefers-reduced-transparency:reduce){.topbar,.composer,.generation-card,.modal,.auth-form .form-wrap{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:var(--surface)!important}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:active:not(:disabled){transform:none}.activity-orbit{border-color:rgb(var(--blue-rgb) / .439)}}.brand .brand-wordmark{display:block;width:84px;height:28px;object-fit:contain;flex:none}.auth-brand .brand .brand-mark img{width:56px;height:56px}.auth-brand .brand-wordmark{width:108px;height:36px}@media(max-width:760px){.topbar .brand-wordmark{width:75px;height:25px}}.topbar .account-actions>.profile-button{width:auto;min-width:0;min-height:44px;height:44px;padding:5px 10px 5px 5px;gap:8px;flex:none}.topbar .profile-button .avatar{display:flex;flex:0 0 32px;width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;max-height:32px;aspect-ratio:1;border-radius:50%;line-height:1}.topbar .profile-button .username{display:block;max-width:132px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}@media(min-width:1280px)and (max-width:1599px){.topbar .admin-toggle span,.topbar .profile-button>svg{display:none}.topbar .account-actions>.admin-toggle{width:40px;min-width:40px;height:44px;padding:8px}.topbar>.top-right{gap:12px}.topbar .byteplus-balance-compact{width:140px}.topbar .account-actions{gap:6px}.topbar .profile-button .username{max-width:105px}}@media(min-width:761px)and (max-width:1279px){.topbar{height:auto;min-height:0;row-gap:12px;background:#000000f5}.topbar>.brand-links{grid-row:1;grid-column:1/3}.topbar>.top-right{display:contents}.topbar .account-actions{grid-row:1;grid-column:3;justify-self:end}.topbar>.primary-tabs{grid-row:2;grid-column:2}.topbar .byteplus-balance-compact{grid-row:2;grid-column:3;justify-self:end;width:136px}.topbar .profile-button .username{max-width:140px}.composer{top:154px;height:calc(100dvh - 174px)}}@media(max-width:760px){.topbar .account-actions{grid-row:2;grid-column:1/-1;justify-self:stretch;gap:8px}.topbar .account-actions>.profile-button{flex:1;justify-content:flex-start}.topbar .profile-button .username{max-width:none;flex:1;text-align:left}.topbar .account-actions>.admin-toggle,.topbar .account-actions>.icon-button{width:44px;min-width:44px;height:44px;padding:10px;flex:none}.topbar>.primary-tabs{grid-row:3;grid-column:1/-1;width:min(276px,100%)}.topbar .byteplus-balance-compact{grid-row:1;grid-column:2;width:136px;margin:0}.topbar .brand .version{display:none}}.prompt-box{padding:8px 20px}.composer-scroll,.result-prompt,.result-rail .result-info{overscroll-behavior-y:auto}.overview-billing{margin:0 0 24px}.provider-expenses{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:24px 0}.provider-expenses dt{color:var(--muted);font-size:12px}.provider-expenses dd{margin:8px 0;font-size:24px;font-weight:650;font-variant-numeric:tabular-nums}.provider-expenses small{color:var(--muted);font-size:11px}.billing-detail-toggle{margin-top:8px}.image-options .parameter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-options .advanced{margin-top:16px}.image-options .advanced>label,.image-mask{margin-top:18px}.image-mask>span{font-size:12px}.mask-selection{display:flex;align-items:center;gap:12px}.mask-selection span{min-width:0;overflow:hidden;text-overflow:ellipsis}.result-pages{position:absolute;bottom:22px;left:50%;transform:translate(-50%);display:flex;gap:4px;flex-wrap:wrap;max-width:85%;padding:4px;border-radius:12px;background:#121212eb}.result-pages button{min-width:30px;min-height:30px;padding:4px 8px}.result-pages button.selected{background:var(--action);color:var(--on-action)}@media(max-width:900px){.provider-expenses{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}@media(max-width:480px){.provider-expenses dd{font-size:20px}.overview-billing .panel-heading{align-items:flex-start;gap:12px}}.model-balance.byteplus-balance-compact{display:flex;flex-direction:column;gap:8px;width:164px;flex:none}.model-balance .token-count{font-size:17px;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.025em}.model-balance .token-count small{font-size:10px;font-weight:450;color:var(--muted);letter-spacing:0}.balance-track{display:block;width:100%;height:3px;background:#dcdcdc1a;overflow:hidden;border-radius:3px}.balance-track>span{display:block;width:100%;height:100%;background:var(--accent);transform-origin:left;border-radius:3px}@media(max-width:1599px){.model-balance .token-count{font-size:14px}.model-balance .token-count small{font-size:9px}}.overview-billing>.provider-expenses,.overview-billing>.stats-note{padding-inline:24px}.overview-billing>.billing-detail-toggle{margin:0 24px 20px}.image-account-balances{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:18px 24px;border-top:1px solid var(--line)}.image-account-balances>div{display:grid;grid-template-columns:1fr auto;gap:6px 16px;align-items:baseline}.image-account-balances span,.image-account-balances small{color:var(--muted);font-size:12px}.image-account-balances small{grid-column:1/-1;font-size:11px}.image-account-balances strong{font-size:18px;font-variant-numeric:tabular-nums}@media(max-width:760px){.image-account-balances{grid-template-columns:1fr;gap:18px}}.user-avatar{display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;aspect-ratio:1}.user-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.author-identity{display:inline-flex;align-items:center;gap:7px;min-width:0}.author-identity .user-avatar{width:24px;height:24px;min-width:24px;flex:0 0 24px}.result-author .author-identity{line-height:1.4}.discussion-message-meta .author-identity{flex:1}.discussion-message-meta strong{min-width:0}.profile-modal{width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}.profile-modal .modal-head{margin-bottom:20px}.profile-identity{display:flex;align-items:center;gap:16px;margin-bottom:22px}.profile-identity .user-avatar{width:64px;height:64px;flex:0 0 64px;border-radius:50%}.profile-identity>div{min-width:0;display:grid;gap:5px}.profile-identity strong{font-size:18px;overflow-wrap:anywhere}.profile-identity>div>span{font-size:12px;color:var(--text-secondary);overflow-wrap:anywhere}.profile-tabs.segmented{width:100%;margin-bottom:20px}.profile-tabs.segmented button{flex:1;min-height:40px}.profile-content form{gap:16px}.profile-instruction{font-size:12px;color:var(--text-secondary);line-height:1.6;margin:0}.avatar-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;border:0;padding:3px;margin:0 0 4px;min-width:0}.profile-modal .avatar-choice{position:relative;display:block;aspect-ratio:1;min-width:44px;margin:0;padding:0;cursor:pointer;border-radius:50%;border:2px solid transparent;transition:transform .15s ease-out,border-color .15s ease-out}.avatar-choice img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;border-radius:50%}.avatar-choice input{position:absolute;width:1px;height:1px;opacity:0;margin:0;padding:0;top:50%;right:50%;bottom:50%;left:50%;pointer-events:none}.avatar-choice.is-selected{border-color:var(--accent)}.avatar-choice:has(input:focus-visible){outline:2px solid var(--text-primary);outline-offset:3px}.avatar-check{position:absolute;right:-1px;bottom:0;display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;color:var(--raised);background:var(--accent);opacity:0;transform:scale(.6);transition:transform .15s ease-out,opacity .15s ease-out}.is-selected .avatar-check{opacity:1;transform:scale(1)}.avatar-picker:disabled .avatar-choice{cursor:wait;opacity:.65}.profile-save{width:100%;min-height:44px}.profile-content .error{margin:12px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.video-playback-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:40px 24px;text-align:center;min-height:220px;color:var(--text-primary)}.video-playback-fallback span{font-size:12px;color:var(--text-secondary)}.video-playback-fallback a{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:12px;background:rgb(var(--blue-rgb) / .078);color:var(--text-primary)}@media(hover:hover){.avatar-choice:hover{transform:translateY(-2px);border-color:rgb(var(--blue-rgb) / .502)}}@media(max-width:480px){.avatar-picker{gap:9px}.profile-modal{padding:20px}.profile-identity{margin-bottom:18px}}@media(prefers-reduced-motion:reduce){.avatar-choice,.avatar-check{transition:none!important;background:var(--action);color:var(--on-action)}.avatar-choice:hover{transform:none}}.loading>.spin,.admin-loading .spin{color:var(--accent)}input[type=checkbox],input[type=range]{accent-color:var(--blue)}*::-webkit-scrollbar-thumb{background:#8e8e9366;border-radius:10px}*::-webkit-scrollbar-track{background:transparent}.pending-result .check-result{min-height:42px;padding:10px 16px;margin-top:4px;border-color:rgb(var(--blue-rgb) / .3);color:var(--blue-text);background:rgb(var(--blue-rgb) / .1);font-size:12px;border-radius:12px}.nano-options textarea{width:100%;min-height:96px;resize:vertical}.nano-options .small{line-height:1.6;overflow-wrap:anywhere}.nano-options .advanced>label,.nano-options .advanced>.parameter-grid{margin-top:14px}.nano-price-note{margin:12px 0 0}.model-description p{white-space:pre-wrap;overflow-wrap:anywhere}.document-preview{display:grid;justify-items:center;gap:16px;max-width:65ch;text-align:center;overflow-wrap:anywhere}.document-preview a{display:flex;align-items:center;gap:8px;color:var(--accent)}.topbar>.brand-links{display:flex;align-items:center;justify-self:start;min-width:0;gap:14px}.brand-links>.brand{flex:none;gap:10px}.brand-divider{flex:0 0 1px;width:1px;height:24px;background:var(--line)}.boards-shortcut{display:flex;align-items:center;gap:6px;min-height:44px;padding:4px 8px 4px 0;color:var(--text-secondary);border-radius:10px;text-decoration:none;transition:background-color .16s ease,color .16s ease}.boards-shortcut .brand{gap:8px}.topbar .boards-shortcut .brand>b{gap:7px;align-items:baseline}.brand-product{font-size:16px;font-weight:500;line-height:1;letter-spacing:-.02em;color:var(--text-secondary)}.boards-shortcut>svg{flex:none;color:var(--text-muted)}.boards-shortcut:focus-visible{outline-offset:2px}.admin-footer{padding:0 var(--page-gutter) 24px}@media(hover:hover){.boards-shortcut:hover{background:#ffffff0a;color:var(--text-primary)}.boards-shortcut:hover .brand-product,.boards-shortcut:hover>svg{color:var(--blue-text)}}@media(max-width:760px){.topbar>.brand-links{grid-row:1;grid-column:1/-1;gap:10px}.brand-links>.brand{gap:8px}.topbar .brand-links>.brand .brand-wordmark{width:66px;height:22px}.boards-shortcut{padding:4px 6px 4px 0;gap:4px}.boards-shortcut .brand{gap:6px}.topbar .boards-shortcut .brand-mark,.topbar .boards-shortcut .brand-mark img{width:28px;height:28px}.topbar .boards-shortcut .brand-wordmark{width:60px;height:20px}.topbar .boards-shortcut .brand>b{gap:6px}.boards-shortcut .brand-product{font-size:14px}.topbar>.primary-tabs{grid-row:3;grid-column:1;width:100%;max-width:230px;justify-self:start}.topbar .primary-tabs.segmented button{min-width:0;padding-inline:8px;font-size:12px}.topbar .byteplus-balance-compact{grid-row:3;grid-column:2;width:124px;margin:0}}@media(max-width:400px){.boards-shortcut>svg{display:none}.topbar .primary-tabs .segment-label>svg{display:none}.topbar .byteplus-balance-compact{width:112px}.topbar .model-balance .token-count{font-size:13px}}@media(prefers-reduced-motion:reduce){.boards-shortcut{transition:none}}.studio-select-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:44px;padding:11px 16px 11px 12px;border:1px solid #d4d4d423;border-radius:12px;background:var(--surface-input);color:var(--text);font:inherit;font-size:13px;font-weight:450;text-align:left;cursor:pointer;isolation:isolate}.studio-select-trigger:active:not(:disabled){transform:none}.studio-select-trigger[data-state=open]{border-color:rgb(var(--blue-rgb) / .518);background:var(--raised);box-shadow:none}.studio-select-trigger:focus,.studio-select-trigger:focus-visible{outline:none;box-shadow:none}.studio-select-trigger[data-input=keyboard]:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}.studio-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.studio-select-chevron{display:flex;flex:none;color:var(--text-muted);transition:transform .2s var(--ease-out),color .18s ease}.studio-select-trigger[data-state=open] .studio-select-chevron{transform:rotate(180deg);color:var(--accent)}.studio-select-trigger:disabled{cursor:not-allowed;opacity:.38}.select-wrap>.studio-select-trigger{height:46px;padding:0 16px 0 13px;font-size:13px}.select-wrap:has(.studio-select-trigger)>svg{display:none}.select-wrap .studio-select-chevron svg{position:static;pointer-events:none}.parameter-grid .studio-select-trigger{font-size:12px;padding:11px 16px 11px 12px;gap:6px}.history-filters>.studio-select-trigger{flex:0 1 160px;max-width:160px;min-height:42px;height:42px;padding:8px 16px 8px 12px;font-size:11px;background:#ffffff03;color:var(--text-secondary);border-color:#d0d0d01d}.stats-filters>.studio-select-trigger{width:auto;min-width:138px;max-width:260px;font-size:12px;min-height:43px;background:var(--input);border-color:#d2d2d229}.studio-select-popup{position:relative;z-index:1000;isolation:isolate;box-sizing:border-box;width:var(--radix-select-trigger-width);min-width:156px;max-width:calc(100vw - 24px);max-height:min(320px,var(--radix-select-content-available-height));overflow:hidden;padding:5px;border:1px solid #dedede3d;border-radius:17px;background:linear-gradient(145deg,#f1f1f10b,transparent 56%),#1f1f1ff7;-webkit-backdrop-filter:blur(22px) saturate(120%);backdrop-filter:blur(22px) saturate(120%);box-shadow:0 16px 40px #0007,0 3px 8px #0003;transform-origin:var(--radix-select-content-transform-origin);outline:none;color:var(--text)}.studio-select-popup:before{content:"";position:absolute;top:0;left:15%;right:15%;height:1px;background:linear-gradient(90deg,transparent,#e4e4e499,transparent);pointer-events:none}.studio-select-popup[data-state=open]{animation:select-unfold .2s var(--ease-out)}.studio-select-popup[data-state=closed]{animation:select-fold .14s var(--ease-out)}.studio-select-popup[data-side=top]{--select-offset:4px}.studio-select-popup[data-side=bottom]{--select-offset:-4px}.studio-select-options{padding:0;max-height:inherit;scrollbar-color:#aaaaaa55 transparent;scrollbar-width:thin;overscroll-behavior:contain}.studio-select-option{position:relative;isolation:isolate;display:flex;align-items:center;min-height:38px;padding:9px 10px;outline:none;border-radius:11px;cursor:pointer;font-size:12px;font-weight:450;line-height:1.45;color:var(--text-secondary);-webkit-user-select:none;user-select:none;scroll-margin:5px}.studio-select-option[data-state=checked]{color:var(--text-primary);font-weight:600}.studio-select-option[data-highlighted]{color:var(--text-primary);background:rgb(var(--blue-rgb) / .125)}.studio-select-option[data-disabled]{opacity:.35;pointer-events:none}.studio-select-item-content{display:flex;width:100%;align-items:center;justify-content:space-between;gap:16px;min-width:0;animation:select-item-in .18s var(--ease-out) both;animation-delay:var(--option-delay,0ms)}.studio-select-item-content>span:first-child{overflow-wrap:anywhere}.studio-select-check{width:16px;display:flex;flex:none;align-items:center;justify-content:center;color:var(--accent)}.studio-select-check svg{display:block;stroke-width:2}.studio-select-scroll{display:flex;align-items:center;justify-content:center;height:22px;color:var(--text-secondary);cursor:default;background:var(--raised)}@keyframes select-unfold{0%{opacity:0;transform:translateY(var(--select-offset,-4px)) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes select-fold{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:translateY(var(--select-offset,-4px)) scale(.97)}}@keyframes select-item-in{0%{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.studio-select-popup[data-input=keyboard],.studio-select-popup[data-input=keyboard] .studio-select-item-content{animation:none}.studio-select-trigger[data-input=keyboard] .studio-select-chevron{transition:none}@media(hover:hover)and (pointer:fine){.studio-select-trigger:not(:disabled):hover{background-color:var(--raised);border-color:rgb(var(--blue-rgb) / .322)}}@media(max-width:760px){.studio-select-option{min-height:44px;font-size:13px}.history-filters>.studio-select-trigger{flex:1;max-width:none;min-width:100px}.stats-filters>.studio-select-trigger{flex:1;max-width:none;min-width:130px}}@media(prefers-reduced-motion:reduce){.studio-select-popup,.studio-select-item-content{animation:none!important}.studio-select-chevron{transition:none!important}}@media(prefers-reduced-transparency:reduce){.studio-select-popup{background:var(--overlay);-webkit-backdrop-filter:none;backdrop-filter:none}}.duration-control{margin-top:18px;padding:13px 16px 12px;border:1px solid #d4d4d423;border-radius:14px;background:var(--input);min-width:0}.duration-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:2px}.duration-heading label{margin:0;font-size:11px;font-weight:550;letter-spacing:.015em;color:var(--text-secondary)}.duration-value{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:5px;min-width:62px;color:var(--text-primary);line-height:1.3;font-variant-numeric:tabular-nums}.duration-value>span{display:inline-block;font-size:18px;font-weight:650;letter-spacing:-.02em}.duration-value small{font-size:10px;color:var(--text-muted);font-weight:450}.duration-scrubber{position:relative;height:44px;isolation:isolate}.duration-rail{position:absolute;top:15px;left:7px;right:7px;height:4px;border-radius:4px;background:rgb(var(--blue-rgb) / .11);overflow:hidden;pointer-events:none}.duration-rail>span{display:block;width:100%;height:100%;transform-origin:left center;background:var(--accent);border-radius:4px}.duration-ticks{position:absolute;top:26px;left:7px;right:7px;height:12px;pointer-events:none}.duration-ticks i{position:absolute;top:0;width:1px;transform:translate(-50%);border-radius:1px;background:#afafaf4d;transition:height .12s var(--ease-out),background-color .12s ease}.duration-ticks i[data-passed]{background:rgb(var(--blue-rgb) / .549)}.duration-range[type=range]{-moz-appearance:none;appearance:none;-webkit-appearance:none;position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:44px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;cursor:ew-resize;touch-action:pan-y}.duration-range[type=range]:focus,.duration-range[type=range]:hover{background:transparent;border:0;box-shadow:none;outline:none}.duration-range::-webkit-slider-runnable-track{height:44px;background:transparent;border:none}.duration-range::-webkit-slider-thumb{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:14px;height:26px;margin-top:4px;border:1px solid #efefef88;border-radius:6px;background:var(--accent);box-shadow:0 3px 7px #0005;transition:background-color .12s ease}.duration-range::-moz-range-track{height:44px;background:transparent;border:none}.duration-range::-moz-range-thumb{width:14px;height:26px;border:1px solid #efefef88;border-radius:6px;background:var(--accent);box-shadow:0 3px 7px #0005}.duration-range:active::-webkit-slider-thumb{background:var(--accent)}.duration-range:active::-moz-range-thumb{background:var(--accent)}.duration-control:has(.duration-range:focus-visible){box-shadow:inset 0 0 0 2px var(--accent)}.duration-scale{height:15px;position:relative;margin:0 7px;color:var(--text-muted);font-size:10px;font-variant-numeric:tabular-nums;line-height:15px}.duration-scale span{position:absolute;transform:translate(-50%)}.duration-scale [data-edge=start]{transform:none}.duration-scale [data-edge=end]{transform:translate(-100%)}.duration-control[data-disabled]{opacity:.45}.duration-range:disabled{cursor:not-allowed}@media(prefers-reduced-motion:reduce){.duration-ticks i,.duration-range::-webkit-slider-thumb{transition:none}}.result-rail{min-width:0;display:flex;flex-direction:column;border-left:1px solid #ffffff12;background:var(--surface);overflow:hidden}.discussion-toolbar{display:flex;align-items:center;gap:8px;padding:12px 14px;flex-shrink:0;border-bottom:1px solid #ffffff12}.discussion-tabs.segmented{flex:1;min-width:0;padding:3px;gap:2px;border-radius:12px}.discussion-tabs.segmented button{font-size:11px;padding:8px 9px;min-height:32px;border-radius:9px}.discussion-tabs .segment-label{gap:5px}.discussion-tabs .segment-count{font-size:10px;color:var(--text-secondary);min-width:12px;text-align:center;font-variant-numeric:tabular-nums}@media(hover:hover){.discussion-tabs.segmented button:not(.active):hover{background:#dadada0a!important;color:var(--text-primary)}}.generation-like{display:flex;gap:5px;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:6px;border:0;background:transparent;border-radius:10px;color:var(--text-secondary);margin-bottom:0;font-size:11px;font-variant-numeric:tabular-nums;transition:transform .14s ease-out,background .14s ease-out}.generation-like svg{flex-shrink:0}.generation-like.is-liked{color:var(--accent)}.generation-like.is-liked svg{fill:currentColor}.discussion-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:9px 14px;border-bottom:1px solid #ffffff0e;flex-shrink:0}.discussion-meta:empty{display:none}.discussion-meta .seed-tag{display:inline-flex;align-items:center;gap:5px;background:#ffffff04;border:1px solid #cccccc25;border-radius:7px;padding:4px 6px;min-height:27px;color:var(--text-secondary);font-size:10px;font-variant-numeric:tabular-nums;box-shadow:none}.discussion-meta .generation-timer{font-size:10px;font-variant-numeric:tabular-nums}.discussion-notice{color:var(--text-secondary);font-size:10px;line-height:1.5;padding:8px 14px;margin:0;flex-shrink:0}.generation-like:active{transform:scale(.94)}.result-rail .result-info{border:0;background:transparent;flex:1;min-height:0;gap:17px}.generation-card.has-video:not(.grid .generation-card) .result-rail{height:0;min-height:100%}.generation-card.has-video:not(.grid .generation-card) .result-rail .result-info{height:auto;min-height:0;overflow-y:auto}.result-rail [hidden]{display:none!important}.discussion-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.generation-chat{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;height:390px}.discussion-scroll-lane{flex:1;min-height:0;display:flex;padding:0 14px}.discussion-messages{flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior-y:auto;padding:18px 2px;scrollbar-width:thin;scrollbar-color:#74747470 transparent}.discussion-message+.discussion-message{margin-top:19px}.discussion-message-meta{display:flex;gap:8px;align-items:baseline;justify-content:space-between;margin-bottom:5px}.discussion-message-meta strong{font-size:11px;font-weight:650;color:var(--text-secondary);overflow-wrap:anywhere}.discussion-message.is-own .discussion-message-meta strong{color:var(--accent)}.discussion-message-meta time{font-size:10px;color:var(--text-secondary);flex-shrink:0;font-variant-numeric:tabular-nums}.discussion-message p{font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:var(--text-primary)}.discussion-empty{display:flex;min-height:140px;height:100%;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--text-secondary);font-size:12px;line-height:1.7}.discussion-empty svg{color:var(--accent);margin-bottom:12px;opacity:.8}.discussion-empty p{margin:0 0 4px;color:var(--text-primary);font-size:13px;font-weight:600}.discussion-empty span{max-width:24ch}.discussion-composer{flex-shrink:0;padding:12px 14px 14px;border-top:1px solid #ffffff0e}.discussion-composer form{position:relative}.discussion-composer textarea{display:block;width:100%;resize:vertical;min-height:76px;max-height:150px;margin:0;background:var(--input);border:1px solid #d1d1d129;border-radius:12px;padding:12px 43px 12px 12px;color:var(--text-primary);font-family:inherit;font-size:12px;line-height:1.6;caret-color:var(--accent)}.discussion-composer textarea::placeholder{color:var(--text-secondary);opacity:1}.discussion-send{position:absolute;bottom:8px;right:8px;min-width:30px;min-height:30px;display:grid;place-items:center;border:0;border-radius:8px;background:var(--action);color:var(--on-action);padding:6px;transition:transform .14s ease-out}.discussion-send:disabled{opacity:.35;background:var(--text-muted);color:var(--input)}.discussion-send:active:not(:disabled){transform:scale(.94)}.discussion-compose-hint{display:flex;gap:8px;justify-content:space-between;margin-top:8px;color:var(--text-secondary);font-size:9px;line-height:1.5}.discussion-compose-hint span:last-child{text-align:right}.discussion-error{color:#efc193;font-size:11px;line-height:1.55;margin:0;padding:8px 14px;overflow-wrap:anywhere}.discussion-composer .discussion-error{padding:0 0 9px}.discussion-earlier{display:block;border:0;background:transparent;color:var(--accent);font-size:11px;padding:4px 0 16px;margin:auto}.discussion-latest{position:absolute;bottom:130px;align-self:center;display:flex;align-items:center;gap:5px;border:1px solid rgb(var(--blue-rgb) / .302);border-radius:16px;padding:7px 12px;background:var(--raised);color:var(--text-primary);font-size:10px;box-shadow:0 4px 12px #0003}.result-rail button:focus-visible,.result-rail textarea:focus-visible,.discussion-messages:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.result-rail ::selection{background:rgb(var(--blue-rgb) / .231);color:var(--text-primary)}.grid .result-rail{border-left:0;border-top:1px solid #ffffff12;flex:1}@media(hover:hover){.generation-like:hover{background:rgb(var(--blue-rgb) / .063)}.discussion-earlier:hover{color:var(--text-primary)}}@media(min-width:1201px){.generation-card{grid-template-columns:minmax(0,1fr) 300px}}@media(min-width:1700px){.generation-card{grid-template-columns:minmax(0,1fr) 320px}}@media(max-width:1200px){.generation-card.has-video:not(.grid .generation-card) .result-rail{height:auto;min-height:0}.result-rail{border-left:0;border-top:1px solid #ffffff12}.generation-chat{flex:auto;height:370px}.discussion-toolbar{padding:12px 18px}.discussion-scroll-lane{padding:0 18px}.discussion-messages{padding:18px 2px}.discussion-composer{padding:12px 18px 16px}}@media(prefers-reduced-motion:reduce){.result-rail *,.result-rail *:after{animation:none!important;transition:none!important}}.discussion-message-meta{align-items:center}.result-refs button{min-width:44px;min-height:44px;padding:0;border:0;flex-shrink:0;cursor:zoom-in}.result-refs button:focus-visible,.media-viewer button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.reference-viewer[open]{animation:reference-viewer-in .16s ease-out}.viewer-toolbar button[aria-label="Закрыть просмотр"]{min-width:44px;min-height:44px;flex-shrink:0}.viewer-image-close{width:100%;height:100%;display:flex;align-items:center;justify-content:center;max-width:100%;max-height:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:zoom-out}.viewer-image-close:hover,.viewer-video-close:hover{background:transparent}.viewer-image-close img{width:100%;height:100%;object-fit:contain;max-height:calc(100dvh - 96px);cursor:zoom-out}.viewer-reference-video{position:relative;display:flex;max-width:100%;max-height:100%}.viewer-reference-video video{width:100%;max-height:calc(100dvh - 96px)}.viewer-video-close{position:absolute;top:0;right:0;bottom:64px;left:0;padding:0;border:0;border-radius:0;background:transparent;cursor:zoom-out}.viewer-reference-video:has(.video-playback-fallback) .viewer-video-close{display:none}@keyframes reference-viewer-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.reference-viewer[open]{animation:none}}.upload-area.reference-split{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;flex-shrink:0;min-height:102px}.reference-split button{width:100%;min-width:0;min-height:100px;padding:17px 8px;border-radius:0;gap:6px}.reference-split button+button{border-left:1px solid var(--line)}.reference-split button:focus-visible{outline-offset:-4px}.reference-split button:disabled{opacity:.55}.reference-split button small{max-width:135px}.reference-split:hover svg{transform:none}.reference-split button:not(:disabled):hover svg{transform:translateY(-2px)}.recent-modal[open]{display:flex;flex-direction:column;width:min(800px,calc(100vw - 32px));max-height:min(760px,calc(100dvh - 48px));padding:0;overflow:hidden;border-radius:24px;background:var(--surface);color:var(--text);animation:recent-enter .18s var(--ease-out)}.recent-modal::backdrop{background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.recent-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 24px 20px;flex:none;border-bottom:1px solid var(--line);background:linear-gradient(150deg,#ffffff09,transparent)}.recent-head>div{min-width:0}.recent-head h2{font-size:23px;letter-spacing:-.025em;margin:0 0 8px}.recent-head p{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px;color:var(--text-secondary);margin:0}.recent-head p>span{overflow-wrap:anywhere}.recent-private{color:var(--text-muted);margin-left:9px}.recent-scroll{padding:20px 24px;overflow:auto;overscroll-behavior:contain;min-height:180px}.recent-sort{display:flex;align-items:center;gap:6px;color:var(--text-muted);font-size:11px;margin-bottom:14px}.recent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 14px}.recent-item{display:flex;align-items:stretch;flex-direction:column;gap:0;padding:0;min-width:0;min-height:0;text-align:left;border:0;background:transparent;border-radius:12px}.recent-item:not(:disabled):hover{background:transparent}.recent-item:focus-visible{outline-offset:4px}.recent-preview{display:flex;position:relative;align-items:center;justify-content:center;aspect-ratio:1;width:100%;overflow:hidden;border-radius:12px;background:var(--input);color:var(--text-secondary);border:1px solid var(--line);transition:border-color .15s ease,background-color .15s ease}.recent-preview img{width:100%;height:100%;object-fit:contain;display:block}.recent-check{position:absolute;top:8px;right:8px;width:24px;height:24px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#08080acc;color:var(--text-primary);border:1px solid #ffffff40}.recent-item.is-selected .recent-preview{border-color:var(--blue-text);box-shadow:inset 0 0 0 1px var(--blue-text)}.recent-item.is-selected .recent-check{background:var(--action);border-color:var(--blue-text);color:var(--on-action)}.recent-item.is-added{opacity:.6}.recent-media-label{position:absolute;bottom:10px;font-size:11px;color:var(--text-secondary)}.recent-name{font-size:12px;color:var(--text-primary);font-weight:550;margin-top:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-meta{font-size:10px;color:var(--text-muted);font-weight:450;margin-top:4px}.recent-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid var(--line);flex:none;background:var(--surface)}.recent-footer p{font-size:12px;color:var(--text-secondary);margin:0}.recent-footer .primary{width:auto;min-height:44px;font-size:12px;white-space:nowrap;padding:10px 16px}.recent-loading,.recent-empty{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--text-muted);padding:32px 0;font-size:13px}.recent-empty{flex-direction:column;text-align:center;min-height:230px}.recent-empty h3{font-size:16px;color:var(--text-primary);margin:0}.recent-empty p{max-width:340px;margin:0;line-height:1.7;font-size:13px}.recent-error{padding:20px 0;color:var(--text-secondary);font-size:13px}.recent-error button{display:flex;align-items:center;gap:8px}.recent-more{display:block;margin:22px auto 0;font-size:12px}@keyframes recent-enter{0%{opacity:.6;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.recent-modal[open]{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:20px}.recent-head{padding:20px 16px 16px}.recent-head h2{font-size:21px}.recent-private{flex-basis:100%;margin-left:0}.recent-scroll{padding:16px}.recent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.recent-footer{padding:14px 16px;gap:8px}.recent-footer p{font-size:11px}}@media(prefers-reduced-motion:reduce){.recent-modal[open]{animation:none}.recent-preview{transition:none}.reference-split button:not(:disabled):hover svg{transform:none}}@media(prefers-reduced-transparency:reduce){.recent-modal::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#000d}}.video-generation-mode{margin:18px 0 16px}.video-generation-mode>.section-label{margin:0 0 8px}.video-generation-mode .segmented{width:100%}.video-generation-mode button{flex:1;min-height:42px}.video-generation-mode .small{margin:10px 0 0;line-height:1.6}.draft-finalization{margin-top:14px}.draft-finalization .draft-final-button{width:100%;min-height:44px;color:var(--accent);background:rgba(var(--blue-rgb),.08);border-color:rgba(var(--blue-rgb),.28)}.draft-finalization>.small{margin:8px 0 0;line-height:1.5;font-size:12px}.draft-finalization>.error{margin-top:8px}.draft-final-modal{width:min(460px,calc(100vw - 32px))}.draft-final-intro{color:var(--text);line-height:1.7;margin:0 0 20px}.draft-final-summary{margin:0 0 18px}.draft-final-summary>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line)}.draft-final-summary dt{color:var(--muted)}.draft-final-summary dd{margin:0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.draft-final-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:24px}.draft-final-actions button{min-height:44px}.draft-final-modal .small{line-height:1.7}@media(max-width:480px){.draft-final-actions .primary{width:100%;order:-1}.draft-final-summary>div{gap:12px}}.prompt-heading-actions{display:flex;gap:6px;align-items:center;min-width:0}.prompt-heading{gap:8px;padding-right:2px}.expand-prompt-button{flex:none;width:32px;height:32px;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:9px;color:var(--text-secondary)}.expand-prompt-button:hover{color:var(--blue-text);background:var(--overlay)}.expand-prompt-button:focus-visible{outline-offset:-3px}.prompt-editor .prompt-chip[role=button]{user-select:all;-webkit-user-select:all}.prompt-editor .prompt-chip img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;pointer-events:none}.prompt-editor ::selection,.prompt-editor::selection{background:rgb(var(--blue-rgb) / .35);color:var(--text-primary)}.modal.expanded-prompt-modal{width:min(1000px,calc(100vw - 40px));height:min(850px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;overflow:hidden;flex-direction:column}.expanded-prompt-modal[open]{display:flex}.expanded-prompt-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid var(--line);flex:none;background:#ffffff03}.expanded-prompt-head h2{font-size:23px;font-weight:600}.expanded-prompt-head>div{display:flex;gap:6px}.expanded-prompt-head .icon-button{width:40px;height:40px;border-radius:10px}.expanded-prompt-references{display:flex;align-items:center;gap:8px;padding:12px 24px;overflow-x:auto;flex:none;border-bottom:1px solid var(--line);scrollbar-width:thin}.expanded-prompt-references button{flex:none;gap:7px;height:38px;padding:4px 9px 4px 4px;border-radius:9px;background:var(--input);font-size:12px;color:var(--text-secondary)}.expanded-prompt-references img{width:28px;height:28px;border-radius:6px;object-fit:cover}.expanded-prompt-body{flex:1;min-height:0;display:flex;padding:0 24px}.expanded-prompt-body>div{width:100%;display:flex;min-height:0}.expanded-prompt-body .prompt-box{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;max-height:none;margin:0;padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;position:relative}.expanded-prompt-body .prompt-editor{flex:1;min-height:0;max-height:none;width:100%;padding:24px max(4px,calc((100% - 74ch)/2));font-size:15px;line-height:1.85;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;caret-color:var(--blue-text)}.expanded-prompt-body .prompt-footer{flex:none;padding:10px 0}.expanded-prompt-body .mention-menu{bottom:54px;top:auto;left:0;right:auto;width:min(360px,100%);max-height:240px;overflow:auto;z-index:2}.expanded-prompt-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:14px 24px;border-top:1px solid var(--line);background:#ffffff03}.expanded-prompt-bottom>span{font-size:12px;color:var(--text-secondary)}.expanded-prompt-bottom .primary{min-height:42px;min-width:112px;padding:10px 20px;border-radius:12px}.history{overflow-anchor:none}.history-heading{position:sticky;top:var(--history-sticky-top,96px);z-index:12;flex-wrap:wrap;row-gap:4px;padding:8px 12px;margin-inline:0;border-radius:14px;border-bottom:0;background:color-mix(in srgb,var(--surface) 94%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 6px 20px #0003}.history [data-generation-id]{scroll-margin-top:var(--history-scroll-offset,172px)}.history-scale{display:flex;align-items:center;gap:3px;min-height:40px;margin-left:auto;color:var(--text-secondary)}.history-scale-label{font-size:11px;margin-right:7px}.history-scale button{border:0;background:transparent;width:32px;height:36px;padding:0;color:var(--text-secondary)}.history-scale button:hover:not(:disabled){color:var(--blue-text)}.history-scale button:disabled{opacity:.5}.history-scale output{min-width:53px;font-size:11px;text-align:right;font-variant-numeric:tabular-nums}.history-scale input[type=range]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:100px;height:32px;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;outline-offset:0}.history-scale input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:3px;background:linear-gradient(to right,var(--blue-text) var(--scale-progress),var(--separator) var(--scale-progress))}.history-scale input[type=range]::-moz-range-track{height:4px;border-radius:3px;background:var(--separator)}.history-scale input[type=range]::-moz-range-progress{height:4px;background:var(--blue-text)}.history-scale input[type=range]::-webkit-slider-thumb{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:var(--text-primary);margin-top:-5px;box-shadow:0 2px 5px #0006}.history-scale input[type=range]::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:var(--text-primary)}.history-scale input:focus-visible{outline:2px solid var(--blue-text);border-radius:8px}.generation-list.history-mosaic{display:grid;grid-template-columns:repeat(var(--history-columns),minmax(0,1fr));gap:10px;align-items:start}.history-tile{min-width:0;position:relative;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);transition:border-color .16s ease-out}.history-tile:hover{border-color:var(--text-tertiary)}.history-tile.has-likes{border-color:var(--blue-text);background:color-mix(in srgb,var(--blue) 9%,var(--surface))}.history-tile-open{display:block;text-align:left;width:100%;padding:0;border:0;border-radius:0;background:none;font-weight:400}.history-tile-open:hover{background:#ffffff04}.history-tile-open:focus-visible{outline-offset:-3px;border-radius:11px}.history-tile-media{position:relative;aspect-ratio:16/11;background:var(--canvas);display:flex;align-items:center;justify-content:center;overflow:hidden}.history-tile-media img{width:100%;height:100%;object-fit:contain}.history-tile-hover-video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;background:var(--canvas);pointer-events:none;opacity:0}.history-tile-hover-video.is-playing{opacity:1}.history-tile-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:8px;color:var(--text-secondary);text-align:center;font-size:11px;line-height:1.4}.history-tile-duration,.history-tile-state{position:absolute;bottom:6px;right:6px;display:flex;align-items:center;gap:4px;background:#08080ae6;color:var(--text-primary);font-size:10px;border-radius:5px;padding:3px 5px;font-variant-numeric:tabular-nums}.history-tile-state{bottom:auto;top:6px;right:auto;left:6px;font-size:9px}.history-tile-caption{display:flex;flex-direction:column;gap:4px;padding:9px 9px 0;min-width:0}.history-tile-caption strong{font-size:11px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-tile-caption time{font-size:10px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-tile-bottom{display:flex;align-items:center;justify-content:space-between;gap:2px;padding:0 5px 2px 9px;min-height:36px}.history-tile-author{font-size:10px;color:var(--text-secondary);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.history-tile-bottom .generation-like{flex:none;min-width:32px;min-height:34px;padding:4px;gap:4px}.history-tile-bottom .generation-like span{font-size:10px}.history-tile.has-likes .generation-like{color:var(--blue-text)}.history-tile-comments{position:absolute;top:6px;right:6px;pointer-events:none;display:flex;gap:4px;align-items:center;padding:3px 5px;border-radius:5px;background:#08080ae6;color:var(--text-primary);font-size:10px}.history-tile-error{padding:8px;font-size:10px;color:var(--warning)}@media(max-width:760px){.history-scale{margin-left:0;width:100%;justify-content:flex-end}.history-scale-label{margin-right:auto}.history-scale input[type=range]{width:130px}.modal.expanded-prompt-modal{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:18px}.expanded-prompt-head{padding:12px 16px}.expanded-prompt-references{padding:10px 16px}.expanded-prompt-body{padding:0 12px}.expanded-prompt-body .prompt-editor{font-size:16px;padding:16px 4px}.expanded-prompt-bottom{padding:12px 16px}.expanded-prompt-bottom>span{font-size:11px}.history-tile-bottom .generation-like{min-height:40px}}@media(pointer:coarse){.expand-prompt-button,.history-scale button{width:40px;height:44px}}@media(prefers-reduced-motion:reduce){.history-tile{transition:none}.expanded-prompt-modal[open]{animation:none}}@media(prefers-reduced-transparency:reduce){.history-heading{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none}}.result-actions .history-prompt-actions{flex:1 0 100%;min-width:0}.history-prompt-buttons{display:flex;gap:7px;align-items:stretch}.result-actions .history-prompt-buttons>button:first-child{flex:1 1 0;min-width:0}.result-actions .history-copy-prompt{flex:0 0 40px;width:40px;padding:0}.result-actions .history-copy-prompt.is-copied{color:var(--blue-text)}.history-copy-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.history-copy-error{display:block;margin-top:7px;color:var(--warning);font-size:11px;line-height:1.5}@media(pointer:coarse){.result-actions .history-copy-prompt{flex-basis:44px;width:44px;min-height:44px}}
