.contact-dock {
  position: fixed;
  z-index: 920;
  top: var(--dock-top, 52%);
  right: var(--dock-right, 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: var(--dock-width, 56px);
  transform: translateY(-50%);
  animation: contact-dock-enter 480ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  scroll-behavior: smooth;
}

.contact-dock button,
.contact-dock a {
  -webkit-tap-highlight-color: transparent;
}

.contact-dock-report,
.contact-dock-register,
.contact-dock-channel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

.contact-dock-report {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(30, 91, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--dock-primary, var(--color-primary));
  box-shadow: 0 10px 28px rgba(23, 56, 115, 0.16);
  backdrop-filter: blur(10px);
  transition: color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-dock-report:hover {
  color: var(--dock-primary, var(--color-primary));
  box-shadow: 0 13px 32px rgba(30, 91, 255, 0.22);
  transform: translateY(-2px);
}

.contact-dock-report svg {
  width: 22px;
  height: 22px;
}

.contact-dock-register {
  flex-direction: column;
  gap: 8px;
  width: calc(var(--dock-width, 56px) - 4px);
  min-height: var(--dock-register-height, 116px);
  padding: 13px 0;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--dock-primary, #1683f8) 0%, var(--dock-secondary, #53b3f4) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(25, 132, 239, 0.28);
  transition: box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.contact-dock-register:hover {
  filter: saturate(1.08);
  box-shadow: 0 13px 30px rgba(25, 132, 239, 0.36);
  transform: translateY(-2px);
}

.contact-dock-register svg {
  width: 19px;
  height: 19px;
}

.contact-dock-register span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.25;
  writing-mode: vertical-rl;
}

.contact-dock-channels {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--dock-width, 56px);
  padding: 9px 0 7px;
  border: 1px solid rgba(20, 52, 104, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 28px rgba(23, 56, 115, 0.13);
  backdrop-filter: blur(10px);
}

.contact-dock-channel {
  flex-direction: column;
  gap: 2px;
  width: 100%;
  min-height: 48px;
  color: #68758c;
  transition: background 160ms ease, color 160ms ease;
}

.contact-dock-channel:hover,
.contact-dock-channel:focus-visible {
  background: #f0f6ff;
  color: var(--dock-primary, var(--color-primary));
}

.contact-dock-channel svg {
  width: 19px;
  height: 19px;
}

.contact-dock-channel span {
  font-size: 11px;
  line-height: 1.2;
}

.contact-dock-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  z-index: 2;
  width: max-content;
  max-width: 260px;
  padding: 8px 11px;
  border-radius: 7px;
  background: #102c61;
  color: #fff;
  box-shadow: 0 8px 22px rgba(13, 36, 78, 0.2);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate(7px, -50%);
  visibility: hidden;
  white-space: nowrap;
  transition: opacity 150ms ease, transform 180ms ease, visibility 150ms ease;
}

.contact-dock-tooltip::after {
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  background: #102c61;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.contact-dock-report:hover .contact-dock-tooltip,
.contact-dock-report:focus-visible .contact-dock-tooltip,
.contact-dock-channel:hover .contact-dock-tooltip,
.contact-dock-channel:focus-visible .contact-dock-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
  visibility: visible;
}

.contact-dock-report svg,
.contact-dock-register svg,
.contact-dock-channel svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-dock-report:focus-visible,
.contact-dock-register:focus-visible,
.contact-dock-channel:focus-visible {
  outline: 3px solid rgba(30, 91, 255, 0.24);
  outline-offset: 3px;
}

@keyframes contact-dock-enter {
  from { opacity: 0; transform: translate(18px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}

@media (max-width: 768px) {
  .contact-dock {
    top: auto;
    right: 12px;
    bottom: 78px;
    left: 12px;
    flex-direction: row;
    justify-content: flex-end;
    width: auto;
    transform: none;
    animation-name: contact-dock-enter-mobile;
  }

  .contact-dock-report {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .contact-dock-register {
    flex-direction: row;
    width: auto;
    min-height: 44px;
    padding: 0 15px;
    border-radius: 22px;
  }

  .contact-dock-register span {
    font-size: 13px;
    letter-spacing: 0;
    writing-mode: horizontal-tb;
  }

  .contact-dock-channels {
    flex: 0 0 auto;
    flex-direction: row;
    width: auto;
    height: 48px;
    padding: 0 4px;
    border-radius: 24px;
  }

  .contact-dock-channel span {
    display: none;
  }

  .contact-dock-channel {
    width: 38px;
    min-height: 38px;
    border-radius: 50%;
  }

  .contact-dock-tooltip {
    top: auto;
    right: 50%;
    bottom: calc(100% + 10px);
    max-width: calc(100vw - 32px);
    transform: translate(50%, 6px);
  }

  .contact-dock-tooltip::after {
    top: auto;
    right: 50%;
    bottom: -5px;
    transform: translateX(50%) rotate(45deg);
  }

  .contact-dock-report:hover .contact-dock-tooltip,
  .contact-dock-report:focus-visible .contact-dock-tooltip,
  .contact-dock-channel:hover .contact-dock-tooltip,
  .contact-dock-channel:focus-visible .contact-dock-tooltip {
    transform: translate(50%, 0);
  }
}

@keyframes contact-dock-enter-mobile {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 430px) {
  .contact-dock-report { display: none; }

  .contact-dock-register { padding: 0 12px; }

  .contact-dock-channels {
    flex: 1;
    justify-content: space-around;
    max-width: 180px;
  }
}

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

@media print {
  .contact-dock { display: none !important; }
}
