* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #f3f6fb; color: #1f2937; }
a { color: #155eef; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 24px; }
.nav { background: #0f172a; color: #fff; }
.nav .container { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.nav a { color: #dbeafe; font-weight: 600; }
.brand { font-size: 18px; font-weight: 800; color: #fff; margin-right: auto; }
.card { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 8px 30px rgba(15,23,42,.08); margin-bottom: 18px; }
.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: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #334155; }
input, select, textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 10px; padding: 10px 12px; font-size: 14px; background: #fff; }
textarea { min-height: 90px; resize: vertical; }
button, .btn { display: inline-block; border: 0; border-radius: 10px; padding: 10px 14px; font-weight: 700; cursor: pointer; background: #155eef; color: #fff; }
.btn-secondary { background: #475569; color: #fff; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-light { background: #e2e8f0; color: #0f172a; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { padding: 12px; border-bottom: 1px solid #e2e8f0; text-align: left; font-size: 14px; vertical-align: top; }
th { background: #e2e8f0; color: #0f172a; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.flash { padding: 12px 14px; border-radius: 10px; background: #dcfce7; color: #166534; margin-bottom: 18px; font-weight: 700; }
.small { font-size: 12px; color: #64748b; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { background: #fff; border-radius: 14px; padding: 18px; box-shadow: 0 8px 30px rgba(15,23,42,.08); }
.stat strong { display: block; font-size: 28px; margin-bottom: 6px; }
@media (max-width: 800px) { .grid, .grid-3, .stats { grid-template-columns: 1fr; } .nav .container { flex-wrap: wrap; } }
