/**
 * Breaking the Scroll — light theme text hierarchy & contrast
 * Primary: #1A1A1A | Secondary: #3A3A3A | Description: #555555 | Muted: #777777
 * Borders: rgba(0,0,0,0.12) | Dividers: rgba(0,0,0,0.08)
 * Orange accents unchanged. Dark theme not touched.
 */

/* ── 7-Day Neural Sprint ── */
html[data-theme="light"] .ns-hero__title,
html[data-theme="light"] .ns-welcome__title,
html[data-theme="light"] .ns-day__title,
html[data-theme="light"] .ns-mission__title,
html[data-theme="light"] .ns-celebrate__title {
  color: #1A1A1A;
}

html[data-theme="light"] .ns-hero__sub,
html[data-theme="light"] .ns-welcome__desc,
html[data-theme="light"] .ns-day__sub,
html[data-theme="light"] .ns-mission__sub,
html[data-theme="light"] .ns-mission__quote,
html[data-theme="light"] .ns-block__text,
html[data-theme="light"] .ns-celebrate__hint {
  color: #555555;
}

html[data-theme="light"] .ns-features li {
  color: #3A3A3A;
  font-weight: 500;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .ns-day__status,
html[data-theme="light"] .ns-stat__lbl,
html[data-theme="light"] .ns-celebrate__timer {
  color: #777777;
}

html[data-theme="light"] .ns-hero__badge,
html[data-theme="light"] .ns-day__num {
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .ns-day {
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .ns-reflect,
html[data-theme="light"] .ns-sheet__panel {
  border-color: rgba(0, 0, 0, 0.12);
}

/* ── AI Reflection Bot ── */
html[data-theme="light"] .rf-brand__title,
html[data-theme="light"] .rf-welcome__title,
html[data-theme="light"] .rf-card__title,
html[data-theme="light"] .rf-stat__value {
  color: #1A1A1A;
}

html[data-theme="light"] .rf-brand__sub,
html[data-theme="light"] .rf-welcome__hint,
html[data-theme="light"] .rf-card__desc {
  color: #555555;
}

html[data-theme="light"] .rf-meta,
html[data-theme="light"] .rf-composer__count,
html[data-theme="light"] .rf-stat__label,
html[data-theme="light"] .rf-mode {
  color: #777777;
}

html[data-theme="light"] .rf-card,
html[data-theme="light"] .rf-row--bot .rf-bubble,
html[data-theme="light"] .rf-typing,
html[data-theme="light"] .rf-composer {
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .rf-chip {
  color: #3A3A3A;
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .rf-composer__input::placeholder {
  color: #777777;
}

/* ── Loop Mapper Lite ── */
html[data-theme="light"] .lm-hero h1,
html[data-theme="light"] .lm-card-title,
html[data-theme="light"] .lm-step-title,
html[data-theme="light"] .lm-sample-body h3 {
  color: #1A1A1A;
}

html[data-theme="light"] .lm-hero p,
html[data-theme="light"] .lm-card-desc,
html[data-theme="light"] .lm-step-sub,
html[data-theme="light"] .lm-insight-list li,
html[data-theme="light"] .lm-sample-body p {
  color: #555555;
}

html[data-theme="light"] .lm-insight-list strong {
  color: #3A3A3A;
}

html[data-theme="light"] .lm-tier-badge {
  color: #777777;
}

html[data-theme="light"] .lm-card,
html[data-theme="light"] .lm-option,
html[data-theme="light"] .lm-custom-input,
html[data-theme="light"] .lm-textarea,
html[data-theme="light"] .lm-sample-card,
html[data-theme="light"] .lm-saved-item {
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .lm-insight-list li {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .lm-progress-bar {
  background: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .lm-step-dot {
  border-color: rgba(0, 0, 0, 0.12);
}

/* ── ScrollShield (light only; ss-theme scope) ── */
html[data-theme="light"] body.ss-theme h2,
html[data-theme="light"] body.ss-theme h3,
html[data-theme="light"] body.ss-theme .ss-section-title {
  color: #3A3A3A !important;
}

html[data-theme="light"] body.ss-theme .ss-muted {
  color: #555555 !important;
}

html[data-theme="light"] body.ss-theme .text-gray-600,
html[data-theme="light"] body.ss-theme .text-gray-500,
html[data-theme="light"] body.ss-theme .text-gray-400 {
  color: #777777 !important;
}

html[data-theme="light"] body.ss-theme .ss-surface,
html[data-theme="light"] body.ss-theme .reports-container.ss-surface {
  border-color: rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] body.ss-theme hr,
html[data-theme="light"] body.ss-theme .ss-divider,
html[data-theme="light"] body.ss-theme .border-gray-200,
html[data-theme="light"] body.ss-theme .border-gray-300 {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] body.ss-theme #ssProgressPanel {
  border-color: rgba(0, 0, 0, 0.08) !important;
}
