/*
 * NovaGold 2.1 contrast and navigation refinements.
 * Kept as a separate cache boundary so installed previews receive the approval-pass polish immediately.
 */

.nt-nav-link {
  grid-template-columns: 48px minmax(0, 1fr);
}

.nt-nav-link > em {
  display: none;
}

.nt-nav-copy {
  grid-template-columns: minmax(0, 1fr);
}

.nt-nav-copy b,
.nt-nav-copy i {
  display: block;
  width: 100%;
}

.nt-nav-copy i {
  grid-column: 1;
}

html[data-theme="light"] .nt-main strong {
  color: #07162a;
}

html[data-theme="light"] .nt-allocation-list span {
  color: #263f53;
}

html[data-theme="light"] .nt-metric-card > span {
  color: #536a7d;
}

html[data-theme="light"] .nt-metric-card > strong {
  color: #07162a;
  text-shadow: none;
}

html[data-theme="light"] .nt-metric-card.nt-metric-value > strong {
  color: #a86d10;
}

html[data-theme="light"] .nt-main :is(.nt-read-only-mark, .nt-agent-status, .nt-table-status.is-good, .nt-status-small, .nt-activity-status) {
  color: #087660 !important;
}

html[data-theme="light"] .nt-main :is(.nt-table-status.is-watch, .nt-status-review) {
  color: #8d5b08;
}

html[data-theme="light"] .nt-table-toolbar {
  color: #27475e;
}

html[data-theme="light"] .nt-filter {
  border-color: rgba(45, 94, 122, 0.25);
  background: rgba(232, 242, 246, 0.88);
  color: #34566d;
}

html[data-theme="light"] .nt-filter:hover,
html[data-theme="light"] .nt-filter.is-active {
  border-color: rgba(20, 123, 177, 0.45);
  background: rgba(188, 224, 238, 0.86);
  color: #0b334d;
}

html[data-theme="light"] .nta-topbar {
  border-bottom-color: rgba(71, 111, 136, 0.2);
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.82), rgba(239, 246, 248, 0.54));
}

html[data-theme="light"] .nt-app-page :is(
  .nta-action-card,
  .nta-profile-choices,
  .nta-profile-choice,
  .nta-position-row,
  .nta-council-preview-copy,
  .nta-council-member
) {
  border-color: rgba(83, 125, 151, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.91), rgba(230, 241, 246, 0.84));
  color: #07162a;
  box-shadow: 0 20px 48px rgba(73, 83, 87, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .nt-app-page :is(
  .nta-onboarding-card,
  .nta-settings-boundary,
  .nta-council-preview-copy,
  .nta-profile-choice:has(input:checked)
) {
  border-color: rgba(181, 125, 32, 0.36);
  background: linear-gradient(145deg, rgba(255, 246, 216, 0.94), rgba(235, 244, 247, 0.88));
}

html[data-theme="light"] .nt-app-page :is(
  .nta-action-card-head p,
  .nta-action-card > p,
  .nta-profile-choice small,
  .nta-council-preview-copy > p:not(.nt-kicker),
  .nta-position-row small
) {
  color: #536a7d;
}

html[data-theme="light"] .nt-app-page :is(
  .nta-action-card-head h2,
  .nta-profile-choice strong,
  .nta-position-row strong,
  .nta-council-preview-copy h2,
  .nta-council-member strong
) {
  color: #07162a;
}

html[data-theme="light"] .nt-app-page :is(
  .nt-data-source-card span,
  .nta-profile-choices legend,
  .nta-ledger-head > span,
  .nta-form-head .nt-kicker
) {
  color: #226386;
}

html[data-theme="light"] .nt-app-page :is(.nta-morning-state-pill, .nta-ready-pill) {
  color: #7d5109;
}
