/* ── 11. Espaço do Membro & Proteção de Dados (LGPD) ──────── */
.cv-membro-status-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--cv-text-muted);
}

.cv-membro-protected-box {
  background: linear-gradient(145deg, #ffffff, #f7faf7);
  border: 1.5px dashed var(--cv-border);
  padding: 16px;
  border-radius: 16px;
}

[data-tema="escuro"] .cv-membro-protected-box {
  background: linear-gradient(145deg, #18221c, #131b16);
  border-color: rgba(255, 255, 255, 0.12);
}

.cv-membro-lock-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.cv-membro-lock-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0, 89, 48, 0.10);
  color: var(--ipb-verde-principal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-tema="escuro"] .cv-membro-lock-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.cv-membro-box-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cv-text);
  margin: 0 0 4px 0;
}

.cv-membro-box-desc {
  font-size: 0.78rem;
  color: var(--cv-text-muted);
  line-height: 1.4;
  margin: 0;
}

.cv-membro-auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cv-btn-membro-login {
  flex: 1;
  min-width: 140px;
  background: var(--ipb-verde-principal);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 89, 48, 0.25);
  transition: all var(--transition-fast);
}

.cv-btn-membro-login:active {
  transform: scale(0.98);
}

.cv-btn-membro-biometria {
  background: #ffffff;
  color: var(--ipb-verde-principal);
  border: 1.5px solid var(--ipb-verde-principal);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
}

[data-tema="escuro"] .cv-btn-membro-biometria {
  background: #1e2922;
  color: #10b981;
  border-color: #10b981;
}

.cv-membro-auth-box {
  background: var(--cv-bg-surface);
  border: 1px solid var(--cv-border);
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.cv-membro-auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--cv-border);
}

.cv-badge-auth-ok {
  background: #10b981;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 10px;
}

.cv-btn-logout {
  background: transparent;
  border: none;
  font-size: 0.74rem;
  color: var(--cv-text-muted);
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
}

.cv-btn-logout:hover {
  color: #ef4444;
}

.cv-membro-sub-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--cv-text);
  letter-spacing: 0.5px;
  margin: 0 0 6px 0;
}

.cv-membro-aniver-list,
.cv-membro-avisos-list {
  font-size: 0.84rem;
  color: var(--cv-text);
  line-height: 1.5;
  background: var(--bg-app);
  padding: 10px 12px;
  border-radius: 10px;
  white-space: pre-line;
}

/* ── 12. Cards de Informações Permanentes no Hub ──────────── */
.cv-info-card {
  padding: 16px;
  border-radius: 16px;
}

.cv-info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cv-info-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--cv-text);
  margin: 0;
  line-height: 1.25;
}

.cv-info-card-subtitle {
  font-size: 0.74rem;
  color: var(--cv-text-muted);
  margin: 2px 0 0 0;
}

.cv-horarios-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cv-horario-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px dashed var(--cv-border);
}

.cv-horario-item:last-child {
  border-bottom: none;
}

.cv-horario-tag {
  background: rgba(0, 89, 48, 0.10);
  border: 1px solid rgba(0, 89, 48, 0.20);
  padding: 5px 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--ipb-verde-principal);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 2px rgba(0, 89, 48, 0.06);
}

.cv-horario-tag-highlight {
  background: rgba(0, 89, 48, 0.12);
  border-color: rgba(0, 89, 48, 0.24);
  color: var(--ipb-verde-principal);
  font-weight: 800;
}

[data-tema="escuro"] .cv-horario-tag {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.30);
  color: #10b981;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

[data-tema="escuro"] .cv-horario-tag-highlight {
  background: rgba(16, 185, 129, 0.20);
  border-color: rgba(16, 185, 129, 0.38);
  color: #34d399;
}

.cv-horario-desc {
  flex: 1;
  color: var(--cv-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.35;
}

.cv-horario-subdesc {
  font-size: 0.77rem;
  color: var(--ipb-texto-muted);
  margin-top: 2px;
  font-weight: 500;
}

/* ── 13. Card PIX do Portal ───────────────────────────────── */
.cv-pix-portal-card {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #fdfbf7);
  border: 1px solid rgba(217, 119, 6, 0.20);
}

[data-tema="escuro"] .cv-pix-portal-card {
  background: linear-gradient(145deg, #1b1e17, #151812);
  border-color: rgba(217, 119, 6, 0.25);
}

.cv-pix-portal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cv-icon-badge-gold {
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
}

.cv-pix-portal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cv-pix-portal-data {
  background: var(--bg-app);
  padding: 10px 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cv-pix-portal-label {
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cv-text-muted);
}

.cv-pix-code-portal {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ipb-verde-principal);
}

[data-tema="escuro"] .cv-pix-code-portal {
  color: #10b981;
}

.cv-pix-portal-fav {
  font-size: 0.72rem;
  color: var(--cv-text-muted);
}

.cv-pix-portal-actions {
  display: flex;
  width: 100%;
}

.cv-btn-copiar-pix-hub {
  width: 100%;
  flex: 1;
  background: #d97706;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cv-btn-copiar-pix-hub:active {
  transform: scale(0.98);
  opacity: 0.92;
}

/* ── 14. Localização & Endereço ───────────────────────────── */
.cv-endereco-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cv-endereco-texto {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--cv-text);
  margin: 0;
}

