/* Two clear paths in the desktop navigation: calculator first, statement review second. */
.cr-nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}
.cr-nav-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}
.cr-nav-choice--primary { background: var(--ink); color: var(--parch); }
.cr-nav-choice--secondary { border-color: var(--line-2); background: transparent; color: var(--ink); }
.cr-nav-choice--primary:hover { background: #000; }
.cr-nav-choice--secondary:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.08); }
.cr-nav-choice:active { transform: scale(0.97); }
.cr-nav-choice:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.cr-nav.nav-on-dark .cr-nav-choice--primary { background: var(--parch); color: var(--ink); }
.cr-nav.nav-on-dark .cr-nav-choice--primary:hover { background: #fff; }
.cr-nav.nav-on-dark .cr-nav-choice--secondary { border-color: rgba(246, 239, 226, 0.34); color: var(--on-ink); }
.cr-nav.nav-on-dark .cr-nav-choice--secondary:hover { border-color: var(--gold-brt); background: rgba(246, 239, 226, 0.09); }

@media (max-width: 1120px) {
  .cr-nav-actions { display: none; }
}

/* The mobile drawer carries the same two paths as the desktop navigation. */
.cr-drawer-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.cr-drawer-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}
.cr-drawer-choice--primary { background: var(--ink); color: var(--parch); }
.cr-drawer-choice--secondary { background: transparent; color: var(--ink); }
.cr-drawer-choice:hover { transform: translateY(-1px); }
.cr-drawer-choice--primary:hover { background: #000; }
.cr-drawer-choice--secondary:hover { border-color: var(--gold); background: var(--paper); }
.cr-drawer-choice:active { transform: scale(0.98); }
.cr-drawer-choice:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Closed drawer: hidden from keyboard and screen readers once it has slid out. */
#navDrawer { visibility: hidden; transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.28s; }
#navDrawer.open { visibility: visible; transition-delay: 0s; }
