.chat-chargia {
  background: var(--chat);
  height: 100%;
  min-height: 0;
  color: var(--negro);
  --cc-card: var(--blanco);
  --cc-text: var(--negro);
  --cc-muted: var(--g3);
  --cc-user: var(--burbuja-u);
  --cc-line: #1717171f;
  flex-direction: column;
  font:
    16px/1.3 Geist,
    system-ui,
    sans-serif;
  display: flex;
  overflow: hidden;
}
.chat-chargia[data-tema="oscuro"] {
  background: var(--negro);
  color: var(--blanco);
  --cc-card: #fffdfb12;
  --cc-text: var(--blanco);
  --cc-muted: var(--g2);
  --cc-user: var(--fluor);
  --cc-line: #c4c4c029;
}
.cc-head {
  background: var(--blanco);
  height: 62px;
  color: var(--negro);
  flex: none;
  align-items: center;
  gap: 9px;
  padding: 4px 14px;
  display: flex;
}
.chat-chargia[data-tema="oscuro"] .cc-head {
  background: var(--negro);
  color: var(--blanco);
}
.cc-avatar {
  background: var(--fluor);
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}
.cc-avatar img {
  filter: brightness(0);
  width: 13px;
  height: 20px;
}
.cc-name {
  flex: 1;
  min-width: 0;
}
.cc-name strong,
.cc-name small {
  align-items: center;
  gap: 4px;
  display: flex;
}
.cc-name strong {
  font-size: 15px;
}
.cc-name small {
  color: var(--cc-muted);
  font-size: 11px;
}
.cc-name small i,
.cc-status {
  background: var(--fluor);
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
  display: inline-block;
}
.cc-name small i {
  animation: 2s infinite cc-pulse;
}
.cc-verified {
  background: var(--fluor);
  width: 14px;
  height: 14px;
  color: var(--negro);
  border-radius: 50%;
  place-items: center;
  font-size: 10px;
  display: grid;
}
.cc-head-icons {
  gap: 12px;
  display: flex;
}
.cc-head-icons svg,
.cc-compose svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 18px;
  height: 18px;
}
.cc-viewport {
  background-image: radial-gradient(#17171709 0.8px, #0000 0.8px);
  background-size: 13px 13px;
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.chat-chargia[data-tema="oscuro"] .cc-viewport {
  background-image: radial-gradient(#fffdfb0b 0.8px, #0000 0.8px);
}
.cc-scene {
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 9px 8px;
  display: flex;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cc-scene[hidden] {
  display: none;
}
.cc-history {
  opacity: 0.45;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  display: flex;
}
.cc-bubble {
  border-radius: 16px;
  max-width: 96%;
  padding: 9px 11px 7px;
  font-size: 16px;
  line-height: 1.3;
}
.cc-bubble small {
  text-align: right;
  color: var(--cc-muted);
  margin-top: 4px;
  font-size: 10px;
  display: block;
}
.cc-user {
  background: var(--cc-user);
  color: var(--negro);
  border-bottom-right-radius: 5px;
  align-self: flex-end;
}
.cc-user small span {
  color: var(--negro);
}
.cc-bot {
  background: var(--cc-card);
  border: 1px solid var(--cc-line);
  color: var(--cc-text);
  border-bottom-left-radius: 5px;
  align-self: flex-start;
}
.cc-rich {
  width: 100%;
  max-width: 100%;
}
.cc-scene[data-index="0"] .cc-rich {
  min-height: 0;
}
.cc-scene[data-index="0"] .cc-chargers {
  grid-template-rows: repeat(3, 60px);
  height: auto;
}
.cc-scene[data-index="1"] .cc-rich {
  min-height: 280px;
}
.cc-scene[data-index="2"] .cc-rich,
.cc-scene[data-index="3"] .cc-rich {
  min-height: 285px;
}
.cc-scene[data-index="5"] .cc-rich {
  min-height: 235px;
}
.cc-rich > strong {
  font-size: 14px;
  display: block;
}
.cc-rich p {
  margin: 5px 0;
}
.cc-time {
  opacity: 0.7;
}
.cc-typing {
  background: var(--cc-card);
  border: 1px solid var(--cc-line);
  border-radius: 16px;
  gap: 4px;
  padding: 9px 12px;
  display: none;
}
.cc-typing i {
  background: var(--cc-text);
  border-radius: 50%;
  width: 5px;
  height: 5px;
  animation: 0.7s infinite alternate cc-dot;
}
.cc-typing i:nth-child(2) {
  animation-delay: 0.12s;
}
.cc-typing i:nth-child(3) {
  animation-delay: 0.24s;
}
.cc-chargers {
  grid-template-rows: repeat(3, 60px);
  gap: 6px;
  margin-top: 8px;
  display: grid;
}
.cc-charger {
  border: 1px solid var(--cc-line);
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 5px 8px;
  display: flex;
}
.cc-charger--selected {
  border-color: var(--fluor);
  background: #deff001a;
}
.cc-charger img {
  object-fit: cover;
  border-radius: 10px;
  width: 40px;
  height: 40px;
}
.cc-charger span {
  flex: 1;
  min-width: 0;
}
.cc-charger b {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  display: block;
  overflow: hidden;
}
.cc-charger small {
  text-align: left;
  color: var(--g2);
  white-space: nowrap;
  margin: 1px 0 0;
  font-size: 11.5px;
  display: block;
}
.cc-availability {
  white-space: nowrap;
  background: #deff002e;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
}
.cc-status {
  background: var(--fluor);
  border-radius: 50%;
  width: 6px;
  height: 6px;
}
.cc-map {
  background: var(--negro);
  border-radius: 9px;
  height: 82px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}
.cc-map svg {
  fill: none;
  width: 100%;
  height: 100%;
  stroke: var(--g3);
  stroke-width: 3px;
}
.cc-map svg circle {
  fill: var(--fluor);
  stroke: var(--negro);
  stroke-width: 2px;
}
.cc-pin {
  border: 1px solid var(--fluor);
  border-radius: 50%;
  width: 17px;
  height: 17px;
  animation: 1.5s infinite cc-pulse;
  position: absolute;
  top: 55%;
  left: 53%;
}
.cc-actions {
  gap: 6px;
  margin-top: 9px;
  display: flex;
}
.cc-actions button,
.cc-stop {
  border: 1px solid var(--cc-line);
  min-height: 32px;
  color: var(--cc-text);
  background: 0 0;
  border-radius: 999px;
  padding: 5px 10px;
  font: 600 11px Geist;
}
.cc-actions button:first-child {
  background: var(--fluor);
  color: var(--negro);
  border-color: var(--fluor);
}
.cc-qr {
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  display: flex;
}
.cc-qr svg {
  width: 43px;
  height: 43px;
  fill: var(--cc-text);
}
.cc-qr small {
  font-size: 11px;
}
.cc-charge {
  align-items: center;
  gap: 11px;
  margin: 10px 0;
  display: flex;
}
.cc-ring {
  background: conic-gradient(var(--fluor) calc(var(--progress) * 1turn), var(--cc-line) 0);
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 76px;
  height: 76px;
  display: grid;
  position: relative;
}
.cc-ring:before {
  content: "";
  background: var(--negro);
  border-radius: 50%;
  position: absolute;
  inset: 7px;
}
.chat-chargia[data-tema="claro"] .cc-ring:before {
  background: var(--blanco);
}
.cc-ring span {
  justify-items: center;
  font-size: 11px;
  display: grid;
  position: relative;
}
.cc-ring svg {
  width: 15px;
  height: 15px;
  fill: var(--fluor);
  animation: 1.3s infinite cc-pulse;
}
.cc-charge-data b {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  display: block;
}
.cc-charge-data small {
  text-align: left;
  margin-top: 4px;
}
.cc-stop {
  width: 100%;
}
.cc-ai {
  background: var(--fluor);
  color: var(--negro);
  border-radius: 999px;
  margin-bottom: 6px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 700;
  display: inline-block;
}
.cc-diagnostics {
  gap: 5px;
  margin-top: 8px;
  display: grid;
}
.cc-diagnostics span {
  border: 1px solid var(--cc-line);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
}
.cc-diagnostics span:last-child {
  border-color: var(--fluor);
  color: var(--cc-text);
}
.cc-scene[data-index="4"] .cc-sheet {
  min-height: 285px;
}
.cc-sheet {
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--cc-line);
  width: 100%;
  color: var(--negro);
  background: #fffdfbc7;
  border-radius: 17px 17px 9px 9px;
  padding: 12px 13px;
  box-shadow: 0 -8px 24px #17171717;
}
.chat-chargia[data-tema="oscuro"] .cc-sheet {
  color: var(--blanco);
  background: #4a4847c7;
}
.cc-sheet > small {
  color: var(--cc-muted);
  display: block;
}
.cc-sheet > strong {
  margin: 1px 0 7px;
  font-size: 23px;
  display: block;
}
.cc-pay-card {
  border: 1px solid var(--fluor);
  background: #deff001a;
  border-radius: 8px;
  justify-content: space-between;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}
.cc-pay-row {
  border-bottom: 1px solid var(--cc-line);
  justify-content: space-between;
  padding: 7px 1px;
  font-size: 12px;
  display: flex;
}
.cc-sheet > button {
  background: var(--fluor);
  width: 100%;
  min-height: 37px;
  color: var(--negro);
  border: 0;
  border-radius: 999px;
  margin-top: 9px;
  font: 700 12px Geist;
}
.cc-invoice {
  width: 100%;
  padding: 0 3px;
  font-size: 12px;
}
.cc-chips {
  flex-wrap: wrap;
  align-self: flex-start;
  gap: 6px;
  display: flex;
}
.cc-chips button {
  border: 1px solid var(--cc-muted);
  min-height: 28px;
  color: inherit;
  background: 0 0;
  border-radius: 999px;
  padding: 4px 9px;
  font: 600 11.5px Geist;
}
.cc-chips button.is-selected {
  border-color: var(--fluor);
  background: #deff001a;
}
.cc-compose {
  background: var(--blanco);
  height: 47px;
  color: var(--negro);
  flex: none;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 9px;
  font-size: 13px;
  display: flex;
}
.chat-chargia[data-tema="oscuro"] .cc-compose {
  background: var(--negro);
  color: var(--blanco);
}
.cc-compose > span:nth-child(2) {
  color: var(--cc-muted);
  flex: 1;
}
.cc-send {
  background: var(--fluor);
  width: 29px;
  height: 29px;
  color: var(--negro);
  border-radius: 50%;
  place-items: center;
  display: grid;
}
.cc-send svg {
  width: 17px;
  height: 17px;
}
.chat-chargia.cc-motion .cc-scene:not([hidden]) > .cc-bubble,
.chat-chargia.cc-motion .cc-scene:not([hidden]) > .cc-chips {
  animation: 0.32s cubic-bezier(0.32, 0.72, 0, 1) both cc-enter;
}
.chat-chargia.cc-motion .cc-scene:not([hidden]) > .cc-rich {
  animation-delay: 0.75s;
}
.chat-chargia.cc-motion .cc-scene:not([hidden]) .cc-charger,
.chat-chargia.cc-motion .cc-scene:not([hidden]) .cc-pay-row {
  animation: 0.4s cubic-bezier(0.32, 0.72, 0, 1) both cc-row;
  animation-delay: calc(var(--row) * 0.1s + 0.32s);
}
.chat-chargia.cc-motion .cc-scene:not([hidden]) .cc-sheet {
  animation: 0.7s cubic-bezier(0.32, 0.72, 0, 1) both cc-sheet;
}
.chat-chargia.cc-motion .cc-scene:not([hidden]) .cc-ring {
  animation: 0.7s 0.32s both cc-enter;
}
@keyframes cc-enter {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
}
@keyframes cc-row {
  0% {
    opacity: 0;
    transform: translate(-12px);
  }
}
@keyframes cc-sheet {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
}
@keyframes cc-dot {
  to {
    opacity: 0.25;
    transform: translateY(-4px);
  }
}
@keyframes cc-pulse {
  50% {
    opacity: 0.45;
    transform: scale(1.2);
  }
}
.cc-typing.is-visible {
  display: flex;
}
.chat-chargia button:focus-visible {
  outline: 2px solid var(--fluor);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .chat-chargia * {
    transition: none !important;
    animation: none !important;
  }
  .cc-typing {
    display: none !important;
  }
}
.cc-charger > span:last-child {
  white-space: nowrap;
  flex: none;
  width: auto;
}
.chat-chargia.cc-motion .cc-scene:not([hidden]) > .cc-sheet ~ .cc-bubble {
  animation-delay: 0.85s;
}
.chat-chargia.cc-motion .cc-scene:not([hidden]) > .cc-sheet ~ .cc-chips {
  animation-delay: 1s;
}
