:root {
  --vm-chat-navy: #075f45;
  --vm-chat-green: #07845f;
  --vm-chat-green-dark: #055b43;
  --vm-chat-gold: #72d9b6;
  --vm-chat-bg: #f7faf9;
  --vm-chat-card: #ffffff;
  --vm-chat-text: #17212b;
  --vm-chat-muted: #64748b;
  --vm-chat-border: #dce7e2;
  --vm-chat-bottom: 20px;
  --vm-chat-side: 18px;
}

.vm-chat-page{max-width:1120px;margin:0 auto;padding:clamp(24px,5vw,70px) 18px;color:#173329}.vm-chat-page__hero{text-align:center;padding:clamp(30px,6vw,74px) clamp(18px,5vw,70px);border-radius:30px;background:linear-gradient(145deg,#f2faf6,#fff);border:1px solid #dfece6}.vm-chat-page__emblem{width:112px;height:112px;margin:0 auto 22px;display:block}.vm-chat-page__eyebrow{margin:0 0 12px;color:#087a55;font-size:12px;font-weight:850;letter-spacing:.16em}.vm-chat-page h1{margin:0 0 18px;font-size:clamp(40px,7vw,76px);line-height:1;letter-spacing:-.05em;color:#123529}.vm-chat-page__lead{max-width:720px;margin:0 auto 28px;font-size:clamp(17px,2vw,21px);line-height:1.65;color:#52675f}.vm-chat-page__actions,.vm-chat-page__share-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.vm-chat-page__actions button,.vm-chat-page__actions a,.vm-chat-page__share-actions button{min-height:50px;padding:12px 22px;border:1px solid #cfe0d8;border-radius:14px;background:#fff;color:#075f45;font:800 15px/1.2 inherit;text-decoration:none;cursor:pointer}.vm-chat-page__actions .vm-chat-page__primary{border-color:#087a55;background:#087a55;color:#fff}.vm-chat-page__trust{display:flex;justify-content:center;gap:12px 26px;flex-wrap:wrap;margin-top:28px;color:#52675f;font-size:14px}.vm-chat-page__share{display:grid;grid-template-columns:1fr auto;align-items:center;gap:32px;margin-top:26px;padding:clamp(24px,5vw,48px);border-radius:24px;background:#fff;border:1px solid #dfe8e3}.vm-chat-page__share h2{margin:0 0 10px;font-size:clamp(26px,4vw,40px);line-height:1.1;color:#173329}.vm-chat-page__share p:not(.vm-chat-page__eyebrow){margin:0 0 20px;color:#64736c}.vm-chat-page__share-actions{justify-content:flex-start}.vm-chat-page__qr{width:180px;height:180px;padding:10px;border:1px solid #dfe8e3;border-radius:18px;background:#fff}@media(max-width:620px){.vm-chat-page{padding:18px 14px 40px}.vm-chat-page__hero{border-radius:22px}.vm-chat-page__share{grid-template-columns:1fr;text-align:center}.vm-chat-page__share-actions{justify-content:center}.vm-chat-page__qr{margin:auto}.vm-chat-page__actions>*{width:100%}}

.vm-chat-page__share-actions a{min-height:50px;padding:12px 22px;border:1px solid #cfe0d8;border-radius:14px;background:#fff;color:#075f45;font:800 15px/1.6 inherit;text-decoration:none;cursor:pointer}

.vm-chat,
.vm-chat * { box-sizing: border-box; }

.vm-chat {
  position: fixed;
  z-index: 2147481200;
  bottom: calc(var(--vm-chat-bottom) + env(safe-area-inset-bottom));
  left: var(--vm-chat-side);
  font-family: inherit;
  color: var(--vm-chat-text);
}

.vm-chat[data-side="right"] { left: auto; right: var(--vm-chat-side); }

.vm-chat[data-mode="header"] {
  --vm-chat-bg: #f7faf9;
  --vm-chat-card: #ffffff;
  --vm-chat-text: #17212b;
  --vm-chat-muted: #64748b;
  --vm-chat-border: #dce7e2;
  position: relative !important;
  inset: auto !important;
  z-index: 99995;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.vm-chat__launcher {
  position: relative;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 17px 8px 9px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--vm-chat-green), var(--vm-chat-green-dark)) !important;
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(7, 68, 51, .28);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.vm-chat[data-mode="header"] .vm-chat__launcher {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  justify-content: center;
  padding: 0 !important;
  border: 1px solid #d5e9e1 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--vm-chat-green) !important;
  box-shadow: 0 5px 16px rgba(5, 91, 67, .12);
}

.vm-chat[data-mode="header"] .vm-chat__launcher:hover {
  background: #effaf6 !important;
  color: var(--vm-chat-green-dark) !important;
}

.vm-chat[data-mode="header"] .vm-chat__launcher-icon {
  width: 28px;
  height: 28px;
  background: transparent !important;
  color: currentColor !important;
}

.vm-chat[data-mode="header"] .vm-chat__launcher-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.vm-chat__launcher:hover { transform: translateY(-1px); }
.vm-chat__launcher:focus-visible,
.vm-chat button:focus-visible,
.vm-chat input:focus-visible { outline: 3px solid var(--vm-chat-gold); outline-offset: 2px; }

.vm-chat__launcher-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255,255,255,.16) !important;
  color: #fff !important;
}

