/* Loaded last so feature-specific styles cannot restore light surfaces in dark mode. */
html[data-theme="dark"] .shortcut-modal {
  border-color: #405064;
  background: #182029;
  color: #edf3f7;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
}

html[data-theme="dark"] .shortcut-modal > header,
html[data-theme="dark"] .shortcut-modal > footer {
  border-color: #35414e;
  background: #182029;
}

html[data-theme="dark"] .settings-tabs {
  border-color: #35414e;
  background: #202a35;
  scrollbar-color: #536273 #19212a;
}

html[data-theme="dark"] .appearance-quick-control {
  border-color: #405064;
  background: #202a35;
}

html[data-theme="dark"] .appearance-quick-control button {
  color: #aebbc7;
}

html[data-theme="dark"] .appearance-quick-control button:hover {
  background: #2d3d4e;
  color: #edf3f7;
}

html[data-theme="dark"] .appearance-quick-control button[aria-pressed="true"] {
  background: #2f6fb9;
  color: #ffffff;
}

html[data-theme="dark"] .metric-working .metric-card-heading,
html[data-theme="dark"] .metric-working .staff-note-summary,
html[data-theme="dark"] .metric-working .staff-note-summary-title {
  color: #dce6ee;
}

html[data-theme="dark"] .metric-working .staff-note-summary-item b {
  color: #aebbc7;
}

html[data-theme="dark"] .metric-working .staff-note-summary-item em {
  color: #c7d3dd;
}

html[data-theme="dark"] .metric-working .staff-note-summary-item.is-leave b {
  color: #ff9aae;
}

html[data-theme="dark"] .metric-working .staff-note-summary-item.is-rest b {
  color: #83e2bd;
}

html[data-theme="dark"] .metric-working .staff-note-summary-item.is-noon b {
  color: #f5c47f;
}

html[data-theme="dark"] .metric-working .staff-note-summary-item.is-morning b,
html[data-theme="dark"] .metric-working .staff-note-summary-item.is-afternoon b,
html[data-theme="dark"] .metric-working .metric-workforce-headline span {
  color: #9bc5ff;
}

html[data-theme="dark"] .metric-working .staff-note-summary-item.is-field b {
  color: #7eddd2;
}

html[data-theme="dark"] .metric-working .metric-workforce-headline b {
  color: #edf3f7;
}

html[data-theme="dark"] .off-list-content {
  background: #182029;
  color: #edf3f7;
  scrollbar-color: #536273 #19212a;
}

html[data-theme="dark"] .staff-note-text {
  border-color: #405064;
  background: #111820;
  color: #dce6ee;
}

html[data-theme="dark"] .off-list-group,
html[data-theme="dark"] .off-list-row {
  border-color: #35414e;
  color: #edf3f7;
}

html[data-theme="dark"] .off-list-row small {
  color: #aebbc7;
}

html[data-theme="dark"] .off-list-row span {
  color: #7eddd2;
}

html[data-theme="dark"] .line-group-send {
  border-color: #405064;
  background: #202a35;
}

html[data-theme="dark"] .line-group-send-body,
html[data-theme="dark"] .line-group-option {
  border-color: #35414e;
}

html[data-theme="dark"] .line-group-option {
  background: #18222c;
  color: #edf3f7;
}

html[data-theme="dark"] .line-group-send-header small,
html[data-theme="dark"] .line-group-option small,
html[data-theme="dark"] .line-group-loading,
html[data-theme="dark"] .line-group-empty,
html[data-theme="dark"] .line-group-status {
  color: #aebbc7;
}

/* Notifications and announcements */
html[data-theme="dark"] .pwa-notification-backdrop {
  background: rgba(3, 7, 12, 0.74);
}

html[data-theme="dark"] .pwa-notification-dialog {
  border-color: #405064;
  background: #182029;
  color: #edf3f7;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
}

