* { box-sizing: border-box; }
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background: #f7f7f7; color: #222; }
header { background: #1f2937; color: #fff; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
header h1 { margin: 0; font-size: 20px; }
nav a { color: #fff; margin-right: 12px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
main { padding: 24px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; }
.card-title { font-weight: bold; margin-bottom: 8px; }
.card-body div { margin-bottom: 6px; }
.btn { display: inline-block; padding: 8px 12px; background: #2563eb; color: #fff; border-radius: 6px; text-decoration: none; border: none; cursor: pointer; }
.btn:hover { background: #1d4ed8; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid #e5e7eb; text-align: left; }
.table th { background: #f3f4f6; }
.inline-form { display: flex; gap: 8px; align-items: center; }
.stack-form { display: grid; gap: 8px; max-width: 480px; }
input[type="text"], input[type="number"], select { padding: 8px; border: 1px solid #cbd5e1; border-radius: 6px; width: 100%; }
.alert { padding: 12px; border-radius: 6px; margin-bottom: 12px; }
.alert.success { background: #dcfce7; color: #166534; border: 1px solid #22c55e; }
.alert.error { background: #fee2e2; color: #7f1d1d; border: 1px solid #ef4444; }
.alert.info { background: #e0f2fe; color: #0c4a6e; border: 1px solid #38bdf8; }
.panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px; margin: 12px 0; }
footer { padding: 16px 24px; text-align: center; color: #6b7280; }