@font-face{font-family:Montserrat;src:url('/static/montserrat-latin.woff2') format('woff2');font-weight:100 900;font-display:swap}@font-face{font-family:Montserrat;src:url('/static/montserrat-latin-ext.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0100-02FF,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{--primary:#A41570;--hover:#8A1260;--ink:#1f1f1f;--muted:#626262;--surface:#f7f7f7;--border:#d1d5db;--error:#a72639;--radius:8px;color-scheme:light;font-family:Montserrat,Arial,sans-serif;color:var(--ink);background:var(--surface)}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.58;cursor:wait}a{color:var(--primary);text-underline-offset:3px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--primary);outline-offset:4px}input:focus,textarea:focus{outline:2px solid var(--primary);outline-offset:2px}::selection{background:#efd3e5;color:#631045}input,textarea{caret-color:var(--primary);border:1px solid var(--border);border-radius:var(--radius);background:#fff;color:var(--ink);padding:13px;min-width:0}input::placeholder,textarea::placeholder{color:var(--muted)}*{scrollbar-width:thin;scrollbar-color:#b1a0ab #f7f7f7}h1,h2,p{margin:0}p{line-height:1.65}button{min-height:44px}svg{width:22px;height:22px}.primary{display:flex;align-items:center;justify-content:center;gap:15px;background:var(--primary);border:1px solid var(--primary);color:white;border-radius:var(--radius);padding:12px 20px;font-weight:600}.primary:hover{background:var(--hover)}.outline{border:1px solid var(--border);border-radius:var(--radius);background:white;padding:10px 14px;color:var(--ink);font-size:13px;font-weight:600}.outline:hover{border-color:var(--primary);color:var(--primary)}.text-button{border:0;background:transparent;color:var(--primary);padding:7px 0;font-size:13px;text-align:left}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.brand{font-size:32px;font-weight:600;letter-spacing:-1.2px;color:var(--primary);text-decoration:none;line-height:1}.brand span{display:block;font-size:12px;letter-spacing:3px;text-transform:uppercase;text-align:center;margin-top:7px;font-weight:500}.small{font-size:12px;color:var(--muted);line-height:1.6}.error{color:var(--error);font-size:13px;line-height:1.65}.error:empty{display:none}[hidden]{display:none!important}.login{max-width:1160px;min-height:100svh;margin:auto;padding:48px 64px;display:flex;flex-direction:column;align-items:flex-start}.login-content{max-width:520px;margin:auto 0;padding:60px 0}.login h1{font-size:42px;line-height:1.18;letter-spacing:-1.1px;text-wrap:balance;margin-bottom:22px}.login p{color:var(--muted);font-size:15px}.login form{margin:32px 0 20px;max-width:400px;display:grid;gap:12px}.login label{font-size:13px;font-weight:600}.login .small{font-size:12px}.login-footer{font-size:12px!important}.workspace{height:100dvh;display:grid;grid-template-columns:256px minmax(0,1fr)}.rail{padding:32px 24px;display:flex;flex-direction:column;gap:36px;border-right:1px solid var(--border);min-height:0}.rail>.brand{align-self:flex-start}.rail-heading h2{font-size:13px;margin-bottom:14px}.rail-heading .outline{width:100%;display:flex;justify-content:space-between}.rail nav{display:flex;flex-direction:column;gap:5px;overflow:auto;flex:1}.history-item{background:transparent;border:0;text-align:left;padding:12px 10px;border-radius:var(--radius);font-size:12px;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}.history-item:hover,.history-item.selected{background:#eee1e9;color:#7b1154}.empty-history{font-size:12px;color:var(--muted);line-height:1.7}.rail-footer{margin-top:auto;font-size:12px;color:var(--muted)}main{min-height:0;display:flex;flex-direction:column;background:#fff}.chat-header{padding:27px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--border)}.chat-header h1{font-size:19px;font-weight:600;letter-spacing:-.35px}.chat-header p{font-size:12px;color:var(--muted);margin-top:7px}.system-panel{margin:18px 40px 0;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-shrink:0;max-height:42vh;overflow:auto}.system-panel summary{padding:13px 16px;cursor:pointer;font-size:12px;font-weight:600;line-height:1.6}.system-panel summary .small{float:right;font-weight:400}.system-body{padding:0 16px 16px}.system-body>p{font-size:12px;margin:0 0 8px}.search-form{margin-top:15px}.search-form label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.search-form>div{display:flex;gap:8px}.search-form input{width:100%;font-size:13px;padding:9px 12px}.search-result{padding:13px 0;border-bottom:1px solid var(--border)}.search-result:last-child{border:0}.search-result a{font-size:13px;font-weight:600}.search-result p{font-size:12px;margin-top:5px;color:var(--muted)}.conversation{flex:1;min-height:0;overflow-y:auto;padding:26px 40px 32px;scroll-behavior:smooth}.welcome{max-width:600px;margin:20px auto 0}.assistant-symbol{display:grid;place-items:center;width:46px;height:46px;background:var(--primary);color:#fff;border-radius:50%;font-size:23px;font-weight:500;margin-bottom:23px}.welcome h2{font-size:29px;line-height:1.3;letter-spacing:-.7px;text-wrap:balance}.welcome>p{font-size:14px;color:var(--muted);margin-top:16px;max-width:60ch}.suggestions{margin-top:27px;display:flex;flex-direction:column;align-items:flex-start;gap:9px}.suggestions button{border:1px solid var(--border);border-radius:var(--radius);background:#fff;color:var(--ink);padding:12px 15px;font-size:12px;display:flex;gap:22px;align-items:center;justify-content:space-between;text-align:left}.suggestions button:hover{border-color:var(--primary);color:var(--primary)}#messages{max-width:720px;margin:0 auto}.message{margin-bottom:25px;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.message .role{font-size:12px;font-weight:600;margin-bottom:7px;color:var(--muted)}.message .message-content{white-space:pre-wrap}.message.user{margin-left:auto;max-width:85%;background:var(--surface);border-radius:var(--radius);padding:16px 20px}.message.assistant{padding:10px 0}.source-list{display:flex;flex-direction:column;gap:7px;margin-top:15px;font-size:12px}.source-list summary{cursor:pointer;color:var(--muted)}.source-list a{display:block;margin-top:9px;line-height:1.5}.composer-wrap{padding:12px 40px 20px;border-top:1px solid #eee}.composer-wrap>.error{max-width:840px;margin:0 auto 12px}.composer{display:flex;align-items:flex-end;gap:12px;max-width:840px;margin:auto;border:1px solid var(--border);border-radius:12px;padding:10px;background:#fff}.composer textarea{flex:1;resize:none;border:0;min-height:56px;max-height:150px;font-size:14px;line-height:1.6;padding:8px}.composer .primary{font-size:13px}.composer-note{max-width:840px;margin:10px auto 0;font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:15px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.message.pending .message-content{color:var(--muted)}@media(max-width:1000px){.workspace{grid-template-columns:205px minmax(0,1fr)}.rail{padding:28px 18px}.chat-header{padding:24px}.system-panel{margin:16px 24px 0}.conversation{padding:24px}.composer-wrap{padding:12px 24px 18px}.composer-note span{display:none}}@media(max-width:650px){.workspace{display:flex;flex-direction:column}.rail{flex-shrink:0;flex-direction:row;align-items:center;gap:12px;padding:16px 18px;border-right:0;border-bottom:1px solid var(--border)}.rail .brand{font-size:25px}.brand span{font-size:12px}.rail-heading{margin-left:auto}.rail-heading h2,.rail nav,.rail-footer p{display:none}.rail-heading .outline{font-size:12px;gap:12px}.rail-footer{margin:0}.rail-footer .text-button{font-size:12px}.rail nav.mobile-open{display:flex}.chat-header{padding:18px;gap:8px;align-items:flex-start}.chat-header h1{font-size:17px}.chat-header p{font-size:12px}.chat-header .text-button{font-size:12px}.system-panel{margin:12px 16px 0;max-height:38vh}.system-panel summary{font-size:12px;padding:11px 12px}.system-panel summary .small{display:none}.system-body{padding:0 12px 12px}.conversation{padding:22px 20px}.welcome{margin-top:2px}.welcome h2{font-size:24px}.welcome>p{font-size:12px}.assistant-symbol{width:38px;height:38px;font-size:20px;margin-bottom:17px}.suggestions{margin-top:20px}.suggestions button{font-size:12px;width:100%;gap:12px}.composer-wrap{padding:10px 12px max(12px,env(safe-area-inset-bottom))}.composer{gap:6px;padding:6px}.composer textarea{font-size:16px;min-height:48px}.composer .primary{padding:11px;font-size:0;gap:0}.composer .primary svg{width:23px;height:23px}.composer-note{font-size:12px;margin-top:7px}.message{font-size:13px}.login{padding:30px 24px}.login h1{font-size:34px}.login-content{padding:44px 0}.login p{font-size:13px}main{flex:1;min-height:0}}
.mobile-only{display:none}@media(max-width:650px){.mobile-only{display:block;font-size:12px;padding:8px}.rail{gap:8px;padding:14px 12px}.rail nav.mobile-open{position:absolute;top:77px;left:0;right:0;padding:18px;background:white;z-index:10;max-height:50dvh;box-shadow:0 12px 24px #00000012;border-bottom:1px solid var(--border)}}
@media(max-width:360px){.rail-heading .outline{font-size:0;width:44px;padding:10px}.rail-heading .outline span{font-size:18px}.rail{gap:6px}}
@media(max-height:600px){.system-panel{max-height:105px}.conversation{padding-top:10px;padding-bottom:10px}.chat-header{padding-top:12px;padding-bottom:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
