@charset "UTF-8";
:root{color-scheme:light;--navy:#142b37;--navy-deep:#10242e;--ink:#213c47;--muted:#788b92;--teal:#146d68;--lime:#d8edac;--line:#e5eceb;--paper:#f7f9f8;--white:#fff;font-family:"Segoe UI",Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper)}[hidden]{display:none!important}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #6cb8a7;outline-offset:3px}button,input,textarea{transition:background .15s,border-color .15s,box-shadow .15s}svg{display:block;width:21px;height:21px;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.wordmark{display:inline-flex;align-items:center;gap:5px;font-size:27px;letter-spacing:4px;font-weight:750;color:#fff;text-decoration:none}.brand-dot{width:6px;height:6px;background:var(--lime);border-radius:50%;align-self:flex-end;margin:0 0 7px 0}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.3px}.login-screen{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:var(--navy);color:#fff;padding:44px 9%;display:flex;flex-direction:column;overflow:hidden;position:relative}.story-copy{margin:auto 0;padding:65px 0 10px}.story-copy>.eyebrow{color:var(--lime)}.story-copy h1{font-size:clamp(32px,3.5vw,57px);letter-spacing:-2px;line-height:1.16;font-weight:500;margin:23px 0}.story-copy p{color:#a7bec5;font-size:16px;line-height:1.8}.story-footer{font-size:11px;letter-spacing:.7px;color:#91aab4}.story-art{position:relative;height:205px;max-width:330px;margin:20px 0}.art-orbit{position:absolute;border:1px solid #355360;border-radius:50%;width:245px;height:245px;top:0;left:40px}.art-card{position:absolute;width:210px;padding:19px;border:1px solid #45606b;border-radius:16px;background:#203d49;box-shadow:0 16px 30px #08192230}.art-card span{display:block;background:var(--lime);border-radius:50%;height:26px;width:26px;margin-bottom:15px}.art-card i{display:block;height:5px;border-radius:5px;background:#647e87;width:90%;margin-top:9px}.art-card i:last-child{width:65%;opacity:.5}.art-card-one{top:15px;left:0;transform:rotate(-7deg)}.art-card-two{top:82px;left:105px;transform:rotate(6deg);background:#cfe6dc;border:0}.art-card-two span{background:var(--teal);color:var(--lime);text-align:center;line-height:26px}.art-card-two i{background:#84aea2}.art-dot{position:absolute;width:19px;height:19px;border-radius:50%;background:var(--lime);left:12px;top:170px}.login-panel{display:flex;align-items:center;justify-content:center;padding:55px 40px;background:#fbfcfa}.login-form{width:100%;max-width:354px}.login-mark{display:flex;width:49px;height:49px;align-items:center;justify-content:center;background:#e8efdf;border-radius:15px;color:var(--teal);font-size:28px;font-weight:700;margin-bottom:38px}.login-mark span{font-size:18px;margin-left:-5px;margin-top:-9px}.login-form>.eyebrow{color:#788d80}.login-form h2{font-size:31px;font-weight:600;letter-spacing:-1px;margin:12px 0}.login-subtitle{font-size:14px;color:var(--muted);line-height:1.6;margin:0 0 33px}.login-form label{display:block;font-size:12px;font-weight:600;margin:20px 0 9px}.login-form input{width:100%;height:50px;border:1px solid #dce4e0;border-radius:10px;padding:0 15px;background:#fff;color:var(--ink)}.login-form input:focus{border-color:#4f9989}.primary-button{display:flex;align-items:center;justify-content:space-between;background:var(--teal);color:#fff;border-radius:10px;padding:15px 19px;width:100%;font-weight:600;margin-top:26px}.primary-button:hover{background:#105d58}.primary-button span{font-size:21px}.login-hint{font-size:11px;text-align:center;color:#89968f;line-height:1.7;margin:22px 0 0}.login-status{font-size:12px;color:var(--teal);text-align:center}.form-error{font-size:13px;color:#a33f37;background:#fff0ed;border-radius:8px;padding:12px;margin-top:18px;line-height:1.5}.workspace{display:flex;height:100vh;height:100dvh;overflow:hidden}.sidebar{width:288px;flex:0 0 288px;background:var(--navy);color:#dce8e9;display:flex;flex-direction:column;padding:31px 17px 0}.sidebar-brand{padding:0 11px;display:flex;justify-content:space-between;align-items:center}.sidebar-brand .wordmark{font-size:24px}.space-caption{font-size:11px;color:#8da9b2;margin:13px 11px 28px;display:flex;gap:7px;align-items:center}.presence-dot{width:5px;height:5px;border-radius:50%;background:var(--lime)}.search-box{display:flex;align-items:center;gap:9px;background:#203b47;border:1px solid #324b57;border-radius:9px;padding:11px;margin:0 3px 28px;color:#90a9b2}.search-box svg{width:17px;height:17px}.search-box input{width:100%;min-width:0;border:0;outline:none;background:transparent;color:#fff;font-size:12px}.search-box:focus-within{border-color:#a2c5b5}.search-box input::placeholder{color:#9bb0b8}.sidebar-scroll{overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#3e5963 transparent;padding-bottom:20px}.section-caption{display:flex;justify-content:space-between;align-items:center;margin:0 12px 11px}.section-caption h2{font-size:9px;letter-spacing:1.7px;font-weight:600;margin:0;color:#8ca5af}.section-caption>span{font-size:10px;color:#8ca5af}.team-caption{margin-top:31px}.conversation-item,.user-item{width:100%;display:flex;align-items:center;text-align:left;gap:11px;color:#d1dfe3;background:transparent;border-radius:10px;padding:12px 10px;margin:3px 0}.conversation-item:hover,.user-item:hover{background:#213e49}.conversation-item.active{background:#304c53;color:#fff;box-shadow:inset 3px 0 var(--lime)}.avatar{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border-radius:11px;background:#dfece6;color:#3d7465;font-size:12px;font-weight:700}.sidebar .avatar{background:#2e4a55;color:#c6d9de}.sidebar .avatar.assistant-avatar{background:#384e46;color:var(--lime)}.sidebar .avatar.group-avatar{background:#2e5358;color:#afd5ce}.avatar svg{width:19px;height:19px}.conversation-copy{min-width:0;flex:1}.conversation-title{display:flex;align-items:center;gap:6px}.conversation-title strong{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.conversation-time{font-size:9px;color:#91aab2;flex-shrink:0}.conversation-preview{display:block;font-size:11px;color:#93abb4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:5px;line-height:1.3}.unread-badge{border-radius:10px;padding:2px 5px;min-width:19px;background:var(--lime);color:var(--navy);font-size:10px;text-align:center}.user-item{padding-top:8px;padding-bottom:8px}.user-item .avatar{width:30px;height:30px;font-size:10px;border-radius:50%}.user-item strong{font-size:12px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-item .user-arrow{margin-left:auto;color:#84a3aa;font-size:17px}.sidebar-empty{color:#8ca5af;font-size:12px;line-height:1.6;padding:8px 12px}.sidebar-footer{border-top:1px solid #304751;padding:20px 3px;display:flex;align-items:center;gap:10px}.sidebar .current-avatar{background:var(--lime);color:#254c42;border-radius:50%}.current-user{min-width:0;flex:1}.current-user strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:600}.current-user>span{display:block;font-size:10px;color:#99b4bc;margin-top:4px}.icon-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:transparent;color:#809ba5;flex-shrink:0}.icon-button:hover{background:#e4ece830;color:var(--teal)}.sidebar .icon-button:hover{color:#fff;background:#2a4652}.main{flex:1;min-width:0;display:flex;flex-direction:column;position:relative;background:var(--paper)}.chat-header{height:91px;min-height:91px;padding:0 38px;display:flex;align-items:center;gap:13px;background:#ffffffd9;border-bottom:1px solid var(--line)}.header-avatar{width:42px;height:42px;background:#e4efea}.header-avatar.assistant-avatar{color:var(--teal);background:#e9efde}.chat-heading{min-width:0}.chat-heading h1{font-size:17px;font-weight:600;margin:0 0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-heading p{font-size:11px;color:var(--muted);margin:0}.header-label{margin-left:auto;letter-spacing:1.8px;color:#9eaeaa;font-size:9px;white-space:nowrap}.welcome{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 24px}.welcome-symbol{display:flex;align-items:center;justify-content:center;font-size:46px;width:88px;height:88px;border-radius:27px;background:#e8efdf;color:var(--teal);margin-bottom:29px;transform:rotate(-6deg)}.welcome .eyebrow{color:#869b90}.welcome h2{font-size:clamp(26px,3vw,38px);line-height:1.3;font-weight:500;letter-spacing:-1px;margin:17px 0}.welcome p{font-size:13px;line-height:1.8;color:var(--muted);max-width:360px}.secondary-button{background:#e1eee7;color:var(--teal);padding:11px 18px;border-radius:9px;font-size:12px;margin-top:12px}.chat-view{display:flex;flex:1;min-height:0;flex-direction:column}.message-scroller{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c6d6cf transparent;padding:25px max(30px,calc((100% - 870px)/2));scroll-behavior:auto}.message-list{max-width:870px;margin:auto}.date-divider{display:flex;align-items:center;gap:16px;color:#8d9e9d;font-size:10px;margin:3px 0 26px}.date-divider::before,.date-divider::after{content:"";height:1px;background:var(--line);flex:1}.message{display:flex;align-items:flex-end;gap:9px;margin-bottom:22px}.message.own{flex-direction:row-reverse}.message>.avatar{height:30px;width:30px;border-radius:50%;font-size:10px;margin-bottom:2px}.message.assistant>.avatar{background:#e2ecd3;color:var(--teal)}.message-body{max-width:min(78%,650px);min-width:0}.message-meta{display:flex;gap:9px;align-items:baseline;font-size:10px;margin:0 4px 7px;color:#8c9c9c}.message-meta strong{font-size:11px;font-weight:600;color:#627b7d}.own .message-meta{justify-content:flex-end}.message-text{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4;border-radius:16px 16px 16px 4px;background:#fff;border:1px solid #e5ece8;padding:13px 17px;box-shadow:0 2px 3px #183d2c03}.own .message-text{background:#e2eee8;border-color:#d8e7df;border-radius:16px 16px 4px 16px}.assistant .message-text{border-color:#dce7d1;background:#fbfdf8}.empty-chat{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;text-align:center;color:var(--muted)}.empty-chat>span{color:var(--teal);font-size:30px;background:#e7efe4;border-radius:20px;padding:12px 20px;margin-bottom:8px}.empty-chat h2{font-size:20px;color:#4d6b6c;font-weight:500;margin:15px 0 5px}.empty-chat p{font-size:13px;line-height:1.7;max-width:310px}.message-loading{font-size:12px;color:var(--muted);text-align:center;margin:25px}.composer-area{padding:13px max(30px,calc((100% - 870px)/2)) 22px;background:linear-gradient(transparent,var(--paper) 15%)}.composer{background:#fff;border:1px solid #dce6e1;border-radius:14px;display:flex;align-items:flex-end;gap:14px;padding:10px 11px 10px 18px;box-shadow:0 4px 20px #183d2c04}.composer:focus-within{border-color:#90b6a8;box-shadow:0 0 0 3px #44816d08}.composer textarea{display:block;resize:none;width:100%;min-height:38px;max-height:180px;background:transparent;color:var(--ink);border:0;outline:none;padding:9px 0;font-size:14px;line-height:1.5;scrollbar-width:thin}.composer textarea::placeholder{color:#98a9a6}.composer textarea:focus-visible{outline:none}.send-button{display:flex;align-items:center;justify-content:center;background:var(--teal);color:#fff;width:39px;height:39px;border-radius:10px;flex-shrink:0}.send-button:hover:enabled{background:#0b5753}.send-button:disabled{opacity:1;background:#e5ece8;color:#9aafa7}.composer-footer{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#8d9e9a;padding:10px 3px 0;line-height:1.5}.keyboard-hint span{padding:0 5px}.job-status{padding:0 max(33px,calc((100% - 864px)/2));font-size:12px;max-height:28vh;overflow:auto}.job-waiting{display:flex;align-items:center;gap:9px;color:#63877b;padding:9px 0}.typing-dots{display:flex;gap:3px}.typing-dots i{width:4px;height:4px;background:#5b9c87;border-radius:50%;animation:pulse 1.2s infinite}.typing-dots i:nth-child(2){animation-delay:.2s}.typing-dots i:nth-child(3){animation-delay:.4s}@keyframes pulse{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-2px)}}.job-failed,.send-error,.connection-error{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff3eb;color:#936244;font-size:12px;line-height:1.5;border-radius:9px;padding:10px 13px;margin:5px 0}.job-failed button,.send-error button,.connection-error button{background:transparent;color:#805136;font-size:11px;font-weight:600;white-space:nowrap;padding:6px;border-radius:5px}.job-failed button:hover,.send-error button:hover,.connection-error button:hover{background:#f7e3d4}.connection-error{margin:12px 30px 0;flex-shrink:0}.send-error{margin:0 0 10px}.mobile-only{display:none}.sidebar-scrim{position:fixed;inset:0;background:#0b202d80;z-index:3;touch-action:none}
@media(min-width:1600px){.sidebar{width:308px;flex-basis:308px}.chat-header{padding-left:48px}}
@media(max-width:1000px){.sidebar{width:258px;flex-basis:258px;padding-left:12px;padding-right:12px}.chat-header{padding:0 25px}.header-label{display:none}.message-scroller{padding:25px}.composer-area{padding:12px 25px 18px}.job-status{padding:0 28px}.keyboard-hint{display:none}.login-story{padding:35px 9%}.story-art{transform:scale(.85);transform-origin:left top}.story-copy h1{letter-spacing:-1px}}
@media(max-width:700px){.login-screen{display:flex;flex-direction:column}.login-story{padding:25px 26px 28px;min-height:auto}.story-copy{padding:30px 0 0}.story-copy h1{font-size:31px;margin:13px 0 0}.story-copy p,.story-art,.story-footer{display:none}.login-panel{padding:32px 26px 45px;flex:1}.login-form{max-width:390px}.login-mark{display:none}.login-form h2{font-size:27px}.login-form>.eyebrow{font-size:9px}.login-subtitle{margin-bottom:25px}.mobile-only{display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:290px;max-width:88vw;z-index:4;transform:translateX(-100%);transition:transform .2s ease;padding-top:max(25px,env(safe-area-inset-top))}.workspace.sidebar-open .sidebar{transform:translateX(0)}.chat-header{min-height:76px;height:76px;padding:0 16px 0 9px;gap:9px}.chat-heading{flex:1}.chat-heading h1{font-size:15px}.chat-heading p{font-size:10px}.header-avatar{height:35px;width:35px;border-radius:10px}.message-scroller{padding:21px 14px}.message{gap:6px;margin-bottom:20px}.message>.avatar{width:25px;height:25px;font-size:9px}.message-body{max-width:86%}.message-text{font-size:14px;padding:11px 13px}.message-meta{font-size:9px;gap:7px}.message-meta strong{font-size:10px}.composer-area{padding:10px 12px max(12px,env(safe-area-inset-bottom))}.composer{padding-left:13px;gap:9px}.composer textarea{font-size:16px}.composer-footer{font-size:9px;padding-top:7px}.job-status{padding:0 16px}.connection-error{margin:9px 12px 0}.job-failed,.send-error,.connection-error{font-size:11px;gap:8px}.welcome h2{font-size:29px}.welcome p{max-width:270px}.sidebar-footer{padding-bottom:max(20px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable desktop and phone controls. */
body{font-size:17px}.sidebar{width:310px;flex-basis:310px}.chat-item strong,.user-item strong{font-size:16px}.chat-item p,.chat-item small,.sidebar-label,.sidebar-footer,.user-info span{font-size:13px}.user-info strong{font-size:17px}.chat-heading h1{font-size:23px}.chat-heading p{font-size:14px}.message-text{font-size:18px;line-height:1.65}.message-meta,.message-meta strong{font-size:13px}.message-body{max-width:min(84%,800px)}.composer textarea{font-size:18px;min-height:46px}.send-button{width:48px;height:48px}.composer-footer{font-size:12px}.icon-button{min-width:44px;min-height:44px}.login-form input{font-size:18px;min-height:48px}.login-form label{font-size:16px}.primary-button{font-size:18px;min-height:50px}.model-control{display:flex;flex-direction:column;gap:4px;max-width:320px;min-width:200px}.model-control[hidden]{display:none}.model-control>span{font-size:12px;color:var(--muted)}.model-control select{font:inherit;font-size:16px;min-height:44px;width:100%;padding:8px 30px 8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink)}
@media(max-width:700px){.sidebar{width:310px;max-width:90vw}.chat-header{height:auto;min-height:80px;flex-wrap:wrap;padding:12px 14px;gap:8px}.chat-heading h1{font-size:20px}.chat-heading p{font-size:13px}.model-control{flex-basis:100%;max-width:none;min-width:0;margin-left:44px}.model-control select{font-size:16px}.message-text{font-size:17px}.message-meta,.message-meta strong{font-size:12px}.message-body{max-width:90%}.composer textarea{font-size:18px}.composer-footer{font-size:11px}.composer-area{padding-bottom:max(14px,env(safe-area-inset-bottom))}}

.sidebar strong,.conversation-title strong{font-size:17px}.conversation-preview,.sidebar-empty{font-size:14px}.conversation-time{font-size:12px}.sidebar input{font-size:16px;min-height:44px}.job-failed,.send-error,.connection-error{font-size:14px}.chat-header{height:auto;min-height:96px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}.chat-heading{flex:1;min-width:120px}.model-control{flex:0 1 280px;min-width:0}.model-control select{min-width:0}
@media(max-width:700px){.model-control{flex-basis:calc(100% - 44px);margin-left:44px}.chat-header{min-height:80px}}

/* CHOZEN violet palette and messenger controls. */
:root{--navy:#302b81;--navy-deep:#272263;--ink:#282440;--muted:#79748e;--teal:#6555df;--lime:#ded8ff;--line:#e9e6f3;--paper:#f7f6fc}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline-color:#a99af6}
.login-story{background:radial-gradient(ellipse at top right,#9b83b260,transparent 60%),linear-gradient(135deg,#35309c,#504298)}
.story-copy p,.story-footer{color:#d3cdf1}.art-orbit{border-color:#a79ad655}.art-card{background:#6358ac;border-color:#a399cb}.art-card-two{background:#ded8fa}.art-card i{background:#a59ad3}.art-card-two i{background:#9585c5}
.login-panel{background:#fcfbff}.login-mark,.welcome-symbol,.empty-chat>span{background:#ece8fd;color:var(--teal)}.login-form>.eyebrow,.welcome .eyebrow{color:#8372b9}.login-form input:focus{border-color:#9b88ed}.primary-button:hover,.send-button:hover:enabled{background:#5142c4}
.sidebar{background:linear-gradient(170deg,#342f8c,#282262);color:#e7e1ff}.search-box{background:#ffffff0c;border-color:#ffffff20;color:#c4bce7}.search-box:focus-within{border-color:#b5a6f0}.search-box input::placeholder{color:#c5bddf}
.space-caption,.section-caption h2,.section-caption>span,.conversation-time,.current-user>span,.sidebar-empty{color:#b7aed9}.sidebar .avatar{background:#ffffff12;color:#e0d8ff}.sidebar .avatar.assistant-avatar{background:#b9a5ff26;color:#e8dcff}.sidebar .avatar.group-avatar{background:#ffffff16;color:#e2d9ff}
.sidebar .current-avatar{background:#ded5fc;color:#443580}.conversation-item:hover,.user-item:hover,.sidebar .icon-button:hover{background:#ffffff12}.conversation-item.active,.user-item.active{background:#ffffff21;color:#fff;box-shadow:inset 3px 0 #c4adff}.conversation-item,.user-item{color:#f2edff;min-height:62px}.conversation-item{margin:8px 0}.room-kind{display:block;margin-top:5px;font-size:12px;color:#c6bbe9}.assistant-item{border:1px solid #b49cf73b}.group-item{border:1px solid #ffffff16}.conversation-preview{color:#b8afd6}.sidebar-footer{border-color:#ffffff20}.sidebar .icon-button{color:#c7bce8}.user-item .avatar{width:38px;height:38px;font-size:14px}.user-item .conversation-copy strong{display:block;font-weight:550}.user-item .conversation-preview{font-size:13px}
.header-avatar,.avatar{background:#ece8fb;color:#6a57b1}.header-avatar.assistant-avatar,.message.assistant>.avatar{background:#e9e1fc;color:#7357cc}.icon-button{color:#8a80a4}.icon-button:hover{background:#ede8fa;color:var(--teal)}.chat-header{min-height:88px;flex-wrap:nowrap}.chat-heading{flex:1}.chat-heading p{line-height:1.45}.clear-history{margin-left:auto}
.message-scroller{scrollbar-color:#d4cbe7 transparent}.message-text{border-color:#e8e3f1;box-shadow:0 2px 5px #30216803}.own .message-text{background:#ede8fb;border-color:#e3daf6}.message-meta strong{color:#72658b}.empty-chat h2{color:#64537f}.date-divider{font-size:12px;color:#9488a5}.typing-dots i{background:var(--teal)}.job-waiting{color:#7e6ba5}
.assistant-view .message.assistant{align-items:flex-start}.assistant-view .assistant .message-body{max-width:100%;width:100%}.assistant-view .assistant .message-text{background:transparent;border:0;box-shadow:none;padding:4px 0;white-space:normal}.assistant-view .assistant .message-meta{margin-left:0}.assistant-view .message.assistant>.avatar{margin-top:0}.assistant-view .message-list{max-width:900px}
.answer-line{min-height:1.2em;white-space:pre-wrap}.answer-bullet{position:relative;padding-left:20px}.answer-bullet::before{content:'•';position:absolute;left:3px;color:#8c76cb}.message-text h3{font-size:1.08em;margin:20px 0 9px;line-height:1.5}.message-text code{font-family:Consolas,monospace;font-size:.88em;background:#ece7f6;padding:2px 5px;border-radius:4px}.answer-code{margin:14px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#f0edf8}.code-heading{display:flex;justify-content:space-between;align-items:center;padding:6px 14px;color:#7e7096;font-size:13px;background:#e9e4f3}.answer-code pre{margin:0;padding:16px;max-width:100%;overflow:auto;font-size:14px;line-height:1.6;white-space:pre}.answer-code pre code{padding:0;background:none}
.message-actions{display:flex;gap:10px;justify-content:flex-start;min-height:0;margin-top:5px}.own .message-actions{justify-content:flex-end}.message-action{display:inline-flex;align-items:center;gap:6px;min-height:32px;font-size:12px;color:#897a9d;background:transparent;border-radius:7px;padding:4px 7px}.message-action svg{width:14px;height:14px}.message-action:hover{background:#ece7f6;color:#6550aa}.clipboard-buffer{position:fixed;left:-9999px;top:0}
.composer{display:block;padding:15px 15px 12px 19px;border-radius:22px;border-color:#e2dbed;box-shadow:0 5px 28px #38246506}.composer:focus-within{border-color:#af9be5;box-shadow:0 0 0 3px #9373dc0c}.composer textarea{min-height:56px;max-height:180px;padding:6px 0 14px}.composer textarea::placeholder{color:#a195b1}.composer-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:44px}.send-button{margin-left:auto;border-radius:50%;width:44px;height:44px}.send-button:disabled{background:#ece8f4;color:#b6aaca}.composer-footer{color:#9c8daa}.model-control{position:relative;display:block;max-width:none;min-width:0;flex:0 1 auto;margin:0}.model-toggle{display:flex;align-items:center;gap:7px;min-height:40px;max-width:100%;border-radius:12px;padding:7px 10px;background:#f4f1fa;color:#6d5a8d;font-size:14px;text-align:left}.model-toggle:hover{background:#ede6fa}.model-toggle svg{width:16px;height:16px}.model-toggle>span:first-child{display:flex}.model-toggle #model-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-toggle>span:last-child{margin-left:3px}
.model-menu{position:absolute;bottom:calc(100% + 14px);left:0;width:min(530px,calc(100vw - 55px));max-height:min(630px,65dvh);overflow:auto;border:1px solid #e2d9f1;border-radius:18px;background:#fff;box-shadow:0 14px 60px #35245e28;z-index:8;padding:12px}.model-menu-heading{display:flex;align-items:center;justify-content:space-between;padding:0 4px 7px;color:#4b3b68;font-size:16px}.model-option{display:flex;flex-direction:column;gap:6px;width:100%;padding:13px 12px;text-align:left;background:#fff;border:1px solid transparent;border-radius:12px;color:var(--ink)}.model-option:hover{background:#f8f5fd}.model-option.selected{background:#f3edff;border-color:#dfd1f6}.model-option-title{display:flex;align-items:center;gap:8px;justify-content:space-between;font-size:15px}.selected-label{font-size:11px;color:#8162bd;white-space:nowrap}.model-description{font-size:13px;line-height:1.45;color:#7e718e}.model-prices{font-size:12px;color:#665477;line-height:1.5}.model-context{font-size:11px;color:#94879f;line-height:1.4}.model-note{font-size:11px;line-height:1.5;color:#a091ad;padding:0 6px;margin:10px 0 3px}
.history-button{display:block;margin:0 auto 20px;background:#eee8f8;color:#82669d;font:inherit;font-size:13px;border-radius:20px;padding:10px 18px;min-height:40px}.clear-dialog{border:1px solid var(--line);border-radius:22px;padding:28px;max-width:440px;width:calc(100% - 36px);color:var(--ink);box-shadow:0 20px 80px #20104428}.clear-dialog::backdrop{background:#21104055;backdrop-filter:blur(3px)}.clear-dialog h2{font-size:22px;margin:0 0 12px}.clear-dialog p{font-size:16px;color:var(--muted);line-height:1.65}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.dialog-actions button{width:auto;margin:0;min-height:44px;font-size:15px;padding:10px 16px}.secondary-button{background:#eee8f8;color:#8164a5}
@media(max-width:1000px){.model-menu{left:-5px}}
@media(max-width:700px){.chat-header{min-height:80px;padding:12px 10px;gap:8px}.chat-heading{min-width:0}.chat-heading h1{font-size:19px}.chat-heading p{font-size:11px;max-width:230px}.sidebar{max-width:90vw}.model-control{flex-basis:auto;max-width:calc(100% - 55px);margin:0}.model-toggle{font-size:12px;padding:8px;min-height:40px}.model-toggle>span:first-child{display:none}.model-menu{position:fixed;left:12px;right:12px;bottom:calc(130px + env(safe-area-inset-bottom));width:auto;max-height:55dvh;padding:9px}.model-menu-heading{font-size:15px}.model-option{padding:11px 9px}.model-option-title{font-size:13px;flex-wrap:wrap}.model-description{font-size:12px}.model-prices{font-size:11px}.model-context{font-size:10px}.composer{padding:13px 12px 10px 15px;border-radius:20px}.composer-tools{gap:5px}.send-button{width:42px;height:42px}.composer-footer{font-size:10px}.assistant-view .message.assistant{gap:8px}.assistant-view .assistant .message-text{font-size:16px}.message-action{min-height:36px}.answer-code pre{font-size:12px;padding:12px}.clear-dialog{padding:22px}.room-kind{font-size:12px}}