html[data-theme="dark"] .pwa-notification-dialog header,
html[data-theme="dark"] .pwa-notification-preferences,
html[data-theme="dark"] .pwa-notification-preferences > label {
  border-color: #35414e;
}

html[data-theme="dark"] .pwa-notification-close,
html[data-theme="dark"] .pwa-notification-disable {
  border-color: #405064;
  background: #26313d;
  color: #dce6ee;
}

html[data-theme="dark"] .pwa-notification-status,
html[data-theme="dark"] .pwa-quiet-times {
  border-color: #405064;
  background: #202a35;
  color: #edf3f7;
}

html[data-theme="dark"] .pwa-notification-status[data-kind="granted"] {
  border-left-color: #39a77e;
  background: #173c31;
}

html[data-theme="dark"] .pwa-notification-status[data-kind="denied"] {
  border-left-color: #d76b63;
  background: #412526;
}

html[data-theme="dark"] .pwa-notification-status span,
html[data-theme="dark"] .pwa-notification-dialog > p,
html[data-theme="dark"] .pwa-notification-preferences label small,
html[data-theme="dark"] .pwa-quiet-times label,
html[data-theme="dark"] .pwa-quiet-times > span {
  color: #aebbc7;
}

html[data-theme="dark"] .pwa-status-bar,
html[data-theme="dark"] .version-update-banner {
  border-color: #35577b;
  background: #1d3048;
  color: #dcecff;
}

html[data-theme="dark"] .pwa-status-bar[data-kind="offline"] {
  border-color: #81413f;
  background: #412526;
  color: #ffaaa4;
}

html[data-theme="dark"] .pwa-status-bar[data-kind="success"] {
  border-color: #326e58;
  background: #173c31;
  color: #83e2bd;
}

html[data-theme="dark"] .version-update-copy strong {
  color: #9bc5ff;
}

html[data-theme="dark"] .version-update-copy span {
  color: #c7d3dd;
}

html[data-theme="dark"] .announcement-compose,
html[data-theme="dark"] .announcement-item {
  border-color: #405064;
  background: #202a35;
}

html[data-theme="dark"] .announcement-item[data-level="urgent"] {
  border-color: #81413f;
}

html[data-theme="dark"] .announcement-read-details {
  border-color: #35577b;
  background: #18222c;
}

html[data-theme="dark"] .announcement-read-details > summary {
  color: #9bc5ff;
}

html[data-theme="dark"] .announcement-read-columns strong,
html[data-theme="dark"] .announcement-read-columns li {
  color: #c7d3dd;
}

html[data-theme="dark"] .announcement-read-columns time,
html[data-theme="dark"] .announcement-read-columns li.is-empty {
  color: #8493a1;
}

html[data-theme="dark"] .announcements-button.has-unread {
  border-color: #4d78a6;
  background: #1d3048;
  color: #9bc5ff;
}

/* Feature panels, presence and supporting modals */
html[data-theme="dark"] .feature-modal > header,
html[data-theme="dark"] .feature-modal > footer,
html[data-theme="dark"] .feature-modal-body {
  border-color: #35414e;
  background: #182029;
}

html[data-theme="dark"] .changelog-entry,
html[data-theme="dark"] .wishlist-compose,
html[data-theme="dark"] .wishlist-item,
html[data-theme="dark"] .feature-empty,
html[data-theme="dark"] .presence-person {
  border-color: #405064;
  background: #202a35;
  color: #edf3f7;
}

html[data-theme="dark"] .changelog-entry-head strong,
html[data-theme="dark"] .changelog-section h3,
html[data-theme="dark"] .wishlist-item h3 {
  color: #edf3f7;
}

html[data-theme="dark"] .changelog-entry-head time,
html[data-theme="dark"] .changelog-section ul,
html[data-theme="dark"] .wishlist-compose label,
html[data-theme="dark"] .wishlist-toolbar label,
html[data-theme="dark"] .wishlist-admin-controls label,
html[data-theme="dark"] .wishlist-item > p,
html[data-theme="dark"] .wishlist-item-meta,
html[data-theme="dark"] .wishlist-item-head time,
html[data-theme="dark"] .presence-person span,
html[data-theme="dark"] .presence-person small,
html[data-theme="dark"] .presence-empty {
  color: #aebbc7;
}

