/* 관리자 배지·상태 색 유틸리티 — 자동 생성 파일. 직접 고치지 말 것.
 *
 *   생성: python scripts/admin_css/gen_badge_css.py
 *   확인: python scripts/admin_css/gen_badge_css.py --check
 *
 *   관리자는 unfold 사전 빌드 CSS 만 로드해서(프로젝트 Tailwind 빌드 없음)
 *   템플릿이 쓰는 색 유틸리티 대부분이 정의되지 않는다. 배지가 배경 없이
 *   글자만 나오던 원인이다. 생성 규칙과 제외 대상은 스크립트 docstring 참조.
 */

/* ── 라이트 ─────────────────────────────────────────────── */
:where(html:not(.dark)) .bg-amber-100 { background-color: #fef3c7; }
:where(html:not(.dark)) .bg-amber-50 { background-color: #fffbeb; }
:where(html:not(.dark)) .bg-amber-50\/60 { background-color: rgb(255 251 235 / 60%); }
:where(html:not(.dark)) .bg-blue-50\/50 { background-color: rgb(239 246 255 / 50%); }
:where(html:not(.dark)) .bg-blue-50\/80 { background-color: rgb(239 246 255 / 80%); }
:where(html:not(.dark)) .bg-gray-100 { background-color: #f3f4f6; }
:where(html:not(.dark)) .bg-gray-200 { background-color: #e5e7eb; }
:where(html:not(.dark)) .bg-gray-300 { background-color: #d1d5db; }
:where(html:not(.dark)) .bg-gray-50 { background-color: #f9fafb; }
:where(html:not(.dark)) .bg-gray-500 { background-color: #6b7280; }
:where(html:not(.dark)) .bg-gray-700 { background-color: #374151; }
:where(html:not(.dark)) .bg-gray-800 { background-color: #1f2937; }
:where(html:not(.dark)) .bg-gray-900 { background-color: #111827; }
:where(html:not(.dark)) .bg-green-50 { background-color: #f0fdf4; }
:where(html:not(.dark)) .bg-green-500\/10 { background-color: rgb(34 197 94 / 10%); }
:where(html:not(.dark)) .bg-orange-50 { background-color: #fff7ed; }
:where(html:not(.dark)) .bg-pink-100 { background-color: #fce7f3; }
:where(html:not(.dark)) .bg-purple-100 { background-color: #f3e8ff; }
:where(html:not(.dark)) .bg-red-200 { background-color: #fecaca; }
:where(html:not(.dark)) .bg-red-300 { background-color: #fca5a5; }
:where(html:not(.dark)) .bg-red-400 { background-color: #f87171; }
:where(html:not(.dark)) .bg-red-50\/50 { background-color: rgb(254 242 242 / 50%); }
:where(html:not(.dark)) .bg-red-50\/80 { background-color: rgb(254 242 242 / 80%); }
:where(html:not(.dark)) .bg-red-500\/10 { background-color: rgb(239 68 68 / 10%); }
:where(html:not(.dark)) .bg-red-700 { background-color: #b91c1c; }
:where(html:not(.dark)) .bg-sky-50 { background-color: #f0f9ff; }
:where(html:not(.dark)) .bg-violet-50\/40 { background-color: rgb(245 243 255 / 40%); }
:where(html:not(.dark)) .bg-yellow-100 { background-color: #fef9c3; }
:where(html:not(.dark)) .bg-yellow-50 { background-color: #fefce8; }
:where(html:not(.dark)) .border-amber-200 { border-color: #fde68a; }
:where(html:not(.dark)) .border-amber-300 { border-color: #fcd34d; }
:where(html:not(.dark)) .border-blue-300 { border-color: #93c5fd; }
:where(html:not(.dark)) .border-blue-400 { border-color: #60a5fa; }
:where(html:not(.dark)) .border-green-100 { border-color: #dcfce7; }
:where(html:not(.dark)) .border-green-200 { border-color: #bbf7d0; }
:where(html:not(.dark)) .border-green-300 { border-color: #86efac; }
:where(html:not(.dark)) .border-orange-300 { border-color: #fdba74; }
:where(html:not(.dark)) .border-red-100 { border-color: #fee2e2; }
:where(html:not(.dark)) .border-red-300 { border-color: #fca5a5; }
:where(html:not(.dark)) .border-yellow-200 { border-color: #fef08a; }
:where(html:not(.dark)) .border-yellow-300 { border-color: #fde047; }
:where(html:not(.dark)) .text-amber-600 { color: #d97706; }
:where(html:not(.dark)) .text-amber-700 { color: #b45309; }
:where(html:not(.dark)) .text-amber-800 { color: #92400e; }
:where(html:not(.dark)) .text-blue-600 { color: #2563eb; }
:where(html:not(.dark)) .text-blue-800 { color: #1e40af; }
:where(html:not(.dark)) .text-cyan-600 { color: #0891b2; }
:where(html:not(.dark)) .text-green-500 { color: #22c55e; }
:where(html:not(.dark)) .text-green-600 { color: #16a34a; }
:where(html:not(.dark)) .text-green-800 { color: #166534; }
:where(html:not(.dark)) .text-green-900 { color: #14532d; }
:where(html:not(.dark)) .text-indigo-500 { color: #6366f1; }
:where(html:not(.dark)) .text-orange-600 { color: #ea580c; }
:where(html:not(.dark)) .text-orange-800 { color: #9a3412; }
:where(html:not(.dark)) .text-pink-600 { color: #db2777; }
:where(html:not(.dark)) .text-purple-800 { color: #6b21a8; }
:where(html:not(.dark)) .text-red-100 { color: #fee2e2; }
:where(html:not(.dark)) .text-red-300 { color: #fca5a5; }
:where(html:not(.dark)) .text-red-800 { color: #991b1b; }
:where(html:not(.dark)) .text-red-900 { color: #7f1d1d; }
:where(html:not(.dark)) .text-sky-700 { color: #0369a1; }
:where(html:not(.dark)) .text-teal-600 { color: #0d9488; }
:where(html:not(.dark)) .text-yellow-300 { color: #fde047; }
:where(html:not(.dark)) .text-yellow-500 { color: #eab308; }
:where(html:not(.dark)) .text-yellow-600 { color: #ca8a04; }
:where(html:not(.dark)) .text-yellow-700 { color: #a16207; }
:where(html:not(.dark)) .text-yellow-800 { color: #854d0e; }
:where(html:not(.dark)) .text-yellow-800\/80 { color: rgb(133 77 14 / 80%); }
:where(html:not(.dark)) .text-yellow-900 { color: #713f12; }

/* ── 다크 (unfold 는 html.dark 토글) ───────────────────── */
.dark .dark\:bg-amber-500\/10 { background-color: rgb(245 158 11 / 10%); }
.dark .dark\:bg-amber-500\/20 { background-color: rgb(245 158 11 / 20%); }
.dark .dark\:bg-amber-900\/10 { background-color: rgb(120 53 15 / 10%); }
.dark .dark\:bg-blue-500\/10 { background-color: rgb(59 130 246 / 10%); }
.dark .dark\:bg-blue-500\/20 { background-color: rgb(59 130 246 / 20%); }
.dark .dark\:bg-gray-500\/20 { background-color: rgb(107 114 128 / 20%); }
.dark .dark\:bg-green-500\/10 { background-color: rgb(34 197 94 / 10%); }
.dark .dark\:bg-green-500\/20 { background-color: rgb(34 197 94 / 20%); }
.dark .dark\:bg-green-900\/10 { background-color: rgb(20 83 45 / 10%); }
.dark .dark\:bg-green-900\/20 { background-color: rgb(20 83 45 / 20%); }
.dark .dark\:bg-orange-500\/20 { background-color: rgb(249 115 22 / 20%); }
.dark .dark\:bg-pink-900\/20 { background-color: rgb(131 24 67 / 20%); }
.dark .dark\:bg-purple-500\/20 { background-color: rgb(168 85 247 / 20%); }
.dark .dark\:bg-red-500 { background-color: #ef4444; }
.dark .dark\:bg-red-500\/10 { background-color: rgb(239 68 68 / 10%); }
.dark .dark\:bg-red-500\/20 { background-color: rgb(239 68 68 / 20%); }
.dark .dark\:bg-red-500\/30 { background-color: rgb(239 68 68 / 30%); }
.dark .dark\:bg-red-500\/50 { background-color: rgb(239 68 68 / 50%); }
.dark .dark\:bg-red-600 { background-color: #dc2626; }
.dark .dark\:bg-red-900\/10 { background-color: rgb(127 29 29 / 10%); }
.dark .dark\:bg-red-900\/20 { background-color: rgb(127 29 29 / 20%); }
.dark .dark\:bg-sky-500\/10 { background-color: rgb(14 165 233 / 10%); }
.dark .dark\:bg-yellow-500\/10 { background-color: rgb(234 179 8 / 10%); }
.dark .dark\:bg-yellow-500\/20 { background-color: rgb(234 179 8 / 20%); }
.dark .dark\:bg-yellow-900\/30 { background-color: rgb(113 63 18 / 30%); }
.dark .dark\:border-amber-500\/25 { border-color: rgb(245 158 11 / 25%); }
.dark .dark\:border-amber-500\/40 { border-color: rgb(245 158 11 / 40%); }
.dark .dark\:border-blue-400\/60 { border-color: rgb(96 165 250 / 60%); }
.dark .dark\:border-blue-500\/40 { border-color: rgb(59 130 246 / 40%); }
.dark .dark\:border-green-500\/40 { border-color: rgb(34 197 94 / 40%); }
.dark .dark\:border-green-700 { border-color: #15803d; }
.dark .dark\:border-green-800 { border-color: #166534; }
.dark .dark\:border-green-800\/50 { border-color: rgb(22 101 52 / 50%); }
.dark .dark\:border-orange-400\/60 { border-color: rgb(251 146 60 / 60%); }
.dark .dark\:border-red-500\/25 { border-color: rgb(239 68 68 / 25%); }
.dark .dark\:border-red-500\/30 { border-color: rgb(239 68 68 / 30%); }
.dark .dark\:border-red-500\/40 { border-color: rgb(239 68 68 / 40%); }
.dark .dark\:border-red-700 { border-color: #b91c1c; }
.dark .dark\:border-red-800 { border-color: #991b1b; }
.dark .dark\:border-red-800\/50 { border-color: rgb(153 27 27 / 50%); }
.dark .dark\:border-yellow-500\/30 { border-color: rgb(234 179 8 / 30%); }
.dark .dark\:border-yellow-500\/40 { border-color: rgb(234 179 8 / 40%); }
.dark .dark\:border-yellow-800 { border-color: #854d0e; }
.dark .dark\:text-amber-300 { color: #fcd34d; }
.dark .dark\:text-amber-400 { color: #fbbf24; }
.dark .dark\:text-blue-200 { color: #bfdbfe; }
.dark .dark\:text-blue-300 { color: #93c5fd; }
.dark .dark\:text-blue-400 { color: #60a5fa; }
.dark .dark\:text-cyan-400 { color: #22d3ee; }
.dark .dark\:text-green-200 { color: #bbf7d0; }
.dark .dark\:text-green-300 { color: #86efac; }
.dark .dark\:text-green-400 { color: #4ade80; }
.dark .dark\:text-indigo-400 { color: #818cf8; }
.dark .dark\:text-orange-200 { color: #fed7aa; }
.dark .dark\:text-orange-400 { color: #fb923c; }
.dark .dark\:text-pink-400 { color: #f472b6; }
.dark .dark\:text-purple-300 { color: #d8b4fe; }
.dark .dark\:text-red-200 { color: #fecaca; }
.dark .dark\:text-red-300 { color: #fca5a5; }
.dark .dark\:text-red-400 { color: #f87171; }
.dark .dark\:text-sky-300 { color: #7dd3fc; }
.dark .dark\:text-teal-400 { color: #2dd4bf; }
.dark .dark\:text-yellow-100 { color: #fef9c3; }
.dark .dark\:text-yellow-200 { color: #fef08a; }
.dark .dark\:text-yellow-200\/70 { color: rgb(254 240 138 / 70%); }
.dark .dark\:text-yellow-300 { color: #fde047; }
.dark .dark\:text-yellow-400 { color: #facc15; }
