/* Finish the High Contrast Light palette after the editor and workbench styles. */
html[data-theme="high-contrast-light"] {
  color-scheme: light;
  --bg: #fff !important; --panel: #fff !important; --surface: #fff !important;
  --surface-2: #fff !important; --surface-3: #f2f2f2 !important; --surface-4: #e5e5e5 !important;
  --text: #000 !important; --text-2: #000 !important; --text-3: #000 !important; --muted: #222 !important; --muted-2: #222 !important;
  --border: #000 !important; --border-strong: #000 !important; --border-strong-2: #000 !important;
  --primary: #000080 !important; --primary-2: #000080 !important; --primary-text: #000080 !important;
  --accent: #005a5a !important; --accent-text: #005a5a !important; --danger: #a00000 !important; --warn: #6b4f00 !important; --warn-text: #6b4f00 !important; --ok: #006400 !important; --info: #000080 !important;
  --btn-primary: #000080 !important; --btn-primary-hover: #000050 !important; --btn-accent: #005a5a !important; --btn-accent-hover: #003e3e !important;
  --info-bg: #fff !important; --info-bg-2: #fff !important; --info-bg-3: #fff !important; --info-bg-4: #fff !important;
  --ok-bg: #fff !important; --ok-bg-2: #fff !important; --ok-bg-3: #fff !important; --ok-bg-5: #fff !important;
  --warn-bg: #fff !important; --warn-bg-2: #fff !important; --warn-bg-3: #fff !important; --err-bg: #fff !important; --err-bg-2: #fff !important;
  --info-fg: #000080 !important; --info-fg-2: #000080 !important; --info-fg-3: #000080 !important;
  --ok-fg: #006400 !important; --ok-fg-2: #006400 !important; --ok-fg-3: #006400 !important;
  --warn-fg: #6b4f00 !important; --warn-fg-2: #6b4f00 !important; --warn-fg-3: #6b4f00 !important;
  --err-fg: #a00000 !important; --err-fg-2: #a00000 !important; --err-fg-3: #800000 !important;
  --sky-bg: #fff !important; --sky-bg-2: #fff !important; --sky-border: #000 !important; --purple-bg: #fff !important; --teal-bg: #fff !important; --teal-border: #000 !important; --orange-bg: #fff !important; --cream-bg: #fff !important;
  --ok-border: #006400 !important; --ok-border-2: #006400 !important; --warn-border-2: #6b4f00 !important; --err-border: #a00000 !important;
  --sim-tab-fg: #006400 !important; --tip-fg: #000 !important; --k-blue-fg: #000080 !important; --k-black-fg: #000 !important; --k-purple-fg: #4b0082 !important; --ic-fg: #fff !important;
  --bb-table: #fff !important; --glass-60: #fff !important; --glass-90: #fff !important; --glass-95: #fff !important; --shadow: none !important;
  --circuit-wire-signal: #000080 !important; --circuit-wire-ground: #222 !important; --circuit-wire-3v3: #a00000 !important; --circuit-wire-5v: #6b4f00 !important;
}

html[data-theme="high-contrast-light"] body,
html[data-theme="high-contrast-light"] .topbar,
html[data-theme="high-contrast-light"] .palette,
html[data-theme="high-contrast-light"] .side,
html[data-theme="high-contrast-light"] .center,
html[data-theme="high-contrast-light"] .view,
html[data-theme="high-contrast-light"] .toolbar,
html[data-theme="high-contrast-light"] .banner,
html[data-theme="high-contrast-light"] .panel-head,
html[data-theme="high-contrast-light"] .canvas-wrap,
html[data-theme="high-contrast-light"] .schematic-banner,
html[data-theme="high-contrast-light"] .cs-welcome,
html[data-theme="high-contrast-light"] .modal,
html[data-theme="high-contrast-light"] .kb-dialog {
  background: #fff !important; color: #000 !important; border-color: #000 !important;
}