.cv-btn-maps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(225, 29, 72, 0.10);
  color: #e11d48;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.cv-btn-maps:active {
  transform: scale(0.98);
}

/* ── 15. Modal de Membro & Biometria ──────────────────────── */
.cv-modal-membro-sheet {
  max-width: 400px;
}

.cv-membro-modal-body {
  padding: 16px 20px 24px 20px;
}

.cv-membro-modal-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 89, 48, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.cv-membro-input-wrap {
  margin: 12px 0;
}

.cv-membro-pin-input {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: 4px;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid var(--cv-border);
  background: var(--bg-app);
  color: var(--cv-text);
  font-weight: 700;
  transition: border-color 0.2s;
}

.cv-membro-pin-input:focus {
  outline: none;
  border-color: var(--ipb-verde-principal);
}

.cv-membro-erro-msg {
  color: #ef4444;
  font-size: 0.78rem;
  text-align: center;
  margin-bottom: 10px;
}

.cv-membro-biometria-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--cv-text-muted);
  margin-bottom: 14px;
  cursor: pointer;
}

.cv-btn-confirmar-pin {
  width: 100%;
  background: var(--ipb-verde-principal);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cv-btn-confirmar-pin:active {
  transform: scale(0.98);
}

.cv-btn-modal-biometria {
  background: rgba(0, 89, 48, 0.10);
  color: var(--ipb-verde-principal);
  border: 1px solid var(--ipb-verde-principal);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* ── 15. Cards de Aniversariantes do Membro (Banco SQLite) ── */
.cv-aniver-cards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.cv-aniver-cards-list::-webkit-scrollbar {
  width: 5px;
}
.cv-aniver-cards-list::-webkit-scrollbar-thumb {
  background: rgba(150, 150, 150, 0.25);
  border-radius: 4px;
}

.cv-aniver-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cv-aniver-item-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.cv-aniver-item-card:active {
  background: rgba(0, 89, 48, 0.04);
  transform: translateY(0);
}

[data-tema="escuro"] .cv-aniver-item-card {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-tema="escuro"] .cv-aniver-item-card:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(16, 185, 129, 0.4);
}

.cv-aniver-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.cv-aniver-date-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

[data-tema="escuro"] .cv-aniver-date-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.cv-aniver-name-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cv-aniver-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cv-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cv-aniver-cargo {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--cv-text-muted);
}

.cv-aniver-parabens-badge {
  font-size: 0.75rem;
  color: #f59e0b;
}

/* DESTAQUE FESTIVO DO ANIVERSARIANTE DO DIA */
.cv-aniver-item-hoje {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(16, 185, 129, 0.10) 100%) !important;
  border: 2px solid #f59e0b !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.22) !important;
  position: relative;
  overflow: hidden;
  animation: pulsoDestaqueHoje 3s ease-in-out infinite;
}

@keyframes pulsoDestaqueHoje {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.22);
    border-color: #f59e0b;
  }
  50% {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.38);
    border-color: #fbbf24;
  }
}

.cv-badge-aniver-hoje {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  font-size: 0.70rem !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 5px rgba(217, 119, 6, 0.35);
  letter-spacing: 0.03em;
}

.cv-btn-zap-aniver {
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.35);
  flex-shrink: 0;
  margin-left: 8px;
}

.cv-btn-zap-aniver svg {
  width: 19px;
  height: 19px;
  fill: #ffffff;
  display: block;
}

.cv-btn-zap-aniver:hover {
  background: #1ebc59;
  transform: scale(1.08);
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.45);
}

.cv-btn-zap-aniver:active {
  transform: scale(0.95);
}

[data-tema="escuro"] .cv-aniver-item-hoje {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(16, 185, 129, 0.15) 100%) !important;
  border-color: #fbbf24 !important;
}

