html[data-theme="light"],
body[data-theme="light"] {
  color-scheme: light;
  --bg: #eef2f6;
  --bg-elevated: #ffffff;
  --panel: #ffffff;
  --panel-2: #f8fafc;
  --panel-bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border-subtle: #d9e2ec;
  --line: #d9e2ec;
  --fg: #13242e;
  --fg-muted: #5c6b76;
  --muted: #5c6b76;
  --accent: #7c3aed;
  --accent-2: #2563eb;
  --danger: #b42318;
  --warn: #b45309;
  --good: #15803d;
  --tone-teal: #7c3aed;
  --tone-sky: #2563eb;
  --tone-amber: #d97706;
  --tone-emerald: #15803d;
  --tone-rose: #be123c;
  --tone-violet: #7c3aed;
  --braillia-ink-strong: #13242e;
  --braillia-ink-soft: #5c6b76;
  --braillia-paper: #eef2f6;
  --braillia-line: #d9e2ec;
  --braillia-card: #ffffff;
  --braillia-console: #ffffff;
  --braillia-console-line: #d9e2ec;
  --braillia-risk-neutral-bg: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  --braillia-risk-neutral-line: rgba(100, 116, 139, 0.28);
  --braillia-risk-healthy-bg: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
  --braillia-risk-healthy-line: rgba(5, 150, 105, 0.28);
  --braillia-risk-risk-bg: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  --braillia-risk-risk-line: rgba(217, 119, 6, 0.32);
  --braillia-risk-over-bg: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%);
  --braillia-risk-over-line: rgba(185, 28, 28, 0.3);
  --braillia-shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 24px rgba(15, 23, 42, 0.07);
  --braillia-shadow-console: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 24px rgba(15, 23, 42, 0.07);
}

body[data-theme="light"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 16rem),
    var(--bg) !important;
  color: var(--fg) !important;
}

body[data-theme="light"] .bg-orb,
body[data-theme="light"] .bg-a,
body[data-theme="light"] .bg-b {
  opacity: 0.08;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  width: 100%;
  margin-top: 0.7rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.theme-toggle:hover,
.theme-toggle:focus {
  border-color: rgba(124, 58, 237, 0.58);
  outline: none;
}

.theme-toggle-icon {
  font-size: 0.98rem;
  line-height: 1;
}

.admin-top-links .theme-toggle {
  width: auto;
  margin-top: 0;
}

.theme-toggle-floating {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 40;
  width: auto;
  margin-top: 0;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.24);
}

body[data-theme="light"] .theme-toggle {
  border-color: rgba(51, 65, 85, 0.24);
  background: #ffffff;
  color: #102026;
}

body[data-theme="light"] .portal-sidebar {
  border-right-color: #d9e2ec;
  background: #ffffff;
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.7), 8px 0 24px rgba(15, 23, 42, 0.05);
}

body[data-theme="light"] .sidebar-brand {
  border-bottom-color: rgba(51, 65, 85, 0.18);
}

body[data-theme="light"] .sidebar-role,
body[data-theme="light"] .sidebar-section-label {
  color: #64747b;
}

body[data-theme="light"] .sidebar-link {
  color: #25323a;
}

body[data-theme="light"] .sidebar-link:hover {
  border-color: rgba(124, 58, 237, 0.32);
  color: #102026;
  background: #f5f3ff;
}

body[data-theme="light"] .sidebar-link.is-active {
  border-color: rgba(124, 58, 237, 0.42);
  background: #ede9fe;
  color: #4c1d95;
}

body[data-theme="light"] .sidebar-link.is-braillia {
  border-color: rgba(183, 121, 31, 0.42);
  background: rgba(183, 121, 31, 0.1);
}