html[data-theme="high-contrast-light"] .banner .tag { background: #fff !important; color: #000080 !important; border: 1px solid #000080 !important; }
html[data-theme="high-contrast-light"] .schematic-banner .tag { background: #000080 !important; color: #fff !important; border-color: #000080 !important; }
html[data-theme="high-contrast-light"] .cs-legend { color: #000 !important; }
html[data-theme="high-contrast-light"] .cs-legend .sig, html[data-theme="high-contrast-light"] .cs-wire-legend .signal { background: #000080 !important; }
html[data-theme="high-contrast-light"] .cs-legend .gnd, html[data-theme="high-contrast-light"] .cs-wire-legend .ground { background: #222 !important; }
html[data-theme="high-contrast-light"] .cs-legend .v33, html[data-theme="high-contrast-light"] .cs-wire-legend .threev3 { background: #a00000 !important; }
html[data-theme="high-contrast-light"] .cs-legend .v5, html[data-theme="high-contrast-light"] .cs-wire-legend .fivev { background: #6b4f00 !important; }
html[data-theme="high-contrast-light"] .ring-best, html[data-theme="high-contrast-light"] .tip-rate.best, html[data-theme="high-contrast-light"] .tip-rate.shared { color: #006400 !important; }
html[data-theme="high-contrast-light"] .ring-ok, html[data-theme="high-contrast-light"] .tip-rate.ok { color: #000080 !important; }
html[data-theme="high-contrast-light"] .ring-avoid, html[data-theme="high-contrast-light"] .tip-rate.avoid { color: #6b4f00 !important; }
html[data-theme="high-contrast-light"] .ring-used, html[data-theme="high-contrast-light"] .tip-rate.used { color: #a00000 !important; }
html[data-theme="high-contrast-light"] .tip-rate.bad, html[data-theme="high-contrast-light"] .tip-hint { color: #000 !important; }
html[data-theme="high-contrast-light"] .toast { background: #000 !important; color: #fff !important; border: 2px solid #000 !important; backdrop-filter: none !important; }
html[data-theme="high-contrast-light"] .toast.ok { background: #006400 !important; color: #fff !important; }
html[data-theme="high-contrast-light"] .toast.warn { background: #6b4f00 !important; color: #fff !important; }
html[data-theme="high-contrast-light"] .tooltip { background: #fff !important; color: #000 !important; border: 2px solid #000 !important; box-shadow: none !important; }
html[data-theme="high-contrast-light"] .modal-backdrop, html[data-theme="high-contrast-light"] .kb-dialog::backdrop { background: rgb(0 0 0 / 55%) !important; }
html[data-theme="high-contrast-light"] .part-card, html[data-theme="high-contrast-light"] .part-item, html[data-theme="high-contrast-light"] .palette-item, html[data-theme="high-contrast-light"] .issue { background: #fff !important; color: #000 !important; border: 2px solid #000 !important; box-shadow: none !important; }
html[data-theme="high-contrast-light"] .part-card:hover, html[data-theme="high-contrast-light"] .part-item:hover, html[data-theme="high-contrast-light"] .palette-item:hover, html[data-theme="high-contrast-light"] .issue:hover { background: #f2f2f2 !important; border-color: #000080 !important; }
html[data-theme="high-contrast-light"] .issue p, html[data-theme="high-contrast-light"] .muted, html[data-theme="high-contrast-light"] .hint { color: #111 !important; }
html[data-theme="high-contrast-light"] .issue.error { border-left-color: #a00000 !important; }
html[data-theme="high-contrast-light"] .issue.warning { border-left-color: #6b4f00 !important; }
html[data-theme="high-contrast-light"] :focus-visible { outline: 3px solid #000080 !important; outline-offset: 2px !important; }
html[data-theme="high-contrast-light"] *, html[data-theme="high-contrast-light"] *::before, html[data-theme="high-contrast-light"] *::after { scrollbar-color: #000 #fff !important; }
