/* Original creator workspace: crisp white surfaces and quiet neutral accents. */
.message.user>div{max-width:82%;min-width:0}.message.user .bubble{max-width:100%}.message.user .message-actions{justify-content:flex-end}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
:root{--ink:#24352e;--text:#536158;--muted:#7b847d;--line:#e4e6df;--green:#315b46;--bg:#f5f4f0;--paper:#fff;--clay:#bf7654;--soft:#eaf0e7;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}[hidden]{display:none!important}button,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit;text-decoration:none}svg{width:18px;height:18px;stroke-width:1.65;flex-shrink:0}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--green)}button:hover:not(:disabled){color:var(--green)}input,select,textarea{max-width:100%}h1,h2,h3,p{margin-top:0}small{font-size:12px}.skip-link{position:fixed;top:-100px;left:12px;padding:12px;background:white;z-index:200}.skip-link:focus{top:8px}
.sidebar{position:fixed;inset:0 auto 0 0;width:224px;display:flex;flex-direction:column;padding:30px 18px 18px;background:#eeefe9;border-right:1px solid #e1e3dc;z-index:50}.brand{justify-content:flex-start;gap:12px;margin:0 7px 32px;text-align:left}.brand b{display:block;font-size:19px;letter-spacing:.5px}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:2px;margin-top:5px}.brand-symbol{display:flex;align-items:center;gap:3px;width:32px;height:34px;transform:rotate(-13deg)}.brand-symbol i{display:block;width:8px;background:var(--green);border-radius:3px;height:24px}.brand-symbol i:nth-child(2){height:34px}.brand-symbol i:nth-child(3){height:16px;align-self:flex-end;background:var(--clay)}.new-chat{background:var(--green);color:white!important;padding:13px 12px;border-radius:10px;font-size:13px;justify-content:flex-start;margin-bottom:30px}.new-chat svg:last-child{margin-left:auto;width:15px}.new-chat:hover{background:#254834}.sidebar-label{font-size:10px;color:var(--muted);letter-spacing:1.5px;padding:0 12px}.creation-nav{display:grid;gap:5px;margin-top:10px}.creation-nav button{justify-content:flex-start;padding:11px 12px;font-size:13px;color:#69746c;border-radius:8px}.creation-nav button.active{background:#dde5d8;color:#284b36;font-weight:600}.creation-nav button:hover{background:#e5e9e0}.history-heading{display:flex;justify-content:space-between;align-items:center;color:var(--muted);margin:27px 12px 10px}.history-heading small{font-size:10px;letter-spacing:1px}.history-heading button{padding:3px}.history-heading svg{width:14px}#history{overflow:auto;flex:1;min-height:60px;max-height:32vh}.history-item{display:flex;gap:6px;align-items:center;border-radius:7px;min-height:36px;padding:5px 8px;color:#6b756e;font-size:12px}.history-item.active,.history-item:hover{background:#fff9}.history-item .open{flex:1;min-width:0;justify-content:flex-start;text-align:left;padding:0}.history-item .open span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item svg{width:13px;height:13px}.history-item small{display:none}.history-item .delete{opacity:0;padding:4px}.history-item:hover .delete,.history-item:focus-within .delete{opacity:1}.history-empty{font-size:11px;line-height:1.8;color:var(--muted);padding:0 12px}#history-search{width:100%;padding:9px;margin-bottom:8px;font-size:12px}.sidebar-bottom{border-top:1px solid #dce1d7;margin-top:20px;padding-top:15px;display:grid;gap:3px}.sidebar-bottom button{justify-content:flex-start;font-size:12px;color:#737c74;padding:9px;border-radius:7px}.sidebar-bottom .workspace-label{background:#e3e8de;color:#455446;margin-bottom:7px}.workspace-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:left}.workspace-label svg:last-child{width:12px}
.topbar{height:78px;margin-left:224px;border-bottom:1px solid var(--line);background:var(--bg)}.top-inner{height:100%;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 42px}.breadcrumb{display:flex;gap:12px;align-items:center;font-size:12px;min-width:0}.breadcrumb>span{color:var(--muted);white-space:nowrap}.breadcrumb svg{width:12px;color:#9ca49c}.breadcrumb b{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions{display:flex;gap:20px;align-items:center;flex-shrink:0}.top-actions button{font-size:12px;color:var(--text);padding:5px 0}.top-actions svg{width:16px}.balance-button{border-left:1px solid #dcded7;padding-left:20px!important}#account-button{gap:9px}.account-avatar{display:grid;place-items:center;border-radius:50%;width:30px;height:30px;background:#e8ded1;color:#886143}#account-button>svg{width:12px}#account-name{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#main{margin-left:224px;min-width:0}.mobile-menu,.nav-scrim{display:none}.dropdown{position:fixed;top:65px;right:30px;width:220px;padding:9px;border:1px solid var(--line);border-radius:14px;background:white;box-shadow:0 12px 45px #28392b1c;z-index:60}.dropdown button,.dropdown a{display:flex;width:100%;align-items:center;justify-content:flex-start;padding:12px 10px;border-radius:8px;font-size:12px}.dropdown button:hover,.dropdown a:hover{background:var(--bg)}.menu-balance{padding:12px;background:#eff2e9;border-radius:9px;margin-bottom:6px}.menu-balance small,.menu-balance b{display:block}.menu-balance small{color:var(--muted);margin-bottom:8px}.menu-balance b{font-size:22px}#logout{border-top:1px solid var(--line);margin-top:5px}
.studio{max-width:1300px;margin:auto;padding:40px 52px 48px}.welcome{display:flex;align-items:center;justify-content:space-between;min-height:245px;margin-bottom:28px;gap:40px}.eyebrow{display:block;font-size:9px;letter-spacing:2.5px;font-weight:600;color:var(--muted)}.welcome .eyebrow{display:flex;align-items:center;gap:8px}.welcome .eyebrow>span{width:6px;height:6px;background:var(--clay);border-radius:50%}.welcome h1{font-size:42px;line-height:1.45;letter-spacing:-1.5px;font-weight:500;margin:18px 0 14px}.welcome h1>span{color:var(--clay)}.welcome p{font-size:13px;line-height:1.95;color:var(--muted);margin-bottom:0}.idea-art{position:relative;width:300px;height:230px;flex-shrink:0;margin-right:25px}.orbit{position:absolute;border:1px solid #dedfd3;border-radius:50%;inset:0;transform:rotate(-25deg)}.orbit-two{inset:20px -15px;transform:rotate(35deg)}.art-sheet{position:absolute;width:125px;height:156px;background:#fffdf7;border:1px solid #e3dfd2;border-radius:9px;box-shadow:0 14px 25px #564e3610;overflow:hidden}.sheet-one{left:32px;top:22px;transform:rotate(-14deg);padding:22px}.sheet-one svg{width:30px;height:30px;color:var(--clay);margin:4px 0 22px}.sheet-one>span{display:block;height:5px;border-radius:4px;margin:9px 0;background:#e8e3d8}.sheet-one>span:last-child{width:70%}.sheet-two{left:132px;top:48px;transform:rotate(12deg);background:#e1e7d7}.abstract-sun{width:45px;height:45px;background:#c78f65;border-radius:50%;position:absolute;top:23px;right:20px}.abstract-hill{width:170px;height:160px;background:#8d9d79;border-radius:50%;position:absolute;left:-30px;top:80px;transform:rotate(35deg)}.abstract-hill:after{content:"";position:absolute;width:120px;height:130px;border-radius:50%;background:#bdc7a8;left:100px;top:-38px}.art-tag{position:absolute;bottom:1px;left:70px;background:#fffefa;border:1px solid #e5e0d5;border-radius:6px;padding:10px 15px;font-size:11px;color:#6e765c;box-shadow:0 4px 12px #00000006;transform:rotate(-5deg);display:flex;gap:8px}.art-tag svg{width:14px}.art-dot{position:absolute;width:8px;height:8px;background:#be805f;border-radius:50%;top:13px;right:25px}
.creation-layout{display:grid;grid-template-columns:minmax(0,1fr) 236px;gap:24px;align-items:stretch}.work-column{min-width:0;display:flex;flex-direction:column}.conversation:has(#messages:empty){display:none}.composer{border:1px solid #d9dfd2;border-radius:17px;background:white;box-shadow:0 7px 28px #28362605;overflow:hidden}.composer:focus-within{border-color:#9eaf95;box-shadow:0 0 0 3px #3b684509}.composer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #edf0e8}.mode-tabs{display:flex;gap:5px;background:#f4f5f0;border-radius:8px;padding:4px}.mode-tabs button{padding:8px 12px;border-radius:6px;font-size:12px;color:#7a8376;white-space:nowrap}.mode-tabs svg{width:15px;height:15px}.mode-tabs button.active{background:white;color:var(--green);box-shadow:0 1px 5px #26392712;font-weight:600}.composer-step{font-size:10px;white-space:nowrap;color:#98a08e}.prompt-label{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 0;gap:8px}.prompt-label label{font-size:14px;font-weight:600}#draft-status{font-size:10px;color:#7e8e6c}.composer textarea{display:block;width:100%;border:0;background:transparent;resize:vertical;padding:13px 22px 4px;min-height:115px;max-height:350px;line-height:1.85;font-size:13px;outline:0}.composer textarea::placeholder{color:#9bA393}.prompt-utilities{display:flex;align-items:center;padding:0 22px 15px;gap:15px;font-size:10px;color:var(--muted)}.prompt-utilities button{padding:5px 0;font-size:11px}.prompt-utilities svg{width:13px;height:13px}.prompt-utilities>span{margin-left:auto;font-size:10px}.prompt-utilities b{font-weight:400}.composer-options{padding:13px 20px;display:flex;align-items:center;gap:9px;flex-wrap:wrap;border-top:1px solid #eef0e9;background:#fcfcf9}#model-button{border:1px solid #e2e6da;border-radius:6px;background:white;padding:8px 10px;font-size:11px;max-width:250px;min-width:140px;text-align:left}#model-button svg{width:14px;height:14px}#model-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.compact{display:flex;align-items:center;gap:6px;border:1px solid #e2e6da;border-radius:6px;background:white;padding:7px 8px;font-size:10px;color:var(--muted)}.compact select{border:0;background:transparent;font-size:11px;max-width:120px;padding:0;color:var(--text)}#attachment-info{padding:6px;color:#85917a}#attachment-info svg{width:14px}.composer-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #edf0e8;padding:14px 20px}.composer-foot small{display:block;font-size:9px;color:#98a08e;margin-top:5px}.cost-label{font-size:11px;color:#65765d}.send{background:#e2e8db;color:#5e7055;padding:11px 17px;border-radius:8px;font-size:12px;white-space:nowrap}.send.ready{background:var(--green);color:white!important}.send svg{width:15px}.disclaimer{display:block;font-size:9px;color:#929b89;margin:12px 3px 0}.creation-guide{background:#ebeee4;border:1px solid #e2e7d9;border-radius:16px;padding:26px 22px;display:flex;flex-direction:column}.creation-guide .eyebrow{font-size:8px;letter-spacing:2px;color:#899278}.creation-guide h2{font-size:19px;font-weight:500;line-height:1.7;margin:17px 0 22px;letter-spacing:-.4px}.creation-guide ol{list-style:none;padding:0;margin:0;counter-reset:guide;display:grid;gap:17px}.creation-guide li{position:relative;counter-increment:guide;padding-left:29px}.creation-guide li:before{content:"0" counter(guide);position:absolute;left:0;top:2px;color:#8a967b;font-size:10px}.creation-guide li b{display:block;font-size:11px;font-weight:600;margin-bottom:4px}.creation-guide li span{font-size:10px;line-height:1.7;color:#89917f}.guide-tip{display:flex;gap:8px;border-top:1px solid #d9dfce;margin-top:22px;padding-top:16px;color:#808c73}.guide-tip svg{width:14px;margin-top:1px}.guide-tip p{font-size:10px;line-height:1.8;margin:0}.creation-guide>button{font-size:11px;justify-content:space-between;margin-top:auto;padding:18px 0 0}.creation-guide>button svg{width:15px}
.section-title{display:flex;justify-content:space-between;gap:15px;align-items:end;margin-bottom:18px}.section-title h2{font-size:19px;font-weight:500;margin:9px 0 0}.section-title button{font-size:11px;color:#7a8472;white-space:nowrap}.section-title button svg{width:14px}.section-title .eyebrow{font-size:8px;letter-spacing:2px}.starter-section,.recent-section{margin-top:38px}.starter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.starter-card{background:#fffdf8;border:1px solid #e4e4da;border-radius:12px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;position:relative;transition:transform .15s,border-color .15s}.starter-card:hover{transform:translateY(-3px);border-color:#bcc8ac}.starter-card>span{display:flex;align-items:center;justify-content:center;width:33px;height:33px;background:#efe6db;color:#967359;border-radius:9px;margin-bottom:20px}.starter-card:nth-child(2)>span{background:#e7ecdf;color:#788d60}.starter-card:nth-child(3)>span{background:#e6e9f0;color:#748099}.starter-card>span svg{width:17px}.starter-card b{font-size:13px;font-weight:600;margin-bottom:7px}.starter-card small{font-size:10px;color:#929987;line-height:1.7}.starter-card>svg{position:absolute;top:25px;right:20px;width:14px;color:#9ca38f}.recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.recent-card{padding:16px;background:transparent;border:1px solid #e0e3d8;border-radius:10px;display:flex;align-items:center;gap:12px;text-align:left;justify-content:flex-start;min-width:0}.recent-card>svg{width:18px;color:#859374}.recent-card>span{min-width:0}.recent-card b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}.recent-card small{display:block;font-size:10px;color:#919a86;margin-top:7px}.recent-empty{grid-column:1/-1;border:1px dashed #d9dfce;border-radius:12px;display:flex;align-items:center;gap:15px;padding:24px;color:#839076}.recent-empty p{font-size:11px;margin:5px 0 0}.recent-empty b{font-size:12px;font-weight:500}.recent-empty>svg{width:26px;height:26px}.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.template-grid .starter-card{min-height:150px}#templates-dialog{width:760px}
.studio.has-conversation{padding-top:24px;height:calc(100dvh - 78px);display:flex;flex-direction:column}.has-conversation .creation-layout{display:block;flex:1;min-height:0}.has-conversation .work-column{height:100%}.has-conversation .creation-guide,.has-conversation .starter-section,.has-conversation .recent-section{display:none}.has-conversation .conversation{flex:1;overflow:auto;min-height:0}.has-conversation .composer-region{width:min(900px,100%);margin:auto}.has-conversation .composer textarea{min-height:70px;max-height:150px}.has-conversation .prompt-label{padding-top:14px}.has-conversation .composer-step{display:none}.has-conversation .composer-head{padding:9px 16px}.has-conversation .prompt-utilities{padding-bottom:8px}.has-conversation .composer-options{padding:8px 16px}.has-conversation .composer-foot{padding:10px 16px}#messages{width:min(900px,100%);margin:auto;padding:0 0 24px}.message{display:flex;gap:14px;margin:20px 0 30px}.message.user{justify-content:flex-end}.bubble{max-width:82%;background:#e5eadc;border:1px solid #d8e0ce;border-radius:16px 16px 4px 16px;padding:14px 18px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.assistant-avatar{width:29px;height:29px;display:grid;place-items:center;border:1px solid #d3dcc8;background:#ebf0e4;border-radius:9px;flex-shrink:0;color:#687e50}.message.assistant>div{min-width:0;flex:1}.reply-head{display:flex;align-items:center;gap:12px;margin:5px 0 13px;font-size:12px;flex-wrap:wrap}.reply-head small{font-size:10px;color:var(--muted)}.chat-answer{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:14px}.message-actions{display:flex;gap:14px;margin-top:12px}.message-actions button{font-size:10px;color:#849278;padding:4px 0}.message-actions svg{width:13px}.image-card,.video-card{width:min(100%,560px);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}.image-card img{display:block;width:100%;max-height:560px;object-fit:contain}.video-card video{display:block;width:100%;max-height:480px;background:#29352a}.video-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px;font-size:11px;color:var(--muted)}.video-actions span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.video-actions a{display:flex;align-items:center;gap:5px;white-space:nowrap}.task-card{border:1px solid var(--line);border-radius:12px;padding:20px;background:#fff}.task-card small{display:block;color:var(--muted);line-height:1.7;margin-top:10px}
.page{max-width:1180px;padding:45px 52px 60px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:30px;flex-wrap:wrap}.page h1{font-size:30px;font-weight:500;letter-spacing:-1px;margin-bottom:10px}.page-subtitle{font-size:12px;line-height:1.85;color:var(--muted);margin-bottom:0}.page-heading .page-subtitle{max-width:620px}.panel,.records{border:1px solid var(--line);border-radius:15px;background:white;padding:26px}.panel h2{font-size:19px;font-weight:500}.primary{background:var(--green);color:white!important;border-radius:8px;padding:12px 18px;font-size:12px}.secondary{background:#fff;border:1px solid #dbe2d3;border-radius:7px;padding:9px 13px;font-size:12px}.text-button{font-size:12px;color:var(--green);padding:8px 0}.wide{width:100%}.settings-form{max-width:520px;display:grid;gap:20px}.field,form label{display:grid;gap:8px;font-size:12px}input{border:1px solid #dce1d4;border-radius:7px;padding:12px;background:#fff}.records{padding:0;margin-top:26px;overflow:hidden}.records h3{font-size:14px;font-weight:500;padding:20px 24px;border-bottom:1px solid var(--line);margin:0}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;text-align:left}th{background:#f5f6f1;color:#839174;font-size:10px;font-weight:500;padding:14px 20px}td{padding:18px 20px;border-bottom:1px solid #eff1e9;color:var(--text)}code{font-size:11px}.badge{display:inline-flex;padding:5px 9px;border-radius:6px;background:#edf0e7;color:#748064;font-size:10px}.badge.completed,.badge.paid{background:#e7efdf;color:#4b7545}.badge.failed{background:#f8ece6;color:#ae6649}.badge.processing,.badge.review_required{background:#f4efdc;color:#a08037}.empty{padding:55px 20px;color:var(--muted);text-align:center;font-size:13px;grid-column:1/-1}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:20px}.asset-grid .image-card,.asset-grid .video-card{width:100%}.asset-grid img{aspect-ratio:1;object-fit:cover}.asset-filter{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.asset-filter button{padding:8px 15px;border:1px solid var(--line);border-radius:7px;font-size:12px;background:white}.asset-filter button.active{background:var(--green);color:white}
.recharge-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.balance-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.balance-line small{color:var(--muted)}.balance-line strong{display:block;font-size:36px;font-weight:500;margin-top:10px}.balance-line>span{background:#eaf1e2;padding:14px;border-radius:12px;color:var(--green)}.field-title{display:block;font-size:12px;color:var(--text);margin:22px 0 12px}.amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.amounts button{border:1px solid var(--line);padding:14px;border-radius:8px}.amounts .selected,.payment-option.selected{background:#e9efdf;border-color:#aab99b;color:var(--green)}.payment-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.payment-option{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:16px;border:1px solid var(--line);border-radius:9px;gap:8px}.payment-option b{font-size:12px}.payment-option small{font-size:10px;color:var(--muted);line-height:1.7}.amount-input{display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid var(--line);border-radius:8px}.amount-input input{width:100%;border:0}.totals{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-top:1px solid var(--line);padding:20px 0;margin-top:24px}.totals small{font-size:10px;color:var(--muted)}.totals b{display:block;margin-top:7px;font-size:13px}.green-text{color:var(--green)}.notes-panel{background:#eef1e7;font-size:12px;line-height:1.9;color:var(--text)}.notes-panel h3{font-size:17px;font-weight:500}.notes-panel p{margin:20px 0}.tenant-intro{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:35px}.tenant-intro h2{font-size:24px;line-height:1.6}.tenant-intro p{font-size:12px;color:var(--muted);line-height:1.9}.tenant-intro form{display:grid;gap:16px}.tenant-hero{background:#e6ecdd;padding:35px;color:#536847}.tenant-hero h2{font-size:24px;font-weight:500}.tenant-hero p{font-size:12px;line-height:1.8}.tenant-features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:25px}.tenant-features b{display:block;font-size:19px;font-weight:500;margin-top:7px}.tenant-features small{color:var(--muted);font-size:10px}
.canvas-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:15px}.canvas-empty{border:1px dashed #ccd7bf;border-radius:16px;padding:80px 25px;text-align:center}.canvas-empty h2{font-size:20px;font-weight:500}.canvas-empty p{color:var(--muted);font-size:12px}.canvas-board{height:65vh;min-height:350px;position:relative;overflow:auto;background-image:radial-gradient(#ccd4c2 1px,transparent 1px);background-size:20px 20px;border:1px solid var(--line);border-radius:12px}.canvas-stage{width:2400px;height:1800px;position:relative}.canvas-node{position:absolute;width:220px;min-height:130px;padding:12px;border:1px solid #d6dfcb;border-radius:10px;background:white;box-shadow:0 4px 20px #31442c0b}.node-handle{display:flex;justify-content:space-between;cursor:grab;font-size:10px;touch-action:none;margin-bottom:10px}.canvas-node textarea{width:100%;border:0;resize:vertical;min-height:80px;font-size:12px;line-height:1.8}.canvas-links{position:absolute;width:2400px;height:1800px;pointer-events:none;stroke:#8ca574;stroke-width:2;fill:none}
dialog{border:1px solid var(--line);border-radius:17px;padding:30px;background:#fffefa;color:var(--ink);width:min(580px,calc(100vw - 30px));max-height:88dvh;overflow:auto;box-shadow:0 25px 100px #25342325}dialog::backdrop{background:#26342566;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.dialog-head h2{font-size:20px;font-weight:500;margin:8px 0 0}.dialog-head>button{padding:7px;align-self:flex-start}.dialog-close{position:absolute;top:14px;right:14px;padding:7px}.auth-dialog{text-align:center;max-width:430px}.welcome-symbol{display:inline-grid;place-items:center;background:#edf1e5;border-radius:12px;width:48px;height:48px;font-size:28px;color:var(--green);margin-bottom:20px}.auth-dialog h2{font-weight:500;font-size:24px}.auth-dialog p{font-size:12px;line-height:1.8;color:var(--muted)}.auth-dialog form{display:grid;gap:18px;text-align:left;margin:24px 0 15px}.auth-dialog .text-button{margin:5px 0 15px}#dev-hint{display:block;font-size:10px;color:var(--muted)}#auth-error{color:#b45e41}#model-search{width:100%;margin-bottom:15px}.model-row{display:flex;justify-content:space-between;width:100%;text-align:left;padding:15px;border:1px solid var(--line);border-radius:9px;margin-bottom:8px}.model-row b{font-size:13px}.model-row small{display:block;color:var(--muted);font-size:10px;margin-top:6px}#info-body{font-size:13px;line-height:1.9;color:var(--text)}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 22px;background:#2e4839;color:white;border-radius:10px;box-shadow:0 6px 30px #263c2c22;max-width:90vw;z-index:100;font-size:12px}
@media(min-width:1500px){.studio{padding-top:48px}.welcome{margin-bottom:38px}.creation-layout{grid-template-columns:minmax(0,1fr) 265px}.welcome h1{font-size:47px}}
@media(max-width:1180px){.sidebar{width:200px;padding:25px 14px 15px}#main,.topbar{margin-left:200px}.top-inner{padding:0 28px}.studio,.page{padding-left:28px;padding-right:28px}.creation-layout{grid-template-columns:minmax(0,1fr) 205px;gap:18px}.creation-guide{padding:22px 18px}.composer-step{display:none}.mode-tabs button{padding:8px 10px}.idea-art{transform:scale(.85);transform-origin:right center;margin-right:0;width:270px}.welcome h1{font-size:37px}.top-actions{gap:15px}.starter-card{padding:17px}.prompt-utilities{gap:10px}}
@media(max-width:980px){.creation-layout{display:block}.creation-guide{display:none}.idea-art{transform:scale(.75);width:200px;margin-right:0}.welcome{gap:10px}.welcome h1{font-size:34px}.top-actions #notifications{display:none}.starter-grid{gap:10px}.starter-card small{font-size:10px}.recent-grid{grid-template-columns:1fr 1fr}.recharge-grid{grid-template-columns:1fr}.tenant-intro{grid-template-columns:1fr}.top-actions{gap:10px}.balance-button{padding-left:12px!important}.composer-step{display:inline}}
@media(max-width:720px){.sidebar{width:240px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:none}.sidebar #history{max-height:none}.topbar{margin-left:0;height:64px}.top-inner{padding:0 18px}.mobile-menu{display:flex;padding:5px}.mobile-menu svg{width:20px;height:20px;color:var(--ink)}.nav-scrim{display:block;position:fixed;inset:0;background:#273b3055;z-index:45}.breadcrumb>span,.breadcrumb>svg{display:none}#main{margin-left:0}.studio,.page{padding:25px 20px 40px}.welcome{min-height:220px;margin-bottom:20px}.welcome h1{font-size:32px}.welcome .eyebrow{font-size:8px;letter-spacing:1.8px}.welcome p{font-size:12px}.idea-art{transform:scale(.65);width:170px;margin-left:-30px}.top-actions #account-name,.balance-button>svg{display:none}.balance-button{border-left:0;padding-left:0!important;font-size:11px!important}#account-button>svg{display:none}.account-avatar{width:29px;height:29px}.starter-card{padding:15px}.starter-card>svg{right:12px}.starter-card>span{margin-bottom:16px}.section-title h2{font-size:18px}.section-title .eyebrow{font-size:7px}.section-title button{font-size:10px}.studio.has-conversation{height:calc(100dvh - 64px);padding:14px 15px}.has-conversation .composer-head{padding:8px 10px}.has-conversation .composer textarea{min-height:65px}.composer-foot small{font-size:8px}.composer-foot{padding:13px 16px}.disclaimer{font-size:8px}.page h1{font-size:26px}.tenant-features{grid-template-columns:1fr}.tenant-intro,.tenant-hero{padding:25px}.template-grid{grid-template-columns:1fr}.dropdown{right:15px;top:57px}.chat-answer{font-size:13px}.bubble{font-size:13px}.page-heading{margin-bottom:23px}}
@media(max-width:450px){.idea-art{display:none}.welcome{min-height:205px}.welcome h1{font-size:34px;line-height:1.4}.welcome h1 br{display:none}.welcome-copy{max-width:330px}.welcome p br{display:none}.welcome p{max-width:290px}.composer-head{padding:10px 12px}.mode-tabs{width:100%;justify-content:space-between}.mode-tabs button{padding:8px 12px}.composer-step{display:none}.prompt-label{padding:18px 16px 0}.prompt-label label{font-size:13px}.composer textarea{padding-left:16px;padding-right:16px;min-height:120px}.prompt-utilities{padding-left:16px;padding-right:16px}.prompt-utilities>span{font-size:9px}.composer-options{padding:12px}.compact{padding:6px}.compact>span{display:none}#model-button{max-width:185px;min-width:0}.composer-foot small{display:none}.composer-foot .send{padding:11px 13px}.starter-grid{grid-template-columns:1fr}.starter-card{display:grid;grid-template-columns:38px 1fr;column-gap:13px;padding:17px}.starter-card>span{grid-row:1/3;margin:0;align-self:center}.starter-card b{margin:0 0 5px}.starter-card>svg{top:23px}.recent-grid{grid-template-columns:1fr}.section-title>button{max-width:120px;font-size:10px}.section-title .eyebrow{letter-spacing:1px}.starter-section,.recent-section{margin-top:28px}.page{padding:28px 16px}.panel{padding:22px}.payment-options{grid-template-columns:1fr}.task-card{padding:15px}.reply-head{gap:8px}.message{gap:9px}.assistant-avatar{width:24px;height:24px}.cost-label{font-size:10px}.toast{min-width:220px;text-align:center}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
/* A bright, quiet surface: white workspace, neutral separators, restrained accents. */
:root{--ink:#202124;--text:#42464b;--muted:#7b8088;--line:#e9eaec;--green:#202124;--bg:#fff;--paper:#fff;--clay:#7b8795;--soft:#f4f5f6}
body,.studio,.page,.topbar{background:#fff}
.sidebar{background:#fafafa;border-right-color:#ededee}
.brand-symbol{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#292b2f;color:#fff;transform:none}.brand-mark{width:21px;height:21px;overflow:visible;color:#fff;stroke:none;fill:currentColor}.brand-mark circle{fill:#abb1b9}.brand-symbol-large{width:48px;height:48px;margin-bottom:20px;border-radius:14px}.brand-symbol-large .brand-mark{width:27px;height:27px}
.creation-nav button{color:#61666d}.creation-nav button.active{background:#ededee;color:#202124}
.creation-nav button:hover,.history-item.active,.history-item:hover{background:#f0f1f2}
.sidebar-bottom{border-color:#e7e8e9}.sidebar-bottom .workspace-label{background:#f0f1f2;color:#363a40}
.topbar{border-color:#ededee}.account-avatar{background:#f0f1f2;color:#5e636a}
.welcome h1>span{color:#a1a5aa}.idea-art .orbit{border-color:#e7e8ea}.art-sheet{box-shadow:0 12px 24px #00000008}.sheet-two{background:#eceef0}.abstract-sun{background:#b8bdc3}.abstract-hill{background:#b4bbc2}.abstract-hill:after{background:#d0d4d8}
.art-tag{color:#5f646b;border-color:#e6e7e8}
.composer{border-color:#e5e7e8;box-shadow:0 4px 20px #00000005}.composer:focus-within{border-color:#c3c7cb;box-shadow:0 0 0 3px #00000005}
.composer-head,.composer-options,.composer-foot{border-color:#ededee}.composer-options{background:#fcfcfc}.mode-tabs{background:#f4f4f5}.mode-tabs button{color:#696d73}.mode-tabs button.active{color:#202124;box-shadow:0 1px 4px #00000012}
.prompt-label label{color:#292c30}.composer textarea::placeholder{color:#a1a4aa}.prompt-utilities,.composer-step,.disclaimer{color:#8b9096}.prompt-utilities button:hover{color:#202124}
.creation-guide{background:#fafafa;border-color:#ededee}.creation-guide .eyebrow,.creation-guide li:before,.creation-guide li span,.guide-tip{color:#7b8088}.guide-tip{border-color:#e6e7e8}
.starter-card{background:#fff;border-color:#e7e8e9}.starter-card:hover{border-color:#bfc3c8}.starter-card>span,.starter-card:nth-child(2)>span,.starter-card:nth-child(3)>span{background:#f0f1f2;color:#5e646b}
.recent-card,.recent-empty{border-color:#e5e7e8}.recent-card>svg,.recent-empty{color:#747a82}
.dropdown{border-color:#e6e7e8;box-shadow:0 12px 40px #00000010}.menu-balance{background:#f5f5f5}
.page h1,.section-title h2,.creation-guide h2,.welcome h1,.starter-card b,.recent-card b{color:#232528}
.panel,.records,.recharge-grid .panel,.canvas-node{border-color:#e7e8e9;box-shadow:none}
th{background:#f7f7f7;color:#777c83}td{border-color:#efeff0}.badge{background:#f0f0f0;color:#666}.badge.completed,.badge.paid{background:#edf4ee;color:#426b4b}.badge.failed{background:#fbefec;color:#a74e3c}.badge.processing,.badge.review_required{background:#faf4e6;color:#8b6d2f}
.primary,.new-chat,.send.ready,.asset-filter button.active{background:#25272a;color:white!important}.new-chat:hover,.primary:hover,.send.ready:hover{background:#3b3d40}.send{background:#f0f0f1;color:#36393e}.secondary{border-color:#e1e2e4}.asset-filter button.active{border-color:#25272a}
.balance-line>span,.welcome-symbol{background:#f1f2f3;color:#42464b}.amounts .selected,.payment-option.selected{background:#f0f1f2;border-color:#c8cbcf;color:#282b30}.notes-panel,.tenant-hero{background:#fafafa;color:#42464b}.tenant-hero{border:1px solid #ededee}.tenant-hero h2{color:#282b30}.green-text,.text-button{color:#40454c}
.canvas-board{background-image:radial-gradient(#dfe1e3 1px,transparent 1px)}.canvas-node{border-color:#e1e3e5}.canvas-links{stroke:#91979f}
dialog{background:#fff;border-color:#e7e8e9;box-shadow:0 25px 90px #00000020}dialog::backdrop{background:#25272a55;backdrop-filter:blur(3px)}
.toast{background:#292b2e}
@media(max-width:720px){.sidebar{background:#fff;box-shadow:8px 0 28px #00000010}.nav-scrim{background:#2021243a}}
.brand-symbol-large{display:inline-grid}.bubble{background:#f4f4f5;border-color:#e7e8ea}.assistant-avatar{background:#f4f4f5;border-color:#e4e5e7;color:#555b62}.message-actions button,#draft-status,.cost-label{color:#686e75}
.art-sheet,.art-tag{background:#fff;border-color:#e4e6e8}.sheet-one>span{background:#e7e9eb}.sheet-two{background:#f0f1f3}.art-dot{background:#a9afb7}.starter-card small,.recent-card small,.section-title button{color:#747a82}
.welcome{min-height:118px;margin-bottom:24px;gap:20px}.welcome h1{font-size:32px;line-height:1.3;margin:8px 0 6px;letter-spacing:-.8px}.welcome p{font-size:12px}.welcome .eyebrow{font-size:9px;letter-spacing:1px}.idea-art{display:none}
.prompt-helper-shortcut{display:flex;align-items:center;gap:12px;padding:12px 15px;border:1px solid #e7e8e9;border-radius:12px;background:#fff;text-align:left}.prompt-helper-shortcut>svg:first-child{width:18px;color:#555b62}.prompt-helper-shortcut>svg:last-child{width:14px;color:#8c9299}.prompt-helper-shortcut span{text-align:left}.prompt-helper-shortcut b,.prompt-helper-shortcut small{display:block}.prompt-helper-shortcut b{font-size:12px}.prompt-helper-shortcut small{font-size:10px;color:#7b8088;margin-top:5px}
.creation-guide{padding:20px 17px}.creation-guide h2{font-size:16px;line-height:1.5;margin:9px 0 14px}.creation-guide ol{gap:11px}.creation-guide li{padding-left:23px}.creation-guide li:before{font-size:9px}.creation-guide li b{font-size:11px;margin-bottom:2px}.creation-guide li span{font-size:10px}.creation-guide>button{font-size:10px;padding-top:12px}
.starter-section,.recent-section{margin-top:24px}.starter-section .section-title,.recent-section .section-title{align-items:center;margin-bottom:11px}.starter-section .section-title h2,.recent-section .section-title h2{font-size:15px;font-weight:600;margin:0}.starter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.starter-card{display:grid;grid-template-columns:32px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:10px;padding:12px 14px;min-height:66px}.starter-card>span{grid-row:1/3;width:30px;height:30px;margin:0}.starter-card b{font-size:11px;margin:0 0 3px}.starter-card small{font-size:9px;line-height:1.3}.starter-card>svg{top:14px;right:12px;width:12px}.recent-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.recent-card{padding:10px 12px;gap:9px}.recent-card b{font-size:10px}.recent-card small{font-size:9px;margin-top:4px}
.model-picker{width:min(900px,calc(100vw - 36px));padding:0;max-height:min(760px,88dvh);border-radius:16px;overflow:hidden}.picker-head{display:flex;align-items:center;gap:14px;padding:20px 23px 16px;border-bottom:1px solid #eceef0}.picker-head>div{margin-right:auto}.picker-head small{font-size:9px;color:#858b92;letter-spacing:.5px}.picker-head h2{font-size:18px;font-weight:600;margin:5px 0 0}.picker-head>span{font-size:10px;color:#737981}.picker-head>button{padding:5px;color:#7b8088}.picker-head>button svg{width:17px}
.picker-tabs{display:flex;gap:6px;padding:10px 18px;background:#fafafa;border-bottom:1px solid #e9eaec}.picker-tabs button{flex:1;min-height:36px;border:1px solid transparent;border-radius:8px;color:#60666e;font-size:12px}.picker-tabs button svg{width:15px}.picker-tabs button.active{background:#fff;border-color:#e4e6e8;color:#23272b;box-shadow:0 1px 3px #00000009}
.picker-body{display:grid;grid-template-columns:190px minmax(0,1fr);height:min(490px,58dvh);min-height:280px}.provider-filters{padding:17px 11px;border-right:1px solid #e9eaec;background:#fcfcfc;overflow:auto}.provider-filters:before{content:"供应商";display:block;padding:0 9px 10px;font-size:9px;color:#858b92}.provider-filter{width:100%;display:flex;justify-content:flex-start;gap:8px;padding:9px;border-radius:7px;text-align:left;font-size:11px;color:#585e65}.provider-filter.active{background:#f0f1f2;color:#24272b;font-weight:600}.provider-filter small{margin-left:auto;font-size:9px;color:#858b92}.provider-dot,.model-logo{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:#f0f1f3;color:#525860;font-size:10px;font-weight:600;flex-shrink:0}
.picker-results{min-width:0;display:flex;flex-direction:column;overflow:hidden}.picker-tools{display:grid;grid-template-columns:minmax(170px,1fr) auto auto;align-items:center;gap:12px;padding:13px 16px;border-bottom:1px solid #eff0f1}.picker-tools label{display:flex;align-items:center;gap:8px;border:1px solid #e2e4e6;border-radius:8px;padding:0 10px;background:#fff}.picker-tools label svg{width:15px;color:#8a9097}.picker-tools input{border:0!important;outline:0!important;padding:9px 0;font-size:11px;width:100%}.picker-tools>span{font-size:9px;color:#858b92;white-space:nowrap}.picker-tools select{border:1px solid #e2e4e6;border-radius:7px;padding:8px 10px;font-size:10px;background:#fff}.model-picker #models{overflow:auto;padding:11px 15px}.model-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto 16px;align-items:center;gap:10px;width:100%;margin:0 0 8px;padding:12px;border:1px solid #e7e8ea;border-radius:9px;text-align:left;background:#fff}.model-row:hover,.model-row.selected{border-color:#b7bdc4;background:#fcfcfc}.model-logo{width:25px;height:25px;border-radius:7px;background:#f0f1f2}.model-copy{min-width:0}.model-copy b,.model-copy small,.model-copy em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-copy b{font-size:12px;font-weight:600;color:#282b30}.model-copy small{font-size:9px;color:#858b92;margin-top:4px}.model-copy em{font-style:normal;font-size:9px;color:#686f77;margin-top:6px}.model-price{text-align:right;white-space:nowrap}.model-price strong{font-size:13px;font-weight:650;color:#31363c}.model-price small{display:block;color:#898f96;font-size:9px;margin-top:3px}.model-row>svg{width:15px;color:#343a40}.model-picker .empty{padding:45px 20px;font-size:12px}
.picker-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid #e9eaec;background:#fcfcfc}.picker-foot span{font-size:9px;color:#858b92}.picker-foot button{border-radius:7px;padding:8px 13px;background:#25272a;color:#fff!important;font-size:10px}
.video-card{width:min(100%,370px);border-color:#e5e7e9;border-radius:12px;box-shadow:0 4px 18px #00000007}.video-frame{position:relative;width:100%;max-height:560px;min-height:180px;overflow:hidden;background:#191a1c;border-radius:11px 11px 0 0}.video-frame video{width:100%;height:100%;max-height:560px;aspect-ratio:inherit;object-fit:contain;background:#161719}.result-badge{position:absolute;top:10px;left:10px;display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:99px;background:#ffffffea;color:#34383c;font-size:9px}.result-badge svg{width:12px;height:12px}.video-actions{padding:10px 12px}.video-actions>span{display:grid;gap:4px}.video-actions b{font-weight:500;color:#42464b;font-size:10px}.video-actions small{font-size:9px;color:#858b92}.video-actions a{font-size:10px;padding:6px 8px;border:1px solid #e5e7e9;border-radius:7px}
@media(max-width:720px){.welcome{min-height:92px;margin-bottom:15px}.welcome h1{font-size:28px}.prompt-helper-shortcut{padding:9px 10px}.prompt-helper-shortcut small{display:none}.creation-guide{display:none}.studio,.page{padding:24px 20px 34px}.model-picker{width:calc(100vw - 18px);max-height:92dvh}.picker-body{grid-template-columns:112px minmax(0,1fr);height:min(520px,65dvh)}.picker-tools{grid-template-columns:1fr auto;gap:7px;padding:10px}.picker-tools>span{display:none}.picker-tools select{font-size:9px;padding:8px 5px}.provider-filters{padding:12px 6px}.provider-filter{padding:8px 5px;font-size:9px;gap:5px}.provider-filter small{font-size:8px}.model-picker #models{padding:8px}.model-row{grid-template-columns:25px minmax(0,1fr) auto;gap:7px;padding:10px 8px}.model-row>svg{display:none}.model-copy em{font-size:8px}.model-price strong{font-size:11px}.model-price small{font-size:8px}.picker-foot{padding:9px 11px}.picker-foot span{max-width:62%;line-height:1.4}.starter-section,.recent-section{margin-top:19px}.recent-grid{grid-template-columns:1fr 1fr}}
/* Compact creation surface; results take priority once a conversation starts. */
.has-conversation .prompt-label{display:none}.has-conversation .composer textarea{height:90px;min-height:70px}.has-conversation .composer-region{flex-shrink:0}.has-conversation .composer .prompt-utilities{padding-top:5px}
.creation-layout{display:block}.studio{max-width:1120px}.welcome{min-height:78px;margin-bottom:22px}.welcome h1{font-size:28px}.welcome p{margin:8px 0 0}.starter-card{padding-right:30px}.starter-card b{line-height:1.5}.message.user>div{max-width:85%}.message.user .bubble{max-width:100%}.message.user .message-actions{justify-content:flex-end}
.video-card{width:min(100%,245px)}.video-card:has(.video-frame[style*="16 / 9"]){width:min(100%,560px)}.video-frame{min-height:0}.video-frame video{display:block;height:100%;max-height:none}.video-details{padding:12px}.video-title{display:flex;gap:10px;align-items:center;justify-content:space-between}.video-title b{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-title>span{font-size:10px;color:#777e87;white-space:nowrap}.video-details .video-actions{padding:12px 0 0;justify-content:flex-start;flex-wrap:wrap;gap:8px}.video-actions .video-download,.video-reuse{display:inline-flex;align-items:center;gap:6px;border:1px solid #e5e7e9;padding:8px 11px;border-radius:8px;font-size:11px}.video-actions .video-download{background:#25272a;border-color:#25272a;color:#fff}.video-reuse:hover{background:#f4f5f6}.video-actions svg{width:14px;height:14px}.result-badge{pointer-events:none}.video-title{min-width:0}
.picker-tabs button>span{font-size:10px;color:#858b92}.picker-tools #model-search{margin:0;min-width:0}.picker-tools label{min-width:0}.model-row{grid-template-columns:32px minmax(0,1fr) auto;position:relative;padding:16px;min-height:100px}.model-row.selected{border-color:#777e87;box-shadow:inset 3px 0 #343a40}.model-copy b{font-size:14px}.model-copy small,.model-copy em{font-size:11px}.model-copy em{white-space:normal;line-height:1.5}.model-id{margin-left:8px;color:#a1a6ac}.model-selected{position:absolute;right:15px;top:6px;font-size:9px;display:flex;gap:4px;align-items:center;color:#59636b}.model-selected svg{width:11px;height:11px}.model-price strong{font-size:16px}.model-price small{font-size:10px}.provider-filter{overflow-wrap:anywhere}.picker-body{min-height:0}.picker-results{min-height:0}
@media(max-width:720px){.welcome{min-height:70px}.welcome h1{font-size:25px}.model-picker{max-height:92dvh}.picker-body{display:flex;flex-direction:column;height:min(520px,61dvh)}.provider-filters{display:flex;gap:6px;flex-shrink:0;border-right:0;border-bottom:1px solid #e9eaec;padding:10px;overflow-x:auto}.provider-filters:before{display:none}.provider-filter{width:auto;flex-shrink:0;border:1px solid #e6e8eb;font-size:11px;padding:7px 9px;max-width:220px}.provider-filter small{margin-left:3px}.picker-results{flex:1}.picker-tools{grid-template-columns:minmax(0,1fr) auto}.model-row{grid-template-columns:25px minmax(0,1fr) auto;padding:14px 10px;gap:8px}.model-copy b{font-size:12px;white-space:normal;overflow-wrap:anywhere}.model-id{display:none}.model-copy small,.model-copy em{font-size:10px}.model-copy em{max-width:none}.model-price strong{font-size:14px}.model-price small{font-size:9px}.picker-tabs button{font-size:12px}.model-selected{right:10px;top:3px;font-size:8px}.picker-foot span{font-size:10px}.video-card{width:min(100%,280px)}.studio.has-conversation{padding-bottom:10px}.has-conversation .prompt-label{display:none}.has-conversation .composer textarea{height:74px;min-height:64px}.has-conversation .prompt-utilities{padding-top:6px}.has-conversation .disclaimer{display:none}}
@media(max-width:450px){.welcome{gap:8px}.welcome h1{font-size:24px}.prompt-helper-shortcut{padding:9px;gap:6px}.prompt-helper-shortcut>svg:last-child,.prompt-helper-shortcut small{display:none}.prompt-helper-shortcut b{font-size:11px}.starter-grid{grid-template-columns:1fr}.starter-card{grid-template-columns:30px minmax(0,1fr);padding:10px 30px 10px 12px}.starter-card b{font-size:12px}.starter-card small{font-size:10px}.recent-grid{grid-template-columns:1fr}.picker-head{padding:14px}.picker-head h2{font-size:17px}.picker-tabs{padding:8px}.picker-tools input{font-size:11px}.model-picker #models{padding:8px}.picker-foot{padding:10px}.picker-foot button{font-size:11px}.message.user>div{max-width:95%}.message.assistant{gap:8px}}
/* A stationary composer with an independently scrolling, spacious result area. */
body.studio-route{overflow:hidden}
#studio{height:calc(100dvh - 78px);max-width:1100px;padding:0 28px 18px;display:flex;flex-direction:column;overflow:hidden}
#studio .creation-layout{display:flex;flex:1;min-height:0}
#studio .work-column{flex:1;min-width:0;min-height:0;height:100%}
#studio .conversation{display:block;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px 0 0}
#studio .conversation:has(#messages:empty){display:block}
#studio #messages{padding-bottom:20px}
#studio .composer-region{width:min(900px,100%);margin:0 auto;flex:none;padding-top:10px}
#studio .composer{display:grid;grid-template-columns:minmax(0,1fr) auto;border-radius:18px;box-shadow:0 6px 28px #17212b08}
#studio .composer-head{grid-column:1/-1;padding:8px 14px}
#studio .composer textarea{grid-column:1/-1;height:68px;min-height:68px;max-height:68px;resize:none;padding:12px 18px 4px;line-height:1.65}
#studio .prompt-utilities{grid-column:1/-1;gap:12px;padding:0 18px 6px;min-height:28px}
#studio .prompt-utilities>span{margin-left:0}
#studio .prompt-utilities>span:last-child{margin-left:auto;white-space:nowrap}
#studio #draft-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:9px}
#studio .composer-options{padding:9px 14px;gap:7px;background:#fff;align-content:center;min-width:0}
#studio .composer-foot{padding:9px 14px 9px 0;gap:12px}
#studio .composer-foot small{display:none}
#studio .send{padding:10px 13px}
#studio .disclaimer{display:block;text-align:center;margin:8px 0 0;font-size:9px}
#studio #model-button{max-width:240px;min-width:0}
#studio .mode-tabs button{padding:7px 11px}
@media(max-width:720px){
 #studio{height:calc(100dvh - 64px);padding:0 12px max(10px,env(safe-area-inset-bottom))}
 #studio .conversation{padding-top:8px}
 #studio .composer-region{padding-top:6px}
 #studio .composer-head{padding:6px 9px}
 #studio .composer-step{display:none}
 #studio .composer textarea{height:60px;min-height:60px;max-height:60px;padding:10px 13px 3px;font-size:14px}
 #studio .prompt-utilities{padding:0 12px 5px;gap:10px}
 #studio #draft-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #studio .composer-options{padding:8px 9px;gap:6px}
 #studio .composer-foot{padding:8px 9px 8px 0;gap:0;flex-direction:column;justify-content:center;align-items:flex-end}
 #studio .cost-label{font-size:9px}
 #studio .send{padding:9px;font-size:11px}
 #studio #send-label{display:none}
 #studio #model-button{max-width:160px;padding:7px}
 #studio .compact{padding:6px}
 #studio .compact>span,#studio #attachment-info{display:none}
 #studio .disclaimer{display:none}
 #studio .mode-tabs{width:auto}
 #studio .mode-tabs button{padding:7px 9px}
}
@media(max-width:380px){
 #studio{padding-left:8px;padding-right:8px}
 #studio #model-button{max-width:120px}
 #studio .composer-options{gap:4px;padding-left:7px;padding-right:6px}
 #studio .compact{padding:6px 4px}
 #studio .compact select{font-size:10px}
 #studio .composer-foot{padding-right:7px}
}
#templates-dialog{width:min(900px,calc(100vw - 24px));padding:24px;max-height:90dvh;background:#fff}
#templates-dialog .dialog-head{margin-bottom:16px;align-items:flex-start}
#templates-dialog .dialog-head h2{margin:0;font-size:22px}
#templates-dialog .page-subtitle{margin-top:7px}
.template-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.template-toolbar>span{margin-left:auto;font-size:11px;color:#858b92}
.template-toolbar svg{width:15px}
.template-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px}
.saved-template-list{max-height:460px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding-right:6px}
.saved-template{display:block;flex-shrink:0;text-align:left;border:1px solid #e4e7eb;border-radius:10px;padding:13px;background:#fff;width:100%}
.saved-template:hover,.saved-template.active{background:#f6f7f8;border-color:#a7afb8}
.saved-template b,.saved-template small,.saved-template>span{display:block;overflow-wrap:anywhere}
.saved-template b{font-size:13px;font-weight:600}
.saved-template small{font-size:10px;color:#7c838c;margin-top:6px}
.saved-template>span{font-size:11px;line-height:1.7;color:#777e87;margin-top:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.template-editor{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:16px 12px;align-content:start}
.template-editor label{font-size:12px;min-width:0}
.template-editor input,.template-editor select,.template-editor textarea{width:100%;border:1px solid #dfe3e8;border-radius:8px;padding:10px;background:#fff;font-size:12px;min-width:0}
.template-content-field,#template-editor-status,.template-editor-actions{grid-column:1/-1}
.template-editor textarea{min-height:230px;max-height:340px;resize:vertical;line-height:1.8}
#template-editor-status{font-size:11px;color:#7c838c;min-height:14px}
.template-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
#delete-template{margin-right:auto;color:#a04848}
#template-error{font-size:12px;color:#ae4a40;line-height:1.6;margin:12px 0 0}
.template-privacy{display:block;font-size:10px;color:#8a9097;margin-top:16px}
@media(max-width:640px){
 #templates-dialog{padding:18px 14px}
 #templates-dialog .dialog-head h2{font-size:20px}
 .template-workspace{grid-template-columns:1fr;gap:16px}
 .saved-template-list{max-height:160px;padding:0}
 .saved-template-list:has(.empty){max-height:70px}
 .saved-template-list .empty{padding:12px}
 .saved-template{padding:10px}
 .saved-template>span{display:none}
 .template-editor{gap:12px 8px}
 .template-editor textarea{min-height:150px}
 .template-toolbar{gap:6px}
 .template-toolbar button{font-size:11px;padding:8px}
}

/* Quiet accents keep the white workspace readable while separating creative tools. */
:root{--accent-blue:#2563bf;--accent-purple:#7850c4;--accent-teal:#087c78;--accent-green:#167448}
.brand-symbol{background:linear-gradient(135deg,#6d5cff,#b84dff);box-shadow:0 3px 10px #7850c41a}
.brand-mark circle{fill:#ffe9ff}
.brand b{color:#55409b}
.creation-nav button.active{background:#edf3ff;color:var(--accent-blue)}
.creation-nav button[data-route="studio"] svg{color:var(--accent-blue)}
.creation-nav button[data-route="assets"] svg{color:var(--accent-purple)}
.creation-nav button[data-route="jobs"] svg{color:var(--accent-teal)}
.creation-nav button[data-route="canvas"] svg{color:#ad6320}
.creation-nav button[data-route="tools"] svg{color:#9a4395}
.creation-nav button:hover{background:#f0f3fa}
.history-item.active{background:#f0edfa;color:#6443a8}
.sidebar-bottom [data-route="tenant"] svg,.sidebar-bottom [data-route="settings"] svg{color:var(--accent-blue)}
.sidebar-bottom #support svg{color:var(--accent-teal)}
#page-location{color:#455a7a}
#notifications{color:var(--accent-blue)}
.top-actions .balance-button,.menu-balance b{color:var(--accent-green)}
.account-avatar{background:#f1edfc;color:var(--accent-purple)}
.new-chat{background:#6650ae;color:#fff!important}
.new-chat:hover{background:#554296}
.mode-tabs button[data-mode="chat"],.picker-tabs button[data-picker-mode="chat"]{--mode-accent:var(--accent-blue);--mode-tint:#edf4ff}
.mode-tabs button[data-mode="image"],.picker-tabs button[data-picker-mode="image"]{--mode-accent:var(--accent-purple);--mode-tint:#f4effc}
.mode-tabs button[data-mode="video"],.picker-tabs button[data-picker-mode="video"]{--mode-accent:var(--accent-teal);--mode-tint:#eaf7f4}
.mode-tabs button,.picker-tabs button{color:var(--mode-accent)}
.mode-tabs button.active,.picker-tabs button.active{color:var(--mode-accent);background:var(--mode-tint)}
.composer:has([data-mode="chat"].active){--creation-accent:var(--accent-blue);--creation-ring:#2563bf12}
.composer:has([data-mode="image"].active){--creation-accent:var(--accent-purple);--creation-ring:#7850c412}
.composer:has([data-mode="video"].active){--creation-accent:var(--accent-teal);--creation-ring:#087c7812}
.composer:focus-within{border-color:var(--creation-accent);box-shadow:0 0 0 3px var(--creation-ring)}
.composer-step{color:var(--creation-accent)}
.prompt-utilities [data-route="tools"]{color:var(--accent-purple)}
#template-button{color:var(--accent-blue)}
.prompt-utilities button:hover{background:#f2effa}
#model-button svg:first-child{color:var(--creation-accent)}
#draft-status{color:var(--accent-teal)}
.cost-label{color:var(--accent-green)}
.send.ready{background:var(--creation-accent);color:#fff!important}
.send.ready:hover{background:var(--creation-accent);filter:brightness(.92)}
.model-price strong{color:var(--accent-green)}
.model-selected{color:var(--accent-purple)}
.model-row.selected{border-color:#bca6df;box-shadow:inset 3px 0 var(--accent-purple)}
.assistant-avatar{background:#f4effc;border-color:#e7def8;color:var(--accent-purple)}
.balance-line>span{background:#eaf7f0;color:var(--accent-green)}
.green-text{color:var(--accent-green)}
.text-button{color:var(--accent-blue)}
.amounts .selected,.payment-option.selected{border-color:var(--accent-purple);background:#f7f3ff;color:#6841a9}
.saved-template.active{border-color:#d3c3ec;background:#f7f3fc}
button:focus-visible,a:focus-visible{outline:2px solid #7862c2;outline-offset:3px}

/* Stronger type hierarchy and darker secondary copy for everyday reading. */
:root{--ink:#20252d;--text:#414954;--muted:#606975;font-weight:500}
body{font-weight:500}
button,input,select,textarea{font-weight:600}
h1,h2,h3,.page h1,.panel h2,.dialog-head h2,.auth-dialog h2,.records h3{font-weight:700}
.brand b{font-weight:750}
.brand small{font-weight:600;color:#606975;font-size:11px;letter-spacing:1px}
.creation-nav button{font-size:14px;font-weight:600;color:#424b58}
.creation-nav button.active{font-weight:700}
.sidebar-label,.history-heading,.history-empty{color:#606975;font-weight:600}
.history-item{color:#505967;font-weight:600}
.sidebar-bottom button{color:#505967;font-weight:600}
.breadcrumb,.breadcrumb b,.top-actions button{font-size:13px;font-weight:600}
.mode-tabs button,.picker-tabs button{font-weight:600}
.mode-tabs button.active,.picker-tabs button.active{font-weight:700}
.composer textarea{font-size:14px;font-weight:600;color:#252c36;line-height:1.85}
.composer textarea::placeholder,input::placeholder,textarea::placeholder{color:#68717e;opacity:1;font-weight:500}
.prompt-utilities,.prompt-utilities>span,.composer-step{font-weight:600}
.prompt-utilities{color:#606975}
.prompt-utilities button{font-size:12px;font-weight:600}
.prompt-utilities b{font-weight:600}
#model-button,.compact,.compact select,.send{font-weight:600}
.compact{color:#596371}
.composer-foot small,.disclaimer{color:#626b77;font-weight:500}
.cost-label,#draft-status{font-weight:600}
.model-copy b,.model-price strong{font-weight:700}
.model-copy small,.model-copy em,.model-row small,.picker-tabs button>span,.model-price small{color:#606975;font-weight:500}
.picker-head small,.picker-tools>span,.picker-foot,.template-privacy{color:#606975;font-weight:500}
.bubble,.chat-answer{color:#252c36;font-weight:500;line-height:1.85}
.message-actions button,.video-actions,.video-details,.video-meta{font-weight:600}
.message-actions button{color:#596371}
.page-subtitle,.field-title,form label,.template-editor label{font-weight:600}
.saved-template b,.saved-template.active b{font-weight:700}
.saved-template small,.saved-template>span{color:#606975;font-weight:500}
th,.badge,.balance-line strong,.totals b,.tenant-features b{font-weight:600}
th{color:#596371}
@media(max-width:720px){
 .top-actions button,.breadcrumb,.breadcrumb b{font-size:12px}
 .prompt-utilities button{font-size:11px}
}