html[data-theme="dark"] .wishlist-admin-message {
  border-color: #4d89d4;
  background: #1d3048;
  color: #cfe4ff;
}

html[data-theme="dark"] .wishlist-admin-controls {
  border-color: #35414e;
}

html[data-theme="dark"] .feature-pill,
html[data-theme="dark"] .wishlist-support.active {
  border-color: #35577b;
  background: #1d3048;
  color: #9bc5ff;
}

html[data-theme="dark"] .feature-pill.category-improvement,
html[data-theme="dark"] .feature-pill.status-completed,
html[data-theme="dark"] .feature-pill.announcement-state-active {
  border-color: #326e58;
  background: #173c31;
  color: #83e2bd;
}

html[data-theme="dark"] .feature-pill.category-bug,
html[data-theme="dark"] .feature-pill.status-declined,
html[data-theme="dark"] .feature-pill.announcement-level-urgent {
  border-color: #81413f;
  background: #412526;
  color: #ffaaa4;
}

html[data-theme="dark"] .feature-pill.status-pending,
html[data-theme="dark"] .feature-pill.announcement-level-important,
html[data-theme="dark"] .feature-pill.announcement-state-scheduled {
  border-color: #805f2d;
  background: #3c2e1d;
  color: #f5c47f;
}

html[data-theme="dark"] .feature-pill.announcement-state-ended {
  border-color: #405064;
  background: #273341;
  color: #aebbc7;
}

/* Leave statistics and audit tables */
html[data-theme="dark"] .leave-stats-controls,
html[data-theme="dark"] .leave-stats-actions,
html[data-theme="dark"] .leave-stats-detail-row td,
html[data-theme="dark"] .login-audit-table-wrap,
html[data-theme="dark"] .login-audit-table th,
html[data-theme="dark"] .login-audit-table td {
  border-color: #35414e;
}

html[data-theme="dark"] .leave-stats-table thead th,
html[data-theme="dark"] .login-audit-table th {
  background: #26374a;
  color: #d9e8f6;
}

html[data-theme="dark"] .leave-stats-summary-row:hover td,
html[data-theme="dark"] .leave-stats-detail-row td {
  background: #202a35;
}

html[data-theme="dark"] .leave-stats-toggle {
  border-color: #405064;
  background: #26313d;
  color: #e1eaf2;
}

html[data-theme="dark"] .login-audit-filters label,
html[data-theme="dark"] .login-audit-summary {
  color: #aebbc7;
}

html[data-theme="dark"] .quick-schedule-preview,
html[data-theme="dark"] .hr-export-people-list,
html[data-theme="dark"] .hr-person-option,
html[data-theme="dark"] .hr-period-nav strong {
  border-color: #405064;
  background: #202a35;
  color: #edf3f7;
}

html[data-theme="dark"] .hr-person-option {
  background: #18222c;
}

html[data-theme="dark"] .quick-schedule-preview strong,
html[data-theme="dark"] .hr-person-option span,
html[data-theme="dark"] .hr-period-nav strong {
  color: #edf3f7;
}

html[data-theme="dark"] .quick-schedule-preview span,
html[data-theme="dark"] .hr-export-people-header,
html[data-theme="dark"] .hr-person-option small {
  color: #aebbc7;
}

html[data-theme="dark"] .hr-export-hint {
  border-color: #35577b;
  background: #1d3048;
  color: #9bc5ff;
}

html[data-theme="dark"] .hr-export-hint span {
  color: #c7d3dd;
}

html[data-theme="dark"] .hr-export-form .tiny-button {
  border-color: #405064;
  background: #26313d;
  color: #e1eaf2;
}

/* Field schedule pages and dialogs */
html[data-theme="dark"] .field-schedule-app {
  background: #11161d;
  color: #edf3f7;
}