.cv-aniver-bar-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.cv-btn-niver-action {
  background: rgba(0, 0, 0, 0.04);
  color: var(--cv-text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.cv-btn-niver-action:active {
  background: rgba(0, 0, 0, 0.08);
  transform: scale(0.97);
}

.cv-membro-lgpd-alerta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 10px;
  padding: 12px;
  font-size: 0.82rem;
  color: var(--cv-text);
  line-height: 1.45;
}

/* ── 15. Card Nobre de Acesso à Gestão / Administração ─────── */
.cv-admin-card-nobre {
  background: linear-gradient(145deg, rgba(2, 132, 199, 0.08), rgba(0, 89, 48, 0.06));
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.08);
}

[data-tema="escuro"] .cv-admin-card-nobre {
  background: linear-gradient(145deg, rgba(2, 132, 199, 0.16), rgba(0, 0, 0, 0.30));
  border-color: rgba(56, 189, 248, 0.40);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cv-admin-nobre-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.cv-icon-badge-blue {
  background: rgba(2, 132, 199, 0.15);
  color: #0284c7;
}

.cv-admin-badge-role {
  background: #0284c7;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cv-admin-botoes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 360px) {
  .cv-admin-botoes-grid {
    grid-template-columns: 1fr;
  }
}

.cv-btn-admin-primario {
  background: #0284c7;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
  text-align: center;
}

.cv-btn-admin-primario:active {
  transform: scale(0.98);
  opacity: 0.90;
}

.cv-btn-admin-secundario {
  background: transparent;
  color: var(--cv-text) !important;
  text-decoration: none;
  border: 1px solid var(--cv-border);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
  text-align: center;
}

.cv-btn-admin-secundario:active {
  background: rgba(0, 0, 0, 0.05);
  transform: scale(0.98);
}

/* ── 23. Atalhos Rápidos e Barra de Leitura Frontal (Hub Público) ───────── */
.cv-hub-quick-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: safe center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  box-sizing: border-box;
}
.cv-hub-quick-bar::-webkit-scrollbar {
  display: none;
}

.cv-hub-quick-btn {
  background: var(--cv-card-bg);
  border: 1px solid var(--cv-border);
  color: var(--cv-text);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 20px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
  flex-shrink: 0;
}

.cv-hub-quick-btn:active {
  transform: scale(0.96);
  opacity: 0.88;
}

.cv-hub-quick-btn-highlight {
  background: rgba(0, 89, 48, 0.08);
  border-color: rgba(0, 89, 48, 0.30);
  color: var(--ipb-verde-principal);
}