body[data-theme="light"] .panel,
body[data-theme="light"] .status,
body[data-theme="light"] .metric,
body[data-theme="light"] .logo-panel,
body[data-theme="light"] .login-panel,
body[data-theme="light"] .auth-panel,
body[data-theme="light"] .auth-card,
body[data-theme="light"] .auth-feature,
body[data-theme="light"] .temp-help-item,
body[data-theme="light"] .attention-panel,
body[data-theme="light"] .flow-lane,
body[data-theme="light"] .workflow-map,
body[data-theme="light"] .workflow-lane-card,
body[data-theme="light"] .card-form,
body[data-theme="light"] .account-command-center,
body[data-theme="light"] .account-workflow-strip article,
body[data-theme="light"] .account-directory-panel,
body[data-theme="light"] .account-form-panel,
body[data-theme="light"] .account-hero,
body[data-theme="light"] .account-metrics article,
body[data-theme="light"] .account-analytics-panel,
body[data-theme="light"] .suite-dashboard,
body[data-theme="light"] .qa-admin-dashboard,
body[data-theme="light"] .suite-control-card,
body[data-theme="light"] .ops-dashboard,
body[data-theme="light"] .ops-kpi,
body[data-theme="light"] .ops-graph-card,
body[data-theme="light"] .economics-chart-panel,
body[data-theme="light"] .collapsible-card {
  background: var(--panel-bg) !important;
  border-color: var(--border-subtle) !important;
  color: var(--fg) !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1) !important;
}

body[data-theme="light"] .ops-chart,
body[data-theme="light"] .account-chart,
body[data-theme="light"] .economics-chart,
body[data-theme="light"] .economics-mini-chart {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
}

body[data-theme="light"] .auth-panel::before,
body[data-theme="light"] .auth-card::before,
body[data-theme="light"] .auth-panel::after {
  opacity: 0.55;
}

