/* Custom scrollbar & base styles */
body { -webkit-font-smoothing: antialiased; background-color: var(--bg); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.view-btn.active { background-color: var(--ink); color: white; border-color: var(--ink); }

/* Smooth transitions for sections */
section { display: none; opacity: 0; transition: opacity 0.2s ease; }
section.on { display: block; opacity: 1; }

/* Table sticky header */
th { position: sticky; top: 0; background-color: var(--bg); z-index: 10; box-shadow: 0 1px 0 var(--line); }

/* Toast animation */
@keyframes slideIn { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.toast-enter { animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
