:root {
  --midas-navy: #0D0D0D;
  --midas-canvas: #FEFEFE;
  --midas-sapphire: #F2F2F2;
  --midas-sapphire-hover: #E0E0E0;
  --midas-table-row-hover: #D2D2D2;
  --midas-chrome: #101C34;
  --midas-chrome-hover: #1B2C4F;
  --midas-amber: #C9A648;
  --midas-amber-light: #D5BA71;
  --midas-amber-deep: #866C28;
  --midas-khaki: #DACE84;
  --midas-ice: #0D0D0D;
  --midas-muted: #6D6D6D;
  --midas-on-chrome: #FEFEFE;
  --midas-on-chrome-muted: rgba(254, 254, 254, 0.62);
  --midas-on-gold-muted: rgba(13, 13, 13, 0.75);
  --midas-success: #5C7A5A;
  --midas-danger: #7A3B32;
  --midas-success-on-dark: #8FAF8A;
  --midas-danger-on-dark: #C97B68;
  --midas-success-on-gold: #0A1F08;
  --midas-danger-on-gold: #4A1810;

  --midas-radius-lg: 1rem;
  --midas-radius-md: 0.75rem;
  --midas-radius-sm: 0.5rem;

  /* Flat elevation: a thin 1px edge (drawn as a box-shadow so it
     survives Bootstrap's border-0 utility, which most cards use)
     stands in for the old floating drop-shadows -- definition comes
     from the edge, not from depth. */
  --midas-shadow-card: 0 0 0 1px rgba(13, 13, 13, 0.08), 0 1px 2px rgba(13, 13, 13, 0.04);
  --midas-shadow-card-hover: 0 0 0 1px rgba(13, 13, 13, 0.14), 0 2px 6px rgba(13, 13, 13, 0.06);
  --midas-shadow-1: var(--midas-shadow-card);
  --midas-shadow-2: var(--midas-shadow-card);
  --midas-shadow-3: var(--midas-shadow-card-hover);
  --midas-shadow-4: 0 0 0 1px rgba(13, 13, 13, 0.12), 0 2px 8px rgba(13, 13, 13, 0.08);

  /* A crisp 1px ring instead of a soft blurred halo for interactive/
     active amber accents, matching the flat edge treatment above. */
  --midas-glow-amber: 0 0 0 1px rgba(201, 166, 72, 0.55);
  --midas-glow-amber-strong: 0 0 0 1px rgba(201, 166, 72, 0.75);

  /* Tonal restraint: a muted tint of the accent color for frequent,
     low-stakes "this is active/selected" states, so a full-saturation
     amber fill stays reserved for the few moments per screen that
     should actually pull the eye (primary buttons, the hero stat card). */
  --midas-tint-amber: rgba(201, 166, 72, 0.14);
  --midas-tint-amber-strong: rgba(201, 166, 72, 0.24);
}

/* Bootstrap's rem-based spacing/type scale is built off the browser
   default of 16px -- dropping the root size here scales every rem-based
   padding, margin, and heading down proportionally in one place, rather
   than overriding font-size on each element individually. */
html {
  font-size: 15px;
}

body {
  background-color: var(--midas-canvas);
  color: var(--midas-ice);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links stay ink-colored (never gold) since they sit inline in body
   paragraphs and small text -- an underline carries the "this is a
   link" affordance instead of color. */
a {
  color: var(--midas-ice);
  text-decoration: underline;
  text-decoration-color: var(--midas-muted);
}
a:hover {
  color: var(--midas-ice);
  text-decoration-color: var(--midas-ice);
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.01em;
}
h2, h5, h6, .card-title {
  color: var(--midas-ice);
}
h2 {
  font-weight: 800;
}

.text-muted,
.form-text {
  color: var(--midas-muted) !important;
}

.hero {
  padding: 4rem 0;
}

.disclaimer-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background-color: var(--midas-sapphire);
  border-left: 3px solid var(--midas-amber);
  border-radius: var(--midas-radius-sm);
  color: var(--midas-ice);
  font-size: 0.95rem;
}

