#smp-va-root,
#smp-va-root * {
  box-sizing: border-box;
}

#smp-va-root {
  --smp-primary: #123f35;
  --smp-accent: #79b943;
  --smp-ink: #172033;
  --smp-muted: #697386;
  --smp-line: #e8ebf1;
  --smp-bg: #f5f7fa;
  --smp-white: #fff;
  --smp-success: #24b47e;
  --smp-launcher-size: 60px;
  --smp-quick-size: 32px;
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 2147483647 !important;
  font-family: Poppins, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--smp-ink);
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
  contain: layout style;
}

#smp-va-root button,
#smp-va-root input,
#smp-va-root select,
#smp-va-root textarea {
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}

#smp-va-root button {
  appearance: none;
  margin: 0 !important;
  cursor: pointer;
}

#smp-va-root svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.smp-va-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  padding: 0 !important;
  border: 3px solid #fff !important;
  aspect-ratio: 1 / 1 !important;
  margin-left: auto;
  border-radius: 50% !important;
  color: #fff !important;
  background: linear-gradient(145deg, #2a8c8f, var(--smp-primary)) !important;
  box-shadow: 0 14px 34px rgba(20, 33, 61, .32), 0 4px 12px rgba(24,159,224,.2) !important;
  transition: transform .25s ease, border-radius .25s ease, box-shadow .25s ease;
}

.smp-va-launcher::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(29,177,241,.42);
  border-radius: 50%;
  opacity: 0;
  animation: smp-va-pulse 2.6s ease-out infinite;
}

.smp-va-launcher:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 19px 44px rgba(20, 33, 61, .36), 0 5px 15px rgba(24,159,224,.24) !important;
}

.smp-va-launcher:focus-visible,
.smp-va-panel button:focus-visible,
.smp-va-panel input:focus-visible,
.smp-va-panel textarea:focus-visible,
.smp-va-panel select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--smp-accent), white 25%);
  outline-offset: 2px;
}

.smp-va-launcher svg {
  width: 31px !important;
  height: 31px !important;
}

.smp-va-launcher-icon {
  position: relative;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.12));
}

.smp-va-launcher-icon::after {
  content: "";
  position: absolute;
  top: -8px;
  right: -9px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--smp-success);
  box-shadow: 0 2px 5px rgba(0,0,0,.15);
}

.smp-va-chat-symbol {
  fill: none !important;
  stroke: none !important;
}

.smp-va-chat-symbol .smp-va-chat-bubble {
  fill: #fff !important;
}

.smp-va-chat-symbol circle {
  fill: #168bc5 !important;
  stroke: none !important;
}

.smp-va-launcher-close {
  display: none;
}

.smp-va-launcher.is-open {
  border-radius: 50% !important;
}

.smp-va-launcher.is-open .smp-va-launcher-icon {
  display: none;
}

.smp-va-launcher.is-open .smp-va-launcher-close {
  display: block;
}

.smp-va-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 20px;
  background: #e94a4a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
}

.smp-va-proactive {
  position: absolute;
  right: 0;
  bottom: 78px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  width: min(264px, calc(100vw - 88px)) !important;
  max-width: 264px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  padding: 12px 34px 12px 12px !important;
  border: 1px solid rgba(18,63,53,.12) !important;
  border-radius: 16px 16px 5px 16px !important;
  color: var(--smp-ink) !important;
  background: #fff !important;
  box-shadow: 0 14px 38px rgba(20,33,61,.18) !important;
  text-align: left !important;
  line-height: 1.35 !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  animation: smp-va-slide-up .35s ease both;
}

.smp-va-proactive-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #2a8c8f, var(--smp-primary));
}

.smp-va-proactive-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smp-va-proactive-avatar svg {
  width: 23px !important;
  height: 23px !important;
}

.smp-va-proactive-copy {
  display: block;
  min-width: 0;
}

