.sp-assistant{font-family:Arial,Helvetica,sans-serif;position:fixed;z-index:50;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));color:#122d27}
.sp-assistant [hidden]{display:none!important}
.sp-chat-launch{display:flex;align-items:center;gap:10px;min-height:60px;border:1px solid #d5b56f;background:#073d32;color:#fff;border-radius:999px;padding:7px 15px 7px 7px;text-align:left;box-shadow:0 8px 25px #062e2633;cursor:pointer}
.sp-chat-launch img,.sp-chat-avatar,.sp-chat-greeting img{display:block;object-fit:cover;object-position:center 28%;border-radius:50%;flex-shrink:0}
.sp-chat-launch img{border:2px solid #e7d3a2;width:42px;height:42px}.sp-chat-launch span{display:grid;gap:3px}.sp-chat-launch strong{font-size:.875rem;line-height:1.2}.sp-chat-launch small{font-size:.6875rem;color:#e1ebe6;line-height:1.2}.sp-chat-launch svg{width:20px;height:20px;margin-left:3px;color:#e6bf70}
.sp-chat-panel{width:min(390px,calc(100vw - 32px));height:min(630px,calc(100dvh - 40px));display:flex;flex-direction:column;background:#f8f7f2;border:1px solid #b8c9bd;border-radius:20px;box-shadow:0 18px 55px #062e2633;overflow:hidden}
.sp-chat-header{background:#073d32;color:#fff;padding:17px 18px;display:flex;gap:12px;align-items:center}.sp-chat-avatar{width:48px;height:48px;border:2px solid #d9be7e}.sp-chat-identity{flex:1;min-width:0}.sp-chat-header h2{font:400 1.3rem/1.2 Georgia,serif;margin:0}.sp-chat-header p{font-size:.8125rem;color:#e1ebe6;margin:4px 0 0;line-height:1.4}.sp-chat-close{border:1px solid #ffffff70;background:transparent;color:white;border-radius:9px;width:40px;height:40px;font-size:1.4rem;cursor:pointer;flex-shrink:0}
.sp-chat-body{overflow-y:auto;overscroll-behavior:contain;flex:1;padding:16px 17px;min-height:0}.sp-chat-demo{background:#f1ead9;border:1px solid #e1d5b8;border-radius:10px;padding:10px 11px;font-size:.8125rem;line-height:1.45;margin:0 0 18px}.sp-chat-greeting{display:flex;gap:9px;align-items:flex-end;margin:0 0 12px}.sp-chat-greeting img{width:32px;height:32px}.sp-chat-greeting>div{min-width:0}.sp-chat-greeting span{display:block;font-size:.75rem;font-weight:700;color:#36594b;margin:0 0 5px 2px}.sp-chat-greeting p{border:1px solid #d4ded7;background:#fff;border-radius:15px 15px 15px 4px;padding:12px 13px;margin:0;line-height:1.5;font-size:.9375rem}
.sp-chat-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 15px 41px}.sp-chat-suggestions button{min-height:38px;padding:8px 11px;background:transparent;color:#073d32;border:1px solid #9eb4a6;border-radius:999px;font-size:.8125rem;font-weight:700;cursor:pointer}.sp-chat-suggestions button:hover{background:#eaf0eb}
.sp-chat-message{width:fit-content;max-width:calc(100% - 41px);border:1px solid #d4ded7;background:white;border-radius:15px 15px 15px 4px;padding:11px 13px;margin:10px 0 10px 41px;overflow-wrap:anywhere}.sp-chat-message strong{font-size:.75rem;color:#36594b}.sp-chat-message p{font-size:.9375rem;line-height:1.5;margin:4px 0 0}.sp-chat-visitor{max-width:90%;background:#e3ede6;border-color:#cbded0;border-radius:15px 15px 4px 15px;margin:10px 0 10px auto}.sp-chat-status{font-size:.8125rem;line-height:1.45;color:#36594b;min-height:1.4em;margin:8px 0}.sp-chat-demo-control,.sp-chat-retry{background:none;border:0;text-decoration:underline;text-underline-offset:3px;color:#073d32;font-size:.8125rem;min-height:40px;cursor:pointer}
.sp-chat-form{padding:13px 17px 16px;border-top:1px solid #d4ded7;background:white}.sp-chat-form label{font-size:.875rem;font-weight:700;display:block;margin-bottom:7px}.sp-chat-entry{display:flex;gap:8px}.sp-chat-entry input{font:1rem Arial,sans-serif;min-width:0;flex:1;border:1px solid #9eb4a6;border-radius:9px;padding:10px;min-height:44px}.sp-chat-entry button{font:700 .875rem Arial,sans-serif;border:0;border-radius:9px;background:#073d32;color:#fff;padding:10px 15px;cursor:pointer}.sp-chat-entry button:disabled{opacity:.6}.sp-chat-form small{display:block;font-size:.75rem;line-height:1.4;color:#4b5e57;margin-top:8px}.sp-assistant :focus-visible{outline:3px solid #ae791e;outline-offset:3px}
@media(max-width:480px){.sp-assistant{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}.sp-chat-panel{width:calc(100vw - 32px);height:min(630px,calc(100dvh - 32px))}}
@media(prefers-reduced-motion:reduce){.sp-assistant *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Compact launcher and a dismissible, clearly labeled scripted greeting. */
.sp-chat-launch{position:relative;width:64px;height:64px;min-height:64px;padding:5px;display:grid;place-items:center}
.sp-chat-launch img{width:50px;height:50px}
.sp-chat-launch .sp-chat-launch-icon{position:absolute;right:-2px;bottom:-2px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e6bf70;color:#073d32;border:2px solid #073d32}
.sp-chat-launch svg{width:13px;height:13px;margin:0;color:inherit}
.sp-chat-teaser{position:absolute;right:0;bottom:76px;width:min(280px,calc(100vw - 32px));padding:15px 40px 15px 16px;background:#fff;color:#18372e;border:1px solid #d4ded7;border-radius:16px 16px 4px 16px;box-shadow:0 10px 30px #062e262b}
.sp-chat-teaser p{font-size:.9375rem;line-height:1.45;margin:0}.sp-chat-teaser .sp-chat-teaser-label{font-size:.75rem;font-weight:700;color:#496359;margin-bottom:5px}
.sp-chat-teaser-close{position:absolute;right:5px;top:4px;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#36594b;font-size:1.3rem;line-height:1}
.sp-chat-teaser-close:hover{background:#eaf0eb}
@media(prefers-reduced-motion:no-preference){.sp-chat-teaser:not([hidden]){transform-origin:bottom right;animation:sp-teaser-in .48s cubic-bezier(.2,.8,.2,1) both}@keyframes sp-teaser-in{0%{opacity:0;transform:translate(10px,12px) scale(.72)}70%{opacity:1;transform:translate(-1px,-1px) scale(1.025)}100%{opacity:1;transform:translate(0,0) scale(1)}}}
/* Staging-only inquiry form; the public demo does not include it. */
.sp-inquiry{margin:14px 0;border-top:1px solid #d4ded7;padding-top:12px}.sp-inquiry summary{font-weight:700;color:#073d32;cursor:pointer;min-height:40px;padding:8px 0}.sp-inquiry p{font-size:.875rem;line-height:1.45}.sp-inquiry form{display:grid;gap:10px}.sp-inquiry label{display:grid;gap:4px;font-size:.875rem;font-weight:700}.sp-inquiry input:not([type=checkbox]),.sp-inquiry select,.sp-inquiry textarea{font:1rem Arial,sans-serif;width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid #9eb4a6;border-radius:9px;background:#fff;color:#122d27}.sp-inquiry textarea{min-height:84px;resize:vertical}.sp-inquiry .sp-inquiry-consent{display:flex;align-items:flex-start;gap:8px;font-weight:400;line-height:1.4}.sp-inquiry button{background:#073d32;color:white;border:0;border-radius:9px;min-height:44px;font-weight:700}.sp-inquiry button:disabled{opacity:.6}.sp-inquiry [role=status]{min-height:1.4em;color:#36594b}

/* The greeting is a separate control from its dismiss button. */
.sp-chat-teaser-open{position:absolute;inset:0 40px 0 0;border:0;border-radius:16px;background:transparent;cursor:pointer}
.sp-chat-teaser-close{z-index:1}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.sp-chat-teaser{transition:translate .2s ease,box-shadow .2s ease,border-color .2s ease}.sp-chat-teaser:hover{translate:0 -3px;box-shadow:0 15px 34px #062e2638;border-color:#b39c68}}

/* Keep the welcome and subsequent assistant messages on the same edge. */
.sp-chat-greeting{align-items:flex-start}.sp-chat-greeting img{display:none}.sp-chat-greeting>div{width:fit-content;max-width:90%;border:1px solid #d4ded7;background:#fff;border-radius:15px 15px 15px 4px;padding:11px 13px}.sp-chat-greeting span{margin:0;font-size:.75rem}.sp-chat-greeting p{border:0;background:transparent;border-radius:0;padding:0;margin:4px 0 0}.sp-chat-suggestions{margin-left:0}.sp-chat-message:not(.sp-chat-visitor){margin-left:0;max-width:90%}

.sp-chat-status:empty{min-height:0;margin:0}.sp-chat-typing{display:flex;gap:5px;align-items:center;min-height:38px}.sp-chat-typing span{width:7px;height:7px;border-radius:50%;background:#567c69;animation:sp-chat-dot 1.2s ease-in-out infinite}.sp-chat-typing span:nth-child(2){animation-delay:.16s}.sp-chat-typing span:nth-child(3){animation-delay:.32s}@keyframes sp-chat-dot{0%,60%,100%{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.sp-chat-typing span{animation:none;opacity:.75}}

.sp-inquiry:not([open]){display:none}.sp-inquiry>summary.sp-manual-hidden{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sp-inquiry-review{margin:12px 0;padding:16px;border:1px solid #cadbd0;border-radius:15px;background:#fff;color:#183b31}.sp-inquiry-review>strong{display:block;margin-bottom:12px}.sp-inquiry-review>div:not(.sp-review-actions){padding:8px 0;border-top:1px solid #e5ece7}.sp-inquiry-review>div>span{font-size:.75rem;color:#567467;font-weight:700}.sp-inquiry-review>div>p{margin:3px 0 0;font-size:.875rem;overflow-wrap:anywhere;white-space:pre-wrap}.sp-inquiry-review .sp-review-consent{font-size:.75rem;line-height:1.4;color:#49665a}.sp-review-actions{display:flex;gap:8px;flex-wrap:wrap}.sp-review-actions button{min-height:42px;border-radius:999px;padding:8px 14px;background:#073d32;color:#fff;border:1px solid #073d32;font-weight:700;cursor:pointer}.sp-review-actions button+button{background:#fff;color:#073d32}.sp-review-actions button:focus-visible{outline:3px solid #bf963e;outline-offset:2px}.sp-review-actions button:disabled{opacity:.6;cursor:default}
