/* Project tweaks on top of the vendored Bootstrap. No inline styles are used anywhere (CSP: style-src 'self'). */
body {
  min-height: 100vh;
}

.app-container {
  max-width: 64rem;
}

.app-narrow {
  max-width: 26rem;
}

.app-table-fixed {
  table-layout: fixed;
}

.app-break {
  overflow-wrap: anywhere;
}

.app-nowrap {
  white-space: nowrap;
}

/*
 * Contrast (WCAG 2.2 AA, 4.5:1 for text). The page background is Bootstrap's light grey (#f8f9fa), on which the stock
 * link blue (#0d6efd) measured 4.27:1 and the stock outline-danger red 4.30:1. These are Bootstrap's own darker
 * shades of the same hues, set through its CSS variables so hover and active states keep working.
 */
:root {
  --bs-link-color-rgb: 10, 88, 202;
  --bs-link-hover-color-rgb: 8, 66, 152;
}

.nav-link {
  --bs-nav-link-color: #0a58ca;
  --bs-nav-link-hover-color: #084298;
}

.btn-outline-primary {
  --bs-btn-color: #0a58ca;
  --bs-btn-border-color: #0a58ca;
  --bs-btn-bg: transparent;
}

.btn-outline-danger {
  --bs-btn-color: #b02a37;
  --bs-btn-border-color: #b02a37;
}

.btn-outline-secondary {
  --bs-btn-color: #565e64;
  --bs-btn-border-color: #565e64;
}

.btn-outline-success {
  --bs-btn-color: #146c43;
  --bs-btn-border-color: #146c43;
}