/* Flash/status alerts: a warm ivory surface instead of Bootstrap's stock
   light backgrounds, so they match the rest of the page. */
.alert {
  border-radius: var(--midas-radius-sm);
  border-width: 1px;
}
.alert-info {
  --bs-alert-color: var(--midas-ice);
  --bs-alert-bg: var(--midas-sapphire);
  --bs-alert-border-color: var(--midas-sapphire-hover);
}
.alert-warning {
  --bs-alert-color: var(--midas-ice);
  --bs-alert-bg: var(--midas-sapphire);
  --bs-alert-border-color: var(--midas-amber);
}
.alert-success {
  --bs-alert-color: var(--midas-ice);
  --bs-alert-bg: var(--midas-sapphire);
  --bs-alert-border-color: var(--midas-success);
}
.alert-danger {
  --bs-alert-color: var(--midas-ice);
  --bs-alert-bg: var(--midas-sapphire);
  --bs-alert-border-color: var(--midas-danger);
}

/* Cards sit a few shades darker than the page canvas so the box itself
   reads as a distinct surface at a glance, not just a border away from
   the page. */
.card {
  background-color: var(--midas-sapphire);
  color: var(--midas-ice);
  border-radius: var(--midas-radius-lg);
  border: 1px solid var(--midas-sapphire-hover);
  box-shadow: var(--midas-shadow-2);
}

.shadow-sm {
  box-shadow: var(--midas-shadow-card) !important;
}

.card.tile-card {
  background-color: var(--midas-chrome-hover);
  border: 1px solid rgba(254, 254, 254, 0.12) !important;
  box-shadow: var(--midas-shadow-2) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card.tile-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 166, 72, 0.5) !important;
  box-shadow: var(--midas-shadow-3), var(--midas-glow-amber) !important;
}
.tile-card .card-title {
  color: var(--midas-amber);
  font-weight: 700;
  margin-bottom: 0;
}
.tile-card .card-text {
  color: var(--midas-on-chrome-muted);
}
.tile-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.tile-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* Stat cards carry the numbers a page most wants noticed (the hero KPI
   row, a standalone "here's your answer" pool total) -- flat like
   every other card, with the gold reserved for the number itself
   rather than a filled tile, so it reads as "look here first" without
   adding visual weight. */
.stat-card {
  background-color: var(--midas-canvas);
  color: var(--midas-navy);
  border-radius: var(--midas-radius-md);
  box-shadow: var(--midas-shadow-4) !important;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--midas-amber-deep);
}

.stat-card h1, .stat-card h2, .stat-card h3, .stat-card h4, .stat-card h5, .stat-card h6, .stat-card .card-title {
  color: var(--midas-navy);
}
.stat-card .text-muted,
.stat-card .form-text {
  color: var(--midas-on-gold-muted) !important;
}
.stat-card .stat-info {
  color: var(--midas-navy);
}
.stat-card .text-success {
  color: var(--midas-success-on-gold) !important;
}
.stat-card .text-danger {
  color: var(--midas-danger-on-gold) !important;
}
.stat-card a {
  color: var(--midas-navy);
  text-decoration-color: var(--midas-on-gold-muted);
}
.stat-card a:hover {
  color: var(--midas-navy);
  text-decoration-color: var(--midas-navy);
}
.stat-card .table thead th {
  color: var(--midas-on-gold-muted);
}
.stat-card .table > :not(caption) > * > * {
  background-color: transparent;
  color: var(--midas-navy);
  border-bottom-color: rgba(13, 13, 13, 0.15);
}
.stat-card .table > tbody > tr:hover > * {
  background-color: var(--midas-sapphire-hover);
}

.results-stat-row .stat-card {
  border-radius: var(--midas-radius-sm);
}

.results-stat-row .card-body {
  padding: 1rem 1.15rem;
}

