.shoval-ai-root{--shoval-accent:#173D55;font-family:Arial,'Helvetica Neue',sans-serif;position:fixed;z-index:2147482000;bottom:24px;right:24px;direction:rtl;color:#172b34;line-height:1.55;font-size:14px;box-sizing:border-box}.shoval-ai-root *{box-sizing:border-box}.shoval-trigger{width:60px;height:60px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--shoval-accent);color:white;box-shadow:0 5px 22px #0002;cursor:pointer}.shoval-trigger svg{width:29px;height:29px;fill:none;stroke:white;stroke-width:1.8;stroke-linecap:round}.shoval-invite{position:absolute;right:70px;bottom:8px;white-space:nowrap;background:#fff;border:1px solid #e7ebed;box-shadow:0 5px 22px #0001;border-radius:15px;padding:10px 14px;color:#173d55;font-size:13px}.shoval-panel{position:absolute;right:0;bottom:76px;width:380px;height:min(580px,calc(100vh - 116px));display:flex;flex-direction:column;overflow:hidden;background:white;border:1px solid #e5e8eb;box-shadow:0 13px 45px #0003;border-radius:18px}.shoval-panel[hidden]{display:none}.shoval-header{display:flex;align-items:center;justify-content:space-between;background:var(--shoval-accent);color:white;padding:15px 18px;min-height:66px}.shoval-heading{display:flex;flex-direction:column;line-height:1.35}.shoval-heading strong{font-size:16px;color:white}.shoval-heading span{font-size:11px;opacity:.8}.shoval-close{font-size:28px;font-weight:300;color:white;background:none;border:0;cursor:pointer;line-height:1}.shoval-scroller{min-height:0;flex:1;overflow-y:auto;padding:18px 14px;overscroll-behavior:contain}.shoval-messages{display:flex;flex-direction:column;gap:12px}.shoval-msg{max-width:90%;align-self:flex-start}.shoval-msg.user{align-self:flex-end}.shoval-msg-content{white-space:pre-line;background:#f1f4f5;color:#22343c;border-radius:14px 14px 4px 14px;padding:11px 13px}.shoval-msg.user .shoval-msg-content{background:var(--shoval-accent);color:white;border-radius:14px 14px 14px 4px}.shoval-feedback{display:flex;gap:5px;padding:5px 0 0;font-size:12px;color:#666}.shoval-feedback button{border:none;background:none;cursor:pointer;font-size:15px}.shoval-quick{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:18px}.shoval-quick[hidden]{display:none}.shoval-chip{color:var(--shoval-accent);font:inherit;font-size:12px;background:white;border:1px solid #cbd4da;border-radius:22px;padding:8px 13px;cursor:pointer;text-align:right}.shoval-chip:hover{background:#f1f5f6}.shoval-privacy{padding:5px 16px 9px;font-size:10px;color:#77838a;border-top:1px solid #f1f2f3}.shoval-privacy a,.shoval-consent a{color:var(--shoval-accent);text-decoration:underline}.shoval-composer{display:flex;gap:8px;border-top:1px solid #e9ecee;padding:9px 12px 12px;background:white}.shoval-textarea{font:inherit!important;font-size:13px!important;border:1px solid #dde2e5!important;border-radius:10px!important;outline:0!important;flex:1!important;min-width:0!important;resize:none!important;background:white!important;max-height:90px!important;margin:0!important;padding:10px!important}.shoval-send{background:var(--shoval-accent);color:white;border:none;border-radius:10px;font-size:17px;min-width:40px;cursor:pointer;transform:scaleX(-1)}.shoval-send:disabled{opacity:.5}.shoval-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shoval-card{display:flex;flex-direction:column;border:1px solid #e0e6e9;text-decoration:none;color:var(--shoval-accent);border-radius:10px;overflow:hidden;font-size:12px;background:#fff}.shoval-card img{width:100%;height:78px;object-fit:cover}.shoval-card span{padding:9px}.shoval-request{margin-top:12px}.shoval-lead-form{display:flex;flex-direction:column;gap:10px;border-radius:13px;border:1px solid #dde3e7;background:#fcfdfd;padding:14px}.shoval-lead-form strong{font-size:14px}.shoval-lead-form input:not([type=checkbox]){width:100%;border:1px solid #d9e0e4;border-radius:8px;padding:10px;font-size:13px;background:white;color:#172b34}.shoval-consent{display:flex;align-items:flex-start;gap:5px;font-size:11px;flex-wrap:wrap}.shoval-consent input{margin:3px 0 0 5px}.shoval-lead-submit{background:var(--shoval-accent);color:white;border:none;border-radius:9px;padding:11px;font-size:13px;cursor:pointer}.shoval-lead-ok{padding:15px;background:#eff7f4;border-radius:11px;color:#175b47}
@media(max-width:600px){.shoval-ai-root{right:14px;bottom:calc(15px + env(safe-area-inset-bottom,0px))}.shoval-ai-root.shoval-open{inset:0;bottom:0;right:0;left:0}.shoval-panel{position:fixed;inset:0;width:100vw;height:100dvh;max-height:none;border:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom,0px)}.shoval-open .shoval-trigger,.shoval-open .shoval-invite{display:none}.shoval-header{padding-top:calc(14px + env(safe-area-inset-top,0px))}.shoval-msg{max-width:92%}}

