.vp-assistant {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 880;
  font-family: Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: none;
  transition: bottom .22s ease;
}

body.vmp-mini-visible .vp-assistant,
body.abp-mini-visible .vp-assistant { bottom: 104px; }
body.vmp-mini-visible.abp-mini-visible .vp-assistant { bottom: 182px; }

.vp-assistant,
.vp-assistant * {
  box-sizing: border-box;
}

.vp-assistant__button,
.vp-assistant__panel {
  pointer-events: auto;
}

.vp-assistant__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #fff;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .32), transparent 24%),
    linear-gradient(135deg, rgba(108, 26, 255, .96), rgba(176, 23, 255, .92) 48%, rgba(30, 206, 255, .86));
  box-shadow: 0 20px 48px rgba(40, 0, 120, .32), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.vp-assistant__button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .36);
  box-shadow: 0 26px 62px rgba(40, 0, 120, .38), 0 0 34px rgba(185, 45, 255, .28);
}

.vp-assistant.is-open .vp-assistant__button {
  opacity: 0;
  transform: translateY(8px) scale(.92);
  pointer-events: none;
}

.vp-assistant__button:focus-visible,
.vp-assistant__close:focus-visible,
.vp-assistant__send:focus-visible,
.vp-assistant__quick:focus-visible,
.vp-assistant__link:focus-visible {
  outline: 3px solid rgba(161, 0, 255, .32);
  outline-offset: 3px;
}

.vp-assistant__button-mark,
.vp-assistant__brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  color: #fff7d4;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 225, 139, .28), transparent 39%),
    linear-gradient(145deg, #0b5360, #102b52 62%, #26104f);
  box-shadow: 0 12px 24px rgba(0, 188, 194, .23), inset 0 0 0 1px rgba(255, 232, 164, .34);
}

.vp-assistant__button-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  animation: vpAssistantFloat 4.8s ease-in-out infinite;
}

.vp-assistant__brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
}

.vp-assistant__button-mark::after,
.vp-assistant__brand-mark::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 90deg, transparent, rgba(255, 255, 255, .46), transparent 34%);
  animation: vpAssistantSweep 5.4s linear infinite;
}

.vp-assistant__button-mark svg,
.vp-assistant__brand-mark svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
}

.vp-assistant__vputi {
  width: calc(100% - 2px) !important;
  height: calc(100% - 2px) !important;
  overflow: visible;
  filter: drop-shadow(0 0 5px rgba(255, 217, 122, .32));
}

.vp-assistant__vputi-ring,
.vp-assistant__vputi-orbit {
  stroke: rgba(96, 244, 235, .9);
  stroke-width: 1.15;
}

.vp-assistant__vputi-ring {
  stroke: rgba(255, 222, 140, .78);
}

.vp-assistant__vputi-orbit circle {
  fill: #a879ff;
  stroke: #fff2bb;
  stroke-width: .7;
}

.vp-assistant__vputi-orbit {
  transform-box: fill-box;
  transform-origin: center;
}

.vp-assistant__vputi-orbit--one { animation: vpVputiOrbit 10s linear infinite; }
.vp-assistant__vputi-orbit--two { animation: vpVputiOrbitReverse 14s linear infinite; }

.vp-assistant__vputi-star {
  fill: #ffd779;
  stroke: #fff7d6;
  stroke-width: .7;
  transform-box: fill-box;
  transform-origin: center;
  animation: vpVputiStar 3.8s ease-in-out infinite;
}

.vp-assistant__vputi-dots { fill: #ecddff; animation: vpVputiDots 2.5s ease-in-out infinite; }

.vp-assistant__button-text {
  display: grid;
  gap: 2px;
  text-align: left;
}

.vp-assistant__button-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.05;
}

.vp-assistant__button-subtitle {
  max-width: 160px;
  color: rgba(255, 255, 255, .74);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.vp-assistant__panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  display: flex;
  width: min(406px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 118px));
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(219, 178, 255, .28);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgba(169, 77, 255, .2), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(0, 210, 255, .14), transparent 28%),
    linear-gradient(160deg, #160d48, #1d095f 54%, #07102d);
  box-shadow: 0 30px 82px rgba(18, 0, 60, .52), inset 0 1px 0 rgba(255, 255, 255, .12);
  opacity: 0;
  transform: translateY(12px) scale(.96);
  transform-origin: 88% 100%;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.vp-assistant.is-open .vp-assistant__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.vp-assistant__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  background-image:
    linear-gradient(120deg, transparent 0 45%, rgba(255, 255, 255, .5) 46%, transparent 47%),
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, .5) 0 1px, transparent 1px),
    radial-gradient(circle at 72% 38%, rgba(255, 255, 255, .42) 0 1px, transparent 1px);
  background-size: 78px 78px, 46px 46px, 58px 58px;
}