.results-stat-row .stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}

.results-stat-row .text-uppercase {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.results-stat-row .text-muted:not(.text-uppercase) {
  font-size: 0.8rem;
  line-height: 1.35;
}

.stat-info {
  cursor: help;
  opacity: 0.6;
}
.stat-info:hover {
  opacity: 1;
}

.roadmap-box {
  border: 1px solid var(--midas-khaki);
  border-radius: var(--midas-radius-sm);
  padding: 0.6rem 0.9rem;
  background-color: var(--midas-khaki);
  color: var(--midas-ice);
}
.roadmap-box .text-muted {
  color: rgba(13, 13, 13, 0.65) !important;
}

.roadmap-box-retired {
  border-color: rgba(201, 166, 72, 0.5);
}

.roadmap-arrow {
  color: var(--midas-amber-deep);
  font-size: 1.25rem;
  font-weight: 700;
}

.bg-white {
  background-color: var(--midas-sapphire) !important;
}

/* Financial Assets Summary tab: each category card has its own
   independent table (Owner/Name/Type-or-Group always in the same first
   three slots, padded with an empty column on tables that don't have a
   third one) -- fix every column's width so they all line up vertically
   across every card instead of each table sizing to its own content. */
.summary-table th:nth-child(1),
.summary-table td:nth-child(1) {
  width: 14%;
}
.summary-table th:nth-child(2),
.summary-table td:nth-child(2) {
  width: 26%;
}
.summary-table th:nth-child(3),
.summary-table td:nth-child(3) {
  width: 14%;
}
.summary-table th:nth-child(4),
.summary-table td:nth-child(4) {
  width: 23%;
}
.summary-table th:nth-child(5),
.summary-table td:nth-child(5) {
  width: 23%;
}

/* Tables: minimal header (bottom rule instead of a solid fill) and a
   subtle row hover -- reads like a clean statement/positions table
   rather than a bordered spreadsheet grid. */
.table {
  color: var(--midas-ice);
  border-color: var(--midas-sapphire-hover);
}
.table thead th {
  background-color: transparent;
  color: var(--midas-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--midas-sapphire-hover);
}
.table > :not(caption) > * > * {
  background-color: var(--midas-sapphire-hover);
  color: var(--midas-ice);
  border-bottom-color: var(--midas-table-row-hover);
}
.table > tbody > tr:hover > * {
  background-color: var(--midas-table-row-hover);
}
/* Bootstrap's contextual row classes (e.g. table-warning, used to flag a
   year where something changes -- CPP starting, a bracket you're in) set
   background via CSS variables that the flat override above ignores
   outright, leaving "highlighted" rows visually identical to normal ones.
   Restore the highlight with a theme-appropriate gold tint. */
.table > :not(caption) > tr.table-warning > * {
  background-color: rgba(201, 166, 72, 0.22) !important;
  color: var(--midas-ice) !important;
}
.table > :not(caption) > tr.table-danger > * {
  background-color: rgba(122, 59, 50, 0.18) !important;
  color: var(--midas-ice) !important;
}

/* Status indicators: muted sage for positive/on-track, muted wine for
   shortfalls, read by Bootstrap's text-success/text-danger utilities at
   runtime -- so users instantly recognize good vs. bad news in the
   projections regardless of the app's gold accent color. */
:root {
  --bs-success: var(--midas-success);
  --bs-success-rgb: 92, 122, 90;
  --bs-danger: var(--midas-danger);
  --bs-danger-rgb: 122, 59, 50;
}

.form-control,
.form-select {
  background-color: var(--midas-sapphire);
  color: var(--midas-ice);
  border-color: var(--midas-sapphire-hover);
  border-radius: var(--midas-radius-sm);
}
.form-control:focus,
.form-select:focus {
  background-color: var(--midas-sapphire);
  color: var(--midas-ice);
  border-color: var(--midas-amber);
  box-shadow: 0 0 0 0.25rem rgba(201, 166, 72, 0.25);
}

/* Bootstrap's default input-group-text ($ prefixes) is a bright white/gray
   box that clashes with the theme -- blend it into the field instead
   so the $ reads as part of the input, not a separate accent. */
.input-group-text {
  background-color: var(--midas-sapphire-hover);
  color: var(--midas-muted);
  border-color: var(--midas-sapphire-hover);
}
.input-group:focus-within .input-group-text {
  border-color: var(--midas-amber);
}

/* The browser's native number-input spin buttons render in the OS's own
   light theme, showing up as a stark white control glued to the field --
   drop them entirely for a cleaner, more minimalist look. */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/* A chart legend that reports live values (e.g. balance-at-retirement per
   account) reads better as its own floating panel over the plot's empty
   corner than as a caption underneath -- makes it the first thing the eye
   catches rather than something to scroll past. */
.chart-legend-overlay {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  z-index: 2;
  background: rgba(254, 254, 254, 0.94);
  border: 1px solid var(--midas-sapphire-hover);
  border-radius: var(--midas-radius-sm);
  padding: 0.65rem 0.9rem;
  box-shadow: var(--midas-shadow-4);
  pointer-events: none;
  min-width: 12rem;
}

.form-check-input {
  background-color: var(--midas-sapphire);
  border-color: var(--midas-sapphire-hover);
}
.form-check-input:checked {
  background-color: var(--midas-amber);
  border-color: var(--midas-amber);
}
.form-check-input:focus {
  border-color: var(--midas-amber);
  box-shadow: 0 0 0 0.25rem rgba(201, 166, 72, 0.25);
}

/* Tabs: clean underline style (active tab = bold text + gold rule)
   instead of a filled block -- reads like a segmented dashboard header
   (Overview / Positions / Activity) rather than a button group. */
.nav-tabs {
  border-bottom: 1px solid var(--midas-sapphire-hover);
  gap: 0.25rem;
}
.nav-tabs .nav-link,
.nav-pills .nav-link {
  color: var(--midas-muted);
  font-weight: 600;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.6rem 0.9rem;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus,
.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus {
  color: var(--midas-ice);
  background-color: transparent;
  border-color: transparent transparent var(--midas-sapphire-hover);
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: var(--midas-ice);
  background-color: transparent;
  border-color: transparent transparent var(--midas-amber);
  font-weight: 700;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: var(--midas-amber-deep);
  background-color: var(--midas-tint-amber-strong);
  border-radius: 999px;
  font-weight: 700;
}

/* Drawdown modeler's "Choose what to adjust" bar: five labels (some
   multi-word, e.g. "Government Benefits") need to fit across one row
   rather than spilling onto a second row of buttons -- shrink the type,
   let each button share the row equally, and wrap a long label onto a
   second line inside its own button instead. */
.drawdown-subnav {
  flex-wrap: nowrap;
}
.drawdown-subnav .nav-link {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.15;
  padding: 0.5rem 0.3rem;
  white-space: normal;
}

/* Navbar: minimal top bar -- a hairline border reads cleaner than a bold
   accent stripe across the very top of every page. Stays a rich navy
   rail (like the sidebar) framing the light content area beneath it. */
.navbar-dark {
  --bs-navbar-color: var(--midas-amber);
  --bs-navbar-hover-color: var(--midas-amber-light);
  --bs-navbar-active-color: var(--midas-amber-light);
  --bs-navbar-brand-color: var(--midas-amber);
  --bs-navbar-brand-hover-color: var(--midas-amber-light);
  background-color: var(--midas-chrome) !important;
  border-bottom: 1px solid var(--midas-chrome-hover);
  position: relative;
  z-index: 3;
}

.navbar-brand-midas {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.navbar-brand-midas img {
  height: 34px;
  width: 34px;
}

.sidebar-midas {
  background-color: var(--midas-chrome);
  border-right: 1px solid var(--midas-chrome-hover);
  min-height: calc(100vh - 56px);
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}
/* Below md, the sidebar is a Bootstrap offcanvas (position: fixed,
   z-index: 1045, toggled by the navbar hamburger) -- its own
   positioning must stay in control there. At md and up, Bootstrap's
   own responsive-offcanvas reset forces position/background back to
   normal flow with `!important`, including clearing the background to
   transparent -- so both need restating here with matching !important
   for the always-visible desktop/tablet layout, or the sidebar reads
   as invisible light-on-white text on a see-through rail. */
@media (min-width: 768px) {
  .sidebar-midas {
    position: relative !important;
    z-index: 1;
    background-color: var(--midas-chrome) !important;
  }
}

.sidebar-section {
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--midas-on-chrome-muted);
  padding: 0.5rem 0.75rem;
}

/* Sidebar nav items read as floating rounded pills with breathing room
   on either side, rather than edge-to-edge highlighted bars. */
.sidebar-link {
  display: block;
  padding: 0.55rem 0.9rem;
  margin-bottom: 0.15rem;
  border-radius: var(--midas-radius-sm);
  color: var(--midas-on-chrome);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.sidebar-link:hover {
  background-color: var(--midas-chrome-hover);
  color: var(--midas-on-chrome);
}
/* Tonal restraint: "you are here" is a frequent, ambient state (one
   link, on every single page) rather than a rare call-to-action, so it
   gets a muted amber tint + a left accent bar instead of the same
   full-saturation fill a button gets -- amber-on-navy stays reserved for
   things the page actually wants you to click. */
.sidebar-link.active {
  background-color: var(--midas-tint-amber-strong);
  color: var(--midas-amber-light);
  font-weight: 700;
  border-left: 3px solid var(--midas-amber);
  padding-left: calc(0.9rem - 3px);
}

.sidebar-link-top {
  font-weight: 700;
  padding-bottom: 0.55rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--midas-chrome-hover);
  border-radius: 0;
}

/* Buttons: rounded, semi-bold, gold fill with charcoal text for strong
   contrast -- gold is the call-to-action color across the app. */
.btn {
  border-radius: var(--midas-radius-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.btn-lg {
  border-radius: var(--midas-radius-md);
}

.btn-primary {
  --bs-btn-bg: var(--midas-amber);
  --bs-btn-border-color: var(--midas-amber);
  --bs-btn-color: var(--midas-navy);
  --bs-btn-hover-bg: var(--midas-amber-light);
  --bs-btn-hover-border-color: var(--midas-amber-light);
  --bs-btn-hover-color: var(--midas-navy);
  --bs-btn-active-bg: var(--midas-amber-light);
  --bs-btn-active-border-color: var(--midas-amber-light);
  --bs-btn-active-color: var(--midas-navy);
  --bs-btn-disabled-bg: var(--midas-sapphire-hover);
  --bs-btn-disabled-border-color: var(--midas-sapphire-hover);
}
.btn-primary:active {
  transform: translateY(1px);
}

/* Range slider thumb: satin gold instead of Bootstrap's default blue --
   every age/CPP-timing slider in the app should read as a Midas control,
   not a stock Bootstrap one. */
.form-range::-webkit-slider-thumb {
  background-color: var(--midas-amber);
}
.form-range::-webkit-slider-thumb:active {
  background-color: var(--midas-amber-deep);
}
.form-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 1px var(--midas-canvas), var(--midas-glow-amber-strong);
}
.form-range::-moz-range-thumb {
  background-color: var(--midas-amber);
}
.form-range::-moz-range-thumb:active {
  background-color: var(--midas-amber-deep);
}
.form-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 1px var(--midas-canvas), var(--midas-glow-amber-strong);
}
/* A filled portion up to the thumb reads as a progress bar, not just a
   loose dot on a bare line -- Firefox has a native pseudo-element for
   this (-moz-range-progress); WebKit/Blink don't, so there the fill is
   faked with a gradient that switches color at --range-progress, a
   percentage kept in sync with the thumb's position via JS on input. */
.form-range::-webkit-slider-runnable-track {
  height: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--midas-amber) var(--range-progress, 0%),
    var(--midas-sapphire-hover) var(--range-progress, 0%)
  );
}
.form-range::-moz-range-track {
  height: 0.4rem;
  border-radius: 999px;
  background-color: var(--midas-sapphire-hover);
}
.form-range::-moz-range-progress {
  height: 0.4rem;
  border-radius: 999px;
  background-color: var(--midas-amber);
}

