/* Шиныч: site-local, namespaced, no changes to Bitrix24/MANGO/Jivo elements. */
#shinych-pkc-messenger[hidden],
#shinych-pkc-messenger [hidden] { display: none !important; }
.shinych-pkc-widget {
  position: fixed;
  z-index: 2147483000;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(96px, calc(72px + env(safe-area-inset-bottom)));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  max-width: min(260px, calc(100vw - 32px));
}
.shinych-pkc-widget__trigger {
  appearance: none; border: 0; border-radius: 999px;
  background: #1784c6; color: #fff; padding: 13px 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
  font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.25; cursor: pointer;
  max-width: 100%; text-align: center;
}
.shinych-pkc-widget__trigger:hover, .shinych-pkc-widget__trigger:focus-visible {
  background: #09649d; outline-offset: 3px;
}
.shinych-pkc-widget__menu {
  display: grid; gap: 7px;
  margin-bottom: 9px; padding: 9px; border-radius: 14px;
  background: #fff; box-shadow: 0 4px 22px rgba(0,0,0,.18);
}
.shinych-pkc-widget__link {
  display: block; border-radius: 10px; padding: 12px 16px;
  font: 600 15px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-decoration: none !important; text-align: center;
  background: #edf6fb; color: #07578c !important;
}
.shinych-pkc-widget__link:hover, .shinych-pkc-widget__link:focus-visible {
  background: #d7ecf7;
}
@media (prefers-reduced-motion: reduce) {
  .shinych-pkc-widget__trigger, .shinych-pkc-widget__link { transition: none; }
}

/* SHQ028/175: PKC mobile messenger position only. */
@media not all and (min-width: 768px) {
  #shinych-pkc-messenger {
    bottom: calc(176px + env(safe-area-inset-bottom, 0px));
  }
}