html[data-theme="dark"] .field-schedule-toolbar,
html[data-theme="dark"] .field-schedule-filterbar,
html[data-theme="dark"] .field-region-section,
html[data-theme="dark"] .field-week-day,
html[data-theme="dark"] .field-schedule-empty,
html[data-theme="dark"] .field-schedule-loading,
html[data-theme="dark"] .field-stat-cards article,
html[data-theme="dark"] .field-stat-table-wrap,
html[data-theme="dark"] .field-stat-details,
html[data-theme="dark"] .mobile-sync-summary,
html[data-theme="dark"] .mobile-sync-map-row {
  border-color: #35414e;
  background: #182029;
  color: #edf3f7;
}

html[data-theme="dark"] .field-schedule-segmented,
html[data-theme="dark"] .field-scope-buttons,
html[data-theme="dark"] .field-type-buttons,
html[data-theme="dark"] .field-detail-item,
html[data-theme="dark"] .field-workforce-option,
html[data-theme="dark"] .field-people-picker,
html[data-theme="dark"] .field-people-actions,
html[data-theme="dark"] .field-history,
html[data-theme="dark"] .mobile-sync-status-grid article {
  border-color: #405064;
  background: #202a35;
  color: #edf3f7;
}

html[data-theme="dark"] .field-schedule-segmented button.active,
html[data-theme="dark"] .field-scope-buttons button.active,
html[data-theme="dark"] .field-type-buttons button.active {
  background: #2f6fb9;
  color: #ffffff;
  box-shadow: none;
}

html[data-theme="dark"] .field-appointment,
html[data-theme="dark"] .field-week-item,
html[data-theme="dark"] .field-people-picker .field-person-option {
  border-color: #35414e;
  background: #18222c;
  color: #edf3f7;
}

html[data-theme="dark"] .field-appointment:hover,
html[data-theme="dark"] .field-week-item:hover,
html[data-theme="dark"] .field-people-picker .field-person-option:hover,
html[data-theme="dark"] .field-person-option:has(input:checked) {
  border-color: #4d78a6;
  background: #1d3048;
}

html[data-theme="dark"] .field-schedule-title p,
html[data-theme="dark"] .field-schedule-summary,
html[data-theme="dark"] .field-schedule-filterbar label,
html[data-theme="dark"] .field-region-heading span,
html[data-theme="dark"] .field-appointment small,
html[data-theme="dark"] .field-week-item small,
html[data-theme="dark"] .field-view-preferences-form label,
html[data-theme="dark"] .field-view-preferences-hint,
html[data-theme="dark"] .field-device-preference small,
html[data-theme="dark"] .field-detail-item span,
html[data-theme="dark"] .field-workforce-option small,
html[data-theme="dark"] .field-schedule-form label,
html[data-theme="dark"] .field-people-group > header span,
html[data-theme="dark"] .field-person-copy small,
html[data-theme="dark"] .field-stat-cards span,
html[data-theme="dark"] .mobile-sync-status-grid span,
html[data-theme="dark"] .mobile-sync-status-grid small,
html[data-theme="dark"] .mobile-sync-map-head span,
html[data-theme="dark"] .mobile-sync-map-row small {
  color: #aebbc7;
}

