:root {
  color-scheme: light;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: #192739;
  background: #f4f7fa;
  --ink: #192739;
  --muted: #4c6075;
  --navy: #152c44;
  --accent: #174f76;
  --line: #d9e3eb;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: var(--navy); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.brand { font-size: 1.15rem; font-weight: 750; letter-spacing: -.03em; }
.brand span { color: #b7d8f3; }
main { padding-block: 35px 52px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.18; }
h1 { font-size: clamp(2rem, 5vw, 2.65rem); letter-spacing: -.04em; }
h2 { font-size: 1.55rem; letter-spacing: -.025em; }
h3 { font-size: 1.06rem; }
p { line-height: 1.5; }
.muted, .section-heading p, .card-heading p, .empty, .pending p { color: var(--muted); }
.intro p, .section-heading p, .card-heading p, .pending p { margin-top: 5px; }
.switcher { display: flex; gap: 24px; margin-top: 20px; border-bottom: 1px solid var(--line); }
.switcher a { padding: 12px 6px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; font-weight: 650; }
.switcher a[aria-current] { color: var(--accent); border-color: var(--accent); }
.section-heading, .card-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.section-heading { margin-block: 24px 16px; }
.workspace { display: grid; grid-template-columns: minmax(0, 2fr) minmax(275px, 1fr); align-items: start; gap: 18px; }
.form, .rows { display: grid; gap: 14px; min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 19px; }
.card-heading { margin-bottom: 15px; }
.fields { display: grid; gap: 12px; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.award-fields { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
label { display: grid; gap: 6px; min-width: 0; font-size: .875rem; font-weight: 650; }
input { width: 100%; min-width: 0; min-height: 41px; padding: 7px 9px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #bacbda; border-radius: 6px; }
button { font: inherit; cursor: pointer; }
.secondary { background: #fff; color: var(--accent); border: 1px solid #adc4d6; border-radius: 6px; padding: 8px 12px; font-size: .875rem; font-weight: 670; }
.secondary:hover { background: #eef5fb; }
.primary { background: var(--accent); color: white; border: 1px solid var(--accent); border-radius: 6px; padding: 8px 12px; font-size: .875rem; font-weight: 670; }
.primary:hover { background: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.coverage { color: var(--muted); font-size: .875rem; margin-top: 4px; }
.small { padding: 6px 10px; }
.remove { justify-self: end; color: #79403b; border: 0; background: transparent; padding: 6px 0; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #337ba8; outline-offset: 3px; }
.criteria { display: grid; gap: 8px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.criteria div, .totals div { display: flex; justify-content: space-between; gap: 12px; }
.criteria dt, .totals dt { color: var(--muted); }
.criteria dd, .totals dd { text-align: right; font-weight: 650; }
.criteria, .empty, .card-heading p { font-size: .875rem; }
.row { display: grid; gap: 3px; border-top: 1px solid var(--line); padding-top: 11px; }
.summary { position: sticky; top: 18px; }
.totals { display: grid; gap: 13px; font-size: .9rem; }
.totals dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.totals .balance { display: grid; gap: 4px; background: #e9f2f9; padding: 12px; border-radius: 6px; }
.balance dt { color: var(--accent); font-weight: 650; }
.balance dd { text-align: left; font-size: 1.7rem; color: var(--navy); }
.note { color: var(--muted); border-top: 1px solid var(--line); margin-top: 15px; padding-top: 12px; font-size: .875rem; }
.pending { max-width: 700px; }
.report { margin-top: 18px; }
.report > summary { cursor: pointer; font-weight: 700; }
.report-body { display: grid; gap: 16px; margin-top: 16px; }
.report-body h4 { margin: 0 0 8px; overflow-wrap: anywhere; }
.report-body p, .report-body li { font-size: .875rem; }
.report-body ul { margin: 6px 0 0; padding-inline-start: 20px; }
.report-body a { color: var(--accent); }
.table-scroll { overflow-x: auto; }
.report-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.report-table caption { text-align: left; font-weight: 650; padding: 8px 0 5px; }
.report-table td, .report-table th { border-bottom: 1px solid var(--line); text-align: left; padding: 6px 8px; vertical-align: top; }
.report-table .number { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) {
  .award-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 730px) {
  .shell { width: calc(100% - 32px); }
  .workspace { grid-template-columns: 1fr; }
  .summary { position: static; }
  main { padding-top: 25px; }
}
@media (max-width: 400px) {
  .section-heading, .card-heading { align-items: start; flex-wrap: wrap; }
  .fields { grid-template-columns: 1fr; }
}
