.input { @apply w-full border border-slate-300 rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-indigo-500 mt-1 bg-white; }
.input { width: 100%; border: 1px solid #cbd5e1; border-radius: .5rem; padding: .5rem .75rem; font-size: .875rem; margin-top: .25rem; background: #fff; }
.input:focus { outline: none; box-shadow: 0 0 0 2px #6366f1; }
.btn-primary { background: #4f46e5; color: #fff; padding: .5rem 1rem; border-radius: .5rem; font-weight: 500; }
.btn-primary:hover { background: #4338ca; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary { background: #fff; border: 1px solid #cbd5e1; color: #334155; padding: .5rem 1rem; border-radius: .5rem; font-weight: 500; }
.btn-secondary:hover { border-color: #94a3b8; }
.btn-danger { background: #fff; border: 1px solid #fca5a5; color: #b91c1c; padding: .25rem .6rem; border-radius: .4rem; font-size: .75rem; }
.btn-danger:hover { background: #fef2f2; }
.btn-small { background: #fff; border: 1px solid #cbd5e1; color: #334155; padding: .25rem .6rem; border-radius: .4rem; font-size: .75rem; }
.btn-small:hover { border-color: #94a3b8; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.25rem; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.card-title { font-weight: 600; color: #0f172a; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.tab-btn { border-color: #e2e8f0; color: #475569; }
.tab-btn.active { background: #eef2ff; border-color: #c7d2fe; color: #3730a3; font-weight: 600; }
.badge { display: inline-flex; align-items: center; padding: .1rem .5rem; border-radius: 9999px; font-size: .7rem; font-weight: 600; letter-spacing: .02em; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-gray { background: #f1f5f9; color: #475569; }
.badge-indigo { background: #e0e7ff; color: #3730a3; }
.modal { position: fixed; inset: 0; background: rgba(15,23,42,.5); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 1rem; }
.modal.hidden { display: none; }
.modal-box { background: #fff; border-radius: 1rem; padding: 1.5rem; width: 100%; max-width: 28rem; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.kv { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; border-bottom: 1px dashed #f1f5f9; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: #64748b; }
#toast { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 60; display: flex; flex-direction: column; gap: .5rem; }
.toast-item { background: #0f172a; color: #fff; padding: .6rem .9rem; border-radius: .6rem; font-size: .85rem; box-shadow: 0 10px 25px rgba(0,0,0,.25); }
.toast-item.err { background: #b91c1c; }
.users-item { padding: .6rem .5rem; cursor: pointer; border-radius: .5rem; }
.users-item:hover { background: #f8fafc; }
.users-item.active { background: #eef2ff; }
td, th { padding: .4rem .35rem; vertical-align: top; }
