.site-footer {
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
  color: #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: #4f46e5;
  font-weight: 700;
  text-decoration: none;
  font-size: 11px;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

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

.site-footer--page {
  padding: 12px 16px 20px;
  border-top: 1px solid #e8eaed;
  background: #f5f5f5;
}

body.app-layout-bottom-4 .site-footer--page {
  padding-bottom: calc(12px + var(--safe-bottom, 0px));
  background: linear-gradient(90deg, #e2e2e2, #c9d6ff);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* 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: linear-gradient(90deg, #e2e2e2, #c9d6ff);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.site-footer--sidebar {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.site-footer--sidebar .site-footer__links a {
  color: #4285f4;
  font-size: 10px;
}

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