/* Social shortcuts share the right-hand column with the return-to-top control. */
.page-shortcuts {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    max-height: calc(100vh - 125px);
    max-height: calc(100svh - 125px);
}
/* The first-visit privacy card takes priority over floating shortcuts. */
html.cookie-banner-visible .page-shortcuts {
    visibility: hidden;
    pointer-events: none;
}
.contact-dock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 5px;
    max-height: calc(100vh - 195px);
    max-height: calc(100svh - 195px);
    min-height: 54px;
    border: 1px solid #e0e4e7;
    border-radius: 30px;
    background: #fff;
    color: #26313a;
    box-shadow: 0 4px 18px #17232d1a;
    flex-shrink: 1;
}
.contact-dock-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #aeb8c0 transparent;
}
.contact-dock-link,
.contact-dock-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #26313a;
    line-height: 1;
    flex: 0 0 44px;
    touch-action: manipulation;
    transition: background .2s ease, color .2s ease;
}
.contact-dock-link svg {
    width: 22px;
    height: 22px;
    transition: transform .2s ease;
}
.contact-dock-link:hover,
.contact-dock-link:focus-visible,
.contact-dock-toggle:hover,
.contact-dock-toggle:focus-visible {
    background: #f8eee9;
    color: #b84329;
}
.contact-dock-link:hover svg { transform: translateY(-1px); }
.contact-dock-link:active,
.contact-dock-toggle:active { background: #f0e1d8; }
.contact-dock-link:focus-visible,
.contact-dock-toggle:focus-visible { outline-offset: -3px; }
.contact-dock-toggle { color: #66727c; }
.contact-dock-toggle svg { width: 19px; height: 19px; transition: transform .2s ease; }
.contact-dock-toggle[aria-expanded="false"] .contact-dock-collapse-icon,
.contact-dock-toggle[aria-expanded="true"] .contact-dock-expand-icon { display:none; }
.page-shortcuts .back-to-top {
    flex-shrink: 0;
    background: #fff;
    color: #26313a;
    border-color: #e0e4e7;
    box-shadow: 0 4px 18px #17232d1a;
}
.page-shortcuts .back-to-top:hover,
.page-shortcuts .back-to-top:focus-visible {
    background: #f8eee9;
    color: #b84329;
}
@media (max-width: 720px), (max-height: 520px) {
    .contact-dock { padding: 3px; min-height: 52px; gap: 2px; }
    .contact-dock-links { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-dock-link,
    .contact-dock-link svg,
    .contact-dock-toggle,
    .contact-dock-toggle svg { transition: none; }
}
