:root{font-family:system-ui,sans-serif;color:#182b44;background:#f7fafd;accent-color:#0b2d6b;line-height:1.5}*{box-sizing:border-box}body{margin:0;min-width:280px}.layout{min-height:100dvh}.top{min-height:68px;background:#fff;border-bottom:1px solid #d7e0eb;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px max(18px,calc((100% - 1040px)/2))}.identity{display:flex;align-items:center;gap:12px;font-weight:650}.sig{background:#0b2d6b;color:#fff;border-radius:8px;padding:6px 10px}main{max-width:850px;margin:auto;padding:20px 18px}.heading{margin-bottom:18px}.heading p{color:#485b74;margin:2px 0}h1{font-size:clamp(1.65rem,5vw,2.2rem);margin:0;letter-spacing:-.025em}h2{font-size:1.2rem;margin:0}.login,.thread{background:#fff;border:1px solid #d7e0eb;border-radius:14px}.login{max-width:470px;padding:24px}.button{display:inline-flex;justify-content:center;align-items:center;text-decoration:none;border:1px solid #0b2d6b;border-radius:8px;color:#fff;background:#0b2d6b;padding:8px 15px;min-height:44px;font:inherit;font-weight:650;cursor:pointer}.button:disabled{opacity:.55;cursor:default}.secondary{background:#fff;color:#0b2d6b}:focus-visible{outline:3px solid #146bad;outline-offset:2px}.thread{display:flex;flex-direction:column;min-height:400px;height:calc(100dvh - 194px)}.history{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:14px;padding:16px}.empty{margin:auto;text-align:center;padding:14px}.empty p{margin:6px 0 0;color:#485b74}.message{border-radius:11px;padding:10px 14px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:88%}.message strong{display:block;font-size:.83rem;margin-bottom:4px}.user-message{background:#e7effb;align-self:flex-end}.assistant-message{background:#f1f4f8;align-self:flex-start}.composer{display:flex;align-items:flex-end;gap:8px;border-top:1px solid #d7e0eb;padding:12px}.composer textarea{flex:1;min-width:0;border:1px solid #78889d;border-radius:8px;padding:10px;color:inherit;font:inherit;resize:none}.waiting{margin:5px 16px;color:#485b74}[role=alert]{color:#8d2727}.sign-in-form{display:grid;gap:12px}.sign-in-form label{display:grid;gap:4px;font-weight:600}.sign-in-form input{width:100%;min-height:44px;border:1px solid #78889d;border-radius:8px;padding:8px 10px;font:inherit}.sign-in-form .button{justify-self:start}.sign-in-form [role=alert]{margin:0}