[data-tema="escuro"] .cv-hub-quick-btn-highlight {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.cv-header-welcome-tag {
  margin-top: clamp(4px, 1.2vw, 6px);
  width: 100%;
  padding: 0 2px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.cv-header-admin-mode .cv-header-welcome-tag {
  margin-top: clamp(38px, 9vw, 44px);
}

.cv-welcome-pill {
  width: 100%;
  max-width: 100%;
  font-size: clamp(0.66rem, 2vw, 0.74rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.25;
  background: rgba(0, 0, 0, 0.22);
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

[data-tema="escuro"] .cv-welcome-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
}

.cv-hub-quick-bar-unified,
.quick-actions-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px 10px !important;
  flex-wrap: nowrap !important;
  overflow-x: visible !important;
  padding: 4px 8px 12px 8px !important;
  scrollbar-width: none;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.quick-actions-bar .action-chip,
.cv-hub-quick-bar-unified .action-chip {
  flex: 0 0 auto !important;
  width: auto !important;
  height: 34px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  padding: 6px clamp(8px, 1.2vw, 14px) !important;
  font-size: clamp(0.72rem, 0.9vw, 0.82rem) !important;
  white-space: nowrap !important;
  transition: transform 0.15s ease, background 0.15s ease;
}

@media (max-width: 680px) {
  .cv-hub-quick-bar-unified,
  .quick-actions-bar {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 6px 12px 6px 12px !important;
  }

  .quick-actions-bar .action-chip,
  .cv-hub-quick-bar-unified .action-chip {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 4px 11px !important;
    font-size: 0.72rem !important;
    letter-spacing: -0.01em;
  }
}

.cv-hub-quick-bar-unified::-webkit-scrollbar {
  display: none;
}

.cv-hub-btn-tema {
  padding: 6px 11px;
  font-size: 0.90rem;
  min-width: 36px;
  justify-content: center;
}

.cv-hub-fonte-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 20px;
  border: 1px solid var(--cv-border);
  flex-shrink: 0;
  height: 34px;
  min-height: 34px;
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
}

[data-tema="escuro"] .cv-hub-fonte-pill {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.cv-btn-fonte-step {
  background: var(--cv-card-bg);
  border: 1px solid var(--cv-border);
  color: var(--cv-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

/* O A- (Diminuir) permanece menor e sutil */
.cv-btn-fonte-step.cv-btn-fonte-menos,
.cv-btn-fonte-step:first-of-type {
  font-size: 0.72rem;
  font-weight: 700;
  height: 26px;
  padding: 0 7px;
  border-radius: 12px;
  opacity: 0.90;
}

/* O A+ (Aumentar) cresce com destaque nítido e proeminente */
.cv-btn-fonte-step.cv-btn-fonte-mais,
.cv-btn-fonte-step:last-of-type {
  font-size: 0.98rem;
  font-weight: 900;
  height: 28px;
  padding: 0 9px;
  border-radius: 12px;
}

.cv-btn-fonte-step:hover {
  background: rgba(0, 89, 48, 0.12);
  color: var(--ipb-verde-principal);
  border-color: rgba(0, 89, 48, 0.35);
}

[data-tema="escuro"] .cv-btn-fonte-step:hover {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.4);
}

.cv-btn-fonte-step:active {
  transform: scale(0.92);
  background: var(--ipb-verde-principal);
  color: #fff;
}

.cv-quick-fonte-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cv-text);
  min-width: 38px;
  text-align: center;
}

.cv-btn-quick-config {
  background: transparent;
  border: 1px dashed var(--cv-border);
  color: var(--cv-text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cv-btn-quick-config:hover,
.cv-btn-quick-config:active {
  color: var(--cv-primary);
  border-color: var(--cv-primary);
}

.cv-welcome-card {
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 89, 48, 0.05), rgba(0, 89, 48, 0.01));
  border: 1px solid rgba(0, 89, 48, 0.15);
  margin-top: 14px;
}

[data-tema="escuro"] .cv-welcome-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.02));
  border-color: rgba(16, 185, 129, 0.20);
}

.cv-welcome-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ipb-verde-principal);
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-tema="escuro"] .cv-welcome-title {
  color: #10b981;
}

.cv-welcome-text {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--cv-text-muted);
  margin: 0;
}

/* ── Módulo Caderno Devocional & Pedidos de Oração ── */
.cv-icon-badge-teal {
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
}

.cv-dev-tabs-bar {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--cv-border);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  margin-top: 10px;
}

.cv-dev-tab-btn {
  flex: 1;
  padding: 10px 8px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--cv-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cv-dev-tab-btn.active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.24);
}

.cv-btn-dev-top-action {
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
  border: 1px solid rgba(13, 148, 136, 0.30);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cv-btn-dev-top-action:active {
  transform: scale(0.96);
  background: rgba(13, 148, 136, 0.22);
}

.cv-dev-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cv-dev-card {
  background: var(--bg-card);
  border: 1px solid var(--cv-border);
  border-left: 3.5px solid #0d9488;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

[data-tema="escuro"] .cv-dev-card {
  border-left-color: #2dd4bf;
}

.cv-card-atendido {
  border-color: rgba(13, 148, 136, 0.35);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.04), transparent);
}

.cv-dev-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.cv-dev-tag {
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--cv-text-muted);
  background: var(--bg-app);
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid var(--cv-border);
}

.cv-dev-badge-biblia {
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--ipb-verde-principal);
  background: rgba(0, 89, 48, 0.08);
  padding: 3px 8px;
  border-radius: 8px;
  margin-left: 4px;
}

.cv-dev-card-actions {
  display: flex;
  gap: 4px;
}

.cv-btn-dev-mini {
  background: var(--bg-card);
  color: var(--cv-text);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.cv-btn-dev-mini:hover {
  background: var(--cv-border);
}

.cv-btn-dev-mini:active {
  transform: scale(0.92);
}

.cv-btn-dev-enviar {
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  font-weight: 700;
}

.cv-btn-dev-danger {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.25);
  background: rgba(220, 38, 38, 0.06);
}

[data-tema="escuro"] .cv-btn-dev-mini {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.15);
}

[data-tema="escuro"] .cv-btn-dev-mini:hover {
  background: rgba(255, 255, 255, 0.14);
}

[data-tema="escuro"] .cv-btn-dev-enviar {
  color: #34d399;
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.45);
}

[data-tema="escuro"] .cv-btn-dev-danger {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
}

.cv-dev-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--cv-text);
  margin: 0 0 4px 0;
  line-height: 1.35;
}

