/* Shared UI only; consent, cookies and analytics remain owned by consent.v1. */
.aim-footer-controls { align-items: center !important; flex-wrap: wrap; row-gap: 8px; }
.aim-footer-controls > a { display: inline-flex; align-items: center; min-height: 44px; }
.aim-footer-consent { display: inline-block; font-size: inherit; line-height: inherit; color: inherit; }
.aim-footer-controls .aim-footer-consent .aim-consent-settings {
  position: static; inset: auto; min-height: 44px; padding: 0; border: 0;
  border-radius: 0; background: transparent; box-shadow: none;
  color: inherit; font: inherit; text-transform: none;
}
.aim-footer-controls .aim-consent-settings:hover, .aim-footer-cookie-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.aim-footer-controls .aim-consent-settings:focus-visible, .aim-footer-cookie-link:focus-visible { outline: 2px solid #b5c6ff; outline-offset: 4px; }
.aim-back-to-top {
  position: fixed; z-index: 900;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  padding: 0; border: 1px solid #788bc4; border-radius: 50%;
  background: #121827; color: #e1e8ff; box-shadow: 0 6px 24px #0005;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.aim-back-to-top[hidden] { display: none !important; }
.aim-back-to-top:hover { background: #233052; border-color: #b5c6ff; }
.aim-back-to-top:focus-visible { outline: 2px solid #d9e0ff; outline-offset: 4px; }
.aim-back-to-top svg { flex-shrink: 0; pointer-events: none; }
.aim-site-tools-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .aim-back-to-top { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .aim-footer-controls { padding-inline-end: 64px; }
}
@media (prefers-reduced-motion: reduce) { .aim-back-to-top { transition: none; } }
