:root { --color-primary: #1e3a5f; --color-secondary: #0f172a; --color-accent: #0f766e; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", sans-serif; background: #f8fafc; color: #0f172a; }
a { color: inherit; }
header, .top { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 24px; background: white; border-bottom: 1px solid #e2e8f0; }
nav { display: flex; flex-wrap: wrap; gap: 16px; }
main { max-width: 980px; margin: 0 auto; padding: 28px 16px; }
.staff { display: grid; grid-template-columns: 200px 1fr; min-height: 100vh; }
.side { background: var(--color-secondary); color: white; padding: 20px 14px; }
.side a { display: block; color: white; text-decoration: none; padding: 8px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; padding: 8px 12px; font-weight: 650; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--color-primary); color: white; }
.btn-accent { background: var(--color-accent); color: white; }
.btn-quiet { background: white; color: #0f172a; border: 1px solid #cbd5e1; }
.card { background: white; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px; margin: 12px 0; }
.field { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; font-size: 14px; }
.field input, .field select, .field textarea { border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px 10px; }
.error { color: #b91c1c; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.login { min-height: 100vh; display: grid; place-items: center; }
.swatch { color: white; border-radius: 6px; padding: 8px 10px; }
