@font-face{font-family:Inter;src:url('/fonts/inter-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Inter;src:url('/fonts/inter-latin-500-normal.woff2') format('woff2');font-weight:500;font-display:swap}@font-face{font-family:Inter;src:url('/fonts/inter-latin-600-normal.woff2') format('woff2');font-weight:600;font-display:swap}@font-face{font-family:Inter;src:url('/fonts/inter-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}@font-face{font-family:Inter;src:url('/fonts/inter-latin-800-normal.woff2') format('woff2');font-weight:800;font-display:swap}
:root{color-scheme:light;--bg:#f3f4f9;--surface:#fff;--sidebar:#f8f9fd;--text:#222639;--muted:#71768e;--line:#eceef5;--blue:#526cf3;--blueDeep:#3b56db;--tint:#eef1ff;--soft:#f6f7fc;--shadow:0 12px 50px #354b9621;--border:#e6e8f2;--danger:#c94658;--radius:26px}
*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}body{font-family:Inter,Arial,sans-serif;font-size:14px;letter-spacing:-.015em;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0;background:none}button:disabled{opacity:.4;cursor:not-allowed}button,a{touch-action:manipulation}button,a,input,textarea,select{outline-offset:4px}:focus-visible{outline:2px solid var(--blue)}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle}button{transition:background .2s,color .2s,box-shadow .2s,transform .2s}button:hover:not(:disabled){background:var(--soft)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.srOnly{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skipLink{position:fixed;top:-100px;left:20px;z-index:100;background:var(--blue);color:white;padding:12px;border-radius:8px}.skipLink:focus{top:12px}
.app{display:flex;height:100dvh;padding:12px;gap:12px;max-width:2200px;margin:0 auto}aside{width:254px;flex-shrink:0;padding:25px 14px 15px;display:flex;flex-direction:column;border-radius:24px;background:linear-gradient(170deg,var(--sidebar) 65%,#ecf0ff);position:relative}.brand{display:flex;align-items:center;gap:11px;padding:5px 11px 30px;font-size:23px;letter-spacing:-1px;font-weight:800}.brandAI{color:var(--blue);font-size:11px;letter-spacing:.2px;margin-left:5px;vertical-align:top;position:relative;top:4px}.brandMark{position:relative;display:inline-block;width:32px;height:32px;flex-shrink:0;transform:rotate(-10deg)}.brandMark i{position:absolute;width:14px;height:18px;border-radius:8px 8px 3px 8px;background:linear-gradient(140deg,#a2b4ff,#4964ef);box-shadow:inset 0 1px 2px #fff9}.brandMark i:nth-child(1){left:0;top:0;transform:rotate(-30deg)}.brandMark i:nth-child(2){right:0;top:0;transform:rotate(60deg)}.brandMark i:nth-child(3){right:0;bottom:0;transform:rotate(150deg)}.brandMark i:nth-child(4){left:0;bottom:0;transform:rotate(240deg)}.newChat{display:flex;align-items:center;gap:10px;padding:14px;border-radius:14px;background:var(--blue);color:white;font-weight:600;box-shadow:0 5px 15px #526cf325;font-size:12px}.newChat:hover:not(:disabled){background:var(--blueDeep);box-shadow:0 6px 20px #526cf345}.newChat svg{width:18px}.newChat kbd{margin-left:auto;opacity:.6;font-size:10px;font-family:inherit}.search{display:flex;gap:9px;align-items:center;padding:12px 10px;margin:12px 0 20px;color:var(--muted)}.search svg{width:16px}.search input{min-width:0;width:100%;background:none;border:0;color:var(--text);font-size:11px}.search input::placeholder{color:var(--muted)}.search kbd{font-size:10px;white-space:nowrap;color:var(--muted)}.historyHeading{display:flex;justify-content:space-between;align-items:center;text-transform:uppercase;font-size:9px;letter-spacing:1.1px;font-weight:600;color:var(--muted);margin:0 10px 12px}.historyHeading>span:last-child{font-size:10px;background:var(--line);border-radius:5px;padding:3px 5px;letter-spacing:0}#history{min-height:0;overflow:auto;flex:1;scrollbar-width:thin}.historyGroup{color:var(--muted);font-size:10px;letter-spacing:.4px;margin:16px 11px 8px}.historyRow{display:flex;align-items:center;border-radius:11px;margin:3px 0;padding:0 3px 0 9px;gap:7px}.historyRow:hover,.historyRow.active{background:var(--tint)}.historyRow>svg{width:15px;color:var(--muted)}.historyRow.active>svg{color:var(--blue)}.historyItem{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:12px 0;font-size:11px;font-weight:500}.historyItem:hover:not(:disabled){background:none}.pinButton{padding:6px;color:var(--muted);opacity:0}.pinButton svg{width:13px}.historyRow:hover .pinButton,.historyRow:focus-within .pinButton,.historyRow.pinned .pinButton{opacity:1}.emptyHistory{color:var(--muted);font-size:11px;line-height:1.7;padding:8px 12px;max-width:205px}.sideBottom{padding-top:20px;margin-top:10px}.sideLink{width:100%;display:flex;align-items:center;gap:10px;padding:12px;font-size:11px;font-weight:500;border-radius:10px}.sideLink svg{width:16px;color:var(--muted)}.sideLink .arrow{margin-left:auto;color:var(--muted)}.guestProfile{width:100%;background:var(--surface);border:1px solid var(--line);display:flex;align-items:center;gap:10px;padding:11px;border-radius:16px;text-align:left;margin-top:10px}.avatar{display:inline-grid;place-items:center;width:33px;height:33px;border-radius:50%;color:#626491;background:linear-gradient(150deg,#e8e6ff,#d5e8ff);font-size:12px;font-weight:700;flex-shrink:0}.guestProfile strong{display:block;font-size:11px;font-weight:600}.guestProfile small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.guestProfile>span:last-child{margin-left:auto;color:var(--muted)}.guestProfile svg{width:16px}.sideLegal{display:flex;gap:10px;justify-content:center;align-items:center;font-size:9px;color:var(--muted);margin-top:19px}.sideLegal a:hover{color:var(--blue)}.credit{text-align:center;color:var(--muted);font-size:9px;margin:10px 0 0}.credit strong{font-weight:500;color:#6c7294}
main{min-width:0;flex:1;display:flex;flex-direction:column;position:relative;border-radius:var(--radius);background:var(--surface);border:1px solid #e9ebf5;overflow:hidden;box-shadow:0 2px 9px #4a568a04}.topbar{display:flex;justify-content:space-between;align-items:center;padding:24px 32px 15px;min-height:78px;position:relative;z-index:10}.headerLeft,.headerRight{display:flex;align-items:center;gap:9px}.modeButton{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;font-weight:600;font-size:13px;letter-spacing:-.35px}.modeButton svg:first-child{color:var(--blue);width:18px}.modeButton svg:last-child{width:13px;color:var(--muted);margin-left:4px}.iconButton{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;width:36px;height:36px;flex-shrink:0;color:var(--muted)}.iconButton svg{width:18px;height:18px}.iconButton:hover:not(:disabled){color:var(--blue);background:var(--tint)}.temporaryButton{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;padding:9px;border-radius:10px}.temporaryButton svg{width:15px}.temporaryButton[aria-pressed=true]{color:var(--blue);background:var(--tint)}.mobileMenu{display:none}.dropdown{background:var(--surface);border:1px solid var(--border);box-shadow:0 16px 60px #28326825;border-radius:20px;position:absolute;z-index:50;padding:9px;animation:menuIn .18s ease-out}.modeMenu{top:70px;left:30px;width:320px}.dropdownHeading{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);padding:12px 10px 11px;font-weight:600}.modeOption{display:flex;align-items:center;gap:12px;width:100%;padding:12px 10px;border-radius:12px;text-align:left}.modeOption.active{background:var(--tint)}.modeOption .modeIcon{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--blue)}.modeIcon svg{width:17px}.modeOption strong{display:block;font-size:12px;font-weight:600}.modeOption small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.modeOption .check{margin-left:auto;color:var(--blue)}.modeOption .check svg{width:15px}.modeMenu p{padding:11px 10px 4px;margin:8px 0 4px;border-top:1px solid var(--line);color:var(--muted);font-size:9px;line-height:1.6}.optionsMenu{top:66px;right:28px;width:215px}.optionsMenu button{display:flex;align-items:center;width:100%;gap:10px;font-size:11px;padding:12px;border-radius:10px}.optionsMenu svg{width:16px}.danger{color:var(--danger)!important}
#scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--border) transparent;scroll-behavior:smooth}#welcome{max-width:820px;margin:0 auto;padding:30px 32px 32px;text-align:center;position:relative}.heroOrb{position:relative;width:150px;height:155px;margin:8px auto 32px;isolation:isolate}.orbAura{position:absolute;inset:-40px;border-radius:50%;background:radial-gradient(ellipse,#bfcaff40,transparent 65%);filter:blur(6px)}.orbShell{position:absolute;inset:5px 14px 25px;border-radius:50%;background:radial-gradient(circle at 32% 27%,#fff 0%,#f0ecff 12%,#cdd4ff 30%,#aea8ef 58%,#b6d2ff 74%,#f5f1ff 96%);box-shadow:inset -8px -9px 14px #746ac266,inset 4px 5px 8px #ffffffcf,0 9px 22px #7872bf2b;animation:orbFloat 6s ease-in-out infinite;overflow:hidden}.orbSwirl{position:absolute;inset:-30%;border-radius:50%;background:conic-gradient(from 45deg,#9dacf000,#fff9,#ab85ef80,#93c9ff88,#fff9,#9dacf000);filter:blur(10px);mix-blend-mode:soft-light;animation:orbTurn 20s linear infinite}.orbGlass{position:absolute;inset:7px;border:1px solid #fff9;border-radius:50%;box-shadow:inset -6px -2px 7px #f2f6ffaa;transform:rotate(-25deg);background:linear-gradient(125deg,#ffffff70,transparent 45%)}.orbContour{position:absolute;border:1.5px solid #ffffff80;border-radius:50%;box-shadow:0 0 5px #fff6;inset:9px;transform:rotate(-35deg) scaleX(.6)}.orbContour.c2{inset:3px;transform:rotate(30deg) scaleX(.72);border-color:#e3d5ff90}.orbShine{position:absolute;width:48%;height:28%;left:17%;top:11%;background:radial-gradient(ellipse,#fff 5%,#ffffffad 35%,#fff0 75%);filter:blur(4px);border-radius:50%;transform:rotate(-35deg)}.orbShadow{position:absolute;bottom:3px;left:30px;width:90px;height:13px;background:#9493c929;border-radius:50%;filter:blur(6px);animation:orbShadow 6s ease-in-out infinite}.orbParticle{position:absolute;width:4px;height:4px;background:#c1b4f1;box-shadow:0 0 9px #b49fef;border-radius:50%;animation:particle 5s ease-in-out infinite}.p1{top:33px;right:0}.p2{left:3px;bottom:43px;animation-delay:-2s;width:3px;height:3px}.eyebrow{font-size:9px;font-weight:600;color:#777e97;letter-spacing:1.8px;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:16px}.eyebrow>span{width:4px;height:4px;background:#8b9fee;border-radius:50%}h1{font-size:clamp(32px,3.3vw,49px);line-height:1.18;font-weight:700;letter-spacing:-2px;margin:0 auto}h1>span{background:linear-gradient(100deg,#6177d2 15%,#9584c7 65%,#b29ac3);color:transparent;background-clip:text;-webkit-background-clip:text}.heroDescription{color:var(--muted);font-size:12px;line-height:1.8;margin:19px auto 32px;max-width:450px}.suggestions{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:0 auto;max-width:610px;text-align:left}.suggestions button{position:relative;border:1px solid var(--line);border-radius:17px;padding:18px 20px;text-align:left;background:linear-gradient(145deg,var(--surface),var(--soft));min-height:112px;box-shadow:0 3px 14px #25377903;transition:transform .25s,border-color .25s,box-shadow .25s}.suggestions button:hover:not(:disabled){transform:translateY(-3px);border-color:#ced4f6;box-shadow:0 9px 25px #29396c0c;background:var(--surface)}.suggestionIcon{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:9px;margin-bottom:11px}.suggestionIcon svg{width:15px}.peach{color:#cfa293;background:#faf0e9}.blue{color:#8097d7;background:#eef2fd}.purple{color:#a495cd;background:#f3effb}.mint{color:#7ba99d;background:#edf6f2}.suggestions strong{display:block;font-size:12px;font-weight:600;margin-bottom:4px}.suggestions small{display:block;font-size:11px;color:var(--muted);line-height:1.6}.suggestionArrow{position:absolute;right:16px;top:19px;color:#b9bdd1;font-size:14px}
.composerArea{padding:14px 38px 16px;max-width:910px;width:100%;margin:0 auto;z-index:3}.composer{border:1px solid #e2e5f2;background:var(--surface);border-radius:23px;padding:19px 19px 11px;box-shadow:0 6px 35px #404f9320,0 0 0 5px #f8f9fd;transition:border-color .25s,box-shadow .25s}.composer:focus-within{border-color:#bac5fb;box-shadow:0 8px 35px #526cf31a,0 0 0 5px #f2f4ff}.composer textarea{resize:none;display:block;width:100%;border:0;outline:none;color:var(--text);background:transparent;padding:0 5px;line-height:1.65;min-height:27px;max-height:145px;font-size:13px;font-weight:400;letter-spacing:-.1px}.composer textarea::placeholder{color:#757c96}.composerTools{display:flex;align-items:center;margin-top:13px;gap:8px}.toolDivider{height:15px;width:1px;background:var(--line);margin-right:5px}#hint{font-size:10px;color:#747b94}.composerRight{display:flex;align-items:center;margin-left:auto;gap:7px}.sendButton{width:35px;height:35px;border-radius:12px;color:white;background:var(--blue);display:grid;place-items:center;box-shadow:0 3px 10px #526cf333}.sendButton svg{width:18px}.sendButton:hover:not(:disabled){background:var(--blueDeep)}.stopButton{background:var(--text)}.stopButton svg{width:14px}.belowComposer{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#747b92;line-height:1.7;margin-top:13px;padding:0 3px}.belowComposer a{text-decoration:underline;text-underline-offset:2px}.belowComposer a:hover{color:var(--blue)}#notice{margin:0 0 13px;background:var(--tint);border:1px solid var(--border);border-radius:12px;padding:11px 13px;font-size:11px;line-height:1.7;display:flex;align-items:center;gap:10px;color:#6b75a8}#notice>button{font-size:20px;margin-left:auto;flex-shrink:0}#attachments{display:flex;gap:8px;flex-wrap:wrap}.attachment{display:flex;align-items:center;gap:9px;background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:7px 9px;margin-bottom:14px;max-width:260px}.attachment>img{width:37px;height:37px;object-fit:cover;border-radius:8px}.attachment .fileInfo{min-width:0;text-align:left;display:block;padding:0}.fileInfo strong{display:block;font-size:10px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:175px}.fileInfo small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.attachment>svg{color:var(--blue);width:19px}.attachment .removeAttachment{font-size:17px;color:var(--muted);padding:2px;margin-left:auto}.dragging .composer{border:2px dashed var(--blue);background:var(--tint)}
#messages{max-width:800px;padding:12px 35px 25px;margin:0 auto}.message{margin:25px 0 35px;animation:messageIn .25s ease-out}.message.user{display:flex;flex-direction:column;align-items:flex-end;margin-top:25px;margin-bottom:30px}.userBubble{border-radius:20px 20px 4px 20px;background:var(--tint);color:var(--text);padding:14px 18px;max-width:88%;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.messageHeader{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;color:var(--text);margin-bottom:15px}.messageLogo{width:25px;height:25px;background:var(--tint);color:var(--blue);border-radius:9px;display:grid;place-items:center}.messageLogo svg{width:15px}.messageHeader .modeBadge{margin-left:2px;font-size:9px;font-weight:500;color:#9194ac;padding:4px 8px;background:var(--soft);border-radius:6px}.replyBody{font-size:13px;line-height:1.9;color:var(--text);padding-left:35px;overflow-wrap:anywhere}.replyBody>:first-child{margin-top:0}.replyBody p{margin:12px 0}.replyBody h1,.replyBody h2,.replyBody h3,.replyBody h4{font-weight:650;letter-spacing:-.5px;line-height:1.4;margin:25px 0 12px}.replyBody h1{font-size:22px}.replyBody h2{font-size:19px}.replyBody h3{font-size:16px}.replyBody h4{font-size:14px}.replyBody strong{font-weight:600}.replyBody ul,.replyBody ol{padding-left:22px;margin:12px 0}.replyBody li{padding:3px 0}.replyBody code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;background:var(--soft);border-radius:5px;padding:3px 5px;letter-spacing:0}.replyBody .codeBlock{border:1px solid var(--border);border-radius:14px;background:var(--soft);margin:17px 0;overflow:hidden}.codeToolbar{display:flex;justify-content:space-between;align-items:center;background:var(--line);padding:8px 12px;font-size:9px;color:var(--muted)}.codeToolbar button{font-size:10px;display:flex;gap:5px;align-items:center}.codeToolbar svg{width:12px}.replyBody pre{overflow:auto;margin:0;padding:16px;line-height:1.7;scrollbar-width:thin}.replyBody pre code{padding:0;border-radius:0;background:none;color:var(--text);font-size:11px}.replyBody a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}.replyBody blockquote{border-left:3px solid #a9b5e9;padding:0 15px;margin:15px 0;color:var(--muted)}.replyBody hr{border:0;border-top:1px solid var(--line);margin:23px 0}.tableWrap{overflow:auto;margin:15px 0;border:1px solid var(--line);border-radius:10px;scrollbar-width:thin}.replyBody table{border-collapse:collapse;min-width:100%;font-size:11px}.replyBody th,.replyBody td{border-bottom:1px solid var(--line);padding:10px 13px;text-align:left}.replyBody th{font-weight:600;background:var(--soft)}.replyBody tr:last-child td{border:0}.messageActions{display:flex;gap:7px;margin:14px 0 0 32px}.messageActions button{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:5px;padding:6px 8px;border-radius:7px}.messageActions svg{width:13px}.user .messageActions{margin:7px 0 0;opacity:0}.user:hover .messageActions,.user:focus-within .messageActions{opacity:1}.userFiles{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin:0 0 10px;max-width:90%}.userFiles img{max-width:200px;max-height:160px;object-fit:cover;border-radius:15px;border:1px solid var(--line);cursor:pointer}.userFiles .fileTag{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:11px;padding:9px 12px;font-size:10px;background:var(--soft);max-width:100%;overflow-wrap:anywhere}.fileTag svg{width:14px;color:var(--blue)}.thinking{display:flex;gap:5px;align-items:center;color:var(--muted);font-size:11px;height:29px}.thinking span{width:5px;height:5px;border-radius:50%;background:#a8b7eb;animation:thinking 1.2s ease-in-out infinite}.thinking span:nth-child(2){animation-delay:.15s}.thinking span:nth-child(3){animation-delay:.3s}.thinking small{margin-left:6px}.errorBody{color:var(--danger);font-size:12px}.interrupted{color:var(--muted);font-size:10px;margin-top:12px}.temporaryBanner{text-align:center;color:var(--muted);font-size:10px;padding:10px;background:var(--soft);border-radius:10px;margin:10px 0 20px}
#dialog{border:1px solid var(--border);border-radius:26px;background:var(--surface);color:var(--text);box-shadow:0 30px 120px #1b22484a;width:min(630px,calc(100vw - 32px));padding:26px 28px;max-height:88dvh;overflow:auto;scrollbar-width:thin}#dialog::backdrop{background:#1b24404a;backdrop-filter:blur(5px)}.dialogHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.dialogEyebrow{font-size:9px;letter-spacing:1.3px;color:var(--blue);font-weight:600}#dialogTitle{font-size:23px;letter-spacing:-.8px;font-weight:700;margin:8px 0 0;line-height:1.25}#dialogContent{font-size:12px;line-height:1.85;color:var(--muted)}#dialogContent h3{font-size:14px;color:var(--text);font-weight:600;letter-spacing:-.25px;margin:24px 0 8px}#dialogContent h3:first-child{margin-top:0}#dialogContent p{margin:10px 0}#dialogContent ul{padding-left:20px}#dialogContent li{margin-bottom:5px}#dialogContent a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}#dialogContent strong{font-weight:600;color:var(--text)}.policyDate{font-size:10px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:22px}.policyLinks{display:flex;flex-wrap:wrap;gap:13px;border-top:1px solid var(--line);padding-top:20px;margin-top:25px;font-size:11px}.dialogActions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.primaryButton,.secondaryButton{padding:11px 18px;border-radius:11px;font-weight:600;font-size:11px}.primaryButton{background:var(--blue);color:white}.primaryButton:hover:not(:disabled){background:var(--blueDeep)}.secondaryButton{background:var(--soft);border:1px solid var(--line)}.settingsField{display:block;margin:16px 0}.settingsField>span{display:block;color:var(--text);font-size:11px;font-weight:500;margin-bottom:7px}.settingsField input,.settingsField select,.dialogInput{border:1px solid var(--border);border-radius:11px;padding:11px 13px;width:100%;color:var(--text);background:var(--soft);outline-offset:3px}.settingsField small{display:block;margin-top:6px;font-size:10px;color:var(--muted)}.switchRow{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:18px 0;font-size:11px;color:var(--text)}.switchRow small{display:block;font-size:10px;color:var(--muted);max-width:350px}.switchRow input{accent-color:var(--blue);width:17px;height:17px}.settingsDivider{border:0;border-top:1px solid var(--line);margin:22px 0}.usageCard{background:var(--soft);padding:14px 17px;border-radius:12px;margin:15px 0;font-size:11px}.usageCard strong{color:var(--blue)}.recordingCenter{text-align:center;padding:12px 0}.recordingTimer{font-size:36px;font-weight:700;letter-spacing:-1px;color:var(--text);margin:8px 0 13px}.waveform{height:55px;display:flex;justify-content:center;align-items:center;gap:5px;margin:10px 0}.waveform i{display:block;width:4px;height:18px;border-radius:5px;background:linear-gradient(#a5b4f8,#a495cd);animation:wave 1s ease-in-out infinite}.waveform i:nth-child(2n){animation-delay:-.4s}.waveform i:nth-child(3n){animation-delay:-.7s}.recordedAudio{width:100%;max-width:420px}.referenceText{width:100%;min-height:230px;resize:vertical;border:1px solid var(--border);padding:13px;border-radius:12px;background:var(--soft);color:var(--text);font-size:12px;line-height:1.7}.previewImage{max-width:100%;max-height:60dvh;object-fit:contain;display:block;margin:auto;border-radius:12px}.acceptLabel{display:flex;gap:10px;align-items:flex-start;padding:12px;background:var(--soft);border-radius:12px;margin-top:18px;font-size:11px}.acceptLabel input{margin-top:4px;accent-color:var(--blue)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:1000;background:var(--text);color:var(--surface);font-size:11px;padding:12px 19px;border-radius:12px;box-shadow:var(--shadow);max-width:90vw;text-align:center;animation:menuIn .2s ease-out}
.dark{color-scheme:dark;--bg:#10121d;--surface:#1a1d2b;--sidebar:#161a28;--text:#e4e7f3;--muted:#9097b1;--line:#292d42;--border:#333851;--blue:#8a9dff;--blueDeep:#6c84f5;--tint:#272f4d;--soft:#222637;--shadow:0 12px 50px #0006;--danger:#f19baf}.dark aside{background:linear-gradient(170deg,#171b29 65%,#202841)}.dark main{border-color:#272d44}.dark .composer{border-color:#343c59;box-shadow:0 6px 35px #0003,0 0 0 5px #202438}.dark .composer:focus-within{border-color:#7b8cdb;box-shadow:0 6px 35px #0003,0 0 0 5px #282f48}.dark .newChat,.dark .sendButton,.dark .primaryButton{color:#fff;background:#5d75ef}.dark .suggestionIcon{background:#2a2f48}.dark .credit strong{color:#aab4d4}.dark .orbAura{background:radial-gradient(ellipse,#7579bf35,transparent 65%)}.dark h1>span{background-image:linear-gradient(100deg,#a6b5f1,#bca6da,#c9afd0)}.dark #notice{color:#bac6ff}.dark .avatar{background:linear-gradient(140deg,#464063,#354e73);color:#e0ddff}
@keyframes orbFloat{0%,100%{transform:translateY(3px) rotate(-4deg)}50%{transform:translateY(-8px) rotate(4deg)}}@keyframes orbTurn{to{transform:rotate(360deg)}}@keyframes orbShadow{0%,100%{transform:scaleX(1);opacity:.8}50%{transform:scaleX(.8);opacity:.45}}@keyframes particle{0%,100%{transform:translateY(0);opacity:.4}50%{transform:translateY(-11px);opacity:.9}}@keyframes wave{0%,100%{height:12px;opacity:.7}50%{height:46px;opacity:1}}@keyframes thinking{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}@keyframes menuIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes messageIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){#welcome{padding-top:65px}.heroOrb{margin-bottom:42px}.suggestions{max-width:650px;gap:15px}.suggestions button{padding:21px}.heroDescription{margin-bottom:38px}.composerArea{padding-bottom:24px}.topbar{padding-top:28px}.app{padding:18px;gap:18px}aside{width:270px}}
@media(max-height:850px) and (min-width:761px){#welcome{padding-top:5px}.heroOrb{width:120px;height:125px;margin:0 auto 20px}.orbShell{inset:4px 10px 22px}.orbShadow{left:25px;width:70px}.heroDescription{margin:14px auto 23px}.suggestions button{min-height:102px;padding:14px 17px}h1{font-size:38px}.suggestionIcon{margin-bottom:7px}.eyebrow{margin-bottom:11px}}
@media(max-width:1100px){aside{width:230px;padding:23px 10px 15px}.newChat kbd{display:none}.topbar{padding:19px 22px 13px}#welcome{padding:22px 28px}.heroOrb{width:130px;height:139px}.heroDescription{max-width:360px;font-size:11px}.composerArea{padding:14px 29px 16px}#composerCaption{display:none}.belowComposer{justify-content:center}.suggestions small{font-size:9px}.brand{font-size:21px}.modeMenu{left:20px}.search kbd{display:none}#messages{padding-left:25px;padding-right:25px}}
@media(max-width:760px){.app{padding:0;gap:0}main{border:0;border-radius:0}.mobileMenu{display:inline-flex}aside{position:fixed;left:0;top:0;bottom:0;width:280px;z-index:100;border-radius:0 22px 22px 0;padding:27px 17px 22px;transform:translateX(-105%);transition:transform .3s ease;box-shadow:0 0 60px #12193330}.sidebarOpen aside{transform:translateX(0)}#sidebarBackdrop{position:fixed;inset:0;background:#1923474d;backdrop-filter:blur(3px);z-index:99}.topbar{padding:14px 15px 10px;min-height:65px}.headerLeft{gap:2px}.headerRight{gap:2px}.modeButton{font-size:12px;gap:7px;padding:9px 5px}.modeButton svg:first-child{display:none}.modeButton svg:last-child{margin-left:0}.temporaryButton{padding:7px}.temporaryButton>span:last-child{display:none}.headerRight .iconButton{width:31px}#welcome{padding:18px 22px 25px}.heroOrb{width:128px;height:137px;margin:12px auto 22px}.eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:14px}h1{font-size:34px;letter-spacing:-1.6px;line-height:1.19}.heroDescription{font-size:11px;max-width:280px;line-height:1.8;margin:16px auto 24px}.suggestions{gap:10px;max-width:430px}.suggestions button{padding:14px;min-height:111px;border-radius:16px}.suggestions strong{font-size:10px;line-height:1.5}.suggestions small{font-size:9px;line-height:1.6;max-width:140px}.suggestionIcon{margin-bottom:8px;width:26px;height:26px}.suggestionArrow{right:13px;top:16px}.composerArea{padding:12px 18px max(12px,env(safe-area-inset-bottom));background:linear-gradient(transparent,var(--surface) 30%)}.composer{border-radius:21px;padding:15px 13px 9px;box-shadow:0 4px 24px #3c4d8f17,0 0 0 3px #f8f9fd}.composer textarea{font-size:16px;line-height:1.5;letter-spacing:-.3px}.composerTools{margin-top:10px;gap:4px}#hint{font-size:8px;letter-spacing:0}.toolDivider{margin-right:3px}.composerRight{gap:4px}.sendButton{width:33px;height:33px}.composer .iconButton{width:31px;height:33px}.belowComposer{font-size:8px;margin-top:11px}.modeMenu{left:13px;top:59px;width:min(320px,calc(100vw - 26px))}.optionsMenu{right:15px;top:58px}#messages{padding:8px 20px 15px}.replyBody{padding-left:0;font-size:13px;line-height:1.85}.messageHeader{margin-bottom:13px}.messageActions{margin-left:0}.messageHeader .modeBadge{font-size:8px}.userBubble{font-size:13px;max-width:94%;padding:12px 15px}.message.user{margin-bottom:28px}.user .messageActions{opacity:1}.userFiles img{max-width:160px;max-height:140px}.pinButton{opacity:.6}.newChat kbd{display:block}.search kbd{display:block}#dialog{padding:22px 20px;border-radius:22px;max-height:88dvh;width:calc(100vw - 28px)}#dialogTitle{font-size:22px}.attachment{max-width:100%}.dialogActions{flex-wrap:wrap}.heroOrb .orbAura{inset:-25px}}
@media(max-height:740px) and (max-width:760px){#welcome{padding-top:7px}.heroOrb{width:102px;height:109px;margin:5px auto 15px}.orbShell{inset:4px 8px 21px}.orbShadow{left:20px;width:65px}h1{font-size:29px}.heroDescription{margin:12px auto 18px}.suggestions button{min-height:97px;padding:12px}.suggestionIcon{margin-bottom:5px}.eyebrow{margin-bottom:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.orbShell{transform:rotate(-3deg)}#scroll{scroll-behavior:auto}}
/* GENRIX readability and refined controls */
.replyBody{font-size:16px;line-height:1.75;letter-spacing:0;overflow-wrap:break-word}
.replyBody h1{font-size:25px}.replyBody h2{font-size:22px}.replyBody h3{font-size:19px}.replyBody h4{font-size:17px}
.replyBody p{margin:12px 0}.replyBody li{padding:3px 0}.replyBody code,.replyBody pre code{font-size:14px}
.replyBody table{font-size:14px;line-height:1.6;width:100%;min-width:100%;max-width:none;table-layout:fixed;letter-spacing:0}
.replyBody th,.replyBody td{overflow-wrap:break-word;word-break:normal;min-width:0;max-width:none;padding:10px 12px;vertical-align:top}
.replyBody td p{margin:6px 0}.replyBody td p:first-child{margin-top:0}.replyBody td p:last-child{margin-bottom:0}.replyBody th{line-height:1.5}
.tableWrap{width:100%;max-width:100%;overscroll-behavior-x:contain;border-radius:12px;scrollbar-color:#9ca9ed var(--soft)}
.userBubble{font-size:16px}.messageHeader{font-size:15px}.messageHeader .modeBadge{font-size:11px}
.messageActions button{font-size:12px;min-height:38px;padding:8px 10px}.messageActions svg{width:17px;height:17px}
.topbar{border-bottom:1px solid var(--line);background:var(--surface)}
.topbar .iconButton,.topbar .temporaryButton{width:42px;min-height:42px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,var(--surface),var(--soft));box-shadow:0 3px 9px #38478708,inset 0 1px 0 #ffffff40;color:#7581ab}
.topbar .temporaryButton{width:auto;padding:10px}.topbar svg{width:20px;height:20px}
.topbar .iconButton:hover,.topbar .temporaryButton:hover{color:var(--blue);border-color:#cbd3fa;box-shadow:0 5px 15px #526cf319;transform:translateY(-1px)}
.topbar .iconButton:active{transform:scale(.95)}.headerRight{gap:8px}.headerLeft{gap:8px}
aside{border:1px solid var(--border);box-shadow:inset 0 1px 0 #ffffff55}
.newChat{font-size:14px;min-height:50px;border-radius:17px;background:linear-gradient(130deg,#647efb,#526cf3);box-shadow:0 8px 22px #526cf329}
.newChat svg{width:22px;height:22px}.search{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:12px;box-shadow:0 3px 12px #354b9605}
.search input{font-size:13px}.search svg{width:20px;height:20px;color:var(--blue)}
.historyHeading{font-size:11px}.historyGroup{font-size:12px}.historyItem{font-size:13px;padding:14px 0}.historyRow{border:1px solid transparent;border-radius:14px;transition:background .2s,border-color .2s}
.historyRow.active{border-color:#dce2fb;box-shadow:0 3px 10px #526cf307}.historyRow>svg{width:20px;height:20px;color:#8d9ad3}.pinButton{border-radius:9px;min-width:32px;min-height:32px}.pinButton svg{width:16px;height:16px}
.sideLink{font-size:13px}.sideLink svg{width:21px;height:21px;color:#8193d4}.guestProfile{padding:14px;border-radius:20px;box-shadow:0 5px 20px #354b9608}.guestProfile strong{font-size:13px}.guestProfile small{font-size:11px}.guestProfile svg{width:21px;height:21px}.avatar{width:39px;height:39px;font-size:14px}.sideLegal,.credit{font-size:11px}
.modeButton{font-size:15px}.modeOption strong{font-size:14px}.modeOption small{font-size:12px}.composer textarea{font-size:17px}.errorBody{font-size:16px}
.message.streamingMessage{animation:none}.streamingReply{min-height:30px}
.dark .topbar .iconButton,.dark .topbar .temporaryButton{color:#b4c1ff}.dark .historyRow.active{border-color:var(--border)}
@media(max-width:760px){
 .topbar{padding:12px 12px;min-height:72px}.headerRight{gap:6px}.headerLeft{gap:4px}.modeButton{font-size:14px;gap:3px}
 .topbar .iconButton,.topbar .temporaryButton{width:38px;height:40px;min-height:40px;padding:8px;border-radius:12px}.topbar .iconButton svg,.topbar .temporaryButton svg{width:19px;height:19px}
 #messages{padding:12px 16px 24px}.replyBody{font-size:16px;line-height:1.75;padding-left:0}.replyBody table{font-size:14px}.replyBody th,.replyBody td{min-width:0;max-width:none;padding:10px 11px}
 .replyBody h1{font-size:23px}.replyBody h2{font-size:21px}.replyBody h3{font-size:18px}.replyBody h4{font-size:16px}.userBubble{font-size:16px}
 aside{width:min(310px,88vw);padding:25px 16px 20px}.newChat kbd,.search kbd{display:none}.messageHeader .modeBadge{font-size:10px}.messageActions{flex-wrap:wrap}
}
@media(max-width:360px){.headerRight{gap:3px}.topbar .iconButton,.topbar .temporaryButton{width:34px}.modeButton{font-size:12px}}
