@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{color:#ececec;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#202020;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;height:100%;min-height:100%;margin:0}body{color:#ececec;background:#202020}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}::selection{color:#fff;background:#375f59}::-webkit-scrollbar{width:7px}::-webkit-scrollbar-thumb{background:#454545;border-radius:10px}:root{color:#ececec;background:#212121;font-family:Inter,Arial,sans-serif}.app{--bg:#212121;--sidebar:#171717;--surface:#2b2b2b;--surface-hover:#303030;--border:#3b3b3b;--text:#ececec;--muted:#a0a0a0;background:var(--bg);width:100%;height:100vh;min-height:550px;color:var(--text);display:flex;overflow:hidden}.sidebar{background:var(--sidebar);flex-direction:column;flex-shrink:0;width:280px;padding:12px 8px;transition:width .2s;display:flex}.sidebar-top{align-items:center;gap:8px;display:flex}.new-chat-button{color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1;align-items:center;gap:10px;padding:12px 10px;font-size:13px;display:flex}.new-chat-button:hover,.sidebar-toggle:hover,.explore-button:hover{background:var(--surface-hover)}.new-chat-button kbd{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:10px}.sidebar-toggle{width:34px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px}.explore-button{color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:11px;margin-top:8px;padding:12px 10px;font-size:13px;display:flex}.sidebar-search{color:var(--muted);border:1px solid #303030;border-radius:8px;align-items:center;gap:8px;margin:8px 5px;padding:9px;display:flex}.sidebar-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;font-size:12px}.history-list{flex:1;min-height:0;margin-top:9px;overflow-y:auto}.history-group{margin-bottom:15px}.history-heading{color:#999;text-transform:uppercase;letter-spacing:.6px;margin:15px 9px 8px;font-size:10px;font-weight:600}.history-row{border-radius:6px;align-items:center;margin:2px 0;padding:2px 5px;display:flex}.history-row:hover,.history-row.active{background:#292929}.history-item{color:#dedede;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:1;min-width:0;padding:9px 5px;font-size:12px;overflow:hidden}.history-actions{align-items:center;display:flex}.history-actions button{color:#aaa;opacity:0;cursor:pointer;background:0 0;border:0;border-radius:5px;width:24px;height:26px}.history-row:hover .history-actions button,.history-row.active .history-actions button{opacity:1}.history-actions button:hover{color:#fff;background:#444}.rename-input{color:#fff;background:#252525;border:1px solid #777;border-radius:5px;width:100%;min-width:0;padding:7px}.no-chats{color:var(--muted);padding:10px;font-size:12px}.profile{border-top:1px solid #303030;align-items:center;gap:10px;padding:12px 8px 5px;display:flex}.profile-avatar{color:#ded5ff;background:#40385e;border-radius:50%;flex-shrink:0;place-items:center;width:35px;height:35px;font-size:12px;display:grid}.profile-details{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.profile-details strong{font-size:12px}.profile-details span{color:var(--muted);font-size:10px}.profile-menu{color:var(--muted);cursor:pointer;background:0 0;border:0}.main{background:var(--bg);flex-direction:column;flex:1;min-width:0;height:100vh;display:flex}.topbar{flex-shrink:0;justify-content:space-between;align-items:center;height:58px;padding:0 20px;display:flex}.model-selector{position:relative}.model-button{color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;display:flex}.model-button:hover{background:var(--surface)}.model-icon{color:#67d6a0;font-size:19px}.model-name{color:var(--muted);font-size:12px}.model-dropdown{z-index:10;border:1px solid var(--border);background:#292929;border-radius:12px;width:275px;padding:15px;position:absolute;top:43px;left:0;box-shadow:0 10px 30px #0007}.model-dropdown>p{color:var(--muted);font-size:10px}.model-current{align-items:center;gap:10px;margin-top:13px;font-size:12px;display:flex}.model-current div{flex-direction:column;flex:1;gap:4px;display:flex}.model-current small{color:var(--muted)}.topbar-right{align-items:center;gap:18px;display:flex}.local-status{color:var(--muted);align-items:center;gap:7px;font-size:11px;display:flex}.local-status i,.stream-status i{background:#69c995;border-radius:50%;width:8px;height:8px}.topbar-icon{color:var(--muted);cursor:pointer;background:0 0;border:0}.chat-area{flex:1;min-height:0;padding:25px 24px;display:flex;overflow-y:auto}.welcome-screen{text-align:center;width:100%;max-width:780px;margin:auto}.welcome-icon{color:#fff;background:#292929;border-radius:50%;place-items:center;width:52px;height:52px;margin:0 auto 20px;font-size:26px;display:grid}.welcome-screen h1{color:#f4f4f4;letter-spacing:-1.2px;margin:0;font-size:clamp(26px,3vw,36px);font-weight:600}.welcome-screen>p{color:#b5b5b5;margin-top:13px;font-size:14px;line-height:1.6}.suggestion-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:780px;margin:40px auto 22px;display:grid}.suggestion-card{min-width:0;color:var(--text);text-align:left;cursor:pointer;background:#292929;border:1px solid #0000;border-radius:9px;align-items:center;gap:14px;padding:16px;transition:background .15s;display:flex}.suggestion-card:hover{background:#343434;border-color:#444}.suggestion-icon{color:#8bcdb0;background:#202020;border-radius:50%;flex-shrink:0;place-items:center;width:43px;height:43px;font-size:19px;display:grid}.suggestion-content{flex-direction:column;gap:6px;min-width:0;display:flex}.suggestion-content strong{color:#f1f1f1;font-size:14px;font-weight:600}.suggestion-content small{color:#aaa;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.quick-actions{flex-wrap:wrap;justify-content:center;gap:7px;display:flex}.quick-actions button{color:#ddd;cursor:pointer;background:#292929;border:0;border-radius:20px;padding:9px 13px;font-size:11px}.quick-actions button:hover{background:#383838}.messages{flex-direction:column;gap:25px;width:100%;max-width:790px;margin:0 auto;display:flex}.message-row{align-items:flex-start;gap:13px;display:flex}.message-row.user{justify-content:flex-end}.message-row.user .message-content{background:#303030;border-radius:18px;max-width:80%;padding:12px 16px}.message-row.assistant .message-content{flex:1;min-width:0}.assistant-avatar{color:#a8a0ff;background:#303030;border-radius:50%;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.message-author{margin-bottom:8px;font-size:12px;font-weight:600}.message-text{color:#e5e5e5;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.stream-cursor{animation:.8s infinite blink}@keyframes blink{50%{opacity:0}}.composer{background:#2b2b2b;border:1px solid #343434;border-radius:28px;padding:15px 19px 10px;box-shadow:0 4px 20px #0002}.composer textarea{resize:vertical;color:#eee;background:0 0;border:0;outline:0;width:100%;min-height:48px;max-height:180px;padding:3px 5px;font-size:15px;line-height:1.6;display:block}.composer-left button{color:#bbb;cursor:pointer;background:0 0;border:0;border-radius:18px;padding:7px 9px;font-size:12px}.send-button{color:#222;cursor:pointer;background:#f1f1f1;border:0;border-radius:50%;place-items:center;width:37px;height:37px;font-size:21px;display:grid}.send-button:disabled{opacity:.45;cursor:not-allowed}.send-button.stop-button{color:#fff;background:#dc5555;font-size:13px}.stream-status{color:var(--muted);align-items:center;gap:8px;margin-bottom:9px;font-size:11px;display:flex}.workspace-page{width:100%;max-width:850px;margin:0 auto;padding:55px 30px;overflow-y:auto}.workspace-page h1{font-size:28px}.workspace-page>p{color:var(--muted);margin:12px 0 25px;font-size:13px}.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:30px;display:grid}.settings-card{border:1px solid var(--border);background:#292929;border-radius:12px;margin-top:25px;padding:0 20px}.settings-row{border-bottom:1px solid #3b3b3b;justify-content:space-between;align-items:center;gap:15px;padding:20px 0;font-size:12px;display:flex}.settings-row:last-child{border-bottom:0}.settings-row div{flex-direction:column;gap:6px;display:flex}.settings-row small{color:var(--muted)}.settings-row>span{color:#c7c7c7;font-size:11px}.setting-button{border:1px solid var(--border);color:#fff;cursor:pointer;background:#383838;border-radius:7px;padding:8px 12px}.light-theme{--bg:#fff;--sidebar:#f7f7f7;--surface:#eee;--surface-hover:#e5e5e5;--border:#ddd;--text:#222;--muted:#777}.light-theme .main,.light-theme .chat-area{background:var(--bg)}.light-theme .welcome-screen h1,.light-theme .suggestion-content strong,.light-theme .message-text{color:#222}.light-theme .suggestion-card,.light-theme .composer,.light-theme .settings-card{background:#f4f4f4}.light-theme .suggestion-card:hover{background:#e9e9e9}.light-theme .composer textarea{color:#222}.light-theme .settings-row{border-color:#ddd}.sidebar-collapsed .sidebar{width:70px}.sidebar-collapsed .sidebar-top{flex-direction:column}.sidebar-collapsed .new-chat-button{justify-content:center;font-size:18px}.sidebar-collapsed .new-chat-button span:not(:first-child),.sidebar-collapsed .new-chat-button kbd,.sidebar-collapsed .explore-button span:last-child,.sidebar-collapsed .sidebar-search,.sidebar-collapsed .history-list,.sidebar-collapsed .profile-details,.sidebar-collapsed .profile-menu{display:none}.sidebar-collapsed .explore-button,.sidebar-collapsed .profile{justify-content:center}@media (width<=850px){.sidebar{width:235px}.suggestion-grid{margin-top:25px}}@media (width<=600px){.sidebar{width:65px;padding:10px 5px}.sidebar .new-chat-button{justify-content:center;font-size:18px}.sidebar .new-chat-button span:not(:first-child),.sidebar .new-chat-button kbd,.sidebar .explore-button span:last-child,.sidebar .sidebar-search,.sidebar .history-list,.sidebar .profile-details,.sidebar .profile-menu,.sidebar .sidebar-toggle{display:none}.sidebar .explore-button,.sidebar .profile{justify-content:center}.topbar{padding:0 10px}.model-name,.local-status{display:none}.chat-area{padding:18px 12px}.welcome-screen h1{font-size:25px}.suggestion-grid{grid-template-columns:1fr;margin-top:25px}.quick-actions{gap:5px}.composer-area{padding:8px 10px 12px}.composer{border-radius:22px;padding:12px}.composer-left button{padding:7px 5px;font-size:10px}.explore-grid{grid-template-columns:1fr}.workspace-page{padding:30px 15px}}.composer-area{width:100%;max-width:920px;margin:0 auto;padding:12px 24px 18px}.composer{background:#2b2b2b;border:1px solid #303030;border-radius:32px;min-height:120px;padding:17px 20px 12px;box-shadow:0 4px 22px #00000026}.composer:focus-within{border-color:#454545}.composer textarea{resize:vertical;color:#f0f0f0;background:0 0;border:0;outline:none;width:100%;min-height:43px;max-height:180px;padding:3px 7px;font-size:16px;line-height:1.5}.composer textarea::placeholder{color:#999}.composer-footer{justify-content:space-between;align-items:center;margin-top:5px;display:flex}.composer-left{align-items:center;gap:9px;display:flex}.composer-left button{color:#c7c7c7;cursor:pointer;background:0 0;border:0;border-radius:20px;min-height:34px;padding:6px 9px;font-size:14px;font-weight:500}.composer-left button:first-child{font-size:25px;font-weight:400}.composer-left button:hover{color:#fff;background:#414141}.composer-right{justify-content:center;align-items:center;display:flex}.microphone-button{color:#bcbcbc;cursor:default;background:0 0;border:0;border-radius:50%;width:35px;height:35px;font-size:23px}.microphone-button:disabled{opacity:1}.disclaimer{color:#888;text-align:center;margin-top:11px;font-size:10px}@media (width<=600px){.composer-area{padding:8px 10px 12px}.composer{border-radius:25px;min-height:110px;padding:13px 14px 9px}.composer textarea{font-size:14px}.composer-left{gap:2px}.composer-left button{padding:6px;font-size:11px}}.composer-area{max-width:824px;padding:10px 16px 14px}.composer{background:#2b2b2b;border:1px solid #303030;border-radius:30px;min-height:104px;padding:13px 18px 9px}.composer textarea{resize:none;height:37px;min-height:37px;max-height:150px;padding:2px 7px;font-size:16px;overflow-y:auto}.composer-footer{min-height:35px;margin-top:3px}.composer-left{gap:8px}.composer-left button{min-height:32px;padding:5px 8px;font-size:14px}.composer-left button:first-child{font-size:24px}.composer-right{min-width:35px;min-height:35px}.microphone-button{place-items:center;width:35px;height:35px;font-size:20px;display:grid}.disclaimer{margin-top:10px}.composer-area{box-sizing:content-box;width:100%;max-width:792px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.composer{box-sizing:border-box;width:100%;min-height:104px}.composer textarea{resize:none}
