/* RF_F07_REFINOS_GRAFITE_REPERTORIOS_INICIO_V101_20261016 */
/* Ajustes estritamente destinados à paleta Grafite; demais paletas intocadas. */
html[data-rf-palette="grafite"][data-bs-theme="dark"] {
  /* Levemente mais fechado que o prateado inicial (#C8CDD3). */
  --color-accent: #9EA9B4;
  --color-accent-hover: #B6C0C9;
  --rf-accent-contrast: #202326;
  --bs-primary-rgb: 158,169,180;
  --bs-link-color-rgb: 158,169,180;
}
/* Os pictogramas herdam a mesma cor de contraste que o texto do botão. */
html[data-rf-palette="grafite"][data-bs-theme="dark"] .btn-warning,
html[data-rf-palette="grafite"][data-bs-theme="dark"] .btn-primary,
html[data-rf-palette="grafite"][data-bs-theme="dark"] .rf-f07-botao-repertorio,
html[data-rf-palette="grafite"][data-bs-theme="dark"] .rf-f07-rep-gerenciar,
html[data-rf-palette="grafite"][data-bs-theme="dark"] .rf-f07-minhas-musicas-v101 .nav-link.active {
  color: #202326 !important;
}
html[data-rf-palette="grafite"][data-bs-theme="dark"] .btn-warning .rf-icon,
html[data-rf-palette="grafite"][data-bs-theme="dark"] .btn-primary .rf-icon,
html[data-rf-palette="grafite"][data-bs-theme="dark"] .rf-f07-botao-repertorio .rf-icon,
html[data-rf-palette="grafite"][data-bs-theme="dark"] .rf-f07-rep-gerenciar .rf-icon {
  background-color: currentColor !important;
}
/* Botões ativos na biblioteca pessoal acompanham o contraste grafite. */
html[data-rf-palette="grafite"][data-bs-theme="dark"] .rf-f07-minhas-musicas-v101 .btn-warning,
html[data-rf-palette="grafite"][data-bs-theme="dark"] .rf-f07-minhas-musicas-v101 .btn-primary {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #202326 !important;
}
/* Navegação: contraste mais evidente entre a área atual e as demais. */
html[data-rf-palette="grafite"][data-bs-theme="light"] nav.navbar.fixed-bottom.nav-app-custom .nav-app-item {
  color: #808992 !important;
}
html[data-rf-palette="grafite"][data-bs-theme="light"] nav.navbar.fixed-bottom.nav-app-custom .nav-app-item.is-active {
  color: #303842 !important;
}
html[data-rf-palette="grafite"][data-bs-theme="dark"] nav.navbar.fixed-bottom.nav-app-custom .nav-app-item {
  color: #89939D !important;
}
html[data-rf-palette="grafite"][data-bs-theme="dark"] nav.navbar.fixed-bottom.nav-app-custom .nav-app-item.is-active {
  color: #E1E6EB !important;
}
html[data-rf-palette="grafite"] nav.navbar.fixed-bottom.nav-app-custom .nav-app-item.is-active .rf-nav-label {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
/* Foco perceptível na navegação por teclado. */
html[data-rf-palette="grafite"] nav.navbar.fixed-bottom.nav-app-custom .nav-app-item:focus-visible {
  outline: 2px solid var(--color-accent) !important;
  outline-offset: 3px;
  border-radius: .25rem;
}