html[data-theme="dark"] .field-schedule-form > footer,
html[data-theme="dark"] .field-schedule-detail > footer,
html[data-theme="dark"] .field-navigation-menu {
  border-color: #35414e;
  background: #182029;
  box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .field-navigation-menu strong,
html[data-theme="dark"] .field-detail-item strong,
html[data-theme="dark"] .field-workforce-option span,
html[data-theme="dark"] .field-person-copy strong,
html[data-theme="dark"] .field-stat-cards strong,
html[data-theme="dark"] .mobile-sync-status-grid strong {
  color: #edf3f7;
}

html[data-theme="dark"] .field-navigation-menu small,
html[data-theme="dark"] .field-navigation-menu label {
  border-color: #35414e;
  color: #aebbc7;
}

html[data-theme="dark"] .field-navigation-menu > button:not(.field-navigation-reset):hover {
  background: #1d3048;
}

html[data-theme="dark"] .field-person-tags em,
html[data-theme="dark"] .mobile-sync-summary span,
html[data-theme="dark"] .field-stat-details em {
  background: #273341;
  color: #c7d3dd;
}

html[data-theme="dark"] .field-stat-table thead th {
  background: #26374a;
  color: #d9e8f6;
}

html[data-theme="dark"] .field-stat-table th,
html[data-theme="dark"] .field-stat-table td,
html[data-theme="dark"] .field-stat-details > div,
html[data-theme="dark"] .field-stat-details p,
html[data-theme="dark"] .field-history-entry {
  border-color: #35414e;
}

html[data-theme="dark"] .settings-tab {
  color: #aebbc7;
}

html[data-theme="dark"] .settings-tab:hover {
  background: #273442;
  color: #edf3f7;
}

html[data-theme="dark"] .settings-tab.active {
  border-color: #4d6580;
  border-bottom-color: #2d3d4e;
  background: #2d3d4e;
  color: #ffffff;
  box-shadow: inset 0 3px 0 #69a8ef;
}

html[data-theme="dark"] .settings-body {
  background: #182029;
  scrollbar-color: #536273 #19212a;
}

html[data-theme="dark"] .settings-section,
html[data-theme="dark"] .settings-panel {
  color: #edf3f7;
}

html[data-theme="dark"] .settings-section h3,
html[data-theme="dark"] .settings-section h4,
html[data-theme="dark"] .settings-section h5,
html[data-theme="dark"] .settings-section strong,
html[data-theme="dark"] .settings-section b {
  color: #edf3f7;
}

html[data-theme="dark"] .settings-section .muted,
html[data-theme="dark"] .settings-section .field-label,
html[data-theme="dark"] .settings-section small,
html[data-theme="dark"] .settings-section p,
html[data-theme="dark"] .settings-section span {
  color: #aebbc7;
}

html[data-theme="dark"] .rule-list > div,
html[data-theme="dark"] .setting-control-list > div,
html[data-theme="dark"] .setting-control-list > label,
html[data-theme="dark"] .duty-rule-row,
html[data-theme="dark"] .people-setting-row,
html[data-theme="dark"] .quick-group-row,
html[data-theme="dark"] .organization-group-row,
html[data-theme="dark"] .account-request-admin,
html[data-theme="dark"] .account-request-row,
html[data-theme="dark"] .user-row,
html[data-theme="dark"] .user-editor,
html[data-theme="dark"] .user-disabled-check,
html[data-theme="dark"] .settings-backup-panel,
html[data-theme="dark"] .settings-health-panel,
html[data-theme="dark"] .settings-health-card,
html[data-theme="dark"] .backup-list-panel,
html[data-theme="dark"] .backup-row,
html[data-theme="dark"] .line-auto-route-table,
html[data-theme="dark"] .line-audit-list section {
  border-color: #405064;
  background: #202a35;
  color: #edf3f7;
}

html[data-theme="dark"] .organization-chart-group,
html[data-theme="dark"] .organization-chart-group > header,
html[data-theme="dark"] .organization-unassigned,
html[data-theme="dark"] .organization-chart-empty {
  border-color: #405064;
  background: #202a35;
  color: #edf3f7;
}

html[data-theme="dark"] .organization-person {
  border-color: #405064;
  background: #18222c;
}

html[data-theme="dark"] .organization-person.is-leader {
  border-color: #337f70;
  background: #17352f;
}

html[data-theme="dark"] .organization-person.is-rotating {
  border: 1px solid #80612d;
  background: #493719;
  box-shadow: none;
}

html[data-theme="dark"] .organization-person.is-rotating small {
  color: #f4c96b;
}

html[data-theme="dark"] .organization-person:not(.is-rotating) small {
  color: #9fb7c4;
}

html[data-theme="dark"] .organization-person.is-missing {
  border-color: #805f2d;
  background: #3c2e1d;
}

html[data-theme="dark"] .organization-vacancy {
  border-color: #8b795e;
  background: #2c2923;
  color: #d7c5a3;
}

html[data-theme="dark"] .organization-rotation-slot,
html[data-theme="dark"] .organization-staffing-target-unit {
  border-color: #405064;
  background: #18222c;
}

html[data-theme="dark"] .organization-target-notice {
  border-color: #80612d;
  background: #3c2e1d;
  color: #f4c96b;
}

html[data-theme="dark"] .organization-unit-heading > b,
html[data-theme="dark"] .organization-group-title-line > b {
  background: #17352f;
  color: #7ee0c5;
}

html[data-theme="dark"] .organization-chart-actions {
  background: #17212b;
}

html[data-theme="dark"] .organization-chart-view-switch {
  border-color: #405064;
  background: #111922;
}

html[data-theme="dark"] .organization-chart-view-switch button {
  color: #9fb0bf;
}

html[data-theme="dark"] .organization-chart-view-switch button[aria-pressed="true"] {
  background: #2b3947;
  color: #f4f7fa;
  box-shadow: none;
}

html[data-theme="dark"] .duty-rule-day,
html[data-theme="dark"] .person-check-list,
html[data-theme="dark"] .selected-member-list,
html[data-theme="dark"] .line-contact-row,
html[data-theme="dark"] .line-audit-item,
html[data-theme="dark"] .permission-matrix {
  border-color: #35414e;
  background: #18222c;
  color: #edf3f7;
}

html[data-theme="dark"] .duty-rule-day b,
html[data-theme="dark"] .line-audit-list h5,
html[data-theme="dark"] .line-audit-item strong,
html[data-theme="dark"] .line-audit-item p,
html[data-theme="dark"] .backup-row span,
html[data-theme="dark"] .settings-health-card strong {
  color: #edf3f7;
}

html[data-theme="dark"] .settings-section input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
html[data-theme="dark"] .settings-section select,
html[data-theme="dark"] .settings-section textarea,
html[data-theme="dark"] .line-audit-filters select,
html[data-theme="dark"] .line-auto-route-name {
  border-color: #405064;
  background: #111820;
  color: #edf3f7;
}

html[data-theme="dark"] .settings-section input::placeholder,
html[data-theme="dark"] .settings-section textarea::placeholder {
  color: #758390;
}

html[data-theme="dark"] [data-settings-panel="line"] .settings-section > h3 {
  border-color: #35414e;
  color: #edf3f7;
}

html[data-theme="dark"] [data-settings-panel="line"] .settings-section > h4 {
  color: #cbd6df;
}

html[data-theme="dark"] [data-settings-panel="line"] .settings-section > .setting-control-list,
html[data-theme="dark"] [data-settings-panel="line"] .settings-section > .line-target-card,
html[data-theme="dark"] [data-settings-panel="line"] .settings-section > .line-whitelist-grid,
html[data-theme="dark"] [data-settings-panel="line"] .settings-section > .line-audit-panel {
  border-color: #405064;
  background: #202a35;
  box-shadow: none;
}

html[data-theme="dark"] [data-settings-panel="line"] .settings-section > .line-target-card {
  border-color: #35577b;
  background: #1d3048;
  color: #cfe4ff;
}

html[data-theme="dark"] .line-target-card strong,
html[data-theme="dark"] .line-target-card span,
html[data-theme="dark"] [data-settings-panel="line"] #linePrivateStatus {
  color: #9bc5ff;
}

