.sff-chat{--sff-chat-green:#202e27;--sff-chat-paper:#f8f7f1;--sff-chat-sage:#dbe8a1;--sff-chat-line:#d4d7c9;--sff-chat-viewport-height:100dvh;--sff-chat-viewport-bottom:0px;position:fixed;right:22px;bottom:calc(22px + var(--sff-chat-viewport-bottom));z-index:9998;font:15px/1.55 "DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--sff-chat-green);text-align:left;letter-spacing:normal}
.sff-chat *{box-sizing:border-box}
.sff-chat[hidden],.sff-chat [hidden]{display:none!important}
.sff-chat button,.sff-chat input{font:inherit;letter-spacing:normal;text-transform:none}
.sff-chat button{cursor:pointer;appearance:none}
.sff-chat button:focus-visible,.sff-chat a:focus-visible,.sff-chat input:focus-visible,.sff-chat [tabindex]:focus-visible{outline:3px solid #b77832;outline-offset:3px}
.sff-chat button:disabled{cursor:wait;opacity:.55}
.sff-chat p{margin:0}
.sff-chat-launcher{display:flex;align-items:center;gap:12px;padding:8px 18px 8px 8px;border:1px solid #ffffff40;border-radius:999px;background:var(--sff-chat-green);color:#fff;box-shadow:0 8px 32px #102b2d29;min-height:68px;max-width:calc(100vw - 32px);transition:transform .2s,box-shadow .2s}
.sff-chat-launcher:hover{transform:translateY(-3px);box-shadow:0 12px 30px #102b2d36}
.sff-chat-avatar{display:block;width:52px;height:52px;border-radius:50%;overflow:hidden;flex:none;background:#f0dfbc}
.sff-chat-avatar svg,.sff-chat-avatar-image{display:block;width:100%;height:100%;object-fit:cover}
.sff-chat-launcher-label{font-size:15px;font-weight:700;line-height:1.3;text-align:left}
.sff-chat-launcher-label>span{display:block;margin-top:3px;font-size:11px;font-weight:400;color:#e5e9da}
.sff-chat-launcher-icon{font-size:23px;font-weight:400;margin-left:2px}
.sff-chat-panel{position:absolute;right:0;bottom:82px;width:420px;max-width:calc(100vw - 32px);height:650px;max-height:calc(var(--sff-chat-viewport-height) - 126px);display:flex;flex-direction:column;overflow:hidden;background:var(--sff-chat-paper);border:1px solid var(--sff-chat-line);border-radius:20px;box-shadow:0 24px 70px #142c303b;animation:sff-chat-open .2s ease-out;isolation:isolate}
.sff-chat-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;background:var(--sff-chat-green);color:#fff;flex:none}
.sff-chat-header h2{margin:0;color:inherit;font:700 21px/1.2 "DM Sans",system-ui,sans-serif;letter-spacing:-.025em}
.sff-chat-header p{margin-top:4px;font-size:12px;color:#e5e9da}
.sff-chat-close{padding:0;width:44px;height:44px;min-height:44px;border:1px solid #6b796c;border-radius:50%;display:grid;place-items:center;flex:none;background:transparent;color:#fff;font:28px/1 system-ui}
.sff-chat-close:hover{background:#3b4b3c}
.sff-chat-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-bottom:1px solid var(--sff-chat-line);flex:none}
.sff-chat-tools p{font-size:11px;color:#62685e}
.sff-chat-reset{min-height:44px;padding:9px 0;border:0;background:transparent;color:#3e552b;font-size:11px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.sff-chat-reset:hover{color:#202e27}
.sff-chat-scroll{position:relative;padding:18px;overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#aab39a #f4f0e7}
.sff-chat-welcome{margin-bottom:16px;font-size:14px;line-height:1.65;color:#4a5548}
.sff-chat-messages{display:grid;gap:22px}
.sff-chat-turn{display:grid;gap:14px;min-width:0}
.sff-chat-message{min-width:0;max-width:97%}
.sff-chat-message-user{justify-self:end;max-width:90%}
.sff-chat-author{display:block;margin:0 1px 5px;font-size:10px;font-weight:600;color:#62685e}
.sff-chat-message-user .sff-chat-author{text-align:right}
.sff-chat-bubble{padding:13px 15px;border:1px solid #e0e3d9;border-radius:3px 15px 15px 15px;background:#fff;font-size:14px;line-height:1.65;overflow-wrap:anywhere;white-space:normal}
.sff-chat-message-user .sff-chat-bubble{border:0;border-radius:15px 3px 15px 15px;background:var(--sff-chat-sage);color:#243121;white-space:pre-wrap}
.sff-chat-intro{color:#4a5548}
.sff-chat-intro+.sff-chat-answer{margin-top:10px}
.sff-chat-answer+.sff-chat-answer{margin-top:14px;padding-top:13px;border-top:1px solid #e7e9df}
.sff-chat-answer-text{white-space:pre-line}
.sff-chat .sff-chat-answer-list{margin:9px 0;padding-left:20px;list-style:disc;line-height:1.65}
.sff-chat .sff-chat-answer-list li{margin:5px 0;padding-left:2px}
.sff-chat .sff-chat-answer-list+.sff-chat-answer-text{margin-top:10px}
.sff-chat .sff-chat-answer-text+.sff-chat-answer-text{margin-top:8px}
.sff-chat .sff-chat-answer-question{margin-bottom:8px;font-size:12px;font-weight:600;line-height:1.55;color:#536437}
.sff-chat-source{display:inline-block;margin-top:5px;padding:5px 0;color:#43582d;font-size:11px;font-weight:600;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
.sff-chat-source:hover{color:#202e27}
.sff-chat-media{display:block;overflow:hidden;margin-top:9px;border:1px solid var(--sff-chat-line);border-radius:9px;background:#f0f2e8;color:#34482b;text-decoration:none}
.sff-chat-media-image{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.sff-chat-media-label{display:block;padding:10px 11px;font-size:12px;font-weight:600;line-height:1.5}
.sff-chat-media:hover .sff-chat-media-label{text-decoration:underline;text-underline-offset:3px}
.sff-chat-contact{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;padding:9px 13px;border-radius:7px;color:#fff;background:var(--sff-chat-green);font-size:12px;font-weight:600;text-decoration:none}
.sff-chat-contact:hover{background:#3a4c36;color:#fff}
.sff-chat-related{margin-top:14px;padding-top:12px;border-top:1px solid #e7e9df}
.sff-chat-related-title{font-size:12px;font-weight:600;color:#4a5548}
.sff-chat-related-list{display:grid;gap:3px;margin:5px 0 0;padding:0;list-style:none}
.sff-chat-related-list li{padding:0;margin:0}
.sff-chat-related-link{display:flex;align-items:center;min-height:44px;padding:7px 0;color:#43582d;font-size:13px;font-weight:600;text-underline-offset:3px}
.sff-chat-related-link:hover{color:#202e27}
.sff-chat-suggestions{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}
.sff-chat-suggestions button{padding:9px 12px;min-height:40px;border:1px solid #cbd2bb;border-radius:999px;background:#edf0e4;color:#35472c;font-size:12px;font-weight:500;line-height:1.3;transition:background .2s}
.sff-chat-suggestions button:hover:not(:disabled){background:#dfe7cf}
.sff-chat-form{padding:12px 18px 11px;border-top:1px solid var(--sff-chat-line);background:#edeee6;flex:none}
.sff-chat-form label{display:block;color:#354a35;font-size:11px;font-weight:600;margin-bottom:6px}
.sff-chat-input-row{display:flex;align-items:center;gap:8px}
.sff-chat-input-row input{display:block;width:100%;min-width:0;background:#fff;border:1px solid #bfc8b4;color:#202e27;border-radius:9px;padding:11px 12px;height:46px;font-size:14px;box-shadow:none}
.sff-chat-input-row input::placeholder{color:#687261;opacity:1}
.sff-chat-input-row input[aria-invalid=true]{border-color:#a64832}
.sff-chat-input-row>button{display:grid;place-items:center;width:46px;height:46px;flex:none;border:0;border-radius:9px;background:#536437;color:#fff;font-size:25px;font-weight:500}
.sff-chat-input-row>button:hover:not(:disabled){background:#3c4b29}
.sff-chat-status{font-size:11px;color:#4a5742;line-height:1.5;margin-top:7px!important}
.sff-chat-status:empty{display:none}
.sff-chat-footnote{margin-top:7px!important;font-size:10px;color:#62685e;line-height:1.4}
.sff-chat-avatar .sff-farmer-eye{transform-box:fill-box;transform-origin:center;animation:sff-farmer-blink 6.5s infinite}
.sff-chat-avatar .sff-farmer-hand{transform-box:fill-box;transform-origin:50% 90%;animation:sff-farmer-wave 9s ease-in-out infinite}
@keyframes sff-chat-open{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes sff-farmer-blink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.12)}}
@keyframes sff-farmer-wave{0%,84%,100%{transform:rotate(0)}88%,94%{transform:rotate(-12deg)}91%,97%{transform:rotate(7deg)}}
@media(max-width:600px){.sff-chat{right:12px;bottom:calc(max(12px,env(safe-area-inset-bottom)) + var(--sff-chat-viewport-bottom))}.sff-chat-launcher{padding:5px;min-height:58px;gap:0;width:58px;height:58px}.sff-chat-avatar{width:46px;height:46px}.sff-chat-launcher-label,.sff-chat-launcher-icon{display:none}.sff-chat-panel{bottom:70px;width:calc(100vw - 24px);max-width:420px;max-height:calc(var(--sff-chat-viewport-height) - 100px - env(safe-area-inset-bottom));height:650px;border-radius:16px}.sff-chat-header{padding:14px 16px}.sff-chat-header h2{font-size:20px}.sff-chat-tools{padding:0 16px}.sff-chat-scroll{padding:16px}.sff-chat-input-row input{font-size:16px}.sff-chat-form{padding:11px 14px}.sff-chat-bubble{padding:12px 13px}}
@media(max-height:520px){.sff-chat-header{padding:8px 14px}.sff-chat-header p{display:none}.sff-chat-tools{min-height:36px}.sff-chat-reset{min-height:36px;padding:6px 0}.sff-chat-form{padding-top:8px;padding-bottom:8px}.sff-chat-footnote{display:none}.sff-chat-panel{max-height:calc(var(--sff-chat-viewport-height) - 96px)}}
@media(prefers-reduced-motion:reduce){.sff-chat *,.sff-chat *::before,.sff-chat *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sff-chat{display:none!important}}

/* v1.2.5: avatar prominence and compact, accessible chat launcher */
.sff-chat .sff-chat-launcher{gap:9px;min-height:78px;padding:4px 13px 4px 4px}
.sff-chat .sff-chat-avatar{width:70px;height:70px;display:grid;place-items:center;flex-shrink:0}
.sff-chat .sff-chat-avatar-image{width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.34) translateY(4%);transform-origin:center}
.sff-chat .sff-chat-launcher-label{font-size:13px;line-height:1.2}
.sff-chat .sff-chat-launcher-label::before{font-size:13px!important;line-height:1.2}
.sff-chat .sff-chat-launcher-icon{font-size:18px;margin-left:0}
@media(max-width:600px){
 .sff-chat .sff-chat-launcher{width:66px;height:66px;min-height:66px;padding:4px;gap:0;border-radius:50%;justify-content:center}
 .sff-chat .sff-chat-avatar{width:56px;height:56px}
 .sff-chat .sff-chat-panel{bottom:78px}
}


/* v1.2.7 - Full visual-viewport mobile chat, including the virtual keyboard. */
@media (max-width:600px) {
  .sff-chat.is-open {
    position:fixed!important;
    z-index:2147483000;
    top:var(--sff-chat-viewport-top,0px)!important;
    left:var(--sff-chat-viewport-left,0px)!important;
    right:auto!important;
    bottom:auto!important;
    width:var(--sff-chat-viewport-width,100vw);
    height:var(--sff-chat-viewport-height,100dvh);
    max-width:none;
    margin:0;
  }
  .sff-chat.is-open .sff-chat-launcher{display:none!important}
  .sff-chat.is-open .sff-chat-panel {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    max-width:none;
    height:100%;
    max-height:none;
    border:0;
    border-radius:0;
    box-shadow:none;
    animation:none;
  }
  .sff-chat.is-open .sff-chat-header{padding:12px 16px}
  .sff-chat.is-open .sff-chat-close{width:42px;height:42px;min-height:42px}
  .sff-chat.is-open .sff-chat-tools{min-height:42px;padding:0 16px}
  .sff-chat.is-open .sff-chat-scroll{
    flex:1 1 0;
    min-height:0;
    padding:14px 16px;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .sff-chat.is-open .sff-chat-form{
    position:relative;
    flex:0 0 auto;
    padding:10px 14px max(10px,env(safe-area-inset-bottom));
  }
  .sff-chat.is-open .sff-chat-input-row input{
    min-height:46px;
    height:46px;
    font-size:16px;
  }
  .sff-chat.is-keyboard .sff-chat-header{padding:7px 14px}
  .sff-chat.is-keyboard .sff-chat-header h2{font-size:17px}
  .sff-chat.is-keyboard .sff-chat-header p{display:none}
  .sff-chat.is-keyboard .sff-chat-tools{min-height:36px;padding:0 14px}
  .sff-chat.is-keyboard .sff-chat-reset{min-height:36px;padding:5px 0}
  .sff-chat.is-keyboard .sff-chat-form{padding:7px 12px 6px}
  .sff-chat.is-keyboard .sff-chat-form label{margin-bottom:3px}
  .sff-chat.is-keyboard .sff-chat-footnote{display:none}
  .sff-chat.is-keyboard .sff-chat-status{margin-top:3px!important;font-size:10px}
  .sff-chat.is-keyboard .sff-chat-scroll{padding:10px 14px}
}