.smp-va-proactive-copy strong {
  display: block;
  margin: 0 0 2px !important;
  color: var(--smp-primary) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.smp-va-proactive-text {
  display: block;
  color: #4c596b !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.38 !important;
}

.smp-va-proactive-copy small {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 6px;
  color: var(--smp-primary);
  font-size: 10px;
  font-weight: 700;
}

.smp-va-proactive-copy small svg {
  width: 12px !important;
  height: 12px !important;
}

.smp-va-proactive-close {
  position: absolute;
  top: 8px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #8a93a2;
  font-size: 18px;
  line-height: 1;
}

.smp-va-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto auto;
  width: min(376px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 104px));
  overflow: hidden;
  border: 1px solid rgba(20,33,61,.09);
  border-radius: 21px;
  background: var(--smp-white);
  box-shadow: 0 28px 80px rgba(20,33,61,.24), 0 4px 12px rgba(20,33,61,.08);
  transform-origin: right bottom;
  animation: smp-va-panel-in .32s cubic-bezier(.2,.85,.25,1) both;
}

.smp-va-panel[hidden],
.smp-va-proactive[hidden],
.smp-va-quick-replies[hidden],
.smp-va-typing[hidden],
.smp-va-menu[hidden],
.smp-va-connection[hidden] {
  display: none !important;
}

.smp-va-header {
  grid-row: 1;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 11px 10px 13px;
  color: #fff;
  background:
    radial-gradient(circle at 86% -20%, rgba(29,177,241,.5), transparent 38%),
    linear-gradient(125deg, var(--smp-primary), color-mix(in srgb, var(--smp-primary), #000 16%));
}

.smp-va-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2a8c8f, transparent);
  opacity: .9;
}

.smp-va-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.smp-va-avatar,
.smp-va-message-avatar {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #eef1f6);
  color: var(--smp-primary);
  font-weight: 800;
  letter-spacing: -.04em;
}

.smp-va-avatar {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 7px 18px rgba(0,0,0,.16);
}

.smp-va-avatar img,
.smp-va-message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.smp-va-avatar i {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--smp-primary);
  border-radius: 50%;
  background: var(--smp-success);
}

.smp-va-identity strong {
  display: block;
  max-width: 220px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smp-va-status {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
}

.smp-va-header-actions {
  display: flex;
  gap: 3px;
}

.smp-va-icon-button {
  display: grid !important;
  place-items: center;
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  min-height: 31px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 9px !important;
  aspect-ratio: 1 / 1 !important;
  color: #fff !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background .2s ease, transform .2s ease;
}

.smp-va-icon-button:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}

.smp-va-menu {
  position: absolute;
  top: 60px;
  right: 14px;
  z-index: 10;
  width: 220px;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(20,33,61,.09);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 15px 44px rgba(20,33,61,.2);
  animation: smp-va-menu-in .18s ease both;
}

.smp-va-menu button {
  display: flex;
  align-items: center;
  width: 100% !important;
  height: auto !important;
  min-height: 36px !important;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 9px !important;
  aspect-ratio: auto !important;
  color: var(--smp-ink);
  background: transparent;
  gap: 10px;
  text-align: left;
}

.smp-va-menu button:hover {
  background: var(--smp-bg);
}

.smp-va-menu svg {
  width: 17px;
  color: var(--smp-primary);
}

.smp-va-connection {
  grid-row: 2;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 9px 14px;
  color: #6d5310;
  background: #fff5d8;
  border-bottom: 1px solid #f4dfa7;
  font-size: 11px;
  text-align: center;
}

.smp-va-connection button {
  width: auto !important;
  min-width: 0 !important;
  min-height: 27px !important;
  padding: 4px 10px !important;
  border: 1px solid currentColor !important;
  border-radius: 999px !important;
  aspect-ratio: auto !important;
  color: inherit !important;
  background: rgba(255,255,255,.62) !important;
  font-size: 10px !important;
  font-weight: 700;
}

.smp-va-messages {
  grid-row: 3;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 15px 12px 18px;
  background:
    linear-gradient(rgba(245,247,250,.92), rgba(245,247,250,.92)),
    radial-gradient(circle at 1px 1px, rgba(20,33,61,.07) 1px, transparent 0);
  background-size: auto, 18px 18px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cfd4dd transparent;
}

