:root { --bg:#f8fafc; --card:#fff; --muted:#6b7280; --primary:#0ea5e9; }
* { box-sizing: border-box; }
body { margin:0; font:16px system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background:var(--bg); color:#0f172a; }
.topbar { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; background:#fff; box-shadow:0 1px 4px rgba(0,0,0,.06); position:sticky; top:0; z-index:10; }
.container { max-width:980px; margin:24px auto; padding:0 16px; }
.card { background:var(--card); border-radius:12px; padding:16px; box-shadow:0 1px 3px rgba(0,0,0,.06); margin-bottom:16px; }
h1 { font-size:22px; margin:0; } h2 { margin:0 0 8px; } h3{ margin:8px 0; }
label { display:block; font-size:13px; color:var(--muted); margin-bottom:4px; }
input { width:100%; padding:10px 12px; border:1px solid #e5e7eb; border-radius:8px; }
button { padding:10px 14px; border:0; border-radius:10px; background:#e5e7eb; cursor:pointer; }
button.primary { background:var(--primary); color:#fff; }
button.ghost { background:transparent; color:#0f172a; }
button.small { padding:6px 10px; font-size:12px; }
.row { display:flex; align-items:center; } .between{ justify-content:space-between; } .gap{ gap:8px; }
.grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.muted { color:var(--muted); font-size:14px; }
.chk { display:flex; gap:6px; align-items:center; user-select:none; }
table { width:100%; border-collapse:collapse; }
th, td { padding:10px; border-bottom:1px solid #eee; text-align:left; }
td.actions button { margin-right:6px; }
button.danger{ background:#ef4444; color:#fff; }
@media (max-width:800px){ .grid, .grid3{ grid-template-columns:1fr; } }
