/*
 * Dark-mode image handling - GENERATED FILE, do not hand-edit.
 * Regenerate with tools-generate-image-css.py after adding course images.
 *
 * ONE rule: drawn artefacts (diagrams, UML, rendered tables) get a light
 * plate so they sit on the surface they were drawn for. Everything else is
 * left exactly as authored.
 *
 * INVERSION WAS REMOVED (founder decision, 2026-07-28, after reviewing real
 * lessons in the Minimal APIs course). Recolouring light screenshots was
 * legible and measured well, but it looked wrong: a Postman capture is a
 * picture OF something, and recolouring it makes the reader doubt what they
 * are seeing. A screenshot now renders as captured, white background and all.
 * That is a deliberate trade - some glare, in exchange for every screenshot
 * being trustworthy and no classifier deciding what to repaint.
 *
 * 140 drawn artefacts get a plate.
 * 400 light images are left untouched (mostly Postman/browser captures).
 * 135 already-dark images were never candidates.
 *
 * The image FILE is never modified, and in light mode nothing matches, so
 * every image renders exactly as it does today.
 */

:root[data-theme="dark"] img[src*="/1.3.2-Image-1"],
:root[data-theme="dark"] img[src*="/1.4.2-Image-1"],
:root[data-theme="dark"] img[src*="/1.5.1-Image-1"],
:root[data-theme="dark"] img[src*="/1.5.1-Image-2"],
:root[data-theme="dark"] img[src*="/1.8-Image-1"],
:root[data-theme="dark"] img[src*="/1.8-Image-2"],
:root[data-theme="dark"] img[src*="/10.3.2-Image-6"],
:root[data-theme="dark"] img[src*="/11.2.1-Image-1"],
:root[data-theme="dark"] img[src*="/11.2.1-Image-2"],
:root[data-theme="dark"] img[src*="/11.2.1-Image-3"],
:root[data-theme="dark"] img[src*="/11.5-Image-1-1"],
:root[data-theme="dark"] img[src*="/11.5-Image-2-1"],
:root[data-theme="dark"] img[src*="/12.1.1-Image-1"],
:root[data-theme="dark"] img[src*="/12.1.2-Image-1"],
:root[data-theme="dark"] img[src*="/12.2.2-Image-1"],
:root[data-theme="dark"] img[src*="/12.5.4-Image-2"],
:root[data-theme="dark"] img[src*="/13.2.1-Image-1"],
:root[data-theme="dark"] img[src*="/13.2.1-Image-2"],
:root[data-theme="dark"] img[src*="/13.2.1-Image-3"],
:root[data-theme="dark"] img[src*="/13.2.1-Image-4"],
:root[data-theme="dark"] img[src*="/15.1-Image-1-new"],
:root[data-theme="dark"] img[src*="/18.1-Image-1"],
:root[data-theme="dark"] img[src*="/18.1-Image-2"],
:root[data-theme="dark"] img[src*="/19.2-Image-1"],
:root[data-theme="dark"] img[src*="/2.2-Image-1"],
:root[data-theme="dark"] img[src*="/2.4.1-Image-4"],
:root[data-theme="dark"] img[src*="/2.4.1-Image-5"],
:root[data-theme="dark"] img[src*="/3.1-Image-2"],
:root[data-theme="dark"] img[src*="/3.1.1-Image-1-1"],
:root[data-theme="dark"] img[src*="/3.1.2-Image-1-1"],
:root[data-theme="dark"] img[src*="/3.1.3-Image-1"],
:root[data-theme="dark"] img[src*="/3.1.4-Image-1-1"],
:root[data-theme="dark"] img[src*="/3.2-Image-1"],
:root[data-theme="dark"] img[src*="/3.3-Image-2"],
:root[data-theme="dark"] img[src*="/3.4-Image-1"],
:root[data-theme="dark"] img[src*="/3.6.1-Image-1"],
:root[data-theme="dark"] img[src*="/3.6.1-Image-2"],
:root[data-theme="dark"] img[src*="/3.6.3-Image-3"],
:root[data-theme="dark"] img[src*="/4.1.1-Image-1"],
:root[data-theme="dark"] img[src*="/4.1.1-Image-2"],
:root[data-theme="dark"] img[src*="/4.3-Image-1-1"],
:root[data-theme="dark"] img[src*="/5.1.1-Image-1-2"],
:root[data-theme="dark"] img[src*="/5.1.1-Image-2-1"],
:root[data-theme="dark"] img[src*="/5.3.1-Image-1-1"],
:root[data-theme="dark"] img[src*="/5.8-Image-1"],
:root[data-theme="dark"] img[src*="/6.5-Image-5"],
:root[data-theme="dark"] img[src*="/7.1-Image-1"],
:root[data-theme="dark"] img[src*="/7.1.2-Image-1-1"],
:root[data-theme="dark"] img[src*="/7.1.3-Image-1"],
:root[data-theme="dark"] img[src*="/7.1.4-Image-1"],
:root[data-theme="dark"] img[src*="/8.4-Image-1"],
:root[data-theme="dark"] img[src*="/9.5-Image-1"],
:root[data-theme="dark"] img[src*="/Bonus-API-2.1-Image-1"],
:root[data-theme="dark"] img[src*="/Bonus-API-2.1-Image-2"],
:root[data-theme="dark"] img[src*="/Image-1"],
:root[data-theme="dark"] img[src*="/MinApi-18.3-Table"],
:root[data-theme="dark"] img[src*="/MinApi-29.1.3-1.drawio"],
:root[data-theme="dark"] img[src*="/MinApi-30.4-Image-1-1"],
:root[data-theme="dark"] img[src*="/MinApi-4.1-Image-1"],
:root[data-theme="dark"] img[src*="/MinApi-4.2-Image-1"],
:root[data-theme="dark"] img[src*="/MinApi-4.6-Image-1"],
:root[data-theme="dark"] img[src*="/MinApi-5.1-Image-1"],
:root[data-theme="dark"] img[src*="/MinApi-5.2-Image-1"],
:root[data-theme="dark"] img[src*="/MinApi-8.2-Image-1"],
:root[data-theme="dark"] img[src*="/RepositoryPattern"],
:root[data-theme="dark"] img[src*="/Security-5.1-Image-2"],
:root[data-theme="dark"] img[src*="/Security-5.5-Image-2"],
:root[data-theme="dark"] img[src*="/Security-7.1-Image-1"],
:root[data-theme="dark"] img[src*="/Web-Api-31.4-Image-1"],
:root[data-theme="dark"] img[src*="/Web-Api-32.1-Image-1"],
:root[data-theme="dark"] img[src*="/Web-Api-32.1-Image-2"],
:root[data-theme="dark"] img[src*="/abstract-factory-pattern-abstract"],
:root[data-theme="dark"] img[src*="/abstract-factory-pattern-concrete"],
:root[data-theme="dark"] img[src*="/adapter"],
:root[data-theme="dark"] img[src*="/adapter_practice"],
:root[data-theme="dark"] img[src*="/bridge-practice"],
:root[data-theme="dark"] img[src*="/bridgle"],
:root[data-theme="dark"] img[src*="/builder-pattern-abstract"],
:root[data-theme="dark"] img[src*="/builder-pattern-concrete"],
:root[data-theme="dark"] img[src*="/chain-of-responsibility-abstract"],
:root[data-theme="dark"] img[src*="/chain-of-responsibility-concrete"],
:root[data-theme="dark"] img[src*="/command-pattern-abstract"],
:root[data-theme="dark"] img[src*="/command-pattern-concrete"],
:root[data-theme="dark"] img[src*="/composite"],
:root[data-theme="dark"] img[src*="/composite_practice"],
:root[data-theme="dark"] img[src*="/cqrs-pattern-abstract"],
:root[data-theme="dark"] img[src*="/cqrs-pattern-concrete"],
:root[data-theme="dark"] img[src*="/decorator"],
:root[data-theme="dark"] img[src*="/decorator_concrete"],
:root[data-theme="dark"] img[src*="/dotnet_gc_heap_layout-1"],
:root[data-theme="dark"] img[src*="/facade"],
:root[data-theme="dark"] img[src*="/facade_practice"],
:root[data-theme="dark"] img[src*="/factory_method"],
:root[data-theme="dark"] img[src*="/factory_method_practice"],
:root[data-theme="dark"] img[src*="/figure-0-1-clean-architecture-rings"],
:root[data-theme="dark"] img[src*="/figure-0-2-landscape-map"],
:root[data-theme="dark"] img[src*="/figure-1-1-policy-depends-on-detail"],
:root[data-theme="dark"] img[src*="/figure-10-1-testing-pyramid"],
:root[data-theme="dark"] img[src*="/figure-12-1-placement-decision-flowchart"],
:root[data-theme="dark"] img[src*="/figure-15-3-failure-or-exception"],
:root[data-theme="dark"] img[src*="/figure-15-3-request-lifecycle-scaled"],
:root[data-theme="dark"] img[src*="/figure-15-3-the-rings"],
:root[data-theme="dark"] img[src*="/figure-15-3-where-does-code-go"],
:root[data-theme="dark"] img[src*="/figure-2-1-ntier-vs-dependency-rule"],
:root[data-theme="dark"] img[src*="/flyweight-pattern-abstract"],
:root[data-theme="dark"] img[src*="/flyweight-pattern-concrete"],
:root[data-theme="dark"] img[src*="/interpreter-pattern-abstract"],
:root[data-theme="dark"] img[src*="/interpreter-pattern-concrete"],
:root[data-theme="dark"] img[src*="/iterator-pattern-abstract"],
:root[data-theme="dark"] img[src*="/iterator-pattern-concrete"],
:root[data-theme="dark"] img[src*="/mediator-pattern-abstract"],
:root[data-theme="dark"] img[src*="/mediator-pattern-concrete"],
:root[data-theme="dark"] img[src*="/memento-pattern-abstract"],
:root[data-theme="dark"] img[src*="/memento-pattern-concrete"],
:root[data-theme="dark"] img[src*="/observer"],
:root[data-theme="dark"] img[src*="/observer_practice"],
:root[data-theme="dark"] img[src*="/prototype-pattern-abstract"],
:root[data-theme="dark"] img[src*="/prototype-pattern-concrete"],
:root[data-theme="dark"] img[src*="/proxy"],
:root[data-theme="dark"] img[src*="/proxy_practice"],
:root[data-theme="dark"] img[src*="/repository-pattern-abstract"],
:root[data-theme="dark"] img[src*="/repository-pattern-concrete"],
:root[data-theme="dark"] img[src*="/saga-pattern-abstract"],
:root[data-theme="dark"] img[src*="/saga-pattern-concrete"],
:root[data-theme="dark"] img[src*="/singleton-pattern-abstract"],
:root[data-theme="dark"] img[src*="/singleton-pattern-concrete"],
:root[data-theme="dark"] img[src*="/specification-pattern-abstract-2"],
:root[data-theme="dark"] img[src*="/specification-pattern-concrete-2"],
:root[data-theme="dark"] img[src*="/state-1"],
:root[data-theme="dark"] img[src*="/state_practice_abstract"],
:root[data-theme="dark"] img[src*="/state_practice_combined"],
:root[data-theme="dark"] img[src*="/state_practice_interface"],
:root[data-theme="dark"] img[src*="/strategy"],
:root[data-theme="dark"] img[src*="/strategy_practice"],
:root[data-theme="dark"] img[src*="/template_method"],
:root[data-theme="dark"] img[src*="/template_method_practice"],
:root[data-theme="dark"] img[src*="/unitofwork-pattern-abstract"],
:root[data-theme="dark"] img[src*="/unitofwork-pattern-concrete"],
:root[data-theme="dark"] img[src*="/visitor-pattern-abstract"],
:root[data-theme="dark"] img[src*="/visitor-pattern-concrete"] {
	background: #f2f0ec;
	padding: 16px;
	border-radius: 10px;
	box-sizing: border-box;
}