.smp-va-message {
  display: flex;
  align-items: flex-end;
  max-width: 88%;
  margin: 0 0 10px;
  gap: 7px;
  animation: smp-va-message-in .24s ease both;
}

.smp-va-message.is-user {
  margin-left: auto;
  justify-content: flex-end;
}

.smp-va-message-avatar {
  width: 29px;
  height: 29px;
  border: 1px solid #e0e4eb;
  border-radius: 10px;
  font-size: 8px;
}

.smp-va-bubble {
  position: relative;
  min-width: 64px;
  padding: 9px 11px 6px;
  border: 1px solid var(--smp-line);
  border-radius: 17px 17px 17px 5px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(20,33,61,.055);
}

.smp-va-message.is-user .smp-va-bubble {
  border-color: transparent;
  border-radius: 17px 17px 5px 17px;
  color: #fff;
  background: var(--smp-primary);
  box-shadow: 0 5px 14px rgba(20,33,61,.16);
}

.smp-va-message-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.smp-va-bubble time {
  display: block;
  margin-top: 5px;
  color: var(--smp-muted);
  font-size: 9px;
  text-align: right;
}

.smp-va-message.is-user time {
  color: rgba(255,255,255,.63);
}

.smp-va-feedback {
  display: flex;
  align-items: center;
  min-height: 20px;
  margin-top: 7px;
  padding-top: 5px;
  border-top: 1px solid var(--smp-line);
  color: #8a93a2;
  gap: 5px;
  font-size: 9px;
}

.smp-va-feedback button {
  display: grid;
  place-items: center;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  border: 0 !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 7px;
  background: transparent;
  font-size: 11px;
}

.smp-va-feedback button:hover {
  background: var(--smp-bg);
}

.smp-va-feedback svg {
  display: inline;
  width: 12px;
  height: 12px;
}

.smp-va-typing {
  grid-row: 4;
  display: flex;
  align-items: center;
  min-height: 31px;
  padding: 7px 17px;
  border-top: 1px solid var(--smp-line);
  color: var(--smp-muted);
  background: #fff;
  gap: 4px;
}

.smp-va-typing > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--smp-accent);
  animation: smp-va-dot 1.2s ease-in-out infinite;
}

.smp-va-typing > span:nth-child(2) { animation-delay: .14s; }
.smp-va-typing > span:nth-child(3) { animation-delay: .28s; }
.smp-va-typing small {
  margin-left: 5px;
  font-size: 9px;
}

.smp-va-quick-replies {
  grid-row: 5;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  min-height: 48px;
  max-height: 58px;
  padding: 8px 10px;
  border-top: 1px solid var(--smp-line);
  background: #fff;
  gap: 7px;
  scrollbar-width: none;
}

.smp-va-quick-replies::-webkit-scrollbar {
  display: none;
}

#smp-va-root .smp-va-quick-replies > .smp-va-quick-button {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: var(--smp-quick-size) !important;
  min-width: 0 !important;
  min-height: var(--smp-quick-size) !important;
  max-height: var(--smp-quick-size) !important;
  max-width: 220px;
  padding: 6px 10px !important;
  border: 1px solid color-mix(in srgb, var(--smp-primary), white 68%) !important;
  border-radius: 99px !important;
  aspect-ratio: auto !important;
  color: var(--smp-primary) !important;
  background: #fff !important;
  box-shadow: none !important;
  line-height: 1.25 !important;
  white-space: nowrap;
  font-size: 10px !important;
  font-weight: 550 !important;
  transition: all .2s ease;
}

#smp-va-root .smp-va-quick-replies > .smp-va-quick-button:hover {
  border-color: var(--smp-primary) !important;
  color: #fff !important;
  background: var(--smp-primary) !important;
  transform: translateY(-1px);
}

.smp-va-footer {
  grid-row: 6;
  border-top: 1px solid var(--smp-line);
  background: #fff;
}

