/* Shared navigation for the standalone and Android-bundled legal pages. */
.legal-navigation {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: calc(8px + env(safe-area-inset-top)) 20px 8px;
  background: #fff;
  border-bottom: 1px solid #c9d2cb;
}
.legal-navigation .wrap { padding: 0; }
.legal-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 16px;
  border: 2px solid #10233d;
  border-radius: 10px;
  background: #10233d;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.legal-return:hover { background: #234165; }
.legal-return:focus-visible { outline: 3px solid #005fcc; outline-offset: 3px; }
.legal-return svg { width: 22px; height: 22px; flex: none; }
.legal-navigation ~ header { padding-top: 22px; }
.legal-footer-return { margin-bottom: 16px; }
/* Keep keyboard skip navigation above the sticky bar. */
.skip { z-index: 20; }
html { scroll-padding-top: calc(90px + env(safe-area-inset-top)); }
@media print { .legal-navigation, .legal-footer-return { display: none; } }
