/* Scoped live-chat presentation, with responsive layout and no dependencies. */
.lmfc-chat,.lmfc-chat *{box-sizing:border-box}
.lmfc-chat{position:fixed;right:22px;bottom:22px;z-index:99998;font-family:Manrope,Arial,sans-serif;font-size:14px;color:#121121}
.lmfc-chat-launch{display:flex;align-items:center;gap:11px;background:#121121;color:#fff;border:1px solid #46d7ac;border-radius:45px;padding:7px 17px 7px 7px;box-shadow:0 12px 38px #0005;font-weight:800;font-size:13px;cursor:pointer}
.lmfc-chat-launch img{width:52px;height:52px;object-fit:cover;border-radius:50%;background:#121121}
.lmfc-chat-launch-dot{height:9px;width:9px;background:#46d7ac;border-radius:50%;box-shadow:0 0 0 3px #46d7ac22}
.lmfc-chat-launch:hover,.lmfc-chat-launch:focus-visible{background:#27283d;color:#fff;outline:2px solid #46d7ac;outline-offset:2px}
.lmfc-chat-panel{position:absolute;bottom:82px;right:0;width:min(420px,calc(100vw - 24px));height:min(650px,calc(100dvh - 125px));min-height:350px;background:#fff;border:1px solid #dbe5e2;border-radius:18px;overflow:hidden;box-shadow:0 24px 75px #0006;display:flex;flex-direction:column}
.lmfc-chat-panel[hidden],.lmfc-chat-form-screen[hidden],.lmfc-chat-messages[hidden],.lmfc-chat-compose[hidden],.lmfc-chat-actions[hidden]{display:none!important}
.lmfc-chat-head{flex:none;display:flex;align-items:center;gap:12px;background:#121121;color:#fff;padding:13px 17px}
.lmfc-chat-head img{width:48px;height:48px;border-radius:50%;object-fit:cover}.lmfc-chat-head strong{display:block;font-size:15px}.lmfc-chat-head small{display:block;font-size:10px;color:#c2d8d1;margin-top:3px}
.lmfc-chat-close{margin-left:auto;background:transparent;border:0;color:#fff;font-size:28px;line-height:1;padding:5px;cursor:pointer}
.lmfc-chat-messages{flex:1;overflow:auto;background:#f5f8f7;padding:19px 15px;display:flex;flex-direction:column;gap:12px;min-height:0}
.lmfc-chat-bubble{max-width:91%;padding:12px 14px;border-radius:15px 15px 15px 3px;background:#fff;border:1px solid #dbe7e2;color:#1b2430;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;align-self:flex-start}
.lmfc-chat-bubble.is-user{background:#46d7ac;color:#121121;border-color:#46d7ac;align-self:flex-end;border-radius:15px 15px 3px 15px}
.lmfc-chat-actions{flex:none;padding:9px 12px 5px;display:flex;gap:6px;flex-wrap:wrap;background:#fff}
.lmfc-chat-actions button{font:700 11px/1.3 Manrope,Arial,sans-serif;padding:8px 10px;background:#ecf9f5;border:1px solid #83d9c1;border-radius:30px;color:#123c33;cursor:pointer}
.lmfc-chat-actions button:hover{background:#46d7ac;color:#121121}
.lmfc-chat-compose{flex:none;display:flex;gap:7px;padding:10px 12px;background:#fff;border-top:1px solid #e6efeb;margin:0}
.lmfc-chat-compose input{min-width:0;flex:1;border:1px solid #d8e3df;border-radius:9px;padding:11px;font-size:16px;line-height:1.35;background:white;color:#121121}
.lmfc-chat-compose button,.lmfc-chat-form-screen .quote-submit{background:#46d7ac!important;color:#121121!important;border:0;border-radius:9px;font-weight:900;padding:10px 13px;cursor:pointer}
.lmfc-chat-foot{flex:none;text-align:center;background:#fff;color:#6c7976;font-size:10px;padding:8px 10px 10px;border-top:1px solid #e6efeb;line-height:1.55}.lmfc-chat-foot span{display:block}.lmfc-chat-credit{margin-top:3px}.lmfc-chat-credit a{color:#14483b!important;text-decoration:none;font-weight:800}.lmfc-chat-credit a:hover,.lmfc-chat-credit a:focus-visible{text-decoration:underline}
.lmfc-chat-form-screen{flex:1;min-height:0;overflow-y:auto;padding:15px;background:#fff}
.lmfc-chat-form-heading{margin-bottom:13px}.lmfc-chat-form-heading strong{display:block;margin:10px 0;font-size:16px}.lmfc-chat-form-heading p{font-size:11px;line-height:1.6;color:#52615e}.lmfc-chat-back{border:0;background:#edf5f1;padding:8px 10px;color:#121121;font-size:11px;font-weight:800;border-radius:8px}
.lmfc-chat-form-screen .lmf-quote-form{width:100%;padding:0;margin:0}.lmfc-chat-form-screen .form-grid{display:grid;grid-template-columns:1fr;gap:11px}.lmfc-chat-form-screen .form-grid .span-two{grid-column:1}.lmfc-chat-form-screen .lmf-quote-form label{font-size:11px;color:#172b29;font-weight:800}.lmfc-chat-form-screen .lmf-quote-form input,.lmfc-chat-form-screen .lmf-quote-form select,.lmfc-chat-form-screen .lmf-quote-form textarea{max-width:100%;font-size:16px;line-height:1.35}.lmfc-chat-form-screen .lmf-captcha{padding:12px}.lmfc-chat-form-screen .consent{font-size:10px}
@media(max-width:650px){.lmfc-chat{right:12px;bottom:60px}.lmfc-chat-panel{width:calc(100vw - 24px);height:min(630px,calc(100dvh - 142px));bottom:76px}.lmfc-chat-launch{padding:5px 11px 5px 5px}.lmfc-chat-launch img{height:46px;width:46px}.lmfc-chat-launch span:nth-child(2){font-size:11px}}
@media(max-height:550px){.lmfc-chat-panel{height:calc(100dvh - 94px);bottom:68px;min-height:0}}
@media(prefers-reduced-motion:reduce){.lmfc-chat *{scroll-behavior:auto!important}}

/* Keep the launcher above fixed website CTAs, and respect hidden state even under theme overrides. */
body .lmfc-chat{z-index:2147483000!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
body .lmfc-chat-panel[hidden]{display:none!important}
body .lmfc-chat-launch{position:relative;visibility:visible!important;opacity:1!important}

/* Smooth open without zooming or scaling the window. */
@media (prefers-reduced-motion:no-preference){
 .lmfc-chat-panel:not([hidden]){animation:lmfc-chat-enter .22s ease-out both}
 .lmfc-chat-bubble{animation:lmfc-bubble-enter .18s ease-out both}
 @keyframes lmfc-chat-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
 @keyframes lmfc-bubble-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
}
/* iOS Safari zooms the entire page on focused fields rendered below 16px. */
@media (max-width:1040px){
 .lmfc-chat input:not([type=checkbox]):not([type=radio]),.lmfc-chat select,.lmfc-chat textarea{font-size:16px!important}
 .lmfc-chat .lmf-quote-form input[type=file]{font-size:16px!important}
 .lmfc-chat-panel{max-height:calc(100dvh - 110px)}
}

/* v2.2.9 — Contain the website quotation form inside the narrow chat panel.
   Intrinsic input and file-picker widths must not widen CSS grid tracks. */
.lmfc-chat-form-screen{min-width:0;max-width:100%}
.lmfc-chat-form-screen{overflow-x:hidden;overscroll-behavior-x:contain}
.lmfc-chat-form-screen .lmf-quote-form,
.lmfc-chat-form-screen .form-grid,
.lmfc-chat-form-screen .form-grid>*{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.lmfc-chat-form-screen .form-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
  gap:11px!important;
}
.lmfc-chat-form-screen .form-grid>label{
  display:flex!important;
  flex-direction:column;
  grid-column:1 / -1!important;
  width:100%!important;
  overflow-wrap:anywhere;
}
.lmfc-chat-form-screen .lmf-quote-form input:not([type=checkbox]):not([type=radio]),
.lmfc-chat-form-screen .lmf-quote-form select,
.lmfc-chat-form-screen .lmf-quote-form textarea{
  display:block;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.lmfc-chat-form-screen .lmf-quote-form input[type=file]{
  display:block;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  padding:7px 0;
  white-space:normal;
}
.lmfc-chat-form-screen .file-field,
.lmfc-chat-form-screen .lmf-captcha,
.lmfc-chat-form-screen .consent,
.lmfc-chat-form-screen .quote-submit{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.lmfc-chat-form-screen .consent{display:flex;align-items:flex-start;gap:10px}
.lmfc-chat-form-screen .consent input[type=checkbox]{width:auto!important;max-width:none!important;flex:0 0 auto}
.lmfc-chat-form-screen .consent span{min-width:0;overflow-wrap:anywhere}
.lmfc-chat-form-screen .lmf-captcha{overflow-wrap:anywhere}
.lmfc-chat-form-screen .lmf-quote-form .btn.quote-submit{display:flex;align-items:center;justify-content:center;gap:8px;white-space:normal;text-align:center}

/* Warranty information link inside chatbot. */
.lmfc-chat .lmfc-chat-warranty-link{display:block;max-width:95%;width:fit-content;margin:8px 0 12px;padding:10px 13px;border:1px solid #46d7ac;border-radius:10px;color:#46d7ac!important;background:#162c2b;font-size:14px;font-weight:700;text-decoration:none;line-height:1.4;overflow-wrap:anywhere}
.lmfc-chat .lmfc-chat-warranty-link:hover,.lmfc-chat .lmfc-chat-warranty-link:focus-visible{background:#46d7ac;color:#121121!important;outline-offset:2px}

/* v2.2.11: The panel must not inherit the launcher's narrow intrinsic width.
   Restrict form children only; keep the dialog at its intended width. */
body .lmfc-chat .lmfc-chat-panel{
  width:min(420px,calc(100vw - 24px));
  max-width:none;
  min-width:0;
}
@media (max-width:650px){
  body .lmfc-chat .lmfc-chat-panel{
    position:fixed;
    inset:0;
    width:100%;
    width:100vw;
    max-width:none;
    height:100%;
    height:100dvh;
    min-height:0;
    max-height:100dvh;
    border:0;
    border-radius:0;
    margin:0;
    transform:none;
  }
  body .lmfc-chat .lmfc-chat-form-screen{min-width:0;overflow-x:hidden}
}
