/* PrimChat global dark theme: all sections, cards, tables, forms and overlays */
html[data-site-theme="dark"],html[data-theme="dark"],html.site-theme-dark,body.dark,body.site-theme-dark{
 color-scheme:dark;--bg:#070b14;--card:#0f172a;--card2:#111c2e;--text:#e7eef8;--muted:#94a3b8;--line:#263448;--shadow:0 18px 55px rgba(0,0,0,.3);background:#070b14!important;color:#e7eef8!important;
}
html[data-site-theme="dark"] body,html[data-theme="dark"] body,html.site-theme-dark body,body.dark,body.site-theme-dark{background-color:#070b14!important;color:#e7eef8!important}
html[data-site-theme="dark"] main,html[data-site-theme="dark"] section,html[data-site-theme="dark"] article,html[data-site-theme="dark"] aside,html[data-site-theme="dark"] .page,html[data-site-theme="dark"] .container,html[data-site-theme="dark"] .content,html[data-site-theme="dark"] .main-content,html[data-site-theme="dark"] .panel,html[data-site-theme="dark"] .card,html[data-site-theme="dark"] .box,html[data-site-theme="dark"] .modal,html[data-site-theme="dark"] .dropdown-menu,html[data-site-theme="dark"] .popup,html[data-site-theme="dark"] .table-wrap,
html[data-theme="dark"] main,html[data-theme="dark"] section,html[data-theme="dark"] article,html[data-theme="dark"] aside,html[data-theme="dark"] .page,html[data-theme="dark"] .container,html[data-theme="dark"] .content,html[data-theme="dark"] .main-content,html[data-theme="dark"] .panel,html[data-theme="dark"] .card,html[data-theme="dark"] .box,html[data-theme="dark"] .modal,html[data-theme="dark"] .dropdown-menu,html[data-theme="dark"] .popup,html[data-theme="dark"] .table-wrap,
body.dark main,body.dark section,body.dark article,body.dark aside,body.dark .page,body.dark .container,body.dark .content,body.dark .main-content,body.dark .panel,body.dark .card,body.dark .box,body.dark .modal,body.dark .dropdown-menu,body.dark .popup,body.dark .table-wrap{background-color:#0f172a;color:#e7eef8;border-color:#263448}
html[data-site-theme="dark"] header,html[data-site-theme="dark"] nav,html[data-site-theme="dark"] footer,html[data-theme="dark"] header,html[data-theme="dark"] nav,html[data-theme="dark"] footer,body.dark header,body.dark nav,body.dark footer{background-color:#0b1220!important;color:#e7eef8;border-color:#263448}
html[data-site-theme="dark"] table,html[data-site-theme="dark"] th,html[data-site-theme="dark"] td,html[data-theme="dark"] table,html[data-theme="dark"] th,html[data-theme="dark"] td,body.dark table,body.dark th,body.dark td{background-color:#0f172a;color:#e7eef8;border-color:#263448}
html[data-site-theme="dark"] input,html[data-site-theme="dark"] textarea,html[data-site-theme="dark"] select,html[data-site-theme="dark"] button:not(.primary):not(.btn-primary),html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select,html[data-theme="dark"] button:not(.primary):not(.btn-primary),body.dark input,body.dark textarea,body.dark select,body.dark button:not(.primary):not(.btn-primary){background-color:#111c2e;color:#e7eef8;border-color:#334155}
html[data-site-theme="dark"] input::placeholder,html[data-site-theme="dark"] textarea::placeholder,html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder,body.dark input::placeholder,body.dark textarea::placeholder{color:#94a3b8}
html[data-site-theme="dark"] a,html[data-theme="dark"] a,body.dark a{color:#93c5fd}
html[data-site-theme="dark"] .muted,html[data-site-theme="dark"] small,html[data-theme="dark"] .muted,html[data-theme="dark"] small,body.dark .muted,body.dark small{color:#a8b5c7}
html[data-site-theme="dark"] .border,html[data-site-theme="dark"] hr,html[data-theme="dark"] .border,html[data-theme="dark"] hr,body.dark .border,body.dark hr{border-color:#263448!important}
html[data-site-theme="dark"] .white,html[data-site-theme="dark"] .bg-white,html[data-theme="dark"] .white,html[data-theme="dark"] .bg-white,body.dark .white,body.dark .bg-white{background-color:#0f172a!important;color:#e7eef8!important}
