:root{--cream:#f5f3ed;--paper:#fffefa;--ink:#302b36;--muted:#988d9f;--purple:#85709f;--purple-dark:#735d8f;--lilac:#eee7f4;--line:#e8e1e9;--green:#7b9376;--font:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:13px/1.6 var(--font)}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ad96ca;outline-offset:3px}input,textarea,select{display:block;width:100%;border:1px solid #e3dbe8;border-radius:8px;background:#fffdfa;padding:10px 11px}textarea{resize:vertical;line-height:1.7}input::placeholder,textarea::placeholder{color:#b1a5ba}label{display:block;font-size:11px;font-weight:500;color:#8a7896;margin:14px 0 6px}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}.eyebrow{font-size:8px;letter-spacing:1.65px;color:#9c8daa;font-weight:600}.button{border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 15px;font-size:11px;font-weight:500;transition:background .15s}.button-primary{background:var(--purple);color:#fff}.button-primary:hover:not(:disabled){background:var(--purple-dark)}.button-wide{width:100%;justify-content:space-between;padding:13px 15px}.button-outline{border:1px solid #ded4e6;color:#8c73a0;background:#fbf8fc;white-space:nowrap;font-size:10px}.button-outline>span{font-size:17px;line-height:1}.button-outline:hover:not(:disabled){background:#eee7f5}.button-quiet{color:#9d8ca8;font-size:10px;background:transparent}.button-quiet:hover{background:#ede7f0}.text-button{padding:0;font-size:10px;color:#8b6ca3;display:inline-flex;align-items:center;gap:5px}.text-button:hover{text-decoration:underline}.topbar{height:93px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 42px;border-bottom:1px solid #e6dfe6;max-width:1920px;margin:0 auto}.brand{display:flex;gap:12px;text-decoration:none;color:var(--ink);font-size:28px;font-weight:500;letter-spacing:-1px;line-height:1.1;align-items:center}.brand-mark{background:#927ba8;color:#f7f1fb;border-radius:12px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:37px;letter-spacing:-4px;padding:0 5px 5px 0}.brand-mark>span{color:#ccbbdc}.brand-subtitle{display:block;color:#a799af;font-size:7px;font-weight:500;letter-spacing:1.8px;margin-top:8px}.topbar-status{display:flex;gap:7px;align-items:center;color:#a598ae;font-size:8px;letter-spacing:1.15px}.status-dot{display:inline-block;width:5px;height:5px;background:var(--green);border-radius:50%;flex-shrink:0}.status-dot.offline{background:#c59b5c}.topbar-actions{display:flex;align-items:center;gap:22px}.help-icon{border:1px solid #baaaca;border-radius:50%;width:15px;height:15px;display:inline-flex;align-items:center;justify-content:center;font-size:9px}.logout-button{font-size:9px;color:#aaa0b1;border-left:1px solid #e3dce6;padding:0 0 0 22px}.logout-button:hover{color:#7b638f}.logout-button>span{margin-left:4px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 346px;max-width:1440px;margin:0 auto;height:calc(100dvh - 93px);min-height:630px}.chat-panel{min-width:0;display:flex;flex-direction:column;min-height:0;padding:37px 44px 0}.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:28px}.chat-heading h1{font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:400;letter-spacing:-.6px;line-height:1.3;margin:8px 0}.chat-heading h1>span{color:#a18bae}.chat-heading p:not(.eyebrow){color:#a698af;font-size:11px}.conversation-bar{display:flex;align-items:center;justify-content:space-between;border:1px solid #e6dee9;background:#fffdf8;border-radius:13px 13px 0 0;padding:16px 21px}.conversation-person{display:flex;align-items:center;gap:10px}.avatar{display:flex;align-items:center;justify-content:center;background:#e9e0f0;color:#aa92ba;width:35px;height:35px;border-radius:50%;font-family:Georgia,serif;font-size:19px}.conversation-person strong{display:block;color:#776382;font-size:12px;font-weight:500}.conversation-person span{display:block;color:#b2a4bc;font-size:9px;margin-top:1px}.conversation-person span span{display:inline}.mode-badge{background:#f0ebf5;border:1px solid #e7deef;color:#a08db2;font-size:8px;letter-spacing:.25px;border-radius:5px;padding:4px 7px}.chat-body{border-left:1px solid #e6dee9;border-right:1px solid #e6dee9;background:var(--paper);flex:1;min-height:200px;overflow:auto;padding:0 28px 20px;scroll-behavior:smooth}.welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:100%;padding:40px 15px 20px}.welcome-symbol{color:#b49bc4;font-size:34px;line-height:1;margin-bottom:22px}.welcome .eyebrow{font-size:7px;letter-spacing:1.4px;color:#b3a3be}.welcome h2{font-family:Georgia,serif;font-weight:400;font-size:31px;letter-spacing:-.7px;line-height:1.3;margin:14px 0}.welcome>p:not(.eyebrow){color:#aa9bb3;font-size:11px;line-height:1.9}.starter-messages{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:24px;max-width:470px}.starter-messages button{display:flex;gap:12px;align-items:center;color:#a08bae;font-size:9px;border:1px solid #e9e0ee;border-radius:7px;padding:8px 10px;background:#fcf9fd}.starter-messages button:hover{background:#f0e9f7;color:#8a709d}.starter-messages button>span{color:#b8a7c5;font-size:11px}.messages{padding-top:14px}.day-divider{display:flex;align-items:center;gap:14px;color:#c0b3c9;font-size:8px;letter-spacing:.4px;margin:9px 0 20px}.day-divider:before,.day-divider:after{content:"";height:1px;background:#f0e9f2;flex:1}.message-row{max-width:80%;display:flex;flex-direction:column;align-items:flex-start;margin:20px 0}.message-row.outgoing{margin-left:auto;align-items:flex-end}.message-bubble{background:#f1ebf6;border:1px solid #e9e0ef;border-radius:12px 12px 12px 3px;padding:12px 15px;white-space:pre-wrap;overflow-wrap:anywhere;color:#8c729f;font-size:12px;line-height:1.7}.outgoing .message-bubble{background:#f4f1eb;border-color:#eae5dd;color:#958879;border-radius:12px 12px 3px 12px}.message-meta{font-size:8px;color:#b9abc3;display:flex;gap:8px;margin:6px 3px 0}.outgoing .message-meta{color:#bbae9f}.typing{display:flex;align-items:center;gap:9px;color:#b2a0bf;font-size:10px;padding:5px 0 15px}.typing-dots{display:flex;gap:3px;align-items:center;background:#f0e9f6;border-radius:9px;padding:10px}.typing-dots i{height:3px;width:3px;border-radius:50%;background:#b3a0c2;animation:pulse 1.2s infinite}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,70%,100%{opacity:.4;transform:translateY(0)}35%{opacity:1;transform:translateY(-2px)}}.response-error{border:1px solid #ecd7c2;background:#fff7ec;border-radius:9px;padding:13px;margin:16px 0;color:#a48056;font-size:11px}.response-error .text-button{color:#a48056;margin-top:7px}.message-composer{background:var(--paper);padding:15px 20px 13px;border:1px solid #e6dee9;border-top-color:#eee6f0;border-radius:0 0 13px 13px}.composer-label{font-size:7px;letter-spacing:1.25px;color:#b3a1bf;margin:0 0 9px}.composer-input{position:relative;background:#fdfafd;border:1px solid #e8deed;border-radius:8px;padding:8px 45px 8px 11px}.composer-input:focus-within{outline:2px solid #baa1cf;outline-offset:1px}.composer-input textarea{border:0;background:transparent;resize:none;font-size:12px;padding:1px 0;min-height:43px;max-height:150px;color:#8c749d}.composer-input textarea:focus-visible{outline:0}.send-button{position:absolute;right:10px;bottom:10px;width:29px;height:29px;background:#9980ae;color:white;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:21px}.send-button:hover:not(:disabled){background:#816694}.composer-bottom{display:flex;justify-content:space-between;gap:10px;margin-top:8px;color:#c0b1ca;font-size:7px}.chat-footer{display:flex;gap:6px;align-items:center;justify-content:center;padding:17px 10px 20px;color:#b7a8c1;font-size:8px}.chat-footer>span{font-size:13px;color:#b19cc1}.settings-panel{background:#f1edf4;border-right:1px solid #e8dfed;border-left:1px solid #e8dfed;display:flex;flex-direction:column;min-height:0}.settings-heading{padding:33px 27px 25px;display:flex;gap:10px;align-items:center;border-bottom:1px solid #e5dce9}.settings-heading>span{font-size:26px;color:#b39bc4}.settings-heading h2{font-family:Georgia,serif;font-size:23px;font-weight:400;line-height:1.3;color:#8c739f;letter-spacing:-.4px}.settings-heading p{color:#b6a3c2;font-size:9px;margin-top:4px}.settings-content{padding:25px 27px 28px;overflow:auto;flex:1;min-height:0}.setting-section{padding-bottom:24px;margin-bottom:23px;border-bottom:1px solid #e3d8e9}.section-heading{display:flex;align-items:center;gap:8px;margin-bottom:15px}.section-number{font-size:7px;letter-spacing:.5px;color:#b6a0c6;border:1px solid #dccde7;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;height:17px;min-width:21px}.section-heading h3{font-size:11px;font-weight:500;color:#947ba6}.mode-options{display:flex;flex-direction:column;gap:8px}.mode-option{width:100%;border:1px solid #e1d7e8;border-radius:9px;display:flex;align-items:center;gap:9px;padding:11px;background:#f8f5fa;text-align:left}.mode-option:hover{background:#eee5f5}.mode-option.is-selected{border-color:#cbb9db;background:#ece3f4;box-shadow:0 0 0 1px #dacee552}.mode-radio{width:10px;height:10px;border:1px solid #cbb7db;border-radius:50%;position:relative;flex-shrink:0}.is-selected .mode-radio{border-color:#a98abd}.is-selected .mode-radio:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:#a58ab9;top:2px;left:2px}.mode-option strong{display:block;font-size:10px;color:#9c7eb0;font-weight:500}.mode-option small{display:block;font-size:8px;color:#baa6c7;margin-top:2px}.mode-tag{font-size:6px;letter-spacing:.6px;color:#b19ac2;margin-left:auto;background:#e6dbef;border:1px solid #dccde7;border-radius:3px;padding:2px 4px}.mode-description{font-size:9px;color:#b09abd;line-height:1.8;margin-top:12px}.api-settings{margin-top:17px;padding-top:4px;border-top:1px dashed #ddcfe7}.api-settings input{font-size:10px;background:#fcf9fe;padding:9px}.api-key-line{display:flex;justify-content:space-between;align-items:center;font-size:8px;color:#b19cbf;margin-top:9px;gap:8px}.api-key-line .text-button{font-size:8px}.api-key-line.has-key{color:#87967b}.api-settings label{font-size:9px;color:#a68cb8}.label-note{font-size:8px;color:#baa6c8;font-weight:400}.small-muted{font-size:9px;color:#b49cc2;line-height:1.8;margin-top:10px}.settings-content select{font-size:10px;color:#a58bb6;background:#f9f5fc;padding:10px;border-color:#dbcee4}.profile-summary{display:flex;align-items:center;gap:10px}.profile-monogram{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#e5d8ef;color:#b192c5;font-size:30px;line-height:1;font-family:Georgia,serif;letter-spacing:-3px;padding-right:3px;padding-bottom:5px}.profile-summary strong{display:block;font-size:11px;color:#a187b2;font-weight:500}.profile-summary span{display:block;font-size:8px;color:#baa4ca;margin-top:2px}details{margin-top:16px}summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;color:#b49bc4;font-size:9px;padding:8px 0;border-top:1px solid #e3d7eb}summary::-webkit-details-marker{display:none}summary span{font-size:13px}details[open] summary span{transform:rotate(45deg)}.profile-fields{padding-top:1px}.profile-fields input,.profile-fields textarea{font-size:10px;background:#faf7fc;padding:8px 9px}.profile-fields label{font-size:9px;color:#ac91be}.settings-content>.button-primary{background:#a38ab6;font-size:10px;padding:12px}.settings-content>.button-primary:hover:not(:disabled){background:#8d72a1}.settings-note{font-size:8px;color:#b7a1c5;text-align:center;margin-top:9px;min-height:15px}.settings-note.is-dirty{color:#a184b4}.fresh-start{display:flex;gap:9px;color:#b6a2c4;font-size:8px;line-height:1.9;margin-top:22px}.fresh-start>span{font-size:23px;color:#b59bc7;line-height:1.2}.fresh-start strong{font-size:8px;font-weight:400;color:#b29abd}.settings-footer{font-size:6px;letter-spacing:1px;padding:15px 10px;text-align:center;border-top:1px solid #e5dbe9;color:#baa7c8}.settings-footer>span{margin:0 4px}.login-screen{min-height:100dvh;display:grid;grid-template-columns:43% 57%;background:var(--cream)}.login-decoration{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:75px 15%;background:#e8deee;position:relative;overflow:hidden}.login-decoration>span{font-family:Georgia,serif;color:#aa91bc;font-size:165px;line-height:1;letter-spacing:-19px;margin-left:-9px}.login-decoration>p{font-family:Georgia,serif;color:#9a7eae;font-size:34px;line-height:1.4;letter-spacing:-.8px;margin-top:24px;white-space:nowrap}.decoration-line{height:1px;width:80px;background:#cbb6d9;margin:35px 0 25px}.login-decoration>small{font-size:7px;letter-spacing:1.5px;color:#b19bc1;white-space:nowrap}.login-content{display:flex;align-items:center;justify-content:center;padding:50px 30px}.login-card{width:100%;max-width:330px}.small-wordmark{font-size:29px;color:#8a729b;letter-spacing:-1px;line-height:1;margin-bottom:55px;font-weight:500}.small-wordmark span{color:#baa4c8;margin-left:3px}.login-card h1{font-family:Georgia,serif;font-size:47px;letter-spacing:-1.7px;line-height:1.16;font-weight:400;color:#715b81;margin:13px 0 19px}.login-intro{font-size:12px;color:#b09bbc;line-height:1.9;max-width:290px}.login-card form{margin-top:30px}.login-card label{font-size:10px;color:#ad96bc;margin-top:18px}.login-card input{background:#fcfaf7;color:#8e759f;font-size:12px;border-color:#e2d8e9;padding:12px}.login-card .button-primary{margin-top:25px;background:#a18ab1;font-size:11px}.login-card .button-primary:hover:not(:disabled){background:#8d729f}.private-note{font-size:8px;color:#bba7c7;display:flex;gap:7px;align-items:center;justify-content:center;margin-top:25px}.private-note>span{font-size:14px}.form-error{font-size:11px;color:#b58173;background:#faeee7;border:1px solid #eacfc2;border-radius:7px;padding:10px;margin-top:13px}.login-card #session-retry{margin-top:15px}.dialog{border:1px solid #e4d8ec;border-radius:16px;box-shadow:0 30px 100px #35243e33;background:var(--paper);width:min(480px,calc(100% - 32px));padding:29px;color:#9f87b1}.dialog::backdrop{background:#3a2a4644;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.dialog-heading h2{font-family:Georgia,serif;font-weight:400;font-size:26px;color:#8b719d;line-height:1.3}.close-button{display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f0e8f5;color:#b097c1;width:28px;height:28px;font-size:19px;flex-shrink:0}.dialog>p{font-size:12px;color:#ad97bc;line-height:1.8}.help-steps{padding-left:20px;margin:24px 0;color:#b298c3}.help-steps li{padding-left:8px;margin:17px 0}.help-steps strong{display:block;color:#a087b1;font-size:11px;font-weight:500}.help-steps span{display:block;color:#b6a0c4;font-size:10px;line-height:1.8;margin-top:4px}.help-callout{background:#eee6f5;color:#a88ebc;border:1px solid #e5daed;border-radius:8px;padding:13px;font-size:10px;line-height:1.8;margin:21px 0}.dialog>.button-primary{background:#a18ab1}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);border:1px solid #a18ab5;background:#82708f;color:#fffafc;font-size:11px;border-radius:9px;padding:12px 18px;box-shadow:0 10px 35px #46394d26;max-width:min(520px,calc(100% - 32px));z-index:20}.toast.is-error{background:#ab817a;border-color:#bc8f86}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#dfd2e8;border-radius:8px}::-webkit-scrollbar-track{background:transparent}
@media(min-width:1500px){.workspace{grid-template-columns:minmax(0,1fr) 370px}.chat-panel{padding-left:58px;padding-right:58px}.chat-heading h1{font-size:34px}.settings-heading{padding-left:31px;padding-right:31px}.settings-content{padding-left:31px;padding-right:31px}.chat-body{padding-left:37px;padding-right:37px}.welcome h2{font-size:35px}.welcome>p:not(.eyebrow){font-size:12px}.starter-messages button{font-size:10px}}
@media(max-width:1050px){.topbar{padding:0 27px}.topbar-actions{gap:10px}.logout-button{padding-left:13px}.workspace{grid-template-columns:minmax(0,1fr) 310px}.chat-panel{padding:30px 25px 0}.chat-heading{flex-direction:column;align-items:flex-start;gap:16px;padding-bottom:23px}.chat-heading h1{font-size:29px}.chat-heading .button-outline{font-size:9px;padding:8px 11px}.settings-heading{padding-left:23px;padding-right:23px}.settings-content{padding-left:23px;padding-right:23px}.chat-body{padding-left:20px;padding-right:20px}.message-row{max-width:88%}.topbar-status{font-size:7px;letter-spacing:.8px}.brand{font-size:26px}.brand-mark{width:40px;height:40px}}
@media(max-width:760px){.topbar{height:80px;padding:0 22px}.topbar-status{display:none}.workspace{height:auto;min-height:calc(100dvh - 80px);grid-template-columns:minmax(0,1fr) 280px}.chat-panel{padding:24px 20px 0;min-height:700px;height:calc(100dvh - 80px)}.chat-heading h1{font-size:25px}.chat-heading .eyebrow{font-size:6px}.chat-heading p:not(.eyebrow){font-size:10px}.conversation-bar{padding:13px 14px;gap:10px}.conversation-person{gap:7px}.avatar{width:29px;height:29px;font-size:16px}.conversation-person strong{font-size:11px}.conversation-person span{font-size:7px}.mode-badge{font-size:6px;padding:3px 5px}.welcome{padding-left:0;padding-right:0}.welcome h2{font-size:27px}.welcome .eyebrow{font-size:6px;letter-spacing:1px}.welcome>p:not(.eyebrow){font-size:10px}.welcome>p br{display:none}.starter-messages{margin-top:20px;gap:7px}.starter-messages button{font-size:8px}.settings-heading{padding:28px 19px 23px}.settings-heading h2{font-size:21px}.settings-heading p{font-size:8px}.settings-content{padding:24px 19px}.section-heading h3{font-size:10px}.mode-option{padding:9px;gap:7px}.mode-option strong{font-size:9px}.mode-option small{font-size:7px}.mode-tag{font-size:5px}.message-composer{padding:13px 13px 12px}.composer-label{font-size:6px;letter-spacing:.6px}.composer-bottom{font-size:6px}.composer-bottom>span:last-child{display:none}.chat-footer{font-size:7px;padding-left:0;padding-right:0}.chat-body{padding:0 15px 15px}.message-row{max-width:94%}.message-bubble{font-size:11px;padding:10px 12px}.message-meta{font-size:7px}.brand{gap:9px;font-size:24px}.brand-subtitle{font-size:6px;letter-spacing:1.2px}.topbar .button-quiet{padding:9px 6px;font-size:8px}.logout-button{font-size:8px}.login-screen{grid-template-columns:37% 63%}.login-decoration{padding:40px 14%}.login-decoration>span{font-size:120px}.login-decoration>p{font-size:25px}.login-decoration>small{font-size:5px;letter-spacing:1px}.login-content{padding:35px}.login-card h1{font-size:43px}}
@media(max-width:590px){.topbar{height:73px;padding:0 17px;gap:8px}.brand{font-size:24px}.brand-mark{width:35px;height:35px;font-size:30px;border-radius:10px}.brand-subtitle{font-size:5px;letter-spacing:1px;margin-top:7px}.topbar-actions{gap:5px}.topbar .button-quiet{font-size:0;gap:0;padding:7px}.help-icon{font-size:9px;width:17px;height:17px}.logout-button{border:0;font-size:8px;padding-left:5px}.workspace{display:flex;flex-direction:column;min-height:calc(100dvh - 73px)}.chat-panel{padding:26px 17px 0;min-height:650px;max-height:850px;height:calc(100dvh - 73px)}.chat-heading{gap:14px;padding-bottom:21px}.chat-heading .eyebrow{font-size:7px;letter-spacing:1.3px}.chat-heading h1{font-size:29px;margin:7px 0}.chat-heading p:not(.eyebrow){font-size:11px}.chat-heading .button-outline{font-size:10px;padding:8px 11px}.conversation-bar{padding:13px 17px}.avatar{width:32px;height:32px;font-size:18px}.conversation-person strong{font-size:12px}.conversation-person span{font-size:8px}.mode-badge{font-size:7px;padding:3px 6px}.chat-body{padding:0 20px 15px}.welcome{padding-top:35px;padding-bottom:20px}.welcome-symbol{font-size:30px;margin-bottom:20px}.welcome .eyebrow{font-size:6px;letter-spacing:1.1px}.welcome h2{font-size:29px}.welcome>p:not(.eyebrow){font-size:11px;max-width:260px}.starter-messages button{font-size:9px}.message-bubble{font-size:12px}.message-meta{font-size:8px}.message-composer{padding:13px 15px 12px}.composer-label{font-size:7px;letter-spacing:.8px}.composer-bottom{font-size:6px}.chat-footer{font-size:7px;padding-top:14px;padding-bottom:16px}.settings-panel{border-top:1px solid #e1d5e9;border-left:0;border-right:0}.settings-heading{padding:25px 25px 20px}.settings-heading h2{font-size:25px}.settings-heading p{font-size:10px}.settings-content{padding:25px;overflow:visible}.section-heading h3{font-size:12px}.section-number{font-size:8px;height:19px;min-width:23px}.mode-option{padding:13px;gap:10px}.mode-option strong{font-size:12px}.mode-option small{font-size:10px}.mode-tag{font-size:7px;padding:3px 6px}.mode-description,.small-muted{font-size:11px}.settings-content select{font-size:12px;padding:12px}.profile-summary strong{font-size:13px}.profile-summary span{font-size:10px}.profile-monogram{width:40px;height:40px;font-size:34px}.profile-fields input,.profile-fields textarea,.api-settings input{font-size:12px;padding:10px}.profile-fields label,.api-settings label{font-size:11px}.label-note{font-size:9px}.api-key-line{font-size:10px}.api-key-line .text-button{font-size:10px}summary{font-size:11px;padding:10px 0}.settings-content>.button-primary{font-size:12px;padding:14px}.settings-note{font-size:10px;margin-top:11px}.fresh-start,.fresh-start strong{font-size:10px}.fresh-start{margin-top:25px}.settings-footer{font-size:7px;padding:17px}.login-screen{display:block;min-height:100dvh}.login-decoration{display:none}.login-content{min-height:100dvh;padding:35px 30px}.login-card{max-width:340px}.small-wordmark{margin-bottom:45px}.login-card h1{font-size:46px}.login-card .eyebrow{font-size:8px}.login-card label{font-size:12px}.login-card input{font-size:14px;padding:13px}.login-card .button-primary{font-size:13px;padding:14px}.private-note{font-size:9px}.login-intro{font-size:13px}.dialog{padding:23px}.dialog-heading h2{font-size:25px}.dialog>p{font-size:12px}.help-steps strong{font-size:12px}.help-steps span,.help-callout{font-size:11px}}
.workspace{grid-template-columns:218px minmax(0,1fr) 320px;max-width:1600px}.chat-panel{padding:31px 28px 0}.chat-heading{flex-direction:column;align-items:flex-start;gap:15px;padding-bottom:24px}.chat-heading h1{font-size:29px}.history-panel{display:flex;flex-direction:column;min-height:0;border-left:1px solid #e8e0e9;border-right:1px solid #e8e0e9;background:#f5f1f6}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:29px 19px 20px}.history-heading .eyebrow{font-size:6px;letter-spacing:1px;color:#9d8ca7}.history-heading h2{font-size:16px;font-weight:500;letter-spacing:-.3px;color:#7e698d;margin-top:7px}.history-heading h2>span{font-size:9px;color:#a28bad;border-radius:4px;padding:2px 5px;background:#e9e1ee;margin-left:4px}.history-refresh{color:#9b83ac;background:#ece4f2;height:27px;width:27px;border-radius:7px;font-size:20px;line-height:1;flex-shrink:0}.history-refresh:hover:not(:disabled){background:#e3d6ee}.history-search{width:calc(100% - 36px);margin:0 18px 17px;font-size:10px;padding:9px 10px;background:#fcf8fe;border-color:#e4d8ec}.history-list{flex:1;overflow:auto;min-height:0;padding:0 9px 18px}.history-empty{font-size:11px;color:#9e89aa;line-height:1.9;padding:17px 11px}.history-item{display:block;text-align:left;width:100%;border:1px solid transparent;border-radius:10px;padding:12px 11px;margin-bottom:5px}.history-item:hover:not(:disabled){background:#ede5f3}.history-item.is-selected{background:#eae0f2;border-color:#dccce7}.history-item-top{display:flex;gap:7px;align-items:center;min-width:0}.history-item-top>strong{display:block;font-size:11px;font-weight:500;color:#80688f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-avatar{height:24px;width:24px;border-radius:50%;background:#dfd2ea;color:#a286b6;font-size:10px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.history-date{display:block;font-size:8px;color:#a38aae;margin:7px 0 3px;letter-spacing:.15px}.history-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#9d86aa}.history-footer{display:flex;gap:7px;align-items:flex-start;border-top:1px solid #e5dbe9;padding:18px 18px 20px;font-size:8px;line-height:1.8;color:#a28cad}.history-footer>span{font-size:14px;line-height:1.4;color:#a58db6}.welcome>.button-primary{margin-top:22px;background:#a089b2;font-size:10px}.dialog-intro{font-size:12px;color:#a088b1;line-height:1.9;margin-bottom:20px}.dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:24px}.dialog label{font-size:11px;color:#9e83b1}.dialog input{font-size:12px;background:#fcf8fe;color:#8a709c}.eyebrow{color:#8a7797}.chat-heading p:not(.eyebrow){color:#8c789b}.conversation-person strong{color:#685075}.conversation-person span{color:#9780a7}.welcome>p:not(.eyebrow){color:#8e789e}.welcome .eyebrow{color:#9a84a9}.starter-messages button{color:#886a9e}.composer-label{color:#9176a3}.composer-input textarea{color:#725681}.composer-input textarea::placeholder{color:#a28aaf}.composer-bottom{color:#9f88ac}.chat-footer{color:#927a9f}.settings-heading h2{color:#7d5d93}.settings-heading p{color:#947da2}.section-heading h3{color:#7e5f94}.mode-option strong{color:#85619d}.mode-option small{color:#9c80af}.mode-description,.small-muted{color:#9275a5}.settings-content select{color:#8b6a9f}.profile-summary strong{color:#87659d}.profile-summary span{color:#9a7aad}.settings-note{color:#967ba8}.fresh-start,.fresh-start strong{color:#997eaa}.settings-footer{color:#9e87ad}.api-key-line{color:#977aa9}.api-settings label,.profile-fields label{color:#9372a8}.label-note{color:#a18ab0}summary{color:#9878ae}.login-intro{color:#9b83aa}.login-card label{color:#8f709f}.private-note{color:#9e84ae}.login-card .eyebrow{color:#967aa6}.message-meta{color:#9b80ad}.outgoing .message-meta{color:#9d8a74}.message-bubble{color:#79588e}.outgoing .message-bubble{color:#87735e}.mode-badge{color:#8d70a1}.help-steps span,.help-callout{color:#9574aa}.help-steps strong{color:#806094}.dialog>p{color:#9577a7}
@media(min-width:1500px){.workspace{grid-template-columns:240px minmax(0,1fr) 345px}.chat-panel{padding:36px 37px 0}.chat-heading h1{font-size:33px}.chat-body{padding-left:29px;padding-right:29px}}
@media(max-width:1120px){.workspace{grid-template-columns:193px minmax(0,1fr) 296px}.history-heading{padding-left:14px;padding-right:14px}.history-heading .eyebrow{font-size:5px}.history-search{width:calc(100% - 26px);margin-left:13px;margin-right:13px}.history-list{padding-left:6px;padding-right:6px}.history-item{padding:11px 8px}.chat-panel{padding:29px 20px 0}.chat-heading h1{font-size:26px}.chat-heading .eyebrow{font-size:6px}.chat-heading p:not(.eyebrow){font-size:10px}.settings-content{padding-left:21px;padding-right:21px}.settings-heading{padding-left:21px;padding-right:21px}.welcome h2{font-size:27px}.welcome .eyebrow{font-size:6px}.welcome>p:not(.eyebrow){font-size:10px}.conversation-bar{padding:13px 15px}.conversation-person span{font-size:8px}.mode-badge{font-size:6px}.chat-body{padding-left:17px;padding-right:17px}.starter-messages button{font-size:8px}.history-footer{padding-left:14px;padding-right:14px}}
@media(max-width:920px){.workspace{grid-template-columns:minmax(0,1fr) 290px;grid-template-rows:auto minmax(650px,calc(100dvh - 260px));height:auto;min-height:calc(100dvh - 80px)}.history-panel{grid-column:1/-1;border-left:0;border-right:0;border-bottom:1px solid #e8e0e9;max-height:210px}.history-heading{padding:16px 23px 11px}.history-heading .eyebrow{display:none}.history-heading h2{margin:0;font-size:14px}.history-search{position:absolute;right:66px;width:190px;margin:14px 0 0;font-size:9px;padding:7px 9px}.history-list{display:flex;gap:6px;padding:0 16px 13px;overflow-x:auto;overflow-y:hidden;flex:none}.history-item{width:180px;min-width:180px;padding:9px 10px;margin:0}.history-item-top>strong{font-size:10px}.history-date{font-size:7px;margin-top:5px}.history-preview{font-size:8px}.history-footer{display:none}.history-empty{padding:6px 7px;font-size:10px}.chat-panel{height:auto;min-height:650px;padding-top:27px}.chat-heading h1{font-size:29px}.chat-heading .eyebrow{font-size:7px}.welcome h2{font-size:30px}.welcome>p:not(.eyebrow){font-size:11px}.conversation-person strong{font-size:12px}.conversation-person span{font-size:8px}.mode-badge{font-size:7px}.starter-messages button{font-size:9px}.chat-footer{font-size:7px}.topbar-status{display:none}.topbar .button-quiet{font-size:9px}.settings-panel{min-height:650px}}
@media(max-width:650px){.workspace{display:flex;flex-direction:column;min-height:calc(100dvh - 73px)}.history-panel{max-height:185px}.history-heading{padding:14px 18px 10px}.history-heading h2{font-size:13px}.history-search{width:145px;right:60px;margin-top:12px;font-size:9px;padding:7px 8px}.history-list{padding:0 11px 12px}.history-item{min-width:165px;width:165px}.chat-panel{padding:24px 17px 0;height:calc(100dvh - 73px);min-height:650px;max-height:850px}.chat-heading h1{font-size:29px}.chat-heading p:not(.eyebrow){font-size:11px}.settings-panel{border-top:1px solid #e1d5e9;border-left:0;border-right:0;min-height:0}.settings-heading{padding:25px 25px 20px}.settings-heading h2{font-size:25px}.settings-heading p{font-size:10px}.settings-content{padding:25px;overflow:visible}.section-heading h3{font-size:12px}.mode-option strong{font-size:12px}.mode-option small{font-size:10px}.mode-description,.small-muted{font-size:11px}.settings-content select{font-size:12px}.profile-summary strong{font-size:13px}.profile-summary span{font-size:10px}.settings-note{font-size:10px}.fresh-start,.fresh-start strong{font-size:10px}.welcome>.button-primary{font-size:11px}.dialog-actions{gap:7px}.dialog-actions .button{font-size:10px}.dialog input{font-size:13px}}
.bar-actions{display:flex;align-items:center;gap:11px}.export-button{font-size:8px;color:#9d83af;white-space:nowrap}.message-tags{display:flex;flex-wrap:wrap;gap:5px;margin:5px 2px 0}.message-tag{display:inline-block;font-size:7px;line-height:1.4;padding:3px 5px;color:#967aa7;border:1px solid #e9dfef;background:#faf6fc;border-radius:4px}.message-tag.tag-api{color:#7e8f76;border-color:#dce6d7;background:#f3f7f0}.response-error:not([hidden]){animation:none}.dialog .dialog-intro{color:#9577a7}@media(max-width:1120px){.bar-actions{gap:6px}.export-button{font-size:7px}.mode-badge{font-size:6px}.conversation-person span{font-size:7px}}@media(max-width:650px){.bar-actions{gap:9px}.export-button{font-size:8px}.mode-badge{font-size:7px}.conversation-person span{font-size:8px}.message-tag{font-size:8px;padding:3px 6px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Readable controls and a conversation that fits shorter laptop screens. */
.eyebrow{font-size:9px;letter-spacing:1.2px;color:#776486}.button{font-size:12px}.history-heading .eyebrow{font-size:8px}.history-item-top>strong{font-size:12px}.history-date{font-size:10px;color:#806b8f}.history-preview,.history-empty{font-size:11px;color:#806b8f}.history-footer{font-size:10px;color:#806b8f}.history-search{font-size:12px}.chat-heading p:not(.eyebrow){font-size:12px}.conversation-person strong{font-size:13px}.conversation-person span{font-size:10px;color:#806b8f}.mode-badge{font-size:10px}.message-bubble{font-size:14px;color:#50365f}.outgoing .message-bubble{color:#594633}.message-meta{font-size:10px;color:#80668f}.outgoing .message-meta{color:#806d56}.message-meta time{white-space:nowrap}.composer-label{font-size:9px}.composer-input textarea{font-size:14px}.composer-bottom{font-size:9px}.chat-footer{font-size:10px}.section-heading h3{font-size:12px}.mode-option strong{font-size:12px}.mode-option small{font-size:10px}.mode-description,.small-muted{font-size:11px;color:#79638b}.settings-content select{font-size:12px;color:#674d7a}.profile-summary strong{font-size:13px}.profile-summary span,.settings-note,.fresh-start,.fresh-start strong{font-size:10px}.settings-content>.button-primary{font-size:12px}.api-settings label,.profile-fields label{font-size:11px;color:#735988}.label-note{font-size:10px}.profile-fields input,.profile-fields textarea,.api-settings input{font-size:12px}summary{font-size:11px}.api-key-line,.api-key-line .text-button{font-size:10px}.login-intro{font-size:14px;color:#80688e}.login-card label{font-size:12px;color:#735c82}.login-card input,.login-card .button-primary{font-size:14px}.private-note{font-size:11px;color:#80688e}.login-card .eyebrow{font-size:10px}.login-decoration>small{font-size:10px}.help-steps strong{font-size:13px}.help-steps span,.help-callout{font-size:12px}.metadata-badge{font-size:9px}.export-button{font-size:10px}
@media(min-width:921px){.topbar{height:76px}.workspace{height:calc(100dvh - 76px);min-height:0}.chat-panel{padding-top:22px}.chat-heading{gap:10px;padding-bottom:18px}.chat-heading h1{font-size:30px}.chat-body{min-height:80px}.chat-footer{padding-top:10px;padding-bottom:10px}.settings-heading{padding-top:24px;padding-bottom:20px}.settings-heading p{font-size:11px}}
@media(max-width:650px){.history-heading .eyebrow{display:none}.history-search{font-size:11px}.chat-heading h1{font-size:27px}.chat-body{min-height:120px}.composer-label{font-size:8px}.composer-bottom{font-size:8px}.chat-footer{font-size:9px}.message-bubble{font-size:14px}.mode-option strong{font-size:13px}.mode-option small{font-size:11px}.history-footer{display:none}}
@media(min-width:1200px) and (max-height:760px){.chat-heading{flex-direction:row;align-items:center}.chat-heading h1{font-size:26px}.chat-heading .eyebrow{font-size:8px}.chat-heading p:not(.eyebrow){font-size:11px}.chat-heading .button-outline{font-size:11px}.welcome{padding:18px 0}.welcome-symbol,.welcome .eyebrow{display:none}.welcome h2{font-size:26px;margin:0 0 6px}.welcome>p:not(.eyebrow){font-size:12px;margin:0 auto}.welcome>.button-primary{margin-top:12px}}