.smp-va-composer {
  display: flex;
  align-items: flex-end;
  min-height: 52px;
  padding: 6px 8px 5px;
  gap: 4px;
  transition: background .2s ease, box-shadow .2s ease;
}

.smp-va-composer:focus-within {
  background: #fbfdff;
  box-shadow: inset 0 0 0 1px rgba(29,177,241,.28);
}

.smp-va-input {
  flex: 1;
  align-self: center;
  width: 100%;
  max-height: 116px;
  min-height: 34px;
  padding: 7px 4px;
  resize: none;
  overflow-y: auto;
  border: 0;
  outline: 0;
  color: var(--smp-ink);
  background: transparent;
  font-size: 12px;
  line-height: 1.5;
}

.smp-va-input::placeholder {
  color: #9aa2af;
}

#smp-va-root .smp-va-input:focus,
#smp-va-root .smp-va-input:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

.smp-va-attach,
.smp-va-audio,
.smp-va-send {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  aspect-ratio: 1 / 1 !important;
  box-shadow: none !important;
}

.smp-va-attach,
.smp-va-audio {
  color: #7c8594 !important;
  background: transparent !important;
}

.smp-va-attach:hover,
.smp-va-audio:hover {
  color: var(--smp-primary);
  background: var(--smp-bg);
}

.smp-va-send {
  color: #fff !important;
  background: var(--smp-primary) !important;
  box-shadow: 0 5px 13px rgba(20,33,61,.2);
  transition: transform .2s ease, opacity .2s ease;
}

.smp-va-send:hover {
  transform: translateY(-1px);
}

.smp-va-send:disabled,
.smp-va-input:disabled {
  opacity: .55;
}

.smp-va-send svg {
  width: 17px;
  height: 17px;
}

.smp-va-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.smp-va-footer-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 13px 7px;
  color: #a1a8b4;
  gap: 8px;
  font-size: 8px;
}

.smp-va-footer-meta a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.smp-va-footer-meta a:hover {
  color: var(--smp-primary);
  text-decoration: underline;
}

.smp-va-footer-meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--smp-accent);
}

.smp-va-footer-meta button {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  aspect-ratio: auto !important;
  color: inherit;
  background: none;
  text-decoration: underline;
}

.smp-va-inline-form {
  position: relative;
  margin: 3px 0 18px 37px;
  padding: 16px;
  border: 1px solid var(--smp-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(20,33,61,.08);
  animation: smp-va-message-in .25s ease both;
}

.smp-va-form-progress {
  height: 4px;
  margin: -1px 0 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #edf0f4;
}

.smp-va-form-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--smp-primary), var(--smp-accent));
  transition: width .3s ease;
}

.smp-va-inline-form > small {
  color: var(--smp-muted);
  font-size: 9px;
}

.smp-va-inline-form h3 {
  margin: 5px 0 13px;
  color: var(--smp-ink);
  font-size: 13px;
  line-height: 1.4;
}

.smp-va-inline-form label {
  display: block;
  margin: 0 0 10px;
}

.smp-va-inline-form label > span {
  display: block;
  margin-bottom: 5px;
  color: #596273;
  font-size: 9px;
  font-weight: 600;
}

.smp-va-inline-form input,
.smp-va-inline-form select,
.smp-va-inline-form textarea {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid #dfe3e9;
  border-radius: 10px;
  outline: 0;
  color: var(--smp-ink);
  background: #fbfcfd;
  font-size: 11px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.smp-va-inline-form textarea {
  resize: vertical;
}

.smp-va-inline-form input:focus,
.smp-va-inline-form select:focus,
.smp-va-inline-form textarea:focus {
  border-color: color-mix(in srgb, var(--smp-primary), white 42%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--smp-primary), transparent 91%);
}

.smp-va-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.smp-va-appointment-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 10px;
}

.smp-va-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  gap: 7px;
}

.smp-va-form-actions button,
.smp-va-submit-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--smp-line);
  border-radius: 10px;
  color: var(--smp-ink);
  background: #fff;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
}

