* { box-sizing: border-box; }
body {
    font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    margin: 0;
    background: #f5f6f8;
    color: #1a1d21;
}
.topbar {
    background: #1a1d21;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 24px;
}
.topbar .brand { color: #fff; font-weight: 600; text-decoration: none; }
.topbar nav a { color: #cfd3d8; text-decoration: none; margin-right: 16px; }
.topbar nav a:hover { color: #fff; }
.content { max-width: 1000px; margin: 24px auto; padding: 0 16px; }
h1 { font-size: 22px; margin-bottom: 16px; }
h2 { font-size: 18px; margin-top: 32px; }
table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid #eee; font-size: 14px; }
th { background: #fafafa; font-weight: 600; }
tr:hover td { background: #fafbfc; }
form.card, .card {
    background: #fff;
    padding: 16px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    max-width: 480px;
}
label { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; color: #444; }
input[type=text], input[type=email], input[type=number], input[type=datetime-local], select, textarea {
    width: 100%; padding: 8px; margin-top: 4px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px;
}
button, .btn {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 16px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}
button.secondary, .btn.secondary { background: #6b7280; }
button.danger, .btn.danger { background: #dc2626; }
.error { color: #dc2626; margin-top: 8px; font-size: 13px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.badge.active { background: #dcfce7; color: #166534; }
.badge.suspended { background: #fef3c7; color: #92400e; }
.badge.revoked { background: #fee2e2; color: #991b1b; }
.license-key { font-family: monospace; font-size: 13px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.actions form { display: inline; margin: 0; }
.actions button { margin-top: 0; padding: 4px 10px; font-size: 12px; }
