/* Staff theme: tokens from BOM 421's "old420" theme (/421/themes/old420/theme.css), over Bootstrap 5.3.3 */
:root {
  --alh-navy: #000080; --alh-navy-dark: #00005a; --alh-navy-rgb: 0, 0, 128;
  --alh-gold: #3e83c9; --alh-gold-dark: #2e6e9e; --alh-gold-light: #dfeffc; --alh-gold-rgb: 62, 131, 201;
  --alh-teal: #c0c0c0; --alh-teal-bg: #ecf6fc; --alh-white: #ffffff; --alh-dark: #000000; --alh-mid: #555555;
  --alh-border: #c0c0c0; --alh-page: #f0f0f0; --alh-secondary-bg: #ecf6fc; --alh-disabled: #cccccc;
  --alh-error: #cc0000; --alh-warn-bg: #fff992; --alh-font: Arial, Helvetica, sans-serif;
  --alh-on-navy: #ffffff; --alh-hover-bg: #bcd4ec; --alh-tint-border: #95bce2; --alh-btn-hover: #1d5987;
  --alh-navy-hover: #0000a8;
  --bs-font-sans-serif: var(--alh-font); --bs-body-font-family: var(--alh-font); --bs-body-font-size: 0.875rem;
  --bs-body-color: #000000; --bs-body-bg: #f0f0f0; --bs-secondary-color: #555555; --bs-border-color: #c0c0c0;
  --bs-emphasis-color: #000080; --bs-primary: #000080; --bs-primary-rgb: 0, 0, 128;
  --bs-primary-text-emphasis: #000080; --bs-primary-bg-subtle: #ecf6fc; --bs-primary-border-subtle: #95bce2;
  --bs-warning-bg-subtle: #fff992; --bs-warning-border-subtle: #fad42e; --bs-danger: #cc0000; --bs-danger-rgb: 204, 0, 0;
  --bs-link-color: #000080; --bs-link-color-rgb: 0, 0, 128; --bs-link-hover-color: #2e6e9e; --bs-link-hover-color-rgb: 46, 110, 158;
  --bs-focus-ring-color: rgba(62, 131, 201, 0.35); --bs-heading-color: #000080;
}
[data-bs-theme="dark"] {
  --alh-navy: #a6c9e2; --alh-navy-dark: #c8dff0; --alh-gold: #5c9ccc; --alh-gold-dark: #79b7e7; --alh-gold-light: #1c2c40;
  --alh-teal-bg: #18243a; --alh-white: #1a1a28; --alh-dark: #e6e6ee; --alh-mid: #a8a8bc; --alh-border: #3a3a52;
  --bs-body-color: #e6e6ee; --bs-body-bg: #12121c; --bs-border-color: #3a3a52; --bs-heading-color: #a6c9e2;
  --bs-link-color: #a6c9e2; --bs-link-hover-color: #79b7e7; --bs-primary-bg-subtle: #18243a;
}
body { font-size: .875rem; }
.app-nav { background: #000080; }
[data-bs-theme="dark"] .app-nav { background: #0b0b3a; }
.app-nav .navbar-brand, .app-nav .nav-link { color: #fff; }
.app-nav .nav-link.active, .app-nav .nav-link:hover { color: #fff; background: rgba(255,255,255,.15); border-radius: 4px; }
.btn-primary { --bs-btn-bg: #3e83c9; --bs-btn-border-color: #2e6e9e; --bs-btn-hover-bg: #1d5987; --bs-btn-hover-border-color: #1d5987; --bs-btn-active-bg: #2e6e9e; }
.btn-navy { --bs-btn-color: #fff; --bs-btn-bg: #000080; --bs-btn-border-color: #00005a; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #0000a8; }
.card { border-color: var(--alh-border); }
.card-header { background: var(--alh-teal-bg); color: var(--alh-navy); font-weight: bold; }
.table thead th { background: #3e83c9; color: #fff; font-weight: bold; white-space: nowrap; }
[data-bs-theme="dark"] .table thead th { background: #2e6e9e; }
.table-hover tbody tr:hover > * { --bs-table-hover-bg: #bcd4ec; }
.status-pill { display:inline-block; padding: .1rem .5rem; border-radius: 1rem; font-size: .75rem; background: var(--alh-teal-bg); border: 1px solid var(--alh-tint-border); }
.status-ready { background: #fff992; border-color: #fad42e; }
.status-accepted { background: #d4f5d4; border-color: #6c6; }
.status-declined, .status-expired { background: #fbdcdc; border-color: #d99; }
.money { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-input { min-width: 0; }
.editor-table td { vertical-align: top; padding: .25rem; }
.editor-table input.form-control, .editor-table select.form-select { font-size: .8125rem; padding: .2rem .35rem; }
.totals-box { position: sticky; top: .75rem; }
.search-results { max-height: 320px; overflow-y: auto; }
