:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #08111f; color: #e8f0fa; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #153052 0, #08111f 48%); }
main { width: min(1100px, calc(100% - 32px)); margin: 8vh auto; }
.narrow { width: min(480px, calc(100% - 32px)); }
.card { background: rgba(13, 27, 46, .96); border: 1px solid #28425f; border-radius: 18px; padding: 28px; box-shadow: 0 20px 60px #0006; }
h1, h2 { margin-top: 0; }
p { color: #b6c7da; line-height: 1.6; }
label { display: grid; gap: 8px; margin: 16px 0; color: #cbd8e6; }
input, select, button { width: 100%; border-radius: 10px; border: 1px solid #3b5878; padding: 12px 14px; font: inherit; }
input, select { background: #091727; color: #fff; }
button, .button { display: inline-block; background: #3dd6b3; color: #04251d; border: 0; font-weight: 800; cursor: pointer; text-align: center; text-decoration: none; }
button.secondary, .button.secondary { background: #203a57; color: #e8f0fa; }
.actions { display: flex; gap: 12px; align-items: center; }
.actions > * { width: auto; }
.error { color: #ff9a9a; min-height: 24px; }
.success { color: #69e8bd; }
.eyebrow { color: #56e1c0; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #29415c; vertical-align: top; }
th { color: #8da5bd; font-size: 12px; text-transform: uppercase; }
.badge { display: inline-block; border: 1px solid #3b5878; border-radius: 999px; padding: 4px 9px; }
.top { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 22px; }
.audit { max-height: 520px; overflow: auto; }
.audit article { border-bottom: 1px solid #29415c; padding: 12px 0; }
@media (max-width: 640px) { .actions, .top { align-items: stretch; flex-direction: column; } .actions > * { width: 100%; } }
