:root{--ink:#17191f;--muted:#727785;--lime:#7057ff;--lime-soft:#efedff;--border:#e7e8ee;--paper:#f7f8fb}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 82% 4%,rgba(112,87,255,.08),transparent 22rem),radial-gradient(circle at 16% 96%,rgba(71,181,255,.055),transparent 24rem),var(--paper)!important;color:var(--ink)!important;font-family:'DM Sans','Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif!important;-webkit-font-smoothing:antialiased}
button,a,input,textarea,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(112,87,255,.22)!important;outline-offset:3px}

.sidebar{width:260px!important;background:rgba(251,251,253,.92)!important;border-right:1px solid rgba(23,25,31,.07)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);z-index:40}
.brand{margin:0 12px 25px!important}.brand .logo{display:inline-block;margin:0;font-family:Manrope,'DM Sans',sans-serif!important;font-size:48px!important;font-weight:750!important;letter-spacing:-6px!important;color:var(--ink)!important}.logo-tagline{max-width:190px;margin:8px 0 0!important;color:#858997!important;font-size:11px!important;line-height:1.55!important;letter-spacing:.01em!important}
.newchat{min-height:46px;border:1px solid rgba(255,255,255,.1)!important;border-radius:12px!important;background:linear-gradient(135deg,#1b1d24,#30333d)!important;color:#fff!important;box-shadow:0 10px 24px rgba(27,29,36,.13);font-weight:600!important;transition:transform .18s ease,box-shadow .18s ease!important}.newchat:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(27,29,36,.18)!important}
.navlabel{color:#a1a3ad!important;font-size:10px!important;letter-spacing:.12em!important}.sidebar .nav{min-height:42px;border-radius:11px!important;color:#7d818d!important;font-size:13px!important;transition:background .16s ease,color .16s ease,transform .16s ease!important}.sidebar .nav:hover{background:#f1f1f7!important;color:#292c33!important;transform:translateX(2px)}.sidebar .nav.active{background:var(--lime-soft)!important;color:#51409a!important;font-weight:600}
.chat-history{border-top:1px solid var(--border)!important}.chat-history-note{color:#999ca7!important}.chat-search{background:#f3f3f7!important;border:1px solid #e8e8ef!important;border-radius:10px!important}
.upgrade{background:linear-gradient(145deg,#fff,#f4f2ff)!important;border:1px solid #dfdcf2!important;border-radius:16px!important;box-shadow:0 12px 32px rgba(79,58,144,.07)}.upgrade .tag{color:#7460bf!important}.upgrade button{background:#1b1d24!important;color:#fff!important;border:0!important;border-radius:9px!important}
.profile{border-top:1px solid var(--border)!important}.avatar{background:linear-gradient(135deg,#a99aff,#7057ff)!important;color:#fff!important;box-shadow:0 8px 18px rgba(112,87,255,.18)}.profile small{color:#9598a3!important}

.main{margin-left:260px!important;background:transparent!important}.main>header{min-height:68px!important;background:rgba(247,248,251,.78)!important;border-bottom:1px solid rgba(23,25,31,.065)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.breadcrumb,.breadcrumb span,.demo,.workspace-heading,.eyebrow,.version{color:#888c97!important}.breadcrumb strong{color:#343740!important}.workspace-heading i{background:var(--lime)!important}.header-right button{border:1px solid #e1e2e8!important;border-radius:999px!important;background:rgba(255,255,255,.78)!important;color:#373a43!important;transition:background .16s ease,transform .16s ease!important}.header-right button:hover{background:#fff!important;transform:translateY(-1px)}
.top-contacts{background:rgba(255,255,255,.48)!important;border-bottom:1px solid rgba(23,25,31,.055)!important;color:#8c909a!important}.top-contacts h2{color:#696d78!important}.top-contact{transition:transform .16s ease}.top-contact:hover{transform:translateY(-1px)}

#chat{max-width:1120px;min-height:calc(100vh - 128px);margin:0 auto;padding-top:26px!important}.welcome{max-width:760px!important;margin:clamp(38px,8vh,92px) auto 28px!important}.welcome h1,#chat h1{max-width:760px;font-family:Manrope,'DM Sans',sans-serif!important;font-weight:680!important;letter-spacing:-4px!important;color:var(--ink)!important}.welcome h1 span:first-child,#chat h1 span:first-child{color:var(--ink)!important}.welcome h1 span:last-child,#chat h1 span:last-child{color:var(--lime)!important}.asterisk{color:#aaa5bd!important;text-shadow:none!important}.motto{color:#7f8390!important}.motto b{color:#454852!important}.intro-line{color:#9a9daa!important}.line{border-color:#e1e2e8!important}
.suggestions{gap:12px!important}.suggestions button{min-height:112px;background:rgba(255,255,255,.88)!important;border:1px solid #e5e6ec!important;border-radius:16px!important;box-shadow:0 8px 26px rgba(34,36,48,.045)!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important}.suggestions button:hover{transform:translateY(-4px);border-color:#dad5f2!important;box-shadow:0 16px 34px rgba(74,55,120,.1)!important}.suggestions .icon{color:var(--lime)!important}.suggestions strong{color:#30333b!important}.suggestions button>span:not(.icon){color:#8d919e!important}.suggestions b{color:#bbbcca!important}
.composer-wrap,#messages,#ideas,#chat .research-shortcuts{max-width:780px!important}.composer-wrap{margin-top:24px!important}form#chatform,#chatform{padding:17px 17px 12px!important;background:rgba(255,255,255,.94)!important;border:1px solid #dedfe7!important;border-radius:18px!important;box-shadow:0 18px 48px rgba(35,36,52,.09)!important}textarea#prompt,#prompt{color:#24272f!important;font-size:15px!important;line-height:1.6!important}textarea#prompt::placeholder,#prompt::placeholder{color:#aaaeb8!important}.composer-bottom{color:#858a96!important}.composer-bottom b{color:#5d547c!important}.composer-bottom button{width:38px!important;height:38px!important;border:0!important;border-radius:11px!important;background:linear-gradient(135deg,#1b1d24,#343740)!important;color:#fff!important;box-shadow:0 8px 18px rgba(27,29,36,.13);transition:transform .16s ease,box-shadow .16s ease!important}.composer-bottom button:hover{transform:scale(1.04);box-shadow:0 10px 22px rgba(27,29,36,.18)!important}.fineprint{color:#a1a4ae!important}
#chat .research-shortcuts button{border:1px solid #e1e2e8!important;border-radius:999px!important;background:rgba(255,255,255,.72)!important;color:#747987!important}#chat .research-shortcuts button:hover{background:#fff!important;border-color:#d8d2ef!important;color:#51409a!important}
.message{line-height:1.8!important}.message.user{max-width:85%;background:#efedfb!important;border:1px solid #dedaf2!important;color:#37343f!important;border-radius:16px 16px 5px 16px!important}.message.assistant{background:rgba(255,255,255,.82)!important;border:1px solid #e8e8ee!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(30,31,45,.035)!important}.message .author{color:#91879d!important}
.saved{background:#fff!important;border:1px solid #e7e7ed!important;border-radius:14px!important;box-shadow:0 8px 24px rgba(30,31,45,.04)!important}.saved button,.empty button,.message button{border:0!important;border-radius:9px!important;background:#1b1d24!important;color:#fff!important}.saved small{color:#9a9da7!important}

#library,#plans{max-width:1050px;margin:0 auto}.billing{background:#eeedf4!important;border-radius:999px!important}.billing button{border-radius:999px!important}.billing .selected{background:#fff!important;box-shadow:0 4px 12px rgba(30,31,45,.08)!important}.plan-grid .plan,.plan{background:#fff!important;border:1px solid #e5e5eb!important;border-radius:18px!important;box-shadow:0 12px 32px rgba(30,31,45,.05)!important}.plan.premium{background:linear-gradient(145deg,#fff,#f7f4ff)!important;border-color:#dcd4ef!important}.plan>button{border:0!important;border-radius:10px!important;background:#1b1d24!important;color:#fff!important}.plan.premium>button{background:var(--lime)!important}.notice{background:#f1eff8!important;border:1px solid #e5e0ef!important;color:#766c85!important;border-radius:12px!important}.empty{border:1px dashed #dadce5!important;border-radius:16px!important;background:rgba(255,255,255,.48)!important;color:#858995!important}

dialog{border:1px solid #e4e3ea!important;border-radius:22px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 24px 100px rgba(20,21,35,.24)!important}dialog::backdrop{background:rgba(18,20,28,.38)!important;backdrop-filter:blur(5px)}dialog p{color:#7c808b!important}.modal-action{background:#1b1d24!important;color:#fff!important;border-radius:10px!important}#toast{background:#1b1d24!important;border-radius:10px!important;box-shadow:0 12px 32px rgba(20,21,30,.2)!important}
footer{border-top:1px solid var(--border)!important;color:#9a9da7!important}.footer-star{color:var(--lime)!important}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#d9dae2;border:3px solid transparent;border-radius:999px;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:#c5c7d2;border:3px solid transparent;background-clip:padding-box}

@media(max-width:1000px) and (min-width:761px){.sidebar{width:232px!important}.main{margin-left:232px!important}#chat{padding-inline:28px!important}.welcome h1,#chat h1{letter-spacing:-3.5px!important}}
@media(max-width:760px){body{background:var(--paper)!important}.sidebar{width:min(300px,86vw)!important;background:rgba(251,251,253,.98)!important}.brand{margin:0!important}.brand .logo{font-size:38px!important;letter-spacing:-4px!important}.logo-tagline{max-width:220px!important}.main{margin-left:0!important}.main>header{min-height:64px!important;padding-inline:14px!important}.top-contacts{display:none!important}#chat{min-height:calc(100svh - 64px);padding:18px 14px 24px!important}.welcome{margin:28px auto 22px!important}.welcome h1,#chat h1{font-size:43px!important;letter-spacing:-3px!important}.motto{font-size:14px!important}.asterisk{display:none!important}.suggestions{grid-template-columns:1fr!important;gap:8px!important}.suggestions button{min-height:78px!important;border-radius:14px!important;text-align:left!important}.suggestions button>span:not(.icon){display:block!important}.suggestions b{top:12px!important}form#chatform,#chatform{border-radius:15px!important;padding:14px 14px 10px!important}.composer-wrap{margin-top:16px!important}.message.user{max-width:92%}}
@media(max-width:380px){.welcome h1,#chat h1{font-size:36px!important;letter-spacing:-2.5px!important}#chat{padding-inline:10px!important}.header-right{gap:5px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
