:root{color:#17211f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#171a1f;--muted:#69707d;--paper:#f3f5f7;--line:#dfe3e8;--line-strong:#c8ced7;--deep:#111518;--deep-soft:#20262a;--accent:#2d5bff;--coral:#f06449;--coral-soft:#fff0eb;--amber:#c58b22;--green:#2b9d71;--shadow:0 18px 50px #19202c1f;background:#f5f4ef;font-family:Microsoft YaHei UI,PingFang SC,Noto Sans CJK SC,sans-serif}*{box-sizing:border-box}html,body,#root{overscroll-behavior-x:none;width:100%;min-width:0;max-width:100%;min-height:100%;margin:0;overflow-x:hidden}html{touch-action:pan-y;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{min-height:100dvh;position:relative;overflow:hidden}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}h1,h2,h3,p{margin:0}h1,h2,h3,.brand-block strong,.mobile-brand,.auth-brand{letter-spacing:0;font-family:Bahnschrift,DIN Alternate,Microsoft YaHei UI,sans-serif}.icon-button{cursor:pointer;background:0 0;border:1px solid #0000;flex:none;place-items:center;width:36px;height:36px;display:inline-grid}.icon-button.accent{color:#fff}.primary-button{color:#fff;background:var(--deep);cursor:pointer;border:0;border-radius:6px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 18px;font-weight:700;display:inline-flex}.primary-button:hover:not(:disabled){background:var(--deep-soft)}.primary-button:disabled{cursor:not-allowed;opacity:.48}.eyebrow{color:var(--accent);letter-spacing:0;font-family:Bahnschrift,DIN Alternate,sans-serif;font-size:10px;font-weight:700}.brand-mark{color:#f9fbf6;background:var(--deep);border-radius:7px;place-items:center;width:38px;height:38px;font-family:Georgia,serif;font-size:23px;font-weight:700;display:grid}.brand-mark.large{width:54px;height:54px;color:var(--deep);background:#eef1e8;font-size:31px}.boot-screen{background:var(--paper);place-content:center;justify-items:center;gap:18px;min-height:100vh;display:grid}.loading-line{background:var(--line);width:76px;height:2px;position:relative;overflow:hidden}.loading-line:after{content:"";background:var(--accent);width:34px;height:100%;animation:1s ease-in-out infinite loading-slide;position:absolute;left:-34px}@keyframes loading-slide{to{transform:translate(110px)}}.auth-layout{background:var(--paper);grid-template-columns:minmax(360px,.9fr) minmax(420px,1.1fr);min-height:100dvh;display:grid;overflow:auto}.auth-identity{color:#f1f3eb;background-image:linear-gradient(#eef1e80f 1px,#0000 1px),linear-gradient(90deg,#eef1e80f 1px,#0000 1px);background-size:42px 42px;flex-direction:column;min-height:640px;padding:46px 54px;display:flex}.auth-brand{align-items:center;gap:15px;font-size:22px;font-weight:700;display:flex}.identity-copy{width:min(470px,100%)}.identity-copy .eyebrow{color:#a9d5ca}.identity-copy h1{letter-spacing:0;margin:18px 0 22px;font-size:44px;font-weight:700;line-height:1.22}.identity-ledger{border-top:1px solid #eef1e82e;grid-template-columns:1fr 1fr;display:grid}.identity-ledger>div{color:#c8d4d0;align-items:center;gap:12px;min-height:80px;font-size:13px;display:flex}.identity-ledger>div+div{border-left:1px solid #eef1e82e;padding-left:24px}.auth-panel{place-items:center;padding:44px;display:grid}.segmented{border:1px solid var(--line);background:#ecece6;border-radius:7px;padding:3px;display:inline-flex}.segmented button,.segmented label{cursor:pointer;min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;padding:0 16px;font-size:13px;display:inline-flex}.segmented .active{color:var(--ink);background:var(--surface);box-shadow:0 1px 4px #17211f1a}.auth-tabs{width:100%}.auth-tabs button{flex:1}.auth-heading{align-items:center;gap:14px;margin:42px 0 30px;display:flex}.section-icon{border:1px solid var(--line);background:var(--surface);border-radius:7px;place-items:center;width:42px;height:42px;display:grid}.auth-heading h2{font-size:23px;line-height:1.25}.auth-heading p{margin-top:5px;font-size:13px}.auth-form-wrap form{gap:18px;display:grid}.auth-form-wrap label,.prompt-field{color:#39423f;gap:8px;font-size:13px;font-weight:700;display:grid}.auth-form-wrap input,.prompt-field textarea{border:1px solid var(--line-strong);width:100%;color:var(--ink);background:var(--surface);border-radius:6px}.auth-form-wrap input{height:46px;padding:0 13px}.form-error,.composer-error,.page-error{border-left:3px solid var(--coral);color:#8c382a;background:var(--coral-soft);font-size:13px}.form-error{padding:11px 13px}.auth-submit{justify-content:space-between;width:100%;margin-top:5px}.app-shell{grid-template-columns:226px minmax(0,1fr);min-height:100dvh;display:grid}.primary-sidebar{color:#e8efec;border-right:1px solid #284843;flex-direction:column;height:100dvh;display:flex}.brand-block{align-items:center;gap:12px;min-height:56px;padding:0 8px;display:flex}.brand-block .brand-mark{color:var(--deep);background:#eef1e8;border:1px solid #41615b}.brand-block>div:nth-child(2){gap:2px;display:grid}.brand-block span{color:#8eaaa3;font-size:11px}.workspace-nav{gap:5px;margin-top:32px;display:grid}.workspace-nav a{color:#aabdb8;border-radius:6px;align-items:center;gap:11px;min-height:44px;padding:0 13px;font-size:14px;text-decoration:none;display:flex}.workspace-nav a:hover{background:#ffffff0f}.workspace-nav a.active{background:#1d4c46}.sidebar-footer{margin-top:auto}.quota-summary{border-top:1px solid #282e33;border-bottom:1px solid #282e33;gap:8px;margin:0 7px 12px;padding:12px 2px;display:grid}.quota-title{color:#647079;font-size:10px;font-weight:700}.quota-summary>div{color:#9da7ae;grid-template-columns:1fr auto auto;align-items:baseline;gap:4px;font-size:11px;display:grid}.quota-summary strong{color:#fff;font-size:16px}.quota-summary small{color:#647079;font-size:9px}.quota-summary p{color:#7faaa0;font-size:10px}.offline-note{color:#f2c5bb;background:#d5685424;border-radius:5px;align-items:center;gap:8px;margin:0 6px 12px;padding:9px;font-size:12px;display:flex}.user-row{border-top:1px solid #284843;align-items:center;gap:10px;min-height:58px;padding:9px 7px;display:flex}.user-avatar{width:34px;height:34px;color:var(--deep);background:#dcece7;border-radius:50%;place-items:center;font-weight:800;display:grid}.user-name{flex:1;gap:2px;min-width:0;display:grid}.user-name strong{text-overflow:ellipsis;font-size:13px;overflow:hidden}.user-name span{color:#8eaaa3;font-size:10px}.session-actions{flex:none;gap:2px;display:flex}.logout-label{display:none}.workspace{min-width:0;height:100dvh;overflow:hidden}.mobile-header,.mobile-bottom-nav,.sidebar-scrim,.mobile-only{display:none}.chat-layout{grid-template-columns:268px minmax(0,1fr);height:100%;display:grid}.conversation-sidebar{background:#edede7;flex-direction:column;min-width:0;display:flex}.panel-heading{justify-content:space-between;align-items:flex-end;min-height:96px;padding:20px 17px 14px;display:flex}.panel-heading h1{font-size:23px}.search-field{border:1px solid var(--line);color:#87908d;background:var(--surface);border-radius:6px;align-items:center;gap:8px;height:38px;margin:0 13px 11px;padding:0 11px;display:flex}.search-field input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:13px}.conversation-list{min-height:0;padding:0 8px 16px;overflow-y:auto}.conversation-item{border-radius:6px;align-items:center;min-height:42px;margin-bottom:3px;display:flex;position:relative}.conversation-item.active:before{content:"";border-radius:0 3px 3px 0;height:22px;position:absolute;left:0}.conversation-select{color:#4e5956;cursor:pointer;background:0 0;border:0;align-items:center;gap:9px;min-width:0;height:42px;padding:0 58px 0 12px;display:flex}.conversation-select svg{flex:none}.conversation-select span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.conversation-actions{align-items:center;display:none;position:absolute;right:5px}.conversation-item:hover .conversation-actions,.conversation-item.active .conversation-actions{display:flex}.conversation-actions button,.generation-actions button,.generation-actions a{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;display:grid}.conversation-actions button:hover,.generation-actions button:hover,.generation-actions a:hover{color:var(--ink);background:#e4e8e3}.rename-input{border:1px solid var(--accent);background:var(--surface);border-radius:4px;width:calc(100% - 10px);height:32px;margin:0 5px;padding:0 8px}.list-empty,.inline-loading{color:var(--muted);text-align:center;padding:22px;font-size:12px}.chat-workspace{background:var(--surface);grid-template-rows:70px minmax(0,1fr) auto;min-width:0;height:100%;display:grid}.workspace-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-width:0;padding:0 24px;display:flex}.workspace-header h2{text-overflow:ellipsis;white-space:nowrap;max-width:min(620px,70vw);margin-top:3px;overflow:hidden}.message-scroll{scroll-behavior:smooth;min-height:0;padding:30px clamp(22px,7vw,90px) 18px;overflow-y:auto}.chat-empty{text-align:center;place-content:center;justify-items:center;width:min(420px,100%);margin:auto;display:grid}.empty-glyph{border:1px solid var(--line);background:var(--accent-soft);border-radius:8px;place-items:center;width:58px;height:58px;margin-bottom:18px;display:grid}.chat-empty h2{font-size:20px}.message-row{grid-template-columns:44px minmax(0,1fr);align-items:start;gap:12px;width:min(780px,100%);margin:0 auto 28px;display:grid}.message-meta{padding-top:5px;font-family:Bahnschrift,sans-serif;font-size:10px;font-weight:700}.markdown-message{color:#26302e;min-width:0;padding-right:155px;font-size:14px;line-height:1.78;position:relative}.message-row.user .markdown-message{background:#faf8ef;border:1px solid #e1dfd4;border-radius:7px;padding:12px 155px 12px 15px}.markdown-message>:first-child{margin-top:0}.markdown-message>:last-child{margin-bottom:0}.markdown-message p,.markdown-message ul,.markdown-message ol,.markdown-message pre,.markdown-message blockquote,.markdown-message table{margin:0 0 12px}.markdown-message ul,.markdown-message ol{padding-left:22px}.markdown-message code{color:#0a5850;background:#e8efeb;border-radius:4px;padding:2px 5px;font-family:Cascadia Code,Consolas,monospace;font-size:12px}.markdown-message pre{color:#eaf0ec;background:#142f2b;border:1px solid #304d48;border-radius:6px;margin:0;padding:14px;overflow-x:auto}.markdown-message pre code{color:inherit;background:0 0;padding:0}.markdown-message blockquote{border-left:3px solid var(--accent);color:var(--muted);padding-left:13px}.markdown-message table{border-collapse:collapse;width:100%}.markdown-message th,.markdown-message td{border:1px solid var(--line);text-align:left;padding:7px 9px}.message-copy{color:#8c9693;cursor:pointer;opacity:0;background:0 0;border:0;border-radius:4px;place-items:center;width:27px;height:27px;display:grid;position:absolute;top:1px;right:0}.markdown-message:hover .message-copy,.message-copy:focus-visible{opacity:1}.message-regenerate{color:#8c9693;cursor:pointer;opacity:0;background:0 0;border:0;border-radius:4px;place-items:center;width:27px;height:27px;display:grid;position:absolute;top:1px;right:30px}.markdown-message:hover .message-regenerate,.message-regenerate:focus-visible{opacity:1}.message-regenerate:disabled{cursor:wait;opacity:1}@keyframes spin{to{transform:rotate(360deg)}}.thinking-row{gap:5px;width:min(780px,100%);margin:0 auto 20px;padding-left:56px;display:flex}.thinking-row span{background:var(--accent);border-radius:50%;width:6px;height:6px;animation:1.1s ease-in-out infinite thinking}.thinking-row span:nth-child(2){animation-delay:.15s}.thinking-row span:nth-child(3){animation-delay:.3s}@keyframes thinking{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}.composer-zone{background:linear-gradient(transparent, var(--surface) 24%);padding:10px clamp(22px,7vw,90px) 22px}.composer-error{width:min(780px,100%);margin:0 auto 8px;padding:8px 11px}.composer{border:1px solid var(--line-strong);background:#fff;align-items:flex-end;gap:10px;width:min(780px,100%);min-height:58px;margin:0 auto;padding:8px 8px 8px 15px;display:flex;box-shadow:0 8px 28px #17211f14}.composer textarea{resize:none;min-width:0;min-height:40px;max-height:160px;color:var(--ink);background:0 0;border:0;outline:0;flex:1;padding:9px 0;line-height:1.5}.send-button{color:#fff;cursor:pointer;border:0;place-items:center;width:40px;height:40px;display:grid}.send-button:disabled{color:#97a19e;cursor:not-allowed;background:#e1e4e1}.images-workspace{height:100%;padding:0 clamp(22px,4vw,58px) 60px;overflow-y:auto}.page-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;min-height:126px;display:flex}.model-stamp{border:1px solid var(--line);background:var(--surface);border-radius:6px;align-items:center;gap:7px;padding:8px 11px;font-size:12px;display:flex}.generation-editor form{display:block}.editor-main{min-width:0;padding:0}.image-prompt-composer{border:1px solid var(--line-strong);border-radius:8px;flex-direction:column;min-height:236px;padding:14px 14px 10px;transition:border-color .16s,box-shadow .16s;display:flex;box-shadow:0 10px 32px #17211f14}.image-prompt-composer textarea{resize:vertical;width:100%;min-height:120px;color:var(--ink);background:0 0;border:0;border-radius:0;outline:0;flex:1;padding:11px 2px;line-height:1.65}.composer-reference-strip{flex-wrap:wrap;gap:11px;padding:1px 1px 11px;display:flex}.composer-reference-strip figure{aspect-ratio:1;border:1px solid var(--line);background:#eef0ec;border-radius:8px;width:104px;margin:0;position:relative}.composer-reference-strip img{object-fit:cover;border-radius:7px;width:100%;height:100%;display:block}.composer-reference-strip button{color:#fff;cursor:pointer;background:#17211f;border:2px solid #fff;border-radius:50%;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:-7px;right:-7px}.composer-reference-strip button:hover{background:#000}.image-composer-toolbar{justify-content:space-between;align-items:center;gap:12px;min-height:42px;display:flex}.reference-tools{align-items:center;gap:7px;display:flex}.composer-settings{flex:1;align-items:center;gap:6px;min-width:0;display:flex}.composer-setting{min-width:0;color:var(--muted);white-space:nowrap;align-items:center;gap:4px;font-size:11px;display:inline-flex}.composer-setting select{min-width:0;max-width:118px;min-height:36px;color:var(--ink);font:inherit;background:#fff;border:1px solid #d7dfdc;border-radius:6px;padding:5px 22px 5px 7px;font-size:12px}.add-reference-button,.image-submit-button{cursor:pointer;border:0;place-items:center;width:40px;height:40px;display:grid}.add-reference-button{background:0 0;border-radius:50%}.add-reference-button:disabled{color:#aeb5b2;cursor:not-allowed}.reference-count{color:var(--muted);font-size:11px;font-weight:600}.image-submit-button{color:#fff;border-radius:50%}.image-submit-button:disabled{color:#9ca5a2;cursor:not-allowed;background:#e4e7e4}.editor-control-row{justify-content:flex-start;align-items:flex-end;gap:18px;margin-top:18px;display:flex}.editor-control-row fieldset{border:0;min-width:0;margin:0;padding:0}.editor-control-row legend{color:#39423f;margin-bottom:8px;font-size:12px;font-weight:700}.size-selector input{opacity:0;pointer-events:none;position:absolute}.page-error{margin:-18px 0 28px;padding:11px 13px}.generation-history{border-top:1px solid var(--line);padding-top:24px}.section-heading{justify-content:space-between;align-items:flex-start;display:flex}.section-heading h2{margin-top:5px;font-size:19px}.record-count{min-width:27px;height:27px;color:var(--deep);border-radius:14px;place-items:center;padding:0 8px;font-size:12px;font-weight:700;display:grid}.history-toolbar{border:1px solid var(--line);background:#f8f9fa;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:12px;padding:10px;display:flex}.history-filters{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.history-filters label{gap:4px;display:grid}.history-filters label>span{color:var(--muted);font-size:9px}.history-filters select{min-width:112px;height:40px;color:var(--ink);background:#fff;border:1px solid #d4d9df;border-radius:4px;padding:0 28px 0 10px;font-size:11px}.history-view-switch{flex:none;display:flex}.history-view-switch button{width:40px;height:40px;color:var(--muted);cursor:pointer;background:#fff;border:1px solid #d4d9df;place-items:center;display:grid}.history-view-switch button+button{border-left:0}.history-view-switch button.active{color:#fff;background:var(--accent)}.batch-download-bar{border-left:3px solid var(--lime);background:#f4f7ef;align-items:center;gap:12px;min-height:48px;margin-bottom:16px;padding:5px 6px 5px 11px;font-size:10px;display:flex}.batch-download-bar label{cursor:pointer;align-items:center;gap:8px;min-height:40px;display:flex}.batch-download-bar input,.generation-select-control input{width:18px;height:18px;accent-color:var(--accent)}.batch-download-bar>span{color:var(--muted);white-space:nowrap;margin-left:auto}.batch-download-bar>button,.history-load-more{color:#fff;background:var(--accent);cursor:pointer;border:0;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 13px;display:inline-flex}.batch-download-bar>button:disabled,.history-load-more:disabled{opacity:.45;cursor:default}.generation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px;display:grid}.generation-item{min-width:0}.generation-item.selected .generation-preview{outline:3px solid var(--accent);outline-offset:2px}.generation-preview{aspect-ratio:1;border:1px solid var(--line);background-color:#e4e6e1;background-image:linear-gradient(45deg,#d9ddd8 25%,#0000 25%),linear-gradient(-45deg,#d9ddd8 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#d9ddd8 75%),linear-gradient(-45deg,#0000 75%,#d9ddd8 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;border-radius:7px;position:relative;overflow:hidden}.generation-preview.ratio-16-9{aspect-ratio:16/9}.generation-preview.ratio-9-16{aspect-ratio:9/16}.generation-preview.ratio-4-3{aspect-ratio:4/3}.generation-preview img{object-fit:cover;width:100%;height:100%;display:block}.generation-placeholder{color:#53625e;text-align:center;background:#f5f4efe6;place-content:center;justify-items:center;gap:10px;width:100%;height:100%;padding:22px;font-size:12px;display:grid}.generation-placeholder.failed{color:#984434;background:#f8e5dff0}.status-badge{color:#fff;background:#0d2926d1;align-items:center;min-height:25px;padding:0 9px;font-size:10px;font-weight:700;display:flex;position:absolute;top:8px;left:8px}.status-badge.failed{background:#a83e2ce6}.generation-select-control{color:#fff;cursor:pointer;background:#111827c7;border-radius:4px;align-items:center;gap:5px;min-width:68px;min-height:40px;padding:0 8px;font-size:10px;display:flex;position:absolute;top:4px;right:4px}.generation-grid.list-view{grid-template-columns:1fr}.generation-grid.list-view .generation-item{border-bottom:1px solid var(--line);grid-template-columns:minmax(180px,280px) 1fr;gap:16px;padding-bottom:16px;display:grid}.generation-grid.list-view .generation-info{padding-top:0}.history-load-more{width:min(240px,100%);margin:24px auto 0;display:flex}.generation-info{padding:10px 2px 0;position:relative}.generation-info>p{-webkit-line-clamp:2;color:#303a37;-webkit-box-orient:vertical;min-height:42px;padding-right:0;font-size:13px;line-height:1.55;display:-webkit-box;overflow:hidden}.generation-meta{color:#89918e;flex-wrap:wrap;gap:5px 10px;margin-top:7px;font-size:10px;display:flex}.generation-actions{grid-template-columns:repeat(4,40px);justify-content:end;margin-top:8px;display:grid}.generation-actions a{text-decoration:none}.generation-actions button,.generation-actions a{width:40px;height:40px}.history-reference-strip{gap:6px;min-height:42px;margin-top:9px;display:flex}.history-reference-strip button{border:1px solid var(--line);color:#fff;cursor:pointer;background:#eef0ec;border-radius:5px;width:42px;height:42px;padding:0;position:relative;overflow:hidden}.history-reference-strip img{object-fit:cover;width:100%;height:100%;display:block}.history-reference-strip svg{box-sizing:content-box;background:#1557ffe0;border-radius:3px;width:17px;height:17px;padding:2px;position:absolute;bottom:2px;right:2px}.save-image-scrim{z-index:80;overscroll-behavior:contain;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#10151b8a;justify-content:center;align-items:flex-end;padding:20px;animation:.16s ease-out save-scrim-in;display:flex;position:fixed;inset:0}.save-image-sheet{width:min(440px,100%);max-height:calc(100dvh - 40px);color:var(--ink);background:#fafbfcfa;border:1px solid #ffffffbd;border-radius:8px;padding:18px;animation:.22s cubic-bezier(.2,.8,.2,1) save-sheet-in;overflow-y:auto;box-shadow:0 22px 70px #10151b47}.save-image-sheet>header{justify-content:space-between;align-items:flex-start;gap:16px;min-height:46px;display:flex}.save-image-sheet>header span{color:var(--accent);font-size:10px;font-weight:800}.save-image-sheet>header h2{letter-spacing:0;margin:3px 0 0;font-size:19px}.save-image-close{border:1px solid var(--line);width:36px;height:36px;color:var(--muted);cursor:pointer;background:#fff;border-radius:5px;flex:none;place-items:center;display:grid}.save-image-preview{border:1px solid var(--line);background:#e8ebef;border-radius:6px;place-items:center;min-height:190px;max-height:min(52dvh,520px);margin-top:12px;display:grid;position:relative;overflow:hidden}.save-image-preview img{object-fit:contain;width:100%;max-height:min(52dvh,520px);display:block}.save-image-loading{color:#fff;background:#11151870;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:700;display:flex;position:absolute;inset:0}.save-image-error{border-left:3px solid var(--coral);color:#8c382a;background:var(--coral-soft);margin:10px 0 0;padding:9px 11px;font-size:12px}.save-image-actions{grid-template-columns:.72fr 1.28fr;gap:10px;margin-top:14px;display:grid}.save-image-actions button{cursor:pointer;border-radius:5px;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:46px;padding:0 14px;font-size:13px;font-weight:750;display:flex}.save-image-actions .secondary{border:1px solid var(--line-strong);color:var(--ink);background:#fff}.save-image-actions .primary{border:1px solid var(--accent);color:#fff;background:var(--accent)}.save-image-actions .primary:disabled{cursor:wait;background:#a8b0bc;border-color:#a8b0bc}@keyframes save-scrim-in{0%{opacity:0}}@keyframes save-sheet-in{0%{opacity:0;transform:translateY(24px)}}@media (width<=620px){.save-image-scrim{padding:10px 10px max(10px, env(safe-area-inset-bottom))}.save-image-sheet{max-height:calc(100dvh - 20px);padding:15px}.save-image-preview{min-height:160px;max-height:48dvh}.save-image-preview img{max-height:48dvh}}.markdown-code-block{background:#142f2b;border:1px solid #304d48;border-radius:6px;margin:0 0 12px;overflow:hidden}.markdown-code-toolbar{color:#a9bdb7;letter-spacing:.04em;background:#1b3a35;justify-content:space-between;align-items:center;min-height:31px;padding:0 9px;font-size:11px;display:flex}.markdown-code-toolbar button{color:#dce9e4;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;min-height:26px;padding:0 6px;display:inline-flex}.markdown-code-toolbar button:hover,.markdown-code-toolbar button:focus-visible{color:#fff;background:#ffffff1a}.admin-pagination{min-height:48px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:10px 2px 0;font-size:12px;display:flex}.admin-pagination>div{gap:6px;display:flex}.admin-pagination button{width:40px;height:40px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:6px;place-items:center;display:inline-grid}.admin-pagination button:disabled{color:var(--line-strong);cursor:not-allowed;opacity:.65}.connection-dot.degraded{background:var(--coral)}.connection-dot.checking{background:var(--line-strong)}.message-edit{color:#8c9693;cursor:pointer;opacity:0;background:0 0;border:0;border-radius:4px;place-items:center;width:27px;height:27px;display:grid;position:absolute;top:1px;right:60px}.message-delete{color:#8c9693;cursor:pointer;opacity:0;background:0 0;border:0;border-radius:4px;place-items:center;width:27px;height:27px;display:grid;position:absolute;top:1px;right:120px}.markdown-message:hover .message-delete,.message-delete:focus-visible{opacity:1}.message-delete:hover{color:#b34848;background:#fff0ef}.message-delete:disabled{cursor:wait;opacity:1}.markdown-message:hover .message-edit,.message-edit:focus-visible{opacity:1}.message-editor{border:1px solid var(--accent);background:#fff;border-radius:7px;min-width:0;padding:10px;box-shadow:0 8px 24px #1557ff1a}.message-editor textarea{resize:vertical;width:100%;min-height:76px;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;line-height:1.65}.message-editor-actions{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.message-editor-actions button{border:1px solid var(--line-strong);min-height:30px;color:var(--muted);cursor:pointer;background:#fff;border-radius:4px;padding:0 11px;font-size:12px}.message-editor-actions button.primary{border-color:var(--accent);color:#fff;background:var(--accent)}.message-editor-actions button:disabled{cursor:wait;opacity:.5}@media (prefers-reduced-motion:reduce){.save-image-scrim,.save-image-sheet{animation:none}}.conversation-view-tabs{border:1px solid var(--line);background:#eef0f3;border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 14px 12px;padding:3px;display:grid}.conversation-view-tabs button{min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;gap:6px;padding:0 5px;font-size:10px;font-weight:700;display:inline-flex}.conversation-view-tabs button.active{color:var(--ink);background:#fff;box-shadow:0 1px 4px #17211f1a}.conversation-item.pinned{border-left:2px solid var(--coral)}.conversation-item.pinned .conversation-select>svg:first-child{color:var(--accent)}.conversation-select>svg:last-child{color:var(--coral);flex:none}.conversation-actions{gap:1px}.conversation-actions button{width:28px;height:30px}.conversation-item:not(.trash) .conversation-select{box-sizing:border-box;width:calc(100% - 124px);padding-right:12px}.conversation-item.trash{min-height:54px}.conversation-item.trash .conversation-actions{display:flex}.conversation-trash-summary{box-sizing:border-box;color:#4e5956;align-items:center;gap:9px;width:calc(100% - 66px);min-width:0;min-height:54px;padding:7px 12px;display:flex}.conversation-trash-summary>svg{color:var(--muted);flex:none}.conversation-trash-summary>span{gap:2px;min-width:0;display:grid}.conversation-trash-summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.conversation-trash-summary small{color:var(--muted);font-size:10px}.conversation-actions button:disabled{cursor:not-allowed;opacity:.38}.conversation-actions button.danger:hover:not(:disabled),.conversation-actions button.danger:focus-visible:not(:disabled){color:#a43f31;background:var(--coral-soft)}@media (width<=860px){.conversation-view-tabs{margin-left:12px;margin-right:12px}.conversation-actions button{width:40px;height:40px}.conversation-item:not(.trash){min-height:48px}.conversation-item:not(.trash) .conversation-select{width:calc(100% - 168px);height:48px}.conversation-trash-summary{width:calc(100% - 88px)}}.history-empty{border:1px dashed var(--line-strong);min-height:190px;color:var(--muted);border-radius:7px;place-content:center;justify-items:center;gap:10px;font-size:12px;display:grid}.spin{animation:.9s linear infinite spin}@media (width<=1100px){.generation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.generation-editor form{grid-template-columns:minmax(0,1fr) 220px}}@media (width<=860px){body{overflow:hidden}.app-shell{grid-template-rows:56px minmax(0,1fr) 64px;height:100dvh;min-height:100dvh;overflow:hidden}.mobile-header{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;padding:0 12px;display:flex}.mobile-brand{font-weight:800}.mobile-status{justify-content:flex-end;align-items:center;gap:8px;min-width:64px;display:flex}.mobile-quota{color:#5f6873;font-weight:700}.connection-dot{background:var(--accent);border-radius:50%;width:8px;height:8px}.connection-dot.offline{background:var(--coral)}.primary-sidebar{z-index:40;width:min(280px,86vw);box-shadow:var(--shadow);transition:transform .18s;position:fixed;top:0;bottom:0;left:0;transform:translate(-102%)}.primary-sidebar.open{transform:translate(0)}.sidebar-scrim{z-index:35;background:#0d29265c;border:0;display:block;position:fixed;inset:0}.mobile-only{color:#9bb2ac;margin-left:auto;display:inline-grid}.workspace{grid-row:2;height:auto;min-height:0}.mobile-bottom-nav{min-height:64px;padding:5px 14px max(5px, env(safe-area-inset-bottom));z-index:20;border-top:1px solid var(--line);background:#fff;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.mobile-bottom-nav a{color:#7b838e;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:50px;font-size:10px;text-decoration:none;display:flex;position:relative}.mobile-bottom-nav a.active:before{content:"";background:var(--accent);width:30px;position:absolute}.chat-layout{grid-template-columns:222px minmax(0,1fr)}.auth-identity{min-height:330px;padding:28px}.identity-copy{margin:48px 0}.identity-copy h1{font-size:34px}.identity-ledger{display:none}.auth-panel{padding:42px 24px 60px}}@media (width<=620px){.conversation-sidebar{border-right:0;border-bottom:1px solid var(--line);height:122px}.panel-heading{min-height:58px;padding:10px 13px 7px}.panel-heading h1{font-size:18px}.panel-heading .eyebrow,.search-field{display:none}.conversation-list{gap:6px;padding:0 10px 9px;display:flex;overflow:auto hidden}.conversation-item{background:#ffffff80;min-width:176px;margin:0}.conversation-item.active{background:var(--surface)}.conversation-select{width:100%;padding-right:62px}.chat-workspace{grid-template-rows:56px minmax(0,1fr) auto;height:calc(100% - 122px)}.workspace-header{padding:0 15px}.message-scroll{padding:20px 14px 8px}.message-row{grid-template-columns:34px minmax(0,1fr);gap:7px}.message-meta{font-size:9px}.markdown-message,.message-row.user .markdown-message{padding-right:84px}.message-regenerate{right:0}.images-workspace{padding:0 14px 40px}.page-header{min-height:104px}.model-stamp{display:none}.generation-editor{margin-top:18px}.image-prompt-composer{min-height:220px;padding:12px 12px 9px}.composer-reference-strip{gap:9px}.composer-reference-strip figure{width:78px}.editor-control-row{flex-direction:column}.size-selector{width:100%}.size-selector label{flex:1;min-width:0;padding:0 8px}}.context-status{color:#4b5b70;min-height:34px;font:inherit;white-space:nowrap;cursor:pointer;background:#f7f9fc;border:1px solid #d4dce8;border-radius:4px;align-items:center;gap:6px;padding:0 9px;font-size:11px;transition:border-color .16s,color .16s,background .16s;display:inline-flex}.context-status-mobile{display:none}.context-status:hover,.context-status:focus-visible{border-color:var(--accent);color:var(--accent);background:#f0f4ff;outline:none}.context-status.has-summary{color:var(--accent);border-color:#bcd2ff}.context-status-dot{background:#9eabbc;border-radius:50%;width:6px;height:6px}.context-status.has-summary .context-status-dot{background:var(--green)}.summary-drawer{z-index:12;border:1px solid #cbd5e4;border-top:3px solid var(--accent);background:#fffffffa;flex-direction:column;gap:16px;width:min(390px,100% - 24px);max-height:min(560px,100% - 84px);padding:18px;display:flex;position:absolute;top:72px;right:14px;overflow:auto;box-shadow:10px 12px #ff604933,0 18px 48px #151f322e}.summary-drawer-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.summary-drawer-heading h3{color:#161d27;margin:4px 0 0;font-size:20px;line-height:1.1}.summary-drawer-meta{color:#748197;flex-wrap:wrap;gap:8px 14px;font-size:11px;display:flex}.summary-drawer-content{border-left:3px solid var(--coral);color:#313c4d;white-space:pre-wrap;background:#f6f8fb;min-height:110px;padding:14px;font-size:13px;line-height:1.7}.summary-drawer-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.summary-drawer-actions button,.summary-empty button{color:#304058;min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #c7d0de;border-radius:4px;padding:0 13px;font-size:12px}.summary-drawer-actions button:first-child,.summary-empty button{border-color:var(--accent);color:#fff;background:var(--accent)}.summary-drawer-actions button:hover:not(:disabled),.summary-empty button:hover:not(:disabled){filter:brightness(.96)}.summary-drawer-actions button:disabled,.summary-empty button:disabled{cursor:not-allowed;opacity:.55}.summary-drawer-actions .quiet-danger{color:#bd4334}.summary-empty{color:#69778a;gap:14px;font-size:13px;line-height:1.6;display:grid}.summary-empty p{margin:0}@media (width<=620px){.context-status{justify-content:center;width:auto;min-width:0;padding-inline:8px}.context-status-full{display:none}.context-status-mobile{font-size:10px;display:inline}.summary-drawer{width:calc(100% - 20px);max-height:calc(100% - 72px);padding:16px;top:62px;right:10px}}.message-image-prompt{color:#1557ff;cursor:pointer;opacity:0;background:0 0;border:0;border-radius:4px;place-items:center;width:27px;height:27px;display:grid;position:absolute;top:1px;right:90px}.markdown-message:hover .message-image-prompt,.message-image-prompt:focus-visible{opacity:1}.workspace-header-actions{flex:none;align-items:center;gap:4px;margin-left:auto;display:flex}.chat-workspace.searching{grid-template-rows:auto auto minmax(0,1fr) auto}.connection-notice,.clipboard-feedback{color:#805217;margin:0 0 8px;font-size:13px;line-height:1.5}.message-actions{display:contents}.ratio-icon{display:none}.message-search-bar{border-bottom:1px solid var(--line);min-height:46px;color:var(--muted);background:#fff;align-items:center;gap:8px;padding:7px 18px;display:flex}.message-search-bar input{min-width:0;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;flex:1}.message-search-bar>span{color:var(--muted);flex:none;font-size:12px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.admin-page{color:#1e2429;background:#f3f5f7;min-height:100%;padding:0 28px 64px;overflow-y:auto}.mobile-bottom-nav.admin-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.account-page{height:100%;color:var(--ink);background:#f3f6fbc7;padding:0 28px 64px;overflow-y:auto}.account-header{border-bottom:1px solid #d8dde4;justify-content:space-between;align-items:center;min-height:112px;display:flex}.account-header span{color:#818a94;font-size:11px;font-weight:700}.account-header h1{margin-top:5px;font-size:28px;line-height:1}.account-header>svg{color:var(--accent)}.account-content{grid-template-columns:minmax(280px,.85fr) minmax(360px,1.15fr);align-items:start;gap:24px;width:min(920px,100%);display:grid}.usage-panel{grid-column:1/-1}.usage-metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.usage-metric{border-right:1px solid #e2e6eb;min-width:0;min-height:156px;padding:20px 22px 18px;display:grid}.usage-metric:last-child{border-right:0}.usage-metric-heading{color:#59636f;align-items:center;gap:8px;font-size:12px;font-weight:700;display:flex}.usage-metric-icon{background:var(--accent-soft);place-items:center;width:30px;height:30px;display:grid}.usage-metric-value{align-self:end;align-items:baseline;gap:5px;display:flex}.usage-metric-value strong{color:#151a20;font-family:Bahnschrift,Segoe UI,sans-serif;font-size:32px;line-height:1}.usage-metric-value span{color:#929aa5;font-size:12px}.usage-progress{background:#e7eaf0;width:100%;height:5px;overflow:hidden}.usage-progress>span{background:var(--accent);width:0;height:100%;transition:width .22s;display:block}.usage-metric.warning .usage-progress>span{background:var(--amber)}.usage-metric.exhausted .usage-progress>span{background:var(--coral)}.usage-metric small{color:#7d8691;font-size:11px}.usage-metric.warning small{color:#9b6a15}.usage-metric.exhausted small{color:#9b3e30}.usage-loading{min-height:156px;color:var(--accent);place-items:center;display:grid}.usage-load-error{color:#8c382a;place-content:center;justify-items:center;gap:12px;min-height:156px;font-size:12px;display:grid}.usage-load-error button{color:#8c382a;background:var(--coral-soft);cursor:pointer;border:1px solid #efb8ad;border-radius:6px;min-width:86px;min-height:40px;font-weight:700}.usage-refresh-error{color:#8c382a;background:var(--coral-soft);border-top:1px solid #f1c7bd;align-items:center;min-height:38px;padding:0 18px;font-size:11px;display:flex}.usage-period-note{color:#8a929c;border-top:1px solid #e2e6eb;align-items:center;gap:7px;min-height:40px;padding:0 18px;font-size:10px;display:flex}.account-section{background:#fffffff5;border-top:1px solid #cfd7e2;border-bottom:1px solid #cfd7e2;box-shadow:0 14px 34px #15213a14}.account-section-heading{min-height:62px;color:var(--accent);border-bottom:1px solid #e2e6eb;align-items:center;gap:11px;padding:0 18px;display:flex}.account-section-heading>div{flex:1;min-width:0}.account-section-heading h2{color:#252b30;font-size:16px}.account-section-heading span{color:#88919c;font-size:11px}.password-form{gap:15px;padding:20px 18px 22px;display:grid}.password-form label{color:#3e4751;gap:7px;font-size:12px;font-weight:700;display:grid}.password-form input{border:1px solid var(--line-strong);width:100%;height:44px;color:var(--ink);background:#fff;border-radius:6px;padding:0 12px}.password-submit{background:var(--accent);width:100%;box-shadow:5px 5px 0 var(--coral);margin-top:3px}.password-submit:hover:not(:disabled){background:#1747ed}.account-message{align-items:center;gap:7px;min-height:40px;padding:9px 11px;font-size:12px;display:flex}.account-message.error{border-left:3px solid var(--coral);color:#8c382a;background:var(--coral-soft)}.account-message.success{border-left:3px solid var(--green);color:#176548;background:#e8f7f1}.device-message{margin:14px 18px 0}.device-loading{min-height:170px;color:var(--accent);place-items:center;display:grid}.device-list{display:grid}.device-row{border-bottom:1px solid #e5e8ed;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;min-height:94px;padding:16px 18px;display:grid}.device-row:last-child{border-bottom:0}.device-icon{width:36px;height:36px;color:var(--accent);background:var(--accent-soft);place-items:center;display:grid}.device-copy{gap:4px;min-width:0;display:grid}.device-copy>div{align-items:center;gap:8px;display:flex}.device-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.current-device{background:#e8f7f1;flex:none;padding:2px 6px;font-size:10px;font-weight:700}.device-copy p,.device-copy small{overflow-wrap:anywhere;color:#747e89;font-size:11px}.device-copy small{color:#9aa1aa}.device-revoke-button,.device-others-button{color:#9b3e30;cursor:pointer;background:#fff;border:1px solid #d8dde4;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:40px;font-size:12px;font-weight:700;display:inline-flex}.device-revoke-button{padding:0 10px}.device-revoke-button:hover:not(:disabled),.device-others-button:hover:not(:disabled){background:var(--coral-soft);border-color:#efb8ad}.device-revoke-button:disabled,.device-others-button:disabled{cursor:not-allowed;opacity:.55}.device-footer{border-top:1px solid #e2e6eb;padding:14px 18px 18px}.device-others-button{width:100%;padding:0 14px}@media (width<=860px){.mobile-bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.account-content{grid-template-columns:1fr}}@media (width<=620px){.account-page{width:100%;min-width:0;max-width:100%;padding:0 14px 36px}.account-header{color:#fff;background-color:var(--deep);background-image:url(/assets/qlai-brand-background-v1-D3Zdsw_W.webp);background-position:50% 31%;background-size:cover;border-bottom:0;min-height:112px;margin:0 -14px}.account-header span{color:#aeb9c6}.account-header h1,.account-header>svg{color:#fff}.account-header h1{text-shadow:0 2px 12px #000000b8}.account-content{gap:18px;margin-top:18px}.usage-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-metric{min-height:142px;padding:17px 14px 15px}.usage-metric:nth-child(2){border-right:0}.usage-metric:last-child{border-top:1px solid #e2e6eb;grid-column:1/-1;grid-template-rows:auto auto auto;grid-template-columns:minmax(0,1fr) auto;min-height:118px}.usage-metric:last-child .usage-metric-value{grid-area:1/2/span 2;align-self:center}.usage-metric:last-child .usage-progress,.usage-metric:last-child small{grid-column:1/-1}.usage-metric-value strong{font-size:28px}.account-section-heading,.password-form,.device-row{padding-left:14px;padding-right:14px}.device-row{grid-template-columns:36px minmax(0,1fr) 40px}.device-revoke-button{width:40px;padding:0}.device-revoke-button span{display:none}}.admin-header{border-bottom:1px solid #d8dde4;justify-content:space-between;align-items:center;min-height:112px;display:flex}.admin-header>div>span{color:#818a94;font-size:11px;font-weight:700}.admin-header h1{margin:5px 0 0;font-size:28px;line-height:1}.admin-tabs{border-bottom:1px solid #d8dde4;align-items:stretch;gap:4px;min-height:62px;display:flex}.admin-tabs button{color:#747d87;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;min-width:68px;padding:0 14px;font-size:13px;font-weight:650}.admin-tabs button.active{border-bottom-color:var(--accent);color:#15191d}.admin-content{width:min(920px,100%);margin:0 auto}.admin-error{color:#9b3324;background:#fff3ef;border:1px solid #f1c7bd;align-items:center;gap:9px;width:min(920px,100%);min-height:44px;margin:16px auto 0;padding:10px 12px;font-size:12px;display:flex}.admin-loading{min-height:260px;color:var(--accent);place-items:center;display:grid}.admin-metrics{background:#fff;border-top:1px solid #d7dce3;border-bottom:1px solid #d7dce3;grid-template-columns:repeat(4,1fr);margin-top:28px;display:grid}.admin-metric{border-right:1px solid #e0e4e9;grid-template-rows:auto 1fr;grid-template-columns:32px 1fr;align-items:center;min-height:128px;padding:20px;display:grid}.admin-metric:last-child{border-right:0}.admin-metric-icon{width:30px;height:30px;color:var(--accent);background:#e9eeff;place-items:center;display:grid}.admin-metric strong{color:#171b1f;justify-self:end;font-family:Bahnschrift,Segoe UI,sans-serif;font-size:30px}.admin-metric>span:last-child{color:#757e88;grid-column:1/-1;align-self:end;font-size:12px}.admin-metric.success .admin-metric-icon{color:#207e5f;background:#e7f4ef}.admin-metric.warning .admin-metric-icon{color:#b34835;background:#fff0eb}.admin-settings-band{background:#fff;border-top:1px solid #d7dce3;border-bottom:1px solid #d7dce3;margin-top:30px}.admin-section-title{min-height:58px;color:var(--accent);border-bottom:1px solid #e2e6eb;align-items:center;gap:10px;padding:0 18px;display:flex}.admin-section-title h2,.admin-section-title h3{color:#252b30;margin:0;font-size:15px}.admin-section-title>div{flex:1;justify-content:space-between;align-items:baseline;min-width:0;display:flex}.admin-section-title span{color:#9299a2;font-size:10px}.admin-setting-row{justify-content:space-between;align-items:center;gap:18px;min-height:78px;padding:12px 18px;display:flex}.admin-setting-row>div{gap:5px;min-width:0;display:grid}.admin-setting-row strong{font-size:14px}.admin-setting-row span{color:#7c858f;font-size:11px}.admin-switch{cursor:pointer;background:#cbd1d8;border:0;border-radius:13px;flex:none;width:46px;height:26px;padding:3px;transition:background .16s}.admin-switch span{background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .16s;display:block;box-shadow:0 1px 4px #181e243d}.admin-switch.on{background:var(--accent)}.admin-switch.on span{transform:translate(20px)}.admin-health-list{border-top:1px solid #d8dde4;margin-top:22px}.admin-health-list>div{color:#626b75;border-bottom:1px solid #d8dde4;justify-content:space-between;align-items:center;min-height:56px;padding:0 4px;font-size:13px;display:flex}.admin-health-list strong{color:#20252a;font-size:15px}.admin-search{background:#fff;border:1px solid #cfd5dd;align-items:center;height:48px;display:flex}.admin-search>svg{color:#8a939d;margin-left:14px}.admin-search input{color:#22282e;background:0 0;border:0;outline:0;flex:1;min-width:0;height:100%;padding:0 12px;font-size:14px}.admin-search button{color:#fff;background:var(--deep);cursor:pointer;border:0;width:70px;height:100%}.admin-list-heading{color:#69727c;border-bottom:1px solid #d6dbe2;justify-content:space-between;align-items:center;min-height:52px;font-size:12px;display:flex}.admin-list-heading strong{color:#fff;background:var(--deep);place-items:center;min-width:28px;height:24px;padding:0 7px;font-size:11px;display:grid}.admin-user-list,.admin-task-list,.admin-audit-list{background:#fff;border-bottom:1px solid #d6dbe2}.admin-user-list>button{width:100%;min-height:68px;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-bottom:1px solid #e4e7eb;align-items:center;gap:12px;padding:10px 13px;display:flex}.admin-user-list>button:last-child{border-bottom:0}.admin-user-list>button:hover{background:#f7f8fa}.admin-list-avatar{color:#fff;background:var(--accent);flex:none;place-items:center;width:38px;height:38px;font-size:13px;font-weight:750;display:grid}.admin-list-main{flex:1;gap:4px;min-width:0;display:grid}.admin-list-main strong{text-overflow:ellipsis;font-size:14px;overflow:hidden}.admin-list-main small{color:#858e98;font-size:10px}.admin-user-usage{color:#646d77;font-family:Bahnschrift,sans-serif;font-size:12px}.admin-filter-row{background:#e8ebef;border:1px solid #d4d9df;grid-template-columns:repeat(3,1fr);gap:3px;min-height:46px;padding:4px;display:grid}.admin-filter-row button{color:#6b747e;cursor:pointer;background:0 0;border:0;min-height:36px;font-size:12px}.admin-filter-row button.active{color:#1e2429;background:#fff;box-shadow:0 1px 4px #1a21281a}.admin-task-list article,.admin-audit-list article{border-bottom:1px solid #e4e7eb;align-items:center;gap:12px;min-height:76px;padding:12px 14px;display:flex}.admin-task-list article:last-child,.admin-audit-list article:last-child{border-bottom:0}.task-state{color:#8a594f;background:#fff0eb;flex:none;place-items:center;width:34px;height:34px;display:grid}.task-state.queued,.task-state.in_progress,.task-state.processing{color:#315ad3;background:#e9eeff}.admin-task-list article>div:nth-child(2){flex:1;gap:4px;min-width:0;display:grid}.admin-task-list strong{font-size:13px}.admin-task-list span,.admin-task-list small{color:#7d8690;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.admin-task-list small{color:#a34737}.admin-task-list article>button{color:#a33c2b;cursor:pointer;background:#fff;border:1px solid #e2c5be;flex:none;place-items:center;width:40px;height:40px;display:grid}.audit-mark{background:var(--accent);flex:none;width:8px;height:38px}.admin-audit-list article>div{flex:1;gap:5px;min-width:0;display:grid}.admin-audit-list strong{font-size:13px}.admin-audit-list article span,.admin-audit-list time{color:#858e98;font-size:10px}.admin-empty{color:#89929c;place-items:center;min-height:150px;margin:0;font-size:12px;display:grid}.admin-drawer-scrim{z-index:60;background:#11151875;justify-content:flex-end;display:flex;position:fixed;inset:0}.admin-user-drawer{background:#f5f6f8;width:min(430px,100%);height:100%;padding:0 22px 30px;overflow-y:auto;box-shadow:-18px 0 50px #141a1f2e}.admin-user-drawer>header{border-bottom:1px solid #d5dae1;justify-content:space-between;align-items:center;min-height:94px;display:flex}.admin-user-drawer>header span{color:#87909a;font-size:10px}.admin-user-drawer>header h2{margin:5px 0 0;font-size:22px}.admin-user-status{color:#7e8791;border-bottom:1px solid #d8dde3;align-items:center;gap:8px;min-height:58px;font-size:10px;display:flex}.status-live,.status-disabled,.status-admin{color:#237356;background:#e4f3ed;padding:5px 7px}.status-disabled{color:#a34030;background:#fff0eb}.status-admin{color:#3159cc;background:#e7edff}.admin-usage-line{background:#fff;border-top:1px solid #d8dde3;border-bottom:1px solid #d8dde3;grid-template-columns:repeat(3,1fr);margin:22px 0;display:grid}.admin-usage-line>div{border-right:1px solid #e1e5e9;align-content:space-between;min-height:76px;padding:14px;display:grid}.admin-usage-line>div:last-child{border-right:0}.admin-usage-line span{color:#818a94;font-size:10px}.admin-usage-line strong{font-family:Bahnschrift,sans-serif;font-size:16px}.admin-quota-form{background:#fff;border:1px solid #d7dce3}.admin-quota-form>label{color:#59626c;border-bottom:1px solid #e2e6ea;justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:8px 14px;font-size:12px;display:flex}.admin-quota-form input{color:#20262b;background:#f8f9fa;border:1px solid #cfd5dc;width:132px;height:40px;padding:0 10px;font-size:13px}.admin-primary-button,.admin-secondary-button,.admin-danger-button{color:#fff;background:var(--accent);cursor:pointer;border:0;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 15px;font-weight:650;display:inline-flex}.admin-quota-form>.admin-primary-button{width:calc(100% - 28px);margin:14px}.admin-form-error{color:#a23d2c;margin:12px 14px 0;font-size:11px}.admin-danger-zone{background:#fff;border-top:1px solid #d8dde3;border-bottom:1px solid #d8dde3;justify-content:space-between;align-items:center;gap:14px;min-height:86px;margin-top:20px;padding:14px;display:flex}.admin-danger-zone>div{gap:5px;min-width:0;display:grid}.admin-danger-zone strong{font-size:13px}.admin-danger-zone span{color:#808994;font-size:10px}.admin-danger-button{color:#a13d2c;background:#fff0eb}.admin-secondary-button{color:#237356;background:#e4f3ed}.admin-access-denied{color:#737c86;text-align:center;background:#f3f5f7;place-content:center;justify-items:center;min-height:100%;padding:24px;display:grid}.admin-access-denied svg{color:var(--accent)}.admin-access-denied h1{color:#23292e;margin:18px 0 8px;font-size:24px}.admin-access-denied p{margin:0;font-size:12px}@media (width<=620px){.admin-page{padding:0 14px 88px}.admin-header{min-height:86px}.admin-header h1{font-size:24px}.admin-tabs{z-index:5;background:#f3f5f7;min-height:52px;position:sticky;top:0}.admin-tabs button{flex:1;min-width:0;padding:0 8px}.admin-metrics{grid-template-columns:repeat(2,1fr);margin-top:18px}.admin-metric{border-bottom:1px solid #e0e4e9;min-height:104px;padding:14px}.admin-metric:nth-child(2){border-right:0}.admin-metric:nth-child(3),.admin-metric:nth-child(4){border-bottom:0}.admin-metric strong{font-size:25px}.admin-settings-band{margin-top:20px}.admin-list-section{padding-top:16px}.admin-user-drawer{border-radius:8px 8px 0 0;width:100%;height:min(720px,100dvh - 26px);margin-top:auto;padding:0 16px 28px;box-shadow:0 -18px 50px #141a1f33}.admin-user-drawer>header{min-height:80px}}.icon-button{border-radius:6px;width:40px;height:40px}.icon-button:hover{background:#171a1f0f}.icon-button.accent{background:var(--accent);box-shadow:0 8px 18px #2d5bff33}.icon-button.accent:hover{background:#1d49e8}.brand-mark{color:#fff;background:var(--accent);font-family:Georgia,Times New Roman,serif}.auth-layout{background:#f6f7f9;grid-template-columns:minmax(500px,1.15fr) minmax(420px,.85fr)}.auth-identity{color:#f6f7f8;background:var(--deep);min-height:680px;padding:38px 48px 36px;position:relative;overflow:hidden}.auth-brand{z-index:2;font-size:20px;position:relative}.auth-brand .brand-mark.large{color:#fff;background:var(--accent);border:0;width:44px;height:44px;font-size:25px}.identity-copy{z-index:2;width:min(470px,62%);margin:auto 0;position:relative}.identity-copy h1{margin:0 0 24px;font-family:Microsoft YaHei UI,PingFang SC,sans-serif;font-size:54px;font-weight:750;line-height:1.16}.identity-copy>p:last-child{color:#aeb7be;max-width:380px;font-size:15px;line-height:1.9}.auth-art{aspect-ratio:1;z-index:1;background:#191f23;border:1px solid #32393f;width:min(390px,39%);padding:30px;position:absolute;top:20%;right:5%}.auth-art:after{content:"";width:68px;height:9px;position:absolute;bottom:-1px;right:-1px}.auth-art-index{color:#737f88;font-family:Bahnschrift,sans-serif;font-size:10px;position:absolute;top:15px;left:17px}.auth-art img{object-fit:contain;display:block}.identity-ledger{z-index:2;border-color:#30373c;position:relative}.identity-ledger>div+div{border-color:#30373c}.auth-panel{background:#f6f7f9;padding:48px}.auth-heading h2{font-size:25px}.section-icon{background:#fff;border-color:#d8dde5}.segmented{background:#e9ecf0;border-color:#d8dde5}.segmented .active{color:#111518;background:#fff}.auth-form-wrap input{border-color:#cbd1da;height:50px}.auth-submit{min-height:50px}.auth-submit:hover:not(:disabled){background:#1d49e8}.app-shell{grid-template-columns:216px minmax(0,1fr)}.primary-sidebar{color:#edf0f2;background:var(--deep);border-right:0;padding:22px 14px 16px}.brand-block{min-height:60px}.brand-block .brand-mark{color:#fff;background:var(--accent);border:0;width:42px;height:42px}.brand-block strong{font-size:18px}.brand-block span,.user-name span{color:#77828a}.workspace-nav{gap:7px;margin-top:42px}.nav-label{color:#647079;margin:0 12px 8px;font-size:10px;font-weight:700}.workspace-nav a{color:#9da7ae;min-height:48px;padding:0 14px;position:relative}.workspace-nav a.active{color:#fff;background:#22292e}.online-note,.offline-note{border-radius:5px;align-items:center;gap:8px;min-height:34px;margin:0 7px 10px;padding:0 9px;font-size:11px;display:flex}.online-note{color:#7faaa0;background:#171d20}.offline-note{color:#ffb6a6;background:#2a1e1c}.user-row{border-color:#282e33;min-height:64px}.chat-layout{background:var(--paper);grid-template-columns:296px minmax(0,1fr)}.conversation-sidebar{border-right:1px solid var(--line);background:#f6f7f9}.panel-heading{min-height:110px;padding:24px 18px 16px}.panel-label{color:#8a929d;font-size:11px;font-weight:600}.panel-heading h1{margin-top:4px;font-size:26px}.search-field{background:#fff;border-color:#d7dce3;height:42px;margin:0 14px 14px}.conversation-list{padding:0 9px 18px}.conversation-item{min-height:48px;margin-bottom:4px}.conversation-item:hover,.conversation-item.active{background:#fff}.conversation-item.active:before{background:var(--accent);width:3px;height:24px}.conversation-select{color:#515864;height:48px}.conversation-select span{font-size:13px}.mobile-conversation-trigger,.mobile-conversation-close,.conversation-scrim{display:none}.chat-workspace{grid-template-rows:76px minmax(0,1fr) auto}.workspace-header{border-color:#e5e8ec;padding:0 28px}.thread-heading{align-items:center;gap:12px;min-width:0;display:flex}.thread-heading>div{min-width:0}.thread-heading span:not(.thread-presence){color:#8a929d;font-size:10px;font-weight:600}.thread-presence{border-radius:50%;flex:none;width:9px;height:9px;box-shadow:0 0 0 4px #e5f5ef}.workspace-header h2{color:#24282e;margin-top:2px;font-size:16px}.message-scroll{padding:36px 48px 20px}.chat-empty{text-align:left;flex-direction:column;justify-content:center;align-items:stretch;width:min(650px,100%);min-height:100%;display:flex}.empty-glyph{color:#fff;background:var(--accent);border-radius:7px;align-self:flex-start;width:52px;height:52px;margin-bottom:24px;box-shadow:10px 10px #e4e9ff}.chat-empty h2{font-size:32px;line-height:1.25}.chat-empty p{color:#7c8490;margin-top:10px;font-size:14px}.starter-prompts{border-top:1px solid var(--line);width:100%;margin-top:38px}.starter-prompts button{border:0;border-bottom:1px solid var(--line);color:#555d68;cursor:pointer;text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:52px;padding:0 4px;transition:color .16s,padding .16s;display:flex}.starter-prompts button:hover{padding-left:10px}.starter-prompts svg{flex:none}.message-row,.thinking-row,.composer,.composer-error{width:min(820px,100%)}.message-row{margin-bottom:32px}.message-meta{color:var(--accent)}.message-row.user .message-meta{color:var(--coral)}.message-row.user .markdown-message{background:#f6f7f9;border-color:#e1e5eb}.markdown-message code{color:#1745c4;background:#e9edfb}.markdown-message pre{background:#181d21;border-color:#343b42}.composer-zone{padding:12px 48px 24px}.composer{border-color:#cfd5de;border-radius:8px;min-height:66px;padding:10px 10px 10px 18px;box-shadow:0 14px 38px #1d25321c}.composer:focus-within{box-shadow:0 16px 42px #2d5bff21}.send-button{background:var(--accent);border-radius:6px;width:44px;height:44px}.send-button:hover:not(:disabled){background:#1d49e8}.images-workspace{background:var(--paper);padding:0 52px 72px}.page-header{border-color:#d9dee5;min-height:148px}.page-title-block{align-items:center;gap:16px;display:flex}.page-section-mark{place-items:center;width:48px;height:48px;display:grid;box-shadow:8px 8px #dfe6ff}.page-header h1{margin:0 0 6px;font-size:30px}.page-header p{font-size:13px}.model-stamp{color:#dbe0e4;border-color:#2b3136;min-height:38px;padding:0 13px}.generation-editor{width:min(980px,100%);margin:38px auto 52px}.prompt-field{color:#333942;gap:11px;font-size:13px}.image-prompt-composer{border:1px solid #c9d0da;min-height:250px;box-shadow:0 18px 48px #1e26341a}.image-prompt-composer.dragging{background:#f4f7ff}.image-prompt-composer textarea{font-size:15px}.composer-reference-strip figure{background:#eef1f4;border-color:#d7dce4;box-shadow:0 6px 16px #1e263414}.add-reference-button:hover:not(:disabled){background:#eef1f5}.image-submit-button{background:var(--accent);box-shadow:0 8px 18px #2d5bff33}.image-submit-button:hover:not(:disabled){background:#1d49e8}.editor-control-row{justify-content:flex-end}.editor-control-row legend{color:#565e69}.generation-history{border-color:#d9dee5;padding-top:30px}.section-heading>div{align-items:baseline;gap:12px;display:flex}.section-number{color:var(--coral);font-family:Bahnschrift,sans-serif;font-size:11px;font-weight:700}.section-heading h2{margin:0;font-size:22px}.record-count{color:#fff;background:var(--deep);border-radius:5px}.generation-preview{background-color:#e8ebef;border-color:#d5dae2;border-radius:6px;transition:transform .18s,box-shadow .18s}.generation-item:hover .generation-preview{transform:translateY(-3px);box-shadow:0 14px 32px #1c243124}.status-badge{background:#111518db;border-radius:4px}.status-badge.completed{background:#2b9d71eb}.history-empty{background:#f7f8fa;border-color:#bdc5d0;min-height:230px}@media (width<=1100px){.auth-layout{grid-template-columns:minmax(420px,1fr) minmax(380px,.9fr)}.identity-copy{width:64%}.identity-copy h1{font-size:46px}.auth-art{right:3%}.images-workspace{padding-left:34px;padding-right:34px}}@media (width<=860px){.app-shell{grid-template-columns:1fr}.mobile-header{background:#fff}.primary-sidebar{border-right:0}.connection-dot{background:var(--green)}.auth-layout{grid-template-columns:1fr}.auth-identity{min-height:390px;padding:30px}.identity-copy{width:54%;margin:58px 0 42px}.identity-copy h1{font-size:38px}.auth-art{width:250px;top:92px;right:30px}.auth-panel{padding:48px 24px 68px}.chat-layout{grid-template-columns:250px minmax(0,1fr)}.message-scroll,.composer-zone{padding-left:24px;padding-right:24px}}@media (width<=620px){.auth-identity{padding:24px}.auth-brand .brand-mark.large{width:40px;height:40px}.identity-copy{width:68%;margin:64px 0 20px}.identity-copy h1{margin-bottom:15px;font-size:32px}.identity-copy>p:last-child{font-size:12px;line-height:1.7}.auth-art{width:128px;padding:14px;top:118px;right:20px}.auth-art-index{display:none}.auth-panel{padding:38px 20px 56px}.auth-heading{margin:34px 0 26px}.auth-heading h2{font-size:22px}.chat-layout{height:100%;display:block}.conversation-scrim{z-index:25;background:#1115186b;border:0;display:block;position:fixed;inset:56px 0 64px}.conversation-sidebar{z-index:30;border-right:1px solid var(--line);width:min(340px,88vw);height:calc(100dvh - 120px);box-shadow:var(--shadow);border-bottom:0;transition:transform .18s;position:fixed;top:56px;left:0;transform:translate(-102%)}.conversation-sidebar.open{transform:translate(0)}.panel-heading{align-items:center;min-height:86px;padding:17px 102px 12px 18px;position:relative}.panel-heading h1{font-size:23px}.panel-heading .icon-button.accent{position:absolute;right:56px}.mobile-conversation-close{display:grid;position:absolute;right:10px}.search-field{margin-bottom:12px;display:flex}.conversation-list{padding:0 9px 18px;display:block;overflow:hidden auto}.conversation-item{background:0 0;min-width:0;margin-bottom:4px}.conversation-actions{display:flex!important}.chat-workspace{grid-template-rows:62px minmax(0,1fr) auto;height:100%}.workspace-header{justify-content:flex-start;gap:8px}.workspace-header>.icon-button:last-child{margin-left:auto}.mobile-conversation-trigger{display:grid}.thread-heading{gap:9px}.thread-presence{display:none}.message-scroll{padding:22px 16px 10px}.chat-empty{place-content:center}.empty-glyph{width:46px;height:46px;margin-bottom:20px}.chat-empty h2{font-size:25px}.starter-prompts{margin-top:28px}.starter-prompts button{min-height:58px}.message-row{grid-template-columns:30px minmax(0,1fr)}.composer{min-height:58px;padding:7px 7px 7px 14px}.send-button{width:42px;height:42px}.page-header{min-height:116px}.page-title-block{gap:13px}.page-section-mark{width:42px;height:42px;box-shadow:6px 6px #dfe6ff}.page-header h1{font-size:23px}.generation-editor{margin:24px auto 42px}.image-prompt-composer{min-height:224px}.composer-reference-strip figure{width:76px}.editor-control-row{align-items:stretch}.generation-history{padding-top:24px}.section-heading{min-height:60px}.generation-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.starter-prompts button,.generation-preview,.conversation-sidebar{transition:none}}@media (width<=620px){#root input,#root textarea,#root select{font-size:16px}.app-shell,.workspace,.chat-layout,.chat-workspace,.images-workspace,.admin-page,.auth-layout,.auth-panel{width:100%;min-width:0;max-width:100%}.auth-layout{overflow:hidden auto}}:root{--ink:#11151c;--muted:#697486;--paper:#f3f6fb;--line:#dbe1eb;--line-strong:#aeb8c8;--deep:#0e141a;--deep-soft:#1a222b;--accent:#2457ff;--accent-soft:#e7edff;--coral:#ff6049;--green:#1ca874;--shadow:0 22px 60px #141f3624}.app-shell{isolation:isolate;background:var(--paper);position:relative;overflow:hidden}.shell-atmosphere{z-index:0;pointer-events:none;position:fixed;inset:0 0 0 216px;overflow:hidden}.shell-atmosphere:before{content:"";opacity:.62;background-image:repeating-linear-gradient(90deg,#0000 0 55px,#15223907 56px),repeating-linear-gradient(0deg,#0000 0 55px,#15223906 56px);position:absolute;inset:0}.shell-atmosphere span{animation:16s ease-in-out infinite alternate atmosphere-drift;display:block;position:absolute;transform:rotate(-13deg)}.shell-atmosphere span:first-child{background:linear-gradient(90deg,#0000,#2457ff12,#0000);border:1px solid #2457ff1f;width:62vw;height:210px;top:18%;right:-24%}.shell-atmosphere span:last-child{background:linear-gradient(90deg,#0000,#ff60490e,#0000);border:1px solid #ff60491a;width:48vw;height:120px;animation-delay:-7s;bottom:12%;right:-14%}.app-shell>.mobile-header,.app-shell>.primary-sidebar,.app-shell>.workspace,.app-shell>.mobile-bottom-nav{z-index:1}.brand-mark,.page-section-mark,.mobile-brand-mark{background:var(--accent);box-shadow:6px 6px 0 var(--coral)}.primary-sidebar{background:linear-gradient(150deg, #2457ff29, transparent 32%), var(--deep)}.workspace-nav a{border:1px solid #0000;transition:color .18s,background .18s,border-color .18s}.workspace-nav a:hover{border-color:#303b47}.workspace-nav a.active{background:#1b232c;border-color:#343e49}.chat-layout,.chat-workspace,.images-workspace,.admin-page{background:0 0;position:relative}.conversation-sidebar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f8fafdf0}.chat-workspace{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffdb}.workspace-header{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffc2}.thread-presence{animation:2.6s ease-in-out infinite presence-pulse}.message-scroll{background:0 0}.chat-empty{animation:.52s ease-out both content-reveal;position:relative}.empty-glyph{width:116px;height:112px;color:var(--accent);box-shadow:none;border-radius:0;margin:0 0 20px;position:relative;overflow:visible}.empty-glyph:before,.empty-glyph:after{content:"";width:76px;height:76px;position:absolute;top:17px;left:1px}.empty-glyph:before{background:var(--accent);box-shadow:14px 14px 0 var(--coral)}.empty-glyph:after{background:#ffffffd1;border:1px solid #11151c29;top:4px;left:27px}.empty-glyph img{z-index:2;filter:drop-shadow(0 17px 17px #0f152333);width:108px;height:108px;animation:4.8s ease-in-out infinite artwork-float;position:absolute;inset:0}.empty-glyph>span{z-index:3;border:1px solid var(--line);width:30px;height:30px;color:var(--accent);background:#fff;border-radius:50%;place-items:center;animation:3.2s ease-in-out infinite spark-breathe;display:grid;position:absolute;top:0;right:0;box-shadow:0 8px 20px #151f321f}.chat-empty h2{color:#0d1117;max-width:520px;font-size:34px;line-height:1.18}.chat-empty p{color:#6b7686}.starter-prompts{border-color:#d7dee9}.starter-prompts button{border-color:#d7dee9;transition:color .18s,padding .18s,background .18s;position:relative}.starter-prompts button:before{content:"";background:var(--coral);width:3px;height:0;transition:height .18s;position:absolute;left:0}.starter-prompts button:hover:before,.starter-prompts button:focus-visible:before{height:24px}.starter-prompts button:hover{color:var(--accent);background:#2457ff09}.composer{background:#fffffff5;border-color:#aab5c5;transition:border-color .18s,box-shadow .18s,transform .18s;box-shadow:0 18px 46px #17233c24}.composer:focus-within{transform:translateY(-1px);box-shadow:0 20px 52px #2457ff2e}.send-button,.image-submit-button{transition:transform .16s,box-shadow .16s,background .16s;box-shadow:5px 5px #ff6049d6}.send-button:hover:not(:disabled),.image-submit-button:hover:not(:disabled){background:#1747ed;transform:translate(-1px,-1px);box-shadow:7px 7px #ff6049e0}.send-button:disabled,.image-submit-button:disabled{box-shadow:none}.images-workspace{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f3f6fbbd}.page-header:after{content:"";background:linear-gradient(90deg,#0000,#2457ff14);border:1px solid #2457ff29;width:180px;height:46px;animation:8s ease-in-out infinite alternate header-band-drift;position:absolute;bottom:-22px;right:2%;transform:rotate(-12deg)}.page-title-block,.model-stamp{z-index:1;position:relative}.page-section-mark{animation:.48s ease-out both mark-arrive}.page-header h1{color:#10141a}.model-stamp{background:var(--deep);border-color:#25303b}.image-prompt-composer{background:#fffffff5;border-color:#aeb9c9;position:relative;overflow:hidden;box-shadow:0 24px 58px #15213a24}.image-prompt-composer:before{content:"";z-index:2;height:3px;transition:right .24s;position:absolute;top:0;left:0;right:34%}.image-prompt-composer:after{content:"";z-index:2;height:3px;transition:left .24s;position:absolute;top:0;left:66%;right:0}.image-prompt-composer:focus-within:before{right:18%}.image-prompt-composer:focus-within:after{left:82%}.image-prompt-composer:focus-within,.image-prompt-composer.dragging{box-shadow:0 26px 64px #2457ff2e}.add-reference-button{color:#202731;background:#f5f7fa;border:1px solid #ccd4df;transition:color .16s,border-color .16s,background .16s}.size-selector .active{background:var(--deep);box-shadow:4px 4px #ff6049b8}.generation-history{animation:.52s ease-out .15s both content-reveal}.history-empty{background:repeating-linear-gradient(135deg,#0000 0 18px,#2457ff09 19px),#ffffffb3;position:relative;overflow:hidden}.admin-header{position:relative;overflow:hidden}.admin-header:after{content:"";background:linear-gradient(90deg,#0000,#2457ff14);border:1px solid #2457ff26;width:170px;height:42px;position:absolute;bottom:-20px;right:-40px;transform:rotate(-11deg)}.admin-header>div,.admin-header>button{z-index:1;position:relative}.admin-metrics,.admin-settings-band,.admin-search,.admin-health-list{border-color:#cfd7e2;box-shadow:0 14px 34px #15213a14}.admin-metric{position:relative;overflow:hidden}.admin-metric:after{content:"";background:var(--accent);height:3px;position:absolute;bottom:0;left:0;right:0}.admin-metric.warning:after{background:var(--coral)}.admin-metric.success:after{background:var(--green)}.admin-search:focus-within{border-color:var(--accent);box-shadow:0 14px 38px #2457ff1f}.auth-identity{background-color:var(--deep);background-image:url(/assets/qlai-brand-background-v1-D3Zdsw_W.webp);background-position:50%;background-size:cover}.auth-identity:before{display:none}.auth-art{display:none}.auth-art:after{width:86px}.auth-art img{filter:drop-shadow(0 24px 20px #00000052);animation:5.6s ease-in-out infinite artwork-float}.auth-panel{background:#f7f9fcf5}.auth-tabs{background:#e8ecf2;border-color:#cdd5e0}.auth-tabs .active{background:var(--deep)}.auth-form-wrap input{border-color:#aeb9c9;box-shadow:inset 0 1px #11151c08}.auth-form-wrap input:focus{outline:0;box-shadow:0 0 0 4px #2457ff1a}.auth-submit{transition:transform .16s,box-shadow .16s}.auth-submit:hover:not(:disabled){transform:translate(-1px,-1px)}@keyframes atmosphere-drift{0%{transform:translate(-2%,-6px)rotate(-13deg)}to{transform:translate(5%,8px)rotate(-10deg)}}@keyframes artwork-float{0%,to{transform:translate(0,0)rotate(-1deg)}50%{transform:translateY(-8px)rotate(1deg)}}@keyframes artwork-frame-float{0%,to{transform:translate(0,0)}50%{transform:translateY(-6px)}}@keyframes spark-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}@keyframes presence-pulse{0%,to{box-shadow:0 0 0 4px #e5f5ef}50%{box-shadow:0 0 0 7px #1ca87414}}@keyframes content-reveal{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes mark-arrive{0%{opacity:0;box-shadow:0 0 0 var(--coral);transform:translate(-6px,6px)}to{opacity:1;box-shadow:8px 8px 0 var(--coral);transform:translate(0)}}@keyframes header-band-drift{0%{transform:translate(-8px)rotate(-12deg)}to{transform:translate(12px)rotate(-9deg)}}@media (width<=860px){.shell-atmosphere{inset:58px 0 68px}.app-shell{grid-template-rows:58px minmax(0,1fr) 68px}.mobile-header{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffe8;border-color:#d5dce7e6;min-height:58px}.mobile-brand{color:#0e1319;align-items:center;gap:9px;font-size:15px;display:flex}.mobile-brand-mark{color:#fff;width:28px;height:28px;box-shadow:4px 4px 0 var(--coral);place-items:center;display:grid}.mobile-status{min-width:68px}.mobile-quota{color:#687384;font-size:10px}.mobile-bottom-nav{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffed;border-color:#d5dce7eb;min-height:68px}.mobile-bottom-nav a{color:#7b8592;min-height:52px;transition:color .16s,transform .16s}.mobile-bottom-nav a.active{transform:translateY(-1px)}.mobile-bottom-nav a.active:before{top:-6px}.logout-button{align-items:center;gap:6px;width:auto;padding:0 10px;display:inline-flex}.logout-label{font-size:12px;font-weight:700;display:inline}.app-shell>.primary-sidebar{z-index:40;background:linear-gradient(150deg, #2457ff33, transparent 36%), var(--deep);width:min(300px,88vw)}}@media (width<=620px){.shell-atmosphere:before{opacity:.48;background-image:repeating-linear-gradient(90deg,#0000 0 39px,#15223907 40px),repeating-linear-gradient(0deg,#0000 0 39px,#15223906 40px)}.shell-atmosphere span:first-child{width:520px;height:150px;top:22%;right:-360px}.shell-atmosphere span:last-child{width:420px;height:90px;bottom:16%;right:-290px}.conversation-scrim{inset:58px 0 68px}.conversation-sidebar{height:calc(100dvh - 126px);top:58px}.chat-workspace{background:#ffffffb3;grid-template-rows:64px minmax(0,1fr) auto}.workspace-header{min-height:64px;padding:0 12px}.message-scroll{padding:18px 16px 8px}.chat-empty{justify-content:center}.empty-glyph{width:104px;height:100px;margin-bottom:16px}.empty-glyph:before,.empty-glyph:after{width:68px;height:68px}.empty-glyph img{width:98px;height:98px}.empty-glyph>span{width:28px;height:28px}.chat-empty h2{max-width:330px;font-size:28px;line-height:1.16}.chat-empty p{margin-top:9px;font-size:13px}.starter-prompts{margin-top:24px}.starter-prompts button{min-height:56px;padding:0 4px;font-size:13px}.composer-zone{padding:8px 10px 12px}.composer{border-color:#9eabbc;min-height:60px}.images-workspace{padding:0 16px 46px}.page-header{color:#fff;background-color:var(--deep);background-image:url(/assets/qlai-brand-background-v1-D3Zdsw_W.webp);background-position:50% 31%;background-size:cover;border:0;min-height:132px;margin:0 -16px;padding:0 16px}.page-header:before,.page-header:after{display:none}.page-title-block{gap:14px}.page-section-mark{width:46px;height:46px;box-shadow:7px 7px 0 var(--coral);flex:none}.page-header h1{color:#fff;text-shadow:0 2px 12px #000000b8;font-size:25px}.page-header p{color:#b9c2ce;text-shadow:0 2px 10px #000000c2;max-width:230px;font-size:11px}.generation-editor{margin:26px auto 42px}.prompt-field>label{color:#272e38;font-size:12px}.image-prompt-composer{border-radius:8px;min-height:230px;box-shadow:0 22px 48px #15213a29}.image-prompt-composer textarea{line-height:1.55}.add-reference-button,.image-submit-button{width:40px;height:40px}.editor-control-row{margin-top:20px}.size-selector{min-height:44px;padding:4px}.size-selector label{min-height:34px}.generation-history{border-color:#cfd7e2}.section-heading h2{font-size:23px}.auth-identity{background-position:50% 38%;min-height:350px}.auth-brand{gap:12px}.identity-copy{width:78%;margin:64px 0 18px}.identity-copy h1{font-size:34px;line-height:1.14}.identity-copy>p:last-child{color:#adb8c5}.auth-art{width:142px;padding:13px;top:112px;right:16px;box-shadow:10px 10px #2457ff6b}.auth-panel{background:#f6f8fb;padding:36px 20px 58px}.auth-heading{margin:32px 0 26px}.section-icon{box-shadow:5px 5px 0 var(--accent-soft)}.auth-submit{box-shadow:6px 6px 0 var(--coral)}.admin-page{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f3f6fbc7}.admin-header{color:#fff;background-color:var(--deep);background-image:url(/assets/qlai-brand-background-v1-D3Zdsw_W.webp);background-position:50% 31%;background-size:cover;min-height:112px;margin:0 -14px;padding:0 14px}.admin-header:before,.admin-header:after{display:none}.admin-header>div>span{color:#aeb9c6}.admin-header h1{color:#fff;text-shadow:0 2px 12px #000000b8}.admin-tabs{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff0;border-color:#d7dee8;margin:0 -14px;padding:0 8px}.admin-tabs button.active{border-bottom-color:var(--coral);color:var(--accent)}}@media (width<=350px){.mobile-brand{gap:7px}.mobile-brand-mark{width:26px;height:26px}.chat-empty h2{font-size:26px}.starter-prompts button{min-height:54px;font-size:12px}.page-header p{max-width:190px}.identity-copy{width:78%}.identity-copy h1{font-size:30px}}@media (width<=620px) and (height<=640px){.message-scroll{padding-top:8px}.empty-glyph{width:72px;height:64px;margin-bottom:8px}.empty-glyph:before,.empty-glyph:after{width:48px;height:48px;top:8px}.empty-glyph:after{top:1px;left:18px}.empty-glyph img{width:68px;height:68px}.empty-glyph>span{width:23px;height:23px}.empty-glyph>span svg{width:14px;height:14px}.chat-empty h2{font-size:23px}.chat-empty p{margin-top:5px;font-size:11px}.starter-prompts{margin-top:10px}.starter-prompts button{min-height:42px;font-size:11px}.composer-zone{padding-top:6px;padding-bottom:8px}.composer{min-height:54px}.send-button{width:40px;height:40px}}@media (prefers-reduced-motion:reduce){.shell-atmosphere span,.thread-presence,.empty-glyph img,.empty-glyph>span,.page-header:after,.page-section-mark,.generation-editor,.generation-history,.auth-art,.auth-art img,.auth-form-wrap,.chat-empty{animation:none}}:root{--ink:#14171c;--muted:#68717f;--paper:#f7f8fa;--surface:#fff;--line:#e3e7ed;--line-strong:#cbd3df;--deep:#111318;--deep-soft:#252a32;--accent:#1557ff;--accent-soft:#edf2ff;--coral:#ff5a4f;--coral-soft:#fff0ed;--lime:#b7e43c;--green:#25a97b;--shadow:0 18px 48px #1118271a}html,body,#root{background:#fff}body{color:var(--ink)}.boot-screen{background:#fff}.boot-logo{object-fit:contain;width:92px;height:92px;animation:3.2s ease-in-out infinite logo-breathe}.brand-mark-image{object-fit:contain;flex:none;width:42px;height:42px}.auth-logo-lockup{object-fit:contain;object-position:left center;width:min(320px,100%);height:auto;display:block}.auth-brand{min-height:54px}.auth-brand,.identity-copy{text-shadow:none}.app-shell{background:#fff}.primary-sidebar{border-right-color:var(--line);color:var(--ink);background:#fff}.brand-block{padding-inline:7px}.brand-block strong{color:var(--ink)}.brand-block span{color:var(--muted)}.workspace-nav a{color:#697382}.workspace-nav a:hover{color:var(--ink);background:#f5f7fa}.workspace-nav a.active{color:var(--accent);background:var(--accent-soft);position:relative}.workspace-nav a.active:before{content:"";background:var(--coral);width:3px;height:22px;position:absolute;left:0}.quota-summary{border-color:var(--line)}.quota-title,.quota-summary>div,.user-name span{color:var(--muted)}.quota-summary strong,.user-name strong{color:var(--ink)}.quota-summary small{color:#98a1ad}.quota-summary p{color:var(--green)}.user-row{border-top-color:var(--line)}.user-avatar{color:var(--accent);background:var(--accent-soft)}.user-row .icon-button{color:var(--muted)}.user-row .icon-button:hover{color:var(--accent);background:var(--accent-soft)}.workspace{background:#fff}.conversation-sidebar{background:#f7f8fa}.chat-workspace{background:#fff}.workspace-header{border-bottom-color:var(--line)}.thread-heading>span,.thread-heading h2{color:var(--ink)}.thread-heading>span{color:var(--muted)}.thread-presence{background:var(--green)}.empty-glyph{background:0 0;border:0;width:96px;height:96px}.empty-glyph:before,.empty-glyph:after{display:none}.empty-glyph img{object-fit:contain;width:92px;height:92px;animation:4s ease-in-out infinite logo-breathe}.empty-glyph>span{color:#fff;background:var(--accent);box-shadow:4px 4px 0 var(--coral);border-color:#fff}.chat-empty h2{color:var(--ink);font-weight:800}.starter-prompts{border-color:var(--line);background:#fff}.starter-prompts button{color:#4d5868;border-color:var(--line);background:#fff}.starter-prompts button:hover,.starter-prompts button:focus-visible{color:var(--accent);background:var(--accent-soft)}.composer-zone{background:#fff}.composer{border-color:var(--line-strong);background:#fffffffa;box-shadow:0 16px 38px #1118271a}.composer:focus-within{border-color:var(--accent);box-shadow:0 18px 42px #1557ff24}.send-button,.image-submit-button{background:var(--accent);box-shadow:5px 5px #ff5a4fd1}.send-button:hover:not(:disabled),.image-submit-button:hover:not(:disabled){background:#0b46e8;box-shadow:7px 7px #ff5a4fe0}.images-workspace{background:#fff}.page-header{border-bottom-color:var(--line);background:#fff;min-height:190px;display:block;position:relative;overflow:hidden}.page-art-strip{border-bottom:1px solid var(--line);background:#fff;width:100%;height:112px;overflow:hidden}.page-art-strip img{object-fit:cover;object-position:center bottom;width:100%;height:100%;animation:12s ease-in-out infinite alternate film-drift;display:block}.page-header-content{justify-content:space-between;align-items:center;gap:20px;min-height:78px;padding:15px 0 16px;display:flex}.page-header h1{color:var(--ink);font-weight:820}.page-header p{color:var(--muted)}.page-section-mark{color:#fff;background:var(--accent);box-shadow:8px 8px 0 var(--coral)}.model-stamp{border-color:var(--line-strong);color:var(--accent);background:#fff}.generation-editor{animation:.52s ease-out 80ms both content-reveal}.image-prompt-composer{border-color:var(--line-strong);box-shadow:var(--shadow);background:#fff}.image-prompt-composer:focus-within,.image-prompt-composer.dragging{border-color:var(--accent);box-shadow:0 24px 54px #1557ff24}.image-prompt-composer:before{background:var(--accent)}.image-prompt-composer:after{background:var(--coral)}.add-reference-button{border-color:var(--line-strong);color:var(--ink);background:#fff}.add-reference-button:hover:not(:disabled){border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.size-selector{background:#f0f2f5}.size-selector .active{color:#fff;background:var(--accent);box-shadow:4px 4px 0 var(--coral)}.generation-history{border-top-color:var(--line)}.generation-preview{border-color:var(--line);box-shadow:0 12px 28px #11182714}.generation-info>p{color:var(--ink)}.record-count{color:var(--accent);background:var(--accent-soft);box-shadow:4px 4px 0 var(--coral)}.auth-layout{background:#fff}.auth-identity{min-height:100vh;color:var(--ink);border-right:1px solid var(--line);background:#fff}.auth-brand{justify-content:flex-start}.identity-copy h1{color:var(--ink);font-weight:820}.identity-copy>p:last-child{color:var(--muted)}.identity-ledger{border-top-color:var(--line)}.identity-ledger>div{color:var(--muted)}.identity-ledger svg{color:var(--accent)}.auth-art{border-top:1px solid var(--line);border-bottom:1px solid var(--line);width:100%;height:180px;box-shadow:none;background:#fff;padding:0;display:block;position:relative;top:auto;right:auto;overflow:hidden}.auth-art:after{background:var(--coral);width:64px;bottom:10px;right:0}.auth-art-index{color:var(--muted);top:10px;right:0}.auth-art img{object-fit:cover;object-position:center bottom;filter:none;mix-blend-mode:multiply;width:100%;height:100%;animation:12s ease-in-out infinite alternate film-drift}.auth-panel{color:var(--ink);background:#fff}.auth-form-wrap{animation:.52s ease-out both content-reveal}.auth-tabs{border-color:var(--line);background:#f0f2f5}.auth-tabs .active{color:#fff;background:var(--accent);box-shadow:4px 4px 0 var(--coral)}.auth-heading h2{color:var(--ink);font-weight:820}.auth-heading p{color:var(--muted)}.section-icon{color:var(--accent);border-color:var(--line);background:var(--accent-soft);box-shadow:5px 5px 0 var(--coral)}.auth-form-wrap input{border-color:var(--line-strong);color:var(--ink);background:#fff}.auth-form-wrap input:focus{border-color:var(--accent);box-shadow:0 0 0 4px #1557ff1a}.auth-submit{color:#fff;background:var(--accent);box-shadow:7px 7px 0 var(--coral)}.auth-submit:hover:not(:disabled){box-shadow:9px 9px 0 var(--coral);background:#0b46e8}.mobile-brand-logo{object-fit:contain;width:32px;height:32px}.mobile-brand>span{gap:1px;display:grid}.mobile-brand strong{color:var(--ink);font-size:15px;line-height:1}.mobile-brand small{color:var(--muted);font-size:9px;font-weight:700;line-height:1}@keyframes logo-breathe{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-3px)scale(1.02)}}@keyframes film-drift{0%{transform:scale(1.02)translate(-1%)}to{transform:scale(1.06)translate(1%,-1%)}}@media (width<=860px){.app-shell{background:#fff;grid-template-rows:60px minmax(0,1fr) 70px}.mobile-header{border-bottom-color:var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff5;min-height:60px;padding:0 14px}.mobile-brand{gap:8px}.mobile-brand-logo{width:34px;height:34px}.mobile-quota{color:var(--muted)}.primary-sidebar{background:#fff}.mobile-bottom-nav{min-height:70px;padding:5px 12px max(5px, env(safe-area-inset-bottom));border-top-color:var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff7}.mobile-bottom-nav a{color:#7c8796}.mobile-bottom-nav a.active{color:var(--accent)}.mobile-bottom-nav a.active:before{background:var(--coral);width:40px;height:3px}.conversation-sidebar,.chat-workspace{background:#fff}.workspace-header{min-height:64px;padding:0 14px}.message-scroll{padding:20px 16px 10px}.composer-zone{padding:8px 10px 12px}.composer{min-height:60px}.images-workspace{padding:0 16px 44px}.page-header{min-height:190px;margin:0 -16px;padding:0 16px}.page-art-strip{height:104px;margin:0 -16px}.page-header-content{align-items:flex-start;min-height:86px;padding:16px 0 15px}.page-title-block{gap:13px}.page-section-mark{width:44px;height:44px;box-shadow:6px 6px 0 var(--coral);flex:none}.page-header h1{font-size:25px}.page-header p{max-width:220px;font-size:11px}.model-stamp{display:none}.generation-editor{margin:24px auto 40px}.image-prompt-composer{min-height:230px}.generation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.history-toolbar{grid-template-columns:minmax(0,1fr);align-items:stretch;display:grid}.history-filters{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.history-filters select{width:100%;min-width:0;padding-right:18px}.history-view-switch{place-self:end}.batch-download-bar{flex-wrap:wrap}.batch-download-bar>span{margin-left:0}.batch-download-bar>button{margin-left:auto}.generation-select-control{min-width:40px;padding:0 7px}.generation-select-control span{display:none}.generation-grid.list-view .generation-item{grid-template-columns:120px minmax(0,1fr);gap:12px}.generation-grid.list-view .generation-stage-track,.generation-grid.list-view .history-reference-strip{display:none}.generation-grid.list-view .generation-info>p{min-height:auto}.generation-info>p{min-height:52px;padding-right:0;font-size:12px}.generation-meta{font-size:9px}.generation-actions{grid-template-columns:repeat(4,40px);justify-content:flex-end;margin-top:6px;position:static}.auth-layout{background:#fff;min-height:100dvh;display:block;overflow-y:auto}.auth-identity{border-right:0;min-height:auto;padding:22px 18px 0}.identity-copy,.identity-ledger{display:none}.auth-brand{justify-content:center}.auth-logo-lockup{width:min(250px,82vw)}.identity-copy{text-align:center;width:100%;margin:24px 0 16px}.identity-copy h1{margin:0 0 9px;font-size:28px;line-height:1.18}.identity-copy>p:last-child{max-width:300px;margin:0 auto;font-size:12px;line-height:1.6}.auth-art{height:116px;margin-top:14px}.auth-art-index{font-size:9px;top:8px;right:4px}.auth-panel{background:#fff;padding:28px 18px 48px}.auth-form-wrap{width:min(100%,390px);margin:0 auto}.auth-heading{margin:28px 0 22px}.auth-heading h2{font-size:22px}.auth-heading p{font-size:12px}.auth-form-wrap input{min-height:48px}.auth-submit{min-height:50px}}@media (width<=350px){.mobile-header{padding:0 10px}.mobile-brand-logo{width:30px;height:30px}.page-header p{max-width:182px}.auth-logo-lockup{width:230px}.identity-copy h1{font-size:26px}}@media (prefers-reduced-motion:reduce){.boot-logo,.empty-glyph img,.page-art-strip img,.auth-art img{animation:none}}.composer-reference-strip{align-items:flex-start}.composer-reference-strip figure{aspect-ratio:auto;width:116px;padding-bottom:30px;transition:opacity .14s,transform .14s}.composer-reference-strip figure.sorting{z-index:3;opacity:.72;transform:scale(.98)}.reference-preview-button{aspect-ratio:1;color:#fff;overflow:hidden;background:#eef0ec!important;border:0!important;border-radius:7px 7px 0 0!important;width:100%!important;height:auto!important;position:relative!important;inset:auto!important}.reference-preview-button img{border-radius:7px 7px 0 0}.reference-preview-button svg{box-sizing:content-box;background:#111827b8;border-radius:3px;padding:3px;position:absolute;bottom:6px;right:6px}.composer-reference-strip .reference-remove-button,.composer-reference-strip .reference-sort-handle{z-index:2;width:26px;height:26px}.composer-reference-strip .reference-remove-button{top:-7px;right:-7px}.composer-reference-strip .reference-sort-handle{color:var(--muted);cursor:grab;touch-action:none;background:0 0;border:0;border-radius:3px;top:auto;bottom:2px;right:3px}.composer-reference-strip .reference-sort-handle:active{cursor:grabbing}.reference-order{z-index:2;color:#fff;background:var(--accent);border:1px solid #ffffffbf;border-radius:3px;place-items:center;min-width:22px;height:22px;font-size:10px;font-weight:800;display:grid;position:absolute;top:5px;left:5px}.reference-compression-badge{z-index:2;color:#fff;text-overflow:ellipsis;white-space:nowrap;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#111827c2;border-radius:3px;justify-content:center;align-items:center;gap:4px;max-width:calc(100% - 10px);min-height:19px;padding:4px 6px;font-size:8px;font-weight:750;line-height:1.25;display:flex;position:absolute;bottom:34px;left:5px;right:5px;overflow:hidden}.reference-compression-badge.processing{background:#1557ffdb}.reference-compression-badge.compressed{background:#117053e0}.reference-compression-badge.fallback{background:#8c382ae0}.reference-keyboard-order{display:flex;position:absolute;bottom:2px;left:2px}.composer-reference-strip .reference-keyboard-order button{width:27px;height:26px;color:var(--muted);background:0 0;border:0;border-radius:3px;position:static}.composer-reference-strip .reference-keyboard-order button:disabled{opacity:.25;cursor:default}.composer-reference-strip figcaption{width:calc(100% - 62px);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;line-height:1;position:absolute;bottom:8px;left:58px;overflow:hidden}.reference-order-hint,.reference-notice,.reference-processing-summary{margin:-3px 1px 8px;font-size:10px;line-height:1.45}.reference-order-hint{color:var(--muted)}.reference-notice{border-left:2px solid var(--coral);color:#8c382a;padding-left:8px}.reference-processing-summary{color:var(--accent);align-items:center;gap:6px;font-weight:700;display:flex}.upload-status{border:1px solid var(--line);background:#f7f8fa;border-radius:5px;margin-top:10px;padding:9px 10px}.upload-status>div{color:var(--ink);align-items:center;gap:7px;font-size:11px;font-weight:700;display:flex}.upload-status svg{color:var(--accent)}.upload-status progress{width:100%;height:4px;color:var(--accent);accent-color:var(--accent);background:#dfe4ec;border:0;border-radius:0;margin-top:7px;display:block}.upload-status progress::-webkit-progress-bar{background:#dfe4ec}.upload-status progress::-webkit-progress-value{background:var(--accent)}.upload-status progress::-moz-progress-bar{background:var(--accent)}.generation-stage-track{grid-template-columns:repeat(5,minmax(0,1fr));margin:10px 0 0;padding:0;list-style:none;display:grid}.generation-stage-track li{color:#a0a7b0;justify-items:center;gap:4px;min-width:0;display:grid;position:relative}.generation-stage-track li:before{content:"";background:#dce0e5;height:1px;position:absolute;top:9px;left:-50%;right:50%}.generation-stage-track li:first-child:before{display:none}.generation-stage-track li>span{z-index:1;background:#fff;border:1px solid #d4d9df;border-radius:50%;place-items:center;width:19px;height:19px;display:grid}.generation-stage-track small{text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:8px;line-height:1.2;overflow:hidden}.generation-stage-track li.complete,.generation-stage-track li.current{color:var(--accent)}.generation-stage-track li.complete:before,.generation-stage-track li.current:before{background:var(--accent)}.generation-stage-track li.complete>span{border-color:var(--accent);color:#fff;background:var(--accent)}.generation-stage-track li.current>span{border-color:var(--accent);background:var(--accent-soft)}.generation-stage-track li.failed{color:var(--coral)}.generation-stage-track li.failed>span{border-color:var(--coral);color:#fff;background:var(--coral)}.generation-info>p{min-height:auto}.reference-preview-scrim{z-index:90;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#10151bb8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.reference-preview-dialog{background:#fff;border:1px solid #ffffffb3;border-radius:7px;width:min(720px,100%);max-height:calc(100dvh - 36px);padding:14px;overflow:auto}.reference-preview-dialog header{justify-content:space-between;align-items:flex-start;gap:12px;min-height:42px;display:flex}.reference-preview-dialog h2{overflow-wrap:anywhere;font-size:16px}.reference-preview-dialog p{color:var(--muted);margin-top:4px;font-size:10px}.reference-preview-dialog header button{border:1px solid var(--line);width:40px;height:40px;color:var(--muted);cursor:pointer;background:#fff;border-radius:5px;flex:none;place-items:center;display:grid}.reference-preview-dialog>img{object-fit:contain;background:#eef0f3;width:100%;max-height:calc(100dvh - 124px);margin-top:10px;display:block}@media (width<=620px){.composer-reference-strip{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.composer-reference-strip figure{width:100%}.image-prompt-composer{min-height:250px}.generation-stage-track small{font-size:7px}.reference-preview-scrim{padding:10px}.reference-preview-dialog{max-height:calc(100dvh - 20px)}}.message-body{min-width:0}.message-quote{color:#8c9693;cursor:pointer;opacity:0;background:0 0;border:0;border-radius:4px;place-items:center;width:27px;height:27px;display:grid;position:absolute;top:1px;right:90px}.markdown-message:hover .message-quote,.message-quote:focus-visible{opacity:1}.message-quote:hover,.message-copy:hover,.message-regenerate:hover,.message-edit:hover{color:var(--accent);background:var(--accent-soft)}.message-quote-preview,.composer-quote{border-left:3px solid var(--accent);background:#f3f5ff;border-radius:4px}.message-undo{color:#6e5a2b;background:#fffaf0;border:1px solid #ead9ad;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;width:min(780px,100%);min-height:40px;margin:0 auto 8px;padding:8px 12px;font-size:12px;display:flex}.message-undo button{color:#6e5a2b;cursor:pointer;background:0 0;border:1px solid #b88b31;border-radius:4px;min-width:52px;min-height:32px;padding:0 10px}.message-quote-preview{max-width:100%;color:var(--muted);margin:0 0 8px;padding:7px 11px;font-size:12px;line-height:1.5}.message-quote-label,.composer-quote-label{color:var(--accent);letter-spacing:0;align-items:center;gap:5px;font-size:10px;font-weight:700;display:inline-flex}.message-quote-preview p,.composer-quote-copy p{-webkit-line-clamp:2;line-clamp:2;word-break:break-word;-webkit-box-orient:vertical;margin:3px 0 0;display:-webkit-box;overflow:hidden}.composer-quote{justify-content:space-between;align-items:center;gap:12px;width:min(780px,100%);min-height:48px;margin:0 auto 8px;padding:8px 8px 8px 12px;display:flex}.composer-quote-copy{min-width:0;color:var(--muted);font-size:12px;line-height:1.5}.composer-quote .icon-button{flex:none;width:32px;height:32px}@media (width<=620px){.message-quote{opacity:1;right:0}.message-copy{display:none}.message-regenerate,.message-edit{opacity:1;right:26px}.message-delete{opacity:1;right:52px}.message-undo{flex-direction:column;align-items:stretch}.message-undo button{width:100%}.message-quote-preview{margin-bottom:6px;padding:6px 9px;font-size:11px}.composer-quote{min-height:46px;margin-bottom:6px;padding-left:10px}}.account-page{scrollbar-color:#aeb7c3 transparent;scrollbar-width:thin;background:#eef1f5;padding:0 0 80px}.account-page::-webkit-scrollbar{width:6px}.account-page::-webkit-scrollbar-track{background:0 0}.account-page::-webkit-scrollbar-thumb{background:#aeb7c3;border-radius:0}.account-header{color:#fff;background-color:var(--deep);background-image:url(/assets/qlai-brand-background-v1-D3Zdsw_W.webp);background-position:50% 35%;background-size:cover;border-bottom:0;min-height:166px;padding:0 40px}.account-header-inner{justify-content:space-between;align-items:center;gap:36px;width:min(1040px,100%);min-width:0;margin:0 auto;display:flex}.account-title-lockup{min-width:0}.account-title-lockup span{color:#b9c4d4;letter-spacing:0;font-family:Bahnschrift,Segoe UI,sans-serif;font-size:10px;font-weight:700}.account-title-lockup h1{color:#fff;text-shadow:0 3px 18px #0000007a;margin-top:9px;font-size:38px;line-height:1}.account-identity{border-left:1px solid #ffffff42;grid-template-columns:46px minmax(0,1fr) 32px;align-items:center;gap:13px;width:min(330px,46%);min-height:86px;padding:16px 0 16px 20px;display:grid}.account-monogram{color:#fff;background:var(--accent);width:44px;height:44px;box-shadow:6px 6px 0 var(--coral);place-items:center;font-family:Bahnschrift,Segoe UI,sans-serif;font-size:18px;font-weight:800;display:grid}.account-identity>div{gap:3px;min-width:0;display:grid}.account-identity>div>span,.account-identity small{color:#aeb9c8;font-size:9px}.account-identity strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.account-identity>svg{color:#b8f28a}.account-content{grid-template-columns:1fr;gap:22px;width:min(1040px,100% - 56px);margin:28px auto 0}.account-section{box-shadow:none;background:#fff;border:1px solid #cdd4df}.usage-panel{border-top:3px solid var(--accent);animation:.42s ease-out both content-reveal;overflow:hidden}.account-section-heading{border-bottom-color:#dce1e8;gap:12px;min-height:70px;padding:0 22px}.account-section-index{border-right:1px solid #e0e4ea;align-self:stretch;align-items:center;width:26px;font-family:Bahnschrift,Segoe UI,sans-serif;display:flex;color:#a0a8b2!important;font-size:9px!important}.account-section-heading>svg{flex:none}.account-section-heading h2{font-size:17px;line-height:1.2}.account-section-heading>div>span{margin-top:3px;display:block}.usage-metrics-grid{border-bottom:1px solid #dce1e8}.usage-metric{border-top:3px solid var(--accent);border-right-color:#dce1e8;grid-template-rows:auto 1fr auto auto;gap:12px;min-height:188px;padding:24px 26px 22px;position:relative}.usage-metric.image{border-top-color:var(--coral)}.usage-metric.active{border-top-color:var(--green)}.usage-metric-heading{color:#505a67}.usage-metric-heading b{color:#9aa2ad;margin-left:auto;font-family:Bahnschrift,Segoe UI,sans-serif;font-size:10px}.usage-metric-icon{color:var(--accent);background:#edf1ff}.usage-metric.image .usage-metric-icon{color:#c94835;background:#fff0ed}.usage-metric.active .usage-metric-icon{color:#147a57;background:#e8f6f0}.usage-metric-value strong{font-size:44px;font-weight:760}.usage-metric-value span{font-size:13px}.usage-progress{background:#e5e9ef;height:4px}.usage-metric.image .usage-progress>span{background:var(--coral)}.usage-metric.active .usage-progress>span{background:var(--green)}.usage-period-note{color:#7b8490;background:#f7f8fa;border-top:0;justify-content:flex-end;min-height:44px}.account-security-grid{background:#fff;border:1px solid #cdd4df;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);min-width:0;animation:.42s ease-out 80ms both content-reveal;display:grid}.account-security-grid>.account-section{border:0;min-width:0}.account-security-grid>.account-section:first-child{border-right:1px solid #cdd4df}.account-security-grid .account-section-heading{background:#f8f9fb}.password-form label{color:#343d48;gap:8px;font-size:11px}.password-form input{background:#fbfcfd;border-color:#bcc5d1;border-radius:4px;height:46px;transition:border-color .16s,box-shadow .16s,background .16s}.password-form input:focus{border-color:var(--accent);background:#fff;outline:0;box-shadow:0 0 0 3px #2457ff1a}.password-submit{width:178px;min-height:44px;box-shadow:4px 4px 0 var(--coral);border-radius:4px;justify-self:end;margin-top:5px}.device-row{border-bottom-color:#e0e4ea;grid-template-columns:42px minmax(0,1fr) auto;gap:14px;min-height:102px;padding:18px 22px}.device-row.current{border-left:3px solid var(--accent);background:#f6f8ff;padding-left:19px}.device-icon{color:#33404f;background:#edf0f4;width:40px;height:40px}.device-row.current .device-icon{color:var(--accent);background:#e8edff}.device-copy strong{color:#202730;font-size:14px}.current-device{color:#176548;background:#effaf6;border:1px solid #bce5d5;border-radius:3px}.device-revoke-button,.device-others-button{border-radius:4px}.device-footer{background:#f8f9fb;border-top-color:#dce1e8;padding:16px 22px 20px}.device-others-button{background:#fff}@media (width<=860px){.account-header{padding:0 26px}.account-content{width:min(760px,100% - 36px)}.account-security-grid{grid-template-columns:1fr}.account-security-grid>.account-section:first-child{border-bottom:1px solid #cdd4df;border-right:0}}@media (width<=620px){.account-page{padding:0 0 34px}.account-header{min-height:146px;margin:0;padding:0 16px}.account-header-inner{align-items:center;gap:16px}.account-title-lockup h1{white-space:nowrap;margin-top:7px;font-size:30px}.account-identity{grid-template-columns:38px minmax(0,1fr) 22px;gap:9px;width:min(190px,58%);min-height:70px;padding:10px 0 10px 14px}.account-monogram{width:36px;height:36px;box-shadow:4px 4px 0 var(--coral);font-size:15px}.account-identity small{display:none}.account-identity>svg{width:20px;height:20px}.account-content{gap:14px;width:calc(100% - 24px);margin-top:14px}.account-section-heading{gap:9px;min-height:64px;padding:0 14px}.account-section-index{width:22px}.account-section-heading h2{font-size:16px}.usage-metric{gap:10px;min-height:148px;padding:18px 14px 16px}.usage-metric-heading{gap:6px;font-size:11px}.usage-metric-heading b{font-size:9px}.usage-metric-value strong{font-size:34px}.usage-metric:last-child{min-height:124px}.usage-period-note{justify-content:flex-start;min-height:42px;padding:0 14px}.password-form{padding:22px 16px 24px}.password-submit{width:100%}.device-row{grid-template-columns:40px minmax(0,1fr) 40px;gap:10px;padding:16px 14px}.device-row.current{padding-left:11px}.device-footer{padding:14px 14px 18px}}@media (width<=380px){.account-header-inner{gap:10px}.account-title-lockup{flex:none}.account-title-lockup h1{font-size:28px}.account-identity{flex:auto;grid-template-columns:34px minmax(0,1fr) 18px;gap:7px;width:auto;min-width:0;max-width:184px;padding-left:10px}.account-monogram{width:34px;height:34px}}@media (width>=861px){.app-shell{grid-template-columns:196px minmax(0,1fr)}.shell-atmosphere{left:196px}.primary-sidebar{padding:16px 10px 12px}.brand-block{gap:9px;min-height:48px;padding-inline:6px}.brand-mark-image{width:36px;height:36px}.brand-block strong{font-size:16px}.workspace-nav{gap:4px;margin-top:26px}.nav-label{margin:0 10px 5px}.workspace-nav a{gap:9px;min-height:40px;padding:0 11px;font-size:13px}.quota-summary{gap:5px;margin:0 6px 8px;padding:9px 1px}.online-note,.offline-note{min-height:30px;margin:0 6px 7px}.user-row{gap:8px;min-height:52px;padding:7px 6px}.user-avatar{width:30px;height:30px;font-size:12px}.icon-button{width:34px;height:34px}.primary-button{gap:7px;min-height:40px;padding-inline:14px;font-size:13px}.chat-layout{grid-template-columns:260px minmax(0,1fr)}.panel-heading{min-height:84px;padding:17px 15px 11px}.panel-heading h1{font-size:23px}.search-field{height:38px;margin:0 12px 10px}.conversation-view-tabs{margin-inline:12px}.conversation-item,.conversation-select{height:40px;min-height:40px}.chat-workspace{grid-template-rows:64px minmax(0,1fr) auto}.workspace-header{padding-inline:24px}.message-scroll{padding:26px 36px 14px}.empty-glyph{width:78px;height:76px;margin-bottom:14px}.empty-glyph img{width:74px;height:74px}.empty-glyph>span{width:26px;height:26px}.chat-empty h2{font-size:29px}.chat-empty p{margin-top:7px;font-size:13px}.starter-prompts{margin-top:24px}.starter-prompts button{min-height:44px}.message-row{margin-bottom:23px}.composer-zone{padding:8px 36px 16px}.composer{min-height:56px}.send-button{width:40px;height:40px}}.images-workspace{padding-bottom:42px;padding-left:clamp(24px,3vw,42px);padding-right:clamp(24px,3vw,42px)}.page-header{min-height:136px}.page-art-strip{height:72px}.page-header-content{min-height:64px;padding:10px 0 11px}.page-section-mark{width:40px;height:40px;box-shadow:5px 5px 0 var(--coral)}.page-title-block{gap:12px}.page-header h1{margin-bottom:3px;font-size:26px}.model-stamp{min-height:34px;padding-inline:11px}.generation-editor{margin:24px auto 30px}.prompt-field{gap:8px;font-size:12px}.image-prompt-composer{min-height:188px;padding:12px 12px 8px}.image-prompt-composer textarea{min-height:88px;padding-top:8px;padding-bottom:8px;font-size:14px;line-height:1.55}.image-composer-toolbar{min-height:40px}.add-reference-button,.image-submit-button{width:38px;height:38px}.editor-control-row{margin-top:13px}.editor-control-row legend{margin-bottom:6px}.generation-history{padding-top:20px}.section-heading{min-height:54px}.section-heading h2{font-size:20px}.history-toolbar{margin-bottom:14px}.history-filters select,.history-view-switch button,.batch-download-bar{min-height:38px}.generation-grid{grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:22px 16px}.history-empty{min-height:160px}.account-header{min-height:136px}.account-title-lockup h1{font-size:34px}.account-identity{min-height:74px;padding-top:10px;padding-bottom:10px}.account-content{gap:16px;margin-top:20px}.account-section-heading{min-height:60px}.usage-metric{gap:9px;min-height:154px;padding:19px 22px 17px}.usage-metric-value strong{font-size:38px}.usage-period-note{min-height:38px}.password-form{gap:13px;padding:20px 22px 22px}.password-form input{height:42px}.password-submit{min-height:40px}.device-row{min-height:86px;padding-top:14px;padding-bottom:14px}.device-footer{padding-top:12px;padding-bottom:15px}.admin-page{padding-bottom:48px}.admin-header{min-height:88px}.admin-header h1{font-size:25px}.admin-tabs{min-height:50px}.admin-metrics{margin-top:20px}.admin-metric{min-height:104px;padding:16px}.admin-metric strong{font-size:26px}.admin-settings-band{margin-top:22px}.admin-section-title{min-height:50px}.admin-setting-row{min-height:64px;padding-top:9px;padding-bottom:9px}.admin-health-list{margin-top:16px}.admin-health-list>div{min-height:48px}.admin-list-section{padding-top:18px}.admin-search{height:42px}.admin-list-heading{min-height:44px}.admin-user-list>button{min-height:58px;padding-top:8px;padding-bottom:8px}.admin-task-list article,.admin-audit-list article{min-height:64px;padding-top:9px;padding-bottom:9px}.auth-identity{padding:32px 42px}.identity-copy h1{margin:14px 0 16px;font-size:38px}.identity-copy>p:last-child{font-size:14px;line-height:1.65}.identity-ledger>div{min-height:64px}.auth-panel{padding:32px}.auth-form-wrap{width:min(400px,100%)}.auth-heading{margin:28px 0 22px}.auth-form-wrap form{gap:14px}.auth-form-wrap input{height:42px}@media (width<=860px){.app-shell{grid-template-rows:52px minmax(0, 1fr) calc(58px + env(safe-area-inset-bottom))}.mobile-header{min-height:52px;padding-inline:12px}.mobile-header .icon-button{width:40px;height:40px}.app-shell>.primary-sidebar{background:#fff}.primary-sidebar:not(.open),.conversation-sidebar:not(.open){visibility:hidden}.mobile-brand-logo{width:30px;height:30px}.mobile-bottom-nav{min-height:calc(58px + env(safe-area-inset-bottom));padding:3px 10px calc(3px + env(safe-area-inset-bottom))}.mobile-bottom-nav a{min-height:48px}.workspace-header{min-height:56px}.thread-heading{flex:1;min-width:0;overflow:hidden}.thread-heading h2{max-width:100%;font-size:16px}.workspace-header-actions>.context-status{display:none}.icon-button{flex-shrink:0;width:44px;height:44px}.chat-empty h2{text-shadow:none;font-size:26px;line-height:1.35}.chat-empty p,.starter-prompts button{font-size:14px}.empty-glyph,.empty-glyph img{width:64px;height:64px}.empty-glyph img{animation:none}.empty-glyph>span{box-shadow:none}.message-scroll{padding:16px 14px 8px}.message-row{grid-template-columns:minmax(0,1fr);gap:5px;margin-bottom:20px}.message-meta{color:#626e80;font-size:12px}.markdown-message,.message-row.user .markdown-message{overflow-wrap:anywhere;padding:0;font-size:16px}.message-row.user .markdown-message{padding:12px}.message-actions{flex-wrap:wrap;gap:2px;margin-top:8px;display:flex}.message-actions>button{opacity:1;color:#637087;width:44px;height:44px;display:inline-grid;position:static}.message-actions>button.danger{margin-left:auto}.message-actions>button:disabled{opacity:.45}.markdown-code-toolbar button{min-height:40px;padding-inline:10px}.conversation-item:not(.trash){flex-direction:column;align-items:stretch;height:auto;display:flex}.conversation-item:not(.trash) .conversation-select{width:100%;padding-right:12px}.conversation-item:not(.active):not(.trash) .conversation-actions{display:none!important}.conversation-item.active:not(.trash) .conversation-actions{justify-content:flex-end;width:100%;padding:0 8px 4px;position:static}.summary-drawer{border-radius:8px;box-shadow:0 12px 32px #15203326}.summary-drawer-content{font-size:15px}.composer-zone{padding:6px 9px 9px}.composer{align-items:flex-end;min-height:54px;box-shadow:0 3px 14px #1520330c}.composer textarea,.message-editor textarea,.message-search-bar input,.search-field input,.image-prompt-composer textarea,.auth-form-wrap input,.password-form input,.admin-search input{font-size:16px}.send-button,.image-submit-button,.add-reference-button{width:44px;height:44px;box-shadow:none}.images-workspace{padding:0 12px 32px}.page-header{min-height:108px;margin:0 -12px;padding:0 12px}.page-art-strip{height:44px;margin:0 -12px}.page-header-content{align-items:center;min-height:64px;padding:10px 0}.page-title-block{gap:10px}.page-section-mark{width:38px;height:38px;box-shadow:none;border-radius:4px}.page-header h1{text-shadow:none;font-size:22px}.page-header p{max-width:280px;text-shadow:none;font-size:12px;line-height:1.5}.generation-editor{margin:16px auto 24px}.image-prompt-composer{min-height:176px;box-shadow:0 4px 18px #1520330d}.image-prompt-composer textarea{font-weight:400}.image-prompt-composer:before{display:none}.image-prompt-composer textarea::placeholder{color:#747f8f;font-weight:400}.prompt-field>label{font-size:14px}.size-selector label{flex-direction:column;justify-content:center;gap:6px;min-height:52px;font-size:13px;display:flex}.size-selector .active{box-shadow:none}.ratio-icon{border:1.5px solid;border-radius:2px;width:16px;height:16px;display:block}.ratio-icon[data-ratio="16:9"]{width:22px;height:12px}.ratio-icon[data-ratio="9:16"]{width:10px;height:18px}.ratio-icon[data-ratio="4:3"]{width:20px;height:15px}.record-count{box-shadow:none}.generation-meta,.reference-count,.editor-control-row legend{font-size:12px}.editor-control-row{margin-top:11px}.generation-history{padding-top:16px}.section-heading{min-height:48px}.history-empty{min-height:150px}.account-page{padding-bottom:26px}.account-header{min-height:128px}.account-title-lockup h1{text-shadow:none;font-size:28px}.account-monogram{box-shadow:none}.account-content{gap:12px;margin-top:12px}.account-section-heading{min-height:56px}.usage-metric{gap:8px;min-height:126px;padding:14px 13px 13px}.usage-metric-value strong{font-size:30px}.usage-metric:last-child{min-height:106px}.usage-period-note{min-height:36px}.password-form{gap:12px;padding:18px 15px 20px}.password-form input{height:42px}.password-submit{min-height:44px}.device-row{min-height:82px;padding-top:12px;padding-bottom:12px}.device-revoke-button,.device-others-button{min-height:40px}.admin-page{padding:0 14px 32px}.admin-header{min-height:76px}.admin-tabs{min-height:48px}.admin-metrics{margin-top:16px}.admin-metric{min-height:92px;padding:13px}.auth-identity{padding:16px 16px 0}.auth-logo-lockup{width:min(220px,72vw)}.auth-panel{padding:22px 16px 32px}.auth-heading{margin:22px 0 18px}.auth-form-wrap input,.auth-submit{min-height:44px}}:root{--ink:#20242c;--muted:#75808f;--paper:#f7f8fa;--surface:#fff;--line:#e8ebf0;--line-strong:#d4dbe5;--accent:#245bfa;--accent-soft:#edf2ff;--green:#219f79;--shadow:0 3px 16px #1e293b08}.studio-shell,.studio-auth{color:var(--ink);letter-spacing:0;font-family:Segoe UI Variable Text,Microsoft YaHei UI,PingFang SC,sans-serif;font-size:14px;line-height:1.5}.studio-shell h1,.studio-shell h2,.studio-shell h3,.studio-auth h1,.studio-auth h2{letter-spacing:0;text-shadow:none;font-weight:650}.studio-shell{background:#fff;grid-template-columns:212px minmax(0,1fr)}.studio-shell .primary-sidebar{border-right:1px solid var(--line);background:#f8f9fb;padding:24px 14px 16px}.studio-shell .brand-block{gap:10px;min-height:44px;padding:0 8px}.studio-shell .brand-mark-image{width:34px;height:34px}.studio-shell .brand-block strong{font-size:19px}.studio-shell .brand-block span{color:var(--muted);font-size:11px}.studio-shell .workspace-nav{gap:8px;margin-top:36px}.studio-shell .nav-label{color:#9aa3af;margin:0 12px 6px;font-size:11px;font-weight:400}.studio-shell .workspace-nav a{color:#656f7e;background:0 0;border:0;border-radius:6px;gap:11px;min-height:46px;padding:0 12px;font-size:14px}.studio-shell .workspace-nav a:before{content:none}.studio-shell .workspace-nav a.active{color:#2455d9;box-shadow:none;background:#eaf0ff;font-weight:600}.studio-shell .workspace-nav a:hover:not(.active){color:var(--ink);background:#eef0f4}.studio-shell .quota-summary{border-color:var(--line);gap:9px;margin:0 8px 12px;padding:16px 0}.studio-shell .quota-title{color:var(--muted);font-size:11px}.studio-shell .quota-summary>div{color:#667181;font-size:12px}.studio-shell .quota-summary strong{color:var(--ink);font-family:Bahnschrift,sans-serif;font-size:18px;font-weight:500}.studio-shell .quota-summary small{color:#939cac;font-size:10px}.studio-shell .quota-summary p{color:#82908a;margin-top:2px}.studio-shell .online-note{color:#77828e;background:0 0;min-height:28px;margin:0 8px 12px;padding:0;font-size:11px}.studio-shell .online-note>svg{color:var(--green)}.studio-shell .user-row{border-color:var(--line);min-height:58px;padding:12px 6px 0}.studio-shell .user-avatar{color:#667282;background:#e9edf3;width:32px;height:32px;font-weight:500}.studio-shell .user-name strong{font-weight:600}.studio-shell .user-name span{color:var(--muted)}.studio-shell .user-row .icon-button{color:#778291}.studio-shell .icon-button{color:#7a8593;width:40px;height:40px;box-shadow:none;background:0 0;border:0;border-radius:6px}.studio-shell .icon-button:hover:not(:disabled){color:var(--accent);background:var(--accent-soft)}.studio-shell .icon-button.accent{color:#fff;background:var(--accent)}.studio-shell .primary-button{color:#fff;background:var(--accent);min-height:44px;box-shadow:none;border-radius:6px;font-weight:500}.studio-shell .primary-button:hover:not(:disabled){background:#194bdf}.studio-shell .chat-layout{grid-template-columns:252px minmax(0,1fr)}.studio-shell .conversation-sidebar{border-right:1px solid var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}.studio-shell .panel-heading{align-items:center;min-height:88px;padding:23px 16px 14px}.studio-shell .panel-heading h1{font-size:21px}.studio-shell .panel-label{color:#929ca9;font-size:10px;font-weight:400}.studio-shell .search-field{border-color:var(--line);background:#f8f9fb;height:40px;margin:0 16px 12px}.studio-shell .search-field input{font-size:13px}.studio-shell .conversation-view-tabs{background:#f3f5f7;border:0;border-radius:6px;gap:2px;margin:0 16px 12px;padding:3px}.studio-shell .conversation-view-tabs button{color:#8a94a2;min-height:34px;padding-inline:3px;font-size:11px}.studio-shell .conversation-view-tabs button.active{color:#445369;background:#fff;box-shadow:0 1px 3px #20242c0a}.studio-shell .conversation-list{padding:0 10px 16px}.studio-shell .conversation-item{border-radius:6px;min-height:46px;margin-bottom:5px}.studio-shell .conversation-item.active{background:#f2f5fc}.studio-shell .conversation-item.active:before{content:none}.studio-shell .conversation-select{color:#5d697a;height:46px;font-size:13px}.studio-shell .conversation-item.active .conversation-select{color:#3458a1}.studio-shell .conversation-actions{background:inherit;border-radius:5px}.studio-shell .conversation-item:focus-within .conversation-actions{display:flex}.studio-shell .chat-workspace{background:#fff;grid-template-rows:72px minmax(0,1fr) auto}.studio-shell .workspace-header{border-color:var(--line);background:#fff;padding-inline:28px}.studio-shell .thread-heading h2{font-size:15px;font-weight:600}.studio-shell .thread-heading>div>span{color:#9099a6;font-size:10px;font-weight:400}.studio-shell .thread-presence{width:6px;height:6px;box-shadow:none;background:#54b497}.studio-shell .context-status{border-color:var(--line);color:#8d97a4;background:#fff;border-radius:4px;min-height:32px;font-size:11px}.studio-shell .message-scroll{padding:30px 32px 12px}.studio-shell .message-row{grid-template-columns:minmax(0,1fr);gap:8px;width:min(740px,100%);margin-bottom:28px}.studio-shell .message-meta{color:#8f99a6;font-size:11px;font-weight:500}.studio-shell .message-row.user .message-meta{color:#8792a0}.studio-shell .message-row.assistant .message-meta{color:#315ece}.studio-shell .markdown-message{color:#333b46;overflow-wrap:anywhere;padding:0;font-size:15px;line-height:1.85}.studio-shell .message-row.user .markdown-message{background:#f6f7f9;border:0;border-radius:8px;padding:14px 16px 8px}.studio-shell .markdown-code-block{background:#f8f9fb;border:1px solid #e4e8ef;border-radius:6px;overflow:hidden}.studio-shell .markdown-code-toolbar{color:#8792a0;background:#f1f3f6;border-bottom:1px solid #e4e8ef}.studio-shell .markdown-code-toolbar button{color:#738096}.studio-shell .markdown-message pre{color:#414e63;background:#f8f9fb;border:0;padding:16px}.studio-shell .markdown-message pre code{color:inherit;font-size:13px}.studio-shell .markdown-message .message-actions{gap:4px;margin-top:8px}.studio-shell .markdown-message .message-actions>button{color:#929cac;background:0 0;border:0;border-radius:5px}.studio-shell .markdown-message .message-actions>button.danger{color:#a49397}.studio-shell .markdown-message .message-actions>button:hover:not(:disabled){color:var(--accent);background:var(--accent-soft)}.studio-shell .composer-zone{background:#fff;border:0;padding:12px 32px 24px}.studio-shell .composer-surface{width:min(740px,100%);box-shadow:var(--shadow);background:#fff;border:1px solid #d9e0eb;border-radius:8px;margin:0 auto;transition:border-color .16s,box-shadow .16s;overflow:hidden}.studio-shell .composer-surface:focus-within{border-color:#94aaf1;box-shadow:0 0 0 3px #245bfa09}.studio-shell .composer{width:100%;min-height:62px;box-shadow:none;background:0 0;border:0;border-radius:0;align-items:flex-end;margin:0;padding:10px 10px 0 16px}.studio-shell .composer:before,.studio-shell .composer:after{content:none}.studio-shell .composer textarea{background:0 0;min-height:36px;padding:7px 0;font-size:15px;line-height:1.6}.studio-shell .composer textarea::placeholder{color:#9ba4b2}.studio-shell .send-button,.studio-shell .image-submit-button{color:#fff;background:var(--accent);width:40px;height:40px;box-shadow:none;border:0;border-radius:6px;flex-shrink:0}.studio-shell .send-button:hover:not(:disabled),.studio-shell .image-submit-button:hover:not(:disabled){box-shadow:none;background:#194cde}.studio-shell .send-button:disabled,.studio-shell .image-submit-button:disabled{color:#b0b8c4;opacity:1;box-shadow:none;background:#eff1f5}.studio-shell .composer-surface .creative-tools{color:#8792a2;width:100%;min-height:44px;padding:2px 8px 6px}.studio-shell .creative-tools button{border:0;border-radius:5px;min-width:36px;min-height:36px;padding:6px;font-size:12px}.studio-shell .creative-tools .role-trigger{color:#778395;padding-inline:8px}.studio-shell .chat-empty{width:min(480px,100%);padding:30px 0}.studio-shell .empty-glyph{width:52px;height:52px;box-shadow:none;background:0 0;border:0;margin-bottom:20px;padding:0}.studio-shell .empty-glyph img{width:52px;height:52px;animation:none}.studio-shell .empty-glyph>span{display:none}.studio-shell .chat-empty h2{font-size:24px;font-weight:600}.studio-shell .chat-empty p{color:#929aa7;margin-top:10px;font-size:13px}.studio-shell .starter-prompts{gap:8px;width:100%;margin-top:24px}.studio-shell .starter-prompts button{border:1px solid var(--line);color:#677385;min-height:48px;box-shadow:none;background:#fff;border-radius:6px;padding:12px 14px;font-size:13px}.studio-shell .starter-prompts button:hover{background:#fafbff;border-color:#cbd7f5;transform:none}.studio-shell .images-workspace{background:#fff;padding:0 40px 44px}.studio-shell .page-header{border-bottom:1px solid var(--line);background:#fff;width:min(1060px,100%);min-height:88px;margin:0 auto}.studio-shell .page-header:before,.studio-shell .page-header:after{content:none}.studio-shell .page-header-content{align-items:center;min-height:88px;padding:20px 0;display:flex}.studio-shell .page-title-block{gap:0}.studio-shell .page-title-block h1{margin:0;font-size:26px;font-weight:650;line-height:1.3}.studio-shell .generation-editor{width:min(1060px,100%);margin:24px auto 30px;animation:none}.studio-shell .prompt-field{gap:10px}.studio-shell .prompt-field>label{color:#5b6575;font-size:13px;font-weight:500}.studio-shell .image-prompt-composer{min-height:182px;box-shadow:var(--shadow);background:#fff;border:1px solid #d9e0eb;border-radius:8px;padding:14px}.studio-shell .image-prompt-composer:before,.studio-shell .image-prompt-composer:after{content:none}.studio-shell .image-prompt-composer:focus-within,.studio-shell .image-prompt-composer.dragging{border-color:#94aaf1;box-shadow:0 0 0 3px #245bfa09}.studio-shell .image-prompt-composer textarea{color:#353d49;min-height:98px;padding:2px 2px 10px;font-size:15px;font-weight:400;line-height:1.75}.studio-shell .image-prompt-composer textarea::placeholder{color:#9aa4b4;font-weight:400}.studio-shell .image-composer-toolbar{align-items:center;gap:12px;min-height:44px;display:flex}.studio-shell .reference-tools{gap:4px}.studio-shell .reference-tools .creative-tools{gap:4px;padding:0}.studio-shell .reference-tools button{color:#556579;width:40px;min-width:40px;height:40px;min-height:40px;box-shadow:none;background:0 0;border:0;border-radius:6px;padding:0}.studio-shell .reference-tools button:hover:not(:disabled){color:var(--accent);background:var(--accent-soft)}.studio-shell .composer-settings{flex:1;justify-content:flex-end;gap:12px;display:flex}.studio-shell .composer-setting{align-items:center;gap:6px;margin:0;display:flex}.studio-shell .composer-setting>span{color:#929cac;font-size:11px}.studio-shell .composer-setting select{border:1px solid var(--line);color:#535e70;background:#f9fafc;border-radius:5px;max-width:132px;min-height:40px;padding:7px 28px 7px 10px;font-size:13px}.studio-shell .generation-history{border:0;width:min(1060px,100%);margin:0 auto;padding-top:12px;animation:none}.studio-shell .section-heading{border-bottom:1px solid var(--line);justify-content:flex-start;align-items:center;gap:12px;min-height:54px;margin-bottom:8px}.studio-shell .section-heading>div:first-child{flex:none}.studio-shell .section-heading h2{font-size:18px;font-weight:600}.studio-shell .record-count{color:#9aa3b2;min-width:auto;box-shadow:none;background:0 0;padding:0;font-size:12px;font-weight:400}.studio-shell .history-section-actions{align-items:center;gap:2px;margin-left:auto;display:flex}.studio-shell .history-section-actions .icon-button{color:#556579}.studio-shell .history-filter-toggle{display:none;position:relative}.studio-shell .history-filter-toggle.has-filters{color:var(--accent);background:var(--accent-soft)}.studio-shell .filter-count{background:var(--accent);color:#fff;border-radius:3px;min-width:14px;height:14px;padding:0 2px;font-size:9px;line-height:14px;position:absolute;top:3px;right:3px}.studio-shell .history-summary-row{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:4px 16px;min-height:44px;margin-bottom:16px;display:flex}.studio-shell .images-workspace .generation-history .history-heading-tools{color:#8791a0;justify-content:flex-start;align-items:center;gap:8px;min-width:0;min-height:30px;margin:0;padding:0;font-size:12px;display:flex}.studio-shell .history-filter-summary{color:#6582c0}.studio-shell .history-filters{grid-template-columns:repeat(4,minmax(0,1fr)) 40px;gap:10px;margin-bottom:12px}.studio-shell .history-filters label{color:#9aa3af;gap:5px;font-size:11px}.studio-shell .history-filters select{border-color:var(--line);color:#7b8797;background:#fff;border-radius:5px;min-height:40px;padding:8px 10px;font-size:13px}.studio-shell .history-filters>button{border-color:var(--line);color:#91a0b1;border-radius:5px;min-width:40px;min-height:40px}.studio-shell .batch-download-bar{color:#9aa4b2;min-height:44px;box-shadow:none;background:#fff;border:0;gap:12px;margin:0 0 0 auto;padding:0;font-size:11px;display:flex}.studio-shell .batch-download-bar>label{gap:8px;min-height:44px}.studio-shell .batch-download-bar input{width:17px;height:17px;accent-color:var(--accent)}.studio-shell .batch-download-bar>button{min-height:36px;color:var(--accent);background:#f1f5ff;border:0;border-radius:5px;margin-left:auto;padding:8px 10px;font-size:12px}.studio-shell .batch-download-bar>button:disabled{opacity:1;color:#aab4c3;background:#f7f8fa}.studio-shell .generation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 20px}.studio-shell .generation-item{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.studio-shell .generation-preview{aspect-ratio:4/3;box-shadow:none;background:#f6f7f9;border:1px solid #edf0f4;border-radius:7px}.studio-shell .generation-info{padding:12px 0 0}.studio-shell .generation-info>p{color:#4c586b;min-height:0;font-size:13px;font-weight:400;line-height:1.7}.studio-shell .generation-meta{color:#9aa4b2;gap:4px 9px;margin-top:6px;font-size:11px}.studio-shell .generation-meta>time{width:100%;font-size:10px}.studio-shell .generation-info .generation-actions{justify-content:flex-start;gap:4px;margin-top:6px}.studio-shell .generation-info .generation-actions button{color:#63738a;border:0;border-radius:5px;flex:0 0 40px;width:40px;min-width:40px;height:40px;min-height:40px}.studio-shell .generation-actions button:hover{color:var(--accent);background:var(--accent-soft)}.studio-shell .status-badge{color:#677688;background:#ffffffed;border-radius:4px;gap:5px;min-height:24px;padding:3px 7px;font-size:10px;font-weight:400;box-shadow:0 1px 4px #20242c08}.studio-shell .status-badge:before{content:"";background:#6d8dd6;border-radius:50%;flex-shrink:0;width:6px;height:6px}.studio-shell .status-badge.completed:before{background:#36b88c}.studio-shell .status-badge.failed{color:#b56361}.studio-shell .status-badge.failed:before{background:#d57873}.studio-shell .generation-select-control{background:0 0;min-width:44px;min-height:44px;padding:10px;top:0;right:0}.studio-shell .generation-select-control>span{display:none}.studio-shell .generation-select-control input{width:18px;height:18px;accent-color:var(--accent);filter:drop-shadow(0 1px 2px #0002);margin:0}.studio-shell .generation-item.selected .generation-preview{outline-offset:2px;outline:2px solid #7c9bfa}.studio-shell .history-empty{color:#98a3b3;border:1px dashed var(--line);background:#fafbfd;border-radius:6px;min-height:160px}.studio-shell .history-load-more{border-color:var(--line);color:#8290a4;background:#fff;border-radius:6px;min-height:44px}.studio-shell .account-page{background:#fff;padding-bottom:44px}.studio-shell .account-header{min-height:130px;color:var(--ink);border-bottom:1px solid var(--line);background:#fff;padding:24px 40px}.studio-shell .account-header-inner{width:min(960px,100%)}.studio-shell .account-title-lockup>span{color:#9aa3b2;font-size:10px;font-weight:400}.studio-shell .account-title-lockup h1{color:var(--ink);text-shadow:none;margin-top:8px;font-size:26px;line-height:1.3}.studio-shell .account-identity{border:0}.studio-shell .account-monogram{color:#6981b2;box-shadow:none;background:#f0f3fa;border-radius:6px;font-weight:500}.studio-shell .account-identity strong{color:#536175;font-weight:600}.studio-shell .account-identity>div>span,.studio-shell .account-identity small{color:#939dad;font-size:11px}.studio-shell .account-identity>svg{color:#51ac8f}.studio-shell .account-content{gap:28px;width:min(960px,100% - 80px);margin:28px auto 0}.studio-shell .account-section{box-shadow:none;background:#fff;border:0;border-radius:0;padding:0}.studio-shell .account-section-heading{border-bottom:1px solid var(--line);background:#fff;gap:10px;min-height:58px;padding:0}.studio-shell .account-section-heading h2{font-size:17px;font-weight:600}.studio-shell .account-section-heading>div>span{color:#9aa4b2;font-size:11px}.studio-shell .account-section-index{display:none}.studio-shell .account-section-heading>svg{color:#8091ad}.studio-shell .usage-panel{border:0;animation:none}.studio-shell .usage-metrics-grid{border:0}.studio-shell .usage-metric{border-top:0;border-right:1px solid var(--line);background:#fff;gap:10px;min-height:152px;padding:20px 24px 16px}.studio-shell .usage-metric:last-child{border-right:0}.studio-shell .usage-metric-heading{color:#7b8798;font-size:12px}.studio-shell .usage-metric-icon{color:#6e8ccb;background:#f2f5fb;border-radius:5px;width:28px;height:28px}.studio-shell .usage-metric-value strong{color:#3b495f;font-family:Bahnschrift,sans-serif;font-size:32px;font-weight:500}.studio-shell .usage-metric-value span{color:#a1aaba;font-size:12px}.studio-shell .usage-progress{background:#f0f2f5;border-radius:3px;height:3px}.studio-shell .usage-progress>span{border-radius:3px}.studio-shell .usage-period-note{color:#9aa4b2;background:#fff;border:0;min-height:36px;padding-inline:0;font-size:11px}.studio-shell .account-security-grid{background:#fff;border:0;gap:32px;animation:none}.studio-shell .account-security-grid>.account-section:first-child{border:0}.studio-shell .account-security-grid .account-section-heading{background:#fff}.studio-shell .password-form{gap:16px;padding:20px 0 0}.studio-shell .password-form label{color:#748092;font-size:12px}.studio-shell .password-form input{background:#fff;border:1px solid #dce2eb;border-radius:6px;height:46px}.studio-shell .password-submit{width:100%;min-height:44px;box-shadow:none;margin-top:4px}.studio-shell .device-row{border-color:var(--line);background:#fff;gap:12px;padding-inline:0}.studio-shell .device-row.current{background:#fff;border-left:0;padding-left:0}.studio-shell .device-icon{border-radius:6px}.studio-shell .device-copy strong{color:#58677c;font-weight:500}.studio-shell .device-footer{background:#fff;border:0;padding:16px 0}.studio-shell .device-empty{color:#95a1b2;background:#fafbfd;border:0}.studio-shell .admin-page{background:#fff}.studio-shell .admin-header h1{font-size:26px}.studio-shell .admin-metric{box-shadow:none;border-radius:6px}.studio-auth{background:#fff;flex-direction:column;align-items:center;min-height:100dvh;display:flex;overflow-y:auto}.studio-auth .auth-identity{background:#fff;border:0;width:min(430px,100%);min-height:0;padding:56px 24px 0}.studio-auth .auth-brand{justify-content:center;min-height:60px}.studio-auth .auth-logo-lockup{width:220px;max-width:100%;height:auto}.studio-auth .auth-art{aspect-ratio:auto;background:#fff;border:0;width:100%;height:64px;margin-top:24px;padding:0;position:relative;inset:auto}.studio-auth .auth-art:after{content:none}.studio-auth .auth-art img{object-fit:cover;object-position:center 55%;mix-blend-mode:normal;width:100%;height:100%;animation:none}.studio-auth .auth-panel{background:#fff;width:min(430px,100%);padding:28px 24px 56px}.studio-auth .auth-form-wrap{width:100%;animation:none}.studio-auth .auth-heading{margin:0 0 28px}.studio-auth .auth-heading h1{font-size:25px;font-weight:600;line-height:1.35}.studio-auth .auth-heading p{color:#9aa3b2;margin-top:8px;font-size:12px}.studio-auth .auth-tabs{background:#f3f5f8;border:0;border-radius:6px;margin-bottom:24px}.studio-auth .auth-tabs button{min-height:42px;font-weight:400}.studio-auth .auth-tabs button.active{color:#466290;background:#fff;box-shadow:0 1px 4px #20242c08}.studio-auth .auth-form-wrap form{gap:20px}.studio-auth .auth-form-wrap label{color:#6b7789;gap:8px;font-size:13px}.studio-auth .auth-form-wrap input{min-height:50px;color:var(--ink);background:#fff;border:1px solid #dce2eb;border-radius:6px;font-size:16px}.studio-auth .auth-form-wrap input::placeholder{color:#afb7c4;font-size:14px}.studio-auth .auth-form-wrap input:focus{border-color:#94aaf1;box-shadow:0 0 0 3px #245bfa09}.studio-auth .auth-password-field{gap:8px;display:grid}.studio-auth .auth-password-control{position:relative}.studio-auth .auth-password-control input{width:100%;padding-right:50px}.studio-auth .auth-password-control button{color:#9ba5b5;cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:3px;right:3px}.studio-auth .auth-password-control button:hover{color:var(--accent);background:var(--accent-soft)}.studio-auth .auth-submit{color:#fff;background:var(--accent);min-height:50px;box-shadow:none;border-radius:6px;margin-top:10px;font-size:15px;font-weight:500}.studio-auth .auth-submit:hover:not(:disabled){box-shadow:none;background:#194cde}@media (width<=1100px) and (width>=861px){.studio-shell{grid-template-columns:184px minmax(0,1fr)}.studio-shell .chat-layout{grid-template-columns:224px minmax(0,1fr)}.studio-shell .images-workspace{padding-inline:24px}.studio-shell .composer-settings{gap:5px}.studio-shell .composer-setting>span{display:none}.studio-shell .generation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=860px){.studio-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:calc(54px + env(safe-area-inset-top)) minmax(0, 1fr) calc(62px + env(safe-area-inset-bottom));height:100dvh;min-height:0}.studio-shell .workspace{height:100%;min-height:0}.studio-shell .mobile-header{height:100%;min-height:54px;padding:env(safe-area-inset-top) 12px 0;border-color:var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;grid-template-columns:44px minmax(0,1fr) auto;display:grid}.studio-shell .mobile-header .icon-button{color:#687484;width:44px;height:44px}.studio-shell .mobile-brand{justify-self:start;gap:7px;margin-left:10px}.studio-shell .mobile-brand-logo{width:28px;height:28px}.studio-shell .mobile-brand>span{flex-direction:row;align-items:baseline;gap:5px;display:flex}.studio-shell .mobile-brand strong{font-size:16px;font-weight:650}.studio-shell .mobile-brand small{color:#6f7c8d;font-size:11px}.studio-shell .mobile-status{flex-direction:row-reverse;gap:6px;min-width:0}.studio-shell .mobile-quota{color:#627083;font-size:11px}.studio-shell .connection-dot{width:6px;height:6px;box-shadow:none}.studio-shell .mobile-bottom-nav{height:100%;min-height:62px;padding:4px 10px calc(4px + env(safe-area-inset-bottom));border-color:var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}.studio-shell .mobile-bottom-nav a{color:#758296;gap:2px;min-height:50px;padding:0;font-size:11px;transform:none}.studio-shell .mobile-bottom-nav a.active{color:var(--accent);transform:none}.studio-shell .mobile-bottom-nav a:before{content:none}.studio-shell .mobile-bottom-nav a>svg{border-radius:6px;width:38px;height:28px;padding:4px 9px}.studio-shell .mobile-bottom-nav a.active>svg{background:var(--accent-soft)}.studio-shell>.primary-sidebar{z-index:40;width:min(300px,88vw);height:100dvh;padding:max(22px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));background:#fff}.studio-shell .primary-sidebar:not(.open),.studio-shell .conversation-sidebar:not(.open){visibility:hidden}.studio-shell .sidebar-scrim{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1e293b45}.studio-shell .icon-button{width:44px;height:44px}.studio-shell .chat-layout{grid-template-columns:minmax(0,1fr)}.studio-shell .conversation-sidebar{background:#fff;width:min(310px,90vw);height:100%}.studio-shell .chat-workspace{grid-template-rows:60px minmax(0,1fr) auto}.studio-shell .workspace-header{gap:4px;min-height:60px;padding-inline:12px}.studio-shell .thread-heading{min-width:0;overflow:hidden}.studio-shell .thread-heading h2{max-width:100%;font-size:14px}.studio-shell .thread-heading>div>span{font-size:9px}.studio-shell .thread-presence,.studio-shell .workspace-header-actions>.context-status{display:none}.studio-shell .message-scroll{padding:20px 16px 8px}.studio-shell .message-row{gap:7px;margin-bottom:24px}.studio-shell .message-meta{font-size:11px}.studio-shell .markdown-message{font-size:16px;line-height:1.8}.studio-shell .message-row.user .markdown-message{padding:12px 12px 6px;font-size:16px}.studio-shell .markdown-message .message-actions{gap:2px;margin-top:6px}.studio-shell .markdown-message .message-actions>button{width:44px;height:44px}.studio-shell .markdown-code-toolbar button{min-height:44px}.studio-shell .markdown-message pre{padding:14px}.studio-shell .composer-zone{padding:8px 12px 12px}.studio-shell .composer{min-height:58px;padding:8px 8px 0 12px}.studio-shell .composer textarea{font-size:16px}.studio-shell .send-button{width:44px;height:44px}.studio-shell .composer-surface .creative-tools{min-height:44px;padding:0 6px 4px}.studio-shell .creative-tools button{min-width:44px;min-height:44px}.studio-shell .creative-tools .role-trigger{gap:6px;font-size:11px}.studio-shell .chat-empty{padding:16px 4px}.studio-shell .chat-empty h2{font-size:22px}.studio-shell .starter-prompts button{text-align:left;font-size:13px}.studio-shell .search-field input,.studio-shell .message-search-bar input,.studio-shell .message-editor textarea{font-size:16px}.studio-shell .conversation-select{min-height:48px}.studio-shell .conversation-item.active .conversation-actions button{width:44px;height:44px}.studio-shell .images-workspace{padding:0 16px 28px}.studio-shell .page-header{min-height:60px;margin:0;padding:0}.studio-shell .page-header-content{min-height:60px;padding:14px 0}.studio-shell .images-workspace .page-title-block h1{font-size:23px;line-height:1.3}.studio-shell .images-workspace .generation-editor{margin:16px auto 20px;padding-top:0}.studio-shell .prompt-field{gap:8px}.studio-shell .prompt-field>label{color:#253247;font-size:14px;font-weight:600}.studio-shell .image-prompt-composer{min-height:0;box-shadow:none;border:0;border-radius:0;padding:0}.studio-shell .image-prompt-composer:focus-within,.studio-shell .image-prompt-composer.dragging{box-shadow:none}.studio-shell .image-prompt-composer textarea{border:1px solid #d9e0eb;border-radius:8px;flex:none;height:100px;min-height:100px;max-height:240px;padding:12px;font-size:16px;line-height:1.65}.studio-shell .image-prompt-composer textarea:focus{border-color:#94aaf1;box-shadow:0 0 0 3px #245bfa09}.studio-shell .image-prompt-composer.dragging textarea{border-color:var(--accent);background:#f8faff}.studio-shell .image-composer-toolbar{grid-template-columns:minmax(0,1fr) 44px;gap:10px 8px;padding-top:6px;display:grid}.studio-shell .reference-tools{grid-area:1/1;gap:2px}.studio-shell .reference-tools button{width:44px;min-width:44px;height:44px;min-height:44px}.studio-shell .image-submit-button{grid-area:1/2;width:44px;height:44px;margin:0}.studio-shell .composer-settings{border-top:0;grid-area:2/1/auto/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;padding-top:0;display:grid}.studio-shell .composer-setting{flex-direction:column;align-items:stretch;gap:4px;min-width:0;display:flex}.studio-shell .composer-setting>span{color:#758297;pointer-events:auto;margin:0 2px;font-size:11px;line-height:16px;position:static}.studio-shell .composer-setting select{color:#253247;background:#fff;border:1px solid #dce3ed;border-radius:6px;width:100%;max-width:none;height:44px;min-height:44px;padding:0 24px 0 10px;font-size:16px;font-weight:500;line-height:44px}.studio-shell .generation-history{padding-top:0}.studio-shell .section-heading{border:0;gap:8px;min-height:44px;margin-bottom:0}.studio-shell .section-heading h2{font-size:18px}.studio-shell .record-count{font-size:11px}.studio-shell .history-section-actions{gap:0}.studio-shell .history-filter-toggle{display:inline-grid}.studio-shell .history-refresh{color:#556579;width:44px;height:44px;padding:0}.studio-shell .history-summary-row{border:0;gap:0 8px;margin-bottom:8px}.studio-shell .images-workspace .generation-history .history-heading-tools{color:#65758c;max-width:100%;min-height:26px;font-size:11px}.studio-shell .history-heading-tools>span:first-child:before{content:"";background:var(--green);vertical-align:middle;border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.studio-shell .history-heading-tools>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.studio-shell .history-filter-summary{flex-shrink:0}.studio-shell .history-filters{display:none}.studio-shell .history-filters.is-open{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr)) 44px;gap:8px;margin:0 0 4px;padding:10px 0 14px;display:grid}.studio-shell .history-filters select{min-height:44px;font-size:16px}.studio-shell .history-filters>button{min-height:44px}.studio-shell .batch-download-bar{border:0;gap:8px;min-height:44px;font-size:10px}.studio-shell .batch-download-bar>label{justify-content:center;min-width:44px}.studio-shell .batch-download-bar>label>span{display:none}.studio-shell .batch-download-bar>button{min-height:44px;padding-inline:8px;font-size:11px}.studio-shell .generation-grid{grid-template-columns:minmax(0,1fr);gap:24px}.studio-shell .generation-preview{aspect-ratio:2;border-radius:7px}.studio-shell .generation-info>p{color:#253247;font-size:14px;line-height:1.65}.studio-shell .generation-meta{gap:4px 10px;font-size:11px}.studio-shell .generation-meta>span+span:before{content:"·";margin-right:8px}.studio-shell .generation-meta>time{display:none}.studio-shell .generation-info .generation-actions button{flex-basis:44px;width:44px;min-width:44px;height:44px;min-height:44px}.studio-shell .status-badge{min-height:24px;font-size:10px}.studio-shell .composer-reference-strip{flex-wrap:nowrap;gap:10px;padding:8px 3px 2px;display:flex;overflow-x:auto}.studio-shell .composer-reference-strip figure{flex:0 0 96px;width:96px}.studio-shell .history-empty{min-height:160px}.studio-shell .account-header{min-height:140px;padding:22px 16px 18px}.studio-shell .account-header-inner{flex-direction:column;align-items:flex-start;gap:14px}.studio-shell .account-title-lockup>span{display:none}.studio-shell .account-title-lockup h1{margin:0;font-size:23px}.studio-shell .account-identity{grid-template-columns:36px minmax(0,1fr) 24px;gap:10px;width:100%;min-height:0;padding:0}.studio-shell .account-monogram{width:36px;height:36px;font-size:14px}.studio-shell .account-identity>div>span{display:none}.studio-shell .account-identity strong{font-size:14px}.studio-shell .account-identity small{font-size:10px;display:block}.studio-shell .account-content{gap:28px;width:calc(100% - 32px);margin-top:12px}.studio-shell .account-section-heading{min-height:60px;padding:0}.studio-shell .account-section-heading h2{font-size:16px}.studio-shell .account-section-heading>div>span{font-size:10px}.studio-shell .usage-metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.studio-shell .usage-metric{gap:8px;min-height:136px;padding:16px 9px 12px}.studio-shell .usage-metric:first-child{padding-left:0}.studio-shell .usage-metric:last-child{grid-column:auto;grid-template-columns:minmax(0,1fr);min-height:136px;padding-right:0}.studio-shell .usage-metric-heading{flex-wrap:wrap;gap:5px;font-size:10px}.studio-shell .usage-metric-icon,.studio-shell .usage-metric-heading b{display:none}.studio-shell .usage-metric .usage-metric-value{grid-area:auto;align-self:auto;gap:3px}.studio-shell .usage-metric-value strong{font-size:28px}.studio-shell .usage-metric-value span{font-size:10px}.studio-shell .usage-metric small{color:#9ba5b4;font-size:10px}.studio-shell .usage-period-note{justify-content:flex-start;min-height:40px;font-size:10px}.studio-shell .account-security-grid{grid-template-columns:minmax(0,1fr);gap:28px}.studio-shell .password-form{gap:16px;padding-top:18px}.studio-shell .password-form input{height:48px;font-size:16px}.studio-shell .password-submit{min-height:48px;font-size:14px}.studio-shell .device-row{grid-template-columns:36px minmax(0,1fr) auto;padding:16px 0}.studio-shell .device-icon{width:36px;height:36px}.studio-shell .admin-page{padding-inline:16px}.studio-shell .admin-header h1{font-size:23px}.studio-shell .save-image-sheet{border-color:var(--line);background:#fff;border-radius:8px;width:100%;padding:16px;box-shadow:0 12px 40px #0002}.studio-shell .save-image-sheet header h2{font-size:18px}.studio-shell .save-image-actions button{border-radius:6px;min-height:48px}.studio-shell .save-image-actions button.primary{box-shadow:none}.studio-shell .reference-preview-dialog{border-radius:8px;padding:12px}.action-sheet{border-color:var(--line);border-radius:8px;padding:14px;box-shadow:0 12px 40px #0002}.action-sheet::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1e293b55}.action-sheet h2{font-size:17px;font-weight:600}.action-sheet .icon-button{min-width:44px;min-height:44px}.action-sheet .image-action-details{color:#758297;margin:0 4px 12px;font-size:12px}.creative-library button{border-radius:5px}.studio-auth .auth-identity{padding-top:max(32px, env(safe-area-inset-top))}.studio-auth .auth-logo-lockup{width:184px}.studio-auth .auth-art{height:48px;margin-top:20px}.studio-auth .auth-panel{padding-top:24px;padding-bottom:max(36px, env(safe-area-inset-bottom))}.studio-auth .auth-heading h1{font-size:24px}}@media (width<=380px){.studio-shell .images-workspace{padding-inline:14px}.studio-shell .composer-settings,.studio-shell .section-heading{gap:6px}.studio-shell .section-heading h2{font-size:16px}.studio-shell .record-count,.studio-shell .mobile-quota{font-size:10px}}@media (prefers-reduced-motion:reduce){.studio-shell *,.studio-auth *{scroll-behavior:auto;transition:none;animation:none}}@font-face{font-family:QLAI Display;src:url(/assets/noto-serif-sc-display-700-CTCErB_R.ttf)format("truetype");font-style:normal;font-weight:700;font-display:swap}@font-face{font-family:QLAI Display;src:url(/assets/noto-serif-sc-display-600-Dckq1npI.ttf)format("truetype");font-style:normal;font-weight:600;font-display:swap}:root{--font-display:"QLAI Display", "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;--font-ui:"PingFang SC", "Microsoft YaHei UI", "Noto Sans CJK SC", "Segoe UI", sans-serif;--ink:#171a22;--muted:#7b8190;--paper:#fff;--surface:#fff;--line:#eceef2;--line-strong:#dfe3eb;--accent:#1557ff;--accent-soft:#f0f4ff;--green:#57b63d;--shadow:0 4px 24px #17203905;color:var(--ink);font-family:var(--font-ui);background:#fff}body{background:#fff}button,input,textarea,select{font-family:var(--font-ui)}button,a{touch-action:manipulation}button:disabled{cursor:not-allowed}.daylight-shell,.daylight-auth{font-family:var(--font-ui);color:var(--ink)}.daylight-shell svg,.daylight-auth svg{stroke-width:1.6px}.studio-shell.daylight-shell h1,.studio-auth.daylight-auth h1{font-family:var(--font-display);font-weight:700}.studio-shell.daylight-shell .icon-button{color:#7b8190;border-radius:10px;width:44px;height:44px}.studio-shell.daylight-shell .icon-button:hover:not(:disabled){color:var(--accent);background:#f5f7fc}.studio-shell.daylight-shell .primary-button,.daylight-auth .primary-button{background:var(--accent);border-radius:10px;min-height:46px;font-size:14px;font-weight:500}.studio-shell.daylight-shell .primary-button:hover:not(:disabled),.daylight-auth .primary-button:hover:not(:disabled){background:#104be5}.studio-shell.daylight-shell .primary-button:disabled{opacity:.45}.daylight-shell input::placeholder,.daylight-shell textarea::placeholder,.daylight-auth input::placeholder{color:#9298a6;opacity:1}.daylight-shell .network-recovery{z-index:20;font-size:12px}.daylight-shell .workspace{position:relative}.studio-shell.daylight-shell{background:#fff;grid-template-columns:212px minmax(0,1fr)}.studio-shell.daylight-shell>.primary-sidebar{border-color:var(--line);background:#fafbfc}.studio-shell.daylight-shell .workspace-nav a{border-radius:9px;font-weight:400}.studio-shell.daylight-shell .workspace-nav a.active{color:var(--accent);background:#edf2ff;font-weight:500}.daylight-shell .brand-mark-image{object-fit:contain}.studio-shell.daylight-shell .brand-block strong{font-family:var(--font-ui);letter-spacing:.02em;font-weight:750}.studio-shell.daylight-shell .brand-block span{font-family:var(--font-ui)}.studio-shell.daylight-shell .user-avatar{color:#555e70;background:#ebedf2}.studio-shell.daylight-shell .user-row .icon-button:hover{color:var(--accent)}.studio-auth.daylight-auth{height:100dvh;min-height:0;padding:0 0 max(48px, env(safe-area-inset-bottom));background:#fff;align-items:center;display:flex;overflow-y:auto}.studio-auth.daylight-auth .auth-identity{background:#fff;width:min(438px,100%);min-height:0;margin:0;padding:45px 24px 0}.studio-auth.daylight-auth .auth-brand{justify-content:flex-start;min-height:52px}.studio-auth.daylight-auth .auth-logo-lockup{object-fit:contain;width:198px;max-width:65%;height:auto}.studio-auth.daylight-auth .auth-art{background:#fff;width:calc(100% + 16px);height:160px;margin:20px -8px 0;inset:auto;overflow:visible}.studio-auth.daylight-auth .auth-art img{object-fit:contain;mix-blend-mode:normal;width:100%;height:100%}.studio-auth.daylight-auth .auth-panel{background:#fff;width:min(438px,100%);padding:14px 24px 0}.studio-auth.daylight-auth .auth-form-wrap{width:100%}.studio-auth.daylight-auth .auth-heading{margin:0 0 24px}.studio-auth.daylight-auth .auth-heading h1{letter-spacing:-.035em;color:#10131c;margin:0;font-size:38px;font-weight:700;line-height:1.35}.studio-auth.daylight-auth .auth-heading p{color:#7f8493;margin-top:9px;font-size:16px;line-height:1.6}.studio-auth.daylight-auth .auth-tabs{background:0 0;border:0;border-radius:0;align-items:stretch;gap:48px;margin:0 0 26px;padding:0;display:flex;overflow:visible}.studio-auth.daylight-auth .auth-tabs button{color:#818592;min-width:44px;min-height:44px;box-shadow:none;background:0 0;border:0;border-radius:0;flex:none;padding:0 0 13px;font-size:18px;font-weight:500;position:relative}.studio-auth.daylight-auth .auth-tabs button.active{color:#11151b;box-shadow:none;background:0 0}.studio-auth.daylight-auth .auth-tabs button.active:after{content:"";background:var(--accent);border-radius:2px;width:33px;height:3px;position:absolute;bottom:0;left:0}.studio-auth.daylight-auth .auth-form-wrap form{gap:20px;display:grid}.studio-auth.daylight-auth .auth-form-wrap label{color:#151820;gap:9px;font-size:14px;font-weight:500;display:grid}.studio-auth.daylight-auth .auth-form-wrap input{width:100%;height:52px;min-height:52px;color:var(--ink);box-shadow:none;background:#f8f9fb;border:1px solid #e2e5ed;border-radius:11px;outline:none;padding:0 16px;font-size:16px;font-weight:400}.studio-auth.daylight-auth .auth-form-wrap input::placeholder{color:#9096a5;font-size:16px}.studio-auth.daylight-auth .auth-form-wrap input:focus{border-color:#9ab5ff;box-shadow:0 0 0 3px #1557ff08}.studio-auth.daylight-auth .auth-password-field{gap:9px}.studio-auth.daylight-auth .auth-password-control input{padding-right:52px}.studio-auth.daylight-auth .auth-password-control button{color:#858c9b;border-radius:8px;top:4px;right:5px}.studio-auth.daylight-auth .auth-password-control button svg{width:21px;height:21px}.studio-auth.daylight-auth .auth-submit{background:#1557ff;border-radius:11px;justify-content:space-between;min-height:52px;margin-top:2px;padding:0 20px;font-size:17px;font-weight:500}.studio-auth.daylight-auth .auth-submit svg{width:24px;height:24px}.studio-auth.daylight-auth .form-error{border-radius:9px;margin:0;padding:11px 13px;font-size:13px}.action-sheet{color:var(--ink);font-family:var(--font-ui)}.action-sheet h2,.modal-dialog h2{font-family:var(--font-display)}.action-sheet .icon-button,.modal-dialog .icon-button{min-width:44px;min-height:44px}@media (width>=861px){.studio-auth.daylight-auth{justify-content:center;padding-top:32px}.studio-auth.daylight-auth .auth-identity{padding-top:0}.studio-auth.daylight-auth .auth-art{height:180px}}@media (width<=860px){.studio-shell.daylight-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:calc(56px + env(safe-area-inset-top)) minmax(0, 1fr) calc(64px + env(safe-area-inset-bottom));height:100dvh;min-height:0;display:grid}.studio-shell.daylight-shell>.workspace{width:100%;height:100%;min-height:0;overflow:hidden}.studio-shell.daylight-shell .mobile-header{height:100%;min-height:56px;padding:env(safe-area-inset-top) 16px 0;background:#fff;border-bottom:1px solid #f0f1f4;grid-template-columns:44px minmax(0,1fr) 84px;align-items:center;display:grid}.studio-shell.daylight-shell .mobile-header>.icon-button{color:#181c25;width:44px;height:44px;margin-left:-10px}.studio-shell.daylight-shell .mobile-brand{justify-self:center;align-items:center;gap:5px;margin:0;display:flex;transform:translate(20px)}.studio-shell.daylight-shell .mobile-brand-logo{object-fit:contain;width:26px;height:26px}.studio-shell.daylight-shell .mobile-brand>span{flex-direction:row;align-items:center;gap:4px;display:flex}.studio-shell.daylight-shell .mobile-brand strong{font:750 17px/1 var(--font-ui);letter-spacing:.025em;color:#141820}.studio-shell.daylight-shell .mobile-brand small{font:500 10px/1 var(--font-ui);color:#1e222b}.studio-shell.daylight-shell .mobile-status{flex-direction:row;justify-self:end;align-items:center;gap:5px;display:flex}.studio-shell.daylight-shell .mobile-quota{color:#343943;font:400 10px/1.2 var(--font-ui);white-space:nowrap}.studio-shell.daylight-shell .connection-dot{width:5px;height:5px;box-shadow:none;border:0}.studio-shell.daylight-shell .mobile-bottom-nav{width:100%;height:100%;min-height:64px;padding:4px 18px calc(4px + env(safe-area-inset-bottom));-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;background:#fff;border-top:1px solid #eff0f3;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;position:relative}.studio-shell.daylight-shell .mobile-bottom-nav.admin-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.studio-shell.daylight-shell .mobile-bottom-nav a{color:#858c9c;min-height:52px;font:400 10px/1.3 var(--font-ui);background:0 0;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:5px 0 2px;display:flex;transform:none}.studio-shell.daylight-shell .mobile-bottom-nav a.active{color:var(--accent);background:0 0;font-weight:400}.studio-shell.daylight-shell .mobile-bottom-nav a>svg{stroke-width:1.7px;background:0 0;border-radius:0;width:21px;height:21px;padding:0}.studio-shell.daylight-shell .mobile-bottom-nav a:before{content:none}.studio-shell.daylight-shell>.primary-sidebar{width:min(330px,86vw);padding:max(28px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));background:#fff;box-shadow:8px 0 40px #10182808}.studio-shell.daylight-shell .sidebar-scrim{-webkit-backdrop-filter:none;backdrop-filter:none;background:#12172240}.studio-shell.daylight-shell .brand-block{gap:8px;padding:0}.studio-shell.daylight-shell .brand-block>.mobile-only{margin-left:auto}.studio-auth.daylight-auth .auth-identity{padding-top:max(40px, env(safe-area-inset-top))}}@media (width<=374px){.studio-auth.daylight-auth .auth-identity{padding:30px 22px 0}.studio-auth.daylight-auth .auth-art{height:142px;margin-top:16px}.studio-auth.daylight-auth .auth-panel{padding:12px 22px 0}.studio-auth.daylight-auth .auth-heading h1{font-size:34px}.studio-auth.daylight-auth .auth-heading{margin-bottom:20px}.studio-auth.daylight-auth .auth-tabs{margin-bottom:22px}.studio-shell.daylight-shell .mobile-header{padding-inline:14px}}@media (prefers-reduced-motion:reduce){.daylight-shell *,.daylight-auth *{scroll-behavior:auto;transition-duration:.01ms;animation-duration:.01ms}}.studio-shell .images-workspace.daylight-images{color:var(--ink);font-family:var(--font-ui);background:#fff;padding:0 clamp(20px,4vw,56px) 48px}.studio-shell .daylight-images .page-header{background:0 0;border:0;width:min(1060px,100%);min-height:150px;padding:28px 0 24px;position:relative;overflow:hidden}.studio-shell .daylight-images .page-header-content{z-index:1;min-height:0;padding:0;position:relative}.studio-shell .daylight-images .page-title-block h1{font-family:var(--font-display);letter-spacing:.015em;margin:0;font-size:clamp(34px,3.4vw,46px);font-weight:700;line-height:1.25}.studio-shell .daylight-images .page-title-block p{color:var(--muted);letter-spacing:.02em;margin:8px 0 0;font-size:15px;line-height:1.6}.studio-paper-fold{pointer-events:none;width:132px;height:115px;position:absolute;top:8px;right:-5px}.studio-paper-fold:before,.studio-paper-fold:after{content:"";clip-path:polygon(0 100%,100% 0,88% 67%);background:linear-gradient(120deg,#fff 10%,#edf2ff 63%,#d6e1ff 100%);position:absolute;inset:0}.studio-paper-fold:after{clip-path:polygon(44% 100%,70% 28%,100% 0,88% 67%);background:linear-gradient(100deg,#3f70ff 25%,#b4c9ff 70%,#f3f6ff)}.studio-shell .daylight-images .generation-editor{margin:0 auto 30px;padding-top:0}.studio-shell .daylight-images .editor-main,.studio-shell .daylight-images .prompt-field{min-width:0;display:block}.studio-shell .daylight-images .image-prompt-composer{min-height:0;box-shadow:none;background:#fff;border:1px solid #e4e7ed;border-radius:13px;padding:16px 16px 0}.studio-shell .daylight-images .image-prompt-composer:focus-within,.studio-shell .daylight-images .image-prompt-composer.dragging{border-color:#9db7ff;box-shadow:0 0 0 3px #1557ff05}.studio-shell .daylight-images .image-prompt-composer.dragging{background:#fafbff}.studio-shell .daylight-images .image-prompt-composer:before,.studio-shell .daylight-images .image-prompt-composer:after{content:none}.studio-shell .daylight-images .studio-prompt-label{color:#464c59;margin:0 0 7px;font-size:12px;font-weight:500;line-height:1.5}.studio-shell .daylight-images .image-prompt-composer textarea{color:#303644;width:100%;height:82px;min-height:82px;max-height:270px;box-shadow:none;resize:vertical;background:0 0;border:0;border-radius:0;padding:0 0 12px;font-size:16px;font-weight:400;line-height:1.65}.studio-shell .daylight-images .image-prompt-composer textarea:focus{box-shadow:none;border:0}.studio-shell .daylight-images .image-prompt-composer textarea::placeholder{color:#a1a6b1}.studio-shell .daylight-images .image-composer-toolbar{border-top:1px solid var(--line);align-items:center;gap:8px;min-height:46px;padding:3px 0;display:flex}.studio-shell .daylight-images .reference-tools{align-items:center;gap:18px;min-width:0;display:flex}.studio-shell .daylight-images .reference-tools .creative-tools{gap:4px;padding:0}.studio-shell .daylight-images .reference-tools button{color:#3c4250;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:7px;width:auto;min-width:32px;height:40px;min-height:40px;padding:0;font-size:13px;font-weight:400;display:inline-flex}.studio-shell .daylight-images .reference-tools button:disabled{opacity:.4}.studio-shell .daylight-images .reference-tools button:hover:not(:disabled){color:var(--accent);background:0 0}.studio-shell .daylight-images .reference-count{color:#a0a5b1;white-space:nowrap;margin-left:auto;font-size:12px;font-weight:400}.studio-shell .daylight-images .composer-settings{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;min-width:0;margin:12px 0;padding:0;display:grid}.studio-shell .daylight-images .composer-setting{min-width:0;color:var(--ink);background:#fff;border:1px solid #e4e7ed;border-radius:11px;flex-direction:column;align-items:stretch;gap:2px;margin:0;padding:9px 12px 7px;display:flex}.studio-shell .daylight-images .composer-setting>span{color:#969ca9;margin:0;font-size:11px;line-height:16px;display:block;position:static}.studio-shell .daylight-images .composer-setting select{width:100%;max-width:none;height:44px;min-height:44px;color:var(--ink);box-shadow:none;opacity:1;-webkit-text-fill-color:var(--ink);background-color:#0000;border:0;border-radius:0;padding:0 19px 0 0;font-size:15px;font-weight:500;line-height:44px;display:block}.studio-shell .daylight-images .composer-setting select:disabled{cursor:default;opacity:1}.studio-shell .daylight-images .composer-setting:focus-within{border-color:#9db7ff}.studio-shell .daylight-images .image-submit-button{color:#fff;background:var(--accent);width:100%;height:46px;min-height:46px;box-shadow:none;border:0;border-radius:11px;justify-content:center;align-items:center;gap:11px;margin:0;font-size:15px;font-weight:500;display:flex}.studio-shell .daylight-images .image-submit-button:hover:not(:disabled){background:#124be0}.studio-shell .daylight-images .image-submit-button:disabled{color:#fff;opacity:1;cursor:default;background:#a8beff}.studio-shell .daylight-images .generation-history{border:0;padding-top:0}.studio-shell .daylight-images .section-heading{border:0;gap:8px;min-height:44px;margin:0}.studio-shell .daylight-images .section-heading h2{color:var(--ink);letter-spacing:-.02em;margin:0;font-size:21px;font-weight:650;line-height:1.4}.studio-shell .daylight-images .record-count{color:#969caa;padding:0;font-size:15px;font-weight:400}.studio-shell .daylight-images .history-section-actions{gap:1px}.studio-shell .daylight-images .history-section-actions button{color:#252936;background:0 0;border:0;justify-content:center;align-items:center;width:35px;min-width:35px;height:40px;min-height:40px;padding:6px;display:inline-flex}.studio-shell .daylight-images .history-section-actions button svg{width:21px;height:21px}.studio-shell .daylight-images .history-section-actions .history-filter-toggle{display:none}.studio-shell .daylight-images .history-section-actions .has-filters{color:var(--accent)}.studio-shell .daylight-images .history-summary-row{border:0;gap:8px;min-height:42px;margin:2px 0 10px;padding:0}.studio-shell .daylight-images .generation-history .history-heading-tools{color:#242936;min-height:0;padding:0;font-size:13px;font-weight:500}.studio-shell .daylight-images .history-heading-tools>span:first-child:before{content:none}.studio-shell .daylight-images .history-filter-summary{color:var(--accent);font-size:11px}.studio-shell .daylight-images .history-selection-toggle{color:#979dac;cursor:pointer;background:0 0;border:0;min-height:40px;margin-left:auto;padding:0 2px 0 12px;font-size:13px}.studio-shell .daylight-images .history-selection-toggle[aria-pressed=true]{color:var(--accent)}.studio-shell .daylight-images .history-filters,.studio-shell .daylight-images .history-filters.is-open{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr)) 40px;gap:8px;margin-bottom:0;padding:8px 0 15px;display:grid}.studio-shell .daylight-images .history-filters select{color:#565e6f;font-size:13px}.studio-shell .daylight-images .history-filters>button{grid-area:auto}.studio-shell .daylight-images .batch-download-bar{width:100%;color:var(--muted);gap:10px;margin:0;padding:5px 0;font-size:11px}.studio-shell .daylight-images .batch-download-bar>label{justify-content:flex-start}.studio-shell .daylight-images .batch-download-bar>label>span{display:inline}.studio-shell .daylight-images .batch-download-bar>button{margin-left:auto}.studio-shell .daylight-images .generation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 20px}.studio-shell .daylight-images .generation-item{border:0;border-bottom:1px solid var(--line);box-shadow:none;background:0 0;border-radius:0;overflow:hidden}.studio-shell .daylight-images .generation-preview{aspect-ratio:2;background:#f5f6f8;border:0;border-radius:9px}.studio-shell .daylight-images .generation-preview>.generation-open-preview img{object-fit:cover}.studio-shell .daylight-images .generation-info{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:3px 7px;padding:9px 2px 10px;display:grid}.studio-shell .daylight-images .generation-info>p{color:#202532;-webkit-line-clamp:2;grid-column:1;min-height:0;margin:0;font-size:14px;font-weight:500;line-height:1.5;display:-webkit-box}.studio-shell .daylight-images .generation-meta{color:#939aa8;grid-column:1;gap:2px 6px;margin:0;font-size:12px;line-height:1.6}.studio-shell .daylight-images .generation-meta>span+span:before{content:"·";margin-right:6px}.studio-shell .daylight-images .generation-meta>time{display:none}.studio-shell .daylight-images .generation-info .generation-actions{grid-area:1/2/span 2;justify-content:flex-end;align-self:center;gap:1px;margin:0;display:flex}.studio-shell .daylight-images .generation-info .generation-actions button{color:#7b8292;background:0 0;flex:0 0 34px;width:34px;min-width:34px;height:40px;min-height:40px;padding:6px}.studio-shell .daylight-images .generation-info .generation-actions button:hover{color:var(--accent);background:#f5f7ff}.studio-shell .daylight-images .status-badge{color:#fff;min-height:23px;box-shadow:none;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#26251c91;border-radius:20px;padding:3px 8px;font-size:11px;line-height:1.35;top:8px;left:8px}.studio-shell .daylight-images .status-badge:before{background:#8d9aaa;width:6px;height:6px}.studio-shell .daylight-images .status-badge.completed:before{background:#57cf35}.studio-shell .daylight-images .generation-select-control{background:#ffffffdb;border-radius:8px;min-width:40px;min-height:40px;padding:7px;top:3px;right:3px}.studio-shell .daylight-images .generation-select-control span{display:none}.studio-shell .daylight-images .generation-item.selected .generation-preview{outline:2px solid var(--accent);outline-offset:-2px}.studio-shell .daylight-images .history-reference-strip{grid-column:1/-1;margin-top:5px}.studio-shell .daylight-images .history-reference-strip button{border-radius:5px}.studio-shell .daylight-images .generation-item.without-output{border:1px solid #e6e9f0;border-radius:11px;padding:13px 12px 6px}.studio-shell .daylight-images .generation-task-status{color:var(--accent);align-items:center;gap:7px;font-size:13px;font-weight:500;display:inline-flex}.studio-shell .daylight-images .generation-task-status.failed{color:#b74949}.studio-shell .daylight-images .generation-task-heading>p{-webkit-line-clamp:2;color:#28303d;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:6px 0;font-size:14px;line-height:1.6;display:-webkit-box;overflow:hidden}.studio-shell .daylight-images .without-output .generation-preview{aspect-ratio:3.1;margin-top:10px}.studio-shell .daylight-images .without-output .status-badge,.studio-shell .daylight-images .without-output .generation-info>p,.studio-shell .daylight-images .without-output .generation-info>.generation-meta{display:none}.studio-shell .daylight-images .generation-placeholder{color:#698be0;background:#f5f8ff;gap:5px;padding:12px;font-size:11px;position:relative;overflow:hidden}.studio-shell .daylight-images .generation-placeholder:before{content:"";background:#e9efff;border:1px solid #8baaff60;border-radius:50%;width:90%;height:90%;position:absolute;bottom:-70%;left:-5%;transform:rotate(-18deg)}.studio-shell .daylight-images .generation-placeholder:after{content:"";background:#e4edff8c;border-radius:50%;width:100%;height:100%;position:absolute;bottom:-70%;right:-25%;transform:rotate(-24deg)}.studio-shell .daylight-images .generation-placeholder>*{z-index:1;position:relative}.studio-shell .daylight-images .generation-placeholder.failed{color:#a54c4c;background:#fff6f5}.studio-shell .daylight-images .generation-placeholder.failed:before,.studio-shell .daylight-images .generation-placeholder.failed:after{content:none}.studio-shell .daylight-images .without-output .generation-info{flex-wrap:wrap;padding:10px 0 0;display:flex}.studio-shell .daylight-images .without-output .generation-info .generation-actions{margin-left:auto}.studio-shell .daylight-images .generation-stage-track{width:100%;margin:0}.studio-shell .daylight-images .generation-stage-track li{gap:7px}.studio-shell .daylight-images .generation-stage-track li:before{background:#d9dfea;height:1px;top:7px}.studio-shell .daylight-images .generation-stage-track li>span{background:#fff;border-color:#aeb5c5;width:15px;height:15px}.studio-shell .daylight-images .generation-stage-track small{font-size:11px;line-height:1.5}.studio-shell .daylight-images .generation-stage-track li.complete:before,.studio-shell .daylight-images .generation-stage-track li.current:before{background:var(--accent)}.studio-shell .daylight-images .generation-stage-track li.complete>span,.studio-shell .daylight-images .generation-stage-track li.current>span{color:#fff;background:var(--accent);border-color:var(--accent)}.studio-shell .daylight-images .generation-stage-track li.current>span{box-shadow:0 0 0 5px #1557ff0d}.studio-shell .daylight-images .history-empty{color:#9aa1ae;border:1px solid var(--line);background:#fafbfc;border-radius:10px;min-height:145px;padding:25px;font-size:13px}.studio-shell .daylight-images .history-load-more{color:var(--accent);background:#f1f5ff;border-radius:8px;font-size:13px}.studio-shell .daylight-images .page-error{margin:-15px 0 20px;font-size:13px}.studio-shell .daylight-images .composer-reference-strip{gap:11px;padding:5px 3px 10px}.studio-shell .daylight-images .composer-reference-strip figure{flex:0 0 96px;width:96px}.studio-shell .daylight-images .reference-order-hint,.studio-shell .daylight-images .reference-notice,.studio-shell .daylight-images .reference-processing-summary{font-size:11px}.image-viewer.daylight-image-viewer{width:100%;max-width:none;height:100dvh;max-height:none;padding:max(8px, env(safe-area-inset-top)) 16px max(22px, env(safe-area-inset-bottom));color:#f7f7fa;font-family:var(--font-ui);background:#111416;margin:0;inset:0;overflow-y:auto}.image-viewer.daylight-image-viewer[open]{flex-direction:column;display:flex}.image-viewer.daylight-image-viewer::backdrop{background:#111416}.daylight-image-viewer>header{flex-shrink:0;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;min-height:52px;padding:0;display:grid}.daylight-image-viewer>header>h2{font-family:var(--font-ui);text-align:center;margin:0;font-size:15px;font-weight:600}.daylight-image-viewer>header>button{color:#f7f7fa;padding:8px 0}.daylight-image-viewer .image-viewer-position{color:#939baa;text-align:center;flex-shrink:0;padding:16px 0 20px;font-size:13px}.daylight-image-viewer .image-viewer-stage{border-radius:7px;flex:1 0 auto;width:100%;height:clamp(260px,42dvh,540px);min-height:230px;margin:0 auto;overflow:auto}.daylight-image-viewer .image-viewer-stage img{object-fit:contain;min-width:0;max-width:none;display:block}.daylight-image-viewer .image-viewer-state{color:#aeb5c2;background:#111416;font-size:13px}.daylight-image-viewer .image-viewer-zoom{color:#a7aeba;flex-shrink:0;justify-content:center;align-items:center;gap:4px;margin:4px auto 0;display:flex}.daylight-image-viewer .image-viewer-zoom button{min-width:34px;min-height:34px;padding:6px}.daylight-image-viewer .image-viewer-zoom svg{width:16px;height:16px}.daylight-image-viewer .image-viewer-zoom output{min-width:44px;font-size:11px}.daylight-image-viewer .image-viewer-details{flex-shrink:0;width:min(720px,100%);margin:14px auto 0}.daylight-image-viewer .image-viewer-details h3{-webkit-line-clamp:2;color:#fff;font-family:var(--font-display);-webkit-box-orient:vertical;margin:0 0 11px;font-size:28px;font-weight:600;line-height:1.4;display:-webkit-box;overflow:hidden}.daylight-image-viewer .image-viewer-details>p{-webkit-line-clamp:3;color:#aeb5c2;-webkit-box-orient:vertical;margin:0 0 9px;font-size:14px;line-height:1.65;display:-webkit-box;overflow:hidden}.daylight-image-viewer .image-viewer-details>span{color:#aeb5c2;font-size:13px}.daylight-image-viewer .image-viewer-details .viewer-bookmark{color:#aeb5c2;gap:8px;margin:16px 0 7px;padding:4px 0;font-size:13px;display:flex}.daylight-image-viewer>footer{flex-shrink:0;gap:8px;width:min(720px,100%);margin:18px auto 0;padding:0;display:flex}.daylight-image-viewer>footer>button{color:#f7f7fa;border:1px solid #9ea8ba;border-radius:8px;flex:1;gap:8px;min-height:49px;padding:9px 8px;font-size:14px;font-weight:500}.daylight-image-viewer>footer>.viewer-save{border-color:var(--accent);color:#fff;background:var(--accent)}.daylight-image-viewer>footer>.viewer-save:hover{background:#124be0}.action-sheet:has(.daylight-collections){width:min(580px,100% - 32px);max-height:calc(100dvh - 60px);color:var(--ink);box-shadow:none;background:#fff;border:1px solid #eceef2;border-radius:16px;padding:24px 20px 20px}.action-sheet:has(.daylight-collections)::backdrop{background:#11182759}.action-sheet:has(.daylight-collections):before{content:"";background:#d3d5db;border-radius:10px;width:40px;height:4px;position:absolute;top:9px;left:calc(50% - 20px)}.action-sheet:has(.daylight-collections)>header{border:0;padding:0 0 16px}.action-sheet:has(.daylight-collections)>header h2{color:var(--ink);font-family:var(--font-ui);margin:0;font-size:22px;font-weight:650}.action-sheet:has(.daylight-collections)>header button{color:var(--ink)}.action-sheet:has(.daylight-collections)>.action-sheet-options{padding-top:0}.daylight-collections.creative-library{color:var(--ink);padding:0}.daylight-collections .library-toolbar{border-bottom:1px solid var(--line);gap:10px;padding-bottom:14px;display:flex}.daylight-collections.creative-library input:not([type=checkbox]){min-height:46px;color:var(--ink);background:#f5f6f8;border:0;border-radius:10px;padding:12px 14px;font-size:14px}.daylight-collections.creative-library input::placeholder{color:#9aa0ad}.daylight-collections.creative-library .library-toolbar>button{color:#555e6e;background:#f5f6f8;border:0;border-radius:10px;min-width:44px;min-height:46px;padding:9px}.daylight-collections .library-list{margin-top:0}.daylight-collections .library-list article{border-bottom:1px solid var(--line);flex-wrap:nowrap;gap:6px;min-height:88px;padding:16px 0}.daylight-collections .library-list article:last-child{border-bottom:0}.daylight-collections .collection-row-label{gap:9px;min-height:44px;font-size:14px;font-weight:550}.daylight-collections .collection-row-label>span{overflow-wrap:anywhere}.daylight-collections .collection-row-label small{color:#989eaa;margin-left:3px;font-size:13px;font-weight:400}.daylight-collections .library-item-actions{gap:3px}.daylight-collections.creative-library .library-item-actions>button{color:#8b92a1;background:0 0;border:0;gap:5px;min-width:44px;min-height:44px;padding:7px 3px;font-size:11px}.daylight-collections .library-item-actions>button:first-child{color:#5f6775}.daylight-collections .library-empty{color:#9aa1ae;font-size:13px}.daylight-images .save-image-sheet{background:#fff;border-radius:15px;padding:20px}.daylight-images .save-image-sheet>header h2{font-size:21px}.daylight-images .save-image-actions button{border-radius:9px}.daylight-images .reference-preview-dialog{border-radius:12px}@media (width>=861px){.studio-shell .daylight-images .generation-editor{max-width:800px;margin-left:auto;margin-right:auto}.studio-shell .daylight-images .generation-history{padding-top:12px}.daylight-image-viewer .image-viewer-stage{width:min(900px,100%);min-height:280px;max-height:54dvh}.daylight-image-viewer .image-viewer-position{padding:4px 0 12px}.daylight-image-viewer .image-viewer-details{margin-top:3px}.daylight-image-viewer .image-viewer-details h3{margin-bottom:5px;font-size:25px}.daylight-image-viewer .image-viewer-details .viewer-bookmark{margin:5px 0}.daylight-image-viewer>footer{margin-top:8px}}@media (width<=860px){.studio-shell .images-workspace.daylight-images{padding:0 20px 30px}.studio-shell .daylight-images .page-header{min-height:110px;padding:22px 0 19px}.studio-shell .daylight-images .page-title-block h1{white-space:nowrap;font-size:36px;line-height:1.3}.studio-shell .daylight-images .page-title-block p{margin-top:4px;font-size:14px}.studio-paper-fold{opacity:.8;width:108px;height:95px;top:1px;right:-13px}.studio-shell .daylight-images .generation-editor{margin:0 auto 25px;padding:0}.studio-shell .daylight-images .image-prompt-composer{padding:13px 13px 0}.studio-shell .daylight-images .image-prompt-composer textarea{height:69px;min-height:69px;padding-top:2px;font-size:15px;line-height:1.55}.studio-shell .daylight-images .reference-tools{gap:17px}.studio-shell .daylight-images .reference-tools .creative-tools{gap:1px}.studio-shell .daylight-images .reference-tools button{gap:7px;min-width:28px;font-size:12px}.studio-shell .daylight-images .reference-tools .creative-tools>button:last-child{min-width:26px}.studio-shell .daylight-images .composer-settings{gap:10px;margin:12px 0}.studio-shell .daylight-images .composer-setting{border-radius:11px;gap:0;padding:6px 11px 0}.studio-shell .daylight-images .composer-setting>span{font-size:10px;line-height:12px}.studio-shell .daylight-images .composer-setting select{height:44px;min-height:44px;font-size:15px;line-height:44px}.studio-shell .daylight-images .image-submit-button{height:44px;min-height:44px}.studio-shell .daylight-images .section-heading h2{font-size:21px}.studio-shell .daylight-images .record-count{font-size:15px}.studio-shell .daylight-images .history-section-actions .history-filter-toggle{display:inline-flex}.studio-shell .daylight-images .history-filters{display:none}.studio-shell .daylight-images .history-filters.is-open{grid-template-columns:repeat(2,minmax(0,1fr)) 40px;display:grid}.studio-shell .daylight-images .history-filters select{font-size:16px}.studio-shell .daylight-images .history-filters>button{grid-area:1/3/span 2}.studio-shell .daylight-images .generation-grid{grid-template-columns:minmax(0,1fr);gap:17px}.studio-shell .daylight-images .generation-preview{aspect-ratio:2;border-radius:9px}.studio-shell .daylight-images .generation-info>p{font-size:14px}.studio-shell .daylight-images .generation-info .generation-actions{justify-content:flex-start;gap:0}.studio-shell .daylight-images .generation-info .generation-actions button{flex-basis:44px;width:44px;min-width:44px;height:44px;min-height:44px}.studio-shell .daylight-images .generation-info .generation-actions button svg{width:19px;height:19px}.action-sheet:has(.daylight-collections){width:100%;max-width:none;min-height:45dvh;max-height:80dvh;padding:32px 20px max(22px, env(safe-area-inset-bottom));border:0;border-radius:20px 20px 0 0;margin:0;inset:auto 0 0}.action-sheet:has(.daylight-collections)>header{padding-bottom:19px}.daylight-collections .library-list article{min-height:93px}.daylight-collections .collection-row-label{font-size:14px}.daylight-collections .library-item-actions{gap:5px}.daylight-collections.creative-library .library-item-actions>button{min-width:44px;min-height:44px;padding-inline:2px}}@media (width<=380px){.studio-shell .images-workspace.daylight-images{padding-inline:18px}.studio-shell .daylight-images .page-title-block h1{font-size:33px}.studio-shell .daylight-images .reference-tools{gap:13px}.studio-shell .daylight-images .reference-tools button{gap:5px}.studio-shell .daylight-images .composer-settings{gap:8px}.studio-shell .daylight-images .composer-setting{padding-inline:10px}.studio-shell .daylight-images .section-heading h2{font-size:20px}.studio-shell .daylight-images .history-section-actions button{width:33px;min-width:33px}.daylight-collections .library-item-actions>button>span{display:none}.daylight-image-viewer .image-viewer-details h3{font-size:25px}.daylight-image-viewer>footer>button{gap:6px;font-size:13px}}@media (prefers-reduced-motion:reduce){.studio-shell .daylight-images *,.daylight-image-viewer *{scroll-behavior:auto}}.daylight-chat.chat-layout{height:100%;min-height:0;color:var(--ink,#171a22);font-family:var(--font-ui);background:#fff;grid-template-columns:290px minmax(0,1fr);display:grid}.daylight-chat .conversation-sidebar{border-right:1px solid var(--line);min-width:0;height:100%;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border-bottom:0;flex-direction:column;padding:0 22px;display:flex}.daylight-chat .conversation-brand{display:none}.daylight-chat .panel-heading{justify-content:space-between;align-items:center;gap:12px;min-height:100px;padding:24px 0 20px;display:flex;position:static}.daylight-chat .panel-heading h1{font-family:var(--font-display);letter-spacing:-.04em;margin:0;font-size:35px;font-weight:600;line-height:1.2}.daylight-chat .new-conversation-button{color:#fff;background:var(--accent);min-height:40px;font:inherit;cursor:pointer;border:0;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:13px;display:inline-flex}.daylight-chat .new-conversation-button:hover{background:#0649e7}.daylight-chat .search-field{color:#9399a5;background:#f6f7f9;border:0;border-radius:9px;gap:9px;height:42px;min-height:42px;margin:0 0 15px;padding:0 12px;display:flex}.daylight-chat .search-field input{font-size:13px}.daylight-chat .conversation-view-tabs{border:0;border-bottom:1px solid var(--line);background:#fff;border-radius:0;gap:0;margin:0 0 4px;padding:0;display:flex}.daylight-chat .conversation-view-tabs button{min-width:0;min-height:45px;color:var(--muted);box-shadow:none;background:0 0;border:0;border-radius:0;flex:1;justify-content:center;padding:0 3px;font-size:13px;position:relative}.daylight-chat .conversation-view-tabs button svg{display:none}.daylight-chat .conversation-view-tabs button.active{color:var(--accent);box-shadow:none;background:0 0}.daylight-chat .conversation-view-tabs button.active:after{content:"";background:var(--accent);height:2px;position:absolute;bottom:-1px;left:0;right:0}.daylight-chat .conversation-list{flex:1;min-height:0;margin:0;padding:0 0 12px;display:block;overflow:auto}.daylight-chat .conversation-group-label{color:var(--muted);margin:19px 0 5px;font-size:12px;line-height:1.6}.daylight-chat .conversation-item{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;flex-direction:row;align-items:center;min-width:0;min-height:76px;margin:0;display:flex}.daylight-chat .conversation-item:hover,.daylight-chat .conversation-item.active{background:0 0}.daylight-chat .conversation-item.active:before{content:none}.daylight-chat .conversation-select{width:100%;height:auto;min-height:76px;color:var(--ink);text-align:left;align-items:center;gap:10px;padding:14px 27px 14px 0;font-size:14px;display:flex}.daylight-chat .conversation-item.active .conversation-select{color:var(--ink)}.daylight-chat .conversation-copy{flex:1;gap:6px;display:grid}.daylight-chat .conversation-copy strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:600;overflow:hidden}.daylight-chat .conversation-copy small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px;font-weight:400;overflow:hidden}.daylight-chat .conversation-select time{color:#9299a5;align-self:flex-start;padding-top:3px;font-size:10px}.daylight-chat .conversation-pinned-icon{color:var(--ink)}.daylight-chat .conversation-actions{background:0 0;display:flex;top:10px;right:-7px}.daylight-chat .conversation-actions button{width:34px;height:40px;color:var(--muted);background:0 0;border-radius:5px}.daylight-chat .conversation-actions button:hover{color:var(--ink);background:#f6f7f9}.daylight-chat .conversation-trash-summary{min-height:76px;color:var(--ink);background:0 0;flex:1;padding:12px 34px 12px 0}.daylight-chat .conversation-trash-summary strong{font-size:14px}.daylight-chat .conversation-trash-summary small{color:var(--muted)}.daylight-chat .rename-input{border-radius:6px;width:calc(100% - 34px);min-height:44px;margin:0;font-size:14px}.daylight-chat .conversation-quota{border-bottom:1px solid var(--line);min-height:48px;color:var(--muted);flex:none;align-items:center;gap:10px;font-size:10px;display:flex}.daylight-chat .conversation-quota span{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.daylight-chat .conversation-quota span+span{border-left:1px solid var(--line);padding-left:10px}.daylight-chat .conversation-account{text-align:left;width:100%;min-height:86px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:12px;padding:16px 0;display:flex}.daylight-chat .conversation-avatar{background:#eceef1;border-radius:50%;flex:none;place-items:center;width:40px;height:40px;font-size:21px;display:grid}.daylight-chat .conversation-account>span:nth-child(2){flex:1;gap:4px;min-width:0;display:grid}.daylight-chat .conversation-account strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.daylight-chat .conversation-account small{color:var(--muted);font-size:12px}.daylight-chat .conversation-account>svg{color:var(--muted)}.daylight-chat .chat-workspace{background:#fff;grid-template-rows:84px minmax(0,1fr) auto;min-width:0;height:100%;min-height:0;display:grid;position:relative}.daylight-chat .chat-workspace.searching{grid-template-rows:84px 49px minmax(0,1fr) auto}.daylight-chat .workspace-header{border-bottom:1px solid var(--line);background:#fff;gap:12px;min-width:0;min-height:84px;padding:0 32px}.daylight-chat .thread-heading{flex:1;min-width:0;display:flex}.daylight-chat .thread-heading>div{min-width:0}.daylight-chat .thread-heading h2{max-width:100%;font-family:var(--font-display);letter-spacing:-.025em;margin:0;font-size:23px;font-weight:600;line-height:1.5}.daylight-chat .thread-heading>div>span{color:#969da8;margin-top:2px;font-size:12px;font-weight:400;display:block}.daylight-chat.is-new-chat .thread-heading h2{font-family:var(--font-ui);color:var(--muted);font-size:14px;font-weight:400}.daylight-chat .workspace-header-actions{gap:1px;margin-left:auto}.daylight-chat .workspace-header .icon-button{width:42px;height:44px;color:var(--ink);background:0 0;border:0;border-radius:8px}.daylight-chat .workspace-header .icon-button:hover{color:var(--accent);background:#f5f7ff}.daylight-chat .mobile-conversation-trigger,.daylight-chat.is-new-chat .thread-more-trigger{display:none}.daylight-chat .context-status{border-color:var(--line);min-height:30px;color:var(--muted);background:#fff;border-radius:5px;margin-right:8px;font-size:10px}.daylight-chat .message-scroll{background:#fff;min-height:0;padding:26px 32px 20px;overflow:hidden auto}.daylight-chat.is-new-chat .message-scroll{display:flex}.daylight-chat.is-new-chat .message-scroll>div:last-child{display:none}.daylight-chat .chat-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:min(460px,100%);min-height:0;margin:auto;padding:8px 0 20px;display:flex}.daylight-chat .empty-glyph{width:250px;height:180px;box-shadow:none;background:0 0;border:0;border-radius:0;flex:none;align-self:center;margin:0 0 18px;padding:0;display:block}.daylight-chat .empty-glyph:before,.daylight-chat .empty-glyph:after{content:none}.daylight-chat .empty-glyph img{object-fit:cover;object-position:50% 56%;filter:none;width:100%;max-width:none;height:100%;animation:none;position:static;transform:none}.daylight-chat .chat-empty h2{color:#202632;font-family:var(--font-display);letter-spacing:-.035em;text-shadow:none;margin:0;font-size:38px;font-weight:600;line-height:1.36}.daylight-chat .chat-empty p{color:var(--muted);margin:13px 0 0;font-size:14px;line-height:1.6}.daylight-chat .starter-prompts{border:0;flex:none;grid-template-columns:minmax(0,1fr);gap:0;width:100%;margin-top:28px;display:grid}.daylight-chat .starter-prompts button{color:#29303c;width:100%;min-height:52px;box-shadow:none;font-family:var(--font-ui);text-align:left;background:0 0;border:0;border-radius:0;align-items:center;gap:17px;padding:13px 0;font-size:15px;font-weight:400;display:flex;transform:none}.daylight-chat .starter-prompts button:before{content:none}.daylight-chat .starter-prompts button+button{border-top:1px solid var(--line)}.daylight-chat .starter-prompts button span{flex:1;min-width:0}.daylight-chat .starter-prompts button svg{color:#737c8b;flex:none}.daylight-chat .starter-prompts button .starter-icon{color:#303846}.daylight-chat .starter-prompts button:hover,.daylight-chat .starter-prompts button:focus-visible{color:var(--accent);background:0 0;transform:none}.daylight-chat .message-row{grid-template-columns:minmax(0,1fr);gap:16px;width:min(740px,100%);margin:0 auto 29px;display:grid}.daylight-chat .message-meta{font-family:var(--font-ui);letter-spacing:.08em;align-items:center;gap:8px;padding:0;font-size:12px;font-weight:600;line-height:1.5;display:flex}.daylight-chat .message-row.assistant .message-meta{color:#242b38}.daylight-chat .message-meta img{object-fit:contain;width:23px;height:23px}.daylight-chat .message-row.user{margin-top:0;margin-bottom:29px}.daylight-chat .message-row.user .message-meta{display:none}.daylight-chat .message-row.user .message-body{justify-self:end;min-width:min(248px,100%);max-width:88%}.daylight-chat .markdown-message{color:#282e3a;min-width:0;font-family:var(--font-ui);overflow-wrap:anywhere;padding:0;font-size:16px;line-height:1.9}.daylight-chat .markdown-message>p{margin-bottom:18px}.daylight-chat .markdown-message>h1,.daylight-chat .markdown-message>h2,.daylight-chat .markdown-message>h3{color:#202632;font-family:var(--font-display);letter-spacing:-.025em;margin:25px 0 18px;font-weight:600;line-height:1.5}.daylight-chat .markdown-message>h1{font-size:32px}.daylight-chat .markdown-message>h2{font-size:27px}.daylight-chat .markdown-message>h3{font-size:23px}.daylight-chat .message-row.user .markdown-message{background:#f4f5f8;border:0;border-radius:11px;padding:13px 16px 7px;font-size:15px;line-height:1.8}.daylight-chat .markdown-message code{color:#1557c8;background:#eff3fa}.daylight-chat .markdown-code-block{border-color:var(--line);background:#f7f8fa;border-radius:8px;margin-bottom:18px}.daylight-chat .markdown-code-toolbar{color:var(--muted);border-color:var(--line);background:#f1f3f6}.daylight-chat .markdown-message pre{color:#344054;background:#f7f8fa;padding:16px}.daylight-chat .markdown-message .message-actions{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:6px;min-height:42px;margin-top:24px;padding:0 0 14px;display:flex}.daylight-chat .markdown-message .message-actions>button{opacity:1;color:#737b8b;background:0 0;border:0;border-radius:5px;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;position:static}.daylight-chat .markdown-message .message-actions>button svg{width:18px;height:18px}.daylight-chat .markdown-message .message-actions>button[aria-label=收藏消息为提示词]{order:2}.daylight-chat .markdown-message .message-actions>.message-copy{order:1}.daylight-chat .markdown-message .message-actions>.message-quote{order:3}.daylight-chat .markdown-message .message-actions>.message-regenerate{order:4}.daylight-chat .markdown-message .message-actions>.message-edit{order:5}.daylight-chat .markdown-message .message-actions>.danger{color:#8e8590;order:6;margin-left:0}.daylight-chat .markdown-message .message-actions>.message-image-prompt{color:var(--accent);order:7;margin-left:auto}.daylight-chat .markdown-message .message-actions>button:hover:not(:disabled){color:var(--accent);background:#f2f5ff}.daylight-chat .markdown-message .message-actions>button:disabled{opacity:.4}.daylight-chat .message-row.user .message-actions{border:0;gap:0;min-height:44px;margin:4px -6px 0;padding:0}.daylight-chat .message-row.user .message-actions>button{color:#9299a6;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px}.daylight-chat .message-row.user .message-actions>button svg{width:15px;height:15px}.daylight-chat .thinking-row{width:min(740px,100%);margin-bottom:28px;padding:8px 0}.daylight-chat .summary-drawer{border-color:var(--line);background:#fff;box-shadow:0 18px 60px #171a2212}.daylight-chat .message-editor{box-shadow:none;border-color:#a9bfff;border-radius:9px}.daylight-chat .message-editor-actions .primary{background:var(--accent)}.daylight-chat .message-quote-preview,.daylight-chat .composer-quote{border-color:var(--line);color:var(--muted);background:#f7f8fa}.daylight-chat .message-search-bar{border-color:var(--line);padding-inline:24px}.daylight-chat .composer-zone{background:#fff;border:0;width:100%;padding:12px 32px 24px}.daylight-chat .composer-surface{width:min(740px,100%);box-shadow:none;background:#fff;border:1px solid #e3e6ec;border-radius:13px;margin:0 auto;overflow:hidden}.daylight-chat .composer-surface:focus-within{border-color:#b8caff;box-shadow:0 0 0 2px #1557ff04}.daylight-chat .composer{width:100%;min-height:65px;box-shadow:none;background:0 0;border:0;border-radius:0;align-items:flex-start;gap:10px;margin:0;padding:12px 12px 9px 15px;display:flex}.daylight-chat .composer:before,.daylight-chat .composer:after{content:none}.daylight-chat .composer textarea{min-height:40px;max-height:160px;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;padding:5px 0;font-size:15px;line-height:1.7}.daylight-chat .composer textarea::placeholder{color:#9299a6}.daylight-chat .send-button{color:#fff;background:var(--accent);width:36px;min-width:36px;height:36px;box-shadow:none;border:0;border-radius:50%;flex:none}.daylight-chat .send-button:hover:not(:disabled){box-shadow:none;background:#0649e7}.daylight-chat .send-button:disabled{color:#fff;background:var(--accent);opacity:.48;box-shadow:none}.daylight-chat .send-button svg{width:23px;height:23px}.daylight-chat .composer-surface .creative-tools{border-top:1px solid var(--line);width:calc(100% - 28px);min-height:44px;color:var(--ink);align-items:center;gap:3px;margin:0 14px;padding:3px 0;display:flex}.daylight-chat .creative-tools button{min-width:30px;min-height:38px;color:var(--ink);font:inherit;background:0 0;border:0;border-radius:0;gap:7px;padding:5px 0;font-size:12px}.daylight-chat .creative-tools button:hover:not(:disabled){color:var(--accent);background:0 0}.daylight-chat .creative-tools .role-trigger{white-space:nowrap;gap:7px;min-width:0;margin:0;padding:5px 0}.daylight-chat .role-trigger>span{text-overflow:ellipsis;overflow:hidden}.daylight-chat .role-trigger>svg{flex:none}.daylight-chat .chat-model-label{text-overflow:ellipsis;white-space:nowrap;color:#939aa7;border-left:1px solid #dce0e8;min-width:0;margin-left:11px;padding-left:11px;font-size:11px;overflow:hidden}.daylight-chat .creative-tools .save-draft-trigger{opacity:.65;margin-left:auto}.daylight-chat .creative-tools .prompt-library-trigger{gap:7px;margin-left:7px}.daylight-chat .composer-error,.daylight-chat .message-undo,.daylight-chat .composer-quote,.daylight-chat .connection-notice{width:min(740px,100%);margin:0 auto 8px}.daylight-chat .composer-quote{border-radius:8px}.daylight-chat .message-load-error{border-radius:6px}.daylight-chat .streaming-message .message-actions{display:none}.daylight-chat .action-sheet{border:1px solid var(--line,#eceef2);width:min(520px,100% - 32px);max-width:100%;max-height:calc(100dvh - 48px);color:var(--ink,#171a22);font-family:var(--font-ui);background:#fff;border-radius:18px;padding:20px 24px 24px;box-shadow:0 16px 70px #171a221a}.action-sheet:has(.daylight-prompt-library){border:1px solid var(--line,#eceef2);width:min(520px,100% - 32px);max-width:100%;max-height:calc(100dvh - 48px);color:var(--ink,#171a22);font-family:var(--font-ui);background:#fff;border-radius:18px;padding:20px 24px 24px;box-shadow:0 16px 70px #171a221a}.action-sheet:has(.daylight-role-settings){border:1px solid var(--line,#eceef2);width:min(520px,100% - 32px);max-width:100%;max-height:calc(100dvh - 48px);color:var(--ink,#171a22);font-family:var(--font-ui);background:#fff;border-radius:18px;padding:20px 24px 24px;box-shadow:0 16px 70px #171a221a}.daylight-chat .action-sheet::backdrop{background:#171a226b}.action-sheet:has(.daylight-prompt-library)::backdrop{background:#171a226b}.action-sheet:has(.daylight-role-settings)::backdrop{background:#171a226b}.daylight-chat .action-sheet>header{border:0;min-height:48px;padding:0 0 14px}.action-sheet:has(.daylight-prompt-library)>header{border:0;min-height:48px;padding:0 0 14px}.action-sheet:has(.daylight-role-settings)>header{border:0;min-height:48px;padding:0 0 14px}.daylight-chat .action-sheet>header h2{color:var(--ink);font:600 22px/1.5 var(--font-ui);letter-spacing:-.03em}.action-sheet:has(.daylight-prompt-library)>header h2{color:var(--ink);font:600 22px/1.5 var(--font-ui);letter-spacing:-.03em}.action-sheet:has(.daylight-role-settings)>header h2{color:var(--ink);font:600 22px/1.5 var(--font-ui);letter-spacing:-.03em}.daylight-chat .action-sheet>header .icon-button{width:38px;min-width:38px;height:38px;color:var(--ink);background:0 0;border:0}.action-sheet:has(.daylight-prompt-library)>header .icon-button{width:38px;min-width:38px;height:38px;color:var(--ink);background:0 0;border:0}.action-sheet:has(.daylight-role-settings)>header .icon-button{width:38px;min-width:38px;height:38px;color:var(--ink);background:0 0;border:0}:is(.action-sheet:has(.daylight-prompt-library)>.action-sheet-options,.action-sheet:has(.daylight-role-settings)>.action-sheet-options){padding:0}.daylight-prompt-library.creative-library,.daylight-role-settings.creative-library{color:var(--ink);padding:6px 0 0}.action-sheet .creative-library.daylight-prompt-library button,.action-sheet .creative-library.daylight-role-settings button{min-width:44px;min-height:44px;color:var(--ink);font:inherit;background:#f5f6f8;border:0;border-radius:10px;padding:8px 12px;font-size:14px;text-decoration:none}.action-sheet .creative-library.daylight-prompt-library button:hover:not(:disabled),.action-sheet .creative-library.daylight-role-settings button:hover:not(:disabled){color:var(--accent);background:#f0f4ff;text-decoration:none}.action-sheet .creative-library.daylight-prompt-library input:not([type=checkbox]),.action-sheet .creative-library.daylight-prompt-library textarea,.action-sheet .creative-library.daylight-role-settings textarea,.action-sheet .creative-library.daylight-role-settings select{width:100%;min-height:46px;color:var(--ink);box-shadow:none;font:inherit;background:#f8f9fb;border:1px solid #eceef2;border-radius:10px;padding:12px 14px;font-size:15px;line-height:1.7}.action-sheet .creative-library.daylight-prompt-library input:focus,.action-sheet .creative-library.daylight-prompt-library textarea:focus,.action-sheet .creative-library.daylight-role-settings textarea:focus,.action-sheet .creative-library.daylight-role-settings select:focus{border-color:#b7c9ff;outline-color:#b7c9ff;box-shadow:0 0 0 2px #1557ff05}.daylight-prompt-library input::placeholder,.daylight-prompt-library textarea::placeholder,.daylight-role-settings textarea::placeholder{color:#969daa}.daylight-prompt-library .library-toolbar{gap:10px}.daylight-prompt-library .library-toolbar form{background:#f5f6f8;border-radius:9px;gap:0;overflow:hidden}.daylight-prompt-library .library-toolbar form>button{color:#858d9b;background:0 0;min-width:34px;padding-right:0}.action-sheet .creative-library.daylight-prompt-library .library-toolbar input:not([type=checkbox]){min-width:0;min-height:44px;box-shadow:none;background:0 0;border:0;border-radius:0;outline:0;padding:10px 10px 10px 8px;font-size:14px}.action-sheet .creative-library.daylight-prompt-library .library-toolbar>button{background:#f5f6f8;flex:none;width:44px;padding:0}.daylight-prompt-library .library-list{margin-top:12px}.daylight-prompt-library .library-list article{border-color:var(--line);min-width:0;padding:16px 0 10px;display:block}.action-sheet .creative-library.daylight-prompt-library .library-list .prompt-use{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:0;gap:18px;padding:0;text-decoration:none}.action-sheet .creative-library.daylight-prompt-library .library-list .prompt-use:hover:not(:disabled){color:var(--ink);background:#f8faff;text-decoration:none}.action-sheet .creative-library.daylight-prompt-library .prompt-use strong,.action-sheet .creative-library.daylight-prompt-library .prompt-use small{text-decoration:none}.action-sheet .creative-library.daylight-prompt-library .prompt-use strong{color:var(--ink)}.daylight-prompt-library .prompt-use strong{font-size:15px;font-weight:600}.daylight-prompt-library .prompt-use small{color:var(--muted);margin-top:6px;font-size:13px;line-height:1.7}.daylight-prompt-library .prompt-use>svg{color:#3c4655;align-self:center}.daylight-prompt-library .library-item-actions{gap:18px;margin-top:7px;display:flex}.action-sheet .creative-library.daylight-prompt-library .library-item-actions>button{min-height:36px;color:var(--muted);background:0 0;border:0;gap:7px;padding:5px 0;font-size:12px}.daylight-prompt-library .library-empty{color:var(--muted);padding:40px 0;font-size:14px}.daylight-prompt-library .library-form,.daylight-role-settings.library-form{gap:24px}.daylight-prompt-library .library-form label,.daylight-role-settings label{color:#606a79;gap:10px;font-size:14px;font-weight:400}.daylight-prompt-library .library-form-actions{margin-top:2px}.action-sheet .creative-library.daylight-prompt-library button.primary,.action-sheet .creative-library.daylight-role-settings button.primary{color:#fff;background:var(--accent);border:0;border-radius:10px;min-height:46px}.action-sheet .creative-library.daylight-prompt-library button.primary:hover:not(:disabled),.action-sheet .creative-library.daylight-role-settings button.primary:hover:not(:disabled){color:#fff;background:#0649e7}.daylight-role-settings .role-instruction{color:#8b93a0;margin:-10px 0 0;font-size:12px;line-height:1.7}.daylight-role-settings .role-textarea-wrap{display:block;position:relative}.action-sheet .creative-library.daylight-role-settings textarea{resize:vertical;background:#f8f9fb;min-height:158px;max-height:34dvh;padding-bottom:36px}.daylight-role-settings .role-textarea-wrap small{color:#969daa;font-size:11px;position:absolute;bottom:13px;right:14px}.daylight-role-settings .library-form-actions{margin-top:0;display:block}.action-sheet .creative-library.daylight-role-settings .library-form-actions button{width:100%;min-height:48px;font-size:16px}.daylight-history-actions{gap:2px;display:grid}.daylight-history-actions>p{color:var(--muted);overflow-wrap:anywhere;margin:0 10px 12px;font-size:13px}.daylight-history-actions>button{min-height:48px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:12px;padding:10px;display:flex}.daylight-history-actions>button:hover:not(:disabled){background:#f5f7fb}.daylight-history-actions>button.danger{color:#b34848}.daylight-history-actions>button:disabled{opacity:.45}@media (width<=1100px) and (width>=861px){.daylight-chat.chat-layout{grid-template-columns:255px minmax(0,1fr)}.daylight-chat .conversation-sidebar{padding-inline:18px}.daylight-chat .conversation-select time{display:none}.daylight-chat .conversation-quota{gap:6px;font-size:9px}.daylight-chat .conversation-quota span+span{padding-left:6px}.daylight-chat .conversation-quota svg{width:14px}.daylight-chat .workspace-header,.daylight-chat .message-scroll,.daylight-chat .composer-zone{padding-inline:24px}}@media (width<=860px){.studio-shell.daylight-shell>.workspace:has(.daylight-chat .conversation-sidebar.open){z-index:70;overflow:visible}.daylight-chat.chat-layout{height:100%;display:block}.daylight-chat .conversation-scrim{z-index:60;background:#171a225c;width:100vw;height:100dvh;position:fixed;inset:0}.daylight-chat .conversation-sidebar{z-index:61;width:min(88vw,360px);height:100dvh;min-height:0;max-height:100dvh;padding:max(20px, env(safe-area-inset-top)) 22px max(10px, env(safe-area-inset-bottom));box-shadow:none;background:#fff;border:0;transition:transform .18s,visibility .18s;position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-101%)}.daylight-chat .conversation-sidebar.open{visibility:visible;transform:translate(0)}.daylight-chat .conversation-brand{flex:none;justify-content:space-between;align-items:center;gap:16px;min-height:40px;display:flex}.daylight-chat .conversation-brand img{object-fit:contain;object-position:left center;width:155px;height:35px}.daylight-chat .conversation-brand .mobile-conversation-close{width:32px;min-width:32px;height:40px;color:var(--ink);background:0 0;border:0;display:grid;position:static}.daylight-chat .panel-heading{flex:none;min-height:84px;padding:20px 0 15px}.daylight-chat .panel-heading h1{font-size:37px}.daylight-chat .new-conversation-button{min-height:38px;padding-inline:12px;font-size:13px}.daylight-chat .search-field{flex:none;height:42px;margin-bottom:12px}.daylight-chat .conversation-view-tabs{flex:none}.daylight-chat .conversation-view-tabs button{min-height:48px;font-size:13px}.daylight-chat .conversation-list{overscroll-behavior:contain;flex:1 1 0;min-height:0;padding-bottom:12px;overflow:hidden auto}.daylight-chat .conversation-group-label{margin-top:15px;font-size:12px}.daylight-chat .conversation-select,.daylight-chat .conversation-item{min-height:72px}.daylight-chat .conversation-item .conversation-select{width:100%;padding:12px 44px 12px 0}.daylight-chat .conversation-copy strong{font-size:14px}.daylight-chat .conversation-copy small{font-size:12px}.daylight-chat .conversation-select time{font-size:10px;display:block}.daylight-chat .conversation-sidebar .conversation-item .conversation-actions{opacity:1;visibility:visible;background:0 0;width:auto;padding:0;position:absolute;top:8px;right:-7px;display:flex!important}.daylight-chat .conversation-sidebar .conversation-item .conversation-actions button{opacity:1;visibility:visible;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px}.daylight-chat .conversation-quota{gap:13px;min-height:46px;font-size:10px}.daylight-chat .conversation-quota span+span{padding-left:13px}.daylight-chat .conversation-account{min-height:73px;padding:12px 0}.daylight-chat .chat-workspace{grid-template-rows:53px minmax(0,1fr) auto;height:100%}.daylight-chat.has-conversation .chat-workspace{grid-template-rows:75px minmax(0,1fr) auto}.daylight-chat .chat-workspace.searching{grid-template-rows:75px 48px minmax(0,1fr) auto}.daylight-chat .workspace-header{border-color:#0000;gap:8px;min-height:53px;margin:0 21px;padding:0}.daylight-chat.has-conversation .workspace-header{border-bottom-color:var(--line);min-height:75px}.daylight-chat .thread-heading h2{font-size:20px;line-height:1.5}.daylight-chat .thread-heading>div>span{margin-top:2px;font-size:11px}.daylight-chat.is-new-chat .thread-heading h2{font-size:14px}.daylight-chat .workspace-header-actions{gap:0}.daylight-chat .workspace-header .icon-button{width:37px;height:44px}.daylight-chat .workspace-header .mobile-conversation-trigger{display:grid}.daylight-chat .workspace-header-actions>.context-status{display:none}.daylight-chat .message-scroll{padding:20px 21px 12px}.daylight-chat.is-new-chat .message-scroll{padding:0 32px}.daylight-chat .chat-empty{width:min(330px,100%);padding:0 0 18px}.daylight-chat .empty-glyph{width:230px;height:164px;margin-bottom:15px}.daylight-chat .chat-empty h2{letter-spacing:-.04em;font-size:34px;line-height:1.37}.daylight-chat .chat-empty p{margin-top:11px;font-size:14px}.daylight-chat .starter-prompts{margin-top:25px}.daylight-chat .starter-prompts button{gap:17px;min-height:49px;padding:12px 0;font-size:14px}.daylight-chat .starter-prompts button svg{width:19px;height:19px}.daylight-chat .message-row{gap:15px;margin-bottom:26px}.daylight-chat .message-row.user{margin-bottom:27px}.daylight-chat .message-row.user .message-body{max-width:90%}.daylight-chat .message-row.user .markdown-message{padding:12px 14px 6px;font-size:14px}.daylight-chat .message-meta{gap:8px;font-size:11px}.daylight-chat .message-meta img{width:21px;height:21px}.daylight-chat .markdown-message{font-size:15px;line-height:1.9}.daylight-chat .markdown-message>h1{font-size:30px}.daylight-chat .markdown-message>h2{font-size:26px}.daylight-chat .markdown-message>h3{font-size:22px}.daylight-chat .markdown-message .message-actions{gap:2px;margin-top:22px;padding-bottom:15px}.daylight-chat .markdown-message .message-actions>button{flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px}.daylight-chat .message-row.user .message-actions{margin-top:3px;padding-bottom:0}.daylight-chat .message-row.user .message-actions>button{flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px}.daylight-chat .composer-zone{padding:8px 18px 12px}.daylight-chat .composer-surface{border-radius:13px}.daylight-chat .composer{gap:8px;min-height:59px;padding:12px 11px 8px 13px}.daylight-chat .composer textarea{min-height:36px;padding:2px 0;font-size:15px;line-height:1.7}.daylight-chat .send-button{width:34px;min-width:34px;height:34px}.daylight-chat .composer-surface .creative-tools{gap:1px;width:calc(100% - 26px);min-height:42px;margin-inline:13px;padding-block:1px}.daylight-chat .creative-tools button{min-width:29px;min-height:39px;padding:4px 0;font-size:12px}.daylight-chat .creative-tools .role-trigger{gap:7px;min-width:0;max-width:142px;font-size:12px}.daylight-chat .chat-model-label{margin-left:9px;padding-left:9px;font-size:10px}.daylight-chat .creative-tools .prompt-library-trigger{gap:6px;margin-left:5px}.daylight-chat.has-conversation .composer-zone{border-top:1px solid var(--line);padding:10px 21px 12px}.daylight-chat.has-conversation .composer-surface{border:0;border-radius:0;overflow:visible}.daylight-chat.has-conversation .composer-surface:focus-within{box-shadow:none}.daylight-chat.has-conversation .composer{background:#f6f7f9;border-radius:30px;align-items:center;min-height:45px;padding:5px 6px 5px 16px}.daylight-chat.has-conversation .composer textarea{min-height:34px;padding-block:4px}.daylight-chat.has-conversation .composer-surface .creative-tools{border:0;width:100%;margin:8px 0 0;padding:0}.daylight-chat.has-conversation .creative-tools .role-trigger,.daylight-chat.has-conversation .creative-tools .prompt-library-trigger{background:#f6f7f9;border-radius:22px;padding:4px 13px}.daylight-chat.has-conversation .chat-model-label{display:none}.daylight-chat.has-conversation .creative-tools .save-draft-trigger{margin-left:auto;margin-right:6px}.daylight-chat .message-search-bar{padding-inline:21px}.daylight-chat .summary-drawer{top:75px}.daylight-chat .action-sheet{width:100%;max-height:min(82dvh,760px);padding:27px 22px max(23px, env(safe-area-inset-bottom));box-shadow:none;border:0;border-radius:20px 20px 0 0;margin:0;font-size:14px;top:auto;bottom:0}.action-sheet:has(.daylight-prompt-library){width:100%;max-height:min(82dvh,760px);padding:27px 22px max(23px, env(safe-area-inset-bottom));box-shadow:none;border:0;border-radius:20px 20px 0 0;margin:0;font-size:14px;top:auto;bottom:0}.action-sheet:has(.daylight-role-settings){width:100%;max-height:min(82dvh,760px);padding:27px 22px max(23px, env(safe-area-inset-bottom));box-shadow:none;border:0;border-radius:20px 20px 0 0;margin:0;font-size:14px;top:auto;bottom:0}.daylight-chat .action-sheet:before{content:"";background:#d2d4d9;border-radius:4px;width:43px;height:4px;position:absolute;top:10px;left:calc(50% - 21.5px)}.action-sheet:has(.daylight-prompt-library):before{content:"";background:#d2d4d9;border-radius:4px;width:43px;height:4px;position:absolute;top:10px;left:calc(50% - 21.5px)}.action-sheet:has(.daylight-role-settings):before{content:"";background:#d2d4d9;border-radius:4px;width:43px;height:4px;position:absolute;top:10px;left:calc(50% - 21.5px)}.daylight-chat .action-sheet>header{padding-bottom:19px}.action-sheet:has(.daylight-prompt-library)>header{padding-bottom:19px}.action-sheet:has(.daylight-role-settings)>header{padding-bottom:19px}.daylight-chat .action-sheet>header h2{font-size:21px}.action-sheet:has(.daylight-prompt-library)>header h2{font-size:21px}.action-sheet:has(.daylight-role-settings)>header h2{font-size:21px}.daylight-prompt-library .library-toolbar{gap:9px}.daylight-prompt-library .library-list article{padding-top:17px}.daylight-prompt-library .library-list .prompt-use{min-height:49px}.daylight-prompt-library .prompt-use strong{font-size:15px}.daylight-prompt-library .prompt-use small{font-size:13px}.daylight-prompt-library .library-item-actions{gap:25px;margin-top:9px}.daylight-prompt-library .library-item-actions>button{min-height:38px;font-size:13px}.daylight-role-settings.library-form{gap:25px;padding-top:4px}.daylight-role-settings textarea{min-height:145px}.daylight-role-settings .library-form-actions{margin-top:5px}.daylight-role-settings .library-form-actions button{min-height:48px}}@media (width<=375px){.daylight-chat .workspace-header{margin-inline:18px}.daylight-chat.is-new-chat .message-scroll{padding-inline:29px}.daylight-chat .empty-glyph{width:190px;height:128px;margin-bottom:10px}.daylight-chat .chat-empty h2{font-size:31px}.daylight-chat .chat-empty p{font-size:12px}.daylight-chat .starter-prompts{margin-top:19px}.daylight-chat .starter-prompts button{min-height:46px;font-size:13px}.daylight-chat .chat-model-label{display:none}.daylight-chat .message-scroll{padding-inline:18px}.daylight-chat .workspace-header .icon-button{width:33px}.daylight-chat .thread-heading h2{font-size:18px}.daylight-chat .conversation-sidebar{padding-inline:20px}.daylight-chat .conversation-quota{gap:9px;font-size:9px}.daylight-chat .conversation-quota span+span{padding-left:9px}}@media (height<=740px) and (width<=860px){.daylight-chat .empty-glyph{width:170px;height:105px;margin-bottom:7px}.daylight-chat .chat-empty{padding-bottom:8px}.daylight-chat .chat-empty h2{font-size:29px}.daylight-chat .chat-empty p{margin-top:7px;font-size:12px}.daylight-chat .starter-prompts{margin-top:15px}.daylight-chat .starter-prompts button{min-height:44px;font-size:13px}}@media (prefers-reduced-motion:reduce){.daylight-chat .conversation-sidebar{transition:none}}.studio-shell .daylight-account.account-page,.studio-shell .daylight-admin.admin-page{min-width:0;min-height:100%;color:var(--ink,#171a22);font-family:var(--font-ui);background:#fff;padding:0 24px 40px}.studio-shell .daylight-account .account-header{background:#fff;border:0;width:min(880px,100%);min-height:0;margin:0 auto;padding:26px 0 0}.studio-shell .daylight-account .account-header-inner{width:100%;display:block}.daylight-account .daylight-account-heading{isolation:isolate;justify-content:space-between;align-items:flex-start;min-height:82px;display:flex;position:relative}.studio-shell .daylight-account .account-title-lockup{z-index:1;position:relative}.studio-shell .daylight-account .account-title-lockup h1{color:var(--ink);font:600 32px/1.3 var(--font-display);letter-spacing:0;text-shadow:none;margin:0}.daylight-account .account-title-lockup p{color:var(--muted);margin:8px 0 0;font-size:14px}.daylight-account .daylight-account-fold{opacity:.8;pointer-events:none;width:116px;height:100px;position:absolute;top:-10px;right:-8px}.daylight-account .daylight-account-fold:before,.daylight-account .daylight-account-fold:after{content:"";clip-path:polygon(0 100%,100% 0,88% 67%);background:linear-gradient(120deg,#fff 10%,#edf2ff 63%,#d6e1ff 100%);position:absolute;inset:0}.daylight-account .daylight-account-fold:after{clip-path:polygon(44% 100%,70% 28%,100% 0,88% 67%);background:linear-gradient(100deg,#3f70ff 25%,#b4c9ff 70%,#f3f6ff)}.studio-shell .daylight-account .account-identity{border:0;border-bottom:1px solid var(--line);grid-template-columns:54px minmax(0,1fr);gap:16px;width:100%;min-height:84px;padding:7px 0 17px;display:grid}.studio-shell .daylight-account .account-monogram{width:54px;height:54px;color:var(--accent);box-shadow:none;font-family:var(--font-ui);background:#edf2ff;border-radius:50%;font-size:25px;font-weight:500}.daylight-account .daylight-account-name{align-items:center;gap:10px;min-width:0;display:flex}.studio-shell .daylight-account .account-identity strong{color:var(--ink);font-size:18px;font-weight:600;line-height:1.5}.daylight-account .daylight-account-name svg{color:var(--muted);flex:none}.studio-shell .daylight-account .account-identity small{color:var(--muted);font-size:12px;line-height:1.6;display:block}.studio-shell .daylight-account .account-content{grid-template-columns:minmax(0,1fr);gap:0;width:min(880px,100%);margin:0 auto;display:grid}.studio-shell .daylight-account .account-section,.studio-shell .daylight-account .account-security-grid{min-width:0;box-shadow:none;background:#fff;border:0;border-radius:0;padding:0;animation:none}.studio-shell .daylight-account .account-security-grid{grid-template-columns:minmax(0,1fr);gap:0;display:grid}.studio-shell .daylight-account .account-section-heading{background:#fff;border:0;align-items:center;gap:6px;min-height:0;padding:19px 0 12px}.studio-shell .daylight-account .account-section-heading>div{flex:1;min-width:0}.studio-shell .daylight-account .account-section-heading h2{color:var(--ink);font:600 20px/1.5 var(--font-ui);margin:0}.studio-shell .daylight-account .account-section-heading>div>span{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.6;display:block}.studio-shell .daylight-account .account-section-index,.studio-shell .daylight-account .usage-heading>svg{display:none}.studio-shell .daylight-account .usage-heading>div{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.studio-shell .daylight-account .usage-heading>div>span{overflow-wrap:anywhere;text-align:right;margin:0;font-size:11px}.studio-shell .daylight-account .usage-metrics-grid{border:0;grid-template-columns:minmax(0,1fr);display:grid}.studio-shell .daylight-account .usage-metric,.studio-shell .daylight-account .usage-metric:last-child{background:#fff;border:0;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;min-height:70px;padding:10px 0 12px;display:grid}.studio-shell .daylight-account .usage-metric-heading{color:var(--ink);grid-area:1/1;font-size:14px;font-weight:400}.studio-shell .daylight-account .usage-metric-icon,.studio-shell .daylight-account .usage-metric-heading b{display:none}.studio-shell .daylight-account .usage-metric-value{color:var(--ink);line-height:1.4;font-family:var(--font-ui);font-variant-numeric:tabular-nums;grid-area:1/2;justify-content:flex-end;align-items:baseline;gap:5px;display:flex}.studio-shell .daylight-account .usage-metric-value strong,.studio-shell .daylight-account .usage-metric-value span{color:var(--ink);font-size:16px;font-weight:400}.studio-shell .daylight-account .usage-progress{background:#e9ecf1;border-radius:8px;grid-area:2/1;align-self:center;width:100%;height:6px;margin:0;overflow:hidden}.studio-shell .daylight-account .usage-progress>span{border-radius:inherit;background:var(--accent);height:100%}.studio-shell .daylight-account .usage-metric.warning .usage-progress>span,.studio-shell .daylight-account .usage-metric.exhausted .usage-progress>span{background:#cc684a}.studio-shell .daylight-account .usage-metric>small,.studio-shell .daylight-account .usage-metric:last-child>small{color:var(--muted);text-align:right;grid-area:2/2;font-size:12px;line-height:1.5}.studio-shell .daylight-account .usage-period-note{min-height:0;color:var(--muted);background:#fff;border:0;padding:0 0 17px;font-size:12px}.studio-shell .daylight-account .usage-period-note svg{display:none}.studio-shell .daylight-account .account-security-grid>.account-section{border-top:1px solid var(--line)}.studio-shell .daylight-account .password-form{gap:12px;padding:0 0 25px;display:grid}.daylight-account .daylight-password-field{min-width:0}.daylight-account .daylight-password-field>label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.daylight-account .daylight-password-control{background:#fff;border:1px solid #e0e4eb;border-radius:14px;align-items:center;min-height:50px;transition:border-color .15s;display:flex}.daylight-account .daylight-password-control:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #1557ff08}.studio-shell .daylight-account .password-form input{width:100%;min-width:0;height:48px;color:var(--ink);box-shadow:none;font:400 16px/1.5 var(--font-ui);background:0 0;border:0;border-radius:14px;outline:0;flex:1;margin:0;padding:0 14px}.daylight-account .daylight-password-control>button{color:#9299a7;background:0 0;border:0;border-radius:12px;flex:none;place-items:center;width:46px;height:46px;padding:0;display:grid}.studio-shell .daylight-account .password-submit{color:#fff;background:var(--accent);min-height:50px;box-shadow:none;border:0;border-radius:14px;margin:1px 0 0;font-size:15px;font-weight:500}.studio-shell .daylight-account .account-message{color:#b3423d;background:0 0;margin:0;padding:10px 0;font-size:12px}.studio-shell .daylight-account .account-message.success{color:#278669}.studio-shell .daylight-account .device-row{border:0;border-bottom:1px solid var(--line);background:#fff;grid-template-columns:26px minmax(0,1fr) auto;gap:12px;min-height:88px;padding:16px 0;display:grid}.studio-shell .daylight-account .device-icon{width:25px;height:30px;color:var(--ink);background:0 0}.studio-shell .daylight-account .device-copy strong{color:var(--ink);overflow-wrap:anywhere;font-size:14px;font-weight:500;line-height:1.5}.daylight-account .daylight-device-name{flex-wrap:wrap;align-items:center;gap:3px 8px;display:flex}.studio-shell .daylight-account .current-device{color:var(--accent);background:0 0;padding:0;font-size:10px}.studio-shell .daylight-account .device-copy p,.studio-shell .daylight-account .device-copy small{color:var(--muted);white-space:normal;overflow-wrap:anywhere;margin:4px 0 0;font-size:11px;line-height:1.6}.studio-shell .daylight-account .device-revoke-button{color:#cf4c43;background:0 0;border:0;justify-content:center;align-items:center;width:auto;min-width:44px;min-height:44px;padding:0 3px;font-size:12px;display:inline-flex}.studio-shell .daylight-account .device-revoke-button>span{display:inline}.studio-shell .daylight-account .device-revoke-button>svg:not(.spin){display:none}.studio-shell .daylight-account .device-footer{border:0;padding:8px 0 15px}.studio-shell .daylight-account .device-others-button{min-height:44px;color:var(--accent);background:0 0;border:0;padding:4px 0;font-size:13px}.daylight-account .daylight-account-logout{border:0;border-top:1px solid var(--line);width:100%;min-height:74px;color:var(--ink);text-align:left;background:#fff;align-items:center;gap:15px;padding:12px 0;font-size:15px;display:flex}.daylight-account .daylight-account-logout>svg:last-child{color:var(--muted);margin-left:auto}.studio-shell .daylight-admin.admin-page{-webkit-backdrop-filter:none;backdrop-filter:none;padding-top:24px}.studio-shell.daylight-shell>.workspace:has(.daylight-admin .admin-drawer-scrim){z-index:70;overflow:visible}.studio-shell .daylight-admin .admin-header,.studio-shell .daylight-admin .admin-tabs,.studio-shell .daylight-admin .admin-content,.studio-shell .daylight-admin .admin-error{width:min(880px,100%);margin-left:auto;margin-right:auto}.studio-shell .daylight-admin .admin-header{min-height:94px;color:var(--ink);box-shadow:none;background:#fff;border:0;align-items:center;padding:0 0 20px}.studio-shell .daylight-admin .admin-header:before,.studio-shell .daylight-admin .admin-header:after{content:none;display:none}.studio-shell .daylight-admin .admin-header>div>span{color:var(--muted);font-size:12px;font-weight:400}.studio-shell .daylight-admin .admin-header h1{color:var(--ink);font:600 34px/1.25 var(--font-display);text-shadow:none;margin:7px 0 0}.studio-shell .daylight-admin .admin-tabs{border:0;border-bottom:1px solid var(--line);background:#fff;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;min-height:55px;padding:0;display:grid;position:static}.studio-shell .daylight-admin .admin-tabs button,.studio-shell .daylight-admin .admin-filter-row button{min-width:0;min-height:50px;color:var(--muted);box-shadow:none;background:#fff;border:0;border-radius:0;padding:0 8px;font-size:15px;font-weight:400;position:relative}.studio-shell .daylight-admin .admin-tabs button.active,.studio-shell .daylight-admin .admin-filter-row button.active{color:var(--accent);box-shadow:none;background:#fff}.studio-shell .daylight-admin .admin-tabs button.active:after,.studio-shell .daylight-admin .admin-filter-row button.active:after{content:"";background:var(--accent);border-radius:2px;width:34px;height:3px;position:absolute;bottom:-1px;left:50%;transform:translate(-50%)}.studio-shell .daylight-admin .admin-metrics{border:0;border-bottom:1px solid var(--line);box-shadow:none;background:#fff;grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0 0;display:grid}.studio-shell .daylight-admin .admin-metric{border:0;border-bottom:1px solid var(--line);min-height:112px;box-shadow:none;background:#fff;border-radius:0;grid-template-rows:auto auto;grid-template-columns:36px minmax(0,1fr);align-content:center;gap:3px 9px;padding:18px 12px 20px 3px;display:grid;position:relative}.studio-shell .daylight-admin .admin-metric:before,.studio-shell .daylight-admin .admin-metric:after{content:none}.studio-shell .daylight-admin .admin-metric:nth-child(2n){padding-left:20px}.studio-shell .daylight-admin .admin-metric:nth-child(odd):after{content:"";background:var(--line);width:1px;height:auto;position:absolute;inset:23px 0 23px auto;transform:none}.studio-shell .daylight-admin .admin-metric:nth-last-child(-n+2){border-bottom:0}.studio-shell .daylight-admin .admin-metric-icon{color:#555d6f;background:0 0;border-radius:0;grid-area:1/1/3/2;width:30px;height:36px;margin:0;position:relative}.studio-shell .daylight-admin .admin-metric-icon>svg{stroke-width:1.5px;width:27px;height:27px}.studio-shell .daylight-admin .admin-metric.warning .admin-metric-icon:after{content:"";background:#ed7375;border-radius:50%;width:6px;height:6px;position:absolute;top:2px;right:-1px}.studio-shell .daylight-admin .admin-metric-label{color:var(--muted);grid-area:1/2;font-size:12px}.studio-shell .daylight-admin .admin-metric strong{color:var(--ink);font:500 28px/1.3 var(--font-ui);font-variant-numeric:tabular-nums;grid-area:2/2;justify-self:start}.studio-shell .daylight-admin .admin-settings-band{border:0;border-bottom:1px solid var(--line);box-shadow:none;background:#fff;margin:0;padding:21px 0}.studio-shell .daylight-admin .admin-section-title{color:#555d6f;border:0;gap:12px;min-height:0;padding:0 0 14px;display:flex}.studio-shell .daylight-admin .admin-section-title>svg{stroke-width:1.5px;flex:none;width:28px;height:28px}.studio-shell .daylight-admin .admin-section-title>div{display:block}.studio-shell .daylight-admin .admin-section-title h2,.studio-shell .daylight-admin .admin-section-title h3{color:var(--ink);margin:0;font-size:16px;font-weight:500}.studio-shell .daylight-admin .admin-section-title span{color:var(--muted);margin-top:2px;font-size:11px;display:block}.studio-shell .daylight-admin .admin-setting-row{background:#f6f7fa;border-radius:15px;gap:12px;min-height:76px;padding:15px 17px}.studio-shell .daylight-admin .admin-setting-row strong{color:var(--ink);font-size:15px;font-weight:400}.studio-shell .daylight-admin .admin-setting-row span{color:var(--muted);font-size:12px}.studio-shell .daylight-admin .admin-switch{width:50px;height:44px;min-height:44px;box-shadow:none;background:0 0;border:0;border-radius:18px;padding:11px 5px;position:relative}.studio-shell .daylight-admin .admin-switch:before{content:"";background:#ccd1da;border-radius:18px;position:absolute;inset:8px 2px}.studio-shell .daylight-admin .admin-switch.on{background:0 0}.studio-shell .daylight-admin .admin-switch.on:before{background:var(--accent)}.studio-shell .daylight-admin .admin-switch span{background:#fff;border-radius:50%;width:22px;height:22px;margin:0;display:block;position:relative;box-shadow:0 1px 3px #171a2212}.studio-shell .daylight-admin .admin-switch.on span{transform:translate(18px)}.studio-shell .daylight-admin .admin-health-list{box-shadow:none;background:#fff;border:0;margin:0}.studio-shell .daylight-admin .admin-health-list>div{border-bottom:1px solid var(--line);min-height:62px;color:var(--ink);gap:14px;padding:12px 2px;font-size:14px;display:flex}.daylight-admin .admin-health-list>div>svg{color:#5f6675;stroke-width:1.5px;flex:none}.studio-shell .daylight-admin .admin-health-list strong{color:var(--ink);font-variant-numeric:tabular-nums;margin-left:auto;font-size:16px;font-weight:400}.studio-shell .daylight-admin .admin-list-section{min-width:0;padding:24px 0 0}.studio-shell .daylight-admin .admin-search{height:50px;min-height:50px;box-shadow:none;background:#f7f8fa;border:1px solid #e5e8ee;border-radius:14px}.studio-shell .daylight-admin .admin-search>svg{color:#778091;margin-left:14px}.studio-shell .daylight-admin .admin-search input{min-width:0;box-shadow:none;font:400 16px/1.5 var(--font-ui);background:0 0;border:0;padding:0 10px}.studio-shell .daylight-admin .admin-search button{width:62px;height:44px;min-height:44px;color:var(--accent);background:0 0;border:0;border-radius:0;padding:0 10px;font-size:14px;position:relative}.studio-shell .daylight-admin .admin-search button:before{content:"";background:var(--line);width:1px;position:absolute;top:9px;bottom:9px;left:0}.studio-shell .daylight-admin .admin-list-heading{min-height:66px;color:var(--ink);border:0;justify-content:flex-start;gap:11px;padding:20px 0 12px;font-size:19px;font-weight:500}.studio-shell .daylight-admin .admin-list-heading strong{min-width:0;height:auto;color:var(--muted);background:0 0;padding:0;font-size:16px;font-weight:400}.studio-shell .daylight-admin .admin-user-list,.studio-shell .daylight-admin .admin-task-list,.studio-shell .daylight-admin .admin-audit-list{background:#fff;border:0}.studio-shell .daylight-admin .admin-user-list>button{border:0;border-bottom:1px solid var(--line);min-height:80px;color:var(--ink);background:#fff;border-radius:0;gap:12px;padding:14px 0}.studio-shell .daylight-admin .admin-list-avatar{width:42px;height:42px;color:var(--accent);background:#edf2ff;border-radius:50%;font-size:17px;font-weight:500}.daylight-admin .admin-list-avatar.tone-1{color:#8b69cc;background:#f3effc}.daylight-admin .admin-list-avatar.tone-2{color:#5d9866;background:#eff7ef}.daylight-admin .admin-list-avatar.tone-3{color:#997a44;background:#faf5e9}.daylight-admin .admin-list-avatar.tone-4{color:#697180;background:#f0f2f5}.daylight-admin .admin-list-avatar.tone-5{color:#b96e70;background:#fbefef}.studio-shell .daylight-admin .admin-list-main strong{color:var(--ink);white-space:nowrap;font-size:14px;font-weight:500}.studio-shell .daylight-admin .admin-list-main small{color:var(--muted);font-size:11px}.daylight-admin .admin-user-active{color:#4b9d63}.studio-shell .daylight-admin .admin-user-usage{color:#727a89;font:400 12px/1.5 var(--font-ui);font-variant-numeric:tabular-nums;flex:none}.daylight-admin .admin-user-list>button>svg{color:#9299a7;flex:none;width:16px;height:16px}.studio-shell .daylight-admin .admin-filter-row{border:0;border-bottom:1px solid var(--line);background:#fff;gap:0;min-height:51px;padding:0}.studio-shell .daylight-admin .admin-filter-row button{min-height:50px;font-size:14px}.studio-shell .daylight-admin .admin-task-list article,.studio-shell .daylight-admin .admin-audit-list article{border-bottom:1px solid var(--line);gap:11px;min-height:100px;padding:20px 0}.studio-shell .daylight-admin .task-state{width:36px;height:36px;color:var(--accent);background:#edf2ff;border-radius:50%}.studio-shell .daylight-admin .task-state.failed{color:#cc6659;background:#fdf1ef}.studio-shell .daylight-admin .admin-task-list strong,.studio-shell .daylight-admin .admin-audit-list strong{color:var(--ink);overflow-wrap:anywhere;font-size:13px;font-weight:500}.studio-shell .daylight-admin .admin-task-list article>div:nth-child(2)>span,.studio-shell .daylight-admin .admin-task-list small{color:var(--muted);white-space:normal;overflow-wrap:anywhere;font-size:10px;line-height:1.7;overflow:visible}.studio-shell .daylight-admin .admin-task-list small{color:#b75249}.studio-shell .daylight-admin .admin-task-list article>button{color:#bd4f4c;background:#fafbfd;border:1px solid #e8eaf0;border-radius:12px;justify-content:center;align-items:center;gap:4px;width:auto;min-width:58px;height:38px;min-height:44px;padding:0 7px;display:flex}.studio-shell .daylight-admin .admin-task-list article>button>span{color:#5a6171;white-space:nowrap;font-size:11px}.studio-shell .daylight-admin .admin-audit-list .audit-mark{background:var(--accent);border-radius:50%;align-self:flex-start;width:5px;height:5px;margin-top:7px}.studio-shell .daylight-admin .admin-audit-list article span,.studio-shell .daylight-admin .admin-audit-list time{color:var(--muted);white-space:normal;overflow-wrap:anywhere;font-size:11px}.studio-shell .daylight-admin .admin-audit-list time{text-align:right;flex:none;max-width:84px}.studio-shell .daylight-admin .admin-pagination{min-height:72px;color:var(--muted);padding:14px 0;font-size:12px}.studio-shell .daylight-admin .admin-pagination button{border:1px solid var(--line);color:#6d7585;background:#f8f9fb;border-radius:12px;min-width:40px;min-height:44px}.studio-shell .daylight-admin .admin-error{color:#b14c42;background:#fff8f6;border:1px solid #f1dbd7;border-radius:12px;margin-top:18px;padding:12px;font-size:12px}.studio-shell .daylight-admin .admin-empty{min-height:180px;color:var(--muted);font-size:13px}.daylight-admin .admin-drawer-scrim{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#171a2254}.daylight-admin .admin-user-drawer{width:min(460px,100%);padding:0 24px max(28px, env(safe-area-inset-bottom));color:var(--ink);background:#fff;box-shadow:-10px 0 50px #171a220c}.daylight-admin .admin-user-drawer>header{border-bottom:1px solid var(--line);min-height:92px}.daylight-admin .admin-user-drawer>header h2{color:var(--ink);font:600 25px/1.4 var(--font-display);overflow-wrap:anywhere;margin-top:4px}.daylight-admin .admin-user-status{border-color:var(--line);min-height:62px;color:var(--muted);flex-wrap:wrap;gap:7px 9px;padding:14px 0;font-size:11px}.daylight-admin .admin-user-status .status-live,.daylight-admin .admin-user-status .status-disabled,.daylight-admin .admin-user-status .status-admin{border-radius:5px;padding:3px 6px;font-size:10px}.daylight-admin .admin-usage-line{border-color:var(--line);margin:20px 0}.daylight-admin .admin-usage-line>div{border-color:var(--line);gap:8px;min-width:0;min-height:73px;padding:10px 8px}.daylight-admin .admin-usage-line strong{font:400 14px/1.5 var(--font-ui);overflow-wrap:anywhere}.daylight-admin .admin-quota-form{border:0;padding-top:10px}.daylight-admin .admin-quota-form>label{border-color:var(--line);min-height:68px;padding:10px 0;font-size:13px}.daylight-admin .admin-quota-form input{width:138px;min-width:0;height:44px;color:var(--ink);background:#f9fafc;border:1px solid #e1e5ec;border-radius:11px;font-size:16px}.daylight-admin .admin-primary-button,.daylight-admin .admin-secondary-button,.daylight-admin .admin-danger-button{border-radius:12px;min-height:46px;font-size:13px;font-weight:500}.daylight-admin .admin-quota-form>.admin-primary-button{background:var(--accent);width:100%;margin:20px 0 0}.daylight-admin .admin-form-error{margin:12px 0 0;font-size:12px}.daylight-admin .admin-danger-zone{border-color:var(--line);gap:12px;margin-top:25px;padding:20px 0}.daylight-admin .admin-danger-zone strong{font-size:14px;font-weight:500}.daylight-admin .admin-danger-zone span{font-size:11px;line-height:1.6}.daylight-admin.admin-access-denied{font-family:var(--font-ui);background:#fff}.daylight-admin.admin-access-denied h1{font-family:var(--font-display)}@media (width>=861px){.studio-shell .daylight-account.account-page,.studio-shell .daylight-admin.admin-page{padding-left:48px;padding-right:48px}.studio-shell .daylight-account .account-header{padding-top:43px}.studio-shell .daylight-account .account-title-lockup h1{font-size:38px}.studio-shell .daylight-account .account-security-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}.studio-shell .daylight-account .usage-metric,.studio-shell .daylight-account .usage-metric:last-child{min-height:80px}.studio-shell .daylight-admin.admin-page{padding-top:38px}.studio-shell .daylight-admin .admin-header h1{font-size:38px}.studio-shell .daylight-admin .admin-metric{min-height:122px;padding-left:15px}.studio-shell .daylight-admin .admin-metric:nth-child(2n){padding-left:35px}.studio-shell .daylight-admin .admin-user-list>button{gap:16px}}@media (width<=620px){.daylight-admin .admin-user-drawer{border-radius:20px 20px 0 0;width:100%;height:min(760px,100dvh - 32px);margin-top:auto}}@media (width<=360px){.studio-shell .daylight-account.account-page,.studio-shell .daylight-admin.admin-page{padding-left:20px;padding-right:20px}.studio-shell .daylight-account .usage-heading>div{display:block}.studio-shell .daylight-account .usage-heading>div>span{text-align:left;margin-top:4px}.studio-shell .daylight-admin .admin-metric{grid-template-columns:27px minmax(0,1fr);gap:3px 6px}.studio-shell .daylight-admin .admin-metric:nth-child(2n){padding-left:13px}}.pwa-update-notice{right:12px;bottom:calc(70px + env(safe-area-inset-bottom));z-index:150;color:#243044;background:#fff;border:1px solid #ccd8ee;border-radius:8px;align-items:center;gap:8px;width:min(480px,100% - 24px);padding:12px;display:flex;position:fixed;box-shadow:0 6px 24px #17203320}.pwa-update-notice>div{flex:1;min-width:0}.pwa-update-notice strong{font-size:15px}.pwa-update-notice p{overflow-wrap:anywhere;margin:6px 0 0;font-size:13px;line-height:1.5}.pwa-update-notice button,.network-recovery button,.session-recovery button,.image-viewer button,.history-refresh{min-width:44px;min-height:44px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:8px;font-size:14px;display:inline-flex}.pwa-update-notice button:disabled,.image-viewer button:disabled{opacity:.4;cursor:default}.pwa-update-notice button:not(:disabled):hover,.history-refresh:hover{background:#edf2ff}.workspace:has(>.network-recovery){flex-direction:column;display:flex}.workspace>.network-recovery+.chat-layout{flex:1;height:auto;min-height:0}.workspace>.network-recovery+.images-workspace{min-height:0}.network-recovery{color:#755619;background:#fff7df;border-bottom:1px solid #e6d8b5;flex-shrink:0;align-items:center;gap:8px;min-height:40px;padding:4px 12px;font-size:13px;display:flex}.network-recovery span{flex:1}.session-recovery{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:24px;display:flex}.session-recovery>img{object-fit:contain;width:64px;height:64px;margin-bottom:28px}.session-recovery h1{margin:18px 0 8px;font-size:22px}.session-recovery p{color:#626f82;font-size:14px;line-height:1.6}.session-recovery button{color:#fff;background:#2050e7;margin-top:12px;padding-inline:18px}.session-recovery button:disabled{opacity:.4}.image-viewer{color:#fff;background:#171a1e;border:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;position:fixed;inset:0}.image-viewer[open]{grid-template-rows:auto minmax(0,1fr) auto;display:grid}.image-viewer::backdrop{background:#171a1e}.image-viewer header{padding:max(8px, env(safe-area-inset-top)) 12px 8px;justify-content:space-between;align-items:center;display:flex}.image-viewer header span{color:#bfc8d2;font-size:14px}.image-viewer-stage{overscroll-behavior:contain;min-height:0;position:relative;overflow:auto}.image-viewer-stage img{object-fit:contain;max-width:none;display:block}.image-viewer-state{color:#cbd3de;background:#171a1e;flex-direction:column;justify-content:center;align-items:center;font-size:15px;display:flex;position:absolute;inset:0}.image-viewer footer{padding:8px 8px max(8px, env(safe-area-inset-bottom));justify-content:center;align-items:center;gap:5px;display:flex}.image-viewer output{text-align:center;font-variant-numeric:tabular-nums;min-width:48px;font-size:13px}.image-viewer button:hover:not(:disabled){background:#303741}.generation-preview>.generation-open-preview{cursor:zoom-in;background:0 0;border:0;width:100%;height:100%;padding:0}.generation-preview>.generation-open-preview img{object-fit:contain;width:100%;height:100%}.generation-info .generation-actions button{flex:0 0 44px}.generation-info .generation-actions{justify-content:flex-end}.history-recovery{color:#a3362d;justify-content:space-between;align-items:center;gap:8px;margin:8px 0;font-size:14px;display:flex}.model-selector{color:#5f6b76;align-items:center;gap:8px;font-size:13px;display:inline-flex}.model-selector select{color:#243044;min-height:36px;font:inherit;background:#fff;border:1px solid #d1d9e1;border-radius:6px;padding:6px 28px 6px 8px}@media (width>=861px){.pwa-update-notice{bottom:16px}}@media (width<=860px){.images-workspace .page-header{overflow:hidden}.images-workspace .page-header-content{grid-template-columns:1fr;align-items:start;gap:12px;display:grid}.images-workspace .page-title-block{align-items:center;gap:12px;min-width:0;display:flex}.images-workspace .page-title-block h1{white-space:nowrap;margin:0;font-size:28px;line-height:1.1}.images-workspace .page-title-block p{margin:5px 0 0;font-size:13px;line-height:1.45}.images-workspace .model-selector{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.images-workspace .model-selector select{width:100%;min-width:0}.images-workspace .model-stamp{display:none}.images-workspace .generation-editor{padding-top:18px}.images-workspace .editor-control-row{margin-top:14px}.images-workspace .history-heading-tools{color:#697682;justify-content:space-between;align-items:center;gap:10px;padding:0 0 12px;font-size:13px;display:flex}.images-workspace .history-heading-tools button{color:#2d5f5a;min-height:40px;font:inherit;background:#fff;border:1px solid #d7e0e4;border-radius:6px;align-items:center;gap:5px;padding:7px 10px;display:inline-flex}}