.vp-assistant__body {
  scrollbar-width: thin;
  scrollbar-color: rgba(182, 72, 255, .58) transparent;
}

.vp-assistant__body::-webkit-scrollbar {
  width: 4px;
}

.vp-assistant__body::-webkit-scrollbar-track {
  background: transparent;
}

.vp-assistant__body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(183, 74, 255, .7), rgba(74, 220, 255, .42));
}

.vp-assistant__header,
.vp-assistant__body,
.vp-assistant__composer {
  position: relative;
  z-index: 1;
}

.vp-assistant__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.vp-assistant__title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.vp-assistant__beta {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 2px 6px;
  border: 1px solid rgba(255, 224, 143, .38);
  border-radius: 999px;
  color: #ffe3a0;
  background: rgba(255, 211, 111, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .11em;
  white-space: nowrap;
}

.vp-assistant__subtitle,
.vp-assistant__status {
  color: rgba(238, 232, 255, .72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.28;
}

.vp-assistant__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
}

.vp-assistant__status::before {
  display: none;
}

.vp-assistant__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #72f0a7;
  box-shadow: 0 0 16px rgba(114, 240, 167, .85);
}

.vp-assistant.is-sending .vp-assistant__status-dot {
  background: #8ef0ff;
  box-shadow: 0 0 16px rgba(142, 240, 255, .85);
}

.vp-assistant__status-thinking {
  display: none;
  gap: 3px;
}

.vp-assistant.is-sending .vp-assistant__status-thinking {
  display: inline-flex;
}

.vp-assistant__status-thinking i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #8ef0ff;
  animation: vpAssistantTyping 1s infinite ease-in-out;
}

.vp-assistant__status-thinking i:nth-child(2) { animation-delay: .14s; }
.vp-assistant__status-thinking i:nth-child(3) { animation-delay: .28s; }

.vp-assistant.is-sending .vp-assistant__brand-mark {
  animation: vpAssistantPulse 1.1s ease-in-out infinite;
}

.vp-assistant__history {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.vp-assistant__history::-webkit-scrollbar { display: none; }

.vp-assistant__history-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .055);
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.vp-assistant__history-button:hover {
  color: #fff;
  border-color: rgba(142, 240, 255, .4);
  background: rgba(142, 240, 255, .1);
}

.vp-assistant__history-button svg { width: 12px; height: 12px; }

.vp-assistant__close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.vp-assistant__header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.vp-assistant__clear-chat {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(142, 240, 255, .22);
  border-radius: 12px;
  color: rgba(142, 240, 255, .86);
  background: rgba(142, 240, 255, .08);
  cursor: pointer;
}

.vp-assistant__clear-chat:hover {
  border-color: rgba(142, 240, 255, .55);
  background: rgba(142, 240, 255, .16);
}

.vp-assistant__clear-chat svg { width: 17px; height: 17px; }

.vp-assistant__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.vp-assistant__body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  overflow: auto;
}

.vp-assistant__recommendation {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(255, 220, 137, .18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 220, 137, .11), rgba(77, 228, 255, .07)),
    rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.vp-assistant__recommendation-head {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.vp-assistant__recommendation-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  color: #12052c;
  background: linear-gradient(135deg, #ffe09a, #8df0ff);
}

.vp-assistant__recommendation-icon svg {
  width: 16px;
  height: 16px;
}

.vp-assistant__recommendation-kicker {
  color: #ffe8a8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vp-assistant__recommendation-title {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vp-assistant__recommendation-text {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.vp-assistant__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vp-assistant__suggestion {
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 220, 137, .24);
  border-radius: 999px;
  color: #ffe8a8;
  background: rgba(255, 255, 255, .07);
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
  cursor: pointer;
}

