:root { color-scheme: light; font-family: Inter, Arial, sans-serif; color: #172033; background: #f4f6f8; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #155eef; text-decoration: none; }
a:hover { text-decoration: underline; }
header { background: #101828; color: white; padding: 0 24px; display: flex; align-items: center; min-height: 58px; gap: 24px; }
header a { color: #e4e7ec; }
header .brand { color: white; font-weight: 700; margin-right: 12px; }
nav { display: flex; gap: 18px; flex: 1; flex-wrap: wrap; }
main { max-width: 1500px; margin: 0 auto; padding: 28px 24px 60px; }
h1 { font-size: 28px; margin: 0 0 22px; }
h2 { font-size: 20px; margin-top: 28px; }
.card { background: white; border: 1px solid #e4e7ec; border-radius: 10px; padding: 20px; margin-bottom: 18px; box-shadow: 0 1px 2px #1018280d; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.metric { font-size: 30px; font-weight: 700; margin-top: 6px; }
.muted { color: #667085; }
.error { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; padding: 12px; border-radius: 8px; }
.success { color: #067647; background: #ecfdf3; padding: 10px; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; background: white; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eaecf0; vertical-align: top; }
th { background: #f9fafb; color: #475467; position: sticky; top: 0; }
.table-wrap { overflow: auto; border: 1px solid #e4e7ec; border-radius: 10px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type=text], input[type=password], input[type=number], input[type=date], select, textarea { width: 100%; max-width: 560px; padding: 9px 10px; border: 1px solid #d0d5dd; border-radius: 7px; background: white; }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 16px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.check input { margin: 0; }
button, .button { display: inline-block; border: 0; border-radius: 7px; padding: 9px 14px; background: #155eef; color: white; cursor: pointer; font-weight: 600; }
button.secondary, .button.secondary { background: #475467; }
button.danger { background: #b42318; }
.toolbar { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar .field { margin: 0; }
.status-new { color: #b54708; }
.status-approved { color: #067647; font-weight: 700; }
.status-error { color: #b42318; }
.status-applied, .status-success { color: #175cd3; }
.login { max-width: 420px; margin: 80px auto; }
details { margin: 18px 0; }
summary { cursor: pointer; font-weight: 700; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
@media (max-width: 800px) { header { align-items: flex-start; padding: 14px; } nav { gap: 10px; } main { padding: 20px 12px; } }

