.site-footer {
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
  color: var(--mc-muted, #6b7280);
}

.site-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  color: var(--mc-navy, #4A1E3D);
  font-weight: 700;
  text-decoration: none;
  font-size: 11px;
}

.site-footer__links a:hover {
  text-decoration: underline;
  color: var(--mc-blue-hover, #541F47);
}

.site-footer__copy {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  color: #9ca3af;
}

.site-footer__version {
  font-weight: 600;
  white-space: nowrap;
}

.site-footer__version::before {
  content: "·";
  margin: 0 0.4em;
}

.site-footer--page {
  padding: 12px 16px 20px;
  border-top: 1px solid var(--mc-line, #e7e9f2);
  background: var(--mc-page, #f5f5f5);
}

body.app-layout-bottom-4 .site-footer--page {
  padding-bottom: calc(12px + var(--safe-bottom, 0px));
  background: var(--mc-page, #f5f5f5);
  border-top: 1px solid var(--mc-line, #e7e9f2);
}

/* Native in-flow footer clearance lives in safe-area.css (margin-bottom + body pad). */

.site-footer--pinned {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10500;
  padding: 6px 12px calc(6px + var(--safe-bottom, 0px));
  background: var(--mc-card, #fff);
  border-top: 1px solid var(--mc-line, #e7e9f2);
}

.site-footer--sidebar {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--mc-line, #e7e9f2);
}

.site-footer--sidebar .site-footer__links a {
  color: var(--mc-navy, #4A1E3D);
  font-size: 10px;
}

.site-footer--sidebar .site-footer__copy {
  font-size: 9px;
}