.vp-assistant__suggestion:hover {
  border-color: rgba(255, 220, 137, .45);
  background: rgba(255, 255, 255, .12);
}

.vp-assistant__quick-title {
  color: #ffe8a8;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vp-assistant__quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.vp-assistant__quick {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  font: inherit;
  font-size: 10.8px;
  font-weight: 800;
  line-height: 1.16;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.vp-assistant__quick:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 214, 124, .38);
  background: rgba(255, 255, 255, .12);
}

.vp-assistant__quick-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 10px;
  color: #ffe8a8;
  background: rgba(255, 220, 137, .13);
}

.vp-assistant__quick-icon svg {
  width: 15px;
  height: 15px;
}

.vp-assistant__quick span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.vp-assistant__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vp-assistant__msg {
  max-width: 94%;
  padding: 10px 11px;
  border-radius: 15px;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.38;
  min-width: 0;
}

.vp-assistant__msg--assistant {
  align-self: flex-start;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .1);
  border-bottom-left-radius: 6px;
}

.vp-assistant__msg--user {
  align-self: flex-end;
  color: #10072b;
  background: linear-gradient(135deg, #ffe3a3, #d6f7ff);
  border-bottom-right-radius: 6px;
}

.vp-assistant__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 220, 137, .35);
  border-radius: 999px;
  color: #ffe6a3;
  background: rgba(255, 218, 134, .1);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.vp-assistant__link svg {
  width: 14px;
  height: 14px;
}

.vp-assistant__composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
  padding: 13px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(5, 5, 26, .28);
}

.vp-assistant__disclaimer {
  grid-column: 1 / -1;
  margin: -1px 5px -5px;
  color: rgba(229, 224, 245, .48);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.vp-assistant__input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  max-height: 112px;
  padding: 12px 38px 12px 13px;
  resize: none;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.vp-assistant__input-wrap {
  position: relative;
  min-width: 0;
}

.vp-assistant__clear-input {
  position: absolute;
  top: 9px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.vp-assistant__clear-input:disabled { opacity: .25; cursor: default; }
.vp-assistant__clear-input svg { width: 13px; height: 13px; }

.vp-assistant__examples {
  display: flex;
  gap: 6px;
  padding: 0 16px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(5, 5, 26, .28);
}

.vp-assistant__examples::-webkit-scrollbar { display: none; }

.vp-assistant__examples button {
  flex: 0 0 auto;
  min-height: 25px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .62);
  background: transparent;
  font: inherit;
  font-size: 9.5px;
  font-weight: 700;
  cursor: pointer;
}

.vp-assistant__examples button:hover { color: #fff; border-color: rgba(255, 220, 137, .45); }

.vp-assistant__input::placeholder {
  color: rgba(255, 255, 255, .48);
}

.vp-assistant__input:focus {
  outline: none;
  border-color: rgba(255, 220, 137, .55);
  box-shadow: 0 0 0 4px rgba(255, 220, 137, .12);
}

.vp-assistant__send {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 16px;
  color: #12052c;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .85), transparent 24%),
    linear-gradient(135deg, #8e4dff, #23d7ff);
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(67, 196, 255, .24), 0 0 0 1px rgba(255, 255, 255, .18) inset;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.vp-assistant__send:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 16px 34px rgba(67, 196, 255, .3), 0 0 24px rgba(166, 82, 255, .26);
}

.vp-assistant__send:active {
  transform: translateY(0) scale(.96);
}

.vp-assistant.is-sending .vp-assistant__send,
.vp-assistant.is-sending .vp-assistant__reply-pill,
.vp-assistant.is-sending [data-card-index],
.vp-assistant__send:disabled,
.vp-assistant__reply-pill:disabled {
  pointer-events: none;
  opacity: .62;
}

.vp-assistant__input:disabled {
  opacity: .72;
}

.vp-assistant__send svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.vp-assistant__msg-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.vp-assistant__msg--assistant {
  width: fit-content;
}

.vp-assistant__msg--assistant:has(.vp-assistant__cards),
.vp-assistant__msg--assistant:has(.vp-assistant__reply-pills) {
  width: min(100%, 352px);
}

.vp-assistant__msg--loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vp-assistant__typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.vp-assistant__typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(142, 240, 255, .9);
  animation: vpAssistantTyping 1.05s infinite ease-in-out;
}

.vp-assistant__typing i:nth-child(2) {
  animation-delay: .14s;
}

.vp-assistant__typing i:nth-child(3) {
  animation-delay: .28s;
}

.vp-assistant__reply-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.vp-assistant__reply-pill {
  min-width: 0;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(142, 240, 255, .26);
  border-radius: 999px;
  color: #e8f9ff;
  background: rgba(255, 255, 255, .075);
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.vp-assistant__reply-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 220, 137, .42);
  background: rgba(255, 255, 255, .13);
}

.vp-assistant__cards {
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

.vp-assistant-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  color: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .045)),
    rgba(4, 9, 31, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.vp-assistant-card:hover {
  transform: translateY(-1px);
  border-color: rgba(142, 240, 255, .34);
  background: rgba(255, 255, 255, .12);
}

.vp-assistant-card.is-static {
  cursor: default;
}

.vp-assistant-card.is-static:hover {
  transform: none;
  border-color: rgba(255, 255, 255, .12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .045)),
    rgba(4, 9, 31, .22);
}

