.ch-floating-actions {
  --ch-orange: #dd5928;
  --ch-orange-hover: #c84e24;
  position: fixed;
  z-index: 950;
  top: 50%;
  right: clamp(.75rem, 1.5vw, 1.25rem);
  display: flex;
  flex-direction: column;
  gap: .65rem;
  transform: translateY(-50%);
  pointer-events: none;
  transition: right .46s cubic-bezier(.22,1,.36,1), opacity .22s, transform .46s cubic-bezier(.22,1,.36,1);
}
.ch-floating-actions > * { pointer-events: auto; }
.ch-floating-actions__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--ch-orange);
  color: #fff;
  box-shadow: 0 .65rem 1.6rem rgba(27,31,35,.18);
  text-decoration: none;
  transform: translateZ(0);
  transition: background-color .2s, box-shadow .2s, color .2s, width .36s cubic-bezier(.22,1,.36,1), min-width .36s cubic-bezier(.22,1,.36,1), height .36s cubic-bezier(.22,1,.36,1), min-height .36s cubic-bezier(.22,1,.36,1), opacity .26s, transform .2s;
}
.ch-floating-actions__button:hover,
.ch-floating-actions__button:focus-visible {
  background: var(--ch-orange-hover);
  color: #fff;
  box-shadow: 0 .85rem 2rem rgba(27,31,35,.22);
  transform: translateY(-2px) scale(1.04);
}
.ch-floating-actions__button:focus-visible { outline: 2px solid #222; outline-offset: 3px; }
.ch-floating-actions__button svg { width: 1.2rem; height: 1.2rem; }
.ch-floating-actions__icon { fill: currentColor; }
.ch-floating-actions__expand-icon { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ch-floating-actions__expand-icon { display: none; }
.ch-floating-actions__label {
  position: absolute;
  top: 50%;
  right: calc(100% + .65rem);
  width: max-content;
  max-width: 14rem;
  padding: .5rem .8rem;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  background: rgba(245,245,243,.86);
  color: #1b1f23;
  box-shadow: 0 .7rem 1.6rem rgba(27,31,35,.14);
  backdrop-filter: blur(12px) saturate(120%);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-.4rem);
  transition: opacity .2s, transform .2s;
}
.ch-floating-actions__button:hover .ch-floating-actions__label,
.ch-floating-actions__button:focus-visible .ch-floating-actions__label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (min-width: 901px) {
  .ch-floating-actions {
    padding: .35rem;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 999px;
    background: rgba(245,245,243,.72);
    box-shadow: 0 .9rem 2.2rem rgba(27,31,35,.12);
    backdrop-filter: blur(14px) saturate(120%);
  }
  .ch-floating-actions__button { box-shadow: none; }
  .ch-floating-actions.is-collapsed {
    right: 0;
    gap: 0;
    padding: .55rem .4rem .55rem .75rem;
    border-color: rgba(255,255,255,.18);
    border-right: 0;
    border-radius: 999px 0 0 999px;
    background: var(--ch-orange);
    box-shadow: 0 .75rem 2rem rgba(27,31,35,.14);
    pointer-events: auto;
  }
  .ch-floating-actions.is-collapsed .ch-floating-actions__button:not(.ch-floating-actions__button--contact) {
    width: 0;
    min-width: 0;
    height: 0;
    min-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: scale(.65);
  }
  .ch-floating-actions.is-collapsed .ch-floating-actions__button--contact {
    width: 2.4rem;
    min-width: 2.4rem;
    height: 2.4rem;
    min-height: 2.4rem;
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  .ch-floating-actions.is-collapsed .ch-floating-actions__button--contact .ch-floating-actions__icon { display: none; }
  .ch-floating-actions.is-collapsed .ch-floating-actions__button--contact .ch-floating-actions__expand-icon { display: block; }
  .ch-floating-actions.is-collapsed .ch-floating-actions__button--contact .ch-floating-actions__label { display: none; }
  .ch-floating-actions.is-collapsed .ch-floating-actions__button--contact::after {
    position: absolute;
    top: 50%;
    right: calc(100% + .65rem);
    width: max-content;
    padding: .5rem .8rem;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 999px;
    background: rgba(245,245,243,.86);
    color: #1b1f23;
    box-shadow: 0 .7rem 1.6rem rgba(27,31,35,.14);
    backdrop-filter: blur(12px) saturate(120%);
    content: attr(data-expand-label);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(-.4rem);
    transition: opacity .2s, transform .2s;
  }
  .ch-floating-actions.is-collapsed .ch-floating-actions__button--contact:hover::after,
  .ch-floating-actions.is-collapsed .ch-floating-actions__button--contact:focus-visible::after { opacity: 1; transform: translateY(-50%) translateX(0); }
}
@media (max-width: 900px) {
  .ch-floating-actions {
    top: auto;
    right: auto;
    /* Borlabs mobile widget is 72px wide; leave exactly 10px beside it. */
    left: 82px;
    /* Center the 50.8px pill against Borlabs' 72px mobile widget. */
    bottom: 10.6px;
    flex-direction: row;
    gap: .375rem;
    padding: .25rem;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 999px;
    background: rgba(245,245,243,.78);
    box-shadow: 0 .9rem 2.2rem rgba(27,31,35,.16);
    backdrop-filter: blur(14px) saturate(120%);
    transform: none;
    transition: opacity .22s, transform .26s, bottom .26s;
  }
  .ch-floating-actions__button { width: 2.55rem; min-width: 2.55rem; height: 2.55rem; min-height: 2.55rem; box-shadow: none; }
  .ch-floating-actions__label { display: none; }
  .ch-floating-actions.is-mobile-hidden { opacity: 0; visibility: hidden; transform: translateY(calc(140% + 3rem)); pointer-events: none; }
  .trp-language-switcher.trp-floating-switcher { --right: 10px !important; }
  body:has(.trp-language-switcher.is-open) .ch-floating-actions { opacity: 0; visibility: hidden; pointer-events: none; }
  .ch-floating-actions.is-in-footer { bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 374px) {
  .trp-language-switcher.trp-floating-switcher { --switcher-width: 55px !important; }
  .trp-language-switcher.trp-floating-switcher:not(.is-open) .trp-language-item__current { justify-content: center; padding-inline: 10px; }
  .trp-language-switcher.trp-floating-switcher:not(.is-open) .trp-language-item__current .trp-language-item-name { display: none; }
  .trp-language-switcher.trp-floating-switcher.is-open { --switcher-width: 150px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-floating-actions, .ch-floating-actions *, .ch-floating-actions__button::after { transition: none !important; }
}