.vm-chat__launcher svg,
.vm-chat__composer svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vm-chat__badge {
  position: absolute;
  top: -4px;
  right: -2px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--vm-chat-green);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
.vm-chat__badge[hidden],
.vm-chat__backdrop[hidden],
.vm-chat__identity[hidden] { display: none !important; }
.vm-chat__badge.is-alerting { animation: vm-chat-alert .7s ease 2; }
@keyframes vm-chat-alert { 50% { transform: scale(1.45); box-shadow:0 0 0 7px rgba(7,132,95,.2); } }

.vm-chat__backdrop {
  position: fixed;
  z-index: 99993;
  inset: 0;
  border: 0;
  background: rgba(3, 31, 23, .42);
  backdrop-filter: blur(2px);
}

.vm-chat__panel {
  position: absolute;
  z-index: 99996;
  bottom: 68px;
  left: 0;
  width: min(380px, calc(100vw - 28px));
  height: min(620px, calc(100dvh - 110px));
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--vm-chat-border);
  border-radius: 22px;
  background: var(--vm-chat-card);
  box-shadow: 0 24px 70px rgba(15, 42, 67, .24);
  transform-origin: bottom left;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
}

.vm-chat[data-side="right"] .vm-chat__panel { left: auto; right: 0; transform-origin: bottom right; }
.vm-chat[data-mode="header"] .vm-chat__panel {
  top: calc(100% + 11px);
  right: 0;
  bottom: auto;
  left: auto;
  transform-origin: top right;
}
.vm-chat__panel[hidden] { display: none; }
.vm-chat.vm-chat--closed .vm-chat__panel,
body.vm-chat-focus #vm-smart-chat.vm-chat--closed .vm-chat__panel { display:none !important; visibility:hidden !important; pointer-events:none !important; }
.vm-chat__close { position:relative; z-index:2147483647; pointer-events:auto !important; touch-action:manipulation !important; user-select:none; -webkit-tap-highlight-color:transparent; }

.vm-chat__header {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  background: linear-gradient(135deg, var(--vm-chat-green-dark), var(--vm-chat-green));
  color: #fff;
}
.vm-chat__header,
.vm-chat__header .vm-chat__title,
.vm-chat__header .vm-chat__status { color: #fff !important; }

.vm-chat__avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  background: var(--vm-chat-green);
  font-weight: 900;
  overflow: hidden;
}
.vm-chat__avatar img { width:100%; height:100%; display:block; object-fit:cover; border-radius:inherit; }