.vp-assistant-card__media {
  display: grid;
  place-items: center;
  width: 58px;
  height: 68px;
  overflow: hidden;
  border-radius: 12px;
  color: #ffe8a8;
  background:
    radial-gradient(circle at 25% 15%, rgba(255, 255, 255, .18), transparent 26%),
    linear-gradient(145deg, rgba(255, 220, 137, .18), rgba(142, 240, 255, .1));
}

.vp-assistant-card--schedule .vp-assistant-card__media,
.vp-assistant-card--taxi .vp-assistant-card__media,
.vp-assistant-card--navigation .vp-assistant-card__media {
  height: 58px;
}

.vp-assistant-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vp-assistant-card__media svg {
  width: 24px;
  height: 24px;
}

.vp-assistant-card__body,
.vp-assistant-card__top {
  min-width: 0;
}

.vp-assistant-card__body {
  display: grid;
  align-content: start;
  gap: 4px;
}

.vp-assistant-card__top {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.vp-assistant-card__top strong {
  min-width: 0;
  color: #fff;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.vp-assistant-card__top em {
  flex: 0 0 auto;
  padding: 2px 5px;
  border-radius: 999px;
  color: #160d48;
  background: linear-gradient(135deg, #ffe09a, #8df0ff);
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.2;
}

.vp-assistant-card__subtitle,
.vp-assistant-card__desc,
.vp-assistant-card__stops {
  color: rgba(238, 232, 255, .74);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.vp-assistant-card__desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vp-assistant-card__stops {
  display: grid;
  gap: 2px;
  margin-top: 2px;
}

.vp-assistant-card__stops span {
  color: #ffe8a8;
  font-size: 9.5px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vp-assistant-card__action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin-top: 2px;
  color: #8df0ff;
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.1;
}

.vp-assistant-card__action svg {
  width: 13px;
  height: 13px;
}

.assistant-tip {
  position: absolute;
  right: 0;
  bottom: 88px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 240px;
  padding: 12px 13px 12px 14px;
  border: 1px solid rgba(186, 92, 255, .5);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 0%, rgba(142, 240, 255, .22), transparent 28%),
    linear-gradient(145deg, rgba(23, 17, 66, .86), rgba(11, 18, 47, .82));
  box-shadow: 0 20px 42px rgba(31, 0, 88, .38), 0 0 28px rgba(166, 82, 255, .2);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(8px) scale(.98);
  animation: assistantTipIn .34s ease forwards;
  cursor: pointer;
}

.assistant-tip::after {
  content: "";
  position: absolute;
  right: 25px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(186, 92, 255, .42);
  border-bottom: 1px solid rgba(186, 92, 255, .42);
  background: rgba(11, 18, 47, .86);
  transform: rotate(45deg);
}

.assistant-tip__text {
  min-width: 0;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.assistant-tip__close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 10px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .08);
}

.assistant-tip__close svg {
  width: 14px;
  height: 14px;
}

@keyframes vpAssistantTyping {
  0%, 80%, 100% { transform: translateY(0); opacity: .45; }
  40% { transform: translateY(-3px); opacity: 1; }
}

@keyframes assistantTipIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes vpAssistantFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  45% { transform: translateY(-3px) rotate(2deg); }
}

