html[data-theme="light"] body.with-sidebar,
body.with-sidebar[data-theme="light"],
html[data-theme="light"] body.change-list,
html[data-theme="light"] body.dashboard,
html[data-theme="light"] body.change-form,
body.change-list[data-theme="light"],
body.dashboard[data-theme="light"],
body.change-form[data-theme="light"] {
  --day-bg: #eef2f6;
  --day-panel: #ffffff;
  --day-border: #d9e2ec;
  --day-ink: #13242e;
  --day-muted: #52636b;
  --day-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 12px 26px rgba(15, 23, 42, 0.07);
  background: var(--day-bg) !important;
  color: var(--day-ink) !important;
}

html[data-theme="light"] body.with-sidebar .bg-orb,
html[data-theme="light"] body.with-sidebar .bg-orb-a,
html[data-theme="light"] body.with-sidebar .bg-orb-b,
html[data-theme="light"] body.with-sidebar .bg-grid,
html[data-theme="light"] body.with-sidebar .bg,
html[data-theme="light"] body.with-sidebar .bg-a,
html[data-theme="light"] body.with-sidebar .bg-b,
body.with-sidebar[data-theme="light"] .bg-orb,
body.with-sidebar[data-theme="light"] .bg-orb-a,
body.with-sidebar[data-theme="light"] .bg-orb-b,
body.with-sidebar[data-theme="light"] .bg-grid,
body.with-sidebar[data-theme="light"] .bg,
body.with-sidebar[data-theme="light"] .bg-a,
body.with-sidebar[data-theme="light"] .bg-b {
  display: none !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .shell,
  .aws-shell,
  .client-shell,
  .console-shell,
  .support-shell,
  .workspace-shell
),
body.with-sidebar[data-theme="light"] :is(
  .shell,
  .aws-shell,
  .client-shell,
  .console-shell,
  .support-shell,
  .workspace-shell
) {
  background: transparent !important;
  background-image: none !important;
}

