* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; color: #18212f; background: #f3f6f9; }
a { color: #155bb5; text-decoration: none; }
header { background: #142033; color: white; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; }
nav a { color: white; margin-right: 16px; font-weight: 700; }
main { max-width: 1180px; margin: 24px auto; padding: 0 18px; }
.login { max-width: 420px; margin-top: 12vh; background: white; padding: 28px; border-radius: 8px; box-shadow: 0 12px 30px #0001; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card, table, form.panel { background: white; border: 1px solid #dde5ee; border-radius: 8px; box-shadow: 0 2px 8px #00000008; }
.card { padding: 18px; }
.value { font-size: 28px; font-weight: 800; margin-top: 6px; }
table { width: 100%; border-collapse: collapse; overflow: hidden; }
th, td { padding: 11px 12px; border-bottom: 1px solid #e5ebf2; text-align: left; vertical-align: top; }
th { background: #eef3f8; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
input, select, button, textarea { font: inherit; padding: 10px 11px; border: 1px solid #c9d3df; border-radius: 6px; }
button, .button { display: inline-block; background: #1d6fd6; color: white; border: 0; cursor: pointer; font-weight: 700; padding: 10px 13px; border-radius: 6px; }
.button.secondary, button.secondary { background: #657386; }
.button.danger, button.danger { background: #c83232; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.panel { padding: 16px; margin-bottom: 18px; }
.row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 12px; }
label { display: grid; gap: 5px; font-weight: 700; }
.muted { color: #607086; }
.ok { background: #e9f8ef; color: #176c35; padding: 10px 12px; border-radius: 6px; }
.error { background: #fdecec; color: #992424; padding: 10px 12px; border-radius: 6px; }