@keyframes vpAssistantSweep {
  to { transform: rotate(360deg); }
}

@keyframes vpVputiOrbit { to { transform: rotate(360deg); } }
@keyframes vpVputiOrbitReverse { to { transform: rotate(-360deg); } }
@keyframes vpVputiStar {
  0%, 100% { transform: scale(.92) rotate(0deg); filter: drop-shadow(0 0 0 rgba(255, 215, 121, 0)); }
  50% { transform: scale(1.08) rotate(5deg); filter: drop-shadow(0 0 5px rgba(255, 215, 121, .72)); }
}
@keyframes vpVputiDots {
  0%, 100% { opacity: .5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
}

@media (max-width: 720px) {
  .vp-assistant {
    right: 12px;
    bottom: calc(86px + env(safe-area-inset-bottom));
  }
  body.vmp-mini-visible .vp-assistant,
  body.abp-mini-visible .vp-assistant { bottom: calc(164px + env(safe-area-inset-bottom)); }
  body.vmp-mini-visible.abp-mini-visible .vp-assistant { bottom: calc(242px + env(safe-area-inset-bottom)); }

  .vp-assistant__button {
    min-height: 48px;
    padding: 6px 14px 6px 6px;
    gap: 8px;
  }

  .vp-assistant__button-mark {
    width: 34px;
    height: 34px;
  }

  .vp-assistant__button-subtitle {
    display: none;
  }

  .vp-assistant__panel {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100vh - 100px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 100px - env(safe-area-inset-bottom));
    border-radius: 24px;
    transform-origin: 92% 100%;
  }

  .vp-assistant__header {
    padding: 16px 16px 12px;
  }

  .vp-assistant__quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 180px;
    overflow-y: auto;
    padding-right: 4px;
  }
  .vp-assistant__quick-grid::-webkit-scrollbar {
    width: 3px;
  }
  .vp-assistant__quick-grid::-webkit-scrollbar-track {
    background: transparent;
  }
  .vp-assistant__quick-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
  }

  .assistant-tip {
    right: 0;
    bottom: 64px;
    max-width: 220px;
  }
}

@media (max-width: 540px) {
  .vp-assistant__button-text {
    display: none;
  }

  .vp-assistant__button {
    width: 48px;
    height: 48px;
    min-height: 48px;
    border-radius: 50%;
    padding: 6px;
    justify-content: center;
  }

  .vp-assistant__button-mark {
    width: 36px;
    height: 36px;
  }

  .vp-assistant__panel {
    bottom: calc(12px + env(safe-area-inset-bottom));
    max-height: calc(100vh - 80px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 80px - env(safe-area-inset-bottom));
  }

  .vp-assistant__quick {
    min-height: 36px;
    padding: 6px 7px;
    font-size: 10.2px;
    gap: 5px;
  }

  .vp-assistant__quick-icon {
    width: 22px;
    height: 22px;
    border-radius: 8px;
  }

  .assistant-tip {
    bottom: 62px;
    right: 0;
    max-width: 200px;
  }

  .assistant-tip::after {
    right: 18px;
  }

  .vp-assistant-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
  }

  .vp-assistant-card__media {
    width: 52px;
    height: 62px;
  }

  .vp-assistant-card--schedule .vp-assistant-card__media,
  .vp-assistant-card--taxi .vp-assistant-card__media,
  .vp-assistant-card--navigation .vp-assistant-card__media {
    height: 52px;
  }
}

/* --- Hints Banner inside Assistant Panel --- */
.vp-assistant__hints-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, .04);
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-size: 11px;
  color: rgba(255, 255, 255, .78);
  min-height: 42px;
  line-height: 1.35;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.vp-assistant__hint-icon {
  flex-shrink: 0;
  display: inline-block;
  font-size: 14px;
  animation: vpAssistantBounce 1.5s infinite alternate ease-in-out;
}

.vp-assistant__hint-text {
  flex: 1;
  display: inline-block;
  transition: opacity .25s ease, transform .25s ease;
  font-weight: 500;
}

@keyframes vpAssistantBounce {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-2px) scale(1.1); }
}

