/* Dark theme fixes for components whose colours need an explicit choice (checked with the contrast audit). */
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .btn-primary:focus,
html[data-theme="system"] .btn-primary,
html[data-theme="system"] .btn-primary:hover { color:#ffffff !important; }
html[data-theme="dark"] .gig-badge,
html[data-theme="system"] .gig-badge { background-color:#c98a2e !important; color:#111827 !important; }
html[data-theme="dark"] a.btn-primary,
html[data-theme="dark"] .btn.btn-primary,
html[data-theme="dark"] .te-btn-primary,
html[data-theme="dark"] .te-btn-primary:hover,
html[data-theme="system"] a.btn-primary,
html[data-theme="system"] .btn.btn-primary,
html[data-theme="system"] .te-btn-primary { color:#ffffff !important; }
html[data-theme="dark"] .appearance-toggle,
html[data-theme="system"] .appearance-toggle { background:#17202a !important; color:#e8edf3 !important; border-color:#2f3d4d !important; }
html[data-theme="dark"] .category-bar-edge,
html[data-theme="system"] .category-bar-edge { background:#17202a !important; color:#e8edf3 !important; }
