body {
    margin: 0;
    background: #f5f7fb;
    color: #1e293b;
    font-family: "Segoe UI", system-ui, sans-serif;
}

a { color: #003679; text-decoration: none; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { background: #0f172a; color: #fff; padding: 24px 18px; }
.admin-sidebar h2 { margin: 0 0 24px; color: #fff; }
.admin-sidebar a { display: block; color: #dbeafe; padding: 10px 12px; border-radius: 8px; margin-bottom: 6px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: #1d4ed8; color: #fff; }
.admin-main { padding: 28px; }
.admin-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px; box-shadow: 0 8px 20px rgba(15,23,42,.04); margin-bottom: 20px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; color: #0f172a; }
input, select, textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 12px; font: inherit; box-sizing: border-box; }
textarea { min-height: 120px; resize: vertical; }
.rich-area { min-height: 260px; font-family: Consolas, monospace; }
.btn { border: 0; border-radius: 8px; background: #e03a11; color: #fff; padding: 10px 16px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; }
.btn.secondary { background: #003679; }
.btn.light { background: #e2e8f0; color: #0f172a; }
.btn.danger { background: #b91c1c; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
th, td { padding: 12px; border-bottom: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
th { background: #eff6ff; color: #003679; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.notice { padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; background: #dcfce7; color: #166534; font-weight: 700; }
.muted { color: #64748b; font-size: .9rem; }
@media (max-width: 900px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; }
    .grid, .grid-3 { grid-template-columns: 1fr; }
}
