/* MySoil widget: keep all rules scoped away from WoodMart/site controls. */
#msobc-chat{--msobc-ink:#183c38;--msobc-teal:#005c57;--msobc-muted:#6f827c;--msobc-line:#e4eae5;--msobc-paper:#f7f9f5;position:fixed;z-index:999990;right:24px;bottom:max(24px,env(safe-area-inset-bottom));font-family:inherit;color:var(--msobc-ink);font-size:14px;line-height:1.6;text-align:left;letter-spacing:normal}
#msobc-chat *{box-sizing:border-box}
#msobc-chat [hidden]{display:none!important}
#msobc-chat button,#msobc-chat textarea,#msobc-chat a{font:inherit;letter-spacing:normal;text-transform:none;box-shadow:none}
#msobc-chat button{min-height:0;margin:0;cursor:pointer;border:0;appearance:none;-webkit-tap-highlight-color:transparent}
#msobc-chat button:disabled{cursor:wait;opacity:.55}
#msobc-chat button:focus-visible,#msobc-chat a:focus-visible,#msobc-chat textarea:focus-visible{outline:3px solid #80bca3;outline-offset:3px}
#msobc-chat svg{width:22px;height:22px;display:block;flex:none}
#msobc-chat .msobc-launcher{display:grid;place-items:center;position:relative;margin-left:auto;width:62px;height:62px;border-radius:23px;background:var(--msobc-teal);color:#fff;box-shadow:0 7px 22px #003e3733,inset 0 1px 0 #ffffff20;transition:transform .2s,box-shadow .2s;isolation:isolate}
#msobc-chat .msobc-launcher>svg{width:32px;height:32px;stroke-width:1.55}
#msobc-chat .msobc-launcher:after{content:'';position:absolute;top:0;right:0;width:11px;height:11px;background:#0bd63d;border-radius:50%;border:2px solid #fff;pointer-events:none}
#msobc-chat .msobc-launcher:hover{transform:translateY(-2px);box-shadow:0 10px 28px #003e3744}
/* The invitation is visible by default, not on hover. */
#msobc-chat .msobc-launcher-hint{position:absolute;right:76px;bottom:5px;max-width:min(315px,calc(100vw - 112px));min-width:200px;white-space:nowrap;background:#fff;border:1px solid var(--msobc-line);border-radius:12px;padding:10px 13px;color:#353d39;font-size:12px;line-height:1.65;box-shadow:0 4px 15px #003e3710;transition:opacity .16s,visibility .16s;pointer-events:none;opacity:1;visibility:visible}
#msobc-chat .msobc-hint-close{position:absolute;right:76px;bottom:58px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;padding:0;background:#fff;border:1px solid var(--msobc-line);color:#222;box-shadow:0 2px 6px #0002;transition:opacity .16s,visibility .16s}
#msobc-chat .msobc-hint-close svg{width:13px;height:13px}
@media(hover:hover){#msobc-chat .msobc-launcher:hover~.msobc-launcher-hint{opacity:0}#msobc-chat:has(.msobc-launcher:hover) .msobc-launcher-hint,#msobc-chat:has(.msobc-launcher:hover) .msobc-hint-close{opacity:0;visibility:hidden;pointer-events:none}}
#msobc-chat .msobc-panel{position:absolute;right:0;bottom:78px;display:flex;flex-direction:column;width:396px;max-width:calc(100vw - 32px);height:620px;max-height:calc(100dvh - 128px);border-radius:24px;background:#fff;border:1px solid #dce6df;overflow:hidden;box-shadow:0 22px 65px #123a3826,0 3px 14px #123a380b;animation:msobc-open .2s ease-out}
#msobc-chat .msobc-header{display:flex;align-items:center;gap:10px;padding:18px 16px;background:var(--msobc-teal);color:#fff;flex:none;position:relative}
#msobc-chat .msobc-avatar{width:44px;height:44px;display:grid;place-items:center;background:#fff;border:1px solid #e2eee8;border-radius:15px;overflow:hidden;flex:none}
#msobc-chat .msobc-avatar img{width:100%;height:100%;display:block;object-fit:contain;padding:3px}
#msobc-chat .msobc-heading{display:flex;flex-direction:column;margin-right:auto;gap:1px;min-width:0}
#msobc-chat .msobc-heading strong{font-size:17px;font-weight:650;line-height:1.5;color:#fff}
#msobc-chat .msobc-heading>span{font-size:11px;color:#d0e3dc;line-height:1.5}
#msobc-chat .msobc-icon-button{width:28px;height:34px;display:grid;place-items:center;padding:0;border-radius:9px;background:transparent;color:#e2eee8;flex:none}
#msobc-chat .msobc-icon-button:hover{background:#ffffff18;color:white}
#msobc-chat .msobc-icon-button svg{width:18px;height:18px}
#msobc-chat .msobc-body{padding:20px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:var(--msobc-paper);scrollbar-width:thin;scrollbar-color:#cad6cc transparent}
#msobc-chat .msobc-welcome{padding:3px 0 6px}
#msobc-chat .msobc-eyebrow{display:block;font-size:9px;font-weight:600;color:#658278;letter-spacing:.04em;margin:0 0 12px}
#msobc-chat .msobc-welcome h2{font:inherit;font-size:21px;font-weight:650;line-height:1.45;color:var(--msobc-ink);margin:0 0 10px;letter-spacing:-.3px}
#msobc-chat .msobc-welcome p{font-size:12px;color:#61756d;line-height:1.8;margin:0 0 20px;max-width:none;overflow-wrap:anywhere}
#msobc-chat .msobc-suggestions{display:grid;gap:9px}
#msobc-chat .msobc-suggestion{display:flex;width:100%;align-items:center;text-align:left;justify-content:space-between;gap:8px;padding:14px;border:1px solid #dfe8df;border-radius:13px;background:#fff;color:var(--msobc-ink);line-height:1.6;transition:background .18s,border-color .18s}
#msobc-chat .msobc-suggestion:hover{background:#eef5e9;border-color:#b8ccba}
#msobc-chat .msobc-suggestion>span{font-size:12px;font-weight:500}
#msobc-chat .msobc-suggestion svg{width:16px;height:16px;color:#648878;flex:none}
#msobc-chat .msobc-log{display:flex;flex-direction:column;gap:19px}
#msobc-chat .msobc-message{display:flex;gap:8px;align-items:flex-start;max-width:100%}
#msobc-chat .msobc-message-avatar{display:grid;place-items:center;background:#e6efdf;color:var(--msobc-teal);border-radius:10px;width:27px;height:29px;flex:none;margin-top:2px;overflow:hidden}
#msobc-chat .msobc-message-avatar img{width:100%;height:100%;object-fit:contain;padding:2px}
#msobc-chat .msobc-message-content{min-width:0;max-width:calc(100% - 35px)}
#msobc-chat .msobc-bubble{padding:12px 14px;border:1px solid #e1e8df;border-radius:0 15px 15px 15px;background:#fff;font-size:13px;line-height:1.85;color:#25423a;white-space:pre-wrap;overflow-wrap:anywhere}
#msobc-chat .msobc-inline-link{color:inherit;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
#msobc-chat .msobc-user{justify-content:flex-end}
#msobc-chat .msobc-user .msobc-message-content{max-width:87%}
#msobc-chat .msobc-user .msobc-bubble{background:var(--msobc-teal);color:#fff;border-color:var(--msobc-teal);border-radius:15px 15px 0 15px}
#msobc-chat .msobc-products{display:grid;gap:6px;margin-top:7px}
#msobc-chat .msobc-product{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 12px;border:1px solid #cddccc;border-radius:9px;background:#f0f6e9;color:var(--msobc-teal);font-size:11px;font-weight:500;line-height:1.65;text-decoration:none;overflow-wrap:anywhere}
#msobc-chat .msobc-product:hover{background:#e4efd9;border-color:#a9c1a5}
#msobc-chat .msobc-product svg{width:15px;height:15px}
#msobc-chat .msobc-status{font-size:11px;line-height:1.7;color:var(--msobc-muted);margin-top:15px;padding:0 4px;display:flex;align-items:center;gap:4px}
#msobc-chat .msobc-typing-dots{display:inline-flex;align-items:center;gap:1px}
#msobc-chat .msobc-typing-dots>span{display:inline-block;font-size:16px;line-height:1;animation:msobc-dot 1.35s infinite}
#msobc-chat .msobc-typing-dots>span:nth-child(2){animation-delay:.16s}
#msobc-chat .msobc-typing-dots>span:nth-child(3){animation-delay:.32s}
#msobc-chat .msobc-alert{flex:none;background:#fff7e6;border-top:1px solid #ebdfc2;padding:10px 18px;font-size:11px;line-height:1.75;color:#70552c}
#msobc-chat .msobc-retry{display:block;padding:3px 0;background:transparent;color:#005c57;font-size:12px;text-decoration:underline}
/* Always show the message field, including when it is not focused. */
#msobc-chat .msobc-composer{display:flex;align-items:flex-end;gap:9px;padding:12px 14px;border-top:1px solid var(--msobc-line);margin:0;background:#fff;flex:none}
#msobc-chat .msobc-composer textarea{display:block;flex:1;width:0;min-width:0;min-height:42px;max-height:112px;padding:10px 12px;resize:none;border:1px solid #d4dfd8;border-radius:11px;background:#fff;color:var(--msobc-ink);font-size:13px;line-height:20px;box-shadow:none;outline:none;outline-offset:0;appearance:none;-webkit-appearance:none;transition:border-color .15s}
#msobc-chat .msobc-composer textarea::placeholder{color:#667c71;opacity:1}
/* No thick focus halo. The small border-color change retains a visible keyboard focus cue. */
#msobc-chat .msobc-composer textarea:focus,#msobc-chat .msobc-composer textarea:focus-visible{border-color:#93bba7;outline:none;outline-offset:0;box-shadow:none;background:#fff}
#msobc-chat .msobc-composer textarea:disabled{background:#fff;opacity:.65}
#msobc-chat .msobc-send{display:grid;place-items:center;width:42px;height:42px;padding:0;border-radius:12px;background:var(--msobc-teal);color:#fff;flex:none}
#msobc-chat .msobc-send:hover{background:#004c47}
#msobc-chat .msobc-send svg{width:21px;height:21px}
/* The contact area is deliberately separate from the white composer. */
#msobc-chat .msobc-footer{background:#edf2ed;border-top:1px solid #dce6dc;padding:10px 14px 13px;flex:none;text-align:center}
#msobc-chat .msobc-contact-label{display:block;font-size:10px;font-weight:500;color:#506b60;margin:0 0 8px}
#msobc-chat .msobc-contacts{display:flex;justify-content:center;gap:7px;margin:0}
#msobc-chat .msobc-contact{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:9px;padding:9px 5px;text-decoration:none;font-size:11px;line-height:1.3;min-height:38px;flex:1;min-width:0;box-shadow:none;transition:background-color .15s}
#msobc-chat .msobc-contact svg{width:16px;height:16px}
#msobc-chat .msobc-contact--phone,#msobc-chat .msobc-contact--phone:visited{background:#005c57;color:#fff}
/* Slightly deeper WhatsApp green for accessible white lettering (4.7:1). */
#msobc-chat .msobc-contact--whatsapp,#msobc-chat .msobc-contact--whatsapp:visited{background:#0d854c;color:#fff}
#msobc-chat .msobc-contact--facebook,#msobc-chat .msobc-contact--facebook:visited{background:#0866ff;color:#fff}
#msobc-chat .msobc-contact--phone:hover{background:#004b47;color:#fff}
#msobc-chat .msobc-contact--whatsapp:hover{background:#097440;color:#fff}
#msobc-chat .msobc-contact--facebook:hover{background:#075be5;color:#fff}
#msobc-chat .msobc-contact:focus-visible{outline:2px solid #134f4b;outline-offset:2px}
@keyframes msobc-open{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes msobc-dot{0%,25%,80%,100%{opacity:.32;transform:translateY(0)}46%{opacity:1;transform:translateY(-3px)}}
@media(max-width:600px){#msobc-chat{right:16px;bottom:max(18px,env(safe-area-inset-bottom))}#msobc-chat .msobc-panel{position:fixed;right:10px;top:calc(var(--msobc-mobile-top,0px) + 10px);bottom:auto;width:calc(100vw - 20px);max-width:none;height:calc(var(--msobc-mobile-height,100dvh) - 20px);max-height:calc(var(--msobc-mobile-height,100dvh) - 20px);border-radius:20px;z-index:2}#msobc-chat .msobc-launcher{width:58px;height:58px;border-radius:21px}#msobc-chat .msobc-panel:not([hidden])~.msobc-launcher{visibility:hidden}#msobc-chat textarea{font-size:16px}#msobc-chat .msobc-body{padding:20px 17px}#msobc-chat .msobc-bubble{font-size:13px}#msobc-chat .msobc-welcome h2{font-size:21px}#msobc-chat .msobc-suggestion{padding:14px}#msobc-chat .msobc-contact{padding:9px 4px;font-size:10px;gap:4px}#msobc-chat .msobc-contact svg{width:15px;height:15px}#msobc-chat .msobc-icon-button{width:30px;height:36px}#msobc-chat .msobc-launcher-hint{right:72px;font-size:12px;padding:9px 11px;max-width:calc(100vw - 105px);min-width:0}#msobc-chat .msobc-hint-close{right:72px;bottom:55px}}
/* On mobile, make room for the actual conversation while the software keyboard is up. */
@media(max-width:600px){
  #msobc-chat.msobc-composing .msobc-footer{display:none}
  #msobc-chat.msobc-composing .msobc-header{padding:9px 12px;gap:7px}
  #msobc-chat.msobc-composing .msobc-avatar{width:34px;height:34px;border-radius:10px}
  #msobc-chat.msobc-composing .msobc-heading strong{font-size:14px}
  #msobc-chat.msobc-composing .msobc-heading>span{display:none}
  #msobc-chat.msobc-composing .msobc-icon-button{width:27px;height:30px}
  #msobc-chat.msobc-composing .msobc-body{padding:12px}
  #msobc-chat.msobc-composing .msobc-composer{padding:8px 11px}
}
@media(max-width:350px){#msobc-chat .msobc-header{gap:5px;padding:15px 12px}#msobc-chat .msobc-avatar{width:38px;height:38px}#msobc-chat .msobc-heading strong{font-size:14px}#msobc-chat .msobc-contact{font-size:9px;gap:2px}}
@media(prefers-reduced-motion:reduce){#msobc-chat *,#msobc-chat *:before{animation:none!important;transition:none!important}}
