/* ============================================================
   10-new-features.css
   Dark / light / default theme overrides for:
     - UnresolvedCaptureInbox
     - DailyControlPanel
     - AlertPreferencesSettings
     - AiLearningSummary
     - AdaptiveWorkoutCard
     - NextActionRecommendation
   ============================================================ */

/* ── Capture Inbox ─────────────────────────────────────────── */
.theme-dark .capture-card,
.theme-dark .capture-add-panel {
    background: #1e2a3a !important;
    border-color: #2d3f55 !important;
}
.theme-dark .capture-card-content,
.theme-dark .capture-add-title { color: #e2e8f0 !important; }
.theme-dark .capture-card-date,
.theme-dark .capture-inbox-empty { color: #94a3b8 !important; }

@media (prefers-color-scheme: dark) {
    .theme-default .capture-card,
    .theme-default .capture-add-panel  { background: #1e2a3a !important; border-color: #2d3f55 !important; }
    .theme-default .capture-card-content { color: #e2e8f0 !important; }
    .theme-default .capture-card-date  { color: #94a3b8 !important; }
}

/* ── Daily Control Panel ───────────────────────────────────── */
.theme-dark .dcp-focus-card {
    background: #1e2a3a !important;
    border-color: #2d3f55 !important;
}
.theme-dark .dcp-focus-card--accepted { background: #0f2618 !important; }
.theme-dark .dcp-focus-action          { color: #e2e8f0 !important; }
.theme-dark .dcp-focus-date            { color: #94a3b8 !important; }
.theme-dark .dcp-review-form {
    background: #1e2a3a !important;
    border-color: #2d3f55 !important;
}
.theme-dark .dcp-empty {
    background: #161f2d !important;
    border-color: #2d3f55 !important;
    color: #94a3b8 !important;
}

@media (prefers-color-scheme: dark) {
    .theme-default .dcp-focus-card     { background: #1e2a3a !important; border-color: #2d3f55 !important; }
    .theme-default .dcp-focus-action   { color: #e2e8f0 !important; }
    .theme-default .dcp-review-form    { background: #1e2a3a !important; border-color: #2d3f55 !important; }
    .theme-default .dcp-empty          { background: #161f2d !important; border-color: #2d3f55 !important; }
}

/* ── Alert Preferences ─────────────────────────────────────── */
.theme-dark .alert-pref-row {
    background: #1e2a3a !important;
    border-color: #2d3f55 !important;
}
.theme-dark .alert-pref-name  { color: #e2e8f0 !important; }
.theme-dark .alert-pref-desc  { color: #94a3b8 !important; }
.theme-dark .sf-toggle-track  { background: #334155 !important; }
.theme-dark .sf-label-sm      { color: #94a3b8 !important; }

@media (prefers-color-scheme: dark) {
    .theme-default .alert-pref-row  { background: #1e2a3a !important; border-color: #2d3f55 !important; }
    .theme-default .alert-pref-name { color: #e2e8f0 !important; }
    .theme-default .sf-toggle-track { background: #334155 !important; }
}

/* ── AI Learning Summary ───────────────────────────────────── */
.theme-dark .ai-summary-wrapper {
    background: #1e2a3a !important;
    border-color: #2d3f55 !important;
}
.theme-dark .ai-summary-text   { color: #e2e8f0 !important; }
.theme-dark .ai-summary-meta,
.theme-dark .ai-suggested-disclaimer { color: #94a3b8 !important; }
.theme-dark .ai-summary-section       { border-top-color: #2d3f55 !important; }
.theme-dark .ai-summary-section-title { color: #e2e8f0 !important; }
.theme-dark .ai-recall-item            { color: #cbd5e1 !important; }
.theme-dark .ai-suggested-item {
    background: #1a1a0f !important;
    border-left-color: #d97706 !important;
    color: #fde68a !important;
}

@media (prefers-color-scheme: dark) {
    .theme-default .ai-summary-wrapper   { background: #1e2a3a !important; border-color: #2d3f55 !important; }
    .theme-default .ai-summary-text      { color: #e2e8f0 !important; }
    .theme-default .ai-suggested-item    { background: #1a1a0f !important; border-left-color: #d97706 !important; }
    .theme-default .ai-summary-section   { border-top-color: #2d3f55 !important; }
}

/* ── Adaptive Workout Card ─────────────────────────────────── */
.theme-dark .aw-card {
    background: #1e2a3a !important;
    border-color: #2d3f55 !important;
}
.theme-dark .aw-card-title    { color: #e2e8f0 !important; }
.theme-dark .aw-card-guidance { color: #cbd5e1 !important; }
.theme-dark .aw-stat-value    { color: #e2e8f0 !important; }
.theme-dark .aw-stat-label,
.theme-dark .aw-card-meta     { color: #94a3b8 !important; }
.theme-dark .aw-stat-sep      { color: #475569 !important; }
.theme-dark .aw-progress-bar-track { background: #1e3452 !important; }
.theme-dark .aw-card-empty         { color: #94a3b8 !important; }

@media (prefers-color-scheme: dark) {
    .theme-default .aw-card          { background: #1e2a3a !important; border-color: #2d3f55 !important; }
    .theme-default .aw-card-title    { color: #e2e8f0 !important; }
    .theme-default .aw-card-guidance { color: #cbd5e1 !important; }
    .theme-default .aw-stat-value    { color: #e2e8f0 !important; }
    .theme-default .aw-progress-bar-track { background: #1e3452 !important; }
}

/* ── Next Action Recommendation Banner ────────────────────── */
.theme-dark .next-action-banner--danger  { background: #2d1515 !important; }
.theme-dark .next-action-banner--warning { background: #2d2210 !important; }
.theme-dark .next-action-banner--info    { background: #0f1e35 !important; }
.theme-dark .next-action-banner--neutral { background: #1a2535 !important; }
.theme-dark .next-action-banner-text     { color: #e2e8f0 !important; }
.theme-dark .next-action-pause-name      { color: #cbd5e1 !important; }
.theme-dark .next-action-dismiss         { color: #94a3b8 !important; }

@media (prefers-color-scheme: dark) {
    .theme-default .next-action-banner--danger  { background: #2d1515 !important; }
    .theme-default .next-action-banner--warning { background: #2d2210 !important; }
    .theme-default .next-action-banner--info    { background: #0f1e35 !important; }
    .theme-default .next-action-banner-text     { color: #e2e8f0 !important; }
    .theme-default .next-action-dismiss         { color: #94a3b8 !important; }
}