.cv-dev-card-sub {
  font-size: 0.78rem;
  color: var(--cv-text-muted);
  margin-bottom: 8px;
}

.cv-dev-card-body {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--cv-text);
  background: var(--bg-app);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--cv-border);
  word-break: break-word;
}

.cv-badge-status-oracao {
  font-size: 0.70rem;
  font-weight: 700;
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cv-badge-status-atendido {
  font-size: 0.70rem;
  font-weight: 700;
  color: #0d9488;
  background: rgba(13, 148, 136, 0.14);
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

[data-tema="escuro"] .cv-badge-status-oracao {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.20);
  border-color: rgba(245, 158, 11, 0.40);
}

[data-tema="escuro"] .cv-badge-status-atendido {
  color: #5eead4;
  background: rgba(13, 148, 136, 0.22);
  border-color: rgba(13, 148, 136, 0.40);
}

[data-tema="escuro"] .cv-dev-tag {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.cv-dev-empty {
  text-align: center;
  padding: 40px 16px;
  background: var(--bg-card);
  border: 1px dashed var(--cv-border);
  border-radius: 16px;
  color: var(--cv-text-muted);
}

.cv-dev-empty h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cv-text);
  margin: 0 0 6px 0;
}

.cv-dev-empty p {
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0 0 16px 0;
}

.cv-btn-dev-primary {
  background: var(--ipb-verde-principal);
  color: #ffffff;
  border: none;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 89, 48, 0.25);
}

.cv-dev-loading {
  text-align: center;
  padding: 30px;
  font-size: 0.85rem;
  color: var(--cv-text-muted);
}

.cv-dev-input, .cv-dev-textarea, .cv-dev-select {
  width: 100%;
  background: var(--bg-app);
  border: 1px solid var(--cv-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--cv-text);
  font-family: inherit;
  box-sizing: border-box;
}

.cv-dev-input:focus, .cv-dev-textarea:focus, .cv-dev-select:focus {
  outline: none;
  border-color: var(--ipb-verde-principal);
  box-shadow: 0 0 0 3px rgba(0, 89, 48, 0.12);
}

.cv-btn-modal-cancelar {
  background: var(--bg-app);
  border: 1px solid var(--cv-border);
  color: var(--cv-text-muted);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.cv-btn-modal-salvar {
  background: var(--ipb-verde-principal);
  border: none;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 89, 48, 0.20);
}

/* ── Caderno Simplificado: Bloco Bíblico & Filtros Rápidos ── */
.cv-anot-bloco-biblia {
  background: rgba(0, 89, 48, 0.06);
  border-left: 3.5px solid var(--ipb-verde-principal, #005930);
  border-radius: 0 10px 10px 0;
  padding: 12px 14px;
  transition: background var(--transition-fast);
}

[data-tema="escuro"] .cv-anot-bloco-biblia {
  background: rgba(16, 185, 129, 0.12);
  border-left-color: #34d399;
}

[data-tema="escuro"] #cv-dev-anot-ref-texto {
  color: #34d399;
}

[data-tema="escuro"] #cv-dev-anot-texto-citacao {
  color: #e2e8f0 !important;
}

.cv-dev-card-citacao {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--cv-text-muted);
  font-style: italic;
  margin: 4px 0 8px 0;
  padding: 6px 10px;
  border-left: 2.5px solid var(--ipb-verde-principal, #005930);
  background: rgba(0, 0, 0, 0.02);
  border-radius: 0 6px 6px 0;
}

[data-tema="escuro"] .cv-dev-card-citacao {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: #34d399;
  color: #cbd5e1;
}

