/**
 * =======================================================================
 * 🏦 RICHHA NIDHI LIMITED — ENTERPRISE 28-THEME SYSTEM (CSS TOKENS)
 * Strict Coordinated 28-Token Architecture • WCAG Contrast Compliant
 * Zero Business / Financial / Layout / API Changes
 * =======================================================================
 */

/* Theme 01: Classic Orange */
:root,
[data-theme="classic-orange"] {
  --theme-primary: #EA580C;
  --theme-primary-hover: #C2410C;
  --theme-primary-active: #9A3412;
  --theme-primary-soft: #FFEDD5;
  --theme-secondary: #F59E0B;
  --theme-secondary-soft: #FEF3C7;
  --theme-page-bg: #FFFBF7;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #FFF7ED;
  --theme-text-primary: #0F172A;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #FED7AA;
  --theme-border-strong: #FB923C;
  --theme-link: #EA580C;
  --theme-link-hover: #C2410C;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #F59E0B;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #EF4444;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(234, 88, 12, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(234, 88, 12, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 02: Royal Blue */
[data-theme="royal-blue"] {
  --theme-primary: #1D4ED8;
  --theme-primary-hover: #1E40AF;
  --theme-primary-active: #1E3A8A;
  --theme-primary-soft: #DBEAFE;
  --theme-secondary: #3B82F6;
  --theme-secondary-soft: #EFF6FF;
  --theme-page-bg: #F8FAFC;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #F1F5F9;
  --theme-text-primary: #0F172A;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #BFDBFE;
  --theme-border-strong: #60A5FA;
  --theme-link: #1D4ED8;
  --theme-link-hover: #1E40AF;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #F59E0B;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #EF4444;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(29, 78, 216, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(29, 78, 216, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 03: Navy Blue */
[data-theme="navy-blue"] {
  --theme-primary: #0F2942;
  --theme-primary-hover: #0A1C2E;
  --theme-primary-active: #06121E;
  --theme-primary-soft: #E2E8F0;
  --theme-secondary: #2563EB;
  --theme-secondary-soft: #EFF6FF;
  --theme-page-bg: #F7F9FC;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #EDF2F7;
  --theme-text-primary: #0B132B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #CBD5E1;
  --theme-border-strong: #94A3B8;
  --theme-link: #1E40AF;
  --theme-link-hover: #0F2942;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FEF3C7;
  --theme-danger: #DC2626;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(15, 41, 66, 0.09), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(15, 41, 66, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 04: Ocean Blue */
[data-theme="ocean-blue"] {
  --theme-primary: #0284C7;
  --theme-primary-hover: #0369A1;
  --theme-primary-active: #075985;
  --theme-primary-soft: #E0F2FE;
  --theme-secondary: #06B6D4;
  --theme-secondary-soft: #ECFEFF;
  --theme-page-bg: #F0F9FF;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #E0F2FE;
  --theme-text-primary: #0C4A6E;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #BAE6FD;
  --theme-border-strong: #38BDF8;
  --theme-link: #0284C7;
  --theme-link-hover: #0369A1;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #F59E0B;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #EF4444;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(2, 132, 199, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(2, 132, 199, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 05: Emerald Green */
[data-theme="emerald-green"] {
  --theme-primary: #059669;
  --theme-primary-hover: #047857;
  --theme-primary-active: #065F46;
  --theme-primary-soft: #D1FAE5;
  --theme-secondary: #10B981;
  --theme-secondary-soft: #ECFDF5;
  --theme-page-bg: #F0FDF4;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #DCFCE7;
  --theme-text-primary: #064E3B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #A7F3D0;
  --theme-border-strong: #34D399;
  --theme-link: #059669;
  --theme-link-hover: #047857;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #059669;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #DC2626;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(5, 150, 105, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(5, 150, 105, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 06: Forest Green */
[data-theme="forest-green"] {
  --theme-primary: #15803D;
  --theme-primary-hover: #166534;
  --theme-primary-active: #14532D;
  --theme-primary-soft: #DCFCE7;
  --theme-secondary: #22C55E;
  --theme-secondary-soft: #F0FDF4;
  --theme-page-bg: #F4FBF6;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #E7F7ED;
  --theme-text-primary: #14532D;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #BBF7D0;
  --theme-border-strong: #4ADE80;
  --theme-link: #15803D;
  --theme-link-hover: #166534;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #15803D;
  --theme-success-bg: #DCFCE7;
  --theme-warning: #D97706;
  --theme-warning-bg: #FEF3C7;
  --theme-danger: #DC2626;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(21, 128, 61, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(21, 128, 61, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 07: Olive Green */
[data-theme="olive-green"] {
  --theme-primary: #4D7C0F;
  --theme-primary-hover: #3F6212;
  --theme-primary-active: #365314;
  --theme-primary-soft: #ECFCCB;
  --theme-secondary: #84CC16;
  --theme-secondary-soft: #F7FEE7;
  --theme-page-bg: #F9FDF5;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #F0F7E6;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #475569;
  --theme-text-muted: #64748B;
  --theme-border: #D9F99D;
  --theme-border-strong: #A3E635;
  --theme-link: #4D7C0F;
  --theme-link-hover: #3F6212;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FEF3C7;
  --theme-danger: #DC2626;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(77, 124, 15, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(77, 124, 15, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 08: Mint Green */
[data-theme="mint-green"] {
  --theme-primary: #0D9488;
  --theme-primary-hover: #0F766E;
  --theme-primary-active: #115E59;
  --theme-primary-soft: #CCFBF1;
  --theme-secondary: #14B8A6;
  --theme-secondary-soft: #F0FDFA;
  --theme-page-bg: #F2FBF9;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #E6F8F5;
  --theme-text-primary: #134E4A;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #99F6E4;
  --theme-border-strong: #2DD4BF;
  --theme-link: #0D9488;
  --theme-link-hover: #0F766E;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #059669;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FEF3C7;
  --theme-danger: #DC2626;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(13, 148, 136, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(13, 148, 136, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 09: Crimson Red */
[data-theme="crimson-red"] {
  --theme-primary: #DC2626;
  --theme-primary-hover: #B91C1C;
  --theme-primary-active: #991B1B;
  --theme-primary-soft: #FEE2E2;
  --theme-secondary: #F87171;
  --theme-secondary-soft: #FEF2F2;
  --theme-page-bg: #FFF7F7;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #FEECEB;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #FECACA;
  --theme-border-strong: #F87171;
  --theme-link: #DC2626;
  --theme-link-hover: #B91C1C;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #991B1B;
  --theme-danger-bg: #FEE2E2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(220, 38, 38, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(220, 38, 38, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 10: Burgundy Red */
[data-theme="burgundy-red"] {
  --theme-primary: #881337;
  --theme-primary-hover: #701A75;
  --theme-primary-active: #4C0519;
  --theme-primary-soft: #FFE4E6;
  --theme-secondary: #BE123C;
  --theme-secondary-soft: #FFF1F2;
  --theme-page-bg: #FFF8F9;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #FCE7F3;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #FECDD3;
  --theme-border-strong: #FB7185;
  --theme-link: #881337;
  --theme-link-hover: #701A75;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #BE123C;
  --theme-danger-bg: #FFE4E6;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(136, 19, 55, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(136, 19, 55, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 11: Ruby */
[data-theme="ruby"] {
  --theme-primary: #E11D48;
  --theme-primary-hover: #BE123C;
  --theme-primary-active: #9F1239;
  --theme-primary-soft: #FFE4E6;
  --theme-secondary: #FB7185;
  --theme-secondary-soft: #FFF1F2;
  --theme-page-bg: #FFF5F7;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #FFE8EC;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #FECDD3;
  --theme-border-strong: #FB7185;
  --theme-link: #E11D48;
  --theme-link-hover: #BE123C;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #9F1239;
  --theme-danger-bg: #FFE4E6;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(225, 29, 72, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(225, 29, 72, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 12: Coral */
[data-theme="coral"] {
  --theme-primary: #D34513;
  --theme-primary-hover: #B8380D;
  --theme-primary-active: #9A2E09;
  --theme-primary-soft: #FFEDD5;
  --theme-secondary: #F97316;
  --theme-secondary-soft: #FFF7ED;
  --theme-page-bg: #FFF9F5;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #FFF0E6;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #FED7AA;
  --theme-border-strong: #FDBA74;
  --theme-link: #D34513;
  --theme-link-hover: #B8380D;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #EF4444;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(211, 69, 19, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(211, 69, 19, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 13: Purple */
[data-theme="purple"] {
  --theme-primary: #9333EA;
  --theme-primary-hover: #7E22CE;
  --theme-primary-active: #6B21A8;
  --theme-primary-soft: #F3E8FF;
  --theme-secondary: #A855F7;
  --theme-secondary-soft: #FAF5FF;
  --theme-page-bg: #FAF5FF;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #F3E8FF;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #E9D5FF;
  --theme-border-strong: #C084FC;
  --theme-link: #9333EA;
  --theme-link-hover: #7E22CE;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #EF4444;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(147, 51, 234, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(147, 51, 234, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 14: Deep Violet */
[data-theme="deep-violet"] {
  --theme-primary: #6D28D9;
  --theme-primary-hover: #5B21B6;
  --theme-primary-active: #4C1D95;
  --theme-primary-soft: #EDE9FE;
  --theme-secondary: #8B5CF6;
  --theme-secondary-soft: #F5F3FF;
  --theme-page-bg: #F8F7FF;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #EEEBFF;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #DDD6FE;
  --theme-border-strong: #A78BFA;
  --theme-link: #6D28D9;
  --theme-link-hover: #5B21B6;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #EF4444;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(109, 40, 217, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(109, 40, 217, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 15: Indigo */
[data-theme="indigo"] {
  --theme-primary: #4F46E5;
  --theme-primary-hover: #4338CA;
  --theme-primary-active: #3730A3;
  --theme-primary-soft: #E0E7FF;
  --theme-secondary: #6366F1;
  --theme-secondary-soft: #EEF2FF;
  --theme-page-bg: #F5F7FF;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #E8ECFF;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #C7D2FE;
  --theme-border-strong: #818CF8;
  --theme-link: #4F46E5;
  --theme-link-hover: #4338CA;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #EF4444;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(79, 70, 229, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(79, 70, 229, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 16: Plum */
[data-theme="plum"] {
  --theme-primary: #701A75;
  --theme-primary-hover: #581C87;
  --theme-primary-active: #4A044E;
  --theme-primary-soft: #FCE7F3;
  --theme-secondary: #A21CAF;
  --theme-secondary-soft: #FDF4FF;
  --theme-page-bg: #FDF6FD;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #F9E8FA;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #F5D0FE;
  --theme-border-strong: #E879F9;
  --theme-link: #701A75;
  --theme-link-hover: #581C87;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #EF4444;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(112, 26, 117, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(112, 26, 117, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 17: Teal */
[data-theme="teal"] {
  --theme-primary: #0F766E;
  --theme-primary-hover: #115E59;
  --theme-primary-active: #134E4A;
  --theme-primary-soft: #CCFBF1;
  --theme-secondary: #14B8A6;
  --theme-secondary-soft: #F0FDFA;
  --theme-page-bg: #F2FAF9;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #E2F5F3;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #99F6E4;
  --theme-border-strong: #2DD4BF;
  --theme-link: #0F766E;
  --theme-link-hover: #115E59;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #EF4444;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(15, 118, 110, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(15, 118, 110, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 18: Turquoise */
[data-theme="turquoise"] {
  --theme-primary: #0891B2;
  --theme-primary-hover: #0E7490;
  --theme-primary-active: #155E75;
  --theme-primary-soft: #CFFAFE;
  --theme-secondary: #06B6D4;
  --theme-secondary-soft: #ECFEFF;
  --theme-page-bg: #F0FBFC;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #E0F6F9;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #A5F3FC;
  --theme-border-strong: #67E8F9;
  --theme-link: #0891B2;
  --theme-link-hover: #0E7490;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #EF4444;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(8, 145, 178, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(8, 145, 178, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 19: Cyan */
[data-theme="cyan"] {
  --theme-primary: #0284C7;
  --theme-primary-hover: #0369A1;
  --theme-primary-active: #075985;
  --theme-primary-soft: #E0F2FE;
  --theme-secondary: #38BDF8;
  --theme-secondary-soft: #F0F9FF;
  --theme-page-bg: #F2F9FD;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #E5F3FB;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #BAE6FD;
  --theme-border-strong: #7DD3FC;
  --theme-link: #0284C7;
  --theme-link-hover: #0369A1;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #EF4444;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(2, 132, 199, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(2, 132, 199, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 20: Golden */
[data-theme="golden"] {
  --theme-primary: #B45309;
  --theme-primary-hover: #92400E;
  --theme-primary-active: #78350F;
  --theme-primary-soft: #FEF3C7;
  --theme-secondary: #F59E0B;
  --theme-secondary-soft: #FFFBEB;
  --theme-page-bg: #FFFDF5;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #FEF9E7;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #FDE68A;
  --theme-border-strong: #FCD34D;
  --theme-link: #B45309;
  --theme-link-hover: #92400E;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #B45309;
  --theme-warning-bg: #FEF3C7;
  --theme-danger: #DC2626;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(180, 83, 9, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(180, 83, 9, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 21: Amber */
[data-theme="amber"] {
  --theme-primary: #D97706;
  --theme-primary-hover: #B45309;
  --theme-primary-active: #92400E;
  --theme-primary-soft: #FEF3C7;
  --theme-secondary: #FBBF24;
  --theme-secondary-soft: #FFFBEB;
  --theme-page-bg: #FFFDF7;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #FEF7E6;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #FDE68A;
  --theme-border-strong: #F59E0B;
  --theme-link: #D97706;
  --theme-link-hover: #B45309;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FEF3C7;
  --theme-danger: #DC2626;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(217, 119, 6, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(217, 119, 6, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 22: Rose */
[data-theme="rose"] {
  --theme-primary: #E11D48;
  --theme-primary-hover: #BE123C;
  --theme-primary-active: #9F1239;
  --theme-primary-soft: #FFE4E6;
  --theme-secondary: #F43F5E;
  --theme-secondary-soft: #FFF1F2;
  --theme-page-bg: #FFF7F8;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #FFEBEF;
  --theme-text-primary: #1E293B;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #FECDD3;
  --theme-border-strong: #FDA4AF;
  --theme-link: #E11D48;
  --theme-link-hover: #BE123C;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FFFBEB;
  --theme-danger: #9F1239;
  --theme-danger-bg: #FFE4E6;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(225, 29, 72, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(225, 29, 72, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 23: Slate */
[data-theme="slate"] {
  --theme-primary: #475569;
  --theme-primary-hover: #334155;
  --theme-primary-active: #1E293B;
  --theme-primary-soft: #F1F5F9;
  --theme-secondary: #64748B;
  --theme-secondary-soft: #F8FAFC;
  --theme-page-bg: #F8FAFC;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #F1F5F9;
  --theme-text-primary: #0F172A;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #CBD5E1;
  --theme-border-strong: #94A3B8;
  --theme-link: #334155;
  --theme-link-hover: #0F172A;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FEF3C7;
  --theme-danger: #DC2626;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(71, 85, 105, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(71, 85, 105, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 24: Charcoal */
[data-theme="charcoal"] {
  --theme-primary: #334155;
  --theme-primary-hover: #1E293B;
  --theme-primary-active: #0F172A;
  --theme-primary-soft: #E2E8F0;
  --theme-secondary: #475569;
  --theme-secondary-soft: #F1F5F9;
  --theme-page-bg: #F8FAFC;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #EDF2F7;
  --theme-text-primary: #0A0F1D;
  --theme-text-secondary: #334155;
  --theme-text-muted: #64748B;
  --theme-border: #CBD5E1;
  --theme-border-strong: #94A3B8;
  --theme-link: #1E293B;
  --theme-link-hover: #0A0F1D;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FEF3C7;
  --theme-danger: #DC2626;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(51, 65, 85, 0.09), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(51, 65, 85, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 25: Graphite */
[data-theme="graphite"] {
  --theme-primary: #262E35;
  --theme-primary-hover: #1C2227;
  --theme-primary-active: #121619;
  --theme-primary-soft: #E9ECEF;
  --theme-secondary: #495057;
  --theme-secondary-soft: #F8F9FA;
  --theme-page-bg: #F8F9FA;
  --theme-surface: #FFFFFF;
  --theme-surface-alt: #E9ECEF;
  --theme-text-primary: #121619;
  --theme-text-secondary: #343A40;
  --theme-text-muted: #6C757D;
  --theme-border: #CED4DA;
  --theme-border-strong: #ADB5BD;
  --theme-link: #262E35;
  --theme-link-hover: #121619;
  --theme-button-text: #FFFFFF;
  --theme-button-hover-text: #FFFFFF;
  --theme-success: #10B981;
  --theme-success-bg: #ECFDF5;
  --theme-warning: #D97706;
  --theme-warning-bg: #FEF3C7;
  --theme-danger: #DC2626;
  --theme-danger-bg: #FEF2F2;
  --theme-info: #0284C7;
  --theme-info-bg: #F0F9FF;
  --theme-shadow: 0 15px 35px rgba(38, 46, 53, 0.09), 0 5px 15px rgba(0, 0, 0, 0.04);
  --theme-focus-ring: rgba(38, 46, 53, 0.35);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 26: Midnight Navy */
[data-theme="midnight-navy"] {
  --theme-primary: #38BDF8;
  --theme-primary-hover: #7DD3FC;
  --theme-primary-active: #BAE6FD;
  --theme-primary-soft: rgba(56, 189, 248, 0.15);
  --theme-secondary: #818CF8;
  --theme-secondary-soft: rgba(129, 140, 248, 0.15);
  --theme-page-bg: #0B1120;
  --theme-surface: #0F172A;
  --theme-surface-alt: #1E293B;
  --theme-text-primary: #F8FAFC;
  --theme-text-secondary: #CBD5E1;
  --theme-text-muted: #94A3B8;
  --theme-border: #334155;
  --theme-border-strong: #475569;
  --theme-link: #38BDF8;
  --theme-link-hover: #7DD3FC;
  --theme-button-text: #0F172A;
  --theme-button-hover-text: #0B1120;
  --theme-success: #34D399;
  --theme-success-bg: rgba(52, 211, 153, 0.15);
  --theme-warning: #FBBF24;
  --theme-warning-bg: rgba(251, 191, 36, 0.15);
  --theme-danger: #F87171;
  --theme-danger-bg: rgba(248, 113, 113, 0.15);
  --theme-info: #38BDF8;
  --theme-info-bg: rgba(56, 189, 248, 0.15);
  --theme-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2);
  --theme-focus-ring: rgba(56, 189, 248, 0.5);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 27: Dark Graphite */
[data-theme="dark-graphite"] {
  --theme-primary: #FB923C;
  --theme-primary-hover: #FDBA74;
  --theme-primary-active: #FED7AA;
  --theme-primary-soft: rgba(251, 146, 60, 0.15);
  --theme-secondary: #A3E635;
  --theme-secondary-soft: rgba(163, 230, 53, 0.15);
  --theme-page-bg: #121417;
  --theme-surface: #1A1D21;
  --theme-surface-alt: #262A30;
  --theme-text-primary: #F8FAFC;
  --theme-text-secondary: #CBD5E1;
  --theme-text-muted: #94A3B8;
  --theme-border: #343A40;
  --theme-border-strong: #495057;
  --theme-link: #FB923C;
  --theme-link-hover: #FDBA74;
  --theme-button-text: #121417;
  --theme-button-hover-text: #000000;
  --theme-success: #34D399;
  --theme-success-bg: rgba(52, 211, 153, 0.15);
  --theme-warning: #FBBF24;
  --theme-warning-bg: rgba(251, 191, 36, 0.15);
  --theme-danger: #F87171;
  --theme-danger-bg: rgba(248, 113, 113, 0.15);
  --theme-info: #38BDF8;
  --theme-info-bg: rgba(56, 189, 248, 0.15);
  --theme-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.3);
  --theme-focus-ring: rgba(251, 146, 60, 0.5);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* Theme 28: Dark Emerald */
[data-theme="dark-emerald"] {
  --theme-primary: #34D399;
  --theme-primary-hover: #6EE7B7;
  --theme-primary-active: #A7F3D0;
  --theme-primary-soft: rgba(52, 211, 153, 0.15);
  --theme-secondary: #2DD4BF;
  --theme-secondary-soft: rgba(45, 212, 191, 0.15);
  --theme-page-bg: #061C14;
  --theme-surface: #0B291E;
  --theme-surface-alt: #113A2C;
  --theme-text-primary: #F0FDF4;
  --theme-text-secondary: #CCFBF1;
  --theme-text-muted: #94A3B8;
  --theme-border: #1A4D3B;
  --theme-border-strong: #286650;
  --theme-link: #34D399;
  --theme-link-hover: #6EE7B7;
  --theme-button-text: #061C14;
  --theme-button-hover-text: #020F0A;
  --theme-success: #34D399;
  --theme-success-bg: rgba(52, 211, 153, 0.15);
  --theme-warning: #FBBF24;
  --theme-warning-bg: rgba(251, 191, 36, 0.15);
  --theme-danger: #F87171;
  --theme-danger-bg: rgba(248, 113, 113, 0.15);
  --theme-info: #38BDF8;
  --theme-info-bg: rgba(56, 189, 248, 0.15);
  --theme-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 5px 15px rgba(0, 0, 0, 0.25);
  --theme-focus-ring: rgba(52, 211, 153, 0.5);

  /* Backward Compatibility Token Aliases for index.php */
  --brand-orange: var(--theme-primary);
  --brand-dark: var(--theme-primary-hover);
  --brand-light: var(--theme-primary-soft);
  --bg-body: var(--theme-page-bg);
  --text-dark: var(--theme-text-primary);
  --text-gray: var(--theme-text-secondary);
  --shadow-4d: var(--theme-shadow);
}

/* ============================================================
   GLOBAL SMOOTH MICRO-TRANSITIONS (VISUAL PROPERTIES ONLY)
   ============================================================ */
body,
.main-header,
.mega-navbar,
.card-4d,
.product-card,
.quick-actions,
.leader-box,
.calculator-section,
.compact-footer,
.top-utility-bar,
.market-ribbon-wrapper {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease !important;
}

/* Base Body Application */
body {
  background-color: var(--theme-page-bg) !important;
  color: var(--theme-text-primary) !important;
}

/* ============================================================
   COMPONENT TOKEN CONSUMPTION
   ============================================================ */

/* 1. Top Utility Bar */
.top-utility-bar {
  border-bottom: 2px solid var(--theme-primary) !important;
}
.top-utility-bar a:hover {
  color: var(--theme-secondary) !important;
}

/* 2. Main Brand Header */
.main-header {
  background: var(--theme-surface) !important;
  border-bottom: 1px solid var(--theme-border) !important;
}
.org-title {
  color: var(--theme-text-primary) !important;
}
.org-subtitle {
  color: var(--theme-primary-hover) !important;
}
.helpline-box {
  border-left: 3px solid var(--theme-primary) !important;
}
.helpline-box span {
  color: var(--theme-text-primary) !important;
}

/* 3. Mega Navigation Bar */
.mega-navbar {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-hover)) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
}
.mega-navbar .nav-link:hover,
.mega-navbar .nav-item.active .nav-link {
  background: var(--theme-surface) !important;
  color: var(--theme-primary-hover) !important;
}
.mega-navbar .dropdown-menu {
  border: 2px solid var(--theme-primary) !important;
  border-top: 4px solid var(--theme-primary-hover) !important;
  background: var(--theme-surface) !important;
}
.dropdown-item {
  color: var(--theme-text-primary) !important;
  border-bottom: 1px solid var(--theme-border) !important;
}
.dropdown-item:hover {
  background: var(--theme-primary-soft) !important;
  color: var(--theme-primary-hover) !important;
  border-left: 4px solid var(--theme-primary) !important;
}

/* Buttons in Navigation */
.btn-login-portal {
  background: var(--theme-surface) !important;
  color: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
}
.btn-login-portal:hover {
  background: var(--theme-primary) !important;
  color: var(--theme-button-text) !important;
  border-color: var(--theme-primary-hover) !important;
}
.btn-erp-portal {
  background: var(--theme-secondary) !important;
  color: #0f172a !important;
  border-color: var(--theme-secondary) !important;
}
.btn-erp-portal:hover {
  background: var(--theme-primary-hover) !important;
  color: var(--theme-button-text) !important;
}

/* 4. Live Ticker Ribbon */
.market-ribbon-wrapper {
  border-bottom: 3px solid var(--theme-primary) !important;
}
.market-ribbon-badge {
  border-right: 2px solid var(--theme-primary) !important;
}

/* 5. Hero Carousel */
.hero-carousel {
  border-bottom: 5px solid var(--theme-primary) !important;
}
.hero-btn {
  background: var(--theme-primary) !important;
  color: var(--theme-button-text) !important;
  box-shadow: 0 4px 0 var(--theme-primary-active) !important;
}
.hero-btn:hover {
  background: var(--theme-primary-hover) !important;
  color: var(--theme-button-hover-text) !important;
}

/* 6. Quick Actions */
.quick-actions {
  background: var(--theme-surface) !important;
  border: 2px solid var(--theme-primary) !important;
  border-top: 5px solid var(--theme-primary-hover) !important;
  box-shadow: var(--theme-shadow) !important;
}
.qa-item {
  color: var(--theme-text-primary) !important;
  border-right: 1px solid var(--theme-border) !important;
}
.qa-item h5 {
  color: var(--theme-text-primary) !important;
}
.qa-icon {
  background: var(--theme-primary-soft) !important;
  color: var(--theme-primary) !important;
}

/* 7. Section Titles & Lines */
.section-title h2 {
  color: var(--theme-text-primary) !important;
}
.section-title .line {
  background: var(--theme-primary) !important;
}

/* 8. Products Grid */
.product-card {
  background: var(--theme-surface) !important;
  border: 1.5px solid var(--theme-border) !important;
  box-shadow: var(--theme-shadow) !important;
}
.product-img {
  border-bottom: 3px solid var(--theme-primary) !important;
}
.product-body h3 {
  color: var(--theme-text-primary) !important;
}
.product-body p {
  color: var(--theme-text-secondary) !important;
}
.product-btn {
  color: var(--theme-primary) !important;
}
.product-btn:hover {
  color: var(--theme-primary-hover) !important;
}

/* 9. Directors List */
.directors-section {
  background: var(--theme-page-bg) !important;
  border-top: 1px solid var(--theme-border) !important;
}
.leader-box {
  background: var(--theme-surface) !important;
  border: 1.5px solid var(--theme-border) !important;
  border-bottom: 4px solid var(--theme-primary) !important;
  box-shadow: var(--theme-shadow) !important;
}
.leader-img-wrap {
  background: var(--theme-primary-soft) !important;
  border-right: 1px solid var(--theme-border) !important;
}
.leader-designation {
  background-color: var(--theme-primary-hover) !important;
  color: #ffffff !important;
}
.leader-details h5 {
  color: var(--theme-text-primary) !important;
}

/* 10. EMI Calculator Section */
.calculator-section {
  border-top: 5px solid var(--theme-primary) !important;
}
.calc-range {
  accent-color: var(--theme-primary) !important;
}
.emi-result-box {
  background: linear-gradient(135deg, var(--theme-primary-hover), var(--theme-primary)) !important;
  border-color: var(--theme-border) !important;
}

/* 11. Compact Footer */
.compact-footer {
  border-top: 5px solid var(--theme-primary) !important;
}
.compact-footer h4 {
  color: var(--theme-secondary) !important;
}
.footer-links a:hover {
  color: var(--theme-primary) !important;
}
.security-bottom-bar {
  border-top: 2px solid var(--theme-primary-hover) !important;
}

/* 12. 4D Cards Interactive Glow */
.card-4d:hover {
  border-color: var(--theme-primary) !important;
  box-shadow: var(--theme-shadow) !important;
}

/* Accessibility Focus Ring */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--theme-primary) !important;
  outline-offset: 2px !important;
}

/* ============================================================
   THEME SELECTOR UI (MODAL & TRIGGER STYLES)
   ============================================================ */

/* Trigger Button */
.richa-theme-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 50rem;
  background: var(--theme-surface);
  color: var(--theme-text-primary);
  border: 1.5px solid var(--theme-border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.richa-theme-trigger-btn:hover {
  background: var(--theme-primary-soft);
  color: var(--theme-primary);
  border-color: var(--theme-primary);
  transform: translateY(-1px);
}
.richa-theme-trigger-btn i {
  color: var(--theme-primary);
  font-size: 13px;
}

/* Full Viewport Modal Overlay */
.richa-theme-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  padding: 16px;
  box-sizing: border-box;
}
.richa-theme-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* Modal Content Card */
.richa-theme-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.richa-theme-modal-backdrop.is-open .richa-theme-modal-dialog {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.richa-theme-modal-header {
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.richa-theme-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #0f172a;
  margin: 0;
}
.richa-theme-modal-title i {
  color: var(--theme-primary);
  font-size: 20px;
}
.richa-theme-modal-close-btn {
  background: #f1f5f9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.richa-theme-modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.05);
}

/* Modal Scrollable Body */
.richa-theme-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex-grow: 1;
  background: #f8fafc;
}

/* Theme Cards Grid */
.richa-theme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 991px) {
  .richa-theme-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 680px) {
  .richa-theme-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .richa-theme-modal-dialog {
    max-height: 94vh;
    border-radius: 16px;
  }
  .richa-theme-modal-header {
    padding: 14px 18px;
  }
  .richa-theme-modal-body {
    padding: 14px 16px;
  }
}

/* Individual Theme Swatch Card */
.richa-theme-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
  user-select: none;
}
.richa-theme-card:hover {
  border-color: var(--card-primary, #ea580c);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
.richa-theme-card:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}

/* Active Selected Theme Card */
.richa-theme-card.is-active {
  border-color: var(--card-primary, #ea580c) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 2px var(--card-primary, #ea580c), 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

/* 4-Color Palette Swatch Preview */
.richa-swatch-row {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
  height: 22px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.richa-swatch-bar {
  flex: 1;
  height: 100%;
}

/* Card Name & Selection Checkmark */
.richa-theme-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.richa-theme-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #1e293b;
  margin: 0;
  line-height: 1.2;
}
.richa-theme-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #ffffff;
  background: #cbd5e1;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.richa-theme-card.is-active .richa-theme-badge {
  background: var(--card-primary, #ea580c);
  transform: scale(1.1);
}

/* Desktop Popover Alternative (if open via header dropdown) */
@media (min-width: 992px) {
  .richa-theme-modal-backdrop.as-popover {
    align-items: flex-start;
    padding-top: 80px;
  }
}

/* =======================================================================
   🏦 RICHHA NIDHI — GLOBAL SUBPAGE & SECTION THEME SYSTEM EXTENSIONS
   Propagates theme across ALL pages: Accounts, Deposits, Loans, Cards,
   Investments, Insurance, About, Company, Contact, and Legal sections.
   ======================================================================= */

/* 1. Universal Variable Mapping for all Legacy & Subpage Variables */
[data-theme] {
  /* Brand / Primary Tokens */
  --brand-orange: var(--theme-primary) !important;
  --brand-dark: var(--theme-primary-hover) !important;
  --brand-light: var(--theme-primary-soft) !important;
  --primary-orange: var(--theme-primary) !important;
  --dark-orange: var(--theme-primary-hover) !important;
  --light-orange: var(--theme-primary-soft) !important;
  --orange: var(--theme-primary) !important;
  --orange-2: var(--theme-primary-hover) !important;
  --orange-3: var(--theme-primary-active) !important;
  --orange-dark: var(--theme-primary-hover) !important;
  --orange-light: var(--theme-primary-soft) !important;
  --orange-soft: var(--theme-surface-alt) !important;
  --primary: var(--theme-primary) !important;
  --primary-dark: var(--theme-primary-hover) !important;
  --primary-light: var(--theme-primary-soft) !important;
  --accent: var(--theme-secondary) !important;

  /* Contact page specific tokens */
  --contact-orange: var(--theme-primary) !important;
  --contact-orange-dark: var(--theme-primary-hover) !important;
  --contact-light: var(--theme-primary-soft) !important;
  --contact-border: var(--theme-border) !important;
  --contact-muted: var(--theme-text-muted) !important;
  --contact-dark: var(--theme-text-primary) !important;

  /* Investment page specific tokens */
  --inv-orange: var(--theme-primary) !important;
  --inv-orange-dark: var(--theme-primary-hover) !important;
  --inv-orange-light: var(--theme-primary-soft) !important;
  --inv-blue: var(--theme-primary-active) !important;
  --inv-ink: var(--theme-text-primary) !important;
  --inv-muted: var(--theme-text-muted) !important;

  /* Backgrounds & Surfaces */
  --bg-body: var(--theme-page-bg) !important;
  --bg-light: var(--theme-page-bg) !important;
  --bg-gray: var(--theme-surface-alt) !important;
  --bg: var(--theme-page-bg) !important;
  --surface: var(--theme-surface) !important;
  --navy-dark: var(--theme-text-primary) !important;
  --navy-blue: var(--theme-text-primary) !important;
  --navy-light: var(--theme-primary-active) !important;
  --navy-surface: var(--theme-surface-alt) !important;
  --dark: var(--theme-text-primary) !important;
  --dark-2: var(--theme-surface-alt) !important;
  --dark-3: var(--theme-border-strong) !important;

  /* Text & Typography */
  --text-dark: var(--theme-text-primary) !important;
  --text-gray: var(--theme-text-secondary) !important;
  --text-main: var(--theme-text-primary) !important;
  --text-muted: var(--theme-text-muted) !important;
  --text: var(--theme-text-primary) !important;
  --ink: var(--theme-text-primary) !important;
  --ink-soft: var(--theme-text-secondary) !important;
  --muted: var(--theme-text-muted) !important;

  /* Borders & Shadows */
  --border: var(--theme-border) !important;
  --shadow-4d: var(--theme-shadow) !important;
  --shadow-4d-hover: var(--theme-shadow) !important;
  --shadow-orange: var(--theme-shadow) !important;
}

/* 2. Welcome Ribbon / Advertisement Ticker Override */
[data-theme] .advertisement-ticker {
  background: var(--theme-primary-hover) !important;
  border-bottom: 2px solid var(--theme-secondary) !important;
  color: #FFFFFF !important;
}
[data-theme] .ad-title {
  background: var(--theme-secondary) !important;
  color: var(--theme-text-primary, #0F172A) !important;
}

/* 3. Global Mega Navbar & Top Utilities */
[data-theme] .mega-navbar {
  background: var(--theme-primary) !important;
  border-top: 1px solid var(--theme-secondary) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}
[data-theme] .mega-navbar .nav-link {
  color: #FFFFFF !important;
}
[data-theme] .mega-navbar .nav-link:hover,
[data-theme] .mega-navbar .nav-item.active .nav-link {
  background: #FFFFFF !important;
  color: var(--theme-primary) !important;
}
[data-theme] .mega-navbar .dropdown-menu {
  border: 2px solid var(--theme-primary) !important;
  border-top: 4px solid var(--theme-primary-hover) !important;
}
[data-theme] .dropdown-item:hover {
  background: var(--theme-primary-soft) !important;
  color: var(--theme-primary-hover) !important;
  border-left: 4px solid var(--theme-primary) !important;
}
[data-theme] .top-utility-bar {
  border-bottom: 2px solid var(--theme-primary) !important;
}
[data-theme] .helpline-box {
  border-left: 3px solid var(--theme-primary) !important;
}
[data-theme] .org-subtitle {
  color: var(--theme-primary) !important;
}

/* 4. Subpage Header Banners (Accounts, Deposits, Loans, Cards, Investments, Insurance, About) */
[data-theme] .page-header,
[data-theme] .page-header-premium,
[data-theme] .page-banner,
[data-theme] .inner-header {
  background: linear-gradient(135deg, var(--theme-primary-soft) 0%, var(--theme-page-bg) 100%) !important;
  border-bottom: 4px solid var(--theme-primary) !important;
}
[data-theme] .page-header h1,
[data-theme] .page-header-premium h1,
[data-theme] .page-banner h1,
[data-theme] .inner-header h1 {
  color: var(--theme-text-primary) !important;
}
[data-theme] .page-header h1 span,
[data-theme] .page-header-premium h1 span,
[data-theme] .page-banner h1 span,
[data-theme] .inner-header h1 span,
[data-theme] .section-title h2 span,
[data-theme] .text-logo span {
  color: var(--theme-primary) !important;
}
[data-theme] .crumb a,
[data-theme] .breadcrumb a {
  color: var(--theme-primary) !important;
}
[data-theme] .eyebrow,
[data-theme] .section-badge,
[data-theme] .pill-badge {
  background: var(--theme-primary-soft) !important;
  color: var(--theme-primary-hover) !important;
  border: 1px solid var(--theme-border) !important;
}
[data-theme] .section-title .line,
[data-theme] .divider,
[data-theme] .title-line {
  background: var(--theme-primary) !important;
}

/* 5. Subpage Cards (Savings, Current, FD, RD, DRD, Loans, Debit/Credit Cards, Investments, Insurance) */
[data-theme] .product-card,
[data-theme] .feature-card,
[data-theme] .plan-card,
[data-theme] .deposit-card,
[data-theme] .loan-card,
[data-theme] .scheme-card,
[data-theme] .rate-card,
[data-theme] .card-premium,
[data-theme] .benefit-card,
[data-theme] .info-card {
  background: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}
[data-theme] .product-card:hover,
[data-theme] .feature-card:hover,
[data-theme] .plan-card:hover,
[data-theme] .deposit-card:hover,
[data-theme] .loan-card:hover,
[data-theme] .scheme-card:hover {
  border-color: var(--theme-primary) !important;
  box-shadow: var(--theme-shadow) !important;
}
[data-theme] .product-img,
[data-theme] .card-header-accent {
  border-bottom: 3px solid var(--theme-primary) !important;
}
[data-theme] .product-btn,
[data-theme] .card-link,
[data-theme] .learn-more {
  color: var(--theme-primary) !important;
}
[data-theme] .product-btn:hover,
[data-theme] .card-link:hover,
[data-theme] .learn-more:hover {
  color: var(--theme-primary-hover) !important;
}

/* 6. Buttons & Interactive Controls */
[data-theme] .btn-primary-custom,
[data-theme] .btn-orange,
[data-theme] .btn-apply,
[data-theme] .btn-apply-now,
[data-theme] .hero-btn,
[data-theme] .btn-submit,
[data-theme] .btn-calculate {
  background: var(--theme-primary) !important;
  color: var(--theme-button-text) !important;
  border: none !important;
}
[data-theme] .btn-primary-custom:hover,
[data-theme] .btn-orange:hover,
[data-theme] .btn-apply:hover,
[data-theme] .btn-apply-now:hover,
[data-theme] .hero-btn:hover,
[data-theme] .btn-submit:hover,
[data-theme] .btn-calculate:hover {
  background: var(--theme-primary-hover) !important;
  color: var(--theme-button-hover-text) !important;
}
[data-theme] .btn-outline-custom,
[data-theme] .btn-outline-orange {
  border: 2px solid var(--theme-primary) !important;
  color: var(--theme-primary) !important;
  background: transparent !important;
}
[data-theme] .btn-outline-custom:hover,
[data-theme] .btn-outline-orange:hover {
  background: var(--theme-primary) !important;
  color: var(--theme-button-text) !important;
}

/* 7. Badges, Rates & Highlights */
[data-theme] .rate-badge,
[data-theme] .interest-badge,
[data-theme] .badge-orange,
[data-theme] .rate-highlight,
[data-theme] .percentage-badge {
  background: var(--theme-primary-soft) !important;
  color: var(--theme-primary-hover) !important;
  border: 1px solid var(--theme-border-strong) !important;
}
[data-theme] .highlight-text,
[data-theme] .text-orange,
[data-theme] .text-brand {
  color: var(--theme-primary) !important;
}
[data-theme] .bg-orange-soft {
  background: var(--theme-primary-soft) !important;
}
[data-theme] .bg-orange {
  background: var(--theme-primary) !important;
}
[data-theme] .border-orange {
  border-color: var(--theme-primary) !important;
}

/* 8. Tables & Lists (Interest Matrices, FD Schedules, DRD Sheets) */
[data-theme] .table-premium thead th,
[data-theme] .rate-table thead th,
[data-theme] .table thead th {
  background: var(--theme-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--theme-primary-hover) !important;
}
[data-theme] .table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: var(--theme-surface-alt) !important;
}
[data-theme] .table td,
[data-theme] .table th {
  border-color: var(--theme-border) !important;
}

/* 9. Global 3D Footer Synchronization */
[data-theme] .premium-3d-footer {
  border-top: 5px solid var(--theme-primary) !important;
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.25) !important;
}
[data-theme] .premium-3d-footer h5::after {
  background: var(--theme-primary) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
}
[data-theme] .premium-3d-footer ul li a i {
  color: var(--theme-primary) !important;
}
[data-theme] .premium-3d-footer ul li a:hover {
  color: var(--theme-secondary) !important;
}

/* 10. About Us Page Specific Elements */
[data-theme] .main-nav {
  border-bottom: 2px solid var(--theme-primary) !important;
}
[data-theme] .main-nav .nav-links a:hover {
  color: var(--theme-primary) !important;
}
[data-theme] .leader-box {
  border-bottom: 4px solid var(--theme-primary) !important;
}
[data-theme] .leader-img-wrap {
  background: var(--theme-primary-soft) !important;
}

/* 11. Native Financial Market Ribbon Synchronization */
[data-theme] .market-ribbon-wrapper {
  border-bottom: 3px solid var(--theme-primary) !important;
}
[data-theme] .market-ribbon-badge {
  border-right: 2px solid var(--theme-primary) !important;
}