:root { --gap: 14px; --radius: 14px; --shadow: 0 8px 20px rgba(0,0,0,.08); }
* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; margin:0; background:#f6f7fb; color:#222; }
.container { max-width: 1100px; margin: 0 auto; padding: 20px; }
header h1 { margin: 0 0 6px; }
nav { display:flex; gap:12px; }
nav .spacer { flex:1; }
.card { background:#fff; border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); margin-bottom:14px; }
.card.small { max-width: 420px; margin: 0 auto; }
.grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--gap); }
.row { display:flex; gap:10px; }
.list { list-style:none; padding-left:0; }
.list li { display:flex; gap:12px; align-items:center; padding:8px 0; border-bottom:1px solid #eee; }
label { font-weight:600; font-size:14px; }
input, select, textarea { padding:10px; border:1px solid #dcdde4; border-radius:10px; background:#fff; width:100%; }
button, .btn, .danger { display:inline-block; padding:10px 14px; border:0; border-radius:12px; color:#fff; text-decoration:none; box-shadow:var(--shadow); }
button { background:#2d6cdf; }
.btn { background:#3a7; }
.danger { background:#d33; }
.table { width:100%; border-collapse: collapse; background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.table th, .table td { padding:10px; border-bottom:1px solid #eee; text-align:left; vertical-align:top; }
.table thead { background:#f0f3ff; }
.checkboxes { display:grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap:8px; }
.error { color:#b00; font-weight:600; }
.muted { color:#666; }
.footer { color:#777; }
@media (max-width: 820px){ .grid { grid-template-columns: 1fr; } }