body[data-theme="light"] .auth-panel-brand,
body[data-theme="light"] .auth-panel-form {
  background:
    radial-gradient(circle at 18% 16%, rgba(11, 121, 183, 0.10), transparent 30%),
    radial-gradient(circle at 76% 16%, rgba(109, 40, 217, 0.08), transparent 24%),
    radial-gradient(circle at 24% 82%, rgba(124, 58, 237, 0.06), transparent 24%),
    linear-gradient(155deg, #ffffff, #eef4f8) !important;
}

body[data-theme="light"] .auth-panel-brand::before,
body[data-theme="light"] .auth-panel-form::before {
  background: linear-gradient(130deg, rgba(124, 58, 237, 0.07), transparent 34%) !important;
}

body[data-theme="light"] .auth-card {
  background: rgba(255, 255, 255, 0.88) !important;
}

body[data-theme="light"] .auth-feature {
  background: rgba(255, 255, 255, 0.72) !important;
}

body[data-theme="light"] .account-switchboard,
body[data-theme="light"] .metric-card,
body[data-theme="light"] .account-directory-collapsible,
body[data-theme="light"] .account-directory-table,
body[data-theme="light"] .account-context-bar,
body[data-theme="light"] .working-account-banner,
body[data-theme="light"] .account-context-member-logo-box,
body[data-theme="light"] .account-context-details span,
body[data-theme="light"] .account-switcher-panel,
body[data-theme="light"] .account-branding-preview,
body[data-theme="light"] .account-member-logo-shell,
body[data-theme="light"] .account-context-strip span,
body[data-theme="light"] .member-role-row,
body[data-theme="light"] .account-logo-pair,
body[data-theme="light"] .account-member-logo-box,
body[data-theme="light"] .account-tab,
body[data-theme="light"] .account-kpi-strip article,
body[data-theme="light"] .account-chart-card,
body[data-theme="light"] .account-pill,
body[data-theme="light"] .account-flag-list span,
body[data-theme="light"] .account-check span,
body[data-theme="light"] .account-check,
body[data-theme="light"] .account-action-list a,
body[data-theme="light"] .account-user-row,
body[data-theme="light"] .account-result-card,
body[data-theme="light"] .friendly-list > div,
body[data-theme="light"] .technical-fields,
body[data-theme="light"] .org-create-form,
body[data-theme="light"] .org-edit-form,
body[data-theme="light"] .plan-card,
body[data-theme="light"] .pill,
body[data-theme="light"] .result-card,
body[data-theme="light"] .release-guard-card,
body[data-theme="light"] .repair-agent-card,
body[data-theme="light"] .mobile-bundle-card {
  background: #ffffff !important;
  border-color: rgba(51, 65, 85, 0.18) !important;
  color: #102026 !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
}

body[data-theme="light"] .account-switcher-panel {
  background: rgba(255, 255, 255, 0.96) !important;
}

body[data-theme="light"] .account-tab.is-active,
body[data-theme="light"] .plan-card.is-active {
  border-color: rgba(124, 58, 237, 0.34) !important;
  background: #f5f3ff !important;
  color: #4c1d95 !important;
}

body[data-theme="light"] .console-pill.ok,
body[data-theme="light"] .document-status-active,
body[data-theme="light"] .account-pill.ok,
body[data-theme="light"] .account-check.complete span,
body[data-theme="light"] .account-result-card,
body[data-theme="light"] .account-result-card span,
body[data-theme="light"] .badge,
body[data-theme="light"] .status.ok {
  border-color: rgba(15, 143, 85, 0.3) !important;
  background: #ecfdf5 !important;
  color: #0f8f55 !important;
}

body[data-theme="light"] .console-pill.bad,
body[data-theme="light"] .document-status-deleted,
body[data-theme="light"] .account-pill.bad,
body[data-theme="light"] .account-check.needs-work span,
body[data-theme="light"] .status.err {
  border-color: rgba(190, 18, 60, 0.3) !important;
  background: #fff1f2 !important;
  color: #be123c !important;
}

body[data-theme="light"] .account-flag-list span {
  border-color: rgba(183, 121, 31, 0.28) !important;
  background: #fffbeb !important;
  color: #a16207 !important;
}

body[data-theme="light"] .document-status-archived,
body[data-theme="light"] .status.warning {
  border-color: rgba(183, 121, 31, 0.3) !important;
  background: #fffbeb !important;
  color: #a16207 !important;
}

body[data-theme="light"] .auth-kicker,
body[data-theme="light"] .eyebrow {
  color: #0b79b7 !important;
}

body[data-theme="light"] .auth-context-head strong,
body[data-theme="light"] .auth-feature strong,
body[data-theme="light"] .temp-help-item strong,
body[data-theme="light"] .auth-card-header .login-title,
body[data-theme="light"] .auth-hero-title,
body[data-theme="light"] .metric-card strong,
body[data-theme="light"] .account-context-bar strong,
body[data-theme="light"] .working-account-banner strong,
body[data-theme="light"] .account-context-strip strong,
body[data-theme="light"] .account-meta-line strong,
body[data-theme="light"] .account-check strong,
body[data-theme="light"] .account-kpi-strip strong,
body[data-theme="light"] .account-chart-head h3,
body[data-theme="light"] .account-action-list a,
body[data-theme="light"] .account-user-row strong,
body[data-theme="light"] .member-role-user strong,
body[data-theme="light"] .release-guard-title,
body[data-theme="light"] .repair-agent-title,
body[data-theme="light"] .mobile-bundle-title,
body[data-theme="light"] .repair-agent-item code {
  color: #102026 !important;
}

body[data-theme="light"] .auth-context-head p,
body[data-theme="light"] .auth-feature p,
body[data-theme="light"] .temp-help-item p,
body[data-theme="light"] .auth-hero-copy,
body[data-theme="light"] .auth-option-note,
body[data-theme="light"] .auth-footnote,
body[data-theme="light"] .metric-card span,
body[data-theme="light"] .metric-card .metric-detail,
body[data-theme="light"] .account-context-bar span,
body[data-theme="light"] .working-account-banner span,
body[data-theme="light"] .account-context-plus,
body[data-theme="light"] .account-brand-plus,
body[data-theme="light"] .account-logo-pair-plus,
body[data-theme="light"] .account-member-logo-box,
body[data-theme="light"] .account-member-logo-shell,
body[data-theme="light"] .account-check p,
body[data-theme="light"] .account-user-identity span,
body[data-theme="light"] .account-kpi-strip span,
body[data-theme="light"] .account-chart-card span,
body[data-theme="light"] .account-chart-stamp,
body[data-theme="light"] .member-role-user span,
body[data-theme="light"] .points,
body[data-theme="light"] .check-row,
body[data-theme="light"] .branding-controls input[type="file"],
body[data-theme="light"] .technical-fields summary,
body[data-theme="light"] .diagnostic-details summary,
body[data-theme="light"] .repair-agent-row,
body[data-theme="light"] .repair-agent-row .k,
body[data-theme="light"] .repair-agent-row .v,
body[data-theme="light"] .mobile-bundle-row,
body[data-theme="light"] .mobile-bundle-row .k,
body[data-theme="light"] .mobile-bundle-row .v,
body[data-theme="light"] .repair-agent-snippet {
  color: #52636b !important;
}

body[data-theme="light"] .auth-divider {
  color: #64748b !important;
}

body[data-theme="light"] .forgot-link {
  color: #0b79b7 !important;
}

body[data-theme="light"] .password-toggle {
  border-color: rgba(51, 65, 85, 0.22) !important;
  color: #102026 !important;
}

body[data-theme="light"] .result,
body[data-theme="light"] .suite-history,
body[data-theme="light"] .runtime-trace-pre,
body[data-theme="light"] .runtime-trace-mini,
body[data-theme="light"] .economics-console,
body[data-theme="light"] .diagnostic-details pre {
  background: #ffffff !important;
  border-color: var(--border-subtle) !important;
  color: #102026 !important;
}

body[data-theme="light"] input,
body[data-theme="light"] select,
body[data-theme="light"] textarea {
  background: #ffffff !important;
  border-color: rgba(51, 65, 85, 0.22) !important;
  color: #102026 !important;
}

body[data-theme="light"] input::placeholder,
body[data-theme="light"] textarea::placeholder {
  color: #7a8a92 !important;
}

body[data-theme="light"] .btn,
body[data-theme="light"] .admin-btn,
body[data-theme="light"] .copy-ref-btn,
body[data-theme="light"] .account-inline-copy,
body[data-theme="light"] .quick-links a,
body[data-theme="light"] .quick-links .nav-btn {
  border-color: rgba(51, 65, 85, 0.22) !important;
  background: #ffffff !important;
  color: #102026 !important;
}

body[data-theme="light"] button[type="submit"],
body[data-theme="light"] .btn.primary,
body[data-theme="light"] .admin-btn.suite-btn-primary {
  border-color: rgba(124, 58, 237, 0.46) !important;
  background: #7c3aed !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

body[data-theme="light"] th,
body[data-theme="light"] td,
body[data-theme="light"] .account-directory-table th,
body[data-theme="light"] .account-directory-table td {
  border-bottom-color: rgba(51, 65, 85, 0.16) !important;
}

body[data-theme="light"] .console-subref,
body[data-theme="light"] .friendly-list span,
body[data-theme="light"] .suite-meta,
body[data-theme="light"] .suite-hint,
body[data-theme="light"] .subhead,
body[data-theme="light"] .muted,
body[data-theme="light"] .account-directory-table td span,
body[data-theme="light"] .account-meta-line span {
  color: var(--fg-muted) !important;
}

body[data-theme="light"] .brand-logo,
body[data-theme="light"] .sidebar-logo,
body[data-theme="light"] .admin-logo {
  filter: none;
}

body[data-theme="light"].with-sidebar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0) 15rem),
    var(--bg) !important;
}

