* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f7fb;
    color: #1f2937;
}

.container {
    width: min(920px, 92%);
    margin: 24px auto;
}

h1 {
    margin-bottom: 14px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
}

label {
    display: block;
    margin-bottom: 10px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-top: 4px;
}

button,
.btn {
    display: inline-block;
    border: 0;
    background: #2563eb;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}

.btn.secondary {
    background: #374151;
}

.btn.danger {
    background: #dc2626;
}

.question {
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
    margin-top: 10px;
}

.radios {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    border: 1px solid #e5e7eb;
    padding: 8px;
    font-size: 14px;
}

th {
    background: #f3f4f6;
    text-align: left;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.metric {
    background: #fff;
    padding: 14px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .05);
}