/* === BEGIN CALiNGA FLOATING SOCIAL (additive; isolated from existing styles) === */
  /* Powder-white liquid-glass treatment; the CALiNGA gold share button is unchanged. */
  #calingaSocialFloat {
    position: fixed;
    top: 60%;
    right: clamp(12px, 2vw, 26px);
    z-index: 55; /* below sticky navigation (60), cookie consent (200) and modal (210) */
    width: 40px;
    font-family: var(--body, system-ui, sans-serif);
    -webkit-tap-highlight-color: transparent;
  }
  #calingaSocialToggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .60);
    border-radius: 50%;
    background: #FF6B00; /* Cosmic Orange */
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 30, 73, .24);
    cursor: pointer;
    touch-action: manipulation;
    transition: box-shadow .18s ease, transform .18s ease;
  }
  #calingaSocialToggle:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 30, 73, .3);
  }
  #calingaSocialToggle svg {
    display: block;
    width: 21px;
    height: 21px;
  }
  #calingaSocialMenu {
    position: absolute;
    right: -7px;
    bottom: calc(100% + 12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 9px 7px;
    max-height: clamp(94px, calc(60vh - 84px), 340px);
    max-height: clamp(94px, calc(60dvh - 84px), 340px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 48, 116, .24) transparent;
    background: rgba(249, 251, 255, .88); /* solid-enough fallback without backdrop-filter */
    background: linear-gradient(150deg, rgba(255, 255, 255, .85), rgba(243, 248, 255, .69));
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .94);
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(8, 30, 70, .14),
                0 2px 7px rgba(8, 30, 70, .06),
                inset 0 1px 1px rgba(255, 255, 255, .96);
    isolation: isolate;
  }
  #calingaSocialMenu[hidden],
  #calingaSocialNotice[hidden] {
    display: none;
  }
  #calingaSocialFloat .calinga-social-link {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #003074;
    border: 1px solid rgba(255, 255, 255, .87);
    border-radius: 50%;
    text-decoration: none;
    background: rgba(255, 255, 255, .57);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88);
    touch-action: manipulation;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
  }
  #calingaSocialFloat .calinga-social-link svg {
    display: block;
    width: 30px;
    height: 30px;
    fill: currentColor;
  }
  #calingaSocialFloat .calinga-social-link:hover {
    transform: translateY(-1px);
    border-color: rgba(211, 165, 67, .5);
    background: rgba(255, 255, 255, .96);
  }
  /* Authentic platform identity colors, independent of surrounding site styles. */
  #calingaSocialFloat .calinga-social-facebook  { color: #1877F2; }
  #calingaSocialFloat .calinga-social-linkedin  { color: #0A66C2; }
  #calingaSocialFloat .calinga-social-youtube   { color: #FF0000; }
  #calingaSocialFloat .calinga-social-instagram { color: #C13584; }
  #calingaSocialFloat .calinga-social-x         { color: #000000; }
  #calingaSocialFloat .calinga-social-tiktok    { color: #000000; }
  #calingaSocialFloat a:focus-visible,
  #calingaSocialFloat button:focus-visible {
    outline: 3px solid var(--gold, #D3A543);
    outline-offset: 3px;
  }
  #calingaSocialNotice {
    position: absolute;
    top: 2px;
    right: calc(100% + 13px);
    width: max-content;
    max-width: min(210px, calc(100vw - 90px));
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 10px;
    background: rgba(0, 48, 116, .94);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 30, 73, .16);
    font-size: 12px;
    line-height: 1.4;
  }
  @media (max-height: 450px) {
    #calingaSocialMenu { max-height: max(72px, calc(60dvh - 120px)); }
  }
  @media (max-width: 640px) {
    #calingaSocialFloat { right: calc(12px + env(safe-area-inset-right, 0px)); }
  }
  @media (prefers-reduced-motion: reduce) {
    #calingaSocialFloat button,
    #calingaSocialFloat .calinga-social-link { transition: none; }
  }
  /* === END CALiNGA FLOATING SOCIAL === */
/* CALiNGA safe mobile navigation and social repair. */
@media(max-width:999px){
.site-head {position:sticky!important;top:0!important;z-index:1000!important;isolation:isolate;}
.site-head .head-in {position:relative!important;}
.site-head #nav {position:absolute!important;top:calc(100% + 3px)!important;left:12px!important;right:12px!important;z-index:1001!important;max-height:calc(100dvh - 100px);overflow-y:auto;background:rgba(250,253,255,.97)!important;-webkit-backdrop-filter:blur(24px) saturate(135%)!important;backdrop-filter:blur(24px) saturate(135%)!important;border:1px solid rgba(185,205,227,.88)!important;box-shadow:0 18px 40px rgba(18,37,72,.24)!important;border-radius:20px!important;padding:12px 22px!important;}
.site-head #nav:not(.open){display:none!important;}
.site-head #nav.open{display:flex!important;flex-direction:column!important;align-items:stretch!important;}
.site-head #nav a{color:#12243b!important;text-shadow:none!important;font-weight:650!important;opacity:1!important;}
#calingaSocialFloat{position:fixed!important;top:auto!important;bottom:90px!important;right:14px!important;z-index:700!important;width:52px!important;}
#calingaSocialToggle{width:52px!important;height:52px!important;}
#calingaSocialMenu{max-height:min(60dvh,360px)!important;}
}
#calingaSocialMenu[hidden],#calingaSocialNotice[hidden]{display:none!important;}
