@import url('');
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#111b37;background:#f8f9fe;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a4b4ff;outline-offset:2px}.shell{min-height:100vh;display:flex}.sidebar{width:248px;flex-shrink:0;background:#fff;border-right:1px solid #e8ebf4;padding:25px 18px;display:flex;flex-direction:column;min-height:100vh}.sidehead{display:flex;align-items:center;justify-content:space-between;margin:0 9px 36px}.sidebrand,.dialog-logo{font-size:24px;font-weight:800;letter-spacing:-1.5px;color:#3049f7}.sidebrand span,.dialog-logo span{color:#98a5ff}.new-chat{background:#f1f3ff;border:1px solid #e4e8ff;color:#3248dc;border-radius:12px;padding:13px 15px;text-align:left;font-size:14px;font-weight:650}.new-chat span:first-child{font-size:20px;vertical-align:middle;margin-right:8px}.side-label{margin:36px 10px 13px;color:#a1a9bc;font-size:10px;font-weight:750;letter-spacing:1.1px}.history{font-size:13px;color:#939bac;overflow:auto}.history p{margin:0;padding:4px 10px;line-height:1.6}.history button{display:block;width:100%;text-align:left;border:0;background:transparent;color:#535e75;border-radius:9px;padding:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history button:hover,.history button.selected{background:#f1f3ff;color:#3049f7}.side-bottom{margin-top:auto;border-top:1px solid #eef0f6;padding:20px 9px 0;font-size:12px;line-height:1.5;color:#9aa2b3}.sparkle{color:#4960f4;font-size:20px;margin-right:8px}.main{flex:1;min-width:0}.header{height:90px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 48px}.header-left,.auth-actions{display:flex;align-items:center;gap:15px}.auth-actions{justify-content:flex-end}.language{display:flex;align-items:center;gap:8px}.language button{border:0;background:none;color:#9ba4b5;font-size:12px;font-weight:750;padding:6px 2px}.language button.active{color:#3049f7}.language span{height:13px;width:1px;background:#dfe3ee}.logo{background:transparent;border:0;padding:0}.logo img{display:block;width:126px;height:auto;mix-blend-mode:multiply}.text-button{background:none;border:0;color:#536079;font-weight:650;font-size:13px;padding:10px}.primary{background:#344cf5;color:white;border:0;border-radius:10px;font-weight:700;box-shadow:0 5px 16px #344cf52b}.primary:hover,.send:hover{background:#243bde}.small{padding:12px 18px;font-size:13px}.workspace{max-width:880px;margin:0 auto;padding:48px 28px 60px}.hero{text-align:center;margin-bottom:35px}.eyebrow{display:inline-flex;align-items:center;gap:6px;color:#4056db;background:#edf0ff;border:1px solid #e3e7ff;border-radius:99px;padding:8px 13px;font-weight:750;font-size:10px;letter-spacing:1px}.eyebrow span:first-child{font-size:15px}.hero h1{font-size:clamp(39px,5vw,61px);line-height:1.1;letter-spacing:-2.8px;margin:24px 0 15px;font-weight:780}.hero h1 em{font-style:normal;color:#344cf5}.hero p{max-width:520px;margin:auto;color:#7a859a;font-size:15px;line-height:1.7}.composer-wrap{max-width:790px;margin:auto}.hint{min-height:0;color:#69758e;font-size:13px;line-height:1.6;margin:0 4px 10px}.hint:empty{display:none}.composer{background:white;border:1px solid #e5e9f4;border-radius:18px;box-shadow:0 14px 40px #26385a0d;padding:20px}.composer textarea{border:0;resize:vertical;width:100%;min-height:75px;color:#26314b;outline:none;line-height:1.5;background:transparent}.composer textarea::placeholder{color:#a7b0c0}.composer-footer{display:flex;align-items:center;justify-content:space-between;color:#adb5c4;font-size:11px}.send{border:0;border-radius:11px;background:#344cf5;color:white;width:39px;height:39px;font-size:23px}.send:disabled{opacity:.5;cursor:not-allowed}.modes{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin-top:20px}.modes button{background:white;border:1px solid #e5e9f3;border-radius:10px;padding:11px 13px;color:#56647b;font-size:12px;font-weight:600}.modes button span:first-child{color:#5165ef;margin-right:6px;font-size:15px}.modes button:hover,.modes button.selected{border-color:#798aff;background:#eef1ff;color:#3049f7}.footnote{text-align:center;color:#adb5c4;font-size:11px;line-height:1.5;margin:25px 0}.notice{text-align:center;color:#5364c5;font-size:13px;line-height:1.5}.conversation{margin:0 auto 24px;max-width:790px}.message{margin-bottom:14px;border-radius:15px;padding:18px 20px;background:white;border:1px solid #e9ecf5}.message.user{background:#eff2ff;border-color:#e7ebff}.message strong{display:block;color:#344cf5;font-size:12px;margin-bottom:10px}.message-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px;color:#45516a}.message a{color:#344cf5}.hidden{display:none!important}.icon{border:0;background:transparent;color:#7a859a;font-size:24px}.menu,.mobile{display:none}dialog{border:0;border-radius:20px;padding:27px;width:min(420px,calc(100% - 32px));box-shadow:0 20px 80px #17255533;color:#111b37}dialog::backdrop{background:#111a36a6}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top .icon{font-size:25px}dialog h2{font-size:25px;letter-spacing:-1px;margin:25px 0 7px}dialog p{font-size:13px;color:#7b8598;line-height:1.5}dialog form{display:grid;gap:14px;margin-top:25px}dialog label{display:grid;gap:6px;color:#46536c;font-size:12px;font-weight:650}dialog input{border:1px solid #dce2ef;border-radius:9px;padding:12px;color:#182440}.dialog-submit{padding:13px}.switch-auth{border:0;background:none;color:#344cf5;margin-top:19px;font-size:12px}.auth-error{color:#c73a4a;margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:800px){.sidebar{position:fixed;z-index:3;left:0;top:0;bottom:0;transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 40px #1320451a}.sidebar.open{transform:translateX(0)}.mobile,.menu{display:inline-block}.header{height:75px;padding:0 18px}.header-left,.auth-actions{gap:5px}.logo img{width:96px}.small{padding:10px;font-size:11px}.text-button{font-size:11px;padding:7px}.workspace{padding:40px 20px}.hero h1{letter-spacing:-1.7px}.hero p{font-size:14px}.composer-footer span{max-width:220px}.auth-actions #userName{display:none}}@media(max-width:420px){.header{padding:0 10px}.logo img{width:80px}.language{gap:4px}.language button{font-size:10px}.modes button{flex:1 1 45%;text-align:left}.workspace{padding:30px 15px}}

