/* Aligned to the 56px launcher inside the CRM's 90px iframe. */
.bynix-shortcuts {
  position: fixed;
  z-index: 2147482990;
  right: calc(33px + env(safe-area-inset-right, 0px));
  bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font: 600 14px/1.35 Urbanist, Arial, sans-serif;
}
.bynix-shortcuts, .bynix-shortcuts * { box-sizing: border-box; }
.bynix-shortcuts [hidden] { display: none !important; }
.bynix-shortcut-list { display: flex; flex-direction: column; gap: 12px; }
.bynix-shortcut {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 56px;
  text-decoration: none;
  color: #23252c;
  border-radius: 28px;
}
.bynix-shortcut-label {
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e5e5e9;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 4px 20px #17191f12;
  transition: transform 160ms ease, border-color 160ms ease;
}
.bynix-shortcut-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border: 1px solid #e5e5e9;
  border-radius: 50%;
  background: #fff;
  color: #d60002;
  box-shadow: 0 6px 22px #17191f1a;
  transition: transform 160ms ease;
}
.bynix-shortcut-icon svg { width: 26px; height: 26px; }
.bynix-shortcut-ai .bynix-shortcut-icon,
.bynix-shortcut-ai .bynix-shortcut-label { background: #23252c; border-color: #23252c; color: #fff; }
.bynix-shortcuts button {
  font: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #e5e5e9;
  background: #fff;
  color: #555761;
  box-shadow: 0 3px 12px #17191f10;
  border-radius: 50%;
}
.bynix-shortcuts-toggle { width: 44px; height: 44px; margin-right: 6px; }
.bynix-shortcuts-toggle svg { width: 16px; height: 16px; }
.bynix-shortcuts-expand { width: 56px; height: 56px; }
.bynix-shortcuts-expand svg { width: 24px; height: 24px; }
.bynix-shortcut:focus-visible, .bynix-shortcuts button:focus-visible { outline: 3px solid #d60002; outline-offset: 4px; }
body:has(.site-header.menu-open) .bynix-shortcuts,
body:has(.site-header.menu-open) #fcrm-chat-frame,
html.bynix-chat-open .bynix-shortcuts { visibility: hidden; pointer-events: none; }
#fcrm-chat-frame { max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); }
html:not(.bynix-chat-open) #fcrm-chat-frame {
  right: calc(16px + env(safe-area-inset-right, 0px)) !important;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
}
@media (hover: hover) {
  .bynix-shortcut:hover .bynix-shortcut-label { transform: translateX(-3px); border-color: #d60002; }
  .bynix-shortcut:hover .bynix-shortcut-icon { transform: translateY(-2px); }
  .bynix-shortcuts button:hover { color: #d60002; border-color: #d60002; }
}
@media (max-width: 639px) {
  .bynix-shortcuts { flex-direction: row; align-items: center; font-size: 11px; }
  .bynix-shortcut-list { flex-direction: row; align-items: flex-start; }
  .bynix-shortcut { flex-direction: column-reverse; gap: 5px; min-height: 0; }
  .bynix-shortcut-label { padding: 5px 8px; border-radius: 10px 10px 3px 10px; }
  .bynix-shortcut-icon { width: 48px; height: 48px; }
  .bynix-shortcut-icon svg { width: 24px; height: 24px; }
  .bynix-shortcuts-toggle { margin: 0 2px 27px 0; }
  html.bynix-chat-open #fcrm-chat-frame { max-width: 100vw; max-height: 100dvh; height: 100dvh !important; }
}
@media (prefers-reduced-motion: reduce) {
  .bynix-shortcut-label, .bynix-shortcut-icon, #fcrm-chat-frame { transition: none !important; transform: none !important; }
}