/* Theme and Elementor compatibility: widget must stay visible on top of page overlays. */
html body .shoval-ai-root{display:block!important;visibility:visible!important;opacity:1!important;position:fixed!important;z-index:2147483000!important;right:24px!important;bottom:24px!important;pointer-events:auto!important;transform:none!important}
html body .shoval-ai-root .shoval-trigger{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:relative!important;z-index:2!important}
html body .shoval-ai-root .shoval-invite{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:none!important}
html body .shoval-ai-root .shoval-panel[hidden]{display:none!important}
html body .shoval-ai-root.shoval-open .shoval-invite,html body .shoval-ai-root.shoval-open .shoval-trigger{display:none!important}
@media(max-width:600px){html body .shoval-ai-root{right:14px!important;bottom:calc(15px + env(safe-area-inset-bottom,0px))!important}html body .shoval-ai-root.shoval-open{right:0!important;bottom:0!important}}

/* v1.0.2 – compact composer and neutral, close-fitting quick replies.
   High specificity protects these rules from global Elementor/theme button and textarea styles. */
html body .shoval-ai-root .shoval-composer{
  display:flex!important;align-items:center!important;gap:7px!important;
  padding:7px 11px 9px!important;min-height:0!important;
}
html body .shoval-ai-root .shoval-composer .shoval-textarea{
  display:block!important;box-sizing:border-box!important;flex:1 1 auto!important;
  width:auto!important;min-width:0!important;height:39px!important;min-height:39px!important;
  max-height:39px!important;overflow-y:auto!important;padding:9px 11px!important;
  line-height:19px!important;font-size:13px!important;border-radius:9px!important;
  margin:0!important;box-shadow:none!important;
}
html body .shoval-ai-root .shoval-composer .shoval-send{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 39px!important;width:39px!important;min-width:39px!important;
  max-width:39px!important;height:39px!important;min-height:39px!important;
  max-height:39px!important;padding:0!important;margin:0!important;
  border-radius:9px!important;line-height:1!important;font-size:17px!important;
  background:var(--shoval-accent)!important;color:#fff!important;
}
html body .shoval-ai-root .shoval-quick{align-items:flex-start!important;gap:6px!important;margin-top:13px!important}
html body .shoval-ai-root .shoval-quick .shoval-chip{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  width:fit-content!important;max-width:100%!important;min-height:0!important;
  margin:0!important;padding:5px 10px!important;line-height:1.35!important;
  color:#111!important;background:#fff!important;border:1px solid #222!important;
  border-radius:18px!important;font-size:12px!important;font-weight:400!important;
  text-align:right!important;white-space:normal!important;box-shadow:none!important;
}
html body .shoval-ai-root .shoval-quick .shoval-chip:hover,
html body .shoval-ai-root .shoval-quick .shoval-chip:focus-visible{background:#f4f4f4!important;color:#111!important}

/* v1.0.3 — launcher brand styling, no hover animations. */
html body .shoval-ai-root .shoval-trigger,
html body .shoval-ai-root .shoval-trigger:hover,
html body .shoval-ai-root .shoval-trigger:focus,
html body .shoval-ai-root .shoval-trigger:active{
  background:#7f6439!important;
  background-color:#7f6439!important;
  color:#fff!important;
  border:0!important;
  border-radius:50%!important;
  box-shadow:none!important;
  outline-offset:3px;
  transition:none!important;
  transform:none!important;
  animation:none!important;
  padding:0!important;
  width:60px!important;
  height:60px!important;
  min-width:60px!important;
  min-height:60px!important;
}
html body .shoval-ai-root .shoval-trigger svg{
  display:block!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  stroke:#fff!important;
  fill:none!important;
  transition:none!important;
  transform:none!important;
  animation:none!important;
}
html body .shoval-ai-root .shoval-trigger svg path{stroke:#fff!important;}


/* v1.0.4 – close, composer, send button and launcher visibility overrides. */
html body .shoval-ai-root .shoval-header .shoval-close,
html body .shoval-ai-root .shoval-header .shoval-close:hover,
html body .shoval-ai-root .shoval-header .shoval-close:focus,
html body .shoval-ai-root .shoval-header .shoval-close:active {
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;
  padding:0!important;margin:0!important;
  color:#fff!important;background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;outline:0!important;text-shadow:none!important;
  font-size:25px!important;font-weight:300!important;line-height:1!important;
  transition:none!important;transform:none!important;
}
html body .shoval-ai-root .shoval-composer .shoval-textarea,
html body .shoval-ai-root .shoval-composer .shoval-textarea:focus,
html body .shoval-ai-root .shoval-composer .shoval-textarea:active {
  color:#40464a!important;-webkit-text-fill-color:#40464a!important;caret-color:#40464a!important;
  background-color:#fff!important;
}
html body .shoval-ai-root .shoval-composer .shoval-textarea::placeholder {color:#737b80!important;opacity:1!important;}
html body .shoval-ai-root .shoval-composer .shoval-send,
html body .shoval-ai-root .shoval-composer .shoval-send:hover,
html body .shoval-ai-root .shoval-composer .shoval-send:focus,
html body .shoval-ai-root .shoval-composer .shoval-send:active,
html body .shoval-ai-root .shoval-composer .shoval-send:disabled {
  border:0!important;border-width:0!important;border-style:none!important;
  outline:0!important;box-shadow:none!important;
  background-color:var(--shoval-accent)!important;color:#fff!important;
  text-decoration:none!important;
}
/* CSS hide state for browsers and themes that override the native hidden attribute. */
html body .shoval-ai-root.shoval-open > .shoval-trigger,
html body .shoval-ai-root.shoval-open > .shoval-invite,
html body .shoval-ai-root > .shoval-trigger[hidden],
html body .shoval-ai-root > .shoval-invite[hidden] {
  display:none!important;visibility:hidden!important;pointer-events:none!important;
}

/* v1.0.5 — all conversational action buttons follow the compact quick-reply design.
   Keep launcher, close, send, feedback controls visually distinct. */
html body .shoval-ai-root .shoval-scroller button.shoval-chip,
html body .shoval-ai-root .shoval-scroller button.shoval-request,
html body .shoval-ai-root .shoval-lead-form button.shoval-lead-submit {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;width:fit-content!important;max-width:100%!important;
  min-height:0!important;height:auto!important;
  padding:5px 10px!important;margin:0!important;
  font-family:inherit!important;font-size:12px!important;font-weight:400!important;
  line-height:1.35!important;letter-spacing:normal!important;text-transform:none!important;
  text-align:center!important;white-space:normal!important;
  color:#111!important;-webkit-text-fill-color:#111!important;
  background:#fff!important;background-color:#fff!important;
  border:1px solid #222!important;border-radius:18px!important;
  box-shadow:none!important;text-shadow:none!important;outline-offset:2px!important;
  transition:none!important;transform:none!important;animation:none!important;
  cursor:pointer!important;
}
html body .shoval-ai-root .shoval-scroller button.shoval-chip:hover,
html body .shoval-ai-root .shoval-scroller button.shoval-chip:focus,
html body .shoval-ai-root .shoval-scroller button.shoval-request:hover,
html body .shoval-ai-root .shoval-scroller button.shoval-request:focus,
html body .shoval-ai-root .shoval-lead-form button.shoval-lead-submit:hover,
html body .shoval-ai-root .shoval-lead-form button.shoval-lead-submit:focus {
  color:#111!important;-webkit-text-fill-color:#111!important;
  background:#f4f4f4!important;background-color:#f4f4f4!important;
  border:1px solid #222!important;border-radius:18px!important;
  box-shadow:none!important;transform:none!important;
}
html body .shoval-ai-root .shoval-scroller .shoval-request {margin-top:10px!important;}

/* 1.0.6: accessible form with explicit labels and aligned privacy checkbox. */
html body .shoval-ai-root .shoval-lead-form{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:9px!important;padding:15px!important;background:#fafbfb!important;
  border:1px solid #e0e5e8!important;border-radius:14px!important;
}
html body .shoval-ai-root .shoval-lead-title{font-size:14px!important;text-align:right!important;color:#111!important}
html body .shoval-ai-root .shoval-lead-description{font-size:12px!important;line-height:1.5!important;margin:0 0 2px!important;color:#59636b!important}
html body .shoval-ai-root .shoval-lead-field{display:flex!important;flex-direction:column!important;gap:5px!important;width:100%!important}
html body .shoval-ai-root .shoval-lead-label{display:block!important;margin:0!important;font-size:12px!important;font-weight:600!important;color:#20282d!important;text-align:right!important}
html body .shoval-ai-root .shoval-lead-field input.shoval-lead-input,
html body .shoval-ai-root .shoval-lead-field input.shoval-lead-input:focus{
  display:block!important;width:100%!important;min-height:40px!important;height:40px!important;
  margin:0!important;padding:8px 12px!important;border:1px solid #cbd3d7!important;
  background:#fff!important;border-radius:9px!important;color:#343a40!important;
  -webkit-text-fill-color:#343a40!important;font-size:13px!important;box-shadow:none!important;
}
html body .shoval-ai-root .shoval-lead-field input.shoval-lead-input::placeholder{color:#879199!important;opacity:1!important}
html body .shoval-ai-root label.shoval-consent{
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:flex-start!important;
  justify-content:flex-start!important;gap:9px!important;margin:2px 0!important;
  padding:0!important;width:100%!important;cursor:pointer!important;
}
html body .shoval-ai-root .shoval-consent input.shoval-consent-check{
  display:block!important;position:static!important;flex:0 0 16px!important;width:16px!important;
  height:16px!important;min-width:16px!important;min-height:16px!important;
  margin:2px 0 0!important;padding:0!important;appearance:auto!important;
  accent-color:#7f6439!important;opacity:1!important;
}
html body .shoval-ai-root .shoval-consent-text{
  display:inline!important;flex:1!important;font-size:11px!important;line-height:1.65!important;
  text-align:right!important;color:#47515a!important;
}
html body .shoval-ai-root .shoval-consent-text a{display:inline!important;color:#383838!important;text-decoration:underline!important}
html body .shoval-ai-root .shoval-lead-form .shoval-lead-submit{align-self:flex-start!important}
html body .shoval-ai-root .shoval-lead-error{color:#9a2020!important;font-size:12px!important}
/* Keep the floating launcher below the open desktop chat; hide invitation only. */
@media(min-width:601px){
  html body .shoval-ai-root.shoval-open > .shoval-trigger,
  html body .shoval-ai-root.shoval-open > .shoval-trigger[hidden]{display:grid!important;visibility:visible!important;pointer-events:auto!important}
  html body .shoval-ai-root.shoval-open > .shoval-invite{display:none!important}
}
/* Mobile chat is full-screen, so only the close control is shown. */
@media(max-width:600px){html body .shoval-ai-root.shoval-open > .shoval-trigger{display:none!important}}