html[data-theme="dark"] .line-auto-route-heading,
html[data-theme="dark"] .permission-head {
  border-color: #405064;
  background: #26374a;
  color: #d9e8f6;
}

html[data-theme="dark"] .line-auto-route-row,
html[data-theme="dark"] .permission-row {
  border-color: #35414e;
}

html[data-theme="dark"] .member-chip {
  background: #1d3048;
  color: #9bc5ff;
}

html[data-theme="dark"] .member-chip b {
  color: #aebbc7;
}

html[data-theme="dark"] .line-contact-delete,
html[data-theme="dark"] .line-audit-actions button,
html[data-theme="dark"] .backup-row-actions .danger-button {
  border-color: #81413f;
  background: #412526;
  color: #ffaaa4;
}

html[data-theme="dark"] .user-row button,
html[data-theme="dark"] .backup-row-actions button,
html[data-theme="dark"] .settings-section .secondary-button,
html[data-theme="dark"] .settings-section .tiny-button,
html[data-theme="dark"] .settings-section .move-button,
html[data-theme="dark"] .settings-section .move-up,
html[data-theme="dark"] .settings-section .move-down {
  border-color: #405064;
  background: #26313d;
  color: #e1eaf2;
}

html[data-theme="dark"] .user-row button:hover:not(:disabled),
html[data-theme="dark"] .backup-row-actions button:hover:not(:disabled),
html[data-theme="dark"] .settings-section .secondary-button:hover:not(:disabled),
html[data-theme="dark"] .settings-section .tiny-button:hover:not(:disabled),
html[data-theme="dark"] .settings-section .move-button:hover:not(:disabled),
html[data-theme="dark"] .settings-section .move-up:hover:not(:disabled),
html[data-theme="dark"] .settings-section .move-down:hover:not(:disabled) {
  border-color: #58718c;
  background: #314052;
}

