#inquiry{background:#f2f5f3;scroll-margin-top:80px}#contact-form label{display:block;margin:20px 0;font-size:16px}#contact-form input:not([type=checkbox]),#contact-form textarea,#chat-question{display:block;width:100%;padding:12px;border:1px solid #81958a;border-radius:4px;font:inherit;background:white;color:#202925}#contact-form .agreement{display:flex;gap:10px;align-items:flex-start}#contact-form .agreement input{margin-top:8px}#contact-review pre,#conversation-review div{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}button{cursor:pointer;font:inherit}button:disabled{opacity:.6;cursor:default}#chat-launch{position:fixed;bottom:22px;right:22px;z-index:20;border-radius:30px;box-shadow:0 4px 20px #0003}#chat-panel{position:fixed;right:18px;bottom:18px;width:min(420px,calc(100% - 24px));max-height:calc(100dvh - 36px);overflow:auto;background:white;z-index:30;padding:20px;box-shadow:0 6px 40px #0004;border:1px solid #d9ded9;border-radius:16px}#chat-panel[hidden]{display:none}.chat-heading{display:flex;justify-content:space-between;gap:16px;color:#173f35}#chat-history{max-height:38dvh;overflow:auto;margin:16px 0}#chat-history p{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:#f2f5f3;line-height:1.9}#chat-history .user{background:#e5eee9}#chat-panel .btn{width:100%;margin-top:10px}#chat-panel small{display:block;margin-top:12px;font-size:14px}#contact-status{white-space:pre-wrap;overflow-wrap:anywhere}#contact-review{border:1px solid #81958a;padding:18px}
/* Orange chat accents follow the existing logo; keep a generous desktop bottom gap. */
#chat-launch{bottom:calc(88px + env(safe-area-inset-bottom,0px));right:28px;background:#fff0e6;border-color:#d86145;color:#7d2f1f;border-radius:999px;padding:16px 28px;font-size:18px;box-shadow:0 8px 26px #9a3f2b35;animation:chat-float 4s ease-in-out infinite}
#chat-launch img{width:68px;height:68px;object-fit:contain;margin:-24px 10px -18px -16px;vertical-align:middle;filter:drop-shadow(0 5px 7px #7b231966)}
#chat-launch[hidden]{display:none}
#chat-launch:hover,#chat-launch:focus-visible{animation-play-state:paused;background:#ffe0d0;border-color:#c4482d;color:#6f2819}
#chat-panel{bottom:calc(88px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 112px - env(safe-area-inset-bottom,0px));border:2px solid #efad98;border-radius:26px;background:#fff7f2;box-shadow:0 12px 40px #963d2433}
#chat-panel .chat-heading{color:#92341f;align-items:center;font-size:18px;padding-bottom:12px;border-bottom:1px solid #f0c4b5}
.rifobo-avatar{width:58px;height:58px;object-fit:contain;flex:none}
#chat-close{border:0;background:#f9dfd2;color:#80351f;border-radius:999px;padding:8px 12px;font-size:14px}
#chat-panel .btn{border-radius:18px;min-height:48px}
#chat-panel .primary{background:#bd4328;border-color:#bd4328;color:#fff}
#chat-panel .secondary{border-color:#d98468;background:#fff;color:#96381f}
#chat-history p{background:#fff;border-radius:18px;border:1px solid #f1d5c8;font-size:16px}
#chat-history .user{background:#ffe5d5;border-color:#f3c6ad}
#chat-question{border-color:#d99479;border-radius:16px}
#chat-examples{display:grid;gap:8px;margin:12px 0}
#chat-examples p{font-size:14px;margin:0;color:#85452f}
#chat-examples button{text-align:left;background:white;color:#92341f;border:1px solid #e7b39e;border-radius:16px;padding:10px 14px;font-size:14px;line-height:1.6}
#chat-examples button:hover{background:#ffe6d8}
header a.tel[aria-disabled=true]{cursor:default}
@keyframes chat-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(max-width:780px){#chat-launch{right:16px;bottom:calc(30px + env(safe-area-inset-bottom,0px));font-size:16px;padding:10px 18px}#chat-launch img{width:58px;height:58px;margin:-20px 8px -15px -13px}#chat-panel{right:12px;bottom:calc(24px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 48px - env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){#chat-launch{animation:none}}
 #chat-examples[hidden]{display:none}
.article-links{margin:10px 0 16px;padding:13px;background:#fff;border:1px solid #e7b39e;border-radius:16px}.article-links strong{display:block;color:#80351f;font-size:14px;margin-bottom:5px}.article-links a{display:block;color:#92341f;padding:7px 0;border-top:1px solid #f1d5c8;font-size:14px;line-height:1.5}.article-links a:first-of-type{border-top:0}

#contact-errors{white-space:pre-line;color:#a32920;background:#fff1eb;border:1px solid #c4482d;border-radius:8px;padding:12px}#contact-errors[hidden]{display:none}
/* Compact messenger layout; preserve the existing warm colours. */
#chat-panel{display:flex;flex-direction:column;padding:12px;width:min(400px,calc(100% - 24px));border-radius:20px;overflow:auto;gap:8px}
#chat-panel .chat-heading{gap:8px;padding-bottom:8px;font-size:16px;flex:none}
#chat-panel .chat-heading>div{flex:1;min-width:0}
#chat-panel .chat-heading small{margin:2px 0 0;font-size:12px;line-height:1.4}
.rifobo-avatar{width:40px;height:40px}
#chat-close{width:36px;height:36px;padding:0;background:transparent;border-radius:50%;font-size:28px;line-height:1;flex:none}
#chat-close:hover{background:#f9dfd2}
#chat-close:focus-visible{outline:2px solid #bd4328;outline-offset:2px}
#chat-history{display:flex;flex-direction:column;gap:7px;margin:0;padding:4px 2px;max-height:42dvh;min-height:90px;overflow:auto;flex:1 1 auto}
#chat-history p{margin:0;padding:8px 11px;font-size:14px;line-height:1.55;max-width:88%;width:fit-content;align-self:flex-start;border-radius:14px 14px 14px 3px}
#chat-history .user{align-self:flex-end;border-radius:14px 14px 3px 14px}
#chat-examples{gap:5px;margin:0;flex:none}
#chat-examples p{font-size:12px;line-height:1.4}
#chat-examples button{padding:6px 10px;font-size:13px;line-height:1.4;border-radius:12px}
#chat-status{margin:0;font-size:12px;line-height:1.4;flex:none}
#chat-status:empty{display:none}
#chat-form{display:flex;align-items:flex-end;gap:7px;flex:none}
#chat-form label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#chat-form #chat-question{flex:1;min-width:0;padding:8px 10px;font-size:14px;line-height:1.4;resize:none;border-radius:14px}
#chat-form .btn{width:auto;margin:0;min-height:42px;padding:0 13px;border-radius:14px;font-size:14px;flex:none}
#chat-panel>#chat-inquiry{margin:0;min-height:36px;font-size:13px;border-radius:12px}
#chat-panel>small{margin:0;font-size:11px;line-height:1.4;flex:none}
#chat-history .article-links{margin:0;padding:8px 10px;max-width:92%;border-radius:12px;align-self:flex-start}
#chat-history .article-links strong{font-size:12px;margin-bottom:3px}
#chat-history .article-links a{font-size:13px;padding:5px 0}
#chat-history .article-links{margin:0 0 2px;padding:0 4px;border:0;background:transparent;border-radius:0;max-width:88%;box-shadow:none}
#chat-history .article-links a{padding:2px 0;border:0;font-size:12px;line-height:1.45;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
#chat-history .assistant-row{display:flex;align-items:flex-start;gap:6px;max-width:94%;align-self:flex-start}
#chat-history .bubble-avatar{width:28px;height:28px;object-fit:contain;flex:none;margin-top:3px}
#chat-history .assistant-row p{max-width:100%;min-width:0;flex:0 1 auto}
.analytics-consent{position:fixed;left:16px;bottom:16px;z-index:100;max-width:420px;padding:14px 16px;background:#fff;border:1px solid #d9ded9;box-shadow:0 8px 24px #173f3530;font-size:13px;line-height:1.6}.analytics-consent p{margin:0 0 10px}.analytics-consent div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.analytics-consent button{border:1px solid #173f35;background:#fff;color:#173f35;padding:6px 10px;font:inherit;cursor:pointer}.analytics-consent button[data-consent="granted"]{background:#173f35;color:#fff}.analytics-consent a{color:#173f35}.analytics-consent-pending #chat-launch{bottom:calc(170px + env(safe-area-inset-bottom,0px))}.analytics-consent-pending #chat-panel{bottom:calc(170px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 194px - env(safe-area-inset-bottom,0px))}@media(max-width:780px){.analytics-consent{right:16px;max-width:calc(100% - 32px)}.analytics-consent-pending #chat-launch{bottom:calc(160px + env(safe-area-inset-bottom,0px))}.analytics-consent-pending #chat-panel{bottom:calc(160px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 184px - env(safe-area-inset-bottom,0px))}}
