.lucide-pending body {
  visibility: hidden;
}

.compass-lucide {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 2;
  vertical-align: middle;
}

.compass-lucide--sm {
  width: 1rem;
  height: 1rem;
}

.compass-lucide--lg {
  width: 1.5rem;
  height: 1.5rem;
}

.compass-lucide--xl {
  width: 2rem;
  height: 2rem;
}

.compass-lucide--heading {
  width: 2.5rem;
  height: 2.5rem;
}

/* Modificadores reutilizáveis para orientar ícones sem duplicar o SVG. */
.compass-lucide--rotate-ccw-90 {
  transform: rotate(-90deg);
}

/* Ajuste óptico exclusivo para Lucides pequenos exibidos na linha do texto. */
.compass-lucide--inline-text {
  transform: translateY(-2px);
}

[data-lucide="list-filter"],
.lucide-list-filter {
  margin-right: .35rem;
}

[data-lucide="refresh-cw"],
.lucide-refresh-cw,
[data-lucide="refresh-ccw"],
.lucide-refresh-ccw {
  margin-right: .35rem;
}

.screen-action-btn > .compass-lucide,
.submenu-button > .compass-lucide {
  margin-right: .35rem;
}

/* Mantém o espaçamento padrão quando uma ação alterna entre dois ícones. */
.compass-lucide-switch {
  display: inline-flex;
  flex: 0 0 auto;
  margin-right: .35rem;
}

.compass-lucide-switch[hidden] {
  display: none;
}

/* Botão reutilizável cujo conteúdo é somente um ícone. */
.compass-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-icon-toggle {
  width: 30px;
  height: 30px;
  padding: 0;
  color: #315a7a;
}

.compass-icon-button .compass-lucide-switch {
  margin-right: 0;
}

.screen-action-btn.compass-icon-button > .compass-lucide {
  margin-right: 0;
}

.theme-icon-toggle:not(.is-active):hover {
  color: #24445d;
}

.theme-icon-toggle.is-active {
  color: #e4bd55;
  border-color: #dee2e6;
  background: #ffffff;
}

.theme-icon-toggle.is-active:hover {
  color: #f0cf73;
  border-color: #dee2e6;
  background: #f1f3f5;
}

.theme-icon-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
