.cue-support {
  position: fixed;
  z-index: 1029;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  font-size: 14px;
  color: #19352c;
}
.cue-support__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 15px;
  list-style: none;
  cursor: pointer;
  border: 1px solid #bfa765;
  border-radius: 999px;
  background: #143c31;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 18px #102e3338;
}
.cue-support__toggle::-webkit-details-marker { display: none; }
.cue-support__toggle-icon,
.cue-support__header-icon {
  position: relative;
  width: 17px;
  height: 13px;
  border: 2px solid #f3d58b;
  border-radius: 5px;
}
.cue-support__toggle-icon::after,
.cue-support__header-icon::after {
  position: absolute;
  content: "";
  bottom: -4px;
  left: 2px;
  width: 5px;
  height: 5px;
  border-left: 2px solid #f3d58b;
  transform: skewY(-30deg);
}
.cue-support__close-label,
.cue-support[open] .cue-support__open-label { display: none; }
.cue-support[open] .cue-support__close-label { display: inline; }
.cue-support[open] .cue-support__toggle { background: #fff; color: #173b30; }
.cue-support[open] .cue-support__toggle-icon { border: 0; width: 13px; height: 13px; }
.cue-support[open] .cue-support__toggle-icon::before,
.cue-support[open] .cue-support__toggle-icon::after {
  position: absolute;
  content: "";
  inset: 6px 0 auto;
  height: 2px;
  width: 13px;
  border: 0;
  background: #173b30;
  transform: rotate(45deg);
}
.cue-support[open] .cue-support__toggle-icon::after { transform: rotate(-45deg); }
.cue-support__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(292px, calc(100vw - 32px));
  max-height: calc(100dvh - 86px - env(safe-area-inset-bottom, 0px));
  overflow: auto;
  border: 1px solid #dae5df;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 14px 38px #102e3333;
}
.cue-support__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: linear-gradient(115deg, #123d32, #285647);
  color: #fff;
  font-size: 15px;
}
.cue-support__channels {
  display: grid;
  gap: 7px;
  padding: 10px;
}
.cue-support__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 7px 9px;
  border: 1px solid #dfe9e4;
  border-radius: 11px;
  background: #f9fcfb;
  color: #19352c;
  text-decoration: none;
  line-height: 1.25;
}
.cue-support__link:hover { background: #edf5f0; color: #19352c; }
.cue-support__contact { min-width: 0; }
.cue-support__contact small {
  display: block;
  margin-top: 3px;
  color: #486157;
  overflow-wrap: anywhere;
}
.cue-support__arrow { margin-left: auto; color: #416458; font-size: 16px; }
.cue-support__icon {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 800;
}
.cue-support__icon--zalo { background: #dfedff; color: #0755ba; font-size: 11px; }
.cue-support__icon--telegram { background: #e0f3fc; }
.cue-support__icon--telegram::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #046eaa;
  clip-path: polygon(3% 44%, 96% 8%, 79% 93%, 49% 68%, 37% 84%, 35% 61%, 76% 28%, 27% 55%);
}
.cue-support__toggle:focus-visible,
.cue-support__link:focus-visible { outline: 3px solid #a97216; outline-offset: 2px; }
.cm-footer { padding-bottom: max(74px, calc(66px + env(safe-area-inset-bottom, 0px))); }
