html, body { height: 100%; }
.spinner { width: 16px; height: 16px; border: 2px solid #d1d5db; border-top-color: #004AAD; border-radius: 9999px; animation: spin .7s linear infinite; display: inline-block; }
.btn .spinner { border-color: rgba(255,255,255,.4); border-top-color: #fff; width: 14px; height: 14px; }
.btn-secondary .spinner, .btn-ghost .spinner { border-color: #d1d5db; border-top-color: #004AAD; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: #eceef1; border-radius: 12px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.toast { animation: toastIn .18s ease-out; }
@keyframes toastIn { from { transform: translateY(8px); opacity: 0; } }
.modal-backdrop { animation: fadeIn .12s ease-out; }
@keyframes fadeIn { from { opacity: 0; } }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.scrollbar-none::-webkit-scrollbar { display: none; }
.prose-msg { white-space: pre-wrap; word-break: break-word; }
#print-area { display: none; }
@media print {
  body > *:not(#print-area) { display: none !important; }
  #print-area { display: block !important; padding: 0; }
  body { background: #fff; }
  @page { margin: 16mm; }
}
