:root{--navy:#152b42;--teal:#a2dce3;--ink:#17334b;--muted:#586d7d;--line:#dce7eb}*{box-sizing:border-box}body{margin:0;background:#eff5f6;color:var(--ink);font:15px/1.55 Arial,Helvetica,sans-serif}a{color:inherit;text-underline-offset:4px}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #27829c;outline-offset:3px}.chat-app{max-width:880px;margin:28px auto;background:white;box-shadow:0 10px 50px #17334b09;border:1px solid var(--line);border-radius:12px;overflow:hidden}header{display:flex;align-items:center;justify-content:space-between;padding:17px 28px;gap:20px}header img{display:block;width:132px;height:48px;object-fit:contain}header>a:last-child{font-size:12px;text-decoration:none}.chat-title{padding:28px;background:linear-gradient(115deg,#12253c,#254b60);color:white}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:var(--teal)}h1{font-weight:500;font-size:32px;letter-spacing:-.035em;line-height:1.15;margin:10px 0}p{margin:0}.chat-title p{font-size:14px;color:#d5e6ec;max-width:500px}.privacy-note{padding:14px 28px;font-size:11px;background:#f0f7f8;color:var(--muted);border-bottom:1px solid var(--line)}.messages{padding:24px 28px;display:flex;flex-direction:column;gap:18px;min-height:170px;max-height:52vh;overflow:auto;scroll-behavior:smooth}.message{padding:17px 20px;max-width:92%;border-radius:8px;overflow-wrap:anywhere}.message.assistant{align-self:flex-start;background:#f1f6f7;border:1px solid #e3ecef}.message.user{align-self:flex-end;background:var(--navy);color:white}.speaker{display:block;font-size:10px;font-weight:700;letter-spacing:.06em;margin-bottom:8px;color:#47717f}.user .speaker{color:#bde6ec}.message p{white-space:pre-wrap;font-size:14px}.sources{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.sources a{display:inline-block;padding:5px 8px;border:1px solid #bdd4dd;border-radius:3px;font-size:11px;text-decoration:none;background:white;color:#24536a}.suggestions{padding:0 28px 18px;display:flex;flex-wrap:wrap;gap:8px}.suggestions button{border:1px solid #c3d6de;color:#345e74;background:white;border-radius:20px;font-size:11px;padding:7px 12px;text-align:left}.suggestions button:hover{background:#edf7f8}#chat-form{padding:19px 28px 12px;border-top:1px solid var(--line)}label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.compose{display:flex;gap:10px;align-items:stretch}textarea{resize:vertical;width:100%;min-height:66px;max-height:160px;padding:12px;border:1px solid #b6cbd6;border-radius:5px;color:var(--ink);background:white}.compose button{border:0;border-radius:5px;background:var(--navy);color:white;padding:12px 17px;font-weight:600;white-space:nowrap}button:disabled{opacity:.5;cursor:wait}.form-meta{display:flex;justify-content:space-between;gap:10px;margin-top:8px;color:var(--muted);font-size:10px}.form-meta button{background:none;border:0;color:#466676;font-size:10px;text-decoration:underline;padding:0}footer{padding:12px 28px 20px;display:flex;justify-content:space-between;gap:15px;font-size:11px;color:var(--muted)}footer a{color:#245a73}.embed .chat-app{margin:0;border:0;border-radius:0;box-shadow:none}.embed header{display:none}.embed .chat-title{padding:20px}.embed h1{font-size:25px}.embed .privacy-note{padding:12px 20px;font-size:10px}.embed .messages{padding:18px 20px;max-height:34vh;min-height:135px}.embed .suggestions{padding:0 20px 14px}.embed #chat-form{padding:15px 20px 10px}.embed footer{padding:9px 20px 15px}.embed footer span{display:none}@media(max-width:600px){.chat-app{margin:0;border:0;border-radius:0}.chat-title,header{padding:20px}.privacy-note{padding:13px 20px}.messages{padding:20px;max-height:42vh}.message{max-width:98%;padding:14px}.suggestions{padding:0 20px 15px}#chat-form{padding:18px 20px 10px}footer{padding:12px 20px 20px;flex-wrap:wrap}.compose button{padding:10px 13px;font-size:13px}.embed .messages{max-height:30vh}}@media(prefers-reduced-motion:reduce){.messages{scroll-behavior:auto}}

.embed .chat-app{height:100dvh;display:flex;flex-direction:column}.embed .chat-title,.embed .privacy-note,.embed .suggestions,.embed #chat-form,.embed footer{flex-shrink:0}.embed .chat-title{padding:15px 20px}.embed .chat-title p{font-size:12px}.embed .messages{flex:1 1 auto;min-height:75px;max-height:none;padding:14px 20px}.embed .privacy-note{line-height:1.4;padding:10px 20px}.embed .suggestions{padding-bottom:10px;gap:6px}.embed .suggestions button{font-size:10px;padding:5px 9px}.embed #chat-form{padding-top:10px}.embed textarea{min-height:58px}.embed .message{padding:12px 14px}.embed .message p{font-size:13px}

[hidden]{display:none!important}.account-gate{padding:24px;overflow:auto;flex:1;background:#f3f7f9}.account-gate h2{font-size:22px;margin-top:0}.account-gate p{font-size:14px;line-height:1.6}.account-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.account-actions a{background:#15364b;color:white;padding:12px 16px;border-radius:6px;text-decoration:none;font-size:14px}.account-actions a+a{background:white;color:#15364b;border:1px solid #bdccd5}#account-retry{padding:9px 12px;border:1px solid #bdccd5;background:white;border-radius:5px;color:#15364b;cursor:pointer}