/* The Drawdown Modeler's "Viewing taxable income at" control: a
   slightly raised well sets the slider apart as its own control
   rather than floating loose at the top of the card. */
.age-slider-well {
  background-color: var(--midas-sapphire);
  border: 1px solid var(--midas-sapphire-hover);
  border-radius: var(--midas-radius-md);
  padding: 0.9rem 1.1rem;
}
.age-slider-value {
  font-weight: 700;
  color: var(--midas-amber-deep);
  font-size: 0.95rem;
}
.age-slider-step {
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.age-slider-ticks {
  font-size: 0.7rem;
  margin-top: -2px;
}

.btn-success {
  --bs-btn-bg: var(--midas-amber);
  --bs-btn-border-color: var(--midas-amber);
  --bs-btn-color: var(--midas-navy);
  --bs-btn-hover-bg: var(--midas-amber-light);
  --bs-btn-hover-border-color: var(--midas-amber-light);
  --bs-btn-hover-color: var(--midas-navy);
  --bs-btn-active-bg: var(--midas-amber-light);
  --bs-btn-active-border-color: var(--midas-amber-light);
  --bs-btn-active-color: var(--midas-navy);
}
.btn-success:active {
  transform: translateY(1px);
}

.btn-outline-secondary {
  --bs-btn-color: var(--midas-amber-deep);
  --bs-btn-border-color: var(--midas-amber);
  --bs-btn-hover-bg: var(--midas-amber);
  --bs-btn-hover-border-color: var(--midas-amber);
  --bs-btn-hover-color: var(--midas-navy);
  --bs-btn-active-bg: var(--midas-amber-light);
  --bs-btn-active-border-color: var(--midas-amber-light);
  --bs-btn-active-color: var(--midas-navy);
}

.btn-outline-light {
  --bs-btn-color: var(--midas-on-chrome);
  --bs-btn-border-color: var(--midas-amber);
  --bs-btn-hover-bg: var(--midas-amber);
  --bs-btn-hover-border-color: var(--midas-amber);
  --bs-btn-hover-color: var(--midas-navy);
  --bs-btn-active-bg: var(--midas-amber-light);
  --bs-btn-active-border-color: var(--midas-amber-light);
  --bs-btn-active-color: var(--midas-navy);
}

.btn-light {
  --bs-btn-bg: var(--midas-amber);
  --bs-btn-border-color: var(--midas-amber);
  --bs-btn-color: var(--midas-navy);
  --bs-btn-hover-bg: var(--midas-amber-light);
  --bs-btn-hover-border-color: var(--midas-amber-light);
  --bs-btn-hover-color: var(--midas-navy);
  --bs-btn-active-bg: var(--midas-amber-light);
  --bs-btn-active-border-color: var(--midas-amber-light);
  --bs-btn-active-color: var(--midas-navy);
}
.btn-light:active {
  transform: translateY(1px);
}

/* An inline glossary term: looks like plain text with a hint that hovering
   (or tapping, on touch) explains it, rather than a normal link -- the
   underlying color is inherited so it reads naturally inside muted body
   copy, a table cell, or a stat-card alike. */
.glossary-term {
  color: inherit;
  text-decoration: underline dotted;
  text-decoration-color: currentColor;
  text-underline-offset: 2px;
  cursor: help;
}
.glossary-term:hover,
.glossary-term:focus {
  color: inherit;
  text-decoration-style: solid;
}