body[data-theme="light"] .support-command,
body[data-theme="light"] .support-strip,
body[data-theme="light"] .support-panel,
body[data-theme="light"] .account-hero,
body[data-theme="light"] .account-directory-panel,
body[data-theme="light"] .account-form-panel,
body[data-theme="light"] .account-analytics-panel,
body[data-theme="light"] .account-metrics article,
body[data-theme="light"] .account-result-card,
body[data-theme="light"] .aws-status-strip article,
body[data-theme="light"] .aws-panel {
  background: #ffffff !important;
  border-color: #d9e2ec !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 12px 26px rgba(15, 23, 42, 0.07) !important;
}

body[data-theme="light"] #container,
body[data-theme="light"] #main,
body[data-theme="light"] #content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0) 15rem),
    var(--bg) !important;
}

body[data-theme="light"] #header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom-color: #d9e2ec !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 24px rgba(15, 23, 42, 0.06) !important;
  color: var(--fg) !important;
}

body[data-theme="light"] #branding h1,
body[data-theme="light"] #branding h1 a:link,
body[data-theme="light"] #branding h1 a:visited,
body[data-theme="light"] #content h1,
body[data-theme="light"] #user-tools,
body[data-theme="light"] #user-tools a {
  color: var(--fg) !important;
}

body[data-theme="light"] #nav-sidebar,
body[data-theme="light"] .nav-sidebar,
body[data-theme="light"] [data-nav-sidebar] {
  background: #ffffff !important;
  border-right-color: #d9e2ec !important;
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.7), 8px 0 24px rgba(15, 23, 42, 0.05) !important;
}

