﻿/* Loaded after page-specific styles so accessibility choices always win. */
html[data-up16-theme="dark"] { color-scheme: dark; background:#10081b; }
html[data-up16-theme="dark"] body,
body.up16-theme-dark,
body.up16-theme-dark .up16-page,
body.up16-theme-dark .up16-read-clean-page,
body.up16-theme-dark .up16-body { background:#10081b!important;color:#f8f2ff!important; }
body.up16-theme-dark .up16-hero,
body.up16-theme-dark .up16-section,
body.up16-theme-dark .up16-modern-highlight,
body.up16-theme-dark .up16-sdg-section,
body.up16-theme-dark .up16-footer-note,
body.up16-theme-dark .up16-read-clean-main { background-color:#10081b!important;color:#f8f2ff!important; }
body.up16-theme-dark .up16-stat-card,
body.up16-theme-dark .up16-story-card,
body.up16-theme-dark .up16-highlight-card,
body.up16-theme-dark .up16-sdg-dimension,
body.up16-theme-dark .up16-sdg-project-card,
body.up16-theme-dark .up16-share-tools,
body.up16-theme-dark .up16-footer-box,
body.up16-theme-dark .up16-category-filter,
body.up16-theme-dark .up16-search-panel,
body.up16-theme-dark .up16-read-clean-article,
body.up16-theme-dark .up16-read-clean-card,
body.up16-theme-dark .up16-read-clean-cover,
body.up16-theme-dark .up16-read-clean-notfound,
body.up16-theme-dark [class*="showcase"],
body.up16-theme-dark [class*="content-highlight"],
body.up16-theme-dark [class*="content-steps"],
body.up16-theme-dark [class*="content-quote"] { background-color:#1d1129!important;border-color:rgba(255,255,255,.14)!important;color:#f8f2ff!important;box-shadow:0 22px 60px rgba(0,0,0,.32)!important; }
body.up16-theme-dark .up16-page h1,body.up16-theme-dark .up16-page h2,body.up16-theme-dark .up16-page h3,body.up16-theme-dark .up16-page h4,
body.up16-theme-dark .up16-read-clean-page h1,body.up16-theme-dark .up16-read-clean-page h2,body.up16-theme-dark .up16-read-clean-page h3,body.up16-theme-dark .up16-read-clean-page h4,
body.up16-theme-dark .up16-page strong,body.up16-theme-dark .up16-read-clean-page strong { color:#fff!important; }
body.up16-theme-dark .up16-page p,body.up16-theme-dark .up16-page li,body.up16-theme-dark .up16-page small,
body.up16-theme-dark .up16-read-clean-page p,body.up16-theme-dark .up16-read-clean-page li,body.up16-theme-dark .up16-read-clean-page small,
body.up16-theme-dark .up16-read-clean-editor { color:rgba(255,255,255,.82)!important; }
body.up16-theme-dark input,body.up16-theme-dark textarea,body.up16-theme-dark select { background:#271735!important;border-color:rgba(255,255,255,.16)!important;color:#fff!important; }
body.up16-theme-light { color-scheme:light; }