.skip-to-content {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 10000;
  padding: .75rem 1rem;
  background: #fff;
  color: #142d4e;
  border: 2px solid #142d4e;
  transform: translateY(-200%);
}
.skip-to-content:focus { transform: none; }
:is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #1768b1 !important;
  outline-offset: 3px;
}
[data-bs-theme="dark"] :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline-color: #8dccff !important;
}
.theme-switch:focus-within { outline: 3px solid #1768b1; outline-offset: 4px; }
.theme-switch input[type="checkbox"] {
  display: block !important;
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
[data-bs-theme="dark"] .theme-switch:focus-within { outline-color: #8dccff; }
#main-content { scroll-margin-top: 5rem; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Text and action colors also need contrast on the tinted form panels. */
html[data-bs-theme="light"] {
  --bs-secondary: #526477;
  --bs-secondary-rgb: 82, 100, 119;
  --bs-link-color: #175b96;
  --bs-link-color-rgb: 23, 91, 150;
}
html[data-bs-theme="light"] .btn-primary,
html[data-bs-theme="light"] .btn-primary:hover {
  background-color: #175b96; border-color: #175b96; color: #fff;
}
html[data-bs-theme="light"] .btn-secondary {
  background-color: #526477; border-color: #526477; color: #fff;
}
html[data-bs-theme="light"] .btn-outline-primary { color: #175b96; border-color: #175b96; }
html[data-bs-theme="light"] .btn-outline-secondary { color: #526477; border-color: #526477; }
html[data-bs-theme="light"] .btn-outline-success { color: #11683e; border-color: #11683e; }
html[data-bs-theme="light"] .btn-outline-danger { color: #b42332; border-color: #b42332; }
html[data-bs-theme="light"] .btn-outline-primary:hover { background-color: #175b96; color: #fff; }
html[data-bs-theme="light"] .btn-outline-secondary:hover { background-color: #526477; color: #fff; }
html[data-bs-theme="light"] .btn-outline-success:hover { background-color: #11683e; color: #fff; }
html[data-bs-theme="light"] .btn-outline-danger:hover { background-color: #b42332; color: #fff; }
html[data-bs-theme="light"] .admin-btn--primary { background: #a9391c; border-color: #a9391c; color: #fff; }
html[data-bs-theme="dark"] .btn-primary,
html[data-bs-theme="dark"] .btn-primary:hover { background-color: #175b96; border-color: #75b8ed; color: #fff; }
html[data-bs-theme="dark"] .btn-secondary { background-color: #526477; border-color: #b1bfce; color: #fff; }
html[data-bs-theme="dark"] .btn-outline-success { color: #68d9a2; border-color: #68d9a2; }
html[data-bs-theme="dark"] .btn-outline-danger { color: #ff99a4; border-color: #ff99a4; }
html[data-bs-theme="dark"] .btn-outline-success:hover { background-color: #11683e; color: #fff; }
html[data-bs-theme="dark"] .btn-outline-danger:hover { background-color: #b42332; color: #fff; }
html[data-bs-theme="dark"] .admin-btn--primary { background: #a9391c; border-color: #ffac94; color: #fff; }
.admin-ui .admin-hero > div { min-width: 0; max-width: 100%; }
.admin-ui .admin-hero h2 { overflow-wrap: anywhere; }