.cv-dev-chip-filtro {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid var(--cv-border);
  background: var(--bg-card);
  color: var(--cv-text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cv-dev-chip-filtro:hover {
  background: var(--cv-border);
  color: var(--cv-text);
}

.cv-dev-chip-filtro.active {
  background: var(--ipb-verde-principal, #005930);
  border-color: var(--ipb-verde-principal, #005930);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 89, 48, 0.22);
}

[data-tema="escuro"] .cv-dev-chip-filtro {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}

[data-tema="escuro"] .cv-dev-chip-filtro.active {
  background: #059669;
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

/* ── Estrelinha de Versículo Bíblico Anotado ── */
.cv-biblia-nota-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  padding: 0 4px;
  border: 1px solid rgba(217, 119, 6, 0.32);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
  font-size: 0.72rem;
  line-height: 1.35;
  vertical-align: middle;
  cursor: pointer;
  pointer-events: auto !important;
  touch-action: manipulation;
  user-select: none;
  transition: transform 0.12s ease, background 0.15s ease;
}

.cv-biblia-nota-star:hover,
.cv-biblia-nota-star:focus-visible {
  background: rgba(245, 158, 11, 0.28);
  border-color: rgba(217, 119, 6, 0.65);
  transform: scale(1.12);
  outline: none;
}

[data-tema="escuro"] .cv-biblia-nota-star,
#view-biblia[data-tema="escuro"] .cv-biblia-nota-star {
  background: rgba(251, 191, 36, 0.22);
  border-color: rgba(251, 191, 36, 0.50);
  color: #fbbf24;
}

/* ── 25. Canais Oficiais de Contato no Hub (WhatsApp & E-mail) ── */
.cv-contato-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.cv-btn-contato-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cv-card-bg);
  border: 1px solid var(--cv-border);
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--cv-text);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.cv-btn-contato-card:active {
  transform: scale(0.98);
  opacity: 0.90;
}

.cv-btn-contato-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cv-btn-contato-icon-wrap.zap {
  background: rgba(37, 211, 102, 0.14);
  color: #16a34a;
}

.cv-btn-contato-icon-wrap.email {
  background: rgba(2, 132, 199, 0.14);
  color: #0284c7;
}

.cv-btn-contato-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.cv-btn-contato-rotulo {
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--cv-text-muted);
}

.cv-btn-contato-valor {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--cv-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.cv-btn-contato-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cv-btn-contato-badge.zap {
  background: rgba(37, 211, 102, 0.12);
  color: #15803d;
  border: 1px solid rgba(37, 211, 102, 0.28);
}

.cv-btn-contato-badge.email {
  background: rgba(2, 132, 199, 0.12);
  color: #0369a1;
  border: 1px solid rgba(2, 132, 199, 0.28);
}

[data-tema="escuro"] .cv-btn-contato-badge.zap {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.4);
}

[data-tema="escuro"] .cv-btn-contato-badge.email {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
}

@keyframes cvCardPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 89, 48, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0, 89, 48, 0.18); }
  100% { box-shadow: 0 0 0 0 rgba(0, 89, 48, 0); }
}

.cv-card-highlight-pulse {
  animation: cvCardPulse 0.8s ease-in-out 2;
}

/* ── Ocultação do Rodapé Final ────────────────────────── */
.cv-leitor-footer {
  display: none !important;
}

/* ── Efeito de Passar a Página (Transição Fluida Touch) ── */
@keyframes cvPageSlideInRight {
  0% {
    opacity: 0.55;
    transform: translateX(46px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes cvPageSlideInLeft {
  0% {
    opacity: 0.55;
    transform: translateX(-46px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.cv-page-transition-next {
  animation: cvPageSlideInRight 0.30s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

.cv-page-transition-prev {
  animation: cvPageSlideInLeft 0.30s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

/* ── EFEITOS PROFISSIONAIS & AMBIENT LUMINESCENCE (PROPOSTA 1 & 2) ── */
.cv-mobile-header {
  position: relative;
  overflow: hidden;
}

.cv-mobile-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.16), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.08), transparent 50%);
  pointer-events: none;
  animation: cvAmbientMesh 16s ease-in-out infinite alternate;
  will-change: transform, opacity;
  z-index: 0;
}

.cv-mobile-header > *:not(.cv-header-top-bar) {
  position: relative;
  z-index: 1;
}

@keyframes cvAmbientMesh {
  0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  50% { transform: translate(-3%, 3%) scale(1.04); opacity: 1; }
  100% { transform: translate(3%, -2%) scale(1); opacity: 0.85; }
}

.cv-card {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.cv-card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

[data-tema="escuro"] .cv-card-interactive:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.16);
}

/* ── LIVE FELLOWSHIP BEACON (PROPOSTA 3: PRÓXIMO ENCONTRO) ── */
.cv-horario-item.cv-horario-proximo {
  position: relative;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.12);
  padding: 8px 10px;
}

[data-tema="escuro"] .cv-horario-item.cv-horario-proximo {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.cv-beacon-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: cvBeaconPulse 1.8s infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes cvBeaconPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.cv-beacon-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: max-content;
  align-self: flex-start;
  font-size: 0.64rem;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 0;
  margin-top: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

[data-tema="escuro"] .cv-beacon-badge {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ── PÃO DIÁRIO & TICKER DINÂMICO DE VERSÍCULOS (PROPOSTA 5) ── */
.cv-versiculo-ticker-card {
  position: relative;
  background: var(--ipb-cartao-bg);
  border: 1px solid var(--ipb-borda);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 14px;
  margin-bottom: 22px;
  box-shadow: var(--ipb-sombra);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.cv-ticker-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--ipb-borda);
  padding-bottom: 6px;
}

.cv-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ipb-verde-claro, #10b981);
}

.cv-ticker-nav-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cv-ticker-btn-nav {
  background: transparent;
  border: 1px solid var(--ipb-borda);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--ipb-texto);
  transition: background 0.2s, transform 0.15s;
}

.cv-ticker-btn-nav:hover {
  background: rgba(16, 185, 129, 0.12);
}

.cv-ticker-btn-nav:active {
  transform: scale(0.9);
}

.cv-ticker-pos-indicator {
  font-size: 0.68rem;
  color: var(--ipb-texto-muted);
  font-weight: 600;
  min-width: 32px;
  text-align: center;
}

.cv-ticker-body {
  position: relative;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cv-ticker-text {
  font-size: 0.94rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ipb-texto);
  margin: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.cv-ticker-ref {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ipb-verde-principal);
  margin-top: 4px;
  text-align: right;
}

[data-tema="escuro"] .cv-ticker-ref {
  color: #34d399;
}

.cv-ticker-actions-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

.cv-btn-copiar-ticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 89, 48, 0.08);
  border: 1px solid rgba(0, 89, 48, 0.22);
  color: var(--ipb-verde-escuro);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-right: 2px;
}

