* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; margin: 0; background: #f6f7f9; color: #1a1a1a; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: #1a1a2e; color: #fff; }
.topbar a { color: #fff; }
main { max-width: 960px; margin: 0 auto; padding: 24px; }
.auth-page { display: flex; align-items: center; justify-content: center; height: 100vh; }
.auth-box { background: #fff; padding: 32px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.1); width: 320px; }
.auth-box form { display: flex; flex-direction: column; gap: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { display: block; background: #fff; padding: 16px; border-radius: 8px; text-decoration: none; color: inherit; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.list { list-style: none; padding: 0; }
.list li { padding: 8px 0; border-bottom: 1px solid #e0e0e0; }
.content-block { background: #fff; padding: 16px; border-radius: 8px; margin-bottom: 16px; }
table { width: 100%; border-collapse: collapse; margin-bottom: 24px; background: #fff; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid #e0e0e0; }
form label { display: block; margin-bottom: 8px; }
input, textarea, select { padding: 6px; width: 100%; max-width: 400px; }
button { padding: 8px 16px; cursor: pointer; }
.error { color: #c0392b; }
.user-block { margin-bottom: 16px; padding: 12px; background: #fff; border-radius: 8px; }
.inline-check { display: inline-block; margin-right: 12px; width: auto; }
.inline-check input { width: auto; }
