/* Shared legal footer: normal document flow, never covers page actions. */
.site-compliance.site-compliance {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  flex: 0 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 16px;
  width: 100%;
  margin: 24px 0 0;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  border: 0;
  color: var(--editorial-muted, #6f6a63);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}
.site-compliance a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}
.site-compliance a:hover { color: var(--red, #ba2028); text-decoration: underline; }
.site-compliance a:focus-visible {
  outline: 2px solid var(--red, #ba2028);
  outline-offset: 3px;
}
.login-screen > .site-compliance { grid-column: 1 / -1; }
/* Footer ownership is synchronized by site-compliance.js, including route
   changes, login/logout and embedded workspaces. Never use a fixed footer. */
.platform-page #learningView { margin-bottom: 0; }
