* { box-sizing: border-box; }
body {
    margin: 0; padding: 36px 18px; background: #f3f6fb;
    color: #172033; font-family: Arial, Helvetica, sans-serif;
}
.container { max-width: 1120px; margin: 0 auto; }
header { margin-bottom: 26px; }
.eyebrow { color: #2563eb; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; }
h1 { margin: 8px 0; font-size: 32px; }
h2 { margin: 0 0 18px; font-size: 20px; }
.subtitle, .muted { color: #64748b; }
.panel {
    background: white; border: 1px solid #e5eaf2; border-radius: 14px;
    padding: 24px; margin-bottom: 22px; box-shadow: 0 5px 20px rgba(15, 23, 42, .04);
}
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; color: #475569; }
input {
    width: 100%; padding: 12px 13px; border: 1px solid #cbd5e1;
    border-radius: 8px; font-size: 14px; outline: none;
}
input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px #dbeafe; }
button {
    border: 0; border-radius: 8px; padding: 11px 15px; cursor: pointer;
    background: #2563eb; color: white; font-weight: 600;
}
button:hover { filter: brightness(.94); }
.secondary { background: #eaf0f8; color: #334155; }
.form-actions { display: flex; gap: 10px; align-items: end; }
.message { min-height: 18px; margin: 12px 0 0; font-size: 13px; }
.message.error { color: #dc2626; }
.message.success { color: #15803d; }
.list-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.list-heading h2 { margin-bottom: 5px; }
.muted { margin-top: 0; font-size: 13px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; white-space: nowrap; }
th, td { padding: 13px 12px; text-align: left; border-bottom: 1px solid #e8edf4; font-size: 13px; }
th { color: #64748b; background: #f8fafc; font-size: 12px; text-transform: uppercase; }
.actions { display: flex; gap: 7px; }
.actions button { padding: 7px 10px; font-size: 12px; }
.edit { background: #0f9f6e; }
.delete { background: #dc4545; }
.empty { text-align: center; color: #64748b; padding: 26px; }
footer { text-align: center; color: #94a3b8; font-size: 12px; padding: 8px; }
[hidden] { display: none !important; }
@media (max-width: 650px) {
    body { padding: 20px 10px; }
    form { grid-template-columns: 1fr; }
    .panel { padding: 17px; }
    h1 { font-size: 26px; }
}
