:root{--bg:#181a20;--sidebar:#13151b;--input:#252831;--text:#f3f4f8;--muted:#a1a6b5;--line:#343844;--accent:#b9b5ff;color-scheme:dark}
body{font-size:15px;-webkit-font-smoothing:antialiased}.sidebar{width:266px;padding:25px 14px 15px;background:var(--sidebar);border-right:1px solid #262933}.sidebar-top{margin:0 11px 31px}.brand{font-weight:650;letter-spacing:-1px}.brand img{width:31px;height:31px}.sidebar-action{font-size:13px;padding:11px 13px;min-height:43px;gap:12px;color:#d4d7e1}.sidebar-action:hover{background:#22252e}.sidebar-action.selected{background:#292c37;color:#f6f6fc;box-shadow:inset 2px 0 #b9b5ff}.sidebar-action kbd{border-color:#383b46;color:#818799}.nav-divider{background:#2a2d37;margin:21px 12px}.main-nav{gap:6px}.small-badge{border-color:#444858;background:#242732;font-size:9px;color:#a7adbf}.history-heading{display:flex;justify-content:space-between;align-items:center;color:#858c9f;margin:31px 14px 12px;font-size:11px}.history-heading button{font-size:10px;color:#b9b5ff;text-decoration:underline;padding:0}.chat-list-item{margin-bottom:4px}.chat-list-item.active{background:#292c37}.chat-list-item:hover{background:#232630}.chat-list-item>button:first-child{font-size:12px;padding-top:11px;padding-bottom:11px;color:#c7cbd8}.history-empty{font-size:12px;line-height:1.8;color:#767e91;max-width:190px}.sidebar-bottom{border-color:#292c36;padding-top:14px}.sidebar-bottom>.sidebar-action{font-size:12px;color:#939bae}.profile{position:relative;text-align:left;width:calc(100% - 18px);border:1px solid #333744;border-radius:11px;margin-top:17px;padding:12px 10px;background:#1d2028;cursor:pointer}.profile:hover{background:#252934}.profile strong{font-size:11px;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile>div>span{font-size:10px;color:#8d96aa;margin-top:3px}.profile-avatar{background:#474267;color:#f3f0ff;width:33px;height:33px}.account-online-dot{position:absolute;right:13px;top:14px;width:5px;height:5px;background:#94cbb4;border-radius:50%}.profile .version-badge{font-size:13px;color:#828c9f}.topbar{height:81px;border-bottom:1px solid #282b35;padding:0 33px}.topbar-right{gap:15px}.topbar-left{gap:17px}main{margin-left:266px}.locked-model{font-size:17px;font-weight:600;letter-spacing:-.2px;gap:11px}.locked-model svg{color:#717a90}.local-status{color:#8d96a9;font-size:10px}.local-status i{background:#9db4a9}.sync-status{border:1px solid #343a48;border-radius:20px;padding:4px 10px;color:#a4adbf;font-size:10px;white-space:nowrap}.icon-button{color:#9da6b9}.icon-button:hover{background:#292e3a;color:#f0f1f8}.chat-view{min-height:calc(100dvh - 81px);padding:0 38px}.welcome{max-width:870px;padding-top:40px;padding-bottom:65px}.welcome-mark{margin-bottom:27px;width:43px}.welcome-mark img{width:43px;height:43px;border-radius:14px}.welcome-label{display:block;color:#a29ec4;font-size:12px;margin-bottom:15px;letter-spacing:.2px}.welcome h1{font-size:clamp(30px,3.5vw,43px);letter-spacing:-1.4px;font-weight:600;margin-bottom:14px}.welcome>p{font-size:14px;color:#919bb0}.prompt-chips{gap:12px;margin-top:37px;flex-wrap:nowrap;justify-content:center}.prompt-chips button{border:1px solid #353b49;background:#21252e;border-radius:13px;display:flex;align-items:center;gap:13px;padding:17px 19px;text-align:left;min-width:0;flex:1;max-width:240px;font-size:12px;color:#e3e4ee}.prompt-chips button:hover{border-color:#70688d;background:#292c39}.prompt-chips button .prompt-icon{font-size:20px;width:24px;line-height:1;color:#c2b9ef}.prompt-chips button>span:last-child{color:#e0e3ed;font-size:12px;line-height:1.5}.prompt-chips small{display:block;font-size:10px;color:#8993a8;margin-top:4px;font-weight:400}.chat-composer-wrap{max-width:820px;margin-bottom:20px}.composer{background:#252932;border-color:#3d4352;border-radius:22px;padding:19px 18px 13px;box-shadow:0 10px 45px #07080d20}.composer:focus-within{border-color:#78718e}.composer textarea{font-size:15px;min-height:58px}.composer textarea::placeholder{color:#99a2b6}.composer-bottom{margin-top:8px}.language-control{color:#919bb0}.language-control select{color:#a1abbf;font-size:11px}.language-control option{background:#252932}.send-button{width:36px;height:36px;background:#c4beef;color:#262236}.send-button:hover{background:#d4cff8}.composer-footnote{color:#7b879d;font-size:10px;margin-top:13px}.messages{max-width:790px;padding-top:42px}.message.user .message-content{background:#2c303c;border:1px solid #3a4050;border-radius:20px;font-size:14px;padding:12px 19px}.assistant-heading{font-size:12px;margin-bottom:15px;color:#d8dbea}.assistant-heading>span:last-child{color:#828da4}.message.assistant .message-content{font-size:15px;line-height:1.9;color:#e5e7f0}.message-time{color:#8692a8;font-size:10px}.thinking{color:#9ca5b8!important}.retry-save{font-size:11px;color:#c0b8f3;border:1px solid #5f567e;border-radius:6px;padding:6px 10px;margin-top:12px}.error-banner{border-color:#70595b;background:#35282e;color:#f0b6bf}.light-button{background:#c9c3f4;color:#262136;border-radius:8px;font-size:12px}.light-button:hover{background:#d9d3ff}.section-kicker{color:#9993b8}.code-view{max-width:1350px;padding-top:34px}.code-heading h1{font-size:32px}.code-heading p{color:#929db1;font-size:12px}.code-workspace{background:#181b23;border-color:#373d4d;border-radius:13px}.file-panel{background:#191c24;border-color:#333946}.file-panel-heading{font-size:11px;color:#929db1}.file-button{color:#b7bfd0}.file-button.active{background:#2b3040;color:#efebff}.file-button:hover{background:#252a36}.editor-tabs{background:#20242e;border-color:#343b49;color:#939fb4}.editor-container,#code-editor{background:#191d26}.editor-tabs #active-file-tab{border-bottom-color:#b5a8e8}.editor-status{border-color:#303745;color:#7d8ca5}.code-composer{background:#252a35;border-color:#40485a}.code-composer textarea{font-size:14px}.code-settings>select,.effort-toggle{background:#303644;border-color:#485163;color:#d9ddef}.code-prepared{background:#3b4150;color:#b2bbcc}.code-note{color:#8592a9}.model-lineup{border-color:#303745}.model-glyph{background:#2c2d3d;border-color:#46475d;color:#c8c3ed}.model-glyph.xp{background:#253242;border-color:#415873;color:#adc5ea}.model-glyph.forge{background:#362b40;border-color:#5c456c;color:#d4b8e6}.model-lineup p>span{color:#8a96ad}.effort-popover{background:#282e3b;border-color:#515b72;border-radius:14px;box-shadow:0 13px 45px #080a1266}.effort-popover>p{color:#a5afc2}.effort-popover input{accent-color:#c0b4f3}.effort-popover output{color:#d1c4ff}.prepared-label{border-color:#444d62;color:#8e9cb3}.modal{background:#252a35;border-color:#485166}.modal input:not([type=checkbox]),.modal textarea,.modal select{background:#1d222d;border-color:#495269;color:#e4e7ef}.workshop-tabs{border-color:#434d60}.workshop-tabs button[aria-selected=true]{border-color:#c4b7f3}.model-stats,.checkbox-label{border-color:#3b4658}.model-stats dt,.workshop-summary p,.workshop-disclaimer,.panel-description{color:#9aa7bf}.model-detail{border-color:#414d61}.model-detail span{color:#98a7bf}.state-tag{color:#c7b6ef;background:#39304c;border-color:#625079}.chart-grid{stroke:#394357}.toast{background:#d7cffa;color:#2b2440;border:1px solid #ece4ff}.auth-screen{min-height:100dvh;display:grid;grid-template-columns:minmax(400px,1.05fr) minmax(410px,1fr);background:#191c24}.auth-story{position:relative;background:#20232d;border-right:1px solid #343a49;display:flex;flex-direction:column;padding:39px clamp(35px,5vw,85px);min-height:100dvh;overflow:hidden}.auth-brand{display:flex;align-items:center;gap:11px;font-size:27px;font-weight:650;letter-spacing:-1px;width:fit-content}.auth-brand img{border-radius:10px}.auth-brand>span{font-size:10px;color:#a5a0bc;border:1px solid #4a455e;padding:1px 7px;margin-left:5px;border-radius:4px;font-weight:400;letter-spacing:0}.auth-story-body{max-width:450px;margin:auto 0;padding:45px 0}.auth-orbit{position:relative;width:115px;height:105px;margin-bottom:34px;display:grid;place-items:center}.auth-orbit>span{font:500 53px 'Cascadia Code',Consolas,monospace;color:#d0c5fa;z-index:1}.auth-orbit>i{position:absolute;inset:11px -1px;border:1px solid #5a526d;border-radius:50%;transform:rotate(-32deg)}.auth-orbit>i:nth-child(3){transform:rotate(32deg);inset:-1px 16px}.auth-orbit>i:last-child{inset:23px -11px;border-color:#403d50;transform:rotate(55deg)}.auth-eyebrow{font-size:12px;color:#aba1c5;margin-bottom:17px}.auth-story h1{font-size:clamp(40px,4.6vw,66px);line-height:1.09;font-weight:550;letter-spacing:-2.6px;margin-bottom:25px}.auth-story-body>p:last-of-type{color:#9fa9be;font-size:14px;line-height:1.9;max-width:340px}.auth-demo{margin-top:35px;font-size:11px;border-top:1px solid #3b4051;padding-top:25px;max-width:360px}.demo-user{display:block;background:#323647;border:1px solid #45495d;padding:10px 14px;border-radius:13px 13px 3px 13px;width:fit-content;margin-left:auto;color:#ccd0de}.auth-demo>div{display:flex;gap:11px;align-items:flex-start;margin-top:19px;color:#a4adc1;line-height:1.8;padding-right:22px}.auth-demo img{border-radius:6px;margin-top:3px;opacity:.75}.auth-demo p{margin:0}.auth-story-footer{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#737f98;padding-top:20px}.auth-form-side{padding:45px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.auth-card{width:100%;max-width:360px}.auth-tabs{display:flex;gap:27px;margin-bottom:44px;border-bottom:1px solid #353b49}.auth-tabs button{font-size:12px;color:#828da3;padding:0 0 14px;border-bottom:2px solid transparent}.auth-tabs button.active{color:#edeaf9;border-color:#b9ace9}.auth-card h2{font-size:28px;letter-spacing:-.9px;line-height:1.3;margin-bottom:13px;font-weight:550}.auth-card>p{color:#929eb4;font-size:12px;margin-bottom:32px}.auth-card form>label,.password-label label{font-size:11px;color:#b5bdd0;display:block;margin-bottom:8px}.auth-card input{display:block;width:100%;padding:13px 14px;font-size:13px;background:#222733;border:1px solid #424b60;border-radius:9px;outline-offset:3px;line-height:1.7}.auth-card input::placeholder{color:#727f98}.password-label{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:21px}.password-label button{font-size:10px;color:#aaa0ce;padding:0;margin-bottom:8px}.password-field{position:relative}.password-field input{padding-right:82px}.password-field button{position:absolute;right:12px;top:16px;font-size:10px;color:#9798b4;padding:0}.auth-submit{width:100%;margin-top:28px;border-radius:9px;background:#c0b2ef;color:#282139;padding:13px 16px;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:650;min-height:47px}.auth-submit:hover{background:#d2c6fb}.auth-submit:disabled{cursor:wait}.auth-submit>span{font-size:18px;font-weight:400}.auth-trust{display:flex;gap:9px;align-items:flex-start;margin-top:27px;padding-top:24px;border-top:1px solid #333b4b;color:#79879f;font-size:10px;line-height:1.8}.auth-trust svg{width:14px;height:14px;margin-top:4px;color:#8d82ad}.auth-bottom{position:absolute;bottom:25px;font-size:9px;color:#66758e;margin:0}.auth-mobile-brand{display:none}#auth-feedback{font-size:11px;color:#b5a5e3;line-height:1.8;margin:14px 0 0}#auth-feedback.error{color:#ebaab4}#auth-feedback.success{color:#add7c1}.back-to-login{display:block;margin:15px auto 0;color:#aaa0cc;font-size:11px;text-decoration:underline}.account-modal{max-width:420px}.account-detail{display:flex;align-items:center;gap:13px;margin:10px 0 22px}.account-detail .profile-avatar{width:43px;height:43px;font-size:12px}.account-detail strong{display:block;font-size:13px;overflow-wrap:anywhere}.account-detail div>span{display:block;font-size:10px;color:#92a2ba;margin-top:5px}.account-privacy{font-size:11px;color:#98a8bf;line-height:1.9}.logout-button{border:1px solid #675165;background:#352b39;color:#e7bdcf;border-radius:8px;font-size:12px;padding:10px 15px;margin-top:14px;width:100%}
@media(min-width:1600px){.chat-composer-wrap{max-width:860px}.welcome{padding-bottom:85px}.welcome h1{font-size:46px}}
@media(max-width:1100px){.sidebar{width:235px;padding-left:10px;padding-right:10px}main{margin-left:235px}.topbar{padding:0 24px}.local-status{display:none}.chat-view{padding:0 25px}.prompt-chips button{padding:15px 12px;gap:10px}.prompt-chips small{font-size:9px}.prompt-chips button>span:last-child{font-size:11px}.auth-story{padding:35px}.auth-form-side{padding:35px}.auth-story-footer{display:block;line-height:2}.auth-story-footer>span{display:block}.auth-story h1{font-size:50px}}
@media(max-width:800px){main{margin-left:0}.topbar{height:70px;padding:0 19px}.chat-view{min-height:calc(100dvh - 70px)}.sidebar{width:266px}.topbar-left{gap:11px}.locked-model{font-size:16px}.auth-screen{grid-template-columns:1fr;min-height:100dvh}.auth-story{display:none}.auth-form-side{min-height:100dvh;padding:45px 25px 70px;background:#1b1f28}.auth-card{max-width:370px}.auth-mobile-brand{display:block;font-size:27px;letter-spacing:-1px;font-weight:650;margin-bottom:47px;color:#e8e2fc}.auth-tabs{margin-bottom:31px}.auth-card h2{font-size:29px}.auth-bottom{bottom:22px}.auth-trust{margin-top:29px}.welcome{padding-top:30px;padding-bottom:55px}}
@media(max-width:540px){.topbar{height:65px;padding:0 13px}.locked-model{font-size:14px;gap:7px}.sync-status{font-size:8px;padding:4px 7px;max-width:105px;overflow:hidden;text-overflow:ellipsis}.topbar-right{gap:6px}.topbar-right .icon-button{width:28px;height:28px}.chat-view{padding:0 15px;min-height:calc(100dvh - 65px)}.welcome{padding-top:22px;padding-bottom:28px}.welcome-mark{width:36px;margin-bottom:24px}.welcome-mark img{width:36px;height:36px}.welcome-label{font-size:10px;margin-bottom:12px}.welcome h1{font-size:31px;letter-spacing:-1px;max-width:300px;margin-left:auto;margin-right:auto}.welcome>p{font-size:12px}.prompt-chips{display:grid;grid-template-columns:1fr;margin-top:25px;max-width:285px;gap:8px}.prompt-chips button{max-width:none;min-height:54px;border-radius:10px;padding:10px 15px;gap:13px}.prompt-chips button>span:last-child{font-size:11px}.prompt-chips small{font-size:9px;margin-top:1px}.prompt-chips button .prompt-icon{font-size:18px}.chat-composer-wrap{margin-bottom:14px;padding-top:22px}.composer{padding:15px 12px 11px;border-radius:20px}.composer textarea{font-size:14px;min-height:54px}.composer-footnote{font-size:9px;max-width:300px;line-height:1.8}.language-control select{font-size:10px}.send-button{width:33px;height:33px}.code-heading h1{font-size:27px}.code-composer textarea{font-size:13px}.code-note{font-size:9px}.model-lineup p>span{font-size:10px}.auth-form-side{padding:33px 24px 65px}.auth-card{max-width:340px}.auth-mobile-brand{margin-bottom:38px}.auth-tabs{gap:25px}.auth-card h2{font-size:27px}.auth-card>p{font-size:12px;line-height:1.8}.auth-card input{font-size:14px}.auth-trust{font-size:10px}.profile{padding:11px 10px}.modal{padding:22px}}
.sidebar-collapsed main{margin-left:0}
@media(prefers-reduced-motion:reduce){.auth-orbit *{animation:none}}
:root .guest-mode .account-online-dot{display:none}
