
.nexus-theme-select { width: 100px; min-height: 44px; font-size: .8rem; }
[data-bs-theme="dark"] {
 color-scheme: dark;
 --gh-body-bg: #111827; --gh-card-bg: #1c2738; --gh-border: #4b5d73;
 --gh-text: #e5edf5; --gh-text-muted: #bdc9d8; --gh-red-light: #392631;
 --bs-body-bg: #111827; --bs-body-color: #e5edf5; --bs-border-color: #4b5d73;
 --bs-secondary-color: #bdc9d8; --bs-secondary-bg: #263345; --bs-tertiary-bg: #1c2738;
 --bs-emphasis-color: #fff; --bs-link-color: #ffb4c0; --bs-link-hover-color: #ffd5dd;
 --bs-link-color-rgb: 255,180,192;
}
[data-bs-theme="dark"] body { background: var(--gh-body-bg); color: var(--gh-text); }
[data-bs-theme="dark"] .card, [data-bs-theme="dark"] .card-header,
[data-bs-theme="dark"] .nexus-topbar, [data-bs-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .modal-content, [data-bs-theme="dark"] .list-group-item { background-color: var(--gh-card-bg); color: var(--gh-text); border-color: var(--gh-border); }
[data-bs-theme="dark"] .table { --bs-table-color: #e5edf5; --bs-table-bg: #1c2738; --bs-table-border-color: #4b5d73; --bs-table-striped-bg: #263345; --bs-table-striped-color: #e5edf5; --bs-table-hover-bg: #30415a; --bs-table-hover-color: #fff; color: #e5edf5; }
[data-bs-theme="dark"] .table th, [data-bs-theme="dark"] .table td { color: #e5edf5; background-color: transparent; }
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select { background-color: #111827; color: #e5edf5; border-color: #74859b; }
[data-bs-theme="dark"] .form-control::placeholder { color: #acbace; }
[data-bs-theme="dark"] .text-muted, [data-bs-theme="dark"] .text-secondary { color: #bdc9d8 !important; }
[data-bs-theme="dark"] .btn-outline-primary, [data-bs-theme="dark"] .btn-outline-danger { color: #ffb4c0; border-color: #d48a99; }
[data-bs-theme="dark"] .btn-outline-secondary { color: #d9e3ef; border-color: #9caec3; }
[data-bs-theme="dark"] .customer-outage-event, [data-bs-theme="dark"] .customer-outage-health { background: #263345; color: #e5edf5; border-color: #74859b; }
[data-bs-theme="dark"] .customer-outage-event-title, [data-bs-theme="dark"] .customer-outage-section-title { color: #e5edf5; }
@media(max-width:575px){ .nexus-theme-select { width: 86px; padding-left: .4rem; } .topbar-user { gap: .4rem; } }
[data-bs-theme="dark"] .nexus-back-button, [data-bs-theme="dark"] .topbar-signout { background: #263345; color: #e5edf5; border-color: #74859b; }
[data-bs-theme="dark"] .nexus-back-button:hover, [data-bs-theme="dark"] .topbar-signout:hover { background: #36465b; color: #fff; }
@media(max-width: 767px) {
 .nexus-topbar { grid-template-columns: 44px minmax(0, 1fr) auto; }
 .nexus-topbar-title { font-size: .9rem; }
 .nexus-topbar .topbar-user { gap: .35rem; }
}
/* Portal-wide surfaces used by dashboard, service lists, billing and support. */
[data-bs-theme="dark"] { --gh-surface: #1c2738; --gh-surface-muted: #263345; --gh-red-subtle: #302631; --gh-primary: #ffb4c0; }
[data-bs-theme="dark"] .dashboard-hero,
[data-bs-theme="dark"] .dashboard-stat,
[data-bs-theme="dark"] .dashboard-action,
[data-bs-theme="dark"] .service-filter-bar,
[data-bs-theme="dark"] .service-type-pill,
[data-bs-theme="dark"] .service-history summary,
[data-bs-theme="dark"] .billing-filter-tab,
[data-bs-theme="dark"] .billing-mobile-invoice,
[data-bs-theme="dark"] .ticket-tab,
[data-bs-theme="dark"] .ticket-message,
[data-bs-theme="dark"] .new-ticket-panel .card-header,
[data-bs-theme="dark"] .ticket-reply-card .card-header { background: #1c2738; color: #e5edf5; border-color: #4b5d73; }
[data-bs-theme="dark"] .service-history-body,
[data-bs-theme="dark"] .customer-outage-service-link,
[data-bs-theme="dark"] .billing-mobile-invoice-actions,
[data-bs-theme="dark"] .ticket-service,
[data-bs-theme="dark"] .ticket-attachment-note { background: #263345; color: #d7e2ef; border-color: #4b5d73; }
[data-bs-theme="dark"] .billing-table .table > tbody > tr:nth-child(even),
[data-bs-theme="dark"] .billing-mobile-invoice-main:hover,
[data-bs-theme="dark"] .billing-mobile-invoice-main:focus,
[data-bs-theme="dark"] .dashboard-action:hover,
[data-bs-theme="dark"] .dashboard-stat:hover { background: #263345; color: #e5edf5; }
[data-bs-theme="dark"] .ticket-message.customer { background: #302631; border-color: #a77685; }
[data-bs-theme="dark"] .ticket-status.progress { background: #203d5c; color: #bbddff; }
[data-bs-theme="dark"] .ticket-status.attention { background: #463515; color: #ffe2a3; }
[data-bs-theme="dark"] .ticket-status.muted { background: #263345; color: #d7e2ef; }
[data-bs-theme="dark"] .ticket-status.done { background: #123b2d; color: #b2f1cc; }
[data-bs-theme="dark"] .ticket-tab.active,
[data-bs-theme="dark"] .billing-filter-tab.is-active { background: #8f1017; color: #fff; border-color: #e89aa9; }
[data-bs-theme="dark"] .billing-filter-tab:hover,
[data-bs-theme="dark"] .page-link,
[data-bs-theme="dark"] .nav-tabs .nav-link.active,
[data-bs-theme="dark"] .dashboard-action-icon,
[data-bs-theme="dark"] .billing-mobile-invoice-due i { color: #ffb4c0; }
[data-bs-theme="dark"] .text-primary { color: #ffb4c0 !important; }
[data-bs-theme="dark"] .form-select:focus,
[data-bs-theme="dark"] .form-control:focus { background: #111827; color: #e5edf5; border-color: #85c6ff; }
[data-bs-theme="dark"] :focus-visible { outline-color: #85c6ff; }
[data-bs-theme="dark"] .customer-outage-header > * { min-width: 0; max-width: 100%; }
[data-bs-theme="dark"] .customer-outage-header .badge { white-space: normal; line-height: 1.4; }
[data-bs-theme="dark"] .billing-manage-btn,
[data-bs-theme="dark"] .billing-method-icon i,
[data-bs-theme="dark"] .btn-link { color: #ffb4c0; }
[data-bs-theme="dark"] .billing-manage-btn:hover,
[data-bs-theme="dark"] .btn-link:hover { color: #ffd5dd; }
[data-bs-theme="dark"] .mobile-record-list { background: #1c2738; color: #e5edf5; }
