﻿/* from ConciergeWidget.module.css */
[data-tp="concierge"] {
.root {
  position: fixed;
  z-index: 360;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
  box-sizing: border-box;
  font-family: inherit;
}
.root > * {
  pointer-events: auto;
}
.left {
  left: var(--et-d-s, 20px);
  right: auto;
  bottom: var(--et-d-b, 20px);
  top: auto;
}
.right {
  right: var(--et-d-s, 20px);
  left: auto;
  bottom: var(--et-d-b, 20px);
  top: auto;
  flex-direction: row-reverse;
}
.dTl {
  left: var(--et-d-s, 20px);
  right: auto;
  top: var(--et-d-b, 20px);
  bottom: auto;
}
.dTr {
  right: var(--et-d-s, 20px);
  left: auto;
  top: var(--et-d-b, 20px);
  bottom: auto;
  flex-direction: row-reverse;
}

.fab,
.close,
.send,
.pri,
.sec,
.chip,
.teaserX {
  font: inherit;
  cursor: pointer;
}
.fab:focus-visible,
.close:focus-visible,
.send:focus-visible,
.pri:focus-visible,
.sec:focus-visible,
.chip:focus-visible,
.teaser:focus-visible,
.composer input:focus-visible,
.lead input:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 2px;
}

.fab {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--et-brand, #e53935);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(229, 57, 53, 0.38);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.fab .fa,
.fab .fa-comments {
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
.dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4caf50;
  border: 2px solid #fff;
}

.teaserWrap {
  position: relative;
  max-width: min(260px, calc(100vw - 96px));
  animation: etPop 0.28s ease-out;
}
.teaser {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
  color: #171717;
  border-radius: 16px;
  padding: 12px 36px 12px 14px;
  box-shadow: 0 10px 28px rgba(23, 23, 23, 0.14);
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
}
.teaser::before {
  content: "";
  position: absolute;
  left: -6px;
  bottom: 18px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px 2px 6px rgba(23, 23, 23, 0.06);
}
.teaserName {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e53935;
  margin-bottom: 2px;
}
.teaserText {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #262626;
}
.teaserX {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #737373;
  font-size: 18px;
  line-height: 1;
}



.panel {
  width: min(370px, calc(100vw - 24px));
  height: min(480px, calc(100dvh - 200px));
  max-height: calc(100dvh - 200px);
  min-height: 280px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(23, 23, 23, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom left;
  animation: etPanelIn 0.34s ease-out;
}


.head {
  flex: 0 0 auto;
  background: var(--et-header, #e53935);
  color: #fff;
  padding: 12px 10px 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: 0 0 auto;
}
.headCopy {
  flex: 1;
  min-width: 0;
}
.kicker {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  line-height: 1.2;
}
.sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: #fff;
  opacity: 0.95;
  line-height: 1.2;
}
.online::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9f6ca;
  margin-right: 6px;
}
.close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}
.body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #f6f6f6;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aiRow,
.userRow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 92%;
}
.userRow {
  align-self: flex-end;
  align-items: flex-end;
}
.ai,
.user {
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.45;
}
.ai {
  background: #fff;
  color: #171717;
  border: 1px solid #eee;
  border-top-left-radius: 4px;
}
.user {
  background: #e53935;
  color: #fff;
  border-top-right-radius: 4px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  border: 1px solid #e53935;
  background: #fff;
  color: #171717;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  max-width: 100%;
}
.cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 14px rgba(23, 23, 23, 0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.badge {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #e53935;
  font-weight: 700;
}
.priceLine {
  font-size: 13px;
  font-weight: 800;
  color: #25d366;
}
.cardBtns {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.pri,
.sec {
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.pri {
  border: 0;
  background: #e53935;
  color: #fff;
}
.sec {
  border: 1px solid #e53935;
  background: #fff;
  color: #171717;
}
.lead {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.lead label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}
.lead input,
.composer input {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}
.hint {
  font-size: 12px;
  color: #525252;
  margin: 0;
}
.err {
  color: #e53935;
  margin: 0;
  font-size: 13px;
}
.ok {
  margin: 0;
  font-size: 14px;
}
.composer {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid #ececec;
  background: #fff;
}
.composer input {
  flex: 1;
  min-width: 0;
}
.send {
  border: 0;
  background: #e53935;
  color: #fff;
  border-radius: 10px;
  padding: 0 14px;
  min-height: 42px;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .root.mLeft {
    left: var(--et-m-s, 12px);
    right: auto;
    bottom: var(--et-m-b, 92px);
    top: auto;
    flex-direction: row;
  }
  .root.mRight {
    right: var(--et-m-s, 12px);
    left: auto;
    bottom: var(--et-m-b, 92px);
    top: auto;
    flex-direction: row-reverse;
  }
  .root.mTl {
    left: var(--et-m-s, 12px);
    right: auto;
    top: var(--et-m-b, 12px);
    bottom: auto;
    flex-direction: row;
  }
  .root.mTr {
    right: var(--et-m-s, 12px);
    left: auto;
    top: var(--et-m-b, 12px);
    bottom: auto;
    flex-direction: row-reverse;
  }
  .panel {
    width: calc(100vw - 16px);
    height: min(420px, calc(100dvh - 190px));
    max-height: calc(100dvh - 190px);
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teaserWrap,
  .panel {
    animation: none;
  }
}

}

@keyframes etPop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes etPanelIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