body[data-theme="light"] .module,
body[data-theme="light"] #changelist,
body[data-theme="light"] .inline-group,
body[data-theme="light"] fieldset.module,
body[data-theme="light"] .submit-row,
body[data-theme="light"] .breadcrumbs {
  background: #ffffff !important;
  border-color: #d9e2ec !important;
  color: var(--fg) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 24px rgba(15, 23, 42, 0.06) !important;
}

body[data-theme="light"] .module h2,
body[data-theme="light"] .module caption,
body[data-theme="light"] .inline-group h2,
body[data-theme="light"] #changelist-filter h2 {
  background: #f8fafc !important;
  border-bottom-color: #d9e2ec !important;
  color: var(--fg) !important;
}

body[data-theme="light"] table,
body[data-theme="light"] tbody,
body[data-theme="light"] tr {
  background: #ffffff !important;
  color: var(--fg) !important;
}

body[data-theme="light"] thead th,
body[data-theme="light"] .results th {
  background: #f8fafc !important;
  color: var(--fg) !important;
}

body[data-theme="light"] tr:nth-child(even),
body[data-theme="light"] .row2 {
  background: #fbfdff !important;
}

body[data-theme="light"] .panel,
body[data-theme="light"] .status,
body[data-theme="light"] .metric,
body[data-theme="light"] .logo-panel,
body[data-theme="light"] .login-panel,
body[data-theme="light"] .auth-panel,
body[data-theme="light"] .auth-card,
body[data-theme="light"] .auth-feature,
body[data-theme="light"] .temp-help-item,
body[data-theme="light"] .attention-panel,
body[data-theme="light"] .flow-lane,
body[data-theme="light"] .card-form,
body[data-theme="light"] .account-command-center,
body[data-theme="light"] .account-directory-panel,
body[data-theme="light"] .account-form-panel,
body[data-theme="light"] .account-hero,
body[data-theme="light"] .account-metrics article,
body[data-theme="light"] .account-analytics-panel,
body[data-theme="light"] .suite-dashboard,
body[data-theme="light"] .qa-admin-dashboard,
body[data-theme="light"] .suite-control-card,
body[data-theme="light"] .ops-dashboard,
body[data-theme="light"] .ops-kpi,
body[data-theme="light"] .ops-graph-card,
body[data-theme="light"] .economics-chart-panel,
body[data-theme="light"] .collapsible-card,
body[data-theme="light"] .suggestion-signal {
  background: #ffffff !important;
  border-color: #d9e2ec !important;
  color: var(--fg) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 12px 26px rgba(15, 23, 42, 0.07) !important;
}

body[data-theme="light"] .metric::before,
body[data-theme="light"] .attention-card::before,
body[data-theme="light"] .pipeline-card::before,
body[data-theme="light"] .readiness-row::before,
body[data-theme="light"] .activity-row::before {
  opacity: 0.82;
}

