.root {
  --chat-panel-width: 536px;
  --chat-floating-x: 16px;
  --chat-floating-y: 16px;
  --chat-floating-width: 420px;
  --chat-floating-height: 620px;
  --chat-accent: #d72f28;
  --chat-accent-strong: #b8211b;
  --chat-ink: #151618;
  --chat-muted: #65686e;
  --chat-surface: #ffffff;
  --chat-surface-soft: #f5f5f3;
  --chat-surface-quiet: #eeeeeb;
  --chat-border: #dedfdd;
  --chat-overlay: rgb(9 10 12 / 48%);
  --chat-shadow: -20px 0 56px rgb(0 0 0 / 22%);
  --chat-radius: 16px;
  --chat-duration: 260ms;
  position: relative;
  z-index: 990;
  color-scheme: light;
}

.overlay {
  position: fixed;
  z-index: 990;
  inset: 0;
  border: 0;
  background: var(--chat-overlay);
  opacity: 0;
  visibility: hidden;
  cursor: default;
  pointer-events: none;
  transition: opacity var(--chat-duration) ease, visibility 0s linear var(--chat-duration);
}

.root[data-overlay="true"] .overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

@supports (backdrop-filter: blur(1px)) {
  .overlay { backdrop-filter: blur(1.5px); }
}

.drawer {
  position: fixed;
  z-index: 991;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: var(--chat-surface);
  color: var(--chat-ink);
  font-family: var(--font-body, Arial), sans-serif;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, transform var(--chat-duration) cubic-bezier(.22, 1, .36, 1), visibility 0s linear var(--chat-duration);
  will-change: transform, opacity;
}

.drawer[data-mode="docked"] {
  top: 0;
  right: 0;
  bottom: 0;
  width: min(var(--chat-panel-width), 100vw);
  height: 100dvh;
  border-left: 1px solid rgb(255 255 255 / 16%);
  box-shadow: var(--chat-shadow);
  transform: translateX(102%);
}

.drawer[data-mode="floating"] {
  top: var(--chat-floating-y);
  left: var(--chat-floating-x);
  width: var(--chat-floating-width);
  height: var(--chat-floating-height);
  border: 1px solid rgb(24 25 27 / 10%);
  border-radius: 18px;
  box-shadow: 0 22px 64px rgb(9 10 12 / 25%), 0 4px 14px rgb(9 10 12 / 10%);
  transform: translateY(10px) scale(.98);
}

.root[data-open="true"] .drawer {
  opacity: 1;
  transform: translate(0) scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.drawer[data-dragging="true"] { transition: none; user-select: none; }

.chatView {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.settingsView { min-width: 0; min-height: 0; overflow: hidden; }
.chatView[hidden],
.settingsView[hidden] { display: none; }

.header {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 78px;
  padding: 14px 16px 14px 18px;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #292b2f;
  background: #111214;
  color: #fff;
}

.drawer[data-mode="floating"] .header { border-radius: 17px 17px 0 0; }
.header[data-draggable="true"] { cursor: grab; touch-action: none; }
.drawer[data-dragging="true"] .header { cursor: grabbing; }

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--chat-accent);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 15%);
}

.avatar svg { width: 22px; height: 22px; }

.headerBack {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: #24262a;
  color: #fff;
  cursor: pointer;
}
.headerBack:hover { background: #303238; }
.headerBack svg { width: 19px; height: 19px; }

.headerIdentity { min-width: 0; }
.headerIdentity h2 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.headerIdentity p {
  display: flex;
  margin: 4px 0 0;
  align-items: center;
  gap: 7px;
  color: #bfc2c5;
  font-size: 11.5px;
  line-height: 1;
}

.statusDot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #858990;
  box-shadow: 0 0 0 3px rgb(133 137 144 / 12%);
}

