@font-face {
  font-family: Montserrat;
  src: url("/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: Montserrat;
  src: url("/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
}
:root {
  --navy: #021942;
  --pink: #E2005A;
  --mid: #294384;
  --grey: #F2F2F2;
  --body: #333333;
  --muted: #4A4F57;
  --line: #D5D8DE;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Montserrat, "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--grey);
  font-size: 15px;
  line-height: 1.45;
}
a { color: var(--mid); }
header.top {
  background: var(--navy);
  color: white;
  padding: 14px 24px 0;
}
header.top .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header.top img { height: 32px; width: auto; }
header.top .who { color: #D5D8DE; font-size: 13px; }
header.top .who button {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,.4);
  margin-left: 8px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 12px 0 10px;
}
nav a { color: white; text-decoration: none; font-size: 14px; }
nav a.on { color: var(--pink); font-weight: 700; }
main { max-width: 1100px; margin: 0 auto; padding: 24px 20px 64px; }
h1 { color: var(--navy); font-size: 28px; margin: 0 0 8px; }
h2 { color: var(--navy); font-size: 18px; margin: 28px 0 8px; }
.lead { color: var(--muted); margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.card, .panel, form.stack, table {
  background: white;
  border: 1px solid var(--line);
}
.card { padding: 16px 18px; }
.card .label { color: var(--muted); font-size: 13px; }
.card .value { color: var(--navy); font-size: 26px; font-weight: 700; }
.panel { padding: 16px 18px; margin: 12px 0; }
.notice {
  background: white;
  border-left: 4px solid var(--pink);
  padding: 10px 14px;
  margin-bottom: 16px;
}
.warn {
  background: #fff6f8;
  border: 1px solid var(--pink);
  padding: 10px 12px;
  margin: 8px 0;
}
button, .button {
  background: var(--pink);
  color: white;
  border: 0;
  padding: 8px 14px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button.secondary, a.secondary {
  background: var(--mid);
}
button.quiet {
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
th { background: var(--grey); color: var(--navy); }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
input, select, textarea {
  width: 100%;
  max-width: 420px;
  padding: 8px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 14px;
}
textarea { min-height: 80px; }
.inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.inline input, .inline select { width: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-bottom: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
pre.report {
  background: white;
  border: 1px solid var(--line);
  padding: 16px;
  overflow: auto;
  white-space: pre-wrap;
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  header.top { padding: 12px 12px 0; }
}
