body { font-family: 'Yantramanav', sans-serif; }
.custom-scroll::-webkit-scrollbar { width: 5px; height: 5px; }
.custom-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.perspective-1000 { perspective: 1000px; }
.transform-style-3d { transform-style: preserve-3d; }
.backface-hidden { backface-visibility: hidden; }
.rotate-y-180 { transform: rotateY(180deg); }

@media print {
  header, section, aside, footer, .no-print { display: none !important; }
  main { display: block !important; width: 100% !important; padding: 0 !important; }
  article { break-inside: avoid; border: 1px solid #cbd5e1 !important; box-shadow: none !important; margin-bottom: 20px !important; }
}

/* ===== Dark mode (html.dark) ===== */
html.dark body { background: #0b1220 !important; color: #e2e8f0; }
html.dark .bg-white { background-color: #111b2e !important; }
html.dark .bg-slate-50, html.dark .bg-slate-100 { background-color: #17233a !important; }
html.dark .bg-slate-200 { background-color: #243350 !important; }
html.dark .bg-amber-50, html.dark .bg-amber-50\/50, html.dark .bg-indigo-50, html.dark .bg-indigo-50\/70 { background-color: #1e2a44 !important; }
html.dark .bg-amber-100 { background-color: #5b4210 !important; }
html.dark .bg-emerald-100 { background-color: #0f3d2e !important; }
html.dark .text-slate-900, html.dark .text-slate-800 { color: #f1f5f9 !important; }
html.dark .text-slate-700, html.dark .text-slate-600 { color: #cbd5e1 !important; }
html.dark .text-slate-500, html.dark .text-slate-400 { color: #94a3b8 !important; }
html.dark .text-amber-900, html.dark .text-amber-950, html.dark .text-indigo-950, html.dark .text-emerald-900 { color: #fde68a !important; }
html.dark .border-slate-200, html.dark .border-slate-100, html.dark .border-slate-300 { border-color: #2a3a58 !important; }
html.dark input, html.dark select, html.dark textarea { background-color: #0b1220; color: #e2e8f0; }
html.dark .page-body, html.dark .page-body h2 { color: #e2e8f0 !important; }
