/* Checklist Manager's theme. Reports/print keep their existing styles. */
@media screen {
  :root[data-test-checklist-theme="dark"] {
    color-scheme: dark;
    --ink: #e5eaf2;
    --muted: #a6b3c6;
    --line: #3a4658;
    --panel: #1e2835;
    --bg: #171c22;
    --accent-text: #edd18b;
    --accent-soft: #3c3421;
    --success: #86efac;
    --success-soft: #143b2b;
    --warning: #fcd34d;
    --warning-soft: #433719;
    --danger: #fca5a5;
    --danger-soft: #471f28;
    --info: #7dd3fc;
    --info-soft: #17374b;
    --neutral: #cbd5e1;
    --neutral-soft: #334155;
    color: var(--ink);
    background: var(--bg);
  }
  [data-test-checklist-theme="dark"] :is(input, select, textarea) {
    background: var(--panel);
    color: var(--ink);
  }
  [data-test-checklist-theme="dark"] :is(button, .icon-link, .selector-link, .upload-button):not(.primary):not(.active):not(.topbar *) {
    background-color: var(--panel);
  }
  [data-test-checklist-theme="dark"] :is(.measurement-panel, .thickness-toggle>div, .inventory-panel-compact, .stock-summary span, .stock-status-options, .searchable-select-menu, .embedded-form, .records-search, .editable-list-item, .template-version-preview, .car-map) {
    background: var(--panel);
  }
  [data-test-checklist-theme="dark"] :is(.template-item-editor input:focus, .template-item-editor select:focus, .template-section-head input:focus) {
    background: var(--panel);
  }
  [data-test-checklist-theme="dark"] :is(button, .icon-link, .selector-link, .upload-button):hover:not(.primary):not(.active):not(.topbar *) {
    background-color: var(--accent-soft);
  }
  .topbar .test-theme-toggle {
    min-width: 36px;
    min-height: 36px;
    padding: 4px 8px;
    font: 24px/1 system-ui, sans-serif;
    background: transparent;
    color: inherit;
    border-color: currentColor;
  }
}