[data-tema="escuro"] .cv-btn-copiar-ticker {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.cv-btn-copiar-ticker:hover {
  background: rgba(16, 185, 129, 0.25);
  transform: scale(1.06);
}

.cv-btn-copiar-ticker:active {
  transform: scale(0.92);
}

.cv-btn-copiar-ticker.copiado {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  transform: scale(1.08);
}

/* ── Botão com Ícone de Olho para Revelar Senha ────────────── */
.cv-password-field-wrap {
  position: relative;
  width: 100%;
}

.btn-toggle-eye-destaque,
.cv-btn-toggle-eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: #f0fdf4 !important;
  border: 1.5px solid #16a34a !important;
  border-radius: 7px !important;
  padding: 5px 9px !important;
  cursor: pointer !important;
  color: #15803d !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 10 !important;
}

.btn-toggle-eye-destaque:hover,
.cv-btn-toggle-eye:hover {
  background: #dcfce7 !important;
  border-color: #15803d !important;
  color: #14532d !important;
  transform: translateY(-50%) scale(1.05) !important;
}

.btn-toggle-eye-destaque.active,
.cv-btn-toggle-eye.active {
  background: #15803d !important;
  border-color: #15803d !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.35) !important;
}

/* ── Toast de Notificação Flutuante do Leitor (Temporário - R1 & 6.4) ─────── */
.cv-toast-leitor {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-24px);
  background: #18221c;
  color: #ffffff;
  padding: 11px 20px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  max-width: 90vw;
  text-align: center;
  line-height: 1.35;
}

.cv-toast-leitor.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cv-toast-leitor.sucesso {
  background: #064e3b;
  border-color: #059669;
}

.cv-toast-leitor.erro {
  background: #7f1d1d;
  border-color: #dc2626;
}

/* ── RESPONSIVIDADE AUTOMÁTICA DESKTOP & GRID BIMODAL (FASE R1) ── */
@media (min-width: 769px) {
  .cv-mobile-main {
    max-width: 1200px;
    padding: 24px 32px calc(48px + var(--safe-bottom)) 32px;
  }

  .cv-hub-desktop-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    align-items: start;
  }

  .cv-header-top-bar {
    max-width: 1200px;
    margin: 0 auto;
  }

  .cv-brand-centered {
    max-width: 1200px;
    margin: 0 auto;
  }

  .cv-hub-quick-bar-unified {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
}

