@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap";:root{font-family:DM Sans,sans-serif;color-scheme:dark;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#080708}button,textarea,input{font:inherit}button{cursor:pointer}button:focus-visible,textarea:focus-visible{outline:1px solid #e43b50;outline-offset:3px}.app{--bg: #090809;--sidebar: #100c0e;--surface: #171114;--surface2: #201519;--border: rgba(255,255,255,.075);--text: #f6eff1;--muted: #91858a;--red: #e52b46;--red2: #a91430;--glow: rgba(229,43,70,.18);display:flex;height:100dvh;min-height:520px;overflow:hidden;color:var(--text);background:radial-gradient(ellipse at 68% 45%,rgba(111,12,34,.1),transparent 45%),var(--bg)}.app.light{--bg: #f5f0f1;--sidebar: #ebe3e5;--surface: #fffafa;--surface2: #f0e5e8;--border: rgba(0,0,0,.09);--text: #201519;--muted: #81747a;--red: #b81735;--red2: #8d1029;--glow: rgba(184,23,53,.1);color-scheme:light}.sidebar{position:relative;z-index:30;display:flex;flex-direction:column;width:264px;min-width:264px;height:100%;padding:20px 13px 13px;background:var(--sidebar);border-right:1px solid var(--border)}.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:0 6px;margin-bottom:30px}.brand{display:flex;align-items:center;gap:10px;padding:0;border:0;background:none;color:var(--text);font-family:Space Grotesk,sans-serif;font-size:13px;font-weight:600;letter-spacing:2px}.brand b{color:var(--red)}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(229,43,70,.6);border-radius:10px;color:#fff;background:linear-gradient(145deg,#b81735,#420c1b);box-shadow:0 0 22px #e52b4638;font-family:Space Grotesk,sans-serif;font-size:19px;font-weight:700}.icon-button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);transition:.2s}.icon-button:hover{color:var(--text);background:var(--surface2);border-color:var(--border)}.new-chat{display:flex;align-items:center;gap:10px;width:100%;padding:12px 13px;border:1px solid rgba(229,43,70,.32);border-radius:11px;background:linear-gradient(110deg,#97112c3d,#320c1621);color:var(--text);font-size:13px;font-weight:600;transition:.2s}.new-chat svg{color:var(--red)}.new-chat:hover{border-color:var(--red);box-shadow:0 0 22px var(--glow)}.new-shortcut{margin-left:auto;color:var(--muted);font-size:17px}.sidebar-actions{margin-top:13px}.sidebar-actions>button{display:flex;align-items:center;gap:11px;width:100%;padding:11px 12px;border:0;border-radius:9px;background:transparent;color:var(--muted);text-align:left;font-size:12px}.sidebar-actions>button:hover{color:var(--text);background:var(--surface)}.search-input{width:100%;margin-top:6px;padding:10px;border:1px solid var(--border);border-radius:8px;outline:none;background:var(--surface);color:var(--text);font-size:12px}.history-heading{margin:30px 9px 12px;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:1.8px}.chat-history{flex:1;overflow-y:auto}.history-item{position:relative;display:flex;align-items:center;margin-bottom:3px;border-radius:8px}.history-item.active,.history-item:hover{background:var(--surface)}.history-title{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:11px 9px;border:0;background:transparent;color:var(--muted);text-align:left;font-size:12px}.history-title svg{flex-shrink:0}.history-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item.active .history-title,.history-item:hover .history-title{color:var(--text)}.history-menu{display:grid;place-items:center;width:30px;height:30px;border:0;background:transparent;color:var(--muted);opacity:.5}.history-item:hover .history-menu{opacity:1}.history-popover{position:absolute;z-index:10;top:32px;right:5px;padding:5px;border:1px solid var(--border);border-radius:9px;background:var(--surface2);box-shadow:0 12px 30px #00000059}.history-popover button{display:flex;align-items:center;gap:8px;padding:9px 13px;border:0;border-radius:6px;background:transparent;color:#f06b7d;font-size:12px}.history-popover button:hover{background:#e52b461f}.empty-history{padding:0 10px;color:var(--muted);font-size:11px;line-height:1.6}.sidebar-bottom{padding-top:12px;border-top:1px solid var(--border)}.account-card{display:flex;align-items:center;gap:10px;padding:9px 5px}.avatar{display:grid;place-items:center;width:35px;height:35px;border:1px solid rgba(229,43,70,.4);border-radius:11px;background:#35111b;color:#ffb5c0;font-size:11px;font-weight:700}.account-info{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}.account-info strong{font-size:11px}.account-info span{color:var(--muted);font-size:10px}.main{display:flex;flex:1;flex-direction:column;min-width:0;height:100%}.topbar{position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;height:65px;min-height:65px;padding:0 28px;border-bottom:1px solid var(--border);background:#090809c2;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.light .topbar{background:#f5f0f1cc}.topbar-left,.topbar-right{display:flex;align-items:center;gap:12px}.menu-button{display:none}.model-picker-wrap,.tool-picker-wrap{position:relative}.model-picker{display:flex;align-items:center;gap:9px;padding:9px 11px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--text);font-family:Space Grotesk,sans-serif;font-size:13px;font-weight:600}.model-picker:hover{border-color:var(--border);background:var(--surface)}.model-picker svg{color:var(--red)}.status-indicator{width:6px;height:6px;border-radius:50%;background:var(--red);box-shadow:0 0 12px var(--red)}.status-label{color:var(--muted);font-size:9px;font-weight:700;letter-spacing:1.7px}.dropdown{position:absolute;z-index:40;top:calc(100% + 9px);left:0;min-width:210px;padding:7px;border:1px solid var(--border);border-radius:12px;background:#191115;box-shadow:0 18px 45px #00000080;animation:appear .15s ease-out}.light .dropdown{background:snow}.dropdown-label{padding:9px 10px;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:1.4px}.dropdown button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:7px;background:transparent;color:var(--muted);text-align:left;font-size:12px}.dropdown button:hover,.dropdown button.selected{background:#e52b461c;color:var(--text)}.dropdown button svg{color:var(--red)}.selected-dot{width:6px;height:6px;margin-left:auto;border-radius:50%;background:var(--red);box-shadow:0 0 8px var(--red)}.workspace{position:relative;display:flex;flex:1;flex-direction:column;min-height:0;overflow-y:auto}.welcome{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;width:100%;padding:35px 20px 20px;text-align:center}.welcome-orb{position:relative;display:grid;place-items:center;width:110px;height:110px;margin-bottom:23px}.orb-core{position:relative;z-index:2;display:grid;place-items:center;width:57px;height:57px;border:1px solid rgba(255,90,110,.7);border-radius:19px;background:linear-gradient(145deg,#a81735,#300a17);box-shadow:0 0 25px #e52b4652,inset 0 0 16px #ff647826;color:#fff;font-family:Space Grotesk,sans-serif;font-size:34px;font-weight:700}.orb-ring{position:absolute;border:1px solid rgba(229,43,70,.2);border-radius:50%;animation:pulse 4s ease-in-out infinite}.ring-one{width:84px;height:84px}.ring-two{width:108px;height:108px;animation-delay:1s}.welcome-eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:14px;color:#c34b60;font-size:9px;font-weight:700;letter-spacing:2px}.welcome-eyebrow span{width:5px;height:5px;border-radius:50%;background:var(--red);box-shadow:0 0 9px var(--red)}.welcome h1{margin:0;font-family:Space Grotesk,sans-serif;font-size:clamp(38px,6vw,64px);font-weight:600;line-height:1.05;letter-spacing:-2.5px}.welcome h1 span{color:var(--red);text-shadow:0 0 35px rgba(229,43,70,.25)}.welcome-description{max-width:390px;margin:17px 0 29px;color:var(--muted);font-size:13px;line-height:1.7}.suggestion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(100%,520px)}.suggestion-grid>button{display:flex;align-items:center;gap:12px;min-height:70px;padding:12px;border:1px solid var(--border);border-radius:11px;background:#1e131780;color:var(--text);text-align:left;transition:.2s}.light .suggestion-grid>button{background:var(--surface)}.suggestion-grid>button:hover{border-color:#e52b4680;background:var(--surface2);transform:translateY(-2px);box-shadow:0 8px 25px var(--glow)}.suggestion-icon{display:grid;place-items:center;flex-shrink:0;width:37px;height:37px;border:1px solid rgba(229,43,70,.2);border-radius:10px;background:#e52b4617;color:var(--red)}.suggestion-grid strong,.suggestion-grid small{display:block}.suggestion-grid strong{margin-bottom:5px;font-size:11px;font-weight:600}.suggestion-grid small{color:var(--muted);font-size:9px}.conversation{width:min(100%,800px);margin:0 auto;padding:40px 25px 60px}.message{display:flex;gap:14px;margin-bottom:30px}.message-avatar{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--muted)}.message.assistant .message-avatar{border-color:#e52b4666;background:#3a101c;color:#ffb0bd;font-family:Space Grotesk,sans-serif;font-weight:700}.message-content{flex:1;min-width:0}.message-author{margin:5px 0 9px;font-size:12px;font-weight:700}.message-content p{margin:0;color:var(--muted);font-size:13px;line-height:1.8;white-space:pre-wrap}.composer-area{position:relative;z-index:5;padding:15px 22px 20px;background:linear-gradient(transparent,var(--bg) 25%)}.composer{position:relative;width:min(100%,790px);margin:0 auto;padding:12px 13px 10px;border:1px solid rgba(229,43,70,.23);border-radius:17px;background:#181013eb;box-shadow:0 0 35px #820f2712,0 12px 40px #0003;transition:border-color .2s,box-shadow .2s}.light .composer{background:snow}.composer:focus-within{border-color:#e52b46a6;box-shadow:0 0 25px #e52b461c}.composer-tools{display:flex;align-items:center;gap:9px;margin-bottom:8px}.composer-icon{display:grid;place-items:center;width:31px;height:31px;padding:0;border:0;border-radius:9px;background:transparent;color:var(--muted);transition:.2s}.composer-icon:hover{background:var(--surface2);color:var(--text)}.tool-picker{display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--muted);font-size:10px}.tool-picker:hover,.tool-picker.tool-active{border-color:#e52b4666;color:var(--text)}.tool-picker svg:first-child{color:var(--red)}.tool-dropdown{top:auto;bottom:calc(100% + 8px)}.composer textarea{display:block;width:100%;min-height:40px;max-height:150px;padding:7px 5px;resize:none;overflow-y:auto;border:0;outline:none;background:transparent;color:var(--text);font-size:13px;line-height:1.6}.composer textarea:focus{outline:none}.composer textarea::placeholder{color:#75686e}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:5px}.composer-hint{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.composer-buttons{display:flex;align-items:center;gap:8px}.send-button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;background:linear-gradient(145deg,#ef3c56,#a80f2c);color:#fff;box-shadow:0 3px 15px #e52b4633;transition:.2s}.send-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 20px #e52b4659}.send-button:disabled{cursor:not-allowed;opacity:.35}.mic-button{width:34px;height:34px}.modal-backdrop{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#000000a6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.settings-modal{width:min(100%,440px);padding:23px;border:1px solid rgba(229,43,70,.25);border-radius:17px;background:#171114;box-shadow:0 20px 70px #0000008c;animation:appear .2s ease-out}.light .settings-modal{background:snow}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.modal-eyebrow{color:var(--red);font-size:9px;font-weight:700;letter-spacing:1.7px}.modal-header h2{margin:7px 0 0;font-family:Space Grotesk,sans-serif;font-size:24px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-top:1px solid var(--border)}.settings-label strong,.settings-label span{display:block}.settings-label strong{margin-bottom:5px;font-size:12px}.settings-label span{color:var(--muted);font-size:10px}.theme-toggle{display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:11px}.preview-tag{padding:5px 8px;border:1px solid rgba(229,43,70,.3);border-radius:5px;color:var(--red);font-size:8px;font-weight:700;letter-spacing:1px}.notice{position:fixed;z-index:120;right:20px;bottom:20px;max-width:calc(100% - 40px);padding:13px 17px;border:1px solid rgba(229,43,70,.4);border-radius:10px;background:#241116;color:#f5dce1;box-shadow:0 10px 30px #0006;font-size:11px;animation:appear .2s ease-out}.mobile-backdrop{display:none}@media(max-width:760px){.sidebar{position:fixed;top:0;bottom:0;left:0;width:min(290px,85vw);min-width:0;transform:translate(-105%);transition:transform .25s ease;box-shadow:20px 0 50px #00000040}.sidebar.open{transform:translate(0)}.mobile-backdrop{position:fixed;z-index:25;top:0;right:0;bottom:0;left:0;display:block;border:0;background:#0009;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.menu-button,.sidebar-close{display:grid}.topbar{height:58px;min-height:58px;padding:0 13px}.welcome{justify-content:center;padding:20px 15px}.welcome-orb{transform:scale(.85);margin-bottom:10px}.welcome h1{font-size:clamp(39px,11vw,55px)}.welcome-description{max-width:310px;margin:13px 0 22px;font-size:12px}.suggestion-grid{gap:8px}.suggestion-grid>button{min-height:65px;gap:8px;padding:9px}.suggestion-icon{width:31px;height:31px}.suggestion-grid strong{font-size:10px}.suggestion-grid small{font-size:8px;line-height:1.4}.composer-area{padding:10px 10px max(12px,env(safe-area-inset-bottom))}.composer{padding:10px;border-radius:14px}.composer textarea{font-size:13px}.composer-hint{max-width:190px;font-size:8px}.conversation{padding:25px 15px 45px}.message{gap:10px}}@media(max-width:370px){.status-label,.status-indicator{display:none}.suggestion-grid{grid-template-columns:1fr;max-width:290px}.suggestion-grid>button{min-height:57px}.welcome-orb{margin-bottom:5px}}@keyframes pulse{0%,to{transform:scale(.94);opacity:.4}50%{transform:scale(1.08);opacity:1}}@keyframes appear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