.smp-va-form-actions .is-primary,
.smp-va-submit-quote {
  border-color: var(--smp-primary);
  color: #fff;
  background: var(--smp-primary);
}

.smp-va-form-actions svg,
.smp-va-submit-quote svg {
  width: 14px;
  height: 14px;
}

.smp-va-form-error {
  margin: 8px 0 0;
  color: #b93636;
  font-size: 9px;
}

.smp-va-field-note {
  margin: 8px 0 12px;
  padding: 8px 9px;
  border-radius: 9px;
  color: #6d5a20;
  background: #fff8e4;
  font-size: 8px;
}

.smp-va-summary-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  margin-bottom: 8px;
  border-radius: 12px;
  color: #fff;
  background: var(--smp-success);
}

.smp-va-summary-icon svg {
  width: 19px;
  height: 19px;
}

.smp-va-summary-card dl {
  margin: 0;
}

.smp-va-summary-card dl > div {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  padding: 8px 42px 8px 0;
  border-bottom: 1px solid #eef0f4;
  gap: 7px;
  font-size: 9px;
}

.smp-va-summary-card dt {
  color: var(--smp-muted);
}

.smp-va-summary-card dd {
  margin: 0;
  color: var(--smp-ink);
  font-weight: 550;
  overflow-wrap: anywhere;
}

.smp-va-summary-card [data-edit] {
  position: absolute;
  top: 6px;
  right: 0;
  padding: 3px;
  border: 0;
  color: var(--smp-primary);
  background: transparent;
  font-size: 8px;
  text-decoration: underline;
}

.smp-va-consent {
  display: flex !important;
  align-items: flex-start;
  margin: 12px 0 !important;
  gap: 8px;
}

.smp-va-consent input {
  flex: 0 0 auto;
  width: 15px;
  min-height: 15px;
  margin-top: 1px;
  accent-color: var(--smp-primary);
}

.smp-va-consent span {
  margin: 0 !important;
  font-weight: 400 !important;
  line-height: 1.4;
}

.smp-va-submit-quote {
  width: 100%;
}

.smp-va-submit-quote.is-loading::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: smp-va-spin .8s linear infinite;
}