html[data-theme="dark"] .settings-health-issue {
  border-left-color: #d99a34;
  background: #3c2e1d;
  color: #f5c47f;
}

html[data-theme="dark"] .settings-health-issue.ok {
  border-left-color: #39a77e;
  background: #173c31;
  color: #83e2bd;
}

html[data-theme="dark"] .settings-health-card.ok strong {
  color: #83e2bd;
}

html[data-theme="dark"] .settings-health-card.warn strong {
  color: #f5c47f;
}

html[data-theme="dark"] .settings-health-card.error strong {
  color: #ff9189;
}

html[data-theme="dark"] .line-monitor-panel,
html[data-theme="dark"] .line-push-log-panel {
  border-color: #405064;
  background: #202a35;
  color: #edf3f7;
}

html[data-theme="dark"] .line-monitor-metric,
html[data-theme="dark"] .line-push-log-item {
  border-color: #35414e;
  background: #18222c;
  color: #edf3f7;
}

html[data-theme="dark"] .line-monitor-heading h4,
html[data-theme="dark"] .line-monitor-metric strong,
html[data-theme="dark"] .line-push-log-heading h4,
html[data-theme="dark"] .line-push-log-item p {
  color: #edf3f7;
}

html[data-theme="dark"] .line-monitor-heading p,
html[data-theme="dark"] .line-monitor-footnote,
html[data-theme="dark"] .line-monitor-metric span,
html[data-theme="dark"] .line-monitor-metric small,
html[data-theme="dark"] .line-push-log-filters label,
html[data-theme="dark"] .line-push-log-summary,
html[data-theme="dark"] .line-push-log-meta span,
html[data-theme="dark"] .line-push-log-item small {
  color: #aebbc7;
}

html[data-theme="dark"] .line-push-log-item.success .line-push-result {
  color: #83e2bd;
}

html[data-theme="dark"] .line-push-log-item.failed .line-push-result,
html[data-theme="dark"] .line-push-log-error,
html[data-theme="dark"] .line-monitor-warning,
html[data-theme="dark"] .line-monitor-error {
  color: #ff9189;
}

html[data-theme="dark"] .person-check-list,
html[data-theme="dark"] .line-contact-list,
html[data-theme="dark"] .line-audit-list,
html[data-theme="dark"] .settings-body {
  scrollbar-color: #536273 #19212a;
}
