/**
 * Modo oscuro — contraste premium (capa final).
 * Anula fondos claros hardcoded y textos ilegibles detectados en QA visual.
 */

/* ── Base + header (gana cgc-header-fixed) ── */
html[data-theme="dark"] body,
html.cg-dark body {
	background: var(--cgc-bg-gradient) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body:has(> .site-header) .site-header,
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-nav,
html.cg-dark body:has(> .site-header) .site-header,
html.cg-dark .site-header,
html.cg-dark .site-nav {
	background: var(--cgc-header-bg) !important;
	border-bottom-color: var(--cgc-border) !important;
}

html[data-theme="dark"] .site-nav.scrolled,
html.cg-dark .site-nav.scrolled {
	background: var(--cgc-header-bg) !important;
}

html[data-theme="dark"] .primary-nav .menu a,
html[data-theme="dark"] .nav-links a,
html.cg-dark .primary-nav .menu a,
html.cg-dark .nav-links a {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .calculator-submenu a,
html[data-theme="dark"] .nav-dropdown a,
html.cg-dark .calculator-submenu a,
html.cg-dark .nav-dropdown a {
	color: var(--cgc-text-secondary) !important;
}

/* Toggle — icono sol visible en oscuro */
html[data-theme="dark"] .cgc-theme-toggle,
html.cg-dark .cgc-theme-toggle {
	color: var(--cgc-text) !important;
	border-color: var(--cgc-border-strong) !important;
	background: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .cgc-theme-toggle__icon--sun,
html.cg-dark .cgc-theme-toggle__icon--sun {
	color: var(--cgc-gold-soft) !important;
}

html[data-theme="light"] .cgc-theme-toggle__icon--moon {
	color: var(--cgc-accent) !important;
}

/* ── Títulos globales (hero, blog, recursos, PRO) ── */
html[data-theme="dark"] .hero-section h1,
html[data-theme="dark"] .blog-hero h1,
html[data-theme="dark"] .recursos-hero__copy h1,
html[data-theme="dark"] .pro-hero .hero-title,
html[data-theme="dark"] .onboard-hero h1,
html[data-theme="dark"] .legal-shell h1,
html[data-theme="dark"] .eyebrow,
html.cg-dark .hero-section h1,
html.cg-dark .blog-hero h1 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .hero-section p,
html[data-theme="dark"] .blog-hero p,
html[data-theme="dark"] .lead,
html.cg-dark .hero-section p,
html.cg-dark .lead {
	color: var(--cgc-text-secondary) !important;
}

/* ── HOME ── */
html[data-theme="dark"] body.cgc-home-page .hero-metrics .metric,
html[data-theme="dark"] body.cgc-home-page .hero .hero-pill,
html.cg-dark body.cgc-home-page .hero-metrics .metric {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border) !important;
}

html[data-theme="dark"] body.cgc-home-page .hero-metrics .metric strong,
html[data-theme="dark"] body.cgc-home-page .hero-metrics .metric span,
html[data-theme="dark"] body.cgc-home-page .hero h1,
html[data-theme="dark"] body.cgc-home-page .hero h1 span,
html[data-theme="dark"] body.cgc-home-page .hero .hero-sub,
html[data-theme="dark"] body.cgc-home-page .hero .proof-item strong,
html[data-theme="dark"] body.cgc-home-page .hero .proof-item small,
html.cg-dark body.cgc-home-page .hero-metrics .metric strong,
html.cg-dark body.cgc-home-page .hero-metrics .metric span {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-home-page .quick-start,
html[data-theme="dark"] body.cgc-home-page .quick-intro,
html[data-theme="dark"] body.cgc-home-page .quick-card,
html[data-theme="dark"] body.cgc-home-page .recommended,
html[data-theme="dark"] body.cgc-home-page .recommended-shell,
html[data-theme="dark"] body.cgc-home-page .recommend-card,
html[data-theme="dark"] body.cgc-home-page .recommend-tab,
html[data-theme="dark"] body.cgc-home-page .tool-card,
html[data-theme="dark"] body.cgc-home-page .article-card,
html[data-theme="dark"] body.cgc-home-page .article-body,
html[data-theme="dark"] body.cgc-home-page .lead-inner,
html[data-theme="dark"] body.cgc-home-page .path-card,
html[data-theme="dark"] body.cgc-home-page .path-form label,
html[data-theme="dark"] body.cgc-home-page .calc-intro-card,
html[data-theme="dark"] body.cgc-home-page .calc-body,
html.cg-dark body.cgc-home-page .article-card,
html.cg-dark body.cgc-home-page .quick-card {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] body.cgc-home-page .quick-intro h2,
html[data-theme="dark"] body.cgc-home-page .quick-card strong,
html[data-theme="dark"] body.cgc-home-page .recommended-copy h2,
html[data-theme="dark"] body.cgc-home-page .recommend-title,
html[data-theme="dark"] body.cgc-home-page .tool-card h3,
html[data-theme="dark"] body.cgc-home-page .article-card h3,
html[data-theme="dark"] body.cgc-home-page .article-body h3,
html[data-theme="dark"] body.cgc-home-page .lead-inner h2,
html[data-theme="dark"] body.cgc-home-page .section-title,
html.cg-dark body.cgc-home-page .section-title {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-home-page .quick-card span,
html[data-theme="dark"] body.cgc-home-page .recommend-text,
html[data-theme="dark"] body.cgc-home-page .tool-card p,
html[data-theme="dark"] body.cgc-home-page .article-body p,
html[data-theme="dark"] body.cgc-home-page .section-sub,
html[data-theme="dark"] body.cgc-home-page .path-form label,
html.cg-dark body.cgc-home-page .article-body p {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-home-page .recommend-tab.is-active,
html[data-theme="dark"] body.cgc-home-page .path-form label:has(input:checked),
html.cg-dark body.cgc-home-page .recommend-tab.is-active {
	background: var(--cgc-bg-soft) !important;
	color: var(--cgc-text) !important;
	border-color: var(--cgc-accent) !important;
}

html[data-theme="dark"] body.cgc-home-page #herramientas,
html[data-theme="dark"] body.cgc-home-page .tools-band,
html.cg-dark body.cgc-home-page #herramientas {
	background: var(--cgc-bg-soft) !important;
}

/* ── Blog / artículos ── */
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .article-body,
html[data-theme="dark"] .content-card,
html[data-theme="dark"] .blog-article-shell,
html.cg-dark .article-card,
html.cg-dark .article-body {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] .article-card h3,
html[data-theme="dark"] .article-body h3,
html[data-theme="dark"] .article-body .blog-card-tags,
html[data-theme="dark"] .blog-article-shell h1,
html.cg-dark .article-card h3,
html.cg-dark .article-body h3 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .article-body p,
html[data-theme="dark"] .article-body a,
html.cg-dark .article-body p {
	color: var(--cgc-text-secondary) !important;
}

/* ── Recetas hub ── */
html[data-theme="dark"] body.cgc-static-recetas .recetas-hero h1.recetas-hero__title,
html[data-theme="dark"] body.cgc-static-recetas .recetas-hero h1.recetas-hero__title .recetas-hero__stat,
html[data-theme="dark"] body.cgc-static-recetas .recipe-body h2,
html[data-theme="dark"] body.cgc-static-recetas .recipe-card .recipe-body h2,
html.cg-dark body.cgc-static-recetas .recetas-hero h1.recetas-hero__title {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-recetas .recetas-hero__description,
html[data-theme="dark"] body.cgc-static-recetas .recipe-body p,
html.cg-dark body.cgc-static-recetas .recipe-body p {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-recetas .recipe-card,
html[data-theme="dark"] body.cgc-static-recetas article.recipe-card,
html[data-theme="dark"] body.cgc-static-recetas .recetas-hub-tools .search,
html[data-theme="dark"] body.cgc-static-recetas .filters .search,
html[data-theme="dark"] body.cgc-static-recetas .filters .chip:not(.active),
html.cg-dark body.cgc-static-recetas .recipe-card {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-recetas .filters .chip.active,
html.cg-dark body.cgc-static-recetas .filters .chip.active {
	background: var(--cgc-bg-soft) !important;
	color: var(--cgc-text) !important;
	border-color: var(--cgc-accent) !important;
}

html[data-theme="dark"] body.cgc-static-recetas .recipe-body .meta b,
html[data-theme="dark"] body.cgc-static-recetas .notice,
html.cg-dark body.cgc-static-recetas .notice {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border) !important;
	color: var(--cgc-text-secondary) !important;
}

/* ── Receta individual (250 HTML — inline styles) ── */
html[data-theme="dark"] .detail-card,
html[data-theme="dark"] .side-card,
html.cg-dark .detail-card,
html.cg-dark .side-card {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
	box-shadow: var(--cgc-shadow-soft) !important;
}

html[data-theme="dark"] .detail-card h1,
html[data-theme="dark"] .detail-card h2,
html[data-theme="dark"] .detail-card li,
html[data-theme="dark"] .detail-card p,
html[data-theme="dark"] .side-card h2,
html[data-theme="dark"] .side-card li,
html[data-theme="dark"] .side-card a,
html.cg-dark .detail-card h1,
html.cg-dark .detail-card h2 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .nutrition-table td,
html.cg-dark .nutrition-table td {
	background: var(--cgc-bg-muted) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .taglist span,
html[data-theme="dark"] .meta b,
html.cg-dark .taglist span,
html.cg-dark .meta b {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .notice,
html.cg-dark .notice {
	background: var(--cgc-bg-soft) !important;
	border-color: var(--cgc-border) !important;
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] .open,
html.cg-dark .open {
	background: linear-gradient(135deg, #123f2d, #2f7d57) !important;
	color: var(--cgc-text-inverse) !important;
}

/* ── Recursos / lead capture / PRO ── */
html[data-theme="dark"] body.cgc-static-recursos .recursos-hero__capture,
html[data-theme="dark"] body.cgc-static-recursos .lead-card,
html[data-theme="dark"] body.cgc-static-recursos .capture-card,
html[data-theme="dark"] body.cgc-static-pro .pro-hero-band .card,
html[data-theme="dark"] body.cgc-static-pro .editorial-feature-card,
html[data-theme="dark"] body.cgc-static-pro .pro-card,
html.cg-dark body.cgc-static-recursos .lead-card {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] body.cgc-static-recursos .recursos-hero__capture h2,
html[data-theme="dark"] body.cgc-static-recursos .lead-card h2,
html[data-theme="dark"] body.cgc-static-recursos .lead-card label,
html[data-theme="dark"] body.cgc-static-pro .editorial-feature-card h3,
html[data-theme="dark"] body.cgc-static-pro .pro-hero-band h1,
html.cg-dark body.cgc-static-recursos .lead-card h2 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-recursos .recursos-hero__capture p,
html[data-theme="dark"] body.cgc-static-recursos .lead-card p,
html[data-theme="dark"] body.cgc-static-pro .editorial-feature-card p,
html.cg-dark body.cgc-static-pro .editorial-feature-card p {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-pill,
html[data-theme="dark"] body.cgc-static-pro .pro-badge-row .pill,
html.cg-dark body.cgc-static-pro .pro-pill {
	background: var(--cgc-bg-muted) !important;
	color: var(--cgc-text) !important;
	border-color: var(--cgc-border) !important;
}

/* ── Calculadoras (paleta bosque, no azul plugin) ── */
html[data-theme="dark"] .cg-calc-page::before,
html.cg-dark .cg-calc-page::before {
	background: var(--cgc-bg-gradient) !important;
}

html[data-theme="dark"] .cg-calc-page,
html.cg-dark .cg-calc-page {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-premium-form,
html[data-theme="dark"] .cg-result-panel,
html[data-theme="dark"] .cg-catalog-card,
html[data-theme="dark"] .cg-rec-card,
html[data-theme="dark"] .cg-reset,
html[data-theme="dark"] .cg-plate-builder,
html.cg-dark .cg-catalog-card,
html.cg-dark .cg-premium-form {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
	box-shadow: var(--cgc-shadow-soft) !important;
}

html[data-theme="dark"] .cg-calc-top h1,
html[data-theme="dark"] .cg-catalog-card h3,
html[data-theme="dark"] .cg-field label,
html[data-theme="dark"] .cg-result-value,
html.cg-dark .cg-calc-top h1 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-calc-top h2,
html[data-theme="dark"] .cg-calc-subcopy,
html[data-theme="dark"] .cg-catalog-card p,
html[data-theme="dark"] .cg-result-line,
html.cg-dark .cg-catalog-card p {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] .cg-field input,
html[data-theme="dark"] .cg-field select,
html.cg-dark .cg-field input,
html.cg-dark .cg-field select {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border-strong) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-field input::placeholder,
html.cg-dark .cg-field input::placeholder {
	color: var(--cgc-text-muted) !important;
}

html[data-theme="dark"] .cg-segmented,
html.cg-dark .cg-segmented {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] .cg-segmented button.active,
html.cg-dark .cg-segmented button.active {
	background: var(--cgc-bg-soft) !important;
	color: var(--cgc-text) !important;
}

/* ── MI PANEL (anula tools.css hardcoded) ── */
html[data-theme="dark"] .cg-dashboard .cg-dashboard-card,
html[data-theme="dark"] .cg-dashboard .cg-dashboard-onboarding,
html[data-theme="dark"] .cg-dashboard .cg-dashboard-header,
html[data-theme="dark"] .cg-dashboard .cg-dashboard-goals,
html[data-theme="dark"] .cg-dashboard .cg-dashboard-reminder,
html.cg-dark .cg-dashboard .cg-dashboard-card,
html.cg-dark .cg-dashboard .cg-dashboard-onboarding {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
	box-shadow: var(--cgc-shadow-soft) !important;
}

html[data-theme="dark"] .cg-dashboard h1,
html[data-theme="dark"] .cg-dashboard h2,
html[data-theme="dark"] .cg-dashboard h3,
html[data-theme="dark"] .cg-dashboard-header h1,
html[data-theme="dark"] .cg-dashboard-header-date,
html[data-theme="dark"] .cg-dashboard-header-summary,
html[data-theme="dark"] .cg-dashboard-kicker,
html.cg-dark .cg-dashboard h1,
html.cg-dark .cg-dashboard h2,
html.cg-dark .cg-dashboard h3 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-dashboard p,
html[data-theme="dark"] .cg-dashboard-goals p,
html[data-theme="dark"] .cg-dashboard-onboarding-copy p,
html[data-theme="dark"] .cg-ring-unit__meta,
html[data-theme="dark"] .cg-dashboard-streak-hint,
html[data-theme="dark"] .cg-tracker-note,
html.cg-dark .cg-dashboard p,
html.cg-dark .cg-ring-unit__meta {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] .cg-dashboard-guide li,
html.cg-dark .cg-dashboard-guide li {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] .cg-dashboard-guide strong,
html.cg-dark .cg-dashboard-guide strong {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-dashboard-guide span,
html.cg-dark .cg-dashboard-guide span {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] .cg-chip-row button,
html[data-theme="dark"] .cg-dashboard-secondary,
html[data-theme="dark"] .cg-dashboard-ghost,
html.cg-dark .cg-chip-row button,
html.cg-dark .cg-dashboard-secondary,
html.cg-dark .cg-dashboard-ghost {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-chip-row button.is-active,
html[data-theme="dark"] .cg-chip-row button[aria-pressed="true"],
html.cg-dark .cg-chip-row button.is-active {
	background: linear-gradient(135deg, #123f2d, #2f7d57) !important;
	color: var(--cgc-text-inverse) !important;
}

html[data-theme="dark"] .cg-tracker-tabs,
html.cg-dark .cg-tracker-tabs {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] .cg-tracker-tabs button,
html.cg-dark .cg-tracker-tabs button {
	color: var(--cgc-text-muted) !important;
}

html[data-theme="dark"] .cg-tracker-tabs button.is-active,
html.cg-dark .cg-tracker-tabs button.is-active {
	background: var(--cgc-card-bg-solid) !important;
	color: var(--cgc-accent-bright) !important;
}

html[data-theme="dark"] .cg-segmented-control,
html.cg-dark .cg-segmented-control {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] .cg-segmented-control button,
html.cg-dark .cg-segmented-control button {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] .cg-segmented-control button.is-active,
html[data-theme="dark"] .cg-segmented-control button[aria-pressed="true"],
html.cg-dark .cg-segmented-control button.is-active {
	background: var(--cgc-bg-soft) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-ring-unit,
html.cg-dark .cg-ring-unit {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
}

html[data-theme="dark"] .cg-ring-unit__name,
html[data-theme="dark"] .cg-ring-unit__pct,
html.cg-dark .cg-ring-unit__name,
html.cg-dark .cg-ring-unit__pct {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-favorites-item,
html[data-theme="dark"] .cg-favorite-card,
html.cg-dark .cg-favorites-item {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] .cg-favorites-item__title,
html[data-theme="dark"] .cg-favorites-item__type,
html.cg-dark .cg-favorites-item__title {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-dashboard-sparkline-wrapper,
html.cg-dark .cg-dashboard-sparkline-wrapper {
	background: var(--cgc-bg-muted) !important;
	border: 1px solid var(--cgc-border);
	border-radius: 12px;
}

html[data-theme="dark"] .cg-sparkline-label,
html.cg-dark .cg-sparkline-label {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] .cg-daily-checklist__item,
html.cg-dark .cg-daily-checklist__item {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-express-day,
html.cg-dark .cg-express-day {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] .cg-express-day__label,
html[data-theme="dark"] .cg-express-day__hint,
html.cg-dark .cg-express-day__hint {
	color: var(--cgc-text-secondary) !important;
}

/* Favoritos tema */
html[data-theme="dark"] .cg-favorite-card,
html[data-theme="dark"] .cg-content-save-bar,
html.cg-dark .cg-favorite-card {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
	color: var(--cgc-text) !important;
}

/* ── Blog hub (.blog-card-link) ── */
html[data-theme="dark"] body.cgc-static-blog .blog-hero h1,
html[data-theme="dark"] body.blog-page .blog-hero h1,
html.cg-dark body.cgc-static-blog .blog-hero h1 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-blog .blog-hero p,
html[data-theme="dark"] body.blog-page .blog-hero p,
html.cg-dark body.cgc-static-blog .blog-hero p {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-blog .blog-card-link,
html[data-theme="dark"] body.blog-page .blog-card-link,
html[data-theme="dark"] body.cgc-static-blog .blog-card-link .body,
html[data-theme="dark"] body.blog-page .blog-card-link .body,
html.cg-dark body.cgc-static-blog .blog-card-link {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] body.cgc-static-blog .blog-card-link h2,
html[data-theme="dark"] body.blog-page .blog-card-link h2,
html[data-theme="dark"] body.cgc-static-blog .blog-card-link .body p,
html.cg-dark body.cgc-static-blog .blog-card-link h2 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-blog .blog-card-link time,
html[data-theme="dark"] body.cgc-static-blog .blog-card-tags,
html.cg-dark body.cgc-static-blog .blog-card-link time {
	color: var(--cgc-text-secondary) !important;
}

/* ── Recursos lead (clase real) ── */
html[data-theme="dark"] body.cgc-static-recursos .recursos-lead-card,
html[data-theme="dark"] body.cgc-page-recursos .recursos-lead-card,
html.cg-dark body.cgc-static-recursos .recursos-lead-card {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] body.cgc-static-recursos .recursos-lead-card h2,
html[data-theme="dark"] body.cgc-static-recursos .recursos-lead-message,
html[data-theme="dark"] body.cgc-static-recursos .recursos-lead-consent,
html.cg-dark body.cgc-static-recursos .recursos-lead-card h2 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-recursos .recursos-lead-card > p,
html[data-theme="dark"] body.cgc-static-recursos .recursos-lead-nota,
html.cg-dark body.cgc-static-recursos .recursos-lead-card > p {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-recursos .recursos-lead-form input[type="email"],
html.cg-dark body.cgc-static-recursos .recursos-lead-form input[type="email"] {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border-strong) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-recursos .herramientas-section h2,
html.cg-dark body.cgc-static-recursos .herramientas-section h2 {
	color: var(--cgc-text) !important;
}

/* ── Cuídate PRO ── */
html[data-theme="dark"] body.cgc-static-pro .pro-feature-card,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium:not(.pro-card-premium--featured),
html[data-theme="dark"] body.cgc-static-pro .pro-hero-band .pro-band-card,
html.cg-dark body.cgc-static-pro .pro-feature-card {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-feature-card strong,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium h3,
html[data-theme="dark"] body.cgc-static-pro .pro-hero .hero-title,
html[data-theme="dark"] body.cgc-static-pro .pro-section h2,
html.cg-dark body.cgc-static-pro .pro-feature-card strong {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-feature-card p,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium p,
html[data-theme="dark"] body.cgc-static-pro .pro-hero__lead,
html[data-theme="dark"] body.cgc-static-pro .pro-section p,
html.cg-dark body.cgc-static-pro .pro-feature-card p {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-status,
html[data-theme="dark"] body.cgc-static-pro .pro-pill,
html.cg-dark body.cgc-static-pro .pro-pill {
	background: var(--cgc-bg-muted) !important;
	color: var(--cgc-text) !important;
	border-color: var(--cgc-border) !important;
}

/* ── Home hero legibilidad sobre foto ── */
html[data-theme="dark"] body.cgc-home-page .hero {
	background: var(--cgc-bg) !important;
}

html[data-theme="dark"] body.cgc-home-page .hero-media::before,
html.cg-dark body.cgc-home-page .hero-media::before {
	background: linear-gradient(
			90deg,
			rgba(7, 26, 20, 0.92) 0%,
			rgba(7, 26, 20, 0.72) 38%,
			rgba(7, 26, 20, 0.28) 62%,
			transparent 78%
		),
		linear-gradient(
			180deg,
			rgba(7, 26, 20, 0.55) 0%,
			transparent 35%,
			transparent 55%,
			rgba(7, 26, 20, 0.75) 100%
		) !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

html[data-theme="dark"] body.cgc-home-page .hero h1,
html[data-theme="dark"] body.cgc-home-page .hero h1 span,
html[data-theme="dark"] body.cgc-home-page .hero .hero-sub,
html[data-theme="dark"] body.cgc-home-page .hero .proof-item strong,
html[data-theme="dark"] body.cgc-home-page .hero .proof-item small,
html.cg-dark body.cgc-home-page .hero h1 {
	color: var(--cgc-text) !important;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] body.cgc-home-page .quick-note,
html.cg-dark body.cgc-home-page .quick-note {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border) !important;
	color: var(--cgc-text-secondary) !important;
}

/* ── Recetas hub aviso ── */
html[data-theme="dark"] body.cgc-static-recetas .recetas-hub-tools .notice,
html[data-theme="dark"] body.cgc-static-recetas section.container > .notice,
html.cg-dark body.cgc-static-recetas .recetas-hub-tools .notice {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border) !important;
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-recetas .recetas-hub-tools .notice strong,
html.cg-dark body.cgc-static-recetas .recetas-hub-tools .notice strong {
	color: var(--cgc-text) !important;
}

/* ══════════════════════════════════════════════════════════════
 * v1.1.131 — Superficies elevadas, hover unificado, fixes QA
 * ══════════════════════════════════════════════════════════════ */

/* Cajas tema — superficie base + hover visible */
html[data-theme="dark"] body.cgc-home-page .quick-card,
html[data-theme="dark"] body.cgc-home-page .tool-card,
html[data-theme="dark"] body.cgc-home-page .recommend-card,
html[data-theme="dark"] body.cgc-home-page .recommended-shell,
html[data-theme="dark"] body.cgc-home-page .article-card .article-body,
html[data-theme="dark"] body.cgc-home-page .home-editorial .article-card,
html[data-theme="dark"] body.cgc-home-page .lead-inner,
html[data-theme="dark"] body.cgc-home-page .path-card,
html[data-theme="dark"] body.cgc-home-page .cta-band,
html[data-theme="dark"] body.cgc-home-page .hero-metrics .metric,
html[data-theme="dark"] body.cgc-home-page #herramientas .home-calc-card,
html[data-theme="dark"] body.cgc-home-page .calc-intro-card,
html[data-theme="dark"] body.cgc-home-page .calc-body,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .blog-card-link .body,
html[data-theme="dark"] body.cgc-static-recetas .recipe-card,
html[data-theme="dark"] .detail-card,
html[data-theme="dark"] .side-card,
html[data-theme="dark"] body.cgc-static-pro .pro-feature-card,
html[data-theme="dark"] body.cgc-static-pro .pro-comparison-wrap,
html.cg-dark body.cgc-home-page .quick-card,
html.cg-dark body.cgc-home-page .recommend-card {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
	box-shadow: var(--cgc-shadow-soft) !important;
	transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

html[data-theme="dark"] body.cgc-home-page .quick-card:hover,
html[data-theme="dark"] body.cgc-home-page .tool-card:hover,
html[data-theme="dark"] body.cgc-home-page .recommend-card:hover,
html[data-theme="dark"] body.cgc-home-page .article-card:hover,
html[data-theme="dark"] body.cgc-home-page .home-editorial .article-card:hover,
html[data-theme="dark"] body.cgc-home-page #herramientas .home-calc-card:hover,
html[data-theme="dark"] body.cgc-static-recetas .recipe-card:hover,
html[data-theme="dark"] body.cgc-static-pro .pro-feature-card:hover,
html.cg-dark body.cgc-home-page .recommend-card:hover {
	background: var(--cgc-card-bg-hover) !important;
	border-color: rgba(72, 173, 114, 0.34) !important;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36) !important;
}

html[data-theme="dark"] body.cgc-home-page .recommend-tab,
html.cg-dark body.cgc-home-page .recommend-tab {
	background: var(--cgc-bg-muted) !important;
	border: 1px solid var(--cgc-border) !important;
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-home-page .recommend-tab.is-active,
html[data-theme="dark"] body.cgc-home-page .recommend-tab:hover,
html.cg-dark body.cgc-home-page .recommend-tab.is-active {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-accent) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-home-page .recommended,
html.cg-dark body.cgc-home-page .recommended {
	background: transparent !important;
}

html[data-theme="dark"] body.cgc-home-page .recommended-footer,
html[data-theme="dark"] body.cgc-home-page .recommended .recommended-note,
html.cg-dark body.cgc-home-page .recommended-footer {
	color: var(--cgc-text-secondary) !important;
}

/* Path planner + secciones con fondo claro residual */
html[data-theme="dark"] body.cgc-home-page .path-section,
html[data-theme="dark"] body.cgc-home-page .quick-start,
html[data-theme="dark"] body.cgc-home-page #herramientas,
html.cg-dark body.cgc-home-page .path-section {
	background: var(--cgc-bg) !important;
}

html[data-theme="dark"] body.cgc-home-page .path-section .section-title,
html[data-theme="dark"] body.cgc-home-page .path-section .section-sub,
html[data-theme="dark"] body.cgc-home-page .path-form legend,
html.cg-dark body.cgc-home-page .path-section .section-title {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-home-page .path-form label,
html.cg-dark body.cgc-home-page .path-form label {
	background: var(--cgc-bg-muted) !important;
	border: 1px solid var(--cgc-border) !important;
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-home-page .path-form label:has(input:checked),
html.cg-dark body.cgc-home-page .path-form label:has(input:checked) {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-accent) !important;
	color: var(--cgc-text) !important;
}

/* Promo calculadoras home — texto oscuro sobre imagen clara */
html[data-theme="dark"] body.cgc-home-page .calculator-promo::before,
html.cg-dark body.cgc-home-page .calculator-promo::before {
	background:
		linear-gradient(90deg, rgba(255, 253, 248, 0.97) 0%, rgba(255, 253, 248, 0.9) 40%, rgba(255, 253, 248, 0.55) 62%, rgba(255, 253, 248, 0.08) 82%),
		linear-gradient(180deg, rgba(9, 39, 26, 0.08), rgba(9, 39, 26, 0.28)) !important;
}

html[data-theme="dark"] body.cgc-home-page .calculator-promo .section-title,
html[data-theme="dark"] body.cgc-home-page .calculator-promo .section-sub,
html[data-theme="dark"] body.cgc-home-page .calculator-promo .promo-checks li,
html[data-theme="dark"] body.cgc-home-page .calculator-promo .promo-legal,
html.cg-dark body.cgc-home-page .calculator-promo .section-title {
	color: var(--cgc-text-on-media, #0f2a1e) !important;
	text-shadow: none !important;
}

html[data-theme="dark"] body.cgc-home-page .calculator-promo .section-kicker,
html.cg-dark body.cgc-home-page .calculator-promo .section-kicker {
	color: #1f6b45 !important;
}

/* Home recursos / cta-band textos */
html[data-theme="dark"] body.cgc-home-page .cta-band,
html[data-theme="dark"] body.cgc-home-page .cta-band p,
html[data-theme="dark"] body.cgc-home-page .cta-band strong,
html[data-theme="dark"] body.cgc-home-page .cta-band a,
html.cg-dark body.cgc-home-page .cta-band {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-home-page .home-editorial .section-title,
html.cg-dark body.cgc-home-page .home-editorial .section-title {
	color: var(--cgc-text) !important;
}

/* Calculadoras WP — anula plugin-site-bridge en oscuro */
html[data-theme="dark"] body.cgc-page-tools,
html[data-theme="dark"] body.cgc-page-tools .page-content,
html[data-theme="dark"] body.cgc-page-tools main,
html.cg-dark body.cgc-page-tools {
	background: var(--cgc-bg-gradient) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-calc-page::before,
html[data-theme="dark"] body.cgc-page-tools .cg-catalog-app,
html.cg-dark body.cgc-page-tools .cg-calc-page::before {
	background: var(--cgc-bg-gradient) !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-catalog-card,
html[data-theme="dark"] body.cgc-page-tools .cg-premium-form,
html[data-theme="dark"] body.cgc-page-tools .cg-result-panel,
html[data-theme="dark"] body.cgc-page-tools .cg-rec-card,
html[data-theme="dark"] body.cgc-page-tools .cg-reset,
html[data-theme="dark"] body.cgc-page-tools .cg-plate-builder,
html.cg-dark body.cgc-page-tools .cg-catalog-card {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border-strong) !important;
	box-shadow: var(--cgc-shadow-soft) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-catalog-card:hover,
html[data-theme="dark"] body.cgc-page-tools .cg-rec-card:hover,
html.cg-dark body.cgc-page-tools .cg-catalog-card:hover {
	background: var(--cgc-card-bg-hover) !important;
	border-color: rgba(72, 173, 114, 0.34) !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-calc-top h1,
html[data-theme="dark"] body.cgc-page-tools .cg-catalog-card h3,
html[data-theme="dark"] body.cgc-page-tools .cg-field label,
html[data-theme="dark"] body.cgc-page-tools .cg-rec-card strong,
html[data-theme="dark"] body.cgc-page-tools .cg-recommendations h3,
html.cg-dark body.cgc-page-tools .cg-calc-top h1 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-calc-top h2,
html[data-theme="dark"] body.cgc-page-tools .cg-calc-subcopy,
html[data-theme="dark"] body.cgc-page-tools .cg-catalog-card p,
html[data-theme="dark"] body.cgc-page-tools .cg-rec-card em,
html[data-theme="dark"] body.cgc-page-tools .cg-medical-note,
html.cg-dark body.cgc-page-tools .cg-catalog-card p {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-field input,
html[data-theme="dark"] body.cgc-page-tools .cg-field select,
html.cg-dark body.cgc-page-tools .cg-field input {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border-strong) !important;
	color: var(--cgc-text) !important;
}

/* Recetas — nutrición mini + lateral recomendaciones */
html[data-theme="dark"] .nutrition div,
html[data-theme="dark"] .recipe-body .nutrition div,
html.cg-dark .nutrition div {
	background: var(--cgc-bg-muted) !important;
	border: 1px solid var(--cgc-border) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .nutrition strong,
html.cg-dark .nutrition strong {
	color: var(--cgc-accent-bright) !important;
}

html[data-theme="dark"] .cg-rec-card,
html[data-theme="dark"] .cg-recommendation-card,
html[data-theme="dark"] aside .cg-rec-card,
html[data-theme="dark"] .side-card .cg-rec-card,
html.cg-dark .cg-rec-card {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
}

html[data-theme="dark"] .cg-rec-card strong,
html[data-theme="dark"] .cg-rec-card em,
html.cg-dark .cg-rec-card strong {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-rec-card em,
html.cg-dark .cg-rec-card em {
	color: var(--cgc-text-secondary) !important;
}

/* Cuídate PRO — tabla comparativa */
html[data-theme="dark"] body.cgc-static-pro .pro-comparison,
html[data-theme="dark"] body.cgc-static-pro .pro-comparison tbody,
html[data-theme="dark"] body.cgc-static-pro .pro-comparison td,
html[data-theme="dark"] body.cgc-static-pro .pro-comparison th:not(.pro-col),
html.cg-dark body.cgc-static-pro .pro-comparison {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-comparison td,
html[data-theme="dark"] body.cgc-static-pro .pro-comparison th,
html[data-theme="dark"] body.cgc-static-pro .pro-comparison-note,
html[data-theme="dark"] body.cgc-static-pro .pro-hero__lead,
html.cg-dark body.cgc-static-pro .pro-comparison td {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-comparison strong,
html[data-theme="dark"] body.cgc-static-pro .pro-comparison .pro-feature-name,
html.cg-dark body.cgc-static-pro .pro-comparison strong {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-pro .section-kicker,
html[data-theme="dark"] body.cgc-static-pro .eyebrow,
html.cg-dark body.cgc-static-pro .section-kicker {
	color: var(--cgc-accent-bright) !important;
}

/* Mi Panel — anillos, favoritos, botones blancos (tools.css) */
html[data-theme="dark"] .cg-dashboard--v4 .cg-ring-unit,
html.cg-dark .cg-dashboard--v4 .cg-ring-unit {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
	box-shadow: var(--cgc-shadow-soft) !important;
}

html[data-theme="dark"] .cg-dashboard--v4 .cg-ring-unit .cg-ring-bg,
html.cg-dark .cg-dashboard--v4 .cg-ring-unit .cg-ring-bg {
	stroke: rgba(255, 255, 255, 0.34) !important;
	opacity: 1 !important;
}

html[data-theme="dark"] .cg-dashboard--v4 .cg-ring-unit__meta,
html[data-theme="dark"] .cg-dashboard--v4 .cg-ring-unit__name,
html[data-theme="dark"] .cg-dashboard--v4 .cg-ring-unit__pct,
html.cg-dark .cg-dashboard--v4 .cg-ring-unit__meta {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] .cg-dashboard--v4 .cg-favorites-item,
html.cg-dark .cg-dashboard--v4 .cg-favorites-item {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
}

html[data-theme="dark"] .cg-dashboard--v4 .cg-favorites-item__title,
html[data-theme="dark"] .cg-dashboard--v4 .cg-favorites-item__type,
html.cg-dark .cg-dashboard--v4 .cg-favorites-item__title {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-dashboard .cg-chip-row button,
html[data-theme="dark"] .cg-dashboard .cg-tracker-inline input[type="number"],
html[data-theme="dark"] .cg-dashboard .cg-tracker-block,
html[data-theme="dark"] .cg-dashboard .cg-express-day,
html[data-theme="dark"] .cg-dashboard .cg-dashboard-secondary,
html[data-theme="dark"] .cg-dashboard .cg-dashboard-ghost,
html[data-theme="dark"] .cg-dashboard .cg-water-chip,
html[data-theme="dark"] .cg-dashboard .cg-tracker-tabs button:not(.is-active),
html[data-theme="dark"] .cg-dashboard--v4 .cg-dashboard-guide li,
html[data-theme="dark"] .cg-dashboard--v4 .cg-rings-guide__steps li,
html[data-theme="dark"] .cg-dashboard--v4 .cg-dashboard-onboarding,
html.cg-dark .cg-dashboard .cg-chip-row button {
	background: var(--cgc-bg-muted) !important;
	border: 1px solid var(--cgc-border) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-dashboard .cg-chip-row button:hover,
html[data-theme="dark"] .cg-dashboard .cg-express-day:hover,
html[data-theme="dark"] .cg-dashboard .cg-water-chip:hover,
html.cg-dark .cg-dashboard .cg-chip-row button:hover {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border-strong) !important;
}

html[data-theme="dark"] .cg-dashboard .cg-chip-row button.is-active,
html[data-theme="dark"] .cg-dashboard .cg-chip-row button[aria-pressed="true"],
html.cg-dark .cg-dashboard .cg-chip-row button.is-active {
	background: linear-gradient(135deg, #123f2d, #2f7d57) !important;
	color: var(--cgc-text-inverse) !important;
	border-color: transparent !important;
}

html[data-theme="dark"] .cg-dashboard--v4 .cg-dashboard-guide span,
html[data-theme="dark"] .cg-dashboard--v4 .cg-tracker-note,
html[data-theme="dark"] .cg-dashboard--v4 .cg-express-day__hint,
html[data-theme="dark"] .cg-dashboard--v4 .cg-tracker-hint,
html.cg-dark .cg-dashboard--v4 .cg-tracker-note {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] .cg-dashboard--v4 .cg-dashboard-guide strong,
html[data-theme="dark"] .cg-dashboard--v4 .cg-rings-guide__steps strong,
html.cg-dark .cg-dashboard--v4 .cg-dashboard-guide strong {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] .cg-dashboard--v4 .cg-dashboard-pro:not(.is-active) .cg-dashboard-secondary,
html.cg-dark .cg-dashboard--v4 .cg-dashboard-pro:not(.is-active) .cg-dashboard-secondary {
	background: var(--cgc-card-bg-solid) !important;
	color: var(--cgc-text) !important;
	border: 1px solid var(--cgc-border) !important;
}

html[data-theme="dark"] .cg-dashboard--v4 .cg-dashboard-card,
html.cg-dark .cg-dashboard--v4 .cg-dashboard-card {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
}

html[data-theme="dark"] .cg-dashboard--v4 .cg-dashboard-header .cg-dashboard-ghost,
html.cg-dark .cg-dashboard--v4 .cg-dashboard-header .cg-dashboard-ghost {
	background: var(--cgc-bg-muted) !important;
	color: var(--cgc-text) !important;
	border-color: var(--cgc-border) !important;
}

/* Header panel blanco residual */
html[data-theme="dark"] body.cgc-page-panel .site-header,
html[data-theme="dark"] body.cgc-page-panel:has(> .site-header) .site-header,
html.cg-dark body.cgc-page-panel .site-header {
	background: var(--cgc-header-bg) !important;
}

/* ══════════════════════════════════════════════════════════════
 * v1.1.132 — Fix raíz: contrast-system + bridge + panel QA
 * ══════════════════════════════════════════════════════════════ */

/* Home — títulos que contrast-system forzaba oscuros */
html[data-theme="dark"] body.cgc-home-page .path-section > .container > .section-head .section-title,
html[data-theme="dark"] body.cgc-home-page .section:not(.lead):not(.home-pro) > .container > .section-head .section-title,
html[data-theme="dark"] body.cgc-home-page .testimonials .section-title,
html[data-theme="dark"] body.cgc-home-page .home-editorial .section-title,
html[data-theme="dark"] body.cgc-home-page .quick-intro .section-title,
html[data-theme="dark"] body.cgc-home-page .recommended .section-title,
html.cg-dark body.cgc-home-page .path-section > .container > .section-head .section-title,
html.cg-dark body.cgc-home-page .section:not(.lead):not(.home-pro) > .container > .section-head .section-title,
html.cg-dark body.cgc-home-page .testimonials .section-title {
	color: var(--cgc-text) !important;
}

/* Home — testimonios (fondo claro residual + avatares) */
html[data-theme="dark"] body.cgc-home-page .testimonials,
html.cg-dark body.cgc-home-page .testimonials {
	background: var(--cgc-bg) !important;
	border-color: var(--cgc-border) !important;
}

html[data-theme="dark"] body.cgc-home-page .test-card,
html.cg-dark body.cgc-home-page .test-card {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
	box-shadow: var(--cgc-shadow-soft) !important;
}

html[data-theme="dark"] body.cgc-home-page .test-card blockquote,
html[data-theme="dark"] body.cgc-home-page .test-card .autor-data strong,
html.cg-dark body.cgc-home-page .test-card blockquote {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-home-page .test-card .autor-data span,
html.cg-dark body.cgc-home-page .test-card .autor-data span {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-home-page .test-card .av,
html.cg-dark body.cgc-home-page .test-card .av {
	background: var(--cgc-accent-soft) !important;
	color: var(--cgc-text-inverse) !important;
	border: 1px solid var(--cgc-border-strong) !important;
}

/* Home — editorial / recetas destacadas / recursos */
html[data-theme="dark"] body.cgc-home-page .editorial-feature-card,
html[data-theme="dark"] body.cgc-home-page .home-editorial .editorial-feature-card,
html[data-theme="dark"] body.cgc-home-page .home-editorial .articles-grid .article-card,
html[data-theme="dark"] body.cgc-home-page .recipe-home-showcase,
html.cg-dark body.cgc-home-page .editorial-feature-card {
	background: transparent !important;
}

html[data-theme="dark"] body.cgc-home-page .editorial-feature-card,
html[data-theme="dark"] body.cgc-home-page .home-editorial .articles-grid .article-card,
html[data-theme="dark"] body.cgc-home-page .editorial-feature-card__body,
html[data-theme="dark"] body.cgc-home-page .home-editorial .article-body,
html.cg-dark body.cgc-home-page .editorial-feature-card {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border-strong) !important;
}

html[data-theme="dark"] body.cgc-home-page .editorial-feature-card h3,
html[data-theme="dark"] body.cgc-home-page .editorial-feature-card__cta,
html[data-theme="dark"] body.cgc-home-page .home-editorial .article-card h3,
html[data-theme="dark"] body.cgc-home-page .home-editorial .article-body p,
html.cg-dark body.cgc-home-page .editorial-feature-card h3 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-home-page .editorial-feature-card__cat,
html.cg-dark body.cgc-home-page .editorial-feature-card__cat {
	background: var(--cgc-bg-muted) !important;
	color: var(--cgc-accent-bright) !important;
	border: 1px solid var(--cgc-border) !important;
}

html[data-theme="dark"] body.cgc-home-page .saved-teaser,
html[data-theme="dark"] body.cgc-home-page .saved-teaser strong,
html[data-theme="dark"] body.cgc-home-page .saved-teaser p,
html[data-theme="dark"] body.cgc-home-page .saved-teaser a,
html.cg-dark body.cgc-home-page .saved-teaser {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-home-page .cta-band,
html.cg-dark body.cgc-home-page .cta-band {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
}

html[data-theme="dark"] body.cgc-home-page .cta-leaf,
html.cg-dark body.cgc-home-page .cta-leaf {
	background: var(--cgc-bg-muted) !important;
	border: 1px solid var(--cgc-border) !important;
	color: var(--cgc-accent-bright) !important;
}

html[data-theme="dark"] body.cgc-home-page .cta-band h3,
html[data-theme="dark"] body.cgc-home-page .cta-band p,
html[data-theme="dark"] body.cgc-home-page .cta-band a,
html.cg-dark body.cgc-home-page .cta-band h3 {
	color: var(--cgc-text) !important;
}

/* Home — path planner (inline front-page residual) */
html[data-theme="dark"] body.cgc-home-page .path-card,
html.cg-dark body.cgc-home-page .path-card {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
}

html[data-theme="dark"] body.cgc-home-page .path-form legend,
html.cg-dark body.cgc-home-page .path-form legend {
	color: var(--cgc-text) !important;
}

/* Cuídate PRO — hero + qué incluye + cards */
html[data-theme="dark"] body.cgc-static-pro .pro-hero-band,
html[data-theme="dark"] body.cgc-static-pro .pro-includes,
html[data-theme="dark"] body.cgc-static-pro .pro-comparison-section,
html.cg-dark body.cgc-static-pro .pro-hero-band {
	background: var(--cgc-bg) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-hero .hero-title,
html[data-theme="dark"] body.cgc-static-pro .pro-comparison-section .section-title,
html[data-theme="dark"] body.cgc-static-pro .pro-includes .section-title,
html[data-theme="dark"] body.cgc-static-pro .pro-features-section .section-title,
html.cg-dark body.cgc-static-pro .pro-hero .hero-title {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-hero__lead,
html[data-theme="dark"] body.cgc-static-pro .pro-includes .section-sub,
html[data-theme="dark"] body.cgc-static-pro .pro-features-section .section-sub,
html.cg-dark body.cgc-static-pro .pro-hero__lead {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-feature-card,
html[data-theme="dark"] body.cgc-static-pro .pro-preview-card,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium,
html[data-theme="dark"] body.cgc-static-pro .step-node,
html.cg-dark body.cgc-static-pro .pro-feature-card {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-feature-card strong,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium h3,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium strong,
html.cg-dark body.cgc-static-pro .pro-feature-card strong {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-feature-card p,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium p,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium ul,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium li,
html.cg-dark body.cgc-static-pro .pro-feature-card p {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-icon,
html.cg-dark body.cgc-static-pro .pro-icon {
	background: var(--cgc-bg-muted) !important;
	color: var(--cgc-accent-bright) !important;
	border: 1px solid var(--cgc-border) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-icon svg,
html.cg-dark body.cgc-static-pro .pro-icon svg {
	stroke: currentColor !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-comparison-wrap,
html[data-theme="dark"] body.cgc-static-pro .pro-comparison,
html.cg-dark body.cgc-static-pro .pro-comparison {
	background: var(--cgc-card-bg-solid) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-comparison tbody td:first-child,
html[data-theme="dark"] body.cgc-static-pro .pro-comparison tbody td:first-child strong,
html[data-theme="dark"] body.cgc-static-pro .pro-comparison tbody td:first-child span,
html.cg-dark body.cgc-static-pro .pro-comparison tbody td:first-child {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-comparison tbody td.pro-col,
html.cg-dark body.cgc-static-pro .pro-comparison tbody td.pro-col {
	color: var(--cgc-gold-soft) !important;
}

/* Mi Panel — especificidad máxima (anula tools.css #fff) */
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit .cg-ring-bg,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit .cg-ring-bg {
	stroke: rgba(255, 255, 255, 0.22) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit .cg-ring-progress,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit .cg-ring-progress {
	opacity: 1 !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-onboarding,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-onboarding--compact,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-onboarding {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-onboarding h2,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-onboarding h3,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-onboarding p,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-guide li,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-guide strong,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-header-summary,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-kicker,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-rings-guide__lead,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-tracker-hint,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-onboarding h2 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-guide li,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-guide--inline li,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-guide li {
	background: var(--cgc-bg-muted) !important;
	border: 1px solid var(--cgc-border) !important;
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-chip-row button,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-water-chip,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-express-day,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-tracker-inline input[type="number"],
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-secondary:not(.cg-dashboard-primary),
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-ghost,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-chip-row button {
	background: var(--cgc-bg-muted) !important;
	border: 1px solid var(--cgc-border-strong) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 [data-cg-favorites-panel] .cg-favorites-item,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 [data-cg-favorites-panel] a.cg-favorites-item,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 [data-cg-favorites-panel] .cg-favorites-item {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 [data-cg-favorites-panel] .cg-favorites-item__body,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 [data-cg-favorites-panel] .cg-favorites-item__body {
	background: var(--cgc-card-bg-solid) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 [data-cg-favorites-panel] .cg-favorites-item__title,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 [data-cg-favorites-panel] .cg-favorites-item__type,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 [data-cg-favorites-panel] .cg-favorites-item__title {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-card,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-stat,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-tracker-block,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-card {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-goals,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-goals dt,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-goals dd,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-goals {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-tracker-note a,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-water-undo,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-water-reset,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-tracker-note a {
	color: var(--cgc-accent-bright) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cgc-premium-footer .footer-pre-bottom,
html[data-theme="dark"] body.cgc-page-panel .cgc-premium-footer .footer-disclaimer,
html.cg-dark body.cgc-page-panel .cgc-premium-footer .footer-disclaimer {
	background: var(--cgc-bg-muted) !important;
	color: var(--cgc-text-secondary) !important;
}

/* Toggle visible en header oscuro (calculadoras / panel) */
html[data-theme="dark"] .site-header .cgc-theme-toggle,
html[data-theme="dark"] .site-nav .cgc-theme-toggle,
html.cg-dark .site-header .cgc-theme-toggle,
html.cg-dark .site-nav .cgc-theme-toggle {
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	border-color: var(--cgc-border-strong) !important;
	background: var(--cgc-bg-muted) !important;
	color: var(--cgc-gold-soft) !important;
}

/* ═══════════════════════════════════════════════════════════════
 * v1.1.133 — Fix especificidad: calculadoras, PRO, panel, header
 * ═══════════════════════════════════════════════════════════════ */

/* Calculadoras — anula full-bleed crema tools.css (html/body/#page) */
html[data-theme="dark"] body.cgc-page-tools,
html[data-theme="dark"] body.cgc-page-tools #page,
html[data-theme="dark"] body.cgc-page-tools .site,
html[data-theme="dark"] body.cgc-page-tools .site-content,
html[data-theme="dark"] body.cgc-page-tools .site-main,
html[data-theme="dark"] body.cgc-page-tools .cg-calc-page,
html[data-theme="dark"] body.cgc-page-tools .cg-calc-wrapper,
html.cg-dark body.cgc-page-tools,
html.cg-dark body.cgc-page-tools .cg-calc-page {
	background: var(--cgc-bg-gradient) !important;
	background-color: transparent !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-catalog-app .cg-catalog-card:not(.cg-catalog-card--photo),
html[data-theme="dark"] body.cgc-page-tools .cg-catalog-app .cg-catalog-card:not(.cg-catalog-card--photo):hover,
html.cg-dark body.cgc-page-tools .cg-catalog-app .cg-catalog-card:not(.cg-catalog-card--photo) {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border-strong) !important;
	box-shadow: var(--cgc-shadow-soft) !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-catalog-app .cg-catalog-card:not(.cg-catalog-card--photo) h3,
html[data-theme="dark"] body.cgc-page-tools .cg-catalog-app .cg-catalog-card:not(.cg-catalog-card--photo) p,
html.cg-dark body.cgc-page-tools .cg-catalog-app .cg-catalog-card:not(.cg-catalog-card--photo) h3 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-catalog-app .cg-catalog-card:not(.cg-catalog-card--photo) p,
html.cg-dark body.cgc-page-tools .cg-catalog-app .cg-catalog-card:not(.cg-catalog-card--photo) p {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-calc-trustbar span,
html.cg-dark body.cgc-page-tools .cg-calc-trustbar span {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border-strong) !important;
	color: var(--cgc-text-secondary) !important;
	box-shadow: none !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-calc-title-icon,
html[data-theme="dark"] body.cgc-page-tools .cg-tool-icon-wrap,
html.cg-dark body.cgc-page-tools .cg-calc-title-icon {
	background: var(--cgc-bg-muted) !important;
	border: 1px solid var(--cgc-border) !important;
	box-shadow: none !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-premium-form,
html[data-theme="dark"] body.cgc-page-tools .cg-calculator-app,
html[data-theme="dark"] body.cgc-page-tools .cg-analysis-report,
html.cg-dark body.cgc-page-tools .cg-premium-form {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border-strong) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-page-tools .cg-field input,
html[data-theme="dark"] body.cgc-page-tools .cg-field select,
html.cg-dark body.cgc-page-tools .cg-field input {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border-strong) !important;
	color: var(--cgc-text) !important;
}

/* Header oscuro en calculadoras + panel (gana theme.css rgba blanco) */
html[data-theme="dark"] body.cgc-page-tools .site-header,
html[data-theme="dark"] body.cgc-page-panel .site-header,
html.cg-dark body.cgc-page-tools .site-header,
html.cg-dark body.cgc-page-panel .site-header {
	background: var(--cgc-header-bg) !important;
	border-bottom-color: var(--cgc-border) !important;
	backdrop-filter: none !important;
}

html[data-theme="light"] .site-header .cgc-theme-toggle,
html[data-theme="dark"] body.cgc-page-tools .site-header .cgc-theme-toggle,
html[data-theme="dark"] body.cgc-page-panel .site-header .cgc-theme-toggle,
html.cg-dark body.cgc-page-panel .site-header .cgc-theme-toggle {
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Cuídate PRO — secciones alt + tabla + cajas blancas */
html[data-theme="dark"] body.cgc-static-pro .pro-section--alt,
html.cg-dark body.cgc-static-pro .pro-section--alt {
	background: var(--cgc-bg) !important;
	border-block-color: var(--cgc-border) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-section-head h2,
html[data-theme="dark"] body.cgc-static-pro .pro-section-head p,
html[data-theme="dark"] body.cgc-static-pro .pro-section-kicker,
html.cg-dark body.cgc-static-pro .pro-section-head h2 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-section-head p,
html[data-theme="dark"] body.cgc-static-pro .pro-muted,
html.cg-dark body.cgc-static-pro .pro-section-head p {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-table-wrapper,
html[data-theme="dark"] body.cgc-static-pro .pro-audience-card,
html[data-theme="dark"] body.cgc-static-pro .pro-faq-grid article,
html[data-theme="dark"] body.cgc-static-pro .pro-waitlist,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium:not(.pro-card-premium--featured),
html.cg-dark body.cgc-static-pro .pro-table-wrapper {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border-strong) !important;
	box-shadow: var(--cgc-shadow-soft) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-table-wrapper th,
html.cg-dark body.cgc-static-pro .pro-table-wrapper th {
	background: var(--cgc-bg-muted) !important;
	color: var(--cgc-text) !important;
	border-bottom-color: var(--cgc-border) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-table-wrapper td,
html[data-theme="dark"] body.cgc-static-pro .pro-table-wrapper td strong,
html[data-theme="dark"] body.cgc-static-pro .pro-table-wrapper td span,
html[data-theme="dark"] body.cgc-static-pro .pro-audience-card h3,
html[data-theme="dark"] body.cgc-static-pro .pro-audience-card li,
html[data-theme="dark"] body.cgc-static-pro .pro-faq-grid h3,
html[data-theme="dark"] body.cgc-static-pro .pro-faq-grid p,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium:not(.pro-card-premium--featured) h3,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium:not(.pro-card-premium--featured) p,
html[data-theme="dark"] body.cgc-static-pro .pro-card-premium:not(.pro-card-premium--featured) li,
html.cg-dark body.cgc-static-pro .pro-table-wrapper td {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-table-wrapper td:nth-child(3),
html.cg-dark body.cgc-static-pro .pro-table-wrapper td:nth-child(3) {
	background: color-mix(in srgb, var(--cgc-accent) 12%, var(--cgc-card-bg-solid)) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-yes,
html.cg-dark body.cgc-static-pro .pro-yes {
	color: var(--cgc-accent-bright) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-soon,
html.cg-dark body.cgc-static-pro .pro-soon {
	color: var(--cgc-gold-soft) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-preview-card,
html.cg-dark body.cgc-static-pro .pro-preview-card {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border-strong) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-preview-card__label,
html[data-theme="dark"] body.cgc-static-pro .pro-preview-card h3,
html[data-theme="dark"] body.cgc-static-pro .pro-preview-card p,
html.cg-dark body.cgc-static-pro .pro-preview-card h3 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-preview-card p,
html.cg-dark body.cgc-static-pro .pro-preview-card p {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-waitlist h2,
html[data-theme="dark"] body.cgc-static-pro .pro-waitlist-foot,
html[data-theme="dark"] body.cgc-static-pro .pro-waitlist-logged,
html.cg-dark body.cgc-static-pro .pro-waitlist h2 {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-waitlist-form input[type="email"],
html.cg-dark body.cgc-static-pro .pro-waitlist-form input[type="email"] {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border-strong) !important;
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-notice,
html.cg-dark body.cgc-static-pro .pro-notice {
	background: color-mix(in srgb, var(--cgc-gold-soft) 14%, var(--cgc-card-bg-solid)) !important;
	border-color: color-mix(in srgb, var(--cgc-gold-soft) 35%, transparent) !important;
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-notice strong,
html.cg-dark body.cgc-static-pro .pro-notice strong {
	color: var(--cgc-text) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-trust-strip span,
html.cg-dark body.cgc-static-pro .pro-trust-strip span {
	background: var(--cgc-bg-muted) !important;
	border-color: var(--cgc-border) !important;
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-static-pro .pro-steps-flow .step-node,
html.cg-dark body.cgc-static-pro .pro-steps-flow .step-node {
	background: var(--cgc-card-bg-solid) !important;
	border-color: var(--cgc-border-strong) !important;
	color: var(--cgc-text) !important;
}

/* Mi Panel — anillos visibles, disclaimer, favoritos meta */
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit .cg-ring-bg,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit .cg-ring-bg {
	stroke: rgba(255, 255, 255, 0.42) !important;
	opacity: 1 !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit--nutrition .cg-ring-progress,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit--nutrition .cg-ring-progress {
	stroke: #4ade80 !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit--water .cg-ring-progress,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit--water .cg-ring-progress {
	stroke: #60a5fa !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit--activity .cg-ring-progress,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit--activity .cg-ring-progress {
	stroke: #fb923c !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit__meta,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-sparkline-label,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-ring-unit__meta {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-disclaimer,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-disclaimer {
	background: var(--cgc-card-bg-solid) !important;
	border: 1px solid var(--cgc-border-strong) !important;
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-page-panel [data-cg-favorites-panel] .cg-favorites-macro,
html[data-theme="dark"] body.cgc-page-panel [data-cg-favorites-panel] .cg-favorites-macro b,
html[data-theme="dark"] body.cgc-page-panel [data-cg-favorites-panel] .cg-favorites-item__meta-foot,
html.cg-dark body.cgc-page-panel [data-cg-favorites-panel] .cg-favorites-macro {
	color: var(--cgc-text-secondary) !important;
}

html[data-theme="dark"] body.cgc-page-panel [data-cg-favorites-panel] .cg-favorites-macro b,
html.cg-dark body.cgc-page-panel [data-cg-favorites-panel] .cg-favorites-macro b {
	color: var(--cgc-accent-bright) !important;
}

html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-header-links a,
html[data-theme="dark"] body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-header-summary a,
html.cg-dark body.cgc-page-panel .cg-dashboard--v4 .cg-dashboard-header-links a {
	color: var(--cgc-accent-bright) !important;
}
