:root {font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#173047;background:#f5f8fa;font-size:16px}*{box-sizing:border-box}body{margin:0}.chat{display:flex;flex-direction:column;max-width:760px;min-height:100dvh;margin:auto;padding:20px}header{display:flex;align-items:center;justify-content:space-between;gap:10px}.eyebrow{font-size:11px;letter-spacing:1.7px;color:#116d71;font-weight:700}h1{font-size:23px;margin:5px 0 14px}.notice{font-size:13px;line-height:1.5;color:#516474;background:#eaf0f4;padding:12px;border-radius:10px;margin:0 0 16px}.row{display:flex;align-items:stretch;gap:8px}label{display:block;font-size:13px;font-weight:650;margin-bottom:7px}input,textarea{min-width:0;flex:1;padding:12px;border:1px solid #a3b6c2;border-radius:8px;font:inherit;background:white}textarea{resize:vertical}button{border:0;border-radius:8px;background:#086b71;color:white;font:inherit;font-size:14px;font-weight:650;padding:10px 14px;cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #e6a028;outline-offset:3px}#new{background:#e1ecee;color:#173047;font-size:12px}#messages{flex:1;max-height:48dvh;min-height:130px;overflow:auto;padding:4px 0}article,.welcome-message{margin:12px 0;padding:14px;background:white;border:1px solid #dde7ec;border-radius:12px}article strong,.welcome-message strong{font-size:12px;color:#126a70}article p,.welcome-message p{line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}a{color:#086b71;text-decoration:underline}#status{font-size:13px;line-height:1.5;color:#5a3c17;min-height:20px;margin:8px 0}footer,.fine{font-size:11px;color:#5b6b78;line-height:1.5}footer{margin-top:15px}form[hidden],button[hidden]{display:none}@media(max-width:380px){.chat{padding:12px}.row{flex-wrap:wrap}.row button{flex-grow:1}}
:root .profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.profile-fields input{width:100%;box-sizing:border-box}.website-field{grid-column:1/-1}#company-profile{border:1px solid #dde7ec;border-radius:10px;background:#fff;padding:12px;margin-bottom:12px}summary{cursor:pointer;font-size:13px;font-weight:650}summary .fine{margin-left:8px}#company-status:empty{display:none}#company-profile button{font-size:12px;padding:8px 12px}
#guided-prompts[hidden]{display:none}#prompt-choices{display:flex;flex-wrap:wrap;gap:7px}#prompt-choices button{background:#e1ecee;color:#173047;font-size:12px;padding:9px 11px;border:1px solid #c3d6d8}#guided-prompts p{margin:7px 0}#keyboard-help{margin:7px 0}article b{font-weight:650}

#messages{overflow-anchor:none;scroll-behavior:auto}
#messages .message-enter{animation:xo-message-arrive 600ms ease-in-out}
@keyframes xo-message-arrive{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#messages .message-enter{animation:none}}

/* Use explicit native cursors instead of browser-selected defaults. */
html,body,.chat{cursor:default}
.chat input,.chat textarea{cursor:text}
.chat a{cursor:pointer}
.chat input:disabled,.chat textarea:disabled{cursor:not-allowed}

#profile-confirmation{color:#116d71;font-weight:600}
#profile-confirmation[hidden],#profile-optional[hidden]{display:none}