.vm-chat__header > div:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.vm-chat__header-actions { margin-left:auto; display:flex; align-items:center; gap:6px; }
.vm-chat__tool,.vm-chat__close { display:grid; place-items:center; flex:0 0 auto; border:0; color:#fff !important; cursor:pointer; }
.vm-chat__tool { width:34px; height:34px; border-radius:11px; background:rgba(255,255,255,.1) !important; font:700 17px/1 inherit; }
.vm-chat__title { font-size: 16px; line-height: 1.2; }
.vm-chat__status { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .86; }
.vm-chat__status i { width: 7px; height: 7px; border-radius: 50%; background: #5ee5a5; box-shadow: 0 0 0 3px rgba(94,229,165,.15); }

.vm-chat__close {
  width: 38px;
  height: 38px;
  margin-left: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  font: 300 30px/1 inherit;
}
.vm-chat__close span { pointer-events:none; transform:translateY(-1px); }

.vm-chat__messages {
  height: auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  background:
    radial-gradient(circle at 10% 0, rgba(8,127,91,.055), transparent 34%),
    var(--vm-chat-bg);
  overscroll-behavior: contain;
}

.vm-chat__message { display: flex; margin: 0 0 12px; }
.vm-chat__message--user { justify-content: flex-end; }
.vm-chat__message--agent .vm-chat__bubble { border-color: #7ac9ae; box-shadow: 0 0 0 2px rgba(7,132,95,.08); }
.vm-chat__bubble {
  max-width: 88%;
  padding: 10px 12px;
  border: 1px solid var(--vm-chat-border);
  border-radius: 15px 15px 15px 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15,42,67,.05);
  font-size: 13.5px;
  line-height: 1.48;
}
.vm-chat__message--user .vm-chat__bubble {
  border-color: var(--vm-chat-green);
  border-radius: 15px 15px 4px 15px;
  background: var(--vm-chat-green);
  color: #fff;
}
.vm-chat__bubble p { margin: 0 0 7px; }
.vm-chat__bubble p:last-child { margin-bottom: 0; }
.vm-chat__bubble a { color: var(--vm-chat-green-dark); font-weight: 800; text-decoration: underline; }
.vm-chat__message--user a { color: #fff; }

.vm-chat__products { display: grid; gap: 8px; margin-top: 9px; }
.vm-chat__product {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--vm-chat-border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none !important;
}
.vm-chat__product a { text-decoration:none !important; }
.vm-chat__product img { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; background: #f1f5f3; }
.vm-chat__product strong { display: block; color: var(--vm-chat-text); font-size: 12px; line-height: 1.25; }
.vm-chat__product span { color: var(--vm-chat-green-dark); font-size: 12px; font-weight: 800; }
.vm-chat__product .vm-chat__product-price { display: block; margin-top: 4px; color: var(--vm-chat-green-dark); font-size: 12px; font-weight: 900; line-height: 1.3; }
.vm-chat__product em { color: var(--vm-chat-muted); font-size: 16px; font-style: normal; }
.vm-chat__product > button { padding:7px 10px; border:0; border-radius:999px; background:var(--vm-chat-green) !important; color:#fff !important; font:800 11px/1 inherit; cursor:pointer; }
.vm-chat__page-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:10px; background:#e7f7f1; color:var(--vm-chat-green-dark); font-size:18px; font-weight:900; }
.vm-chat__product--page > span:nth-child(2) { min-width:0; overflow:hidden; text-overflow:ellipsis; }

.vm-chat__quick {
  min-height: 0;
  display: block;
  padding: 0;
  border-top: 1px solid var(--vm-chat-border);
  background: #fff;
  scrollbar-width: thin;
}
.vm-chat__quick-nudge {
  position: absolute;
  z-index: 8;
  right: 12px;
  bottom: 116px;
  max-width: calc(100% - 24px);
  padding: 10px 13px;
  border: 1px solid #76d5b5;
  border-radius: 14px;
  background: #073f31 !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(3, 67, 49, .28);
  font: 600 12px/1.35 inherit;
  cursor: pointer;
  animation: vm-quick-nudge-in .28s ease-out, vm-quick-nudge-glow 1.25s ease-in-out .3s 3;
}
.vm-chat__quick-nudge[hidden] { display: none !important; }
.vm-chat__quick-nudge span { display:inline-grid; place-items:center; width:23px; height:23px; margin-right:5px; border-radius:50%; background:#ffe071; color:#173c31; }
.vm-chat__quick--attention summary { animation: vm-quick-summary-pulse 1.2s ease-in-out 3; }
@keyframes vm-quick-nudge-in { from { opacity:0; transform:translateY(9px) scale(.97); } to { opacity:1; transform:none; } }
@keyframes vm-quick-nudge-glow { 50% { box-shadow:0 12px 30px rgba(3,67,49,.35), 0 0 0 5px rgba(31,191,137,.18); } }
@keyframes vm-quick-summary-pulse { 50% { background:#dff8ee; color:#034d39; } }
@media (prefers-reduced-motion: reduce) { .vm-chat__quick-nudge,.vm-chat__quick--attention summary { animation:none !important; } }
.vm-chat__quick summary { padding: 10px 14px; color: var(--vm-chat-green-dark); font-size: 12px; font-weight: 900; cursor: pointer; list-style-position: inside; }
.vm-chat__quick > div { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 10px 10px; }
.vm-chat__quick button {
  align-self: flex-start;
  flex: 1 1 calc(50% - 5px);
  padding: 8px 11px;
  border: 1px solid #b9d8ce;
  border-radius: 999px;
  background: #effaf6;
  color: var(--vm-chat-green-dark);
  cursor: pointer;
  font: 700 12px/1.25 inherit;
}

.vm-chat__confirm[hidden] { display:none !important; }
.vm-chat__confirm { position:absolute; inset:0; z-index:30; display:grid; place-items:center; padding:18px; }
.vm-chat__confirm-backdrop { position:absolute; inset:0; width:100%; height:100%; border:0 !important; border-radius:inherit; background:rgba(3,20,15,.68) !important; backdrop-filter:blur(2px); cursor:default; }
.vm-chat__confirm-card { position:relative; width:min(100%,390px); padding:25px 22px 21px; border:1px solid #cfe4db; border-radius:22px; background:var(--vm-chat-card); color:var(--vm-chat-text); box-shadow:0 24px 70px rgba(0,0,0,.28); text-align:center; animation:vm-confirm-in .2s ease-out; }
.vm-chat__confirm-icon { display:grid; place-items:center; width:48px; height:48px; margin:0 auto 13px; border-radius:50%; background:#e3f7ef; color:var(--vm-chat-green-dark); font:800 28px/1 inherit; }
.vm-chat__confirm-card h2 { margin:0 0 9px !important; color:inherit !important; font:800 21px/1.25 inherit !important; }
.vm-chat__confirm-card p { margin:0 auto 19px; max-width:330px; color:var(--vm-chat-muted); font-size:14px; line-height:1.55; }
.vm-chat__confirm-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.vm-chat__confirm-actions button { min-height:46px; padding:10px 12px; border-radius:12px; cursor:pointer; font:800 12px/1.25 inherit; }
.vm-chat__confirm-secondary { border:1px solid #bad8cd; background:#fff !important; color:var(--vm-chat-green-dark) !important; }
.vm-chat__confirm-primary { border:1px solid var(--vm-chat-green); background:var(--vm-chat-green) !important; color:#fff !important; }
@keyframes vm-confirm-in { from { opacity:0; transform:translateY(10px) scale(.97); } to { opacity:1; transform:none; } }
@media(max-width:420px){.vm-chat__confirm{padding:14px}.vm-chat__confirm-card{padding:22px 16px 16px;border-radius:19px}.vm-chat__confirm-actions{grid-template-columns:1fr}.vm-chat__confirm-primary{grid-row:1}.vm-chat__confirm-secondary{grid-row:2}}
@media(prefers-reduced-motion:reduce){.vm-chat__confirm-card{animation:none}}

.vm-chat__flow { min-height:0; overflow-y:auto; padding:14px; border-top:1px solid var(--vm-chat-border); background:#f6fbf9; }
.vm-chat__flow[hidden] { display:none; }
.vm-chat__flow form { display:grid; gap:10px; padding:14px; border:1px solid #cfe2db; border-radius:16px; background:#fff; box-shadow:0 8px 24px rgba(5,91,67,.08); }
.vm-chat__flow-head { display:flex; align-items:center; justify-content:space-between; gap:10px; color:var(--vm-chat-green-dark); font-size:16px; }
.vm-chat__flow-head button { width:30px; height:30px; border:0; border-radius:50%; background:#e8f5f0; color:var(--vm-chat-green-dark); font-size:20px; cursor:pointer; }
.vm-chat__flow p,.vm-chat__flow small { margin:0; color:var(--vm-chat-muted); font-size:11px; line-height:1.4; }
.vm-chat__flow label { display:grid; gap:4px; color:var(--vm-chat-text); font-size:11px; font-weight:800; }
.vm-chat__flow input,.vm-chat__flow select,.vm-chat__flow textarea { width:100%; min-width:0; padding:9px 10px; border:1px solid #c9dcd5; border-radius:10px; background:#fff; color:var(--vm-chat-text); font:inherit; }
.vm-chat__flow-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.vm-chat__flow .vm-chat__consent { display:flex; grid-template:none; align-items:flex-start; gap:7px; font-weight:500; line-height:1.35; }
.vm-chat__flow .vm-chat__consent input { width:17px; flex:0 0 17px; margin-top:1px; }
.vm-chat__flow-submit { min-height:42px; border:0; border-radius:11px; background:var(--vm-chat-green) !important; color:#fff !important; font:800 13px/1 inherit; cursor:pointer; }
.vm-chat__flow-submit:disabled { opacity:.65; }

html.vm-chat-focus,
body.vm-chat-focus { overflow: hidden !important; overscroll-behavior: none !important; touch-action: none; }
body.vm-chat-focus .vm-chat,
body.vm-chat-focus .vm-chat * { touch-action: manipulation; }
body.vm-chat-focus .vm-chat__messages { touch-action: pan-y; }
body.vm-chat-focus #vm-smart-chat { margin:0 !important; padding:0 !important; transform:none !important; }
body.vm-chat-focus #vm-smart-chat .vm-chat__panel { background:#fff !important; }
body.vm-chat-focus #vm-smart-chat .vm-chat__backdrop { display:none !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
body.vm-chat-focus #vm-smart-chat[data-keyboard="open"] .vm-chat__privacy { display:none; }
body.vm-chat-focus #vm-smart-chat[data-keyboard="open"] .vm-chat__header { min-height:56px; padding-top:8px; padding-bottom:8px; }

@media (max-width: 782px) {
  body.vm-chat-focus #vm-smart-chat .vm-chat__panel {
    position: fixed !important;
    z-index: 2147481202 !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: none !important;
    border: 0 !important;
    border-radius: 0 !important;
  }
  body.vm-chat-focus #vm-smart-chat .vm-chat__header { padding-top: calc(12px + env(safe-area-inset-top)); }
  body.vm-chat-focus #vm-smart-chat .vm-chat__privacy { padding-bottom: calc(9px + env(safe-area-inset-bottom)); }
}

.vm-chat__identity {
  align-self: center;
  margin: 18px;
  padding: 22px 18px;
  border: 1px solid #b9d8ce;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(5,91,67,.12);
}
.vm-chat__identity > strong { display: block; margin: 0 0 6px; color: var(--vm-chat-green-dark); font-size: 20px; }
.vm-chat__identity > p { margin: 0 0 16px; color: var(--vm-chat-muted); font-size: 13px; line-height: 1.45; }
.vm-chat__identity label { display: grid; gap: 5px; margin: 0 0 11px; color: var(--vm-chat-text); font-size: 12px; font-weight: 800; }
.vm-chat__identity input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #c9dcd5; border-radius: 11px; background: #fff; color: var(--vm-chat-text); font: inherit; }
.vm-chat__identity button { width: 100%; min-height: 45px; border: 0; border-radius: 11px; background: var(--vm-chat-green) !important; color: #fff !important; font: 800 14px/1 inherit; cursor: pointer; }
.vm-chat__identity .vm-chat__identity-cancel { margin-top:8px; border:1px solid var(--vm-chat-border); background:transparent !important; color:var(--vm-chat-text) !important; }
.vm-chat__identity small { display: block; margin-top: 10px; color: var(--vm-chat-muted); font-size: 10px; line-height: 1.35; text-align: center; }
.vm-chat[data-profile="needed"] .vm-chat__messages,
.vm-chat[data-profile="needed"] .vm-chat__quick,
.vm-chat[data-profile="needed"] .vm-chat__composer,
.vm-chat[data-profile="needed"] .vm-chat__image-note,
.vm-chat[data-profile="needed"] .vm-chat__privacy { display: none; }
.vm-chat[data-profile="needed"] .vm-chat__panel { grid-template-rows: auto minmax(0, 1fr); background: linear-gradient(160deg, #effaf6, #fff); }

.vm-chat__composer {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 44px;
  gap: 8px;
  padding: 10px 11px 8px;
  border-top: 1px solid var(--vm-chat-border);
  background: #fff;
}
.vm-chat__composer input {
  min-width: 0;
  height: 43px;
  padding: 0 13px;
  border: 1px solid #cddbd6;
  border-radius: 13px;
  background: #fff;
  color: var(--vm-chat-text);
  font: 400 13px/1 inherit;
}
.vm-chat__composer button {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 13px;
  background: var(--vm-chat-green) !important;
  color: #fff !important;
  cursor: pointer;
}
.vm-chat__composer button svg { width: 21px; height: 21px; }
.vm-chat__attach{display:grid;place-items:center;width:42px;height:42px;border:1px solid #b9d8ce;border-radius:12px;background:#effaf6;color:var(--vm-chat-green-dark);font-size:25px;cursor:pointer}.vm-chat__attach input{position:absolute;width:1px!important;height:1px!important;opacity:0;pointer-events:none}.vm-chat__image-note{margin:0!important;padding:4px 12px 7px!important;background:var(--vm-chat-card);color:var(--vm-chat-muted)!important;font-size:9px!important;line-height:1.35;text-align:center}.vm-chat__uploaded-image{display:block;width:min(220px,100%);max-height:220px;object-fit:cover;border-radius:12px;margin-bottom:5px}.vm-chat__message--user .vm-chat__bubble small{display:block;color:rgba(255,255,255,.8);font-size:10px}
.vm-chat__privacy { margin: 0; padding: 0 12px 9px; background: #fff; color: var(--vm-chat-muted); font-size: 9.5px; line-height: 1.25; text-align: center; }
.vm-chat__typing .vm-chat__bubble { display:flex; align-items:center; gap:10px; min-width:190px; overflow:hidden; background:linear-gradient(100deg,var(--vm-chat-card),rgba(114,217,182,.13),var(--vm-chat-card)); background-size:220% 100%; animation:vm-chat-shimmer 1.7s linear infinite; }
.vm-chat__typing-mark { display:flex; align-items:center; gap:4px; }
.vm-chat__typing-mark i { width:7px; height:7px; border-radius:50%; background:var(--vm-chat-green); animation:vm-chat-dot 1s ease-in-out infinite; }
.vm-chat__typing-mark i:nth-child(2){animation-delay:.15s}.vm-chat__typing-mark i:nth-child(3){animation-delay:.3s}
.vm-chat__typing-copy { color:var(--vm-chat-muted); font-size:12px; font-weight:800; }
.vm-chat__typing--slow .vm-chat__typing-copy { font-size:0; }
.vm-chat__typing--slow .vm-chat__typing-copy::after { content:'Reviewing VicMos information…'; font-size:12px; }

@keyframes vm-chat-pulse { to { opacity: .35; } }
@keyframes vm-chat-dot { 0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-5px);opacity:1} }
@keyframes vm-chat-shimmer { to { background-position:-220% 0; } }

.vm-chat[data-theme="dark"] { --vm-chat-bg:#0f1916;--vm-chat-card:#17231f;--vm-chat-text:#f3f8f6;--vm-chat-muted:#afc0ba;--vm-chat-border:#31473f; }
.vm-chat[data-theme="dark"] .vm-chat__panel,.vm-chat[data-theme="dark"] .vm-chat__messages,.vm-chat[data-theme="dark"] .vm-chat__quick,.vm-chat[data-theme="dark"] .vm-chat__composer,.vm-chat[data-theme="dark"] .vm-chat__privacy,.vm-chat[data-theme="dark"] .vm-chat__bubble,.vm-chat[data-theme="dark"] .vm-chat__product,.vm-chat[data-theme="dark"] .vm-chat__identity,.vm-chat[data-theme="dark"] .vm-chat__composer input { background-color:var(--vm-chat-card) !important;color:var(--vm-chat-text) !important; }
.vm-chat[data-theme="dark"] .vm-chat__messages { background:var(--vm-chat-bg) !important; }
.vm-chat[data-theme="dark"] .vm-chat__message--user .vm-chat__bubble { background:var(--vm-chat-green) !important;color:#fff !important; }
.vm-chat[data-theme="dark"] .vm-chat__product strong,.vm-chat[data-theme="dark"] .vm-chat__identity label { color:var(--vm-chat-text) !important; }

@media (max-width: 600px) {
  :root { --vm-chat-side: 12px; --vm-chat-bottom: 14px; }
  .vm-chat__launcher { width: 54px; padding: 8px; justify-content: center; }
  .vm-chat__launcher-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .vm-chat__panel {
    position: fixed;
    left: 10px !important;
    right: 10px !important;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: auto;
    height: min(620px, calc(100dvh - 96px));
    min-height: 430px;
    border-radius: 19px;
  }

  .vm-chat[data-mode="header"] .vm-chat__launcher {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .vm-chat[data-mode="header"] .vm-chat__panel {
    position: fixed;
    top: calc(8px + env(safe-area-inset-top));
    right: 8px !important;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 8px !important;
    width: auto;
    height: auto;
    max-height: none;
  }
  .vm-chat__header { min-height: 64px; padding: 10px 12px; }
  .vm-chat__quick > div { padding: 0 8px 8px; gap: 6px; }
  .vm-chat__quick button { padding: 8px; font-size: 11px; }
  .vm-chat__identity { margin: 14px; }
}

@media (prefers-color-scheme: dark) {
  .vm-chat:not([data-theme="light"]) {
    --vm-chat-bg: #111b18;
    --vm-chat-card: #18231f;
    --vm-chat-text: #f2f7f5;
    --vm-chat-muted: #aabbb5;
    --vm-chat-border: #30453e;
  }
  .vm-chat:not([data-theme="light"]) .vm-chat__panel,
  .vm-chat:not([data-theme="light"]) .vm-chat__messages { background:var(--vm-chat-bg) !important; color:var(--vm-chat-text) !important; }
  .vm-chat:not([data-theme="light"]) .vm-chat__bubble,
  .vm-chat:not([data-theme="light"]) .vm-chat__quick,
  .vm-chat:not([data-theme="light"]) .vm-chat__composer,
  .vm-chat:not([data-theme="light"]) .vm-chat__privacy,
  .vm-chat:not([data-theme="light"]) .vm-chat__product,
  .vm-chat:not([data-theme="light"]) .vm-chat__flow form,
  .vm-chat:not([data-theme="light"]) .vm-chat__composer input,
  .vm-chat:not([data-theme="light"]) .vm-chat__flow input,
  .vm-chat:not([data-theme="light"]) .vm-chat__flow select,
  .vm-chat:not([data-theme="light"]) .vm-chat__flow textarea { background:var(--vm-chat-card) !important; color:var(--vm-chat-text) !important; }
  .vm-chat:not([data-theme="light"]) .vm-chat__message--user .vm-chat__bubble { border-color:var(--vm-chat-green) !important; background:var(--vm-chat-green) !important; color:#fff !important; }
  .vm-chat:not([data-theme="light"]) .vm-chat__product strong,
  .vm-chat:not([data-theme="light"]) .vm-chat__flow label { color:var(--vm-chat-text) !important; }
  .vm-chat:not([data-theme="light"]) .vm-chat__product-price,
  .vm-chat:not([data-theme="light"]) .vm-chat__bubble a,
  .vm-chat:not([data-theme="light"]) .vm-chat__quick summary { color:#62ddb3 !important; }
  .vm-chat:not([data-theme="light"]) .vm-chat__quick-nudge { border-color:#62ddb3; background:#0b4c3b !important; color:#fff !important; }
  .vm-chat:not([data-theme="light"]) .vm-chat__quick button { border-color:#3b6658; background:#203a32 !important; color:#9ce8ce !important; }
  .vm-chat:not([data-theme="light"]) .vm-chat__confirm-card { border-color:#355247; background:#14231d; color:#f5faf7; }
  .vm-chat:not([data-theme="light"]) .vm-chat__confirm-icon { background:#203d33; color:#77dbb8; }
  .vm-chat:not([data-theme="light"]) .vm-chat__confirm-secondary { border-color:#46695c; background:#20372f !important; color:#b6eedb !important; }
  .vm-chat:not([data-theme="light"]) .vm-chat__flow { background:#111b18 !important; }
  body.vm-chat-focus #vm-smart-chat:not([data-theme="light"]) .vm-chat__panel { background:#111b18 !important; }
  body.vm-chat-focus #vm-smart-chat:not([data-theme="light"]) .vm-chat__bubble { background:#18231f !important; color:#f2f7f5 !important; }
  body.vm-chat-focus #vm-smart-chat:not([data-theme="light"]) .vm-chat__message--user .vm-chat__bubble { background:#07845f !important; color:#fff !important; }
  body.vm-chat-focus #vm-smart-chat:not([data-theme="light"]) .vm-chat__privacy { background:#18231f !important; color:#c0d0ca !important; }
  body.vm-chat-focus #vm-smart-chat:not([data-theme="light"]) .vm-chat__bubble p,
  body.vm-chat-focus #vm-smart-chat:not([data-theme="light"]) .vm-chat__bubble strong,
  body.vm-chat-focus #vm-smart-chat:not([data-theme="light"]) .vm-chat__bubble em,
  body.vm-chat-focus #vm-smart-chat:not([data-theme="light"]) .vm-chat__flow p,
  body.vm-chat-focus #vm-smart-chat:not([data-theme="light"]) .vm-chat__flow strong,
  body.vm-chat-focus #vm-smart-chat:not([data-theme="light"]) .vm-chat__flow small { color:inherit !important; }
  body.vm-chat-focus #vm-smart-chat:not([data-theme="light"]) .vm-chat__flow-head { color:#9ce8ce !important; }
}

@media (prefers-reduced-motion: reduce) {
  .vm-chat *, .vm-chat *::before, .vm-chat *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

body.vm-chat-focus #vm-smart-chat[data-theme="dark"] .vm-chat__panel,
body.vm-chat-focus #vm-smart-chat[data-theme="dark"] .vm-chat__messages { background:#0f1916 !important; color:#f3f8f6 !important; }
body.vm-chat-focus #vm-smart-chat[data-theme="dark"] .vm-chat__bubble,
body.vm-chat-focus #vm-smart-chat[data-theme="dark"] .vm-chat__quick,
body.vm-chat-focus #vm-smart-chat[data-theme="dark"] .vm-chat__composer,
body.vm-chat-focus #vm-smart-chat[data-theme="dark"] .vm-chat__privacy,
body.vm-chat-focus #vm-smart-chat[data-theme="dark"] .vm-chat__identity { background:#17231f !important; color:#f3f8f6 !important; }


/* Staff-sent photos and shared VicMos pages */
.vm-chat__image-link{display:block;text-decoration:none}.vm-chat__shared-link{display:flex;align-items:center;gap:9px;min-width:min(250px,68vw);padding:10px;border:1px solid var(--vm-chat-border);border-radius:12px;background:#f5fbf9;color:var(--vm-chat-text)!important;text-decoration:none!important}
.vm-chat__shared-link-icon{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:#dff5ec;color:var(--vm-chat-green-dark);font-size:17px;font-weight:900}.vm-chat__shared-link>span:nth-child(2){min-width:0;flex:1}.vm-chat__shared-link strong,.vm-chat__shared-link small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vm-chat__shared-link strong{font-size:12px}.vm-chat__shared-link small{margin-top:2px!important;color:var(--vm-chat-muted)!important;font-size:9px!important}.vm-chat__shared-link b{flex:0 0 auto;color:var(--vm-chat-green);font-size:10px}
.vm-chat__message--agent .vm-chat__bubble>small{display:block;margin-top:5px;color:var(--vm-chat-muted);font-size:9px}.vm-chat__message--agent .vm-chat__shared-link{background:#fff}
.vm-chat[data-theme="dark"] .vm-chat__shared-link{background:#17231f;color:var(--vm-chat-text)!important}.vm-chat[data-theme="dark"] .vm-chat__message--agent .vm-chat__shared-link{background:#17231f}