/* Header and account menu */
.language button{font-size:15.6px}
.logo img{width:131.2px;mix-blend-mode:normal}
.user-menu{position:relative;text-align:right}
.user-menu-toggle{border:0;background:transparent;padding:0;cursor:pointer;color:#3049f7;font-family:'Arial Rounded MT Bold','Trebuchet MS',system-ui,sans-serif;font-size:18px;font-weight:800;letter-spacing:-.5px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-menu-popup{position:absolute;right:0;top:100%;z-index:4;padding-top:8px;visibility:hidden;opacity:0;transition:opacity .15s}
.user-menu:hover .user-menu-popup,.user-menu:focus-within .user-menu-popup,.user-menu.is-open .user-menu-popup{visibility:visible;opacity:1}
.user-menu-popup button{background:#fff;border:1px solid #e5e9f4;border-radius:10px;box-shadow:0 8px 24px #26385a1a;min-width:100px;text-align:left}
.side-icon{width:26px;height:26px;object-fit:contain;vertical-align:middle;margin-right:8px}
.hero h1{margin-top:0}

/* A left-hand resize grip keeps the send button unobstructed. */
.textarea-wrap{position:relative;padding-bottom:16px}
.composer textarea{display:block;resize:none}
.resize-handle{position:absolute;bottom:0;left:0;width:20px;height:16px;padding:0;border:0;background:transparent;cursor:ns-resize;touch-action:none}
.resize-handle::after{content:'';position:absolute;bottom:3px;left:3px;width:10px;height:10px;background:repeating-linear-gradient(135deg,transparent 0 3px,#98a4b6 3px 4px,transparent 4px 6px);clip-path:polygon(0 100%,100% 0,100% 100%)}
.modes button{display:inline-flex;align-items:center;gap:7px}
.modes button img{width:27px;height:27px;object-fit:contain;flex:none}
.modes button span:first-child{color:inherit;margin:0;font-size:inherit}

/* Markdown reports */
.message-content{white-space:normal;line-height:1.75}
.message.user .message-content{white-space:pre-wrap}
.message-content > :first-child{margin-top:0}
.message-content > :last-child{margin-bottom:0}
.message-content h1,.message-content h2,.message-content h3,.message-content h4{color:#202d4a;line-height:1.3;margin:1.5em 0 .55em;letter-spacing:-.02em}
.message-content h1{font-size:1.5em}.message-content h2{font-size:1.3em}.message-content h3{font-size:1.15em}.message-content h4{font-size:1em}
.message-content p{margin:.8em 0}.message-content ul,.message-content ol{padding-left:1.5em;margin:.8em 0}.message-content li+li{margin-top:.3em}
.message-content strong{display:inline;margin:0;color:inherit;font-size:inherit;font-weight:700}
.message-content blockquote{margin:1em 0;padding:.1em 1em;border-left:3px solid #a9b5ff;color:#65728c;background:#f7f8ff}
.message-content pre{overflow:auto;background:#f2f4fa;border-radius:9px;padding:14px}
.message-content code{font-family:Consolas,monospace;font-size:.9em;background:#f2f4fa;border-radius:4px;padding:.1em .3em}
.message-content pre code{padding:0;background:transparent}
.message-content table{display:block;overflow-x:auto;border-collapse:collapse;margin:1em 0;max-width:100%}
.message-content th,.message-content td{padding:8px 12px;border:1px solid #e3e8f2;text-align:left;vertical-align:top}
.message-content th{background:#f4f6ff;color:#273657}.message-content hr{border:0;border-top:1px solid #e5e9f4;margin:1.5em 0}
@media(max-width:800px){.logo img{width:100px}.auth-actions #userName{display:block}.user-menu-toggle{font-size:16px;max-width:120px}}
@media(max-width:420px){.logo img{width:83.2px}.language button{font-size:13px}.user-menu-toggle{font-size:14px;max-width:75px}.modes button{min-width:0}}

/* Align the new request button and show research progress in the conversation. */
.new-chat{display:flex;align-items:center;gap:8px}
.new-chat span:first-child{display:block;flex:none;line-height:1;margin:0}
.research-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 20px;color:#69758e;font-size:13px;line-height:1.6}
.research-loading img{display:block;width:140px;height:140px;object-fit:contain}
.research-loading p{margin:10px 0 0;max-width:380px}

/* Registration feedback */
dialog label .field-error{color:#c73a4a;font-size:12px;font-weight:500;line-height:1.45}
dialog label .field-error:empty{display:none}
dialog input[aria-invalid="true"]{border-color:#d75b68}
dialog button:disabled{opacity:.6;cursor:wait}
.registration-success{margin-top:24px;padding:26px 20px 22px;text-align:center;border:1px solid #c6ebd5;border-radius:15px;background:#effbf3}
.success-check{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border-radius:50%;background:#21a45c;color:#fff;font-size:36px;line-height:1;font-weight:700}
dialog .registration-success h2{margin:0;font-size:23px;letter-spacing:-.6px;color:#184d2f}
dialog .registration-success p{margin:10px auto 20px;max-width:280px;color:#47745a}
.success-login{min-width:130px;padding:12px 24px}

.composer-notes{padding-right:12px;line-height:1.45}
.keyboard-hint{display:block;margin-top:3px}

/* Brand and mobile sidebar controls */
.sidehead{display:flex;gap:8px;margin-bottom:24px}
.side-logo{display:block;width:142px;max-width:100%;height:auto;mix-blend-mode:multiply}
.dialog-logo{display:block;width:120px;height:auto}
@media(max-width:800px){.sidehead{justify-content:space-between}}
