* { box-sizing: border-box; }
body {
    margin: 0;
    background: #f6f7fb;
    color: #1f2937;
    font-family: Arial, sans-serif;
}
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: #111827;
    color: white;
}
.topbar a { color: white; margin-left: 16px; }
.brand { font-weight: 700; margin-left: 0 !important; }
.container { max-width: 1000px; margin: 30px auto; padding: 0 16px; }
.page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
h1 { margin: 0 0 8px; }
.muted { color: #6b7280; font-size: 14px; }
.card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.card.small { max-width: 420px; margin: 80px auto; }
.card.small form { margin-top: 14px; }
.card.small label { margin-top: 10px; }
label { display: block; margin: 16px 0 6px; font-weight: 600; }
.input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 15px;
}
.code { font-family: Consolas, monospace; }
.checkbox { margin-right: 8px; }
.check { font-weight: 400; }
.help { margin: 6px 0 0; color: #6b7280; font-size: 13px; }
.button, button {
    display: inline-block;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
}
.card.small .button { margin-top: 12px; width: 100%; }
.button.secondary { background: #4b5563; }
.danger { background: #dc2626; }
.actions { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.message {
    border-radius: 8px;
    background: #dcfce7;
    color: #166534;
    padding: 12px 14px;
    margin-bottom: 16px;
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; border-bottom: 1px solid #e5e7eb; padding: 12px; vertical-align: top; }
code { background: #f3f4f6; border-radius: 5px; padding: 2px 5px; }
ul.errorlist { color: #dc2626; margin: 6px 0; padding-left: 20px; }
