:root { color-scheme: light; font-family: Inter, system-ui, -apple-system, sans-serif; color: #17202a; background: #f4f6f8; }
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #173f5f; color: white; padding: 0.9rem 1.5rem; }
header .wrap { display: flex; justify-content: space-between; align-items: center; }
header a { color: white; text-decoration: none; }
.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
main.wrap { padding: 2rem 0 4rem; }
.card { background: white; border: 1px solid #dfe4e8; border-radius: 8px; padding: 1.25rem; margin-bottom: 1rem; box-shadow: 0 1px 2px rgb(0 0 0 / 5%); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.metric { font-size: 1.8rem; font-weight: 700; display: block; }
label { font-weight: 650; display: block; margin: 1rem 0 0.35rem; }
input, textarea, select { width: 100%; padding: 0.7rem; border: 1px solid #aeb8c1; border-radius: 4px; font: inherit; }
textarea { min-height: 8rem; resize: vertical; }
button, .button { display: inline-block; border: 0; border-radius: 4px; background: #173f5f; color: white; padding: 0.7rem 1rem; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; margin-top: 1rem; }
button.secondary, .button.secondary { background: #536878; }
button.danger, .button.danger { background: #8b1e2d; }
.danger-link { color: #8b1e2d; font-weight: 650; }
.inline { display: flex; gap: 0.6rem; align-items: end; flex-wrap: wrap; }
.inline > * { flex: 1; }
.inline button, .inline .button { flex: 0 0 auto; }
.notice { border-left: 5px solid #26734d; background: #e9f6ef; padding: 0.9rem; margin-bottom: 1rem; }
.error { border-left-color: #a3293f; background: #faeaed; }
.muted { color: #5e6d78; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.65rem; border-bottom: 1px solid #e4e8eb; text-align: left; }
code { background: #eef1f3; padding: 0.15rem 0.3rem; border-radius: 3px; }
@media (max-width: 600px) { .wrap { width: min(100% - 1rem, 1080px); } main.wrap { padding-top: 1rem; } .card { padding: 1rem; } }