html[data-theme="light"] body.with-sidebar .network-domain-list,
body.with-sidebar[data-theme="light"] .network-domain-list {
  border-color: #d9e2ec !important;
  background: #ffffff !important;
  color: #13242e !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] body.with-sidebar .network-site-preview,
body.with-sidebar[data-theme="light"] .network-site-preview {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1e3a8a !important;
}

html[data-theme="light"] body.with-sidebar .network-site-preview small,
body.with-sidebar[data-theme="light"] .network-site-preview small {
  color: #475569 !important;
}

html[data-theme="light"] body.with-sidebar .network-site-preview-enabled,
body.with-sidebar[data-theme="light"] .network-site-preview-enabled {
  border-color: #bbf7d0 !important;
  background: #ecfdf5 !important;
  color: #14532d !important;
}

html[data-theme="light"] body.with-sidebar .network-site-preview-blocked,
body.with-sidebar[data-theme="light"] .network-site-preview-blocked {
  border-color: #fecaca !important;
  background: #fff1f2 !important;
  color: #7f1d1d !important;
}

html[data-theme="light"] body.with-sidebar .network-domain-summary,
body.with-sidebar[data-theme="light"] .network-domain-summary {
  color: #52636b !important;
}

html[data-theme="light"] body.with-sidebar .network-domain-summary strong,
body.with-sidebar[data-theme="light"] .network-domain-summary strong {
  color: #13242e !important;
}

html[data-theme="light"] body.with-sidebar .network-domain-chip,
body.with-sidebar[data-theme="light"] .network-domain-chip {
  border-color: #b7e4cf !important;
  background: #ecfdf5 !important;
  color: #14532d !important;
}

html[data-theme="light"] body.with-sidebar .network-domain-chip-blocked,
body.with-sidebar[data-theme="light"] .network-domain-chip-blocked {
  border-color: #fecaca !important;
  background: #fff1f2 !important;
  color: #7f1d1d !important;
}

html[data-theme="light"] body.with-sidebar .network-domain-remove,
body.with-sidebar[data-theme="light"] .network-domain-remove {
  border: 1px solid #d9e2ec !important;
  background: #ffffff !important;
  color: #13242e !important;
}

html[data-theme="light"] body.with-sidebar .network-domain-remove:hover,
html[data-theme="light"] body.with-sidebar .network-domain-remove:focus-visible,
body.with-sidebar[data-theme="light"] .network-domain-remove:hover,
body.with-sidebar[data-theme="light"] .network-domain-remove:focus-visible {
  border-color: #2563eb !important;
  color: #1d4ed8 !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .panel,
  .status,
  .metric,
  .tile,
  .workflow-map,
  .workflow-lane-card,
  .flow-lane,
  .attention-panel,
  .attention-card,
  .pipeline-card,
  .activity-row,
  .readiness-row,
  .suite-dashboard,
  .qa-admin-dashboard,
  .suite-control-card,
  .qa-admin-card,
  .ops-dashboard,
  .ops-kpi,
  .ops-graph-card,
  .economics-chart-panel,
  .economics-console,
  .economics-list-card,
  .economics-signal-card,
  .service-health-card,
  .collapsible-card,
  .support-command,
  .support-strip,
  .support-strip article,
  .support-watch-strip article,
  .support-panel,
  .support-row,
  .support-card,
  .support-queue-card,
  .support-empty-state,
  .mail-thread,
  .mail-message,
  .account-command-center,
  .account-context-bar,
  .account-hero,
  .account-directory-panel,
  .account-directory-collapsible,
  .account-directory-table,
  .account-form-panel,
  .account-analytics-panel,
  .account-metrics article,
  .account-result-card,
  .account-logo-management-panel,
  .account-switchboard,
  .account-switcher-panel,
  .account-branding-preview,
  .account-member-logo-shell,
  .account-logo-pair,
  .account-member-logo-box,
  .account-kpi-strip article,
  .account-chart-card,
  .account-user-row,
  .logo-slot-card,
  .aws-status-strip article,
  .aws-workflow-card,
  .aws-panel,
  .aws-review-card,
  .aws-cost-card,
  .aws-control-section,
  .aws-state-row,
  .network-site-preview,
  .network-domain-list,
  .aws-runtime-list div,
  .aws-live-risk,
  .aws-ai-summary-grid article,
  .aws-ai-budget-row span,
  .aws-ai-model-row,
  .aws-ai-breakdown-grid > div,
  .client-workspace-intro,
  .client-workspace-panel,
  .client-step-list li,
  .identity-strip,
  .drop-zone,
  .upload-progress-shell,
  .status-waiting-shell,
  .result-card,
  .release-guard-card,
  .repair-agent-card,
  .mobile-bundle-card,
  .crm-chip,
  .crm-list-card,
  .crm-queue-card,
  .crm-queue-item,
  .crm-rollup-item,
  .crm-assistant-card,
  .crm-assistant-answer,
  .crm-assistant-action,
  .crm-action-drawer,
  .crm-action-drawer summary,
  .crm-contact-row,
  .crm-email-composer,
  .crm-email-preview,
  .crm-note-card,
  .crm-panel,
  .crm-timeline-card,
  .recipient-directory-row,
  .account-recipient-import,
  .account-recipient-import-history,
  .billing-profile-card,
  .billing-missing,
  .billing-profile-empty,
  .billing-portal-note,
  .billing-selected-account,
  .billing-profile-grid,
  .matrix-context,
  .plan-card,
  .pricing-card,
  .tier-card,
  .launch-card,
  .domain-stats span,
  .flow-steps div,
  .mail-attachment-chip,
  .suggestion-signal,
  .suggestion-latest,
  .suggestion-card,
  .suggestion-card-body,
  .admin-suggestion-latest,
  .admin-suggestion-review-metrics article
),
body.with-sidebar[data-theme="light"] :is(
  .panel,
  .status,
  .metric,
  .tile,
  .workflow-map,
  .workflow-lane-card,
  .flow-lane,
  .attention-panel,
  .attention-card,
  .pipeline-card,
  .activity-row,
  .readiness-row,
  .suite-dashboard,
  .qa-admin-dashboard,
  .suite-control-card,
  .qa-admin-card,
  .ops-dashboard,
  .ops-kpi,
  .ops-graph-card,
  .economics-chart-panel,
  .economics-console,
  .economics-list-card,
  .economics-signal-card,
  .service-health-card,
  .collapsible-card,
  .support-command,
  .support-strip,
  .support-strip article,
  .support-watch-strip article,
  .support-panel,
  .support-row,
  .support-card,
  .support-queue-card,
  .support-empty-state,
  .mail-thread,
  .mail-message,
  .account-command-center,
  .account-context-bar,
  .account-hero,
  .account-directory-panel,
  .account-directory-collapsible,
  .account-directory-table,
  .account-form-panel,
  .account-analytics-panel,
  .account-metrics article,
  .account-result-card,
  .account-logo-management-panel,
  .account-switchboard,
  .account-switcher-panel,
  .account-branding-preview,
  .account-member-logo-shell,
  .account-logo-pair,
  .account-member-logo-box,
  .account-kpi-strip article,
  .account-chart-card,
  .account-user-row,
  .logo-slot-card,
  .aws-status-strip article,
  .aws-workflow-card,
  .aws-panel,
  .aws-review-card,
  .aws-cost-card,
  .aws-control-section,
  .aws-state-row,
  .aws-runtime-list div,
  .aws-live-risk,
  .aws-ai-summary-grid article,
  .aws-ai-budget-row span,
  .aws-ai-model-row,
  .aws-ai-breakdown-grid > div,
  .client-workspace-intro,
  .client-workspace-panel,
  .client-step-list li,
  .identity-strip,
  .drop-zone,
  .upload-progress-shell,
  .status-waiting-shell,
  .result-card,
  .release-guard-card,
  .repair-agent-card,
  .mobile-bundle-card,
  .friendly-list > div,
  .member-role-row,
  .technical-fields,
  .diagnostic-details,
  .account-check,
  .account-check span,
  .account-action-list a,
  .account-flag-list span,
  .account-pill,
  .account-tab,
  .working-account-banner,
  .account-context-strip span,
  .account-context-details span,
  .crm-chip,
  .crm-list-card,
  .crm-queue-card,
  .crm-queue-item,
  .crm-rollup-item,
  .crm-assistant-card,
  .crm-assistant-answer,
  .crm-assistant-action,
  .crm-action-drawer,
  .crm-action-drawer summary,
  .crm-contact-row,
  .crm-email-composer,
  .crm-email-preview,
  .crm-note-card,
  .crm-panel,
  .crm-timeline-card,
  .billing-profile-card,
  .billing-missing,
  .billing-profile-empty,
  .billing-portal-note,
  .billing-selected-account,
  .billing-profile-grid,
  .matrix-context,
  .plan-card,
  .pricing-card,
  .tier-card,
  .launch-card,
  .domain-stats span,
  .flow-steps div,
  .mail-attachment-chip,
  .suggestion-signal,
  .suggestion-latest,
  .suggestion-card,
  .suggestion-card-body,
  .admin-suggestion-latest,
  .admin-suggestion-review-metrics article
) {
  background: var(--day-panel) !important;
  background-image: none !important;
  border-color: var(--day-border) !important;
  color: var(--day-ink) !important;
  box-shadow: var(--day-shadow) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  [class*="surface-tone-"],
  .account-context-bar,
  .working-account-banner,
  .account-logo-management-panel,
  .support-empty-snapshot,
  .support-empty-account,
  .support-alert-card,
  .support-snapshot-card,
  .watch-mode-btn,
  .support-watch-run-state,
  .aws-control-card,
  .aws-service-card,
  .aws-budget-card
),
body.with-sidebar[data-theme="light"] :is(
  [class*="surface-tone-"],
  .account-context-bar,
  .working-account-banner,
  .account-logo-management-panel,
  .support-empty-snapshot,
  .support-empty-account,
  .support-alert-card,
  .support-snapshot-card,
  .watch-mode-btn,
  .support-watch-run-state,
  .aws-control-card,
  .aws-service-card,
  .aws-budget-card
) {
  background: var(--day-panel) !important;
  background-image: none !important;
  border-color: var(--day-border) !important;
  color: var(--day-ink) !important;
  box-shadow: var(--day-shadow) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .panel,
  .status,
  .ops-dashboard,
  .suite-dashboard,
  .qa-admin-dashboard,
  .suite-control-card,
  .qa-admin-card,
  .ops-kpi,
  .ops-graph-card,
  .tile,
  .card-form,
  .org-create-form,
  .org-edit-form,
  .branding-form,
  .support-command,
  .support-strip,
  .support-panel,
  .account-hero,
  .account-directory-panel,
  .account-form-panel,
  .account-analytics-panel,
  .account-metrics article,
  .account-result-card,
  .aws-status-strip article,
  .aws-panel
)::after,
body.with-sidebar[data-theme="light"] :is(
  .panel,
  .status,
  .ops-dashboard,
  .suite-dashboard,
  .qa-admin-dashboard,
  .suite-control-card,
  .qa-admin-card,
  .ops-kpi,
  .ops-graph-card,
  .tile,
  .card-form,
  .org-create-form,
  .org-edit-form,
  .branding-form,
  .support-command,
  .support-strip,
  .support-panel,
  .account-hero,
  .account-directory-panel,
  .account-form-panel,
  .account-analytics-panel,
  .account-metrics article,
  .account-result-card,
  .aws-status-strip article,
  .aws-panel
)::after {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* Absolute final remediation queue overrides. Keep after every shared day-mode rule. */
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] {
  --tone-teal: #315eea;
  --tone-emerald: #7657e8;
  --accent: #315eea;
  --good: #0369a1;
  background: #eef2f7 !important;
  color: #101828 !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .remediation-results-hero,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .remediation-results-hero,
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(
  .results-action-strip,
  .remediation-control-drawer,
  .remediation-table-panel,
  .command-panel,
  .issue-expander,
  .issue-case-section,
  .root-cause-drawer,
  .root-cause-row,
  .policy-route-card,
  .queue-action-tile,
  .approved-target-card,
  .scan-step-drawer,
  .advanced-remediation-drawer,
  .result-ring-card,
  .row-indicator
),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(
  .results-action-strip,
  .remediation-control-drawer,
  .remediation-table-panel,
  .command-panel,
  .issue-expander,
  .issue-case-section,
  .root-cause-drawer,
  .root-cause-row,
  .policy-route-card,
  .queue-action-tile,
  .approved-target-card,
  .scan-step-drawer,
  .advanced-remediation-drawer,
  .result-ring-card,
  .row-indicator
) {
  border-color: #d8e0ea !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #101828 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 14px 28px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(.issue-expander[open], .scan-step-drawer[open], .remediation-control-drawer[open], .root-cause-drawer[open]),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(.issue-expander[open], .scan-step-drawer[open], .remediation-control-drawer[open], .root-cause-drawer[open]) {
  border-color: rgba(49, 94, 234, 0.62) !important;
  background: #f7f9ff !important;
  background-image: linear-gradient(135deg, rgba(49, 94, 234, 0.08), rgba(118, 87, 232, 0.04)) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(
  .result-ring-card,
  .queue-action-tile,
  .policy-route-card,
  .scan-step-drawer > summary,
  .approved-target-card,
  .issue-expander summary,
  .btn
):hover,
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(
  .result-ring-card,
  .queue-action-tile,
  .policy-route-card,
  .scan-step-drawer > summary,
  .approved-target-card,
  .issue-expander summary,
  .btn
):focus-visible,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(
  .result-ring-card,
  .queue-action-tile,
  .policy-route-card,
  .scan-step-drawer > summary,
  .approved-target-card,
  .issue-expander summary,
  .btn
):hover,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(
  .result-ring-card,
  .queue-action-tile,
  .policy-route-card,
  .scan-step-drawer > summary,
  .approved-target-card,
  .issue-expander summary,
  .btn
):focus-visible {
  border-color: rgba(49, 94, 234, 0.62) !important;
  background: #eef4ff !important;
  background-image: linear-gradient(135deg, rgba(49, 94, 234, 0.10), rgba(118, 87, 232, 0.06)) !important;
  box-shadow: 0 0 0 3px rgba(49, 94, 234, 0.14), 0 14px 26px rgba(15, 23, 42, 0.10) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(
  .remediation-results-copy h2,
  .remediation-results-footer strong,
  .result-ring-card strong,
  .issue-expander summary,
  .issue-expander summary strong,
  .issue-case-section p,
  .issue-case-section span,
  .issue-mini-ring strong,
  .row-indicator b,
  .remediation-table td strong
),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(
  .remediation-results-copy h2,
  .remediation-results-footer strong,
  .result-ring-card strong,
  .issue-expander summary,
  .issue-expander summary strong,
  .issue-case-section p,
  .issue-case-section span,
  .issue-mini-ring strong,
  .row-indicator b,
  .remediation-table td strong
) {
  color: #101828 !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(
  .remediation-results-copy p,
  .remediation-results-footer span,
  .result-ring-card span,
  .result-ring-card small,
  .issue-expander summary small,
  .issue-case-section small,
  .issue-mini-ring span,
  .row-indicator em,
  .remediation-table td small
),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(
  .remediation-results-copy p,
  .remediation-results-footer span,
  .result-ring-card span,
  .result-ring-card small,
  .issue-expander summary small,
  .issue-case-section small,
  .issue-mini-ring span,
  .row-indicator em,
  .remediation-table td small
) {
  color: #526071 !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .result-ring-card strong,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .result-ring-card strong,
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .issue-mini-ring,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .issue-mini-ring {
  background:
    radial-gradient(circle, #ffffff 54%, transparent 55%),
    conic-gradient(from -90deg, var(--result-tone, var(--mini-tone, #315eea)) 0 var(--result-deg, var(--mini-deg, 0deg)), rgba(15, 23, 42, 0.10) var(--result-deg, var(--mini-deg, 0deg)) 360deg) !important;
}

/* Final remediation queue day-mode reset. This page must read as white panels, not green wash. */
html[data-theme="light"] body.accessibility-remediation-queue,
body.accessibility-remediation-queue[data-theme="light"] {
  --remediation-day-ink: #101828;
  --remediation-day-muted: #526071;
  --remediation-day-border: #d8e0ea;
  --remediation-day-blue: #315eea;
  --remediation-day-violet: #7657e8;
  --remediation-day-sky: #0369a1;
  --tone-teal: var(--remediation-day-blue);
  --tone-emerald: var(--remediation-day-violet);
  --accent: var(--remediation-day-blue);
  --good: var(--remediation-day-sky);
  background: #eef2f7 !important;
  color: var(--remediation-day-ink) !important;
}

html[data-theme="light"] body.accessibility-remediation-queue .remediation-results-hero,
body.accessibility-remediation-queue[data-theme="light"] .remediation-results-hero,
html[data-theme="light"] body.accessibility-remediation-queue :is(
  .results-action-strip,
  .remediation-control-drawer,
  .remediation-table-panel,
  .command-panel,
  .issue-expander,
  .issue-case-section,
  .root-cause-drawer,
  .root-cause-row,
  .policy-route-card,
  .queue-action-tile,
  .approved-target-card,
  .scan-step-drawer,
  .advanced-remediation-drawer,
  .result-ring-card,
  .row-indicator
),
body.accessibility-remediation-queue[data-theme="light"] :is(
  .results-action-strip,
  .remediation-control-drawer,
  .remediation-table-panel,
  .command-panel,
  .issue-expander,
  .issue-case-section,
  .root-cause-drawer,
  .root-cause-row,
  .policy-route-card,
  .queue-action-tile,
  .approved-target-card,
  .scan-step-drawer,
  .advanced-remediation-drawer,
  .result-ring-card,
  .row-indicator
) {
  border-color: var(--remediation-day-border) !important;
  background: #ffffff !important;
  background-image: none !important;
  color: var(--remediation-day-ink) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 14px 28px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] body.accessibility-remediation-queue :is(
  .result-ring-card,
  .queue-action-tile,
  .policy-route-card,
  .scan-step-drawer > summary,
  .approved-target-card,
  .issue-expander summary,
  .btn
):hover,
html[data-theme="light"] body.accessibility-remediation-queue :is(
  .result-ring-card,
  .queue-action-tile,
  .policy-route-card,
  .scan-step-drawer > summary,
  .approved-target-card,
  .issue-expander summary,
  .btn
):focus-visible,
body.accessibility-remediation-queue[data-theme="light"] :is(
  .result-ring-card,
  .queue-action-tile,
  .policy-route-card,
  .scan-step-drawer > summary,
  .approved-target-card,
  .issue-expander summary,
  .btn
):hover,
body.accessibility-remediation-queue[data-theme="light"] :is(
  .result-ring-card,
  .queue-action-tile,
  .policy-route-card,
  .scan-step-drawer > summary,
  .approved-target-card,
  .issue-expander summary,
  .btn
):focus-visible {
  border-color: rgba(49, 94, 234, 0.62) !important;
  background: #eef4ff !important;
  background-image: linear-gradient(135deg, rgba(49, 94, 234, 0.10), rgba(118, 87, 232, 0.06)) !important;
  box-shadow: 0 0 0 3px rgba(49, 94, 234, 0.14), 0 14px 26px rgba(15, 23, 42, 0.10) !important;
}

html[data-theme="light"] body.accessibility-remediation-queue :is(.issue-expander[open], .scan-step-drawer[open], .remediation-control-drawer[open], .root-cause-drawer[open]),
body.accessibility-remediation-queue[data-theme="light"] :is(.issue-expander[open], .scan-step-drawer[open], .remediation-control-drawer[open], .root-cause-drawer[open]) {
  border-color: rgba(49, 94, 234, 0.62) !important;
  background: #f7f9ff !important;
  background-image: linear-gradient(135deg, rgba(49, 94, 234, 0.08), rgba(118, 87, 232, 0.04)) !important;
}

html[data-theme="light"] body.accessibility-remediation-queue :is(
  .remediation-results-copy h2,
  .remediation-results-footer strong,
  .result-ring-card strong,
  .issue-expander summary,
  .issue-expander summary strong,
  .issue-case-section p,
  .issue-case-section span,
  .issue-mini-ring strong,
  .row-indicator b,
  .remediation-table td strong
),
body.accessibility-remediation-queue[data-theme="light"] :is(
  .remediation-results-copy h2,
  .remediation-results-footer strong,
  .result-ring-card strong,
  .issue-expander summary,
  .issue-expander summary strong,
  .issue-case-section p,
  .issue-case-section span,
  .issue-mini-ring strong,
  .row-indicator b,
  .remediation-table td strong
) {
  color: var(--remediation-day-ink) !important;
}

html[data-theme="light"] body.accessibility-remediation-queue :is(
  .remediation-results-copy p,
  .remediation-results-footer span,
  .result-ring-card span,
  .result-ring-card small,
  .issue-expander summary small,
  .issue-case-section small,
  .issue-mini-ring span,
  .row-indicator em,
  .remediation-table td small
),
body.accessibility-remediation-queue[data-theme="light"] :is(
  .remediation-results-copy p,
  .remediation-results-footer span,
  .result-ring-card span,
  .result-ring-card small,
  .issue-expander summary small,
  .issue-case-section small,
  .issue-mini-ring span,
  .row-indicator em,
  .remediation-table td small
) {
  color: var(--remediation-day-muted) !important;
}

html[data-theme="light"] body.accessibility-remediation-queue .result-ring-card strong,
body.accessibility-remediation-queue[data-theme="light"] .result-ring-card strong,
html[data-theme="light"] body.accessibility-remediation-queue .issue-mini-ring,
body.accessibility-remediation-queue[data-theme="light"] .issue-mini-ring {
  background:
    radial-gradient(circle, #ffffff 54%, transparent 55%),
    conic-gradient(from -90deg, var(--result-tone, var(--mini-tone, var(--remediation-day-blue))) 0 var(--result-deg, var(--mini-deg, 0deg)), rgba(15, 23, 42, 0.10) var(--result-deg, var(--mini-deg, 0deg)) 360deg) !important;
}

html[data-theme="light"] body.accessibility-remediation-queue .issue-code-box,
body.accessibility-remediation-queue[data-theme="light"] .issue-code-box,
html[data-theme="light"] body.accessibility-remediation-queue .issue-case-section code,
body.accessibility-remediation-queue[data-theme="light"] .issue-case-section code {
  border-color: var(--remediation-day-border) !important;
  background: #f8fafc !important;
  color: var(--remediation-day-ink) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .remediation-results-hero,
  .results-action-strip,
  .remediation-table-panel,
  .command-panel,
  .issue-expander,
  .issue-case-section,
  .remediation-control-drawer,
  .root-cause-drawer,
  .scan-step-drawer,
  .advanced-remediation-drawer,
  .result-ring-card,
  .row-indicator,
  .issue-screenshot-frame
),
body.with-sidebar[data-theme="light"] :is(
  .remediation-results-hero,
  .results-action-strip,
  .remediation-table-panel,
  .command-panel,
  .issue-expander,
  .issue-case-section,
  .remediation-control-drawer,
  .root-cause-drawer,
  .scan-step-drawer,
  .advanced-remediation-drawer,
  .result-ring-card,
  .row-indicator,
  .issue-screenshot-frame
) {
  border-color: rgba(15, 23, 42, 0.1) !important;
  background: #ffffff !important;
  color: var(--day-ink) !important;
  box-shadow: var(--day-shadow) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .remediation-results-copy h2,
  .results-action-strip h2,
  .result-ring-card strong,
  .row-indicator b,
  .issue-screenshot-frame strong
),
body.with-sidebar[data-theme="light"] :is(
  .remediation-results-copy h2,
  .results-action-strip h2,
  .result-ring-card strong,
  .row-indicator b,
  .issue-screenshot-frame strong
) {
  color: var(--day-ink) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .remediation-results-copy p,
  .results-action-strip p,
  .result-ring-card span,
  .result-ring-card small,
  .row-indicator em,
  .issue-screenshot-frame small
),
body.with-sidebar[data-theme="light"] :is(
  .remediation-results-copy p,
  .results-action-strip p,
  .result-ring-card span,
  .result-ring-card small,
  .row-indicator em,
  .issue-screenshot-frame small
) {
  color: var(--day-muted) !important;
}

html[data-theme="light"] body.with-sidebar .result-ring-card strong,
body.with-sidebar[data-theme="light"] .result-ring-card strong {
  background:
    radial-gradient(circle, #ffffff 54%, transparent 55%),
    conic-gradient(from -90deg, var(--result-tone) 0 var(--result-deg, 0deg), rgba(15, 23, 42, 0.1) var(--result-deg, 0deg) 360deg) !important;
}

html[data-theme="light"] body.with-sidebar .issue-code-box,
body.with-sidebar[data-theme="light"] .issue-code-box {
  border-color: rgba(15, 23, 42, 0.1) !important;
  background: #f8fbfc !important;
  color: var(--day-ink) !important;
}

html[data-theme="light"] body.with-sidebar .account-policy-table-wrap,
body.with-sidebar[data-theme="light"] .account-policy-table-wrap {
  border-color: #d8dee8 !important;
  background: #ffffff !important;
}

html[data-theme="light"] body.with-sidebar .account-policy-table thead th,
body.with-sidebar[data-theme="light"] .account-policy-table thead th {
  color: #172033 !important;
  background: #eef3f8 !important;
}

html[data-theme="light"] body.with-sidebar .account-policy-table tbody th,
body.with-sidebar[data-theme="light"] .account-policy-table tbody th {
  color: #111827 !important;
  background: #f8fafc !important;
}

html[data-theme="light"] body.with-sidebar .account-policy-table tbody th span,
body.with-sidebar[data-theme="light"] .account-policy-table tbody th span {
  color: #526173 !important;
}

html[data-theme="light"] body.with-sidebar .account-policy-table th,
html[data-theme="light"] body.with-sidebar .account-policy-table td,
body.with-sidebar[data-theme="light"] .account-policy-table th,
body.with-sidebar[data-theme="light"] .account-policy-table td {
  border-bottom-color: #e2e8f0 !important;
}

html[data-theme="light"] body.with-sidebar .run-validation-summary,
body.with-sidebar[data-theme="light"] .run-validation-summary,
html[data-theme="light"] body.with-sidebar .run-validation-grid article,
body.with-sidebar[data-theme="light"] .run-validation-grid article,
html[data-theme="light"] body.with-sidebar .run-validation-block,
body.with-sidebar[data-theme="light"] .run-validation-block {
  background: #ffffff !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] body.with-sidebar .run-validation-grid strong,
body.with-sidebar[data-theme="light"] .run-validation-grid strong,
html[data-theme="light"] body.with-sidebar .run-validation-block li,
body.with-sidebar[data-theme="light"] .run-validation-block li {
  color: #111827 !important;
}

html[data-theme="light"] body.with-sidebar .run-validation-grid span,
body.with-sidebar[data-theme="light"] .run-validation-grid span,
html[data-theme="light"] body.with-sidebar .run-validation-grid small,
body.with-sidebar[data-theme="light"] .run-validation-grid small {
  color: #475569 !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .panel,
  .status,
  .ops-dashboard,
  .suite-dashboard,
  .qa-admin-dashboard,
  .suite-control-card,
  .qa-admin-card,
  .ops-kpi,
  .ops-graph-card,
  .tile,
  .card-form,
  .org-create-form,
  .org-edit-form,
  .branding-form,
  .support-command,
  .support-strip,
  .support-panel,
  .account-hero,
  .account-directory-panel,
  .account-form-panel,
  .account-analytics-panel,
  .account-metrics article,
  .account-result-card,
  .aws-status-strip article,
  .aws-panel
)::before,
body.with-sidebar[data-theme="light"] :is(
  .panel,
  .status,
  .ops-dashboard,
  .suite-dashboard,
  .qa-admin-dashboard,
  .suite-control-card,
  .qa-admin-card,
  .ops-kpi,
  .ops-graph-card,
  .tile,
  .card-form,
  .org-create-form,
  .org-edit-form,
  .branding-form,
  .support-command,
  .support-strip,
  .support-panel,
  .account-hero,
  .account-directory-panel,
  .account-form-panel,
  .account-analytics-panel,
  .account-metrics article,
  .account-result-card,
  .aws-status-strip article,
  .aws-panel
)::before {
  background: linear-gradient(90deg, rgba(226, 232, 240, 0), rgba(203, 213, 225, 0.62), rgba(226, 232, 240, 0)) !important;
  opacity: 0.68 !important;
}

html[data-theme="light"] body.with-sidebar :is(
  pre,
  code,
  .aws-pre,
  .aws-bar-track,
  .aws-gauge,
  .aws-control-field input,
  .aws-control-field select,
  .aws-check-field input,
  .runtime-trace-pre,
  .runtime-trace-mini,
  .runtime-trace-wide,
  .suite-history,
  .technical-fields,
  .diagnostic-details pre,
  .result-json,
  .account-tools,
  .pager-row,
  .empty-state
),
body.with-sidebar[data-theme="light"] :is(
  pre,
  code,
  .aws-pre,
  .aws-bar-track,
  .aws-gauge,
  .aws-control-field input,
  .aws-control-field select,
  .aws-check-field input,
  .runtime-trace-pre,
  .runtime-trace-mini,
  .runtime-trace-wide,
  .suite-history,
  .technical-fields,
  .diagnostic-details pre,
  .result-json,
  .account-tools,
  .pager-row,
  .empty-state
) {
  background: var(--day-panel) !important;
  background-image: none !important;
  border-color: var(--day-border) !important;
  color: var(--day-ink) !important;
  box-shadow: none !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .muted,
  .subhead,
  .suite-meta,
  .suite-hint,
  .aws-muted,
  .aws-panel p,
  .support-panel p,
  .client-step-list p,
  .identity-strip p,
  .metric span,
  .account-kpi-strip span,
  .crm-chip span,
  .crm-queue-item span,
  .billing-profile-grid span
),
body.with-sidebar[data-theme="light"] :is(
  .muted,
  .subhead,
  .suite-meta,
  .suite-hint,
  .aws-muted,
  .aws-panel p,
  .support-panel p,
  .client-step-list p,
  .identity-strip p,
  .metric span,
  .account-kpi-strip span,
  .crm-chip span,
  .crm-queue-item span,
  .billing-profile-grid span
) {
  color: var(--day-muted) !important;
}

html[data-theme="light"] body.with-sidebar .recipient-payment-line,
body.with-sidebar[data-theme="light"] .recipient-payment-line {
  color: var(--day-muted) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .aws-workflow-card:hover,
  .aws-workflow-card:focus,
  .tile:hover,
  .tile:focus,
  .crm-queue-item.is-active,
  .plan-card.is-active
),
body.with-sidebar[data-theme="light"] :is(
  .aws-workflow-card:hover,
  .aws-workflow-card:focus,
  .tile:hover,
  .tile:focus,
  .crm-queue-item.is-active,
  .plan-card.is-active
) {
  box-shadow: var(--day-shadow) !important;
}

/* Account Management and Support Desk have many bespoke CRM/support/account
   surfaces that predate the shared panel layer. In day mode, keep those
   structural surfaces white and remove their dark/gradient remnants. */
html[data-theme="light"] body.with-sidebar :is(
  .account-workflow-strip article,
  .account-switchboard,
  .account-directory-collapsible,
  .account-directory-table,
  .account-meta-line span,
  .account-logo-pair,
  .account-member-logo-box,
  .account-tab,
  .account-voice-panel,
  .account-voice-form select,
  .account-voice-form input,
  .account-voice-summary article,
  .account-voice-usage article,
  .account-voice-recent div,
  .account-kpi-strip article,
  .account-chart-card,
  .account-chart,
  .account-chart-error,
  .account-check,
  .account-action-list a,
  .account-user-row,
  .account-result-card,
  .crm-summary-rail,
  .crm-chip,
  .crm-list-card,
  .crm-ops-card,
  .crm-queue-item,
  .crm-rollup-item,
  .crm-assistant-card,
  .crm-assistant-answer,
  .crm-assistant-action,
  .crm-assistant-log,
  .crm-active-filter,
  .crm-account-brief,
  .crm-action-center,
  .crm-action-drawer,
  .crm-action-drawer .card-form,
  .crm-row,
  .document-batch-actions,
  .matrix-context,
  .support-workflow article,
  .support-empty-snapshot,
  .support-empty-summary article,
  .support-empty-account,
  .support-assistant-panel,
  .support-watch-run-state,
  .support-watch-strip article,
  .support-assistant-answer,
  .support-assistant-action,
  .support-assistant-log,
  .watch-alert,
  .watch-alert[data-severity],
  .mail-thread,
  .mail-message,
  .mail-attachment-chip
),
body.with-sidebar[data-theme="light"] :is(
  .account-workflow-strip article,
  .account-switchboard,
  .account-directory-collapsible,
  .account-directory-table,
  .account-meta-line span,
  .account-logo-pair,
  .account-member-logo-box,
  .account-tab,
  .account-voice-panel,
  .account-voice-form select,
  .account-voice-form input,
  .account-voice-summary article,
  .account-voice-usage article,
  .account-voice-recent div,
  .account-kpi-strip article,
  .account-chart-card,
  .account-chart,
  .account-chart-error,
  .account-check,
  .account-action-list a,
  .account-user-row,
  .account-result-card,
  .crm-summary-rail,
  .crm-chip,
  .crm-list-card,
  .crm-ops-card,
  .crm-queue-item,
  .crm-rollup-item,
  .crm-assistant-card,
  .crm-assistant-answer,
  .crm-assistant-action,
  .crm-assistant-log,
  .crm-active-filter,
  .crm-account-brief,
  .crm-action-center,
  .crm-action-drawer,
  .crm-action-drawer .card-form,
  .crm-row,
  .document-batch-actions,
  .matrix-context,
  .support-workflow article,
  .support-empty-snapshot,
  .support-empty-summary article,
  .support-empty-account,
  .support-assistant-panel,
  .support-watch-run-state,
  .support-watch-strip article,
  .support-assistant-answer,
  .support-assistant-action,
  .support-assistant-log,
  .watch-alert,
  .watch-alert[data-severity],
  .mail-thread,
  .mail-message,
  .mail-attachment-chip
) {
  background: var(--day-panel) !important;
  background-image: none !important;
  border-color: var(--day-border) !important;
  color: var(--day-ink) !important;
  box-shadow: var(--day-shadow) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .account-workflow-strip article,
  .account-kpi-strip article,
  .account-chart,
  .crm-assistant-card,
  .support-workflow article,
  .support-empty-snapshot,
  .support-assistant-panel,
  .watch-alert
)::before,
html[data-theme="light"] body.with-sidebar :is(
  .account-workflow-strip article,
  .account-kpi-strip article,
  .account-chart,
  .crm-assistant-card,
  .support-workflow article,
  .support-empty-snapshot,
  .support-assistant-panel,
  .watch-alert
)::after,
body.with-sidebar[data-theme="light"] :is(
  .account-workflow-strip article,
  .account-kpi-strip article,
  .account-chart,
  .crm-assistant-card,
  .support-workflow article,
  .support-empty-snapshot,
  .support-assistant-panel,
  .watch-alert
)::before,
body.with-sidebar[data-theme="light"] :is(
  .account-workflow-strip article,
  .account-kpi-strip article,
  .account-chart,
  .crm-assistant-card,
  .support-workflow article,
  .support-empty-snapshot,
  .support-assistant-panel,
  .watch-alert
)::after {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Absolute final remediation queue overrides. Keep after every shared day-mode rule. */
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] {
  --tone-teal: #315eea;
  --tone-emerald: #7657e8;
  --accent: #315eea;
  --good: #0369a1;
  background: #eef2f7 !important;
  color: #101828 !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .remediation-results-hero,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .remediation-results-hero,
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(
  .results-action-strip,
  .remediation-control-drawer,
  .remediation-table-panel,
  .command-panel,
  .issue-expander,
  .issue-case-section,
  .root-cause-drawer,
  .root-cause-row,
  .policy-route-card,
  .queue-action-tile,
  .approved-target-card,
  .scan-step-drawer,
  .advanced-remediation-drawer,
  .result-ring-card,
  .row-indicator
),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(
  .results-action-strip,
  .remediation-control-drawer,
  .remediation-table-panel,
  .command-panel,
  .issue-expander,
  .issue-case-section,
  .root-cause-drawer,
  .root-cause-row,
  .policy-route-card,
  .queue-action-tile,
  .approved-target-card,
  .scan-step-drawer,
  .advanced-remediation-drawer,
  .result-ring-card,
  .row-indicator
) {
  border-color: #d8e0ea !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #101828 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 14px 28px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(.issue-expander[open], .scan-step-drawer[open], .remediation-control-drawer[open], .root-cause-drawer[open]),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(.issue-expander[open], .scan-step-drawer[open], .remediation-control-drawer[open], .root-cause-drawer[open]) {
  border-color: rgba(49, 94, 234, 0.62) !important;
  background: #f7f9ff !important;
  background-image: linear-gradient(135deg, rgba(49, 94, 234, 0.08), rgba(118, 87, 232, 0.04)) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(
  .result-ring-card,
  .queue-action-tile,
  .policy-route-card,
  .scan-step-drawer > summary,
  .approved-target-card,
  .issue-expander summary,
  .btn
):hover,
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(
  .result-ring-card,
  .queue-action-tile,
  .policy-route-card,
  .scan-step-drawer > summary,
  .approved-target-card,
  .issue-expander summary,
  .btn
):focus-visible,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(
  .result-ring-card,
  .queue-action-tile,
  .policy-route-card,
  .scan-step-drawer > summary,
  .approved-target-card,
  .issue-expander summary,
  .btn
):hover,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(
  .result-ring-card,
  .queue-action-tile,
  .policy-route-card,
  .scan-step-drawer > summary,
  .approved-target-card,
  .issue-expander summary,
  .btn
):focus-visible {
  border-color: rgba(49, 94, 234, 0.62) !important;
  background: #eef4ff !important;
  background-image: linear-gradient(135deg, rgba(49, 94, 234, 0.10), rgba(118, 87, 232, 0.06)) !important;
  box-shadow: 0 0 0 3px rgba(49, 94, 234, 0.14), 0 14px 26px rgba(15, 23, 42, 0.10) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(
  .remediation-results-copy h2,
  .remediation-results-footer strong,
  .result-ring-card strong,
  .issue-expander summary,
  .issue-expander summary strong,
  .issue-case-section p,
  .issue-case-section span,
  .issue-mini-ring strong,
  .row-indicator b,
  .remediation-table td strong
),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(
  .remediation-results-copy h2,
  .remediation-results-footer strong,
  .result-ring-card strong,
  .issue-expander summary,
  .issue-expander summary strong,
  .issue-case-section p,
  .issue-case-section span,
  .issue-mini-ring strong,
  .row-indicator b,
  .remediation-table td strong
) {
  color: #101828 !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(
  .remediation-results-copy p,
  .remediation-results-footer span,
  .result-ring-card span,
  .result-ring-card small,
  .issue-expander summary small,
  .issue-case-section small,
  .issue-mini-ring span,
  .row-indicator em,
  .remediation-table td small
),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(
  .remediation-results-copy p,
  .remediation-results-footer span,
  .result-ring-card span,
  .result-ring-card small,
  .issue-expander summary small,
  .issue-case-section small,
  .issue-mini-ring span,
  .row-indicator em,
  .remediation-table td small
) {
  color: #526071 !important;
}

html[data-theme="light"] body.with-sidebar .remediation-console-hero,
body.with-sidebar[data-theme="light"] .remediation-console-hero {
  border-color: rgba(10, 71, 84, 0.14) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(41, 199, 184, 0.16), transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(56, 189, 248, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef8fa 52%, #e8f2f4 100%) !important;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] body.with-sidebar .remediation-console-copy h2,
body.with-sidebar[data-theme="light"] .remediation-console-copy h2 {
  color: #061419 !important;
}

html[data-theme="light"] body.with-sidebar .remediation-console-copy p,
body.with-sidebar[data-theme="light"] .remediation-console-copy p,
html[data-theme="light"] body.with-sidebar .remediation-ring-card small,
body.with-sidebar[data-theme="light"] .remediation-ring-card small {
  color: #52666d !important;
}

html[data-theme="light"] body.with-sidebar .remediation-ring-card > span,
body.with-sidebar[data-theme="light"] .remediation-ring-card > span,
html[data-theme="light"] body.with-sidebar .remediation-ring strong,
body.with-sidebar[data-theme="light"] .remediation-ring strong {
  color: #061419 !important;
}

html[data-theme="light"] body.with-sidebar .remediation-ring,
body.with-sidebar[data-theme="light"] .remediation-ring {
  background:
    radial-gradient(circle, #ffffff 54%, transparent 55%),
    conic-gradient(from -90deg, var(--ring-tone) 0 var(--ring-deg, 0deg), rgba(10, 71, 84, 0.1) var(--ring-deg, 0deg) 360deg) !important;
  box-shadow: inset 0 0 0 10px rgba(10, 71, 84, 0.04), 0 0 18px color-mix(in srgb, var(--ring-tone) 14%, transparent) !important;
}

html[data-theme="light"] body.with-sidebar :is(.remediation-tabs, .remediation-table-panel, .remediation-actions-panel, .landscape-score),
body.with-sidebar[data-theme="light"] :is(.remediation-tabs, .remediation-table-panel, .remediation-actions-panel, .landscape-score) {
  border-color: rgba(10, 71, 84, 0.12) !important;
  background: #ffffff !important;
  color: #061419 !important;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="light"] body.with-sidebar .remediation-results-hero,
body.with-sidebar[data-theme="light"] .remediation-results-hero {
  border-color: rgba(10, 71, 84, 0.14) !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(41, 199, 184, 0.16), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(56, 189, 248, 0.13), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef8fa 52%, #e8f2f4 100%) !important;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] body.with-sidebar .remediation-results-copy h2,
body.with-sidebar[data-theme="light"] .remediation-results-copy h2,
html[data-theme="light"] body.with-sidebar .result-ring-card strong,
body.with-sidebar[data-theme="light"] .result-ring-card strong,
html[data-theme="light"] body.with-sidebar .remediation-results-footer strong,
body.with-sidebar[data-theme="light"] .remediation-results-footer strong {
  color: #061419 !important;
}

html[data-theme="light"] body.with-sidebar .remediation-results-copy p,
body.with-sidebar[data-theme="light"] .remediation-results-copy p,
html[data-theme="light"] body.with-sidebar .result-ring-card span,
body.with-sidebar[data-theme="light"] .result-ring-card span,
html[data-theme="light"] body.with-sidebar .result-ring-card small,
body.with-sidebar[data-theme="light"] .result-ring-card small,
html[data-theme="light"] body.with-sidebar .remediation-results-footer span,
body.with-sidebar[data-theme="light"] .remediation-results-footer span {
  color: #52666d !important;
}

html[data-theme="light"] body.with-sidebar .result-ring-card strong,
body.with-sidebar[data-theme="light"] .result-ring-card strong {
  background:
    radial-gradient(circle, #ffffff 54%, transparent 55%),
    conic-gradient(from -90deg, var(--result-tone) 0 var(--result-deg, 0deg), rgba(10, 71, 84, 0.1) var(--result-deg, 0deg) 360deg) !important;
  box-shadow: inset 0 0 0 10px rgba(10, 71, 84, 0.04), 0 0 18px color-mix(in srgb, var(--result-tone) 16%, transparent) !important;
}

html[data-theme="light"] body.with-sidebar .remediation-results-footer span,
body.with-sidebar[data-theme="light"] .remediation-results-footer span {
  border-color: rgba(10, 71, 84, 0.12) !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

html[data-theme="light"] body.with-sidebar .issue-expander,
body.with-sidebar[data-theme="light"] .issue-expander {
  border-color: rgba(10, 71, 84, 0.14) !important;
  background: #ffffff !important;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] body.with-sidebar .issue-expander[open],
body.with-sidebar[data-theme="light"] .issue-expander[open] {
  border-color: rgba(41, 199, 184, 0.34) !important;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] body.with-sidebar .issue-expander summary,
body.with-sidebar[data-theme="light"] .issue-expander summary,
html[data-theme="light"] body.with-sidebar .issue-expander summary strong,
body.with-sidebar[data-theme="light"] .issue-expander summary strong,
html[data-theme="light"] body.with-sidebar .issue-case-section p,
body.with-sidebar[data-theme="light"] .issue-case-section p,
html[data-theme="light"] body.with-sidebar .issue-mini-ring strong,
body.with-sidebar[data-theme="light"] .issue-mini-ring strong {
  color: #061419 !important;
}

html[data-theme="light"] body.with-sidebar .issue-expander summary small,
body.with-sidebar[data-theme="light"] .issue-expander summary small,
html[data-theme="light"] body.with-sidebar .issue-case-section small,
body.with-sidebar[data-theme="light"] .issue-case-section small,
html[data-theme="light"] body.with-sidebar .issue-mini-ring span,
body.with-sidebar[data-theme="light"] .issue-mini-ring span {
  color: #52666d !important;
}

html[data-theme="light"] body.with-sidebar .issue-case-section,
body.with-sidebar[data-theme="light"] .issue-case-section {
  border-color: rgba(10, 71, 84, 0.12) !important;
  background: #f6fbfc !important;
}

html[data-theme="light"] body.with-sidebar .issue-case-section code,
body.with-sidebar[data-theme="light"] .issue-case-section code {
  background: #eef6f8 !important;
  color: #061419 !important;
}

html[data-theme="light"] body.with-sidebar .issue-mini-ring,
body.with-sidebar[data-theme="light"] .issue-mini-ring {
  background:
    radial-gradient(circle, #ffffff 52%, transparent 53%),
    conic-gradient(from -90deg, var(--mini-tone, #29c7b8) 0 var(--mini-deg, 0%), rgba(10, 71, 84, 0.1) var(--mini-deg, 0%) 100%) !important;
}

html[data-theme="light"] body.with-sidebar :is(.finding-case-summary, .finding-proof-rail, .finding-visual-board, .finding-written-board, .finding-standards-board),
body.with-sidebar[data-theme="light"] :is(.finding-case-summary, .finding-proof-rail, .finding-visual-board, .finding-written-board, .finding-standards-board) {
  border-color: rgba(10, 71, 84, 0.12) !important;
  background: #ffffff !important;
  color: #061419 !important;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="light"] body.with-sidebar :is(.finding-proof-rail h2, .finding-fact strong, .finding-standard-card strong, .finding-evidence-empty strong, .finding-proof-card span, .finding-proof-card strong, .finding-visual-frame strong, .finding-visual-caption strong, .finding-evidence-row summary strong),
body.with-sidebar[data-theme="light"] :is(.finding-proof-rail h2, .finding-fact strong, .finding-standard-card strong, .finding-evidence-empty strong, .finding-proof-card span, .finding-proof-card strong, .finding-visual-frame strong, .finding-visual-caption strong, .finding-evidence-row summary strong) {
  color: #061419 !important;
}

html[data-theme="light"] body.with-sidebar :is(.finding-fact, .finding-standard-card, .finding-evidence-empty, .finding-evidence-row, .finding-visual-caption),
body.with-sidebar[data-theme="light"] :is(.finding-fact, .finding-standard-card, .finding-evidence-empty, .finding-evidence-row, .finding-visual-caption) {
  border-color: rgba(10, 71, 84, 0.12) !important;
  background: #f6fbfc !important;
}

html[data-theme="light"] body.with-sidebar :is(.finding-fact small, .finding-standard-card small, .finding-proof-card small, .finding-visual-frame small, .finding-visual-card small, .finding-visual-caption small, .finding-evidence-row summary small, .finding-evidence-row > small),
body.with-sidebar[data-theme="light"] :is(.finding-fact small, .finding-standard-card small, .finding-proof-card small, .finding-visual-frame small, .finding-visual-card small, .finding-visual-caption small, .finding-evidence-row summary small, .finding-evidence-row > small) {
  color: #52666d !important;
}

html[data-theme="light"] body.with-sidebar :is(.finding-fact code, .finding-evidence-row code, .finding-visual-card code),
body.with-sidebar[data-theme="light"] :is(.finding-fact code, .finding-evidence-row code, .finding-visual-card code) {
  background: #eef6f8 !important;
  color: #061419 !important;
}

html[data-theme="light"] body.with-sidebar :is(.finding-evidence-meta span, .finding-evidence-meta a),
body.with-sidebar[data-theme="light"] :is(.finding-evidence-meta span, .finding-evidence-meta a) {
  border-color: rgba(10, 71, 84, 0.14) !important;
  background: #ffffff !important;
  color: #0a4754 !important;
}

html[data-theme="light"] body.with-sidebar .finding-code-block span,
body.with-sidebar[data-theme="light"] .finding-code-block span {
  color: #0a4754 !important;
}

html[data-theme="light"] body.with-sidebar .finding-proof-card strong,
body.with-sidebar[data-theme="light"] .finding-proof-card strong {
  background:
    radial-gradient(circle, #ffffff 54%, transparent 55%),
    conic-gradient(from -90deg, var(--proof-tone) 0 var(--proof-deg, 0deg), rgba(10, 71, 84, 0.1) var(--proof-deg, 0deg) 360deg) !important;
  box-shadow: inset 0 0 0 8px rgba(10, 71, 84, 0.04), 0 0 16px color-mix(in srgb, var(--proof-tone) 16%, transparent) !important;
}

html[data-theme="light"] body.with-sidebar .finding-visual-frame,
body.with-sidebar[data-theme="light"] .finding-visual-frame {
  border-color: rgba(10, 71, 84, 0.14) !important;
  background:
    linear-gradient(135deg, rgba(41, 199, 184, 0.16), transparent 36%),
    #f6fbfc !important;
}

html[data-theme="light"] body.with-sidebar .finding-visual-preview-link,
body.with-sidebar[data-theme="light"] .finding-visual-preview-link {
  background: #ffffff !important;
}

html[data-theme="light"] body.with-sidebar :is(.remediation-control-drawer, .root-cause-drawer, .finding-action-heading, .finding-action-drawer, .pdf-repair-checkpoint, .repair-workflow-card, .repair-output-section, .repair-output-card, .ai-guidance-card, .ai-guidance-review-card, .closeout-readiness-card, .closeout-guidance article, .manual-proof-card, .manual-proof-update),
body.with-sidebar[data-theme="light"] :is(.remediation-control-drawer, .root-cause-drawer, .finding-action-heading, .finding-action-drawer, .pdf-repair-checkpoint, .repair-workflow-card, .repair-output-section, .repair-output-card, .ai-guidance-card, .ai-guidance-review-card, .closeout-readiness-card, .closeout-guidance article, .manual-proof-card, .manual-proof-update) {
  border-color: rgba(10, 71, 84, 0.12) !important;
  background: #ffffff !important;
  color: #061419 !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] body.with-sidebar :is(.queue-action-tile, .finding-action-drawer summary),
body.with-sidebar[data-theme="light"] :is(.queue-action-tile, .finding-action-drawer summary) {
  border-color: rgba(10, 71, 84, 0.12) !important;
  background: #f6fbfc !important;
}

html[data-theme="light"] body.with-sidebar :is(.queue-action-tile strong, .remediation-control-drawer summary strong, .root-cause-drawer summary h2, .finding-action-heading h2, .finding-action-drawer summary strong, .pdf-repair-checkpoint-head strong, .repair-workflow-card strong, .repair-output-card strong, .repair-output-section summary strong, .repair-output-section-head h3, .ai-guidance-card strong, .closeout-readiness-card strong, .closeout-guidance strong, .manual-proof-card strong, .manual-proof-update summary strong),
body.with-sidebar[data-theme="light"] :is(.queue-action-tile strong, .remediation-control-drawer summary strong, .root-cause-drawer summary h2, .finding-action-heading h2, .finding-action-drawer summary strong, .pdf-repair-checkpoint-head strong, .repair-workflow-card strong, .repair-output-card strong, .repair-output-section summary strong, .repair-output-section-head h3, .ai-guidance-card strong, .closeout-readiness-card strong, .closeout-guidance strong, .manual-proof-card strong, .manual-proof-update summary strong) {
  color: #061419 !important;
}

html[data-theme="light"] body.with-sidebar :is(.pdf-repair-checkpoint-head small, .repair-workflow-card small, .repair-output-card small, .ai-guidance-card small, .ai-guidance-review-card small, .closeout-readiness-card small, .closeout-guidance small, .manual-proof-card small),
body.with-sidebar[data-theme="light"] :is(.pdf-repair-checkpoint-head small, .repair-workflow-card small, .repair-output-card small, .ai-guidance-card small, .ai-guidance-review-card small, .closeout-readiness-card small, .closeout-guidance small, .manual-proof-card small) {
  color: #52666d !important;
}

html[data-theme="light"] body.with-sidebar .remediation-section-divider,
body.with-sidebar[data-theme="light"] .remediation-section-divider {
  border-color: rgba(41, 199, 184, 0.32) !important;
  background:
    linear-gradient(90deg, rgba(41, 199, 184, 0.12), rgba(56, 189, 248, 0.08)),
    #ffffff !important;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] body.with-sidebar .remediation-section-divider h2,
body.with-sidebar[data-theme="light"] .remediation-section-divider h2 {
  color: #061419 !important;
}

html[data-theme="light"] body.with-sidebar .remediation-section-divider p,
body.with-sidebar[data-theme="light"] .remediation-section-divider p {
  color: #52666d !important;
}

html[data-theme="light"] body.with-sidebar .extension-install-panel,
body.with-sidebar[data-theme="light"] .extension-install-panel {
  border-color: #d5dde8 !important;
  background: #ffffff !important;
  color: #172033 !important;
}

html[data-theme="light"] body.with-sidebar .extension-install-card,
body.with-sidebar[data-theme="light"] .extension-install-card {
  border-color: #d5dde8 !important;
  background: #f8fafc !important;
  color: #172033 !important;
}

html[data-theme="light"] body.with-sidebar .extension-install-events,
body.with-sidebar[data-theme="light"] .extension-install-events {
  color: #475569 !important;
}

/* Authenticated day-mode correction for rendered dynamic cards/pills. */
html[data-theme="light"] body.with-sidebar :is(
  .home-detail-drawer summary,
  .ai-cost-meta span,
  .ai-cost-breakdown > div,
  .run-cost-summary span,
  .run-cost-home-card,
  .run-cost-home-stats span
),
body.with-sidebar[data-theme="light"] :is(
  .home-detail-drawer summary,
  .ai-cost-meta span,
  .ai-cost-breakdown > div,
  .run-cost-summary span,
  .run-cost-home-card,
  .run-cost-home-stats span
),
html[data-theme="light"] body:is(.dashboard, .change-list, .change-form) :is(
  .admin-watch-policy-summary article,
  .admin-watch-policy-card,
  .admin-watch-policy-row,
  .admin-watch-policy-state span,
  .economics-filter-chip,
  .economics-stat,
  .economics-date-btn
),
body:is(.dashboard, .change-list, .change-form)[data-theme="light"] :is(
  .admin-watch-policy-summary article,
  .admin-watch-policy-card,
  .admin-watch-policy-row,
  .admin-watch-policy-state span,
  .economics-filter-chip,
  .economics-stat,
  .economics-date-btn
) {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--day-border) !important;
  color: var(--day-ink) !important;
  box-shadow: var(--day-shadow) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .home-detail-drawer summary *,
  .ai-cost-meta span,
  .ai-cost-meta strong,
  .ai-cost-breakdown > div,
  .ai-cost-breakdown > div *,
  .run-cost-summary span,
  .run-cost-home-card,
  .run-cost-home-card *,
  .run-cost-home-stats span,
  .run-cost-home-stats span *
),
body.with-sidebar[data-theme="light"] :is(
  .home-detail-drawer summary *,
  .ai-cost-meta span,
  .ai-cost-meta strong,
  .ai-cost-breakdown > div,
  .ai-cost-breakdown > div *,
  .run-cost-summary span,
  .run-cost-home-card,
  .run-cost-home-card *,
  .run-cost-home-stats span,
  .run-cost-home-stats span *
),
html[data-theme="light"] body:is(.dashboard, .change-list, .change-form) :is(
  .admin-watch-policy-summary article *,
  .admin-watch-policy-card *,
  .admin-watch-policy-row *,
  .admin-watch-policy-state span,
  .admin-watch-policy-state span *,
  .economics-filter-chip,
  .economics-filter-chip *,
  .economics-stat,
  .economics-stat *,
  .economics-date-btn
),
body:is(.dashboard, .change-list, .change-form)[data-theme="light"] :is(
  .admin-watch-policy-summary article *,
  .admin-watch-policy-card *,
  .admin-watch-policy-row *,
  .admin-watch-policy-state span,
  .admin-watch-policy-state span *,
  .economics-filter-chip,
  .economics-filter-chip *,
  .economics-stat,
  .economics-stat *,
  .economics-date-btn
) {
  color: var(--day-ink) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .ai-cost-meta span,
  .ai-cost-breakdown span,
  .ai-cost-breakdown small,
  .run-cost-home-card small,
  .run-cost-home-card p,
  .run-cost-home-stats small
),
body.with-sidebar[data-theme="light"] :is(
  .ai-cost-meta span,
  .ai-cost-breakdown span,
  .ai-cost-breakdown small,
  .run-cost-home-card small,
  .run-cost-home-card p,
  .run-cost-home-stats small
),
html[data-theme="light"] body:is(.dashboard, .change-list, .change-form) :is(
  .admin-watch-policy-summary span,
  .admin-watch-policy-card p,
  .admin-watch-policy-card small,
  .admin-watch-policy-row span,
  .admin-watch-policy-row small,
  .economics-filter-chip span,
  .economics-stat-label,
  .suite-meta
),
body:is(.dashboard, .change-list, .change-form)[data-theme="light"] :is(
  .admin-watch-policy-summary span,
  .admin-watch-policy-card p,
  .admin-watch-policy-card small,
  .admin-watch-policy-row span,
  .admin-watch-policy-row small,
  .economics-filter-chip span,
  .economics-stat-label,
  .suite-meta
) {
  color: var(--day-muted) !important;
}

html[data-theme="light"] body:is(.dashboard, .change-list, .change-form) #operations-network-snapshot .ops-routing-card,
body:is(.dashboard, .change-list, .change-form)[data-theme="light"] #operations-network-snapshot .ops-routing-card {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(8, 24, 42, 0.98), rgba(2, 6, 23, 0.98)) !important;
  border-color: rgba(56, 189, 248, 0.24) !important;
  color: #e2e8f0 !important;
  box-shadow: var(--braillia-shadow-console) !important;
}

html[data-theme="light"] body:is(.dashboard, .change-list, .change-form) #operations-network-snapshot .ops-routing-card :is(h3, strong, span, small),
body:is(.dashboard, .change-list, .change-form)[data-theme="light"] #operations-network-snapshot .ops-routing-card :is(h3, strong, span, small) {
  color: #e2e8f0 !important;
}

body[data-theme="light"] :is(
  .admin-watch-policy-summary article,
  .admin-watch-policy-card,
  .admin-watch-policy-row,
  .admin-watch-policy-state span,
  .economics-filter-chip,
  .economics-stat,
  .economics-date-btn
) {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--day-border) !important;
  color: var(--day-ink) !important;
  box-shadow: var(--day-shadow) !important;
}

body[data-theme="light"] :is(
  .admin-watch-policy-summary article *,
  .admin-watch-policy-card *,
  .admin-watch-policy-row *,
  .admin-watch-policy-state span,
  .admin-watch-policy-state span *,
  .economics-filter-chip,
  .economics-filter-chip *,
  .economics-stat,
  .economics-stat *,
  .economics-date-btn
) {
  color: var(--day-ink) !important;
}

body[data-theme="light"] :is(
  .admin-watch-policy-summary span,
  .admin-watch-policy-card p,
  .admin-watch-policy-card small,
  .admin-watch-policy-row span,
  .admin-watch-policy-row small,
  .economics-filter-chip span,
  .economics-stat-label,
  .suite-meta
) {
  color: var(--day-muted) !important;
}

body[data-theme="light"] #operations-network-snapshot .ops-routing-card {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(8, 24, 42, 0.98), rgba(2, 6, 23, 0.98)) !important;
  border-color: rgba(56, 189, 248, 0.24) !important;
  color: #e2e8f0 !important;
  box-shadow: var(--braillia-shadow-console) !important;
}

body[data-theme="light"] #operations-network-snapshot .ops-routing-card :is(h3, strong, span, small) {
  color: #e2e8f0 !important;
}

body.with-sidebar[data-theme="light"] .sidebar-link.is-braillia,
html[data-theme="light"] body.with-sidebar .sidebar-link.is-braillia {
  background: #f5f3ff !important;
  border-color: rgba(124, 58, 237, 0.32) !important;
  color: #4c1d95 !important;
}

/* 2026-05-31 day-theme normalization pass.
   Keep day mode white, readable, and consistent across the Admin/Portal workspaces. */
html[data-theme="light"] body.with-sidebar :is(
  .btn,
  .admin-btn,
  .aws-btn,
  .section-tabs-button,
  .console-section-btn,
  .collapsible-section-toggle,
  .copy-ref-btn,
  .account-inline-copy,
  .quick-links a,
  .admin-collapse-btn
),
body.with-sidebar[data-theme="light"] :is(
  .btn,
  .admin-btn,
  .aws-btn,
  .section-tabs-button,
  .console-section-btn,
  .collapsible-section-toggle,
  .copy-ref-btn,
  .account-inline-copy,
  .quick-links a,
  .admin-collapse-btn
) {
  background: #ffffff !important;
  background-image: none !important;
  border-color: #b9d6ef !important;
  color: #075985 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .btn:hover,
  .btn:focus-visible,
  .admin-btn:hover,
  .admin-btn:focus-visible,
  .aws-btn:hover,
  .aws-btn:focus-visible,
  .section-tabs-button:hover,
  .section-tabs-button:focus-visible,
  .console-section-btn:hover,
  .console-section-btn:focus-visible,
  .collapsible-section-toggle:hover,
  .collapsible-section-toggle:focus-visible,
  .copy-ref-btn:hover,
  .copy-ref-btn:focus-visible,
  .account-inline-copy:hover,
  .account-inline-copy:focus-visible,
  .quick-links a:hover,
  .quick-links a:focus-visible,
  .admin-collapse-btn:hover,
  .admin-collapse-btn:focus-visible
),
body.with-sidebar[data-theme="light"] :is(
  .btn:hover,
  .btn:focus-visible,
  .admin-btn:hover,
  .admin-btn:focus-visible,
  .aws-btn:hover,
  .aws-btn:focus-visible,
  .section-tabs-button:hover,
  .section-tabs-button:focus-visible,
  .console-section-btn:hover,
  .console-section-btn:focus-visible,
  .collapsible-section-toggle:hover,
  .collapsible-section-toggle:focus-visible,
  .copy-ref-btn:hover,
  .copy-ref-btn:focus-visible,
  .account-inline-copy:hover,
  .account-inline-copy:focus-visible,
  .quick-links a:hover,
  .quick-links a:focus-visible,
  .admin-collapse-btn:hover,
  .admin-collapse-btn:focus-visible
) {
  background: #eef7ff !important;
  border-color: #60a5fa !important;
  color: #1d4ed8 !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10), 0 10px 22px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .btn.primary,
  .suite-btn-primary,
  #selected-account-workspace-link,
  #reset-workspace-btn:hover,
  #reset-workspace-btn:focus-visible
),
body.with-sidebar[data-theme="light"] :is(
  .btn.primary,
  .suite-btn-primary,
  #selected-account-workspace-link,
  #reset-workspace-btn:hover,
  #reset-workspace-btn:focus-visible
) {
  background: #ecfdf3 !important;
  background-image: none !important;
  border-color: rgba(34, 197, 94, 0.56) !important;
  color: #047857 !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .btn[disabled],
  .btn.is-disabled,
  .admin-btn[disabled],
  .aws-btn[disabled],
  .section-tabs-button[disabled],
  .console-section-btn[disabled]
),
body.with-sidebar[data-theme="light"] :is(
  .btn[disabled],
  .btn.is-disabled,
  .admin-btn[disabled],
  .aws-btn[disabled],
  .section-tabs-button[disabled],
  .console-section-btn[disabled]
) {
  opacity: 0.58 !important;
  cursor: not-allowed !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .pill,
  .account-pill,
  .console-pill,
  .crm-chip,
  .economics-filter-chip,
  .billing-status,
  .plan-active-badge,
  .account-flag-list span,
  .account-check span,
  .system-message-source,
  .admin-nav-card span
),
body.with-sidebar[data-theme="light"] :is(
  .pill,
  .account-pill,
  .console-pill,
  .crm-chip,
  .economics-filter-chip,
  .billing-status,
  .plan-active-badge,
  .account-flag-list span,
  .account-check span,
  .system-message-source,
  .admin-nav-card span
) {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #cfe0ee !important;
  color: #075985 !important;
  box-shadow: none !important;
}

html[data-theme="light"] body.with-sidebar :is(.account-pill.ok, .console-pill.ok, .pill.ok, .account-check.complete span),
body.with-sidebar[data-theme="light"] :is(.account-pill.ok, .console-pill.ok, .pill.ok, .account-check.complete span) {
  border-color: rgba(34, 197, 94, 0.42) !important;
  color: #047857 !important;
}

html[data-theme="light"] body.with-sidebar :is(.account-pill.bad, .console-pill.bad, .pill.bad, .account-check.needs-work span),
body.with-sidebar[data-theme="light"] :is(.account-pill.bad, .console-pill.bad, .pill.bad, .account-check.needs-work span) {
  border-color: rgba(220, 38, 38, 0.34) !important;
  color: #b91c1c !important;
}

html[data-theme="light"] body.with-sidebar :is(.account-pill.suspended, .console-pill.warn, .account-flag-list span),
body.with-sidebar[data-theme="light"] :is(.account-pill.suspended, .console-pill.warn, .account-flag-list span) {
  border-color: rgba(217, 119, 6, 0.38) !important;
  color: #92400e !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .checkout-card,
  .summary-card,
  .billing-chart-card,
  .plan-card,
  .billing-table,
  .checkout-result,
  .empty,
  .selection-prompt,
  .account-workflow-strip article,
  .metric-card,
  .account-directory-collapsible,
  .admin-intelligence-card,
  .admin-intelligence-body div,
  .admin-intelligence-store,
  .release-drift-card,
  .docjson-shadow-mini-detail
),
body.with-sidebar[data-theme="light"] :is(
  .checkout-card,
  .summary-card,
  .billing-chart-card,
  .plan-card,
  .billing-table,
  .checkout-result,
  .empty,
  .selection-prompt,
  .account-workflow-strip article,
  .metric-card,
  .account-directory-collapsible,
  .admin-intelligence-card,
  .admin-intelligence-body div,
  .admin-intelligence-store,
  .release-drift-card,
  .docjson-shadow-mini-detail
) {
  background: #ffffff !important;
  background-image: none !important;
  border-color: var(--day-border) !important;
  color: var(--day-ink) !important;
  box-shadow: var(--day-shadow) !important;
}

html[data-theme="light"] body.with-sidebar .selection-prompt,
body.with-sidebar[data-theme="light"] .selection-prompt {
  border-color: rgba(16, 185, 129, 0.56) !important;
  color: #047857 !important;
  background: #ecfdf3 !important;
}

html[data-theme="light"] body.with-sidebar .docjson-shadow-summary,
body.with-sidebar[data-theme="light"] .docjson-shadow-summary {
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)) !important;
}

html[data-theme="light"] body.with-sidebar .docjson-shadow-summary article,
body.with-sidebar[data-theme="light"] .docjson-shadow-summary article {
  min-height: 4.35rem !important;
  overflow: hidden !important;
}

html[data-theme="light"] body.with-sidebar :is(.docjson-shadow-summary span, .docjson-shadow-summary strong),
body.with-sidebar[data-theme="light"] :is(.docjson-shadow-summary span, .docjson-shadow-summary strong) {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

html[data-theme="light"] body.with-sidebar .docjson-shadow-filters,
body.with-sidebar[data-theme="light"] .docjson-shadow-filters {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)) !important;
}

html[data-theme="light"] body.with-sidebar :is(.docjson-shadow-detail, .docjson-shadow-risk),
body.with-sidebar[data-theme="light"] :is(.docjson-shadow-detail, .docjson-shadow-risk) {
  background: #ffffff !important;
  border-color: var(--day-border) !important;
  color: var(--day-ink) !important;
}

html[data-theme="light"] body:is(.dashboard, .change-list, .change-form) #operations-network-snapshot .ops-routing-card,
body:is(.dashboard, .change-list, .change-form)[data-theme="light"] #operations-network-snapshot .ops-routing-card {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(8, 24, 42, 0.98), rgba(2, 6, 23, 0.98)) !important;
  border-color: rgba(56, 189, 248, 0.24) !important;
  color: #e2e8f0 !important;
  box-shadow: var(--braillia-shadow-console) !important;
}

html[data-theme="light"] body:is(.dashboard, .change-list, .change-form) #operations-network-snapshot .ops-routing-card :is(h3, strong),
body:is(.dashboard, .change-list, .change-form)[data-theme="light"] #operations-network-snapshot .ops-routing-card :is(h3, strong) {
  color: #f8fafc !important;
}

html[data-theme="light"] body:is(.dashboard, .change-list, .change-form) #operations-network-snapshot .ops-routing-card .suite-help-dot,
body:is(.dashboard, .change-list, .change-form)[data-theme="light"] #operations-network-snapshot .ops-routing-card .suite-help-dot {
  background: rgba(15, 23, 42, 0.88) !important;
  color: #cbd5e1 !important;
}

html[data-theme="light"] body.with-sidebar :is(.client-workspace-intro, .client-workspace-panel),
body.with-sidebar[data-theme="light"] :is(.client-workspace-intro, .client-workspace-panel) {
  border-color: rgba(37, 99, 235, 0.14) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 42px -34px rgba(15, 23, 42, 0.36) !important;
}

html[data-theme="light"] body.with-sidebar .client-workspace-panel .status-waiting-shell,
body.with-sidebar[data-theme="light"] .client-workspace-panel .status-waiting-shell {
  align-items: center !important;
  justify-content: center !important;
  min-height: 16rem !important;
}

/* Admin Home command surfaces added after the shared day-mode pass. Keep
   them aligned with the white-panel/light-gray-page system instead of
   inheriting their dark command-center backgrounds. */
html[data-theme="light"] body.with-sidebar :is(
  .operations-command-lanes,
  .operations-command-grid a,
  .system-message-board,
  .system-message-card,
  .admin-intelligence-panel,
  .admin-intelligence-card,
  .admin-intelligence-body > div,
  .admin-intelligence-evidence pre,
  .admin-intelligence-store,
  .release-drift-panel,
  .release-drift-state,
  .release-drift-grid article,
  .release-drift-detail-grid > div,
  .release-drift-files,
  .insight-summary-card,
  .insight-filter-bar,
  .insight-filter-bar select,
  .insight-filter-bar input,
  .insight-history-meta span,
  .admin-nav-card,
  .policy-route-card
),
body.with-sidebar[data-theme="light"] :is(
  .operations-command-lanes,
  .operations-command-grid a,
  .system-message-board,
  .system-message-card,
  .admin-intelligence-panel,
  .admin-intelligence-card,
  .admin-intelligence-body > div,
  .admin-intelligence-evidence pre,
  .release-drift-panel,
  .release-drift-state,
  .release-drift-grid article,
  .release-drift-detail-grid > div,
  .release-drift-files,
  .insight-summary-card,
  .insight-filter-bar,
  .insight-filter-bar select,
  .insight-filter-bar input,
  .insight-history-meta span,
  .admin-nav-card,
  .policy-route-card
) {
  background: var(--day-panel) !important;
  background-image: none !important;
  border-color: var(--day-border) !important;
  color: var(--day-ink) !important;
  box-shadow: var(--day-shadow) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .operations-command-grid strong,
  .system-message-card strong,
  .admin-intelligence-head strong,
  .admin-intelligence-footer strong,
  .admin-intelligence-store strong,
  .admin-intelligence-evidence pre,
  .release-drift-grid strong,
  .release-drift-state strong,
  .insight-summary-card strong,
  .insight-history-meta strong,
  .admin-nav-card strong,
  .policy-route-card strong,
  .system-message-foot b
),
body.with-sidebar[data-theme="light"] :is(
  .operations-command-grid strong,
  .system-message-card strong,
  .admin-intelligence-head strong,
  .admin-intelligence-footer strong,
  .admin-intelligence-evidence pre,
  .release-drift-grid strong,
  .release-drift-state strong,
  .insight-summary-card strong,
  .insight-history-meta strong,
  .admin-nav-card strong,
  .policy-route-card strong,
  .system-message-foot b
) {
  color: var(--day-ink) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .operations-command-grid small,
  .system-message-card small,
  .admin-intelligence-card p,
  .admin-intelligence-body small,
  .admin-intelligence-footer span,
  .admin-intelligence-store span,
  .insight-summary-card span,
  .insight-filter-bar label span,
  .insight-history-meta span,
  .admin-nav-card small,
  .system-message-foot em,
  .policy-route-card small
),
body.with-sidebar[data-theme="light"] :is(
  .operations-command-grid small,
  .system-message-card small,
  .admin-intelligence-card p,
  .admin-intelligence-body small,
  .admin-intelligence-footer span,
  .insight-summary-card span,
  .insight-filter-bar label span,
  .insight-history-meta span,
  .admin-nav-card small,
  .system-message-foot em,
  .policy-route-card small
) {
  color: var(--day-muted) !important;
}

/* Final light-mode sweep for Admin Home and Django/Braillia Admin surfaces. */
html[data-theme="light"] body.with-sidebar :is(
  .operations-command-lanes,
  .operations-command-grid a,
  .control-strip .metric,
  .workflow-map,
  .workflow-lane-card,
  .translation-panel,
  .translation-summary-row article,
  .translation-global-control,
  .translation-global-languages,
  .translation-usage-note,
  .translation-org-row,
  .offer-lookup-panel,
  .offer-lookup-summary-row article,
  .offer-lookup-domain-grid textarea,
  .offer-lookup-controls input,
  .offer-lookup-org-row,
  .offer-lookup-recent article,
  .attention-panel,
  .attention-card,
  .pipeline-card,
  .pipeline-grid,
  .readiness-row,
  .activity-row,
  .launch-card,
  .flow-lane,
  .flow-steps div,
  .domain-stats span,
  .deliverables-panel,
  .deliverable-row,
  .deliverable-count,
  .ai-cost-summary-row article,
  .ai-cost-breakdown,
  .ai-cost-model,
  .ai-cost-recent,
  .ai-cost-card,
  .haiku-cost-panel,
  .watch-queue-panel,
  .watch-queue-card,
  .watch-policy-panel,
  .watch-policy-card,
  .watch-policy-row,
  .watch-policy-summary article,
  .watch-summary-row article,
  .security-monitor-panel,
  .security-monitor-summary article,
  .security-monitor-risk,
  .security-monitor-detail,
  .docjson-shadow-panel,
  .docjson-shadow-summary article,
  .docjson-shadow-filters input,
  .docjson-shadow-filters select,
  .docjson-shadow-risk,
  .docjson-shadow-detail,
  .crm-home-grid,
  .crm-queue-card,
  .crm-queue-row,
  .empty-state
),
body.with-sidebar[data-theme="light"] :is(
  .operations-command-lanes,
  .operations-command-grid a,
  .control-strip .metric,
  .workflow-map,
  .workflow-lane-card,
  .translation-panel,
  .translation-summary-row article,
  .translation-global-control,
  .translation-global-languages,
  .translation-usage-note,
  .translation-org-row,
  .offer-lookup-panel,
  .offer-lookup-summary-row article,
  .offer-lookup-domain-grid textarea,
  .offer-lookup-controls input,
  .offer-lookup-org-row,
  .offer-lookup-recent article,
  .attention-panel,
  .attention-card,
  .pipeline-card,
  .pipeline-grid,
  .readiness-row,
  .activity-row,
  .launch-card,
  .flow-lane,
  .flow-steps div,
  .domain-stats span,
  .deliverables-panel,
  .deliverable-row,
  .deliverable-count,
  .ai-cost-summary-row article,
  .ai-cost-breakdown,
  .ai-cost-model,
  .ai-cost-recent,
  .ai-cost-card,
  .haiku-cost-panel,
  .watch-queue-panel,
  .watch-queue-card,
  .watch-policy-panel,
  .watch-policy-card,
  .watch-policy-row,
  .watch-policy-summary article,
  .watch-summary-row article,
  .security-monitor-panel,
  .security-monitor-summary article,
  .security-monitor-risk,
  .security-monitor-detail,
  .docjson-shadow-panel,
  .docjson-shadow-summary article,
  .docjson-shadow-filters input,
  .docjson-shadow-filters select,
  .docjson-shadow-risk,
  .docjson-shadow-detail,
  .crm-home-grid,
  .crm-queue-card,
  .crm-queue-row,
  .empty-state
) {
  background: var(--day-panel) !important;
  background-image: none !important;
  border-color: var(--day-border) !important;
  color: var(--day-ink) !important;
  box-shadow: var(--day-shadow) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .operations-command-grid a,
  .workflow-map,
  .workflow-lane-card,
  .control-strip .metric,
  .attention-card,
  .pipeline-card,
  .readiness-row,
  .activity-row,
  .launch-card,
  .flow-lane,
  .flow-steps div,
  .deliverable-row,
  .ai-cost-summary-row article,
  .ai-cost-card,
  .watch-queue-card,
  .watch-policy-card,
  .watch-policy-row,
  .security-monitor-panel,
  .security-monitor-risk,
  .security-monitor-detail,
  .docjson-shadow-panel,
  .docjson-shadow-risk,
  .docjson-shadow-detail,
  .crm-queue-card,
  .crm-queue-row
)::before,
html[data-theme="light"] body.with-sidebar :is(
  .operations-command-grid a,
  .workflow-map,
  .workflow-lane-card,
  .control-strip .metric,
  .attention-card,
  .pipeline-card,
  .readiness-row,
  .activity-row,
  .launch-card,
  .flow-lane,
  .flow-steps div,
  .deliverable-row,
  .ai-cost-summary-row article,
  .ai-cost-card,
  .watch-queue-card,
  .watch-policy-card,
  .watch-policy-row,
  .security-monitor-panel,
  .security-monitor-risk,
  .security-monitor-detail,
  .docjson-shadow-panel,
  .docjson-shadow-risk,
  .docjson-shadow-detail,
  .crm-queue-card,
  .crm-queue-row
)::after,
body.with-sidebar[data-theme="light"] :is(
  .operations-command-grid a,
  .workflow-map,
  .workflow-lane-card,
  .control-strip .metric,
  .attention-card,
  .pipeline-card,
  .readiness-row,
  .activity-row,
  .launch-card,
  .flow-lane,
  .flow-steps div,
  .deliverable-row,
  .ai-cost-summary-row article,
  .ai-cost-card,
  .watch-queue-card,
  .watch-policy-card,
  .watch-policy-row,
  .security-monitor-panel,
  .security-monitor-risk,
  .security-monitor-detail,
  .crm-queue-card,
  .crm-queue-row
)::before,
body.with-sidebar[data-theme="light"] :is(
  .operations-command-grid a,
  .workflow-map,
  .workflow-lane-card,
  .control-strip .metric,
  .attention-card,
  .pipeline-card,
  .readiness-row,
  .activity-row,
  .launch-card,
  .flow-lane,
  .flow-steps div,
  .deliverable-row,
  .ai-cost-summary-row article,
  .ai-cost-card,
  .watch-queue-card,
  .watch-policy-card,
  .watch-policy-row,
  .security-monitor-panel,
  .security-monitor-risk,
  .security-monitor-detail,
  .crm-queue-card,
  .crm-queue-row
)::after {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .operations-command-grid small,
  .translation-summary-row span,
  .translation-org-row small,
  .translation-usage-note,
  .offer-lookup-summary-row span,
  .offer-lookup-org-row small,
  .offer-lookup-recent span,
  .deliverable-row span,
  .ai-cost-meta,
  .watch-meta,
  .watch-policy-row span,
  .security-monitor-detail,
  .crm-queue-row small,
  .activity-row span,
  .readiness-row span
),
body.with-sidebar[data-theme="light"] :is(
  .operations-command-grid small,
  .translation-summary-row span,
  .translation-org-row small,
  .translation-usage-note,
  .offer-lookup-summary-row span,
  .offer-lookup-org-row small,
  .offer-lookup-recent span,
  .deliverable-row span,
  .ai-cost-meta,
  .watch-meta,
  .watch-policy-row span,
  .security-monitor-detail,
  .crm-queue-row small,
  .activity-row span,
  .readiness-row span
) {
  color: var(--day-muted) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .operations-command-grid strong,
  .translation-summary-row strong,
  .offer-lookup-summary-row strong,
  .deliverable-row strong,
  .ai-cost-model strong,
  .watch-queue-card strong,
  .watch-policy-row strong,
  .security-monitor-summary strong,
  .crm-queue-row strong
),
body.with-sidebar[data-theme="light"] :is(
  .operations-command-grid strong,
  .translation-summary-row strong,
  .offer-lookup-summary-row strong,
  .deliverable-row strong,
  .ai-cost-model strong,
  .watch-queue-card strong,
  .watch-policy-row strong,
  .security-monitor-summary strong,
  .crm-queue-row strong
) {
  color: var(--day-ink) !important;
}

html[data-theme="light"] body.with-sidebar #pick-file-btn:hover,
html[data-theme="light"] body.with-sidebar #pick-file-btn:focus-visible,
body.with-sidebar[data-theme="light"] #pick-file-btn:hover,
body.with-sidebar[data-theme="light"] #pick-file-btn:focus-visible {
  background: #eef7ff !important;
  border-color: rgba(37, 99, 235, 0.5) !important;
  color: #1d4ed8 !important;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.11),
    0 12px 26px rgba(15, 23, 42, 0.10) !important;
}

html[data-theme="light"] body.with-sidebar .drop-zone:hover,
html[data-theme="light"] body.with-sidebar .drop-zone:focus-visible,
body.with-sidebar[data-theme="light"] .drop-zone:hover,
body.with-sidebar[data-theme="light"] .drop-zone:focus-visible {
  background: #eef7ff !important;
  border-color: rgba(37, 99, 235, 0.52) !important;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.10),
    0 16px 30px rgba(15, 23, 42, 0.10) !important;
}

html[data-theme="light"] body.with-sidebar .drop-zone:hover strong,
html[data-theme="light"] body.with-sidebar .drop-zone:focus-visible strong,
body.with-sidebar[data-theme="light"] .drop-zone:hover strong,
body.with-sidebar[data-theme="light"] .drop-zone:focus-visible strong {
  color: #1d4ed8 !important;
}

html[data-theme="light"] body.with-sidebar #reset-workspace-btn:hover,
html[data-theme="light"] body.with-sidebar #reset-workspace-btn:focus-visible,
body.with-sidebar[data-theme="light"] #reset-workspace-btn:hover,
body.with-sidebar[data-theme="light"] #reset-workspace-btn:focus-visible {
  background: #ecfdf3 !important;
  border-color: rgba(34, 197, 94, 0.56) !important;
  color: #047857 !important;
  box-shadow:
    0 0 0 3px rgba(34, 197, 94, 0.12),
    0 12px 26px rgba(15, 23, 42, 0.10) !important;
}

html[data-theme="light"] body:is(.dashboard, .change-list, .change-form),
body:is(.dashboard, .change-list, .change-form)[data-theme="light"] {
  --body-bg: var(--day-bg);
  --body-fg: var(--day-ink);
  --darkened-bg: #ffffff;
  --selected-bg: #f4f7fb;
  --hairline-color: var(--day-border);
  --border-color: var(--day-border);
  --breadcrumbs-bg: #ffffff;
  background: var(--day-bg) !important;
  color: var(--day-ink) !important;
}

html[data-theme="light"] body:is(.dashboard, .change-list, .change-form) :is(
  #container,
  #content,
  #content-main,
  #changelist,
  .module,
  .inline-group,
  fieldset.module,
  .submit-row,
  .breadcrumbs,
  #toolbar,
  #changelist-filter,
  #changelist-form .results,
  .ops-dashboard,
  .ops-kpi,
  .ops-graph-card,
  .suite-dashboard,
  .suite-control-card,
  .qa-admin-dashboard,
  .qa-admin-card,
  .suite-status-card,
  .suite-check-card,
  .suite-history,
  .runtime-trace-pre,
  .runtime-trace-mini,
  .runtime-trace-wide,
  .service-health-board,
  .service-health-summary article,
  .service-health-card,
  .service-health-details,
  .economics-console,
  .economics-list-card,
  .economics-signal-card,
  .aws-cost-card,
  .admin-suggestions-signal,
  .admin-suggestion-latest,
  .admin-suggestion-metrics a,
  .admin-suggestion-review-metrics article,
  .admin-suggestion-card,
  .admin-watch-policy-card,
  .admin-watch-policy-row,
  .admin-watch-policy-summary article
),
body:is(.dashboard, .change-list, .change-form)[data-theme="light"] :is(
  #container,
  #content,
  #content-main,
  #changelist,
  .module,
  .inline-group,
  fieldset.module,
  .submit-row,
  .breadcrumbs,
  #toolbar,
  #changelist-filter,
  #changelist-form .results,
  .ops-dashboard,
  .ops-kpi,
  .ops-graph-card,
  .suite-dashboard,
  .suite-control-card,
  .qa-admin-dashboard,
  .qa-admin-card,
  .suite-status-card,
  .suite-check-card,
  .suite-history,
  .runtime-trace-pre,
  .runtime-trace-mini,
  .runtime-trace-wide,
  .service-health-board,
  .service-health-summary article,
  .service-health-card,
  .service-health-details,
  .economics-console,
  .economics-list-card,
  .economics-signal-card,
  .aws-cost-card,
  .admin-suggestions-signal,
  .admin-suggestion-latest,
  .admin-suggestion-metrics a,
  .admin-suggestion-review-metrics article,
  .admin-suggestion-card,
  .admin-watch-policy-card,
  .admin-watch-policy-row,
  .admin-watch-policy-summary article
) {
  background: var(--day-panel) !important;
  background-image: none !important;
  border-color: var(--day-border) !important;
  color: var(--day-ink) !important;
  box-shadow: var(--day-shadow) !important;
}

html[data-theme="light"] body.with-sidebar .operations-command-grid a,
body.with-sidebar[data-theme="light"] .operations-command-grid a {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--command-lane-tone) 10%, #ffffff), #ffffff 62%) !important;
  border-color: color-mix(in srgb, var(--command-lane-tone) 56%, var(--day-border)) !important;
}

html[data-theme="light"] body.with-sidebar .operations-command-grid a::before,
body.with-sidebar[data-theme="light"] .operations-command-grid a::before {
  background: var(--command-lane-tone) !important;
  box-shadow: 0 0 16px color-mix(in srgb, var(--command-lane-tone) 38%, transparent) !important;
}

html[data-theme="light"] body.with-sidebar .operations-command-grid a:is(:hover, :focus, .is-active),
body.with-sidebar[data-theme="light"] .operations-command-grid a:is(:hover, :focus, .is-active) {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--command-lane-tone) 16%, #ffffff), #ffffff 62%) !important;
  border-color: color-mix(in srgb, var(--command-lane-tone) 78%, var(--day-border)) !important;
}

html[data-theme="light"] body.with-sidebar .operations-command-grid span,
body.with-sidebar[data-theme="light"] .operations-command-grid span {
  color: color-mix(in srgb, var(--command-lane-tone) 74%, var(--day-ink)) !important;
}

html[data-theme="light"] body:is(.dashboard, .change-list, .change-form) :is(
  #header,
  #nav-sidebar,
  .nav-sidebar,
  [data-nav-sidebar],
  table,
  tbody,
  tr,
  .row1,
  .row2,
  tbody tr,
  tbody tr:nth-child(even),
  .module h2,
  .module caption,
  .inline-group h2,
  #changelist-filter h2,
  thead th,
  tfoot td
),
body:is(.dashboard, .change-list, .change-form)[data-theme="light"] :is(
  #header,
  #nav-sidebar,
  .nav-sidebar,
  [data-nav-sidebar],
  table,
  tbody,
  tr,
  .row1,
  .row2,
  tbody tr,
  tbody tr:nth-child(even),
  .module h2,
  .module caption,
  .inline-group h2,
  #changelist-filter h2,
  thead th,
  tfoot td
) {
  background: #ffffff !important;
  background-image: none !important;
  border-color: var(--day-border) !important;
  color: var(--day-ink) !important;
}

html[data-theme="light"] body:is(.dashboard, .change-list, .change-form) :is(
  input,
  textarea,
  select,
  .vTextField,
  .selector .selector-available,
  .selector .selector-chosen
),
body:is(.dashboard, .change-list, .change-form)[data-theme="light"] :is(
  input,
  textarea,
  select,
  .vTextField,
  .selector .selector-available,
  .selector .selector-chosen
) {
  background: #ffffff !important;
  border-color: var(--day-border) !important;
  color: var(--day-ink) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .account-workflow-strip span,
  .account-workflow-strip small,
  .account-metrics span,
  .account-directory-table td span,
  .account-meta-line span,
  .account-panel-note,
  .account-voice-summary span,
  .account-voice-usage span,
  .account-voice-recent span,
  .account-kpi-strip span,
  .account-chart-card span,
  .account-chart-stamp,
  .account-check p,
  .account-user-identity span,
  .crm-chip span,
  .crm-list-head span,
  .crm-queue-item span,
  .crm-rollup-item span,
  .crm-queue-item small,
  .crm-rollup-item small,
  .crm-assistant-card .crm-list-head small,
  .crm-assistant-action small,
  .crm-assistant-log small,
  .crm-assistant-sources,
  .crm-action-drawer summary small,
  .crm-row small,
  .support-workflow small,
  .support-empty-summary span,
  .support-empty-account-list small,
  .support-watch-strip span,
  .support-assistant-action small,
  .support-assistant-log small
),
body.with-sidebar[data-theme="light"] :is(
  .account-workflow-strip span,
  .account-workflow-strip small,
  .account-metrics span,
  .account-directory-table td span,
  .account-meta-line span,
  .account-panel-note,
  .account-voice-summary span,
  .account-voice-usage span,
  .account-voice-recent span,
  .account-kpi-strip span,
  .account-chart-card span,
  .account-chart-stamp,
  .account-check p,
  .account-user-identity span,
  .crm-chip span,
  .crm-list-head span,
  .crm-queue-item span,
  .crm-rollup-item span,
  .crm-queue-item small,
  .crm-rollup-item small,
  .crm-assistant-card .crm-list-head small,
  .crm-assistant-action small,
  .crm-assistant-log small,
  .crm-assistant-sources,
  .crm-action-drawer summary small,
  .crm-row small,
  .support-workflow small,
  .support-empty-summary span,
  .support-empty-account-list small,
  .support-watch-strip span,
  .support-assistant-action small,
  .support-assistant-log small
) {
  color: var(--day-muted) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .account-workflow-strip strong,
  .account-metrics strong,
  .account-meta-line strong,
  .account-voice-summary strong,
  .account-voice-usage strong,
  .account-voice-recent strong,
  .account-kpi-strip strong,
  .account-chart-head h3,
  .account-check strong,
  .crm-chip strong,
  .crm-queue-item strong,
  .crm-rollup-item strong,
  .crm-assistant-answer strong,
  .crm-assistant-action strong,
  .crm-lane-head strong,
  .crm-action-drawer summary span,
  .support-workflow strong,
  .support-empty-summary strong,
  .support-watch-strip strong
),
body.with-sidebar[data-theme="light"] :is(
  .account-workflow-strip strong,
  .account-metrics strong,
  .account-meta-line strong,
  .account-voice-summary strong,
  .account-voice-usage strong,
  .account-voice-recent strong,
  .account-kpi-strip strong,
  .account-chart-head h3,
  .account-check strong,
  .crm-chip strong,
  .crm-queue-item strong,
  .crm-rollup-item strong,
  .crm-assistant-answer strong,
  .crm-assistant-action strong,
  .crm-lane-head strong,
  .crm-action-drawer summary span,
  .support-workflow strong,
  .support-empty-summary strong,
  .support-watch-strip strong
) {
  color: var(--day-ink) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  .workflow-lane-card,
  .metric,
  .attention-card,
  .pipeline-card,
  .readiness-row,
  .activity-row,
  .client-workspace-intro,
  .client-workspace-panel,
  .support-alert-card,
  .support-snapshot-card,
  .crm-queue-item,
  .aws-workflow-card,
  .aws-review-card,
  .aws-cost-card
)::before,
html[data-theme="light"] body.with-sidebar :is(
  .workflow-lane-card,
  .metric,
  .attention-card,
  .pipeline-card,
  .readiness-row,
  .activity-row,
  .client-workspace-intro,
  .client-workspace-panel,
  .support-alert-card,
  .support-snapshot-card,
  .crm-queue-item,
  .aws-workflow-card,
  .aws-review-card,
  .aws-cost-card
)::after,
body.with-sidebar[data-theme="light"] :is(
  .workflow-lane-card,
  .metric,
  .attention-card,
  .pipeline-card,
  .readiness-row,
  .activity-row,
  .client-workspace-intro,
  .client-workspace-panel,
  .support-alert-card,
  .support-snapshot-card,
  .crm-queue-item,
  .aws-workflow-card,
  .aws-review-card,
  .aws-cost-card
)::before,
body.with-sidebar[data-theme="light"] :is(
  .workflow-lane-card,
  .metric,
  .attention-card,
  .pipeline-card,
  .readiness-row,
  .activity-row,
  .client-workspace-intro,
  .client-workspace-panel,
  .support-alert-card,
  .support-snapshot-card,
  .crm-queue-item,
  .aws-workflow-card,
  .aws-review-card,
  .aws-cost-card
)::after {
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] body.with-sidebar :is(.crm-chip, .crm-ops-card).is-ok,
body.with-sidebar[data-theme="light"] :is(.crm-chip, .crm-ops-card).is-ok {
  border-color: rgba(22, 163, 74, 0.55) !important;
  box-shadow: inset 4px 0 0 rgba(22, 163, 74, 0.9), 0 8px 18px rgba(22, 163, 74, 0.08) !important;
}

html[data-theme="light"] body.with-sidebar :is(.crm-chip, .crm-ops-card).is-warning,
body.with-sidebar[data-theme="light"] :is(.crm-chip, .crm-ops-card).is-warning {
  border-color: rgba(202, 138, 4, 0.62) !important;
  box-shadow: inset 4px 0 0 rgba(202, 138, 4, 0.95), 0 8px 18px rgba(202, 138, 4, 0.08) !important;
}

html[data-theme="light"] body.with-sidebar :is(.crm-chip, .crm-ops-card).is-critical,
body.with-sidebar[data-theme="light"] :is(.crm-chip, .crm-ops-card).is-critical {
  border-color: rgba(220, 38, 38, 0.62) !important;
  box-shadow: inset 4px 0 0 rgba(220, 38, 38, 0.95), 0 8px 18px rgba(220, 38, 38, 0.08) !important;
}

html[data-theme="light"] body.with-sidebar :is(
  [class*="surface-tone-"],
  .account-context-bar,
  .working-account-banner,
  .account-logo-management-panel,
  .account-switchboard,
  .support-empty-snapshot,
  .support-empty-account,
  .support-alert-card,
  .support-snapshot-card,
  .aws-control-card,
  .aws-service-card,
  .aws-budget-card
)::before,
html[data-theme="light"] body.with-sidebar :is(
  [class*="surface-tone-"],
  .account-context-bar,
  .working-account-banner,
  .account-logo-management-panel,
  .account-switchboard,
  .support-empty-snapshot,
  .support-empty-account,
  .support-alert-card,
  .support-snapshot-card,
  .aws-control-card,
  .aws-service-card,
  .aws-budget-card
)::after,
body.with-sidebar[data-theme="light"] :is(
  [class*="surface-tone-"],
  .account-context-bar,
  .working-account-banner,
  .account-logo-management-panel,
  .account-switchboard,
  .support-empty-snapshot,
  .support-empty-account,
  .support-alert-card,
  .support-snapshot-card,
  .aws-control-card,
  .aws-service-card,
  .aws-budget-card
)::before,
body.with-sidebar[data-theme="light"] :is(
  [class*="surface-tone-"],
  .account-context-bar,
  .working-account-banner,
  .account-logo-management-panel,
  .account-switchboard,
  .support-empty-snapshot,
  .support-empty-account,
  .support-alert-card,
  .support-snapshot-card,
  .aws-control-card,
  .aws-service-card,
  .aws-budget-card
)::after {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* TRUE EOF remediation queue day-mode lock. */
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] {
  --tone-teal: #315eea;
  --tone-emerald: #7657e8;
  --accent: #315eea;
  --good: #0369a1;
  background: #eef2f7 !important;
  color: #101828 !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .remediation-results-hero,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .remediation-results-hero,
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(.review-scope-selector, .review-scope-locked, .results-action-strip, .remediation-control-drawer, .remediation-table-panel, .command-panel, .issue-expander, .issue-case-section, .root-cause-drawer, .root-cause-row, .policy-route-card, .queue-action-tile, .approved-target-card, .scan-step-drawer, .site-intelligence-card, .site-intelligence-grid article, .site-intelligence-path, .site-intelligence-signal-grid section, .site-repair-readiness, .site-repair-readiness-lane, .site-intelligence-questions, .schedule-guardrail-panel, .schedule-guardrail-grid article, .schedule-run-list article, .schedule-create-drawer, .schedule-create-disabled, .schedule-toggle, .advanced-remediation-drawer, .result-ring-card, .row-indicator),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(.review-scope-selector, .review-scope-locked, .results-action-strip, .remediation-control-drawer, .remediation-table-panel, .command-panel, .issue-expander, .issue-case-section, .root-cause-drawer, .root-cause-row, .policy-route-card, .queue-action-tile, .approved-target-card, .scan-step-drawer, .site-intelligence-card, .site-intelligence-grid article, .site-intelligence-path, .site-intelligence-signal-grid section, .site-repair-readiness, .site-repair-readiness-lane, .site-intelligence-questions, .schedule-guardrail-panel, .schedule-guardrail-grid article, .schedule-run-list article, .schedule-create-drawer, .schedule-create-disabled, .schedule-toggle, .advanced-remediation-drawer, .result-ring-card, .row-indicator) {
  border-color: #d8e0ea !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #101828 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 14px 28px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(.issue-expander[open], .scan-step-drawer[open], .remediation-control-drawer[open], .root-cause-drawer[open]),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(.issue-expander[open], .scan-step-drawer[open], .remediation-control-drawer[open], .root-cause-drawer[open]) {
  border-color: rgba(49, 94, 234, 0.62) !important;
  background: #f7f9ff !important;
  background-image: linear-gradient(135deg, rgba(49, 94, 234, 0.08), rgba(118, 87, 232, 0.04)) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(.review-scope-form select, .result-ring-card, .queue-action-tile, .policy-route-card, .scan-step-drawer > summary, .approved-target-card, .issue-expander summary, .btn):hover,
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(.review-scope-form select, .result-ring-card, .queue-action-tile, .policy-route-card, .scan-step-drawer > summary, .approved-target-card, .issue-expander summary, .btn):focus-visible,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(.review-scope-form select, .result-ring-card, .queue-action-tile, .policy-route-card, .scan-step-drawer > summary, .approved-target-card, .issue-expander summary, .btn):hover,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(.review-scope-form select, .result-ring-card, .queue-action-tile, .policy-route-card, .scan-step-drawer > summary, .approved-target-card, .issue-expander summary, .btn):focus-visible {
  border-color: rgba(49, 94, 234, 0.62) !important;
  background: #eef4ff !important;
  background-image: linear-gradient(135deg, rgba(49, 94, 234, 0.10), rgba(118, 87, 232, 0.06)) !important;
  box-shadow: 0 0 0 3px rgba(49, 94, 234, 0.14), 0 14px 26px rgba(15, 23, 42, 0.10) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(.remediation-results-copy h2, .remediation-results-footer strong, .result-ring-card strong, .issue-expander summary, .issue-expander summary strong, .issue-case-section p, .issue-case-section span, .site-intelligence-copy strong, .site-intelligence-grid strong, .site-intelligence-path strong, .site-intelligence-signal strong, .site-repair-readiness summary strong, .site-repair-readiness-lane strong, .site-intelligence-questions summary, .schedule-guardrail-copy strong, .schedule-guardrail-grid strong, .schedule-run-list strong, .schedule-create-drawer summary strong, .schedule-toggle strong, .schedule-create-disabled strong, .issue-mini-ring strong, .row-indicator b, .remediation-table td strong),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(.remediation-results-copy h2, .remediation-results-footer strong, .result-ring-card strong, .issue-expander summary, .issue-expander summary strong, .issue-case-section p, .issue-case-section span, .site-intelligence-copy strong, .site-intelligence-grid strong, .site-intelligence-path strong, .site-intelligence-signal strong, .site-repair-readiness summary strong, .site-repair-readiness-lane strong, .site-intelligence-questions summary, .schedule-guardrail-copy strong, .schedule-guardrail-grid strong, .schedule-run-list strong, .schedule-create-drawer summary strong, .schedule-toggle strong, .schedule-create-disabled strong, .issue-mini-ring strong, .row-indicator b, .remediation-table td strong) {
  color: #101828 !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(.remediation-results-copy p, .remediation-results-footer span, .result-ring-card span, .result-ring-card small, .issue-expander summary small, .issue-case-section small, .site-intelligence-copy p, .site-intelligence-copy small, .site-intelligence-grid span, .site-intelligence-grid small, .site-intelligence-path span, .site-intelligence-path small, .site-intelligence-signal-grid h3, .site-intelligence-signal-grid p, .site-intelligence-signal small, .site-repair-readiness summary span, .site-repair-readiness > p, .site-repair-readiness-lane span, .site-repair-readiness-lane small, .site-intelligence-questions, .schedule-guardrail-copy p, .schedule-guardrail-grid span, .schedule-guardrail-grid small, .schedule-run-list span, .schedule-run-list small, .schedule-create-drawer summary span, .schedule-toggle small, .schedule-create-actions small, .schedule-create-disabled small, .schedule-guardrail-actions span, .issue-mini-ring span, .row-indicator em, .remediation-table td small),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(.remediation-results-copy p, .remediation-results-footer span, .result-ring-card span, .result-ring-card small, .issue-expander summary small, .issue-case-section small, .site-intelligence-copy p, .site-intelligence-copy small, .site-intelligence-grid span, .site-intelligence-grid small, .site-intelligence-path span, .site-intelligence-path small, .site-intelligence-signal-grid h3, .site-intelligence-signal-grid p, .site-intelligence-signal small, .site-repair-readiness summary span, .site-repair-readiness > p, .site-repair-readiness-lane span, .site-repair-readiness-lane small, .site-intelligence-questions, .schedule-guardrail-copy p, .schedule-guardrail-grid span, .schedule-guardrail-grid small, .schedule-run-list span, .schedule-run-list small, .schedule-create-drawer summary span, .schedule-toggle small, .schedule-create-actions small, .schedule-create-disabled small, .schedule-guardrail-actions span, .issue-mini-ring span, .row-indicator em, .remediation-table td small) {
  color: #526071 !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .schedule-row-actions .btn,
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .schedule-history-strip .btn,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .schedule-row-actions .btn,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .schedule-history-strip .btn {
  border-color: rgba(49, 94, 234, 0.24) !important;
  background: rgba(49, 94, 234, 0.07) !important;
  color: #172033 !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .schedule-row-actions .btn:hover,
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .schedule-row-actions .btn:focus-visible,
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .schedule-history-strip .btn:hover,
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .schedule-history-strip .btn:focus-visible,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .schedule-row-actions .btn:hover,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .schedule-row-actions .btn:focus-visible,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .schedule-history-strip .btn:hover,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .schedule-history-strip .btn:focus-visible {
  border-color: rgba(49, 94, 234, 0.44) !important;
  background: rgba(49, 94, 234, 0.13) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .result-ring-card strong,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .result-ring-card strong,
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .issue-mini-ring,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .issue-mini-ring {
  background: radial-gradient(circle, #ffffff 54%, transparent 55%), conic-gradient(from -90deg, var(--result-tone, var(--mini-tone, #315eea)) 0 var(--result-deg, var(--mini-deg, 0deg)), rgba(15, 23, 42, 0.10) var(--result-deg, var(--mini-deg, 0deg)) 360deg) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .schedule-create-grid :is(input, select, textarea),
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .schedule-edit-form :is(input, select, textarea),
html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .schedule-recipient-field textarea,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .schedule-create-grid :is(input, select, textarea),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .schedule-edit-form :is(input, select, textarea),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .schedule-recipient-field textarea {
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
  color: #101828 !important;
}

/* TRUE EOF remediation queue night-mode lock. Keep graph cards dark in night mode. */
html[data-theme="dark"] body.with-sidebar.accessibility-remediation-queue,
body.with-sidebar.accessibility-remediation-queue[data-theme="dark"],
body.with-sidebar.accessibility-remediation-queue:not([data-theme="light"]) {
  --tone-teal: #5f8cff;
  --tone-emerald: #8b5cf6;
  --accent: #5f8cff;
  --good: #38bdf8;
  background:
    radial-gradient(circle at 8% 0%, rgba(139, 92, 246, 0.20), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(56, 189, 248, 0.14), transparent 26rem),
    linear-gradient(180deg, #07101b 0%, #0a0f18 48%, #080c13 100%) !important;
  color: #f6fbff !important;
}

html[data-theme="dark"] body.with-sidebar.accessibility-remediation-queue .remediation-results-hero,
body.with-sidebar.accessibility-remediation-queue[data-theme="dark"] .remediation-results-hero,
body.with-sidebar.accessibility-remediation-queue:not([data-theme="light"]) .remediation-results-hero,
html[data-theme="dark"] body.with-sidebar.accessibility-remediation-queue :is(.review-scope-selector, .review-scope-locked, .results-action-strip, .remediation-control-drawer, .remediation-table-panel, .command-panel, .issue-expander, .issue-case-section, .root-cause-drawer, .root-cause-row, .policy-route-card, .queue-action-tile, .approved-target-card, .scan-step-drawer, .site-intelligence-card, .site-intelligence-grid article, .site-intelligence-path, .site-intelligence-signal-grid section, .site-repair-readiness, .site-repair-readiness-lane, .site-intelligence-questions, .schedule-guardrail-panel, .schedule-guardrail-grid article, .schedule-run-list article, .schedule-create-drawer, .schedule-create-disabled, .schedule-toggle, .advanced-remediation-drawer, .result-ring-card, .row-indicator),
body.with-sidebar.accessibility-remediation-queue[data-theme="dark"] :is(.review-scope-selector, .review-scope-locked, .results-action-strip, .remediation-control-drawer, .remediation-table-panel, .command-panel, .issue-expander, .issue-case-section, .root-cause-drawer, .root-cause-row, .policy-route-card, .queue-action-tile, .approved-target-card, .scan-step-drawer, .site-intelligence-card, .site-intelligence-grid article, .site-intelligence-path, .site-intelligence-signal-grid section, .site-repair-readiness, .site-repair-readiness-lane, .site-intelligence-questions, .schedule-guardrail-panel, .schedule-guardrail-grid article, .schedule-run-list article, .schedule-create-drawer, .schedule-create-disabled, .schedule-toggle, .advanced-remediation-drawer, .result-ring-card, .row-indicator),
body.with-sidebar.accessibility-remediation-queue:not([data-theme="light"]) :is(.review-scope-selector, .review-scope-locked, .results-action-strip, .remediation-control-drawer, .remediation-table-panel, .command-panel, .issue-expander, .issue-case-section, .root-cause-drawer, .root-cause-row, .policy-route-card, .queue-action-tile, .approved-target-card, .scan-step-drawer, .site-intelligence-card, .site-intelligence-grid article, .site-intelligence-path, .site-intelligence-signal-grid section, .site-repair-readiness, .site-repair-readiness-lane, .site-intelligence-questions, .schedule-guardrail-panel, .schedule-guardrail-grid article, .schedule-run-list article, .schedule-create-drawer, .schedule-create-disabled, .schedule-toggle, .advanced-remediation-drawer, .result-ring-card, .row-indicator) {
  border-color: rgba(177, 192, 213, 0.18) !important;
  background: #101622 !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)) !important;
  color: #f6fbff !important;
}

html[data-theme="dark"] body.with-sidebar.accessibility-remediation-queue .result-ring-card strong,
body.with-sidebar.accessibility-remediation-queue[data-theme="dark"] .result-ring-card strong,
body.with-sidebar.accessibility-remediation-queue:not([data-theme="light"]) .result-ring-card strong {
  color: #f6fbff !important;
  background: radial-gradient(circle, #0d1420 54%, transparent 55%), conic-gradient(from -90deg, var(--result-tone, #5f8cff) 0 var(--result-deg, 0deg), rgba(177, 192, 213, 0.16) var(--result-deg, 0deg) 360deg) !important;
}

html[data-theme="dark"] body.with-sidebar.accessibility-remediation-queue :is(.result-ring-card span, .result-ring-card small, .remediation-results-footer span, .issue-expander summary small, .issue-case-section small, .row-indicator em),
body.with-sidebar.accessibility-remediation-queue[data-theme="dark"] :is(.result-ring-card span, .result-ring-card small, .remediation-results-footer span, .issue-expander summary small, .issue-case-section small, .row-indicator em),
body.with-sidebar.accessibility-remediation-queue:not([data-theme="light"]) :is(.result-ring-card span, .result-ring-card small, .remediation-results-footer span, .issue-expander summary small, .issue-case-section small, .row-indicator em) {
  color: #a9b8ca !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .remediation-ring,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .remediation-ring {
  background:
    radial-gradient(circle, #ffffff 54%, transparent 55%),
    conic-gradient(from -90deg, var(--ring-tone, #315eea) 0 var(--ring-deg, 0deg), rgba(15, 23, 42, 0.10) var(--ring-deg, 0deg) 360deg) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .result-ring-card strong,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .result-ring-card strong {
  background:
    radial-gradient(circle, #ffffff 54%, transparent 55%),
    conic-gradient(from -90deg, var(--result-tone, #315eea) 0 var(--result-deg, 0deg), rgba(15, 23, 42, 0.10) var(--result-deg, 0deg) 360deg) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .issue-mini-ring,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .issue-mini-ring {
  background:
    radial-gradient(circle, #ffffff 52%, transparent 53%),
    conic-gradient(from -90deg, var(--mini-tone, #315eea) 0 var(--mini-deg, 0%), rgba(15, 23, 42, 0.10) var(--mini-deg, 0%) 100%) !important;
}

html[data-theme="dark"] body.with-sidebar.accessibility-remediation-queue .remediation-ring,
body.with-sidebar.accessibility-remediation-queue[data-theme="dark"] .remediation-ring,
body.with-sidebar.accessibility-remediation-queue:not([data-theme="light"]) .remediation-ring {
  background:
    radial-gradient(circle, #0d1420 54%, transparent 55%),
    conic-gradient(from -90deg, var(--ring-tone, #5f8cff) 0 var(--ring-deg, 0deg), rgba(177, 192, 213, 0.16) var(--ring-deg, 0deg) 360deg) !important;
}

html[data-theme="dark"] body.with-sidebar.accessibility-remediation-queue .result-ring-card strong,
body.with-sidebar.accessibility-remediation-queue[data-theme="dark"] .result-ring-card strong,
body.with-sidebar.accessibility-remediation-queue:not([data-theme="light"]) .result-ring-card strong {
  background:
    radial-gradient(circle, #0d1420 54%, transparent 55%),
    conic-gradient(from -90deg, var(--result-tone, #5f8cff) 0 var(--result-deg, 0deg), rgba(177, 192, 213, 0.16) var(--result-deg, 0deg) 360deg) !important;
}

html[data-theme="dark"] body.with-sidebar.accessibility-remediation-queue .issue-mini-ring,
body.with-sidebar.accessibility-remediation-queue[data-theme="dark"] .issue-mini-ring,
body.with-sidebar.accessibility-remediation-queue:not([data-theme="light"]) .issue-mini-ring {
  background:
    radial-gradient(circle, #0d1420 52%, transparent 53%),
    conic-gradient(from -90deg, var(--mini-tone, #5f8cff) 0 var(--mini-deg, 0%), rgba(177, 192, 213, 0.16) var(--mini-deg, 0%) 100%) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(.auto-ai-control-panel, .auto-ai-status-grid article, .auto-ai-switch, .auto-ai-number, .auto-ai-severity-fieldset),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(.auto-ai-control-panel, .auto-ai-status-grid article, .auto-ai-switch, .auto-ai-number, .auto-ai-severity-fieldset) {
  border-color: #d8e0ea !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #101828 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(.auto-ai-control-copy strong, .auto-ai-status-grid strong, .auto-ai-switch strong),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(.auto-ai-control-copy strong, .auto-ai-status-grid strong, .auto-ai-switch strong) {
  color: #101828 !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue :is(.auto-ai-control-copy p, .auto-ai-status-grid small, .auto-ai-switch small, .auto-ai-number small, .auto-ai-severity-fieldset small),
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] :is(.auto-ai-control-copy p, .auto-ai-status-grid small, .auto-ai-switch small, .auto-ai-number small, .auto-ai-severity-fieldset small) {
  color: #526071 !important;
}

html[data-theme="light"] body.with-sidebar.accessibility-remediation-queue .auto-ai-severity-options li label,
body.with-sidebar.accessibility-remediation-queue[data-theme="light"] .auto-ai-severity-options li label {
  border-color: rgba(49, 94, 234, 0.20) !important;
  background: #f7f9ff !important;
  color: #101828 !important;
}
