/* ElectionHub Instant-Paint & Offline Resilience Utility Layer (eliminates Tailwind CDN FOUC on 2G/3G) */
*, *::before, *::after { box-sizing: border-box; }
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-2 { width: 0.5rem; } .h-2 { height: 0.5rem; }
.w-2\.5 { width: 0.625rem; } .h-2\.5 { height: 0.625rem; }
.w-3 { width: 0.75rem; } .h-3 { height: 0.75rem; }
.w-3\.5 { width: 0.875rem; } .h-3\.5 { height: 0.875rem; }
.w-7 { width: 1.75rem; } .h-7 { height: 1.75rem; }
.w-9 { width: 2.25rem; } .h-9 { height: 2.25rem; } .h-8 { height: 2rem; }
.w-16 { width: 4rem; } .w-20 { width: 5rem; } .w-36 { width: 9rem; } .w-44 { width: 11rem; }
.h-0\.5 { height: 0.125rem; } .h-full { height: 100%; } .h-auto { height: auto; }
.max-w-md { max-width: 28rem; } .max-w-lg { max-width: 32rem; } .max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; } .max-w-7xl { max-width: 80rem; }
.max-h-36 { max-height: 9rem; } .max-h-44 { max-height: 11rem; } .max-h-64 { max-height: 16rem; }
.max-h-\[380px\] { max-height: 380px; } .max-h-\[62vh\] { max-height: 62vh; } .max-h-\[90vh\] { max-height: 90vh; }
.min-w-\[680px\] { min-width: 680px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; } .ml-1 { margin-left: 0.25rem; } .mr-1 { margin-right: 0.25rem; }
.mt-0\.5 { margin-top: 0.125rem; } .mt-1 { margin-top: 0.25rem; } .mt-8 { margin-top: 2rem; } .mb-1 { margin-bottom: 0.25rem; }

.gap-1 { gap: 0.25rem; } .gap-1\.5 { gap: 0.375rem; } .gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; } .gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; } .gap-5 { gap: 1.25rem; }

