* { box-sizing: border-box; }
body { margin: 0; background: #f1f5f9; color: #172033; font: 15px/1.5 system-ui, sans-serif; }
main { max-width: 1500px; margin: auto; padding: 24px; }
section { background: white; border: 1px solid #dce3eb; border-radius: 10px; padding: 20px; margin-bottom: 20px; }
h1,h2 { margin-top: 0; }
.metrics,.fields { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 16px; }
.metrics strong { display: block; font-size: 24px; }
label { display: grid; gap: 6px; align-content: start; font-weight: 600; }
input,textarea,button { font: inherit; padding: 10px; border: 1px solid #aebaca; border-radius: 6px; width: 100%; }
textarea { resize: vertical; }
button { width: auto; background: #2457b8; color: white; cursor: pointer; border: 0; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; white-space: nowrap; }
th,td { padding: 10px; border-bottom: 1px solid #e2e8f0; text-align: left; }
th { background: #f8fafc; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.error { color: #b91c1c; }