/* ── CONTROLES DE TIPOGRAFIA E TEMA NA LINHA DA LITURGIA (TAREFA 5) ── */
.cv-liturgia-linha-topo-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.cv-liturgia-controles-direita {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.cv-btn-liturgia-tema {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ipb-borda);
  background: var(--ipb-cartao-bg);
  color: var(--cv-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
}

/* ==========================================================================
   WP-08: Barra Flutuante de Seleção de Texto (Dock Anotar no Caderno)
   ========================================================================== */
.cv-dock-selecao-texto {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 95vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cv-dock-selecao-texto.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cv-dock-selecao-conteudo {
  background: var(--ipb-cartao-bg, #ffffff);
  color: var(--cv-text, #1e293b);
  border: 1px solid var(--ipb-borda, #cbd5e1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  padding: 6px 10px 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cv-dock-selecao-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ipb-verde-principal, #10b981);
  padding-right: 6px;
  border-right: 1px solid var(--ipb-borda, #e2e8f0);
}

.cv-dock-selecao-rotulo {
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--cv-text, #334155);
}

.cv-dock-selecao-botoes {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cv-btn-dock-action {
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--ipb-borda, #e2e8f0);
  background: var(--ipb-fundo-creme, #f8fafc);
  color: var(--ipb-texto, #1e293b);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.1s ease, background 0.15s ease;
}

.cv-btn-dock-action:active {
  transform: scale(0.95);
}

.cv-btn-dock-anotar {
  background: var(--ipb-verde-principal, #10b981) !important;
  color: #ffffff !important;
  border-color: var(--ipb-verde-principal, #10b981) !important;
}

.cv-btn-dock-fechar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ipb-texto-muted, #64748b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ==========================================================================
   WP-10: Modal de Compartilhamento de Trecho
   ========================================================================== */
.cv-sheet-modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 10060;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cv-sheet-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cv-comp-painel {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: var(--ipb-cartao-bg, #ffffff);
  color: var(--ipb-texto, #1e293b);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
  padding: 12px 18px 24px;
  animation: cvSlideUpPrevia 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cv-sheet-drag-handle {
  width: 44px;
  height: 5px;
  background: var(--ipb-borda, #cbd5e1);
  border-radius: 3px;
  margin: 0 auto 12px;
}

.cv-comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cv-comp-titulo {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ipb-texto, #0f172a);
}

.cv-btn-fechar-sheet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--ipb-borda, #f1f5f9);
  color: var(--ipb-texto, #475569);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cv-comp-previa-card {
  padding: 14px 16px;
  background: var(--ipb-fundo-creme, #f8fafc);
  border-radius: 12px;
  border-left: 4px solid var(--ipb-verde-principal, #10b981);
  margin-bottom: 18px;
}

.cv-comp-texto-previa {
  margin: 0 0 6px 0;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ipb-texto, #334155);
}

.cv-comp-fonte-previa {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ipb-verde-principal, #10b981);
}

.cv-comp-acoes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cv-btn-comp-action {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--ipb-borda, #cbd5e1);
  background: var(--ipb-cartao-bg, #f8fafc);
  color: var(--ipb-texto, #1e293b);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.1s ease, border-color 0.15s ease;
}

.cv-btn-comp-action:active {
  transform: scale(0.97);
}

.cv-comp-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.cv-comp-action-tit {
  font-size: 0.88rem;
  font-weight: 700;
}

.cv-comp-action-sub {
  font-size: 0.72rem;
  color: var(--ipb-texto-muted, #64748b);
}

/* ── Blindagem Específica de Tema Escuro para Dock de Seleção e Modal de Compartilhamento ── */
[data-tema="escuro"] .cv-dock-selecao-conteudo,
body[data-tema="escuro"] .cv-dock-selecao-conteudo {
  background: #1c221e !important;
  color: #f1f5f3 !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.60) !important;
}

[data-tema="escuro"] .cv-dock-selecao-rotulo {
  color: #f1f5f3 !important;
}

[data-tema="escuro"] .cv-btn-dock-action {
  background: #252e28 !important;
  color: #f1f5f3 !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

[data-tema="escuro"] .cv-btn-dock-anotar {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

[data-tema="escuro"] .cv-comp-painel,
body[data-tema="escuro"] .cv-comp-painel {
  background: #1c221e !important;
  color: #f1f5f3 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.65) !important;
}

[data-tema="escuro"] .cv-comp-titulo {
  color: #f8fafc !important;
}

[data-tema="escuro"] .cv-btn-fechar-sheet {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

[data-tema="escuro"] .cv-comp-previa-card {
  background: #111513 !important;
  border-left-color: #10b981 !important;
}

[data-tema="escuro"] .cv-comp-texto-previa {
  color: #f1f5f3 !important;
}

[data-tema="escuro"] .cv-btn-comp-action {
  background: #252e28 !important;
  color: #f1f5f3 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

[data-tema="escuro"] .cv-btn-comp-action:hover {
  background: #2f3a33 !important;
}

[data-tema="escuro"] .cv-comp-action-sub {
  color: #94a3b8 !important;
}

.cv-comp-btn-txt strong {
  display: block;
  font-size: 0.92rem;
}

.cv-comp-btn-txt small {
  display: block;
  font-size: 0.75rem;
  color: var(--cv-text, #64748b);
  opacity: 0.85;
}