.space-y-0\.5 > * + * { margin-top: 0.125rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-2\.5 > * + * { margin-top: 0.625rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-3\.5 > * + * { margin-top: 0.875rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.p-0 { padding: 0; } .p-2 { padding: 0.5rem; } .p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; } .p-3\.5 { padding: 0.875rem; } .p-4 { padding: 1rem; } .p-6 { padding: 1.5rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pb-2 { padding-bottom: 0.5rem; } .pb-2\.5 { padding-bottom: 0.625rem; } .pb-3 { padding-bottom: 0.75rem; }
.pt-1 { padding-top: 0.25rem; } .pt-2 { padding-top: 0.5rem; } .pt-3 { padding-top: 0.75rem; }
.pr-1 { padding-right: 0.25rem; } .pr-2 { padding-right: 0.5rem; } .pl-2 { padding-left: 0.5rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-full { grid-column: 1 / -1; }

.text-\[8px\] { font-size: 8px; } .text-\[10px\] { font-size: 10px; } .text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1.1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.65rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-normal { font-weight: 400; } .font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; } .font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; } .font-black { font-weight: 900; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.font-sans { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; } .tracking-wider { letter-spacing: 0.05em; } .tracking-tight { letter-spacing: -0.02em; }
.leading-none { line-height: 1; } .leading-relaxed { line-height: 1.6; }
.text-left { text-align: left; } .text-center { text-align: center; } .text-right { text-align: right; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }

.rounded { border-radius: 0.25rem; } .rounded-sm { border-radius: 0.125rem; }
.rounded-lg { border-radius: 0.5rem; } .rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; } .rounded-full { border-radius: 9999px; }
.border { border-width: 1px; border-style: solid; border-color: var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-transparent { border-color: transparent; }
.border-blue-500 { border-color: #3b82f6; }
.border-l-\[\#16a34a\] { border-left-color: #16a34a; }
.border-l-amber-500, .border-l-amber-400 { border-left-color: #f59e0b; }
.divide-y > * + * { border-top: 1px solid var(--border); }
.border-collapse { border-collapse: collapse; }

.overflow-hidden { overflow: hidden; } .overflow-x-auto { overflow-x: auto; } .overflow-y-auto { overflow-y: auto; }
.relative { position: relative; } .absolute { position: absolute; }
.sticky { position: sticky; } .fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; } .top-0 { top: 0; } .bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; } .right-4 { right: 1rem; } .left-1\/2 { left: 50%; }
.z-10 { z-index: 10; } .z-30 { z-index: 30; } .z-50 { z-index: 50; }
.cursor-pointer { cursor: pointer; }
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.25); } .shadow-lg { box-shadow: 0 10px 25px rgba(0,0,0,0.35); } .shadow-2xl { box-shadow: 0 20px 45px rgba(0,0,0,0.5); }
.opacity-30 { opacity: 0.3; } .opacity-80 { opacity: 0.8; }

.bg-blue-600 { background-color: #2563eb; } .bg-blue-500 { background-color: #3b82f6; }
.bg-emerald-600 { background-color: #059669; } .bg-emerald-500 { background-color: #10b981; }
.bg-\[\#16a34a\] { background-color: #16a34a; }
.bg-amber-500 { background-color: #f59e0b; } .bg-amber-400 { background-color: #fbbf24; }
.bg-rose-600 { background-color: #e11d48; } .bg-rose-500 { background-color: #f43f5e; }
.bg-slate-900 { background-color: #0f172a; } .bg-slate-900\/95 { background-color: rgba(15, 23, 42, 0.97); }
.bg-\[var\(--surface\)\]\/95 { background-color: var(--surface); }
.bg-slate-800 { background-color: #1e293b; } .bg-slate-950\/70, .bg-slate-950\/60 { background-color: rgba(2,6,23,0.75); }
textarea.adm-input { line-height: 1.65; }
.bg-emerald-500\/15, .bg-emerald-500\/20 { background-color: rgba(16,185,129,0.16); }
.bg-amber-500\/15, .bg-amber-500\/20 { background-color: rgba(245,158,11,0.16); }
.bg-blue-500\/15, .bg-blue-600\/20 { background-color: rgba(59,130,246,0.18); }
.bg-purple-500\/15 { background-color: rgba(168,85,247,0.16); }
.bg-rose-600\/20 { background-color: rgba(225,29,72,0.18); }

.text-white { color: #ffffff; } .text-slate-950 { color: #020617; }
.text-slate-200 { color: #e2e8f0; } .text-slate-300 { color: #cbd5e1; } .text-slate-400 { color: #94a3b8; }
.text-blue-400, .text-blue-500, .text-blue-600 { color: #3b82f6; }
.text-emerald-400, .text-emerald-500, .text-emerald-600 { color: #10b981; }
.text-\[\#16a34a\] { color: #16a34a; }
.text-amber-300, .text-amber-400, .text-amber-500 { color: #f59e0b; }
.text-rose-400, .text-rose-500 { color: #f43f5e; }
.text-purple-500 { color: #a855f7; }
button, a { text-decoration: none; color: inherit; background: transparent; border: none; }

@media (min-width: 640px) {
  .sm\:inline { display: inline; } .sm\:hidden { display: none; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:p-4 { padding: 1rem; } .sm\:p-5 { padding: 1.25rem; } .sm\:p-6 { padding: 1.5rem; } .sm\:p-8 { padding: 2rem; }
  .sm\:text-sm { font-size: 0.875rem; } .sm\:text-base { font-size: 1rem; }
  .sm\:text-lg { font-size: 1.125rem; } .sm\:text-xl { font-size: 1.25rem; } .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .sm\:col-span-1 { grid-column: span 1 / span 1; }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:col-span-3 { grid-column: span 3 / span 3; }
  .sm\:items-center { align-items: center; }
  .sm\:max-w-3xl { max-width: 48rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
}