@keyframes smp-va-panel-in {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes smp-va-menu-in {
  from { opacity: 0; transform: translateY(-5px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes smp-va-message-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes smp-va-slide-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes smp-va-pulse {
  0% { opacity: .65; transform: scale(.88); }
  75%, 100% { opacity: 0; transform: scale(1.18); }
}

@keyframes smp-va-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@keyframes smp-va-spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 783px) and (max-width: 1024px) {
  .smp-va-panel {
    width: min(420px, calc(100vw - 32px));
    height: min(680px, calc(100dvh - 96px));
  }
}

@media (max-width: 782px), (max-height: 560px) and (pointer: coarse) {
  #smp-va-root {
    --smp-launcher-size: 56px;
    --smp-quick-size: 40px;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    contain: none;
  }

  .smp-va-launcher {
    border-radius: 50% !important;
  }

  .smp-va-panel {
    position: fixed;
    top: var(--smp-mobile-top, 0px);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100vw;
    max-width: none;
    height: var(--smp-mobile-height, 100dvh);
    max-height: none;
    border: 0;
    border-radius: 0;
    transform-origin: center;
    animation: smp-va-mobile-panel-in .2s ease both;
  }

  .smp-va-launcher.is-open {
    display: none;
  }

  .smp-va-header {
    min-height: calc(64px + env(safe-area-inset-top));
    padding:
      calc(9px + env(safe-area-inset-top))
      calc(8px + env(safe-area-inset-right))
      9px
      calc(11px + env(safe-area-inset-left));
  }

  .smp-va-identity {
    gap: 8px;
  }

  .smp-va-identity strong {
    max-width: min(46vw, 220px);
    font-size: 12px;
  }

  .smp-va-avatar {
    width: 40px;
    height: 40px;
  }

  .smp-va-header-actions {
    gap: 1px;
  }

  .smp-va-icon-button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .smp-va-menu {
    top: calc(58px + env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    width: min(238px, calc(100vw - 20px));
  }

  .smp-va-menu button {
    min-height: 44px !important;
  }

  .smp-va-messages {
    padding:
      14px
      max(12px, env(safe-area-inset-right))
      20px
      max(12px, env(safe-area-inset-left));
    scroll-padding-bottom: 24px;
  }

  .smp-va-message {
    max-width: 94%;
    margin-bottom: 12px;
  }

  .smp-va-message-text {
    font-size: 13px;
    line-height: 1.48;
  }

  .smp-va-feedback button {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  .smp-va-quick-replies {
    min-height: 54px;
    padding: 7px max(9px, env(safe-area-inset-right)) 7px max(9px, env(safe-area-inset-left));
    gap: 7px;
  }

  #smp-va-root .smp-va-quick-replies > .smp-va-quick-button {
    padding: 9px 13px !important;
    font-size: 11px !important;
  }

  .smp-va-inline-form {
    width: auto;
    margin: 4px 0 18px;
    padding: 14px;
    border-radius: 16px;
  }

  .smp-va-inline-form h3 {
    font-size: 14px;
  }

  .smp-va-inline-form label > span,
  .smp-va-inline-form > small {
    font-size: 11px;
  }

  .smp-va-inline-form input,
  .smp-va-inline-form select,
  .smp-va-inline-form textarea {
    min-height: 46px;
    padding: 11px 12px;
    font-size: 16px;
  }

  .smp-va-field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .smp-va-appointment-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .smp-va-form-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  }

  .smp-va-form-actions button,
  .smp-va-submit-quote {
    min-height: 44px;
    font-size: 12px;
  }

  .smp-va-summary-card dl > div {
    grid-template-columns: 72px minmax(0, 1fr);
    padding-right: 46px;
    font-size: 10px;
  }

  .smp-va-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .smp-va-composer {
    min-height: 58px;
    padding:
      7px
      max(7px, env(safe-area-inset-right))
      6px
      max(7px, env(safe-area-inset-left));
    gap: 3px;
  }

  .smp-va-input {
    min-height: 44px;
    max-height: 96px;
    padding: 10px 5px;
    font-size: 16px;
    line-height: 1.45;
  }

  .smp-va-attach,
  .smp-va-audio,
  .smp-va-send {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
  }

  .smp-va-footer-meta {
    min-height: 24px;
    padding: 0 12px 7px;
    font-size: 9px;
  }

  .smp-va-shell.is-keyboard-open .smp-va-footer {
    padding-bottom: 0;
  }

  .smp-va-shell.is-keyboard-open .smp-va-footer-meta {
    display: none;
  }

  .smp-va-shell.is-keyboard-open .smp-va-quick-replies {
    min-height: 48px;
  }

  .smp-va-proactive {
    bottom: calc(var(--smp-launcher-size) + 14px);
    width: min(248px, calc(100vw - 84px)) !important;
    max-width: 248px !important;
    padding: 11px 32px 11px 11px !important;
    border-radius: 15px 15px 5px 15px !important;
  }

  .smp-va-proactive-avatar {
    width: 36px;
    height: 36px;
  }

  .smp-va-proactive-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.smp-va-chat-open {
    overflow: hidden;
    overscroll-behavior: none;
  }
}

@media (max-width: 360px) {
  .smp-va-identity strong {
    max-width: 145px;
  }

  .smp-va-avatar {
    width: 36px;
    height: 36px;
  }

  .smp-va-icon-button {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }

  .smp-va-attach,
  .smp-va-audio,
  .smp-va-send {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }

  .smp-va-composer {
    padding-right: 4px;
    padding-left: 4px;
  }
}

@keyframes smp-va-mobile-panel-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #smp-va-root *,
  #smp-va-root *::before,
  #smp-va-root *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (prefers-contrast: more) {
  .smp-va-panel,
  .smp-va-bubble,
  .smp-va-inline-form {
    border-color: #6f7784;
  }
}