body[data-theme="light"] .attention-card,
body[data-theme="light"] .crm-queue-card,
body[data-theme="light"] .crm-queue-row,
body[data-theme="light"] .launch-card,
body[data-theme="light"] .readiness-row,
body[data-theme="light"] .activity-row,
body[data-theme="light"] .pipeline-card,
body[data-theme="light"] .economics-mini,
body[data-theme="light"] .flow-steps div,
body[data-theme="light"] .domain-stats span,
body[data-theme="light"] .suggestion-signal-metrics a,
body[data-theme="light"] .suggestion-latest,
body[data-theme="light"] .suggestion-summary-row article,
body[data-theme="light"] .suggestion-card,
body[data-theme="light"] .admin-suggestion-latest,
body[data-theme="light"] .admin-suggestion-metrics a,
body[data-theme="light"] .admin-suggestion-review-metrics article {
  background: #f8fafc !important;
  border-color: #d9e2ec !important;
  color: var(--fg) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body[data-theme="light"] .support-strip article,
body[data-theme="light"] .support-watch-strip article,
body[data-theme="light"] .support-row,
body[data-theme="light"] .mail-thread,
body[data-theme="light"] .mail-message,
body[data-theme="light"] .account-tools,
body[data-theme="light"] .pager-row {
  background: #f8fafc !important;
  border-color: #d9e2ec !important;
  color: var(--fg) !important;
}

body[data-theme="light"] .mail-attachment-chip,
body[data-theme="light"] .mail-attachment-list-note {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
  color: #9a3412 !important;
}

body[data-theme="light"] .help-dot,
body[data-theme="light"] .suite-help-dot {
  border-color: rgba(124, 58, 237, 0.28) !important;
  background: #f5f3ff !important;
  color: #5b21b6 !important;
  box-shadow: none !important;
}

body[data-theme="light"] a:link,
body[data-theme="light"] a:visited,
body[data-theme="light"] .domain-link,
body[data-theme="light"] .forgot-link {
  color: #2563eb !important;
}

body[data-theme="light"] .sidebar-link.is-active,
body[data-theme="light"] .account-tab.is-active,
body[data-theme="light"] .plan-card.is-active {
  color: #4c1d95 !important;
}

body[data-theme="light"] .btn:hover,
body[data-theme="light"] .admin-btn:hover,
body[data-theme="light"] .copy-ref-btn:hover,
body[data-theme="light"] .account-inline-copy:hover {
  border-color: rgba(124, 58, 237, 0.36) !important;
  background: #f5f3ff !important;
  color: #5b21b6 !important;
}

body[data-theme="light"] .domain-link {
  border-color: rgba(37, 99, 235, 0.22) !important;
  background: #eff6ff !important;
}

body[data-theme="light"] .theme-toggle {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

body[data-theme="light"] .ops-label,
body[data-theme="light"] .suite-meta,
body[data-theme="light"] .suite-hint,
body[data-theme="light"] .suite-history,
body[data-theme="light"] .service-health-summary span,
body[data-theme="light"] .service-health-card span,
body[data-theme="light"] .admin-suggestion-latest span,
body[data-theme="light"] .admin-suggestion-latest small,
body[data-theme="light"] .admin-suggestion-metrics span,
body[data-theme="light"] .admin-suggestion-review-metrics span,
body[data-theme="light"] .suggestion-latest span,
body[data-theme="light"] .suggestion-latest small,
body[data-theme="light"] .suggestion-meta span,
body[data-theme="light"] .suggestion-card p {
  color: var(--fg-muted) !important;
}

body[data-theme="light"] .suggestion-card-body,
body[data-theme="light"] .suggestion-card p {
  background: #ffffff !important;
  border-color: #d9e2ec !important;
  color: #334155 !important;
}

body[data-theme="light"] .suggestion-latest,
body[data-theme="light"] .admin-suggestion-latest {
  color: var(--fg) !important;
}

body[data-theme="light"] .ops-value,
body[data-theme="light"] .admin-help-title,
body[data-theme="light"] .suite-head h2,
body[data-theme="light"] .ops-head h2,
body[data-theme="light"] .service-health-summary strong,
body[data-theme="light"] .service-health-card h3,
body[data-theme="light"] .admin-suggestion-latest strong,
body[data-theme="light"] .admin-suggestion-metrics strong,
body[data-theme="light"] .admin-suggestion-review-metrics strong,
body[data-theme="light"] .suggestion-latest strong,
body[data-theme="light"] .suggestion-signal-metrics strong,
body[data-theme="light"] .suggestion-summary-row strong,
body[data-theme="light"] .suggestion-card-head strong,
body[data-theme="light"] .metric strong,
body[data-theme="light"] .attention-card strong,
body[data-theme="light"] .pipeline-card strong,
body[data-theme="light"] .economics-mini strong,
body[data-theme="light"] .domain-stats strong {
  color: var(--fg) !important;
}

body[data-theme="light"] .metric strong,
body[data-theme="light"] .attention-card strong,
body[data-theme="light"] .pipeline-card strong,
body[data-theme="light"] .economics-mini strong,
body[data-theme="light"] .domain-stats strong,
body[data-theme="light"] .suggestion-signal-metrics strong,
body[data-theme="light"] .suggestion-summary-row strong,
body[data-theme="light"] .admin-suggestion-metrics strong,
body[data-theme="light"] .admin-suggestion-review-metrics strong {
  color: color-mix(in srgb, var(--card-tone, var(--accent)) 38%, var(--fg)) !important;
}

body[data-theme="light"] .btn,
body[data-theme="light"] .admin-btn,
body[data-theme="light"] .copy-ref-btn,
body[data-theme="light"] .account-inline-copy,
body[data-theme="light"] .quick-links a,
body[data-theme="light"] .quick-links .nav-btn,
body[data-theme="light"] .auth-option {
  color: var(--fg) !important;
}

body[data-theme="light"] .btn.primary,
body[data-theme="light"] .admin-btn.suite-btn-primary,
body[data-theme="light"] .auth-option.primary {
  background: #7c3aed !important;
  border-color: #7c3aed !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

body[data-theme="light"] .ops-chart,
body[data-theme="light"] .account-chart,
body[data-theme="light"] .economics-chart,
body[data-theme="light"] .economics-mini-chart {
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-theme="light"] .ops-graph-card,
body[data-theme="light"] .economics-chart-panel,
body[data-theme="light"] .account-chart-card,
body[data-theme="light"] .account-kpi-strip article,
body[data-theme="light"] .account-metrics article,
body[data-theme="light"] .metric-card,
body[data-theme="light"] .crm-chip,
body[data-theme="light"] .crm-list-card,
body[data-theme="light"] .crm-assistant-card,
body[data-theme="light"] .crm-assistant-answer,
body[data-theme="light"] .crm-assistant-action,
body[data-theme="light"] .billing-profile-card,
body[data-theme="light"] .plan-card,
body[data-theme="light"] .matrix-context {
  background: #ffffff !important;
  border-color: #d9e2ec !important;
  color: #13242e !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body[data-theme="light"] .account-kpi-strip strong,
body[data-theme="light"] .metric-card strong,
body[data-theme="light"] .crm-chip strong,
body[data-theme="light"] .crm-queue-item strong,
body[data-theme="light"] .crm-rollup-item strong,
body[data-theme="light"] .crm-assistant-answer strong,
body[data-theme="light"] .crm-assistant-action strong,
body[data-theme="light"] .billing-selected-account strong,
body[data-theme="light"] .billing-profile-title strong,
body[data-theme="light"] .billing-profile-grid strong,
body[data-theme="light"] .plan-name,
body[data-theme="light"] .matrix-context,
body[data-theme="light"] .metric strong,
body[data-theme="light"] .attention-card strong,
body[data-theme="light"] .pipeline-card strong,
body[data-theme="light"] .economics-mini strong,
body[data-theme="light"] .domain-stats strong,
body[data-theme="light"] .suggestion-signal-metrics strong,
body[data-theme="light"] .suggestion-summary-row strong,
body[data-theme="light"] .admin-suggestion-metrics strong,
body[data-theme="light"] .admin-suggestion-review-metrics strong {
  color: #13242e !important;
}

body[data-theme="light"] .account-kpi-strip span,
body[data-theme="light"] .metric-card span,
body[data-theme="light"] .metric-card .metric-detail,
body[data-theme="light"] .crm-chip span,
body[data-theme="light"] .crm-list-head span,
body[data-theme="light"] .crm-queue-item span,
body[data-theme="light"] .crm-rollup-item span,
body[data-theme="light"] .crm-queue-item small,
body[data-theme="light"] .crm-rollup-item small,
body[data-theme="light"] .crm-assistant-card .crm-list-head small,
body[data-theme="light"] .crm-assistant-action small,
body[data-theme="light"] .crm-assistant-sources,
body[data-theme="light"] .billing-profile-title span,
body[data-theme="light"] .billing-profile-grid span,
body[data-theme="light"] .billing-selected-account,
body[data-theme="light"] .billing-profile-empty p,
body[data-theme="light"] .billing-portal-note {
  color: #52636b !important;
}

body[data-theme="light"] .billing-ref,
body[data-theme="light"] .crm-active-filter {
  background: #eff6ff !important;
  border-color: rgba(37, 99, 235, 0.22) !important;
  color: #1d4ed8 !important;
}

body[data-theme="light"] .billing-missing,
body[data-theme="light"] .selection-prompt {
  background: #fff7ed !important;
  border-color: rgba(217, 119, 6, 0.24) !important;
  color: #9a3412 !important;
  box-shadow: none !important;
}

body[data-theme="light"] .plan-card.is-active {
  background: #f5f3ff !important;
  border-color: rgba(124, 58, 237, 0.34) !important;
  box-shadow: none !important;
}

body[data-theme="light"] .plan-active-badge {
  background: #f5f3ff !important;
  border-color: rgba(124, 58, 237, 0.34) !important;
  color: #4c1d95 !important;
  box-shadow: none !important;
}

body[data-theme="light"] .crm-queue-item.is-active {
  border-color: rgba(124, 58, 237, 0.34) !important;
  box-shadow: none !important;
}

body[data-theme="light"] .crm-assistant-answer p {
  color: #334155 !important;
}

body[data-theme="light"] .plan-points,
body[data-theme="light"] .plan-points li,
body[data-theme="light"] .ops-graph-card h3,
body[data-theme="light"] #ops-run-trend-title,
body[data-theme="light"] #ops-chat-trend-title,
body[data-theme="light"] .suite-graph-hint,
body[data-theme="light"] .economics-list-subtitle,
body[data-theme="light"] .suite-control-card h4,
body[data-theme="light"] .qa-toggle-row,
body[data-theme="light"] .qa-toggle-row span {
  color: #52636b !important;
}

body[data-theme="light"] .economics-pill {
  background: #f8fafc !important;
  border-color: #d9e2ec !important;
  color: #334155 !important;
  box-shadow: none !important;
}

body[data-theme="light"] .economics-pill[data-risk-state="healthy"] {
  background: #ecfdf5 !important;
  border-color: rgba(5, 150, 105, 0.24) !important;
  color: #166534 !important;
}

body[data-theme="light"] .economics-pill[data-risk-state="at_risk"],
body[data-theme="light"] .economics-pill[data-risk-state="unassigned"] {
  background: #fff7ed !important;
  border-color: rgba(217, 119, 6, 0.24) !important;
  color: #9a3412 !important;
}

body[data-theme="light"] .economics-pill[data-risk-state="over_plan"] {
  background: #fef2f2 !important;
  border-color: rgba(185, 28, 28, 0.24) !important;
  color: #991b1b !important;
}

body[data-theme="light"] .service-health-card,
body[data-theme="light"] .economics-console,
body[data-theme="light"] .economics-list-card,
body[data-theme="light"] .suite-control-card,
body[data-theme="light"] .qa-admin-card,
body[data-theme="light"] .aws-cost-card,
body[data-theme="light"] .runtime-trace-wide,
body[data-theme="light"] .economics-signal-card {
  box-shadow: none !important;
}

body[data-theme="light"] .service-health-card,
body[data-theme="light"] .economics-list-card,
body[data-theme="light"] .qa-admin-card,
body[data-theme="light"] .aws-cost-card {
  background: #ffffff !important;
  border-color: #d9e2ec !important;
}

body[data-theme="light"] .economics-console[data-risk-state],
body[data-theme="light"] .economics-list-card[data-risk-state],
body[data-theme="light"] .aws-cost-card[data-guard-state] {
  box-shadow: none !important;
}

@media (max-width: 980px) {
  body[data-theme="light"] .portal-sidebar {
    border-bottom-color: #d9e2ec;
  }
}
