/* LOCALDENTAL: Anita automated chat widget — isolated from page styling. */
#anita-root{position:relative;z-index:1200;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:17px;line-height:1.4;letter-spacing:normal;color:#17191c}
#anita-root *,#anita-root *:before,#anita-root *:after{box-sizing:border-box}
#anita-root button{font-family:inherit;cursor:pointer}
#anita-root button:focus-visible,#anita-root a:focus-visible,#anita-root input:focus-visible{outline:3px solid #b89250;outline-offset:2px}
#anita-root [hidden]{display:none!important}
#anita-launcher{position:fixed;right:23px;bottom:23px;z-index:1201;display:flex;align-items:center;gap:12px;min-height:74px;min-width:210px;padding:7px 20px 7px 7px;background:#fff;color:#161719;border:1px solid #dadddf;border-radius:999px;box-shadow:0 13px 48px #0003;text-align:left;max-width:calc(100vw - 28px)}
.anita-launcher-photo{width:60px;height:60px;border-radius:50%;object-fit:cover;background:#e9ded2;border:2px solid #c6a667;flex:none}
.anita-launcher-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.anita-launcher-copy strong{font-size:18px;font-weight:760;letter-spacing:.004em;white-space:nowrap;line-height:1.1}
.anita-launcher-copy small{font-size:13px;font-weight:680;letter-spacing:.035em;color:#58655d;white-space:nowrap}
.anita-launcher-copy i,.anita-chat-identity i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#26b466;vertical-align:middle;margin-right:4px;box-shadow:0 0 0 3px #26b46620}
#anita-panel{position:fixed;right:23px;bottom:113px;z-index:1202;width:min(418px,calc(100vw - 26px));height:min(640px,calc(100dvh - 135px));max-height:calc(100dvh - 135px);background:#fff;border:1px solid #dadde1;border-radius:20px;box-shadow:0 24px 80px #0004;overflow:hidden;display:flex;flex-direction:column}
.anita-chat-head{display:flex;align-items:center;gap:12px;flex:none;padding:16px 17px;background:#181b1d;color:#fff}
.anita-chat-photo{width:54px;height:54px;flex:none;object-fit:cover;background:#d5c6ac;border:2px solid #c6a667;border-radius:50%}
.anita-chat-identity{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.anita-chat-identity strong{font-size:18px;letter-spacing:.01em;font-weight:770;line-height:1.2}
.anita-chat-identity span{color:#daf0e0;font-size:13px;line-height:1.2;font-weight:720;letter-spacing:.06em}
.anita-chat-identity small{font-size:13px;color:#cdd1d3;line-height:1.25}
#anita-root .anita-close{color:#fff;border:1px solid #fff6;background:transparent;border-radius:50%;height:39px;width:39px;display:grid;place-items:center;font-size:26px;font-weight:400;line-height:1;flex:none;padding:0}
#anita-root .anita-close:hover{background:#fff2}
.anita-chat-intro{flex:none;padding:8px 16px;background:#f4f4f6;font-size:13px;line-height:1.35;color:#62656b;text-align:center;border-bottom:1px solid #eceef1}
.anita-chat-messages{display:flex;flex-direction:column;align-items:flex-start;gap:12px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:20px 16px 21px;background:#fbfbfc;scrollbar-color:#bfc2c7 transparent;scrollbar-width:thin}
.anita-bubble{max-width:90%;border-radius:17px;padding:13px 15px;font-size:16.5px;line-height:1.48;white-space:pre-line;overflow-wrap:anywhere}
.anita-agent{align-self:flex-start;color:#202226;background:#f0f1f3;border-bottom-left-radius:5px}
.anita-human{align-self:flex-end;color:#151515;background:#e7dcc5;border-bottom-right-radius:5px}
.anita-choices{display:flex;flex-wrap:wrap;gap:9px;width:100%;margin-top:3px}
#anita-root .anita-choice{padding:10px 13px;min-height:41px;border:1.3px solid #b99860;border-radius:22px;background:#fff;color:#34291a;text-align:center;font-weight:700;line-height:1.25;font-size:14px;flex:0 1 auto;max-width:100%}
#anita-root .anita-choice:hover{background:#f9f3e8;border-color:#7f5c2c}
.anita-compose{flex:none;display:flex;align-items:center;padding:12px 13px;gap:8px;background:#fff;border-top:1px solid #e6e7e9}
#anita-root .anita-compose input{flex:1;min-width:0;background:#f5f5f6;border:1px solid #d6d6d8;border-radius:999px;height:47px;padding:0 18px;color:#17191c;font-size:16px;line-height:1.3}
#anita-root .anita-compose button{width:45px;height:45px;flex:none;display:grid;place-items:center;background:#ff544a;color:#171717;border:0;border-radius:50%;padding:10px}
.anita-compose button:hover{background:#f34036}
.anita-compose svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;width:25px;height:25px}
.anita-chat-footer{flex:none;border-top:1px solid #eff0f1;background:#fff;padding:8px 12px 11px;text-align:center;color:#6a6c72;font-size:13px;line-height:1.5}
#anita-root .anita-chat-footer a{color:#1e6d3c;text-decoration:underline;text-underline-offset:2px;font-weight:750}
.anita-contact-wrap{width:100%;padding:17px 14px;border:1px solid #ddd1b9;border-radius:17px;background:#fff}
.anita-contact-form{display:flex;flex-direction:column;gap:12px}
.anita-contact-form>label:not(.anita-consent):not(.anita-honeypot){display:flex;flex-direction:column;gap:5px;color:#393c40;font-weight:700;letter-spacing:.03em;font-size:13px}
#anita-root .anita-contact-form input:not([type=checkbox]){width:100%;min-height:42px;padding:9px 12px;border:1px solid #bbc1c6;border-radius:9px;background:#fff;font-size:16px;color:#17191c}
.anita-consent{display:flex;gap:10px;align-items:flex-start;cursor:pointer;color:#44494d;font-size:14px;line-height:1.45}
.anita-consent input{width:20px;height:20px;min-width:20px;margin-top:1px;accent-color:#a77c37}
.anita-honeypot{position:absolute;left:-99999px;width:1px;height:1px;overflow:hidden}
#anita-root .anita-save{background:#ff544a;color:#111;border:0;border-radius:999px;min-height:45px;padding:11px;font-size:15px;font-weight:770}
#anita-root .anita-save[disabled]{opacity:.6;cursor:progress}
.anita-form-feedback{font-size:14px;color:#a33129;line-height:1.35;margin:0}
@media(max-width:600px){#anita-launcher{right:12px;bottom:13px;min-height:64px;min-width:0;padding:6px 14px 6px 6px;gap:8px}.anita-launcher-photo{width:51px;height:51px}.anita-launcher-copy strong{font-size:16px}.anita-launcher-copy small{font-size:12px}#anita-panel{left:9px;right:9px;width:auto;bottom:86px;height:min(680px,calc(100dvh - 98px));max-height:calc(100dvh - 98px);border-radius:17px}.anita-chat-messages{padding:16px 13px 18px}.anita-bubble{font-size:16px}.anita-chat-head{padding:12px 13px}.anita-chat-photo{width:48px;height:48px}}
@media(max-width:360px){.anita-launcher-copy small{font-size:11px}#anita-panel{left:6px;right:6px}.anita-chat-identity strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){#anita-root *{scroll-behavior:auto!important}}

/* Prevent the parent site's global sticky header rule from affecting the chat. */
#anita-root .anita-chat-head{position:relative;top:auto;z-index:auto;backdrop-filter:none;border-bottom:0}
#anita-root .anita-chat-footer{position:relative;top:auto}