.statusDot[data-status="online"] { background: #44c78a; box-shadow: 0 0 0 3px rgb(68 199 138 / 14%); }
.statusDot[data-status="offline"] { background: #eb706a; box-shadow: 0 0 0 3px rgb(235 112 106 / 14%); }

.headerActions { display: flex; align-items: center; gap: 2px; }
.headerActions button,
.supportHeaderCall {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #cdd0d3;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.headerActions button:hover,
.supportHeaderCall:hover { background: #27292d; color: #fff; }
.headerActions svg { width: 19px; height: 19px; }
.supportHeaderCall { display: none; text-decoration: none; }

.resizeHandle {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: 0;
  width: 13px;
  cursor: ew-resize;
  touch-action: none;
}
.resizeHandle span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 54px;
  border-radius: 99px;
  background: rgb(255 255 255 / 0%);
  transform: translateY(-50%);
  transition: background-color 140ms ease, box-shadow 140ms ease;
}
.resizeHandle:hover span,
.resizeHandle:focus-visible span { background: rgb(215 47 40 / 72%); box-shadow: 0 0 0 3px rgb(255 255 255 / 30%); }

.messageViewport {
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #c2c3c1 transparent;
  scrollbar-width: thin;
  background: var(--chat-surface-soft);
}

.messageViewport::-webkit-scrollbar { width: 6px; }
.messageViewport::-webkit-scrollbar-thumb { border-radius: 99px; background: #c2c3c1; }

.messageList {
  display: flex;
  min-width: 0;
  min-height: 100%;
  padding: 26px 20px 24px;
  flex-direction: column;
  gap: 14px;
}

.messageGroup {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.messageGroup[data-role="user"] { align-items: flex-end; }

.messageBubble {
  width: fit-content;
  max-width: 84%;
  margin: 0;
  padding: 12px 15px;
  overflow-wrap: anywhere;
  border-radius: 7px 17px 17px 17px;
  background: var(--chat-surface);
  box-shadow: 0 1px 2px rgb(0 0 0 / 6%);
  color: var(--chat-ink);
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.messageGroup[data-role="user"] .messageBubble {
  border-radius: 17px 7px 17px 17px;
  background: var(--chat-accent);
  box-shadow: none;
  color: #fff;
}

.messageEnd { height: 1px; flex: 0 0 auto; }

.typingRow {
  display: flex;
  width: fit-content;
  padding: 10px 13px;
  align-items: center;
  gap: 9px;
  border-radius: 7px 16px 16px 16px;
  background: var(--chat-surface);
  color: var(--chat-muted);
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
  font-size: 12px;
}

.typingDots { display: inline-flex; gap: 3px; }
.typingDots i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #878a8e;
  animation: typing-dot 1.2s infinite ease-in-out;
}
.typingDots i:nth-child(2) { animation-delay: 150ms; }
.typingDots i:nth-child(3) { animation-delay: 300ms; }
@keyframes typing-dot { 0%, 70%, 100% { opacity: .34; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-2px); } }

.errorMessage {
  display: flex;
  width: 100%;
  padding: 13px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #efcbc8;
  border-radius: 13px;
  background: #fff7f6;
  color: #80231f;
}
.errorMessage > div { display: grid; gap: 2px; }
.errorMessage strong { font-size: 12.5px; }
.errorMessage span { color: #8f514e; font-size: 11.5px; }
.errorMessage button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 9px;
  padding: 8px 10px;
  background: var(--chat-accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
}

.widgetStack {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 10px;
}

.vehicleResults,
.actionWidget {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--chat-border);
  border-radius: var(--chat-radius);
  background: var(--chat-surface);
  box-shadow: 0 7px 24px rgb(20 21 23 / 7%);
}

.widgetHeading {
  display: flex;
  min-height: 68px;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e8e8e5;
}
.widgetHeading h3,
.actionWidget h3 {
  margin: 2px 0 0;
  color: var(--chat-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}
.widgetKicker {
  color: var(--chat-accent);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.widgetCount {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #f0f0ed;
  color: #55585d;
  font-size: 11px;
  font-weight: 800;
}

.vehicleRailWrap { position: relative; min-width: 0; padding: 14px 0 16px; }
.vehicleRailControls {
  position: absolute;
  z-index: 2;
  top: -49px;
  right: 51px;
  display: flex;
  gap: 4px;
}
.vehicleRailControls button {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 1px solid #dedfdd;
  border-radius: 8px;
  background: #fff;
  color: #34363a;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}
.vehicleRailControls button:hover:not(:disabled) { border-color: #b6b7b4; background: #f5f5f3; }
.vehicleRailControls button:disabled { opacity: .32; cursor: default; }
.vehicleRailControls svg { width: 15px; height: 15px; }

.vehicleRail {
  display: grid;
  min-width: 0;
  padding: 0 16px;
  grid-auto-columns: clamp(300px, calc(100% - 42px), 340px);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.vehicleRail[data-dragging="true"] { cursor: grabbing; scroll-snap-type: none; }
.vehicleRail::-webkit-scrollbar { width: 0; height: 0; }

.vehicleCard {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e1df;
  border-radius: 13px;
  background: #fff;
  scroll-snap-align: start;
}

.vehicleImage { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e9e6; }
.vehicleImage img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.vehicleCard:hover .vehicleImage img { transform: scale(1.015); }
.vehicleImageFallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-content: center;
  justify-items: center;
  gap: 8px;
  color: #8c8e91;
  font-size: 10.5px;
}
.vehicleImageFallback svg { width: 35px; height: 35px; }

.vehicleCardBody { display: grid; padding: 14px; gap: 7px; }
.vehicleCardBody h4 {
  margin: 0;
  overflow: hidden;
  color: #17181a;
  font-family: inherit;
  font-size: 16px;
  font-weight: 780;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vehicleVersion { margin: 3px 0 0; color: #666970; font-size: 11.5px; line-height: 1.3; }
.vehicleMeta { margin: 0; color: #6c6e73; font-size: 11.5px; line-height: 1.35; }
.vehicleMeta + .vehicleMeta { margin-top: -2px; }
.vehiclePrice { margin: 4px 0 2px; color: #17181a; font-size: 20px; font-weight: 820; letter-spacing: -.025em; }

.vehicleEmpty {
  display: flex;
  margin: 14px 16px 16px;
  padding: 16px;
  align-items: center;
  gap: 13px;
  border-radius: 12px;
  background: var(--chat-surface-soft);
  color: #55585d;
}
.vehicleEmpty svg { width: 30px; height: 30px; flex: 0 0 auto; color: #929497; }
.vehicleEmpty div { display: grid; gap: 3px; }
.vehicleEmpty strong { color: #34363a; font-size: 12.5px; }
.vehicleEmpty span { font-size: 11px; line-height: 1.4; }

.actionWidget { padding: 14px; }
.actionWidget h3 { margin: 0 0 10px; }
.actionButtons { display: flex; width: 100%; flex-wrap: wrap; gap: 7px; }
.vehicleCardBody .actionButtons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 3px; }
.vehicleCardBody .actionButton { width: 100%; min-width: 0; padding-right: 8px; padding-left: 8px; overflow-wrap: anywhere; }
.actionButton {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid #d9d9d6;
  border-radius: 10px;
  background: #fff;
  color: #292b2e;
  cursor: pointer;
  font: inherit;
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.2;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, transform 140ms ease;
}
.actionButton:hover { border-color: #a9aaa7; transform: translateY(-1px); }
.actionButton[data-variant="primary"] { border-color: var(--chat-accent); background: var(--chat-accent); color: #fff; }
.actionButton[data-variant="primary"]:hover { border-color: var(--chat-accent-strong); background: var(--chat-accent-strong); }
.actionButton[data-variant="ghost"] { border-color: #d9d9d6; border-radius: 999px; background: #f7f7f5; color: #44474b; }
.actionButton[data-variant="ghost"]:hover { border-color: #c04741; background: #fff7f6; color: #9c2722; }
.quickActions .actionButton[data-selected="true"] { border-color: #d7aaa7; background: #fff3f2; color: #8f2924; }
.actionButtonFull { width: 100%; flex-basis: 100%; }
.quickActions { gap: 6px; }
.quickActions .actionButton { min-height: 34px; padding: 7px 11px; font-size: 11px; }

.composer {
  position: relative;
  z-index: 2;
  display: grid;
  padding: 12px 14px 10px;
  gap: 8px;
  border-top: 1px solid var(--chat-border);
  background: #fff;
  box-shadow: 0 -8px 24px rgb(0 0 0 / 4%);
}
.composerRow {
  display: grid;
  min-height: 50px;
  padding: 5px;
  grid-template-columns: 38px minmax(0, 1fr) 38px 42px;
  align-items: end;
  gap: 2px;
  border: 1px solid #d7d8d6;
  border-radius: 16px;
  background: #f8f8f6;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.composerRow:focus-within { border-color: #aaa; box-shadow: 0 0 0 3px rgb(215 47 40 / 9%); }
.composer[data-state="sending"] .composerRow { border-color: #d0d1cf; background: #f4f4f2; }
.composer textarea {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  max-height: 120px;
  padding: 9px 7px 8px;
  resize: none;
  overflow-y: auto;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--chat-ink);
  font: inherit;
  font-size: 13.5px;
  line-height: 1.45;
}
.composer textarea::placeholder { color: #85878b; }

.composerIconButton,
.sendButton {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #56595e;
  cursor: pointer;
}
.composerIconButton:hover:not(:disabled) { background: #e9e9e6; color: #222326; }
.composerIconButton:disabled { opacity: .36; cursor: not-allowed; }
.composerIconButton svg { width: 19px; height: 19px; }
.sendButton {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--chat-accent);
  color: #fff;
  transition: background-color 140ms ease, transform 140ms ease, opacity 140ms ease;
}
.sendButton:hover:not(:disabled) { background: var(--chat-accent-strong); transform: translateY(-1px); }
.sendButton:disabled { opacity: .38; cursor: not-allowed; }
.sendButton svg { width: 20px; height: 20px; }
.composerLegal { margin: 0; color: #929499; font-size: 9.5px; line-height: 1.2; text-align: center; }

.smallSpinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: chat-spin 700ms linear infinite;
}
@keyframes chat-spin { to { transform: rotate(360deg); } }

.attachmentList { display: flex; max-width: 100%; gap: 7px; overflow-x: auto; }
.attachmentCard {
  display: grid;
  min-width: 154px;
  max-width: 210px;
  height: 46px;
  padding: 5px;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 6px;
  border: 1px solid #dedfdd;
  border-radius: 11px;
  background: #f7f7f5;
}
.attachmentThumbnail { width: 34px; height: 34px; border-radius: 7px; background-position: center; background-size: cover; }
.attachmentFileIcon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 7px; background: #e8e8e5; color: #686a6e; }
.attachmentFileIcon svg { width: 18px; height: 18px; }
.attachmentName { overflow: hidden; font-size: 10.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.attachmentCard button { display: grid; width: 26px; height: 26px; padding: 0; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #72757a; cursor: pointer; }
.attachmentCard button:hover { background: #e5e5e2; color: #222; }
.attachmentCard button svg { width: 14px; height: 14px; }

.recordingBar,
.transcribingBar {
  display: flex;
  min-height: 50px;
  padding: 7px 9px 7px 13px;
  align-items: center;
  gap: 9px;
  border: 1px solid #efcbc8;
  border-radius: 15px;
  background: #fff8f7;
  color: #6f2522;
  font-size: 11.5px;
}
.recordingBar strong { margin-right: auto; font-variant-numeric: tabular-nums; }
.recordingBar button { border: 0; background: transparent; color: #8c3430; cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; }
.recordingBar button:disabled { opacity: .4; cursor: not-allowed; }
.recordingBar .recordingStop { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--chat-accent); color: #fff; }
.recordingStop svg { width: 16px; height: 16px; }
.recordingPulse { width: 8px; height: 8px; border-radius: 50%; background: var(--chat-accent); box-shadow: 0 0 0 0 rgb(215 47 40 / 32%); animation: record-pulse 1.5s infinite; }
@keyframes record-pulse { 70% { box-shadow: 0 0 0 7px rgb(215 47 40 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(215 47 40 / 0%); } }
.transcribingBar { justify-content: center; border-color: #dedfdd; background: #f7f7f5; color: #62656a; }

.settingsViewport {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 16px 40px;
  scrollbar-color: #c2c3c1 transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  background: var(--chat-surface-soft);
}
.settingsViewport::-webkit-scrollbar { width: 6px; }
.settingsViewport::-webkit-scrollbar-thumb { border-radius: 99px; background: #c2c3c1; }
.settingsContent { display: grid; padding: 24px 20px max(40px, calc(24px + env(safe-area-inset-bottom))); gap: 25px; }
.settingsSection { display: grid; gap: 10px; }
.settingsSectionHeading { display: grid; gap: 3px; }
.settingsSectionHeading > span {
  color: var(--chat-accent);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.settingsSectionHeading h3 { margin: 0; color: var(--chat-ink); font: inherit; font-size: 15px; font-weight: 780; }
.accountCard,
.preferenceCard,
.switchCard {
  border: 1px solid var(--chat-border);
  border-radius: var(--chat-radius);
  background: #fff;
  box-shadow: 0 5px 18px rgb(20 21 23 / 5%);
}
.accountCard { padding: 16px; }
.accountCard p { margin: 0; color: #686b70; font-size: 12px; line-height: 1.5; }
.accountCard p + p { margin-top: 5px; }
.accountCard p strong { color: #232528; font-size: 13.5px; }
.accountActions { display: flex; margin-top: 14px; flex-wrap: wrap; gap: 8px; }
.accountActions button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #d7d8d6;
  border-radius: 10px;
  background: #fff;
  color: #292b2e;
  cursor: pointer;
  font: inherit;
  font-size: 11.5px;
  font-weight: 750;
}
.accountActions button[data-primary="true"] { border-color: var(--chat-accent); background: var(--chat-accent); color: #fff; }
.accountActions button:hover { border-color: #aaa; background: #f7f7f5; }
.accountActions button[data-primary="true"]:hover { border-color: var(--chat-accent-strong); background: var(--chat-accent-strong); }
.accountCard .accountNotice { margin-top: 11px; padding: 9px 10px; border-radius: 9px; background: #f5f5f3; color: #55585d; font-size: 10.5px; }

.preferenceCard { display: grid; padding: 5px 16px; }
.preferenceControl { display: grid; padding: 16px 0 17px; gap: 10px; }
.preferenceControl + .preferenceControl { border-top: 1px solid #ebebe8; }
.preferenceHeading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.preferenceHeading label { color: #303236; font-size: 12.5px; font-weight: 720; }
.preferenceHeading strong { color: var(--chat-accent); font-size: 11px; font-weight: 780; }
.steppedSlider {
  width: 100%;
  height: 24px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.steppedSlider::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--chat-accent) 0 var(--slider-progress), #dedfdd var(--slider-progress) 100%);
}
.steppedSlider::-webkit-slider-thumb {
  width: 19px;
  height: 19px;
  margin-top: -7px;
  appearance: none;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--chat-accent);
  box-shadow: 0 0 0 1px #bd2923, 0 2px 5px rgb(0 0 0 / 20%);
}
.steppedSlider::-moz-range-track { height: 5px; border-radius: 99px; background: #dedfdd; }
.steppedSlider::-moz-range-progress { height: 5px; border-radius: 99px; background: var(--chat-accent); }
.steppedSlider::-moz-range-thumb { width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: var(--chat-accent); box-shadow: 0 0 0 1px #bd2923, 0 2px 5px rgb(0 0 0 / 20%); }
.sliderLabels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); color: #8a8c90; font-size: 9.5px; line-height: 1.2; }
.sliderLabels span:nth-child(2) { text-align: center; }
.sliderLabels span:last-child { text-align: right; }
.sliderLabels span[data-selected="true"] { color: #3f4145; font-weight: 750; }

.switchCard { padding: 3px 16px; }
.preferenceSwitch {
  display: flex;
  width: 100%;
  min-height: 54px;
  padding: 9px 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  color: #303236;
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 720;
  text-align: left;
}
.preferenceSwitch + .preferenceSwitch { border-top: 1px solid #ebebe8; }
.preferenceSwitch i { position: relative; width: 38px; height: 22px; flex: 0 0 auto; border-radius: 99px; background: #c9cac8; transition: background-color 150ms ease; }
.preferenceSwitch i::after { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 22%); content: ""; transition: transform 150ms ease; }
.preferenceSwitch[aria-checked="true"] i { background: var(--chat-accent); }
.preferenceSwitch[aria-checked="true"] i::after { transform: translateX(16px); }
.preferenceFootnote { margin: 0 2px; color: #7a7d82; font-size: 10px; line-height: 1.45; }
.preferenceReset { display: grid; min-height: 43px; justify-items: start; gap: 5px; }
.preferenceReset button {
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #66696e;
  cursor: pointer;
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #bbbcb9;
  text-underline-offset: 3px;
}
.preferenceReset button:hover { color: var(--chat-accent); text-decoration-color: currentColor; }
.preferenceReset span { color: #5f6267; font-size: 10px; line-height: 1.35; }

.launcher {
  position: fixed;
  z-index: 989;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  min-height: 58px;
  padding: 7px 17px 7px 8px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  background: #151618;
  color: #fff;
  box-shadow: 0 13px 36px rgb(0 0 0 / 30%);
  cursor: pointer;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 170ms ease, box-shadow 170ms ease, opacity 130ms ease, visibility 0s linear 0s;
}
.launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgb(0 0 0 / 36%); }
.root[data-open="true"] .launcher { transform: translateY(10px); opacity: 0; visibility: hidden; pointer-events: none; transition-delay: 0s, 0s, 0s, 130ms; }
.launcherIcon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--chat-accent); }
.launcherIcon svg { width: 21px; height: 21px; }
.launcherText { display: grid; gap: 2px; text-align: left; }
.launcherText strong { font-size: 13px; line-height: 1.1; }
.launcherText small { color: #bdc0c4; font-size: 9.5px; line-height: 1.1; }

.supportPhone {
  position: fixed;
  z-index: 989;
  right: max(190px, calc(166px + env(safe-area-inset-right)));
  bottom: max(28px, env(safe-area-inset-bottom));
  display: flex;
  min-height: 50px;
  padding: 6px 13px 6px 7px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: #151618;
  box-shadow: 0 10px 28px rgb(0 0 0 / 24%);
  color: #fff;
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease, opacity 130ms ease, visibility 0s linear 0s;
}
.supportPhone:hover { transform: translateY(-2px); box-shadow: 0 13px 34px rgb(0 0 0 / 30%); }
.supportPhoneIcon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--chat-accent); }
.supportPhoneIcon svg { width: 19px; height: 19px; }
.supportPhone > span:last-child { display: grid; gap: 2px; }
.supportPhone strong { font-size: 12px; line-height: 1.1; }
.supportPhone small { color: #bdc0c4; font-size: 9px; line-height: 1.1; }
.root[data-open="true"] .supportPhone { transform: translateY(10px); opacity: 0; visibility: hidden; pointer-events: none; transition-delay: 0s, 0s, 0s, 130ms; }

.headerActions button:focus-visible,
.supportHeaderCall:focus-visible,
.headerBack:focus-visible,
.resizeHandle:focus-visible,
.vehicleRail:focus-visible,
.vehicleRailControls button:focus-visible,
.actionButton:focus-visible,
.errorMessage button:focus-visible,
.composerIconButton:focus-visible,
.sendButton:focus-visible,
.launcher:focus-visible,
.supportPhone:focus-visible,
.overlay:focus-visible,
.attachmentCard button:focus-visible,
.accountActions button:focus-visible,
.steppedSlider:focus-visible,
.preferenceSwitch:focus-visible {
  outline: 3px solid rgb(215 47 40 / 32%);
  outline-offset: 2px;
}
.preferenceReset button:focus-visible { outline: 3px solid rgb(215 47 40 / 32%); outline-offset: 2px; }

@media (max-width: 767px) {
  .drawer,
  .drawer[data-mode="docked"] {
    top: var(--chat-viewport-top, 0px);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 100vh;
    height: var(--chat-viewport-height, 100dvh);
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .overlay { display: none; }
  .supportHeaderCall { display: grid; }
  #minimizeChat { display: none; }
  .header {
    min-height: calc(72px + env(safe-area-inset-top));
    padding-top: max(12px, env(safe-area-inset-top));
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(14px, env(safe-area-inset-left));
  }
  .messageList { padding: 22px max(15px, env(safe-area-inset-right)) 22px max(15px, env(safe-area-inset-left)); }
  .composer {
    padding-right: max(10px, env(safe-area-inset-right));
    padding-bottom: max(9px, env(safe-area-inset-bottom));
    padding-left: max(10px, env(safe-area-inset-left));
  }
  .vehicleRail { padding-right: 14px; padding-left: 14px; grid-auto-columns: min(320px, calc(100% - 34px)); scroll-padding-inline: 14px; }
  .vehicleRailControls { display: none; }
  .widgetHeading { padding-right: 14px; padding-left: 14px; }
  .settingsContent { padding-right: max(15px, env(safe-area-inset-right)); padding-left: max(15px, env(safe-area-inset-left)); }
  .launcher { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .supportPhone {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(84px, calc(68px + env(safe-area-inset-bottom)));
    min-height: 54px;
    padding-right: 15px;
  }
  .supportPhoneIcon { width: 40px; height: 40px; }
  .supportPhone strong { font-size: 13px; }
  .supportPhone small { font-size: 9.5px; }
}

@media (max-width: 390px) {
  .header { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 9px; }
  .avatar { width: 39px; height: 39px; }
  .headerIdentity h2 { font-size: 13px; }
  .headerActions button { width: 34px; height: 36px; }
  .headerBack { width: 39px; height: 39px; }
  .messageList { padding-right: 13px; padding-left: 13px; }
  .messageBubble { max-width: 88%; font-size: 13.5px; }
  .composerRow { grid-template-columns: 35px minmax(0, 1fr) 35px 40px; }
  .composerIconButton { width: 35px; }
  .vehicleRail { grid-auto-columns: min(300px, calc(100% - 25px)); }
}

@media (prefers-reduced-motion: reduce) {
  .overlay,
  .drawer,
  .launcher,
  .sendButton,
  .actionButton,
  .vehicleImage img,
  .resizeHandle span,
  .preferenceSwitch i,
  .preferenceSwitch i::after { transition-duration: 0.01ms !important; }
  .typingDots i,
  .smallSpinner,
  .recordingPulse { animation: none !important; }
}