/* --- Interactive ambient pulse glow for Assistant Button (closed state) --- */
.vp-assistant__button-mark {
  animation: vpAssistantFloat 4.8s ease-in-out infinite, vpAssistantPulse 2.8s infinite ease-in-out !important;
}

@keyframes vpAssistantPulse {
  0% {
    box-shadow: 0 12px 24px rgba(27, 180, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 0 0 rgba(169, 77, 255, .4);
  }
  70% {
    box-shadow: 0 12px 24px rgba(27, 180, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 0 14px rgba(169, 77, 255, 0);
  }
  100% {
    box-shadow: 0 12px 24px rgba(27, 180, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .28), 0 0 0 0 rgba(169, 77, 255, 0);
  }
}

/* Mobile launcher: the Vputi mark itself is the button. */
@media (max-width: 540px) {
  .vp-assistant__button {
    width: 60px;
    height: 60px;
    min-height: 60px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .vp-assistant__button:hover {
    border-color: transparent;
    box-shadow: none;
  }

  .vp-assistant__button-mark {
    width: 60px;
    height: 60px;
    background:
      radial-gradient(circle at 50% 44%, rgba(255, 225, 139, .28), transparent 40%),
      linear-gradient(145deg, #0b5963, #102d50 72%, #102442);
    box-shadow: 0 8px 24px rgba(15, 213, 216, .3), inset 0 0 0 1px rgba(255, 224, 143, .42);
    animation: vpAssistantFloat 4.8s ease-in-out infinite !important;
  }

  .vp-assistant__button-mark::after {
    display: none;
  }
}

/* --- Entering transition animations for chat messages --- */
.vp-assistant__msg:last-child {
  animation: vpMessageIn .28s cubic-bezier(0.2, 0.8, 0.22, 1) both;
}

@keyframes vpMessageIn {
  0% { opacity: 0; transform: translateY(14px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Enhanced transition animations for cards and pills --- */
.vp-assistant__reply-pill {
  transition: transform .22s cubic-bezier(0.2, 0.8, 0.2, 1), background-color .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}

.vp-assistant__reply-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(169, 77, 255, .24);
}

.vp-assistant-card {
  transition: transform .26s cubic-bezier(0.2, 0.8, 0.22, 1), box-shadow .26s cubic-bezier(0.2, 0.8, 0.22, 1) !important;
}

.vp-assistant-card:not(.is-static):hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow: 0 14px 34px rgba(27, 180, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .2);
}

@media (prefers-reduced-motion: reduce) {
  .vp-assistant *,
  .vp-assistant *::before,
  .vp-assistant *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}


/* --- Alarm Fullscreen Overlay --- */
.vp-assistant-alarm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 6, 32, .88);
  backdrop-filter: blur(24px);
  color: #fff;
  opacity: 0;
  transition: opacity .38s ease;
  pointer-events: auto;
  font-family: Inter, Roboto, sans-serif;
}

.vp-assistant-alarm-overlay.is-visible {
  opacity: 1;
}

.vp-assistant-alarm-content {
  text-align: center;
  max-width: 320px;
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(182, 72, 255, .28), transparent 54%),
    linear-gradient(135deg, rgba(22, 13, 72, .92), rgba(10, 16, 40, .96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .15);
  transform: scale(.88);
  transition: transform .38s cubic-bezier(0.2, 0.8, 0.22, 1);
}

.vp-assistant-alarm-overlay.is-visible .vp-assistant-alarm-content {
  transform: scale(1);
}

.vp-assistant-alarm-bell {
  font-size: 80px;
  line-height: 1;
  margin-bottom: 24px;
  display: inline-block;
  animation: vpAlarmShake 0.6s infinite alternate ease-in-out;
}

@keyframes vpAlarmShake {
  0% { transform: rotate(-15deg) scale(1); }
  100% { transform: rotate(15deg) scale(1.16); text-shadow: 0 0 30px rgba(255, 215, 0, .6); }
}

.vp-assistant-alarm-content h2 {
  font-size: 22px;
  font-weight: 850;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, #bbf5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vp-assistant-alarm-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 32px;
  line-height: 1.4;
}

.vp-assistant-alarm-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  color: #110620;
  background: linear-gradient(135deg, #ffe58f, #8effd0);
  box-shadow: 0 10px 24px rgba(142, 255, 208, .36);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.vp-assistant-alarm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(142, 255, 208, .46);
}
