/* Theme colors shared by the public blog's existing components. */
html[data-theme="dark"] body { background-color: #0f172a; color: #e2e8f0; }
html[data-theme="dark"] :is(.bg-white, .bg-gray-50, .bg-slate-50) { background-color: #1e293b; }
html[data-theme="dark"] :is(.bg-gray-100, .bg-slate-100) { background-color: #334155; }
html[data-theme="dark"] :is(.bg-blue-50, .bg-blue-100) { background-color: #172e50; }
html[data-theme="dark"] :is(.text-gray-700, .text-gray-800, .text-gray-900, .text-slate-700, .text-slate-900, .text-slate-950) { color: #f1f5f9; }
html[data-theme="dark"] :is(.text-gray-500, .text-gray-600, .text-slate-500, .text-slate-600) { color: #cbd5e1; }
html[data-theme="dark"] :is(.text-gray-400, .text-slate-400) { color: #94a3b8; }
html[data-theme="dark"] :is(.text-blue-500, .text-blue-600, .text-blue-700, .text-blue-900) { color: #93c5fd; }
html[data-theme="dark"] :is(.border-gray-100, .border-gray-200, .border-gray-300, .border-slate-200, hr) { border-color: #475569; }
html[data-theme="dark"] :is(.border-blue-100, .border-blue-200) { border-color: #1e40af; }
html[data-theme="dark"] :is(.hover\:bg-gray-50, .hover\:bg-gray-100):hover { background-color: #334155; }
html[data-theme="dark"] :is(.hover\:text-gray-900):hover { color: #f8fafc; }
html[data-theme="dark"] :is(.hover\:text-blue-500, .hover\:text-blue-600):hover { color: #bfdbfe; }
html[data-theme="dark"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, select) { background-color: #0f172a; color: #e2e8f0; border-color: #64748b; }
html[data-theme="dark"] :is(input, textarea)::placeholder { color: #94a3b8; }
html[data-theme="dark"] .prose {
    --tw-prose-body: #cbd5e1;
    --tw-prose-headings: #f1f5f9;
    --tw-prose-lead: #cbd5e1;
    --tw-prose-links: #93c5fd;
    --tw-prose-bold: #f1f5f9;
    --tw-prose-counters: #94a3b8;
    --tw-prose-bullets: #94a3b8;
    --tw-prose-hr: #475569;
    --tw-prose-quotes: #e2e8f0;
    --tw-prose-quote-borders: #64748b;
    --tw-prose-captions: #94a3b8;
    --tw-prose-code: #e2e8f0;
    --tw-prose-th-borders: #64748b;
    --tw-prose-td-borders: #475569;
}
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 2.5rem; height: 2.5rem; border: 1px solid #cbd5e1; border-radius: .5rem; background: transparent; color: #334155; }
.theme-toggle:hover { background-color: #f1f5f9; }
.theme-toggle:focus-visible { outline: 2px solid #3b82f6; outline-offset: 3px; }
.theme-toggle svg { width: 1.25rem; height: 1.25rem; }
.theme-toggle .theme-sun { display: none; }
html[data-theme="dark"] .theme-toggle { color: #fbbf24; border-color: #475569; }
html[data-theme="dark"] .theme-toggle:hover { background-color: #334155; }
html[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
