* { box-sizing: border-box; }
body {
    font-family: system-ui, sans-serif;
    background: #f4f5f7;
    color: #1c1e21;
    margin: 0;
}
nav {
    background: #1c1e21;
    padding: 0.75rem 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
}
nav a { color: #fff; text-decoration: none; font-size: 0.95rem; }
nav a:hover { text-decoration: underline; }
nav .spacer { flex: 1; }
main { max-width: 1100px; margin: 1.5rem auto; padding: 0 1rem; }
h1 { font-size: 1.4rem; }
table { width: 100%; border-collapse: collapse; background: #fff; margin-bottom: 1.5rem; }
th, td { padding: 0.5rem 0.7rem; border-bottom: 1px solid #e2e2e2; text-align: left; font-size: 0.9rem; }
th { background: #eceef1; }
form.inline { display: inline; }
.card { background: #fff; padding: 1.25rem; border-radius: 6px; margin-bottom: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
label { display: block; margin-bottom: 0.75rem; font-size: 0.9rem; }
input, select { width: 100%; padding: 0.4rem; margin-top: 0.2rem; border: 1px solid #ccc; border-radius: 4px; }
button, .btn { background: #2563eb; color: #fff; border: none; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; font-size: 0.9rem; }
button.danger, .btn.danger { background: #dc2626; }
.error { color: #dc2626; font-weight: 600; }
.badge { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 10px; font-size: 0.75rem; }
.badge.active { background: #dcfce7; color: #166534; }
.badge.inactive { background: #fee2e2; color: #991b1b; }
.login-page { display: flex; align-items: center; justify-content: center; height: 100vh; }
.login-form { background: #fff; padding: 2rem; border-radius: 8px; width: 320px; }
