@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";:root{font-family:Inter,system-ui,sans-serif;color:#f7f5fb;background:#0d0d0d;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}button,textarea,input,select{font:inherit}button{cursor:pointer}code{background:#1c1725;border:1px solid #2c2436;border-radius:6px;padding:1px 5px;font-size:12px}.app-shell{display:flex;height:100vh;height:100dvh;overflow:hidden;background:radial-gradient(ellipse at 70% 12%,rgba(168,85,247,.1),transparent 42%),#0d0d0d}.sidebar{width:266px;border-right:1px solid #24212b;padding:22px 14px;display:flex;flex-direction:column;gap:6px;background:#0d0d0deb;overflow-y:auto}.brand{display:flex;gap:11px;align-items:center;font-weight:800;font-size:20px;letter-spacing:-.5px;padding:2px 8px 20px}.brand-logo{display:block;height:36px;width:auto}.new-chat{width:100%;border:1px solid #3a2b4c;background:#17121f;color:#f7f5fb;padding:12px;border-radius:12px;text-align:left}.new-chat:hover,.shortcut:hover,.tool-item:hover{border-color:#a855f7;background:#1b1426}.sidebar-label{color:#777180;font-size:10px;letter-spacing:1.8px;margin:22px 9px 8px}.nav-item{border:0;background:transparent;color:#bcb6c7;text-align:left;padding:11px 12px;border-radius:10px}.nav-item.active{background:#20152d;color:#d9b7ff}.conversation-list{display:flex;flex-direction:column;gap:2px}.conv-item{display:flex;align-items:center;gap:4px;border-radius:10px;padding:2px 6px 2px 2px}.conv-item:hover{background:#161320}.conv-item.active{background:#20152d}.conv-title{flex:1;min-width:0;border:0;background:transparent;color:#c7c0d2;text-align:left;padding:9px 8px;border-radius:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.conv-item.active .conv-title{color:#e3cbff}.conv-actions{display:flex;gap:2px;opacity:0;transition:.15s}.conv-item:hover .conv-actions{opacity:1}.conv-actions button{border:0;background:transparent;color:#9b93a6;padding:4px 5px;border-radius:6px;font-size:12px}.conv-actions button:hover{color:#e6d5ff;background:#2a1d38}.sidebar-empty{padding:0 10px}.sidebar-bottom{margin-top:auto;padding-top:16px;border-top:1px solid #25212b}.user-placeholder{display:flex;align-items:center;gap:10px;font-size:12px;min-width:0}.user-placeholder>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#37224d;color:#d8b5ff;font-weight:700;flex-shrink:0}.user-placeholder>div{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-placeholder small{display:block;color:#8e8798;font-size:11px;margin-top:3px}.main{flex:1;min-width:0;display:flex;flex-direction:column;height:100vh;height:100dvh}.topbar{height:64px;flex-shrink:0;display:flex;align-items:center;justify-content:flex-end;padding:0 calc(28px + env(safe-area-inset-right)) 0 calc(28px + env(safe-area-inset-left))}.top-badge{color:#bba8d2;border:1px solid #34273f;border-radius:99px;padding:8px 12px;font-size:12px;background:#17121e}.mobile-brand{display:none}.mobile-brand img{display:block;height:28px;width:auto}.chat-main{flex:1;min-height:0;display:flex;flex-direction:column;width:min(820px,calc(100% - 40px));margin:0 auto}.messages{flex:1;min-height:0;overflow-y:auto;padding:12px 2px 8px}.empty-chat{text-align:center;padding:clamp(20px,7vh,64px) 0 20px}h1{font-size:clamp(30px,4.4vw,48px);line-height:1.1;letter-spacing:-1.6px;margin:12px 0;font-weight:800}h1 span{color:#c084fc}.empty-chat h1{min-height:2.2em}.headline{animation:headline-in .6s ease both}@keyframes headline-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.headline{animation:none}}.welcome-text{color:#a49baa;line-height:1.6;font-size:14px;max-width:480px;margin:0 auto 26px}.shortcut-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0 auto;text-align:left;max-width:560px}.shortcut{display:flex;flex-direction:column;gap:8px;min-height:74px;border:1px solid #2a2432;border-radius:14px;background:#131116;padding:14px;color:#f6f3fa;transition:.15s ease}.shortcut-icon{font-size:18px}.shortcut-title{font-size:13px;font-weight:600}.shortcut-detail{color:#a79fb0;font-size:12.5px;line-height:1.4}.shortcut:disabled{opacity:.5;cursor:not-allowed}.message-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}.bubble-row{display:flex}.bubble-row.user{justify-content:flex-end}.bubble{max-width:82%;border-radius:16px;padding:12px 14px;line-height:1.6;font-size:14px;white-space:pre-wrap;word-break:break-word}.bubble.user{background:#221731;border:1px solid #3a2b4c}.bubble.assistant{background:#131116;border:1px solid #262029}.bubble-actions{display:flex;align-items:center;gap:8px;margin-top:10px}.typing{color:#c084fc;animation:blink 1s steps(2,start) infinite}@keyframes blink{to{visibility:hidden}}.composer{flex-shrink:0;text-align:left;border:1px solid #3a2b4b;border-radius:17px;padding:12px 14px;background:#151219;box-shadow:0 10px 45px #0000002e;margin-bottom:12px}.composer:focus-within{border-color:#8753b6;box-shadow:0 0 0 2px #a855f714}.composer textarea{display:block;width:100%;resize:vertical;min-height:62px;max-height:38vh;background:transparent;border:0;outline:0;color:#fff;padding:5px 3px;font-size:14px}.composer textarea::placeholder{color:#7e7587}.composer textarea:disabled{cursor:not-allowed}.composer-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.composer-tools{display:flex;align-items:center;gap:12px;flex:1 1 auto;min-width:0;flex-wrap:wrap}.composer-hint{color:#716a78;font-size:10px}.provider-select{display:flex;align-items:center;gap:6px;color:#8f8797;font-size:11px;min-width:0;flex:1 1 160px;max-width:100%}.provider-select>span{flex-shrink:0}.provider-select select{flex:1 1 auto;min-width:0;max-width:100%;background:#1a1521;color:#ded7e6;border:1px solid #322843;border-radius:8px;padding:5px 7px;font-size:11px;text-overflow:ellipsis}.send-button{flex-shrink:0;border:0;background:#a855f7;color:#fff;width:34px;height:34px;border-radius:11px;font-size:20px;font-weight:700}.send-button:hover:not(:disabled){background:#c084fc}.send-button:disabled{opacity:.45;cursor:not-allowed}.chat-main footer{text-align:center;margin:0 0 calc(18px + env(safe-area-inset-bottom));color:#5f5867;font-size:10px}.chat-main footer span{color:#9273b0}.page{flex:1;min-height:0;overflow-y:auto;padding:8px 28px 40px}.page-head h2{font-size:22px;margin:4px 0;letter-spacing:-.6px}.page-head{margin-bottom:18px}.muted{color:#a49baa}.small{font-size:12.5px}.tiny{font-size:11px}.muted.small,.muted.tiny{color:#8f8797}.btn{border:1px solid #3a2b4c;background:#17121f;color:#f0ecf5;border-radius:10px;padding:9px 14px;font-size:13px;transition:.15s}.btn:hover:not(:disabled){border-color:#a855f7;background:#1e1628}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:#a855f7;border-color:#a855f7;color:#fff;font-weight:600}.btn.primary:hover:not(:disabled){background:#c084fc}.btn.ghost{background:transparent}.btn.tiny{padding:5px 9px;font-size:11px;border-radius:8px}.btn.wide{width:100%;margin-top:12px}.btn.stop{border-color:#5c2b3a;color:#f0b9c9;background:#241319}.banner{border-radius:12px;padding:11px 13px;font-size:12.5px;margin:0 0 14px;border:1px solid transparent;line-height:1.5}.banner.error{background:#241318;border-color:#5c2b3a;color:#f3c4d0}.banner.warn{background:#241f12;border-color:#5a4a22;color:#efdca6}.banner.info{background:#141c26;border-color:#28405c;color:#bcd7f2}.global-banner{position:fixed;top:0;left:0;right:0;z-index:50;text-align:center;font-size:12px;padding:8px;background:#241318;color:#f3c4d0;border-bottom:1px solid #5c2b3a}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.field>span{color:#a49baa;font-size:12px}.input{background:#131116;border:1px solid #2c2436;border-radius:10px;padding:10px 12px;color:#fff;outline:0;width:100%}.input:focus{border-color:#8753b6}.input.compact{padding:6px 8px;max-width:130px}.input.search{max-width:280px}.badge{font-size:10.5px;border-radius:99px;padding:3px 9px;border:1px solid #34273f;color:#c7b6dd;background:#1a1421;white-space:nowrap}.badge.ok{border-color:#2c4a37;color:#9fe0b8;background:#12211a}.badge.danger{border-color:#5c2b3a;color:#f3c4d0;background:#241318}.badge.muted{color:#8f8797}select{background:#131116;color:#ded7e6;border:1px solid #2c2436;border-radius:8px;padding:6px 8px}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 0%,rgba(168,85,247,.14),transparent 55%),#0d0d0d}.auth-card{width:min(420px,100%);border:1px solid #2c2436;background:#131116;border-radius:18px;padding:26px}.auth-brand{padding-bottom:16px}.auth-card h2{margin:0 0 8px;font-size:20px}.auth-card p{line-height:1.6}.auth-form{margin-top:16px}.tools-layout{display:grid;grid-template-columns:minmax(200px,260px) 1fr;gap:18px}.tool-list{display:flex;flex-direction:column;gap:6px}.tool-item{display:flex;gap:10px;align-items:flex-start;text-align:left;border:1px solid #2a2432;background:#131116;color:#f2eef7;border-radius:12px;padding:11px 12px}.tool-item.active{border-color:#a855f7;background:#1c1526}.tool-item strong{display:block;font-size:13px;font-weight:600}.tool-item small{display:block;color:#8f8797;font-size:11px;margin-top:3px}.tool-panel{border:1px solid #2a2432;background:#131116;border-radius:16px;padding:18px}.tool-panel h3{margin:0 0 4px;font-size:16px}.tool-fields{display:grid;gap:10px;margin:14px 0}.tool-actions{display:flex;align-items:center;gap:10px}.tool-output{margin-top:16px;border-top:1px solid #262029;padding-top:12px}.tool-output-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.tool-output pre{white-space:pre-wrap;word-break:break-word;margin:0;font-size:13px;line-height:1.6;color:#e8e2f0;font-family:Inter,system-ui,sans-serif}.usage-card{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;border:1px solid #2a2432;background:#131116;border-radius:16px;padding:16px;margin-bottom:18px}.usage-card strong{display:block;margin-top:4px;font-size:15px}.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.plan-card{border:1px solid #2a2432;background:#131116;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:10px}.plan-card.current{border-color:#a855f7;box-shadow:0 0 0 2px #a855f71f}.plan-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.plan-head h3{margin:0;font-size:16px}.plan-price{font-size:26px;font-weight:800;letter-spacing:-1px;margin:0}.plan-price small{font-size:12px;font-weight:500;color:#8f8797}.plan-features{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px;font-size:12.5px;color:#b9b1c4;flex:1}.plan-features li:before{content:"•";color:#a855f7;margin-right:8px}.plan-card .btn{margin-top:6px}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:16px}.metric{border:1px solid #2a2432;background:#131116;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:5px}.metric strong{font-size:19px;letter-spacing:-.5px}.panel{border:1px solid #2a2432;background:#131116;border-radius:16px;padding:16px;margin-bottom:18px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}.panel-head h3{margin:0;font-size:15px}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:12.5px}.table th,.table td{text-align:left;padding:9px 10px;border-bottom:1px solid #221d29;white-space:nowrap}.table th{color:#8f8797;font-weight:500;font-size:11px;text-transform:uppercase;letter-spacing:.6px}.table tbody tr:hover{background:#16121c}.table td .provider-checks{white-space:normal}.provider-checks{display:flex;flex-wrap:wrap;gap:5px 14px;max-width:280px}.check-inline{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:#c7b6dd;white-space:nowrap}.check-inline input{accent-color:#A855F7}.composer-plus{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:10px;border:1px solid #3a2b4c;background:#1a1521;color:#d9b7ff;font-size:17px;line-height:1;transition:.15s ease}.composer-plus:hover{border-color:#a855f7;background:#241a33;color:#e8d3ff}.composer-plus:active{transform:scale(.94)}.tool-sheet-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60}.tool-sheet-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0605099e;animation:fadeIn .18s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.tool-sheet{position:absolute;left:0;right:0;bottom:0;margin:0 auto;width:min(680px,100%);max-height:84vh;overflow-y:auto;background:#131116;border:1px solid #2a2432;border-bottom:0;border-radius:22px 22px 0 0;padding:6px 16px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -18px 55px #0000008c;animation:sheetUp .26s cubic-bezier(.22,1,.36,1);transition:transform .22s ease}.tool-sheet.dragging{transition:none}@keyframes sheetUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.tool-sheet-grip{display:grid;place-items:center;padding:8px 0 4px;touch-action:none;cursor:grab}.tool-sheet-handle{width:44px;height:4px;border-radius:99px;background:#3a2b4c}.tool-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:6px 0 14px}.tool-sheet-head h3{margin:0;font-size:17px;letter-spacing:-.4px}.tool-sheet-head p{margin:3px 0 0}.tool-sheet-close{border:1px solid #2c2436;background:#17121f;color:#cbbddc;width:30px;height:30px;border-radius:9px;font-size:13px;flex-shrink:0}.tool-sheet-close:hover{border-color:#a855f7;color:#e8d3ff}.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tool-card{position:relative;display:flex;gap:11px;align-items:flex-start;text-align:left;border:1px solid #262029;background:#17131d;border-radius:14px;padding:12px;color:#f2eef7;transition:.16s ease}.tool-card:hover{border-color:#a855f7;background:#1c1526;transform:translateY(-1px)}.tool-card:active{transform:scale(.985)}.tool-card-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:11px;background:linear-gradient(135deg,#2a1b3d,#17121f);border:1px solid #3a2b4c;color:#d5aaff}.tool-card-text{min-width:0}.tool-card-text strong{display:block;font-size:13.5px;font-weight:600}.tool-card-text small{display:block;color:#9b93a6;font-size:11.5px;line-height:1.45;margin-top:3px}.tool-card-tag{position:absolute;top:10px;right:10px;font-size:9.5px;letter-spacing:.5px;text-transform:uppercase;color:#8f8797;border:1px solid #2c2436;border-radius:99px;padding:2px 6px}.tool-workspace{flex:1;min-height:0;overflow-y:auto;width:min(820px,calc(100% - 40px));margin:0 auto;padding:6px 0 40px}.workspace-head{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.workspace-back{border:1px solid #2c2436;background:#17121f;color:#cbbddc;border-radius:10px;padding:8px 12px;font-size:12.5px;transition:.15s ease}.workspace-back:hover{border-color:#a855f7;color:#e8d3ff}.workspace-head-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#2a1b3d,#17121f);border:1px solid #3a2b4c;color:#d5aaff;flex-shrink:0}.workspace-head-text{min-width:0}.workspace-head-text h2{display:flex;align-items:center;gap:9px;margin:0;font-size:19px;letter-spacing:-.4px}.workspace-head-text p{margin:3px 0 0;color:#9b93a6;font-size:12.5px}.workspace-card{border:1px solid #2a2432;background:#131116;border-radius:16px;padding:18px}.dev-notice{display:flex;align-items:flex-start;gap:10px;border:1px solid #4a3a1c;background:#241f12;color:#efdca6;border-radius:12px;padding:11px 13px;font-size:12.5px;line-height:1.5;margin-bottom:16px}.dev-notice-badge{flex-shrink:0;font-size:10.5px;font-weight:600;color:#f6e3b4;background:#3a2e15;border:1px solid #5a4a22;border-radius:99px;padding:3px 9px;white-space:nowrap}.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.inline-fields{display:flex;gap:12px;flex-wrap:wrap}.inline-fields .field{flex:1;min-width:130px}.preview-frame{display:grid;place-items:center;min-height:200px;border:1px dashed #3a2b4c;border-radius:14px;background:#0f0d13;color:#6d6577;font-size:12px}.dropzone{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;border:1px dashed #3a2b4c;border-radius:14px;background:#0f0d13;padding:26px 18px;margin-bottom:14px}.dropzone-icon{color:#b98ff0}.dropzone strong{font-size:14px}.search-row{display:flex;gap:10px;margin-bottom:14px}.search-row .input{flex:1}.tab-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.tab-chip{border:1px solid #2c2436;background:#17121f;color:#bcb0cb;border-radius:99px;padding:7px 13px;font-size:12px;transition:.15s ease}.tab-chip:hover{border-color:#8753b6;color:#e8d3ff}.tab-chip.active{border-color:#a855f7;background:#20152d;color:#e3cbff}.empty-block{display:grid;place-items:center;gap:8px;text-align:center;border:1px dashed #2f2739;border-radius:14px;padding:28px 18px}.empty-block-icon{font-size:20px;color:#6d6577}.empty-block p{max-width:420px;margin:0}.voice-stage{display:flex;flex-direction:column;align-items:center;gap:14px;padding:22px 0 8px}.voice-mic{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;border:1px solid #4a3663;background:linear-gradient(135deg,#2a1b3d,#17121f);color:#d5aaff;box-shadow:0 0 40px #a855f72e}.voice-mic:disabled{opacity:.6;cursor:not-allowed}.voice-wave{display:flex;align-items:center;gap:5px;height:30px}.voice-wave span{width:3px;height:10px;border-radius:99px;background:#3a2b4c}.voice-wave span:nth-child(2n){height:18px}.voice-wave span:nth-child(3n){height:24px}@media(max-width:860px){.tools-layout,.usage-card,.split-grid{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{display:none}.topbar{height:calc(56px + env(safe-area-inset-top));justify-content:space-between;gap:10px;padding:env(safe-area-inset-top) calc(14px + env(safe-area-inset-right)) 0 calc(14px + env(safe-area-inset-left))}.mobile-brand{display:block}.top-badge{font-size:10px;padding:7px 9px;max-width:56%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-main{width:calc(100% - 24px)}.messages{padding:8px 0}.page{padding:8px 16px 32px}h1{letter-spacing:-1.1px;font-size:clamp(26px,7vw,34px)}.empty-chat h1{min-height:3.3em}.welcome-text{font-size:13.5px;margin-bottom:20px}.shortcut-grid{grid-template-columns:1fr}.composer{border-radius:14px;padding:10px;margin-bottom:10px}.composer textarea{min-height:44px;max-height:30vh;font-size:15px}.composer-footer{gap:8px}.composer-tools{gap:10px}.composer-hint{display:none}.provider-select{flex:1 1 140px}.bubble{max-width:92%}.tool-workspace{width:calc(100% - 24px)}}@media(max-width:520px){.tool-grid{grid-template-columns:1fr}.tool-sheet{border-radius:18px 18px 0 0}.workspace-head{gap:10px}.workspace-head-text h2{font-size:17px}}@media(max-width:400px){.chat-main{width:calc(100% - 16px)}.composer{padding:8px;border-radius:12px}.composer-tools{gap:8px}.provider-select{flex:1 1 120px;gap:5px}.composer-plus{width:30px;height:30px;font-size:15px}.send-button{width:32px;height:32px}.bubble{max-width:94%;font-size:13.5px}.shortcut{min-height:auto;padding:12px}.tool-workspace{width:calc(100% - 16px)}.top-badge{max-width:52%}}
