/* SourceA cookie consent + 2026 site UX chrome */
.sa-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  pointer-events: none;
}
.sa-cookie-banner-inner {
  pointer-events: auto;
  margin: 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(4, 68, 65, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(4, 68, 65, 0.14);
  backdrop-filter: blur(12px);
  max-width: 52rem;
}
@media (min-width: 720px) {
  .sa-cookie-banner-inner {
    margin: 1rem auto 1rem;
  }
}
.sa-cookie-banner h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-family: var(--ar-display, "Plus Jakarta Sans", sans-serif);
}
.sa-cookie-banner p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ar-text-muted, #4b635f);
}
.sa-cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.sa-cookie-banner-links {
  margin-top: 0.65rem;
  font-size: 0.8rem;
}
.sa-cookie-banner-links a {
  color: var(--ar-brand, #044441);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sa-cookie-prefs-panel {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.sa-cookie-prefs-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 68, 65, 0.4);
}
.sa-cookie-prefs-card {
  position: relative;
  width: min(28rem, 100%);
  max-height: min(85vh, 640px);
  overflow: auto;
  padding: 1.15rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(4, 68, 65, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
.sa-cookie-prefs-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.sa-cookie-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(4, 68, 65, 0.08);
}
.sa-cookie-category strong { font-size: 0.92rem; }
.sa-cookie-category p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.82rem;
  color: var(--ar-text-muted);
  line-height: 1.45;
}
.sa-cookie-toggle {
  appearance: none;
  width: 2.5rem;
  height: 1.4rem;
  border-radius: 999px;
  background: #cbd5d3;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.sa-cookie-toggle::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.sa-cookie-toggle:checked {
  background: #69d419;
}
.sa-cookie-toggle:checked::after {
  transform: translateX(1.1rem);
}
.sa-cookie-toggle:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.sa-cookie-prefs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.sa-cookie-manage-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  z-index: 9995;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(4, 68, 65, 0.2);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.78rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(4, 68, 65, 0.12);
}
.sa-has-chatbot .sa-cookie-manage-fab { bottom: calc(5.25rem + env(safe-area-inset-bottom, 0)); }
.sa-cookie-banner-open .sa-cookie-manage-fab { display: none; }
body.sa-cookie-banner-open { padding-bottom: 0; }
body.sa-reduced-motion .sa-cookie-banner-inner,
body.sa-reduced-motion .sa-cookie-toggle::after {
  transition: none !important;
}

/* Site UX — back to top */
.sa-back-to-top {
  position: fixed;
  right: 1rem;
  bottom: calc(3.5rem + env(safe-area-inset-bottom, 0));
  z-index: 9994;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(4, 68, 65, 0.2);
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.sa-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sa-has-chatbot .sa-back-to-top { bottom: calc(7.5rem + env(safe-area-inset-bottom, 0)); }
body.sa-reduced-motion .sa-back-to-top { transition: none; }

.sa-legal-prose h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
  font-family: var(--ar-display, "Plus Jakarta Sans", sans-serif);
}
.sa-legal-prose p,
.sa-legal-prose li {
  line-height: 1.6;
  color: var(--ar-text-muted, #4b635f);
}
.sa-legal-prose ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}
