@font-face { font-family:HooferChatEstedad; font-style:normal; font-weight:400; font-display:swap; src:url("/assets/fonts/Estedad-Regular.woff2") format("woff2"); }
@font-face { font-family:HooferChatEstedad; font-style:normal; font-weight:500; font-display:swap; src:url("/assets/fonts/Estedad-Medium.woff2") format("woff2"); }
@font-face { font-family:HooferChatEstedad; font-style:normal; font-weight:700; font-display:swap; src:url("/assets/fonts/Estedad-Bold.woff2") format("woff2"); }
:root { font-family: HooferChatEstedad, Estedad, sans-serif; color:#282531; background:#fff; color-scheme:light; --red:#e40024; --soft:#fff0f3; }
* { box-sizing:border-box; }
html,body { width:100%; height:100%; margin:0; overflow:hidden; }
body { min-width:240px; }
button,input,textarea { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:wait; opacity:.58; }
button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible { outline:3px solid #b90025; outline-offset:3px; }
[hidden] { display:none !important; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.chat-page { display:flex; flex-direction:column; width:100%; height:100vh; height:100dvh; background:#fff; }
.chat-header { display:flex; align-items:center; gap:10px; flex:0 0 auto; min-height:72px; padding:14px 16px; background:var(--red); color:#fff; }
.brand-mark { flex:none; display:block; width:36px; height:36px; border-radius:50%; background:#fff url('/assets/hoofer-agent-mark.png') center/32px 32px no-repeat; color:transparent; }
.header-title { display:flex; flex:1; flex-direction:column; gap:4px; min-width:0; }
.header-title strong { font-size:15px; text-align:right; }
.header-title span { font-size:10px; opacity:.9; }
.icon-button { width:32px; height:36px; padding:0; border:0; background:transparent; color:inherit; border-radius:7px; font-size:26px; line-height:1; }
.icon-button:hover { background:#ffffff24; }
.chat-header button:focus-visible { outline-color:#fff; }
body.embedded .chat-header { display:none; }
.chat-scroll { flex:1 1 auto; min-height:0; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; scrollbar-width:thin; padding:20px 16px 12px; }
.message { max-width:calc(100% - 24px); font-size:13px; line-height:1.8; overflow-wrap:anywhere; white-space:normal; border-radius:17px; padding:10px 12px; }
.message.assistant { position:relative; margin:0 0 14px 0; background:#f3f4f7; color:#302e3c; border-bottom-right-radius:5px; }
.message.user { margin:0 auto 6px 0; background:var(--red); color:#fff; border-bottom-left-radius:5px; white-space:pre-wrap; }
.message p { margin:0 0 8px; }
.message p:last-child { margin-bottom:0; }
.message ul,.message ol { margin:6px 0; padding-inline-start:22px; }
.message h3 { font-size:14px; margin:10px 0 6px; }
.message a { color:#b50027; text-decoration:underline; text-underline-offset:3px; }
.message code { direction:ltr; unicode-bidi:embed; font-family:Consolas,monospace; background:#e7e8ed; padding:1px 4px; border-radius:4px; }
.message pre { white-space:pre-wrap; direction:ltr; text-align:left; padding:9px; background:#e9eaf0; border-radius:8px; }
.message pre code { padding:0; background:transparent; }
.message-time { display:block; font-size:10px; line-height:1.5; color:#9394a3; margin:-5px 8px 15px; }
.message-row.user .message-time { text-align:left; }
.welcome-message { max-width:100%; margin-bottom:18px !important; }
.contact-form fieldset { min-width:0; margin:0; padding:0; border:0; }
.field { display:flex; align-items:center; gap:9px; height:47px; margin-bottom:11px; padding:0 12px; border:1px solid #dbe0e9; border-radius:9px; background:#fff; }
.field:focus-within { border-color:var(--red); box-shadow:0 0 0 2px #e4002410; }
.field input { min-width:0; width:100%; height:100%; border:0; background:transparent; outline:none; color:#282531; font-size:14px; text-align:right; }
.field input::placeholder { color:#9299ad; }
.field-icon { font-size:24px; color:#55586e; }
.field-icon svg { display:block; width:19px; height:21px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linejoin:round; }
.contact-notice { color:#878794; font-size:10px; line-height:1.8; margin:10px 1px; }
.primary-button { display:block; width:100%; min-height:45px; padding:11px 14px; border:0; border-radius:9px; background:var(--red); color:#fff; font-size:14px; font-weight:bold; }
.primary-button:hover { background:#c90020; }
.secondary-button { border:0; border-radius:8px; padding:8px 12px; min-height:36px; background:var(--soft); color:#c10025; font-size:12px; }
.secondary-button:hover { background:#ffe0e7; }
.status { flex:0 0 auto; margin:9px 14px 0; padding:9px 11px; border:1px solid #f0c9d1; border-radius:8px; background:#fff5f6; color:#893448; font-size:12px; line-height:1.8; }
.status[data-kind="info"] { color:#6a6675; border-color:#e6e2e8; background:#faf9fb; }
.text-button { border:0; background:transparent; color:#b80029; font-size:11px; padding:4px; text-decoration:underline; text-underline-offset:3px; border-radius:3px; }
.return-panel { margin-bottom:14px; }
.return-panel .message { max-width:100%; }
.previous-info { padding:11px 13px; margin-bottom:8px; border:1px solid #eedbe0; border-radius:9px; color:#585469; font-size:12px; line-height:1.8; }
.previous-info strong { color:#ba1638; font-size:12px; }
.previous-info p { margin:4px 0 0; }
.return-actions { display:grid; gap:5px; }
.pending-message { display:flex; align-items:center; gap:9px; font-size:12px; }
.dots { display:flex; gap:4px; flex:none; direction:ltr; }
.dots i { width:7px; height:7px; border-radius:50%; background:var(--red); animation:pulse 1s ease-in-out infinite alternate; }
.dots i:nth-child(2) { animation-delay:.2s; }.dots i:nth-child(3) { animation-delay:.4s; }
@keyframes pulse { from { opacity:.3; transform:translateY(0); } to { opacity:1; transform:translateY(-3px); } }
.expert-info { padding:14px; border:1px solid #f0d4dc; background:#fff8fa; border-radius:12px; font-size:12px; text-align:center; line-height:1.9; color:#6a4454; margin:0 0 13px; }
.expert-info strong { display:block; color:#bc183c; }.expert-info p { margin:7px 0 12px; }.expert-info a { display:block; margin-top:5px; color:#b70028; font-weight:bold; font-size:16px; text-decoration:none; }
.chat-footer { flex:0 0 auto; padding:4px max(12px,env(safe-area-inset-right)) max(9px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); background:#fff; }
.expert-button { display:block; margin:0 auto 10px; min-width:75%; }
.composer { display:flex; align-items:flex-end; gap:7px; border:1px solid #dbe0e9; border-radius:10px; padding:5px; }
.composer textarea { resize:none; flex:1; min-width:0; min-height:34px; max-height:100px; padding:7px 8px; border:0; background:transparent; color:#282531; font-size:13px; line-height:1.6; outline:none; }
.composer textarea::placeholder { color:#9299ad; }
.composer button { display:grid; place-items:center; width:37px; height:36px; flex:none; border:0; border-radius:8px; background:var(--red); color:#fff; }
.composer svg { width:22px; height:22px; fill:currentColor; stroke:currentColor; stroke-width:1.3; transform:scaleX(-1); }
.conversation-toolbar { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:5px 2px -3px; font-size:10px; color:#b80029; }
.conversation-toolbar a { color:inherit; text-decoration:none; }
@media(max-width:350px),(max-height:550px) { .chat-header { min-height:58px; padding:9px 12px; }.chat-scroll { padding:13px 12px 8px; }.message { padding:9px 11px; }.contact-notice { font-size:9px; }.chat-footer { padding-top:2px; }.expert-button { margin-bottom:6px; } }
@media(prefers-reduced-motion:reduce) { .dots i { animation:none; } }

html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
.icon-button svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.message h1,.message h2,.message h3,.message h4,.message h5,.message h6 { font-size:14px; line-height:1.8; margin:9px 0 5px; }
.message blockquote { margin:8px 0; padding:4px 10px; border-inline-start:3px solid #e4002450; color:#655365; }
.rich-table-wrap { max-width:100%; overflow-x:auto; margin:8px 0; }
.message table { border-collapse:collapse; font-size:12px; width:100%; }
.message th,.message td { border:1px solid #ddd8df; padding:5px 7px; text-align:start; min-width:65px; }
.message th { background:#ebe5eb; font-weight:700; }
.message details { margin:6px 0; }.message summary { cursor:pointer; }
.human-response { margin:3px 0 12px; }.human-response .message { max-width:100%; margin-bottom:6px; }
.expert-info { padding:10px 12px; line-height:1.8; }.expert-info a { font-size:14px; }
.conversation-toolbar:has(a[hidden]) { display:none; }
@media(max-width:600px) { .field input { font-size:16px; }.message { font-size:13px; line-height:1.8; } }
