.rb-hero { padding: 48px 0 30px; }
.rb-hero .lead { max-width: 850px; }
.rb-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 22px 0; font-size: 18px; }
.rb-disclosure { padding: 16px 20px; border-left: 3px solid var(--brass); background: #eeeee6; font-size: 17px; max-width: 950px; }
.rb-main { padding-bottom: 52px; }
.rb-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.rb-toolbar p { margin: 0; }
.rb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rb-status { min-height: 26px; margin-bottom: 18px; }
.rb-error { padding: 16px; border: 1px solid #a44432; color: #812f24; background: #fff1eb; font-size: 18px; }
.rb-stale { opacity: .45; }
.rb-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule); background: var(--white); }
.rb-kpi { min-width: 0; padding: 23px; }
.rb-kpi + .rb-kpi { border-left: 1px solid var(--rule); }
.rb-kpi h3 { font-family: var(--sans); font-size: 17px; font-weight: 500; margin-bottom: 13px; color: var(--muted); }
.rb-value { display: block; font-family: var(--display); font-size: clamp(32px, 3.1vw, 43px); letter-spacing: -.04em; line-height: 1.15; color: var(--teal-dark); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rb-kpi p { font-size: 16px; line-height: 1.45; color: var(--muted); margin: 12px 0 0; }
.rb-warning { color: #914526; }
.rb-section { padding-top: 42px; }
.rb-section h2 { margin-bottom: 12px; }
.rb-recon { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 15px; margin-top: 24px; }
.rb-recon > div { padding: 21px 24px; background: #eeeee6; border-top: 2px solid var(--brass); }
.rb-recon .rb-total { background: var(--ink); color: white; border-color: var(--teal); }
.rb-recon span { display: block; font-size: 16px; }
.rb-recon strong { display: block; font-size: 31px; font-weight: 500; margin-top: 7px; font-variant-numeric: tabular-nums; }
.rb-recon b { align-self: center; font-weight: 400; font-size: 26px; }
.rb-panel-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; }
.rb-panel { min-width: 0; padding: 28px; border: 1px solid var(--rule); background: var(--white); }
.rb-panel h2 { font-size: 30px; }
.rb-legend { display: flex; gap: 20px; flex-wrap: wrap; font-size: 16px; color: var(--muted); margin: 19px 0; }
.rb-legend span::before { content: ''; display: inline-block; width: 18px; height: 8px; margin-right: 7px; background: #c0aa85; }
.rb-legend span + span::before { background: var(--teal); }
.rb-bar-row { padding: 15px 0; border-top: 1px solid var(--rule); }
.rb-bar-row h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.rb-bar-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) 65px; align-items: center; gap: 10px; margin-top: 5px; font-size: 15px; }
.rb-track { background: #f0f1eb; height: 12px; }
.rb-bar { height: 100%; background: #c0aa85; min-width: 0; }
.rb-bar.verified { background: var(--teal); }
.rb-bar-line strong { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.rb-readout { margin: 0; padding-left: 23px; font-size: 18px; }
.rb-readout li { padding: 16px 0 16px 5px; border-top: 1px solid var(--rule); margin: 0; }
.rb-readout li strong { display: block; margin-bottom: 6px; }
.rb-readout p { font-size: 17px; color: var(--muted); margin: 6px 0 0; }
.rb-table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--rule); background: var(--white); }
.rb-table { border-collapse: collapse; width: 100%; font-size: 17px; min-width: 820px; font-variant-numeric: tabular-nums; }
.rb-table caption { text-align: left; padding: 17px 20px; color: var(--muted); font-size: 16px; }
.rb-table th, .rb-table td { padding: 15px 18px; text-align: right; border-bottom: 1px solid var(--rule); }
.rb-table thead th { background: #eeeee6; font-size: 15px; font-weight: 600; vertical-align: bottom; }
.rb-table th:first-child { text-align: left; }
.rb-table tbody th { min-width: 200px; font-weight: 600; }
.rb-table th small { display: block; font-weight: 400; font-size: 15px; }
.rb-table tfoot { background: #e5eae2; font-weight: 600; }
.rb-table .rb-gap { font-weight: 600; color: #914526; }
.rb-evidence-note { padding: 18px 22px; border-left: 3px solid var(--teal); background: #e8eee6; font-size: 17px; }
.rb-editor { border: 1px solid var(--rule); margin-top: 14px; background: var(--white); }
.rb-editor summary { padding: 20px 24px; cursor: pointer; font-size: 20px; font-weight: 600; }
.rb-editor summary span { font-weight: 400; font-size: 16px; color: var(--muted); margin-left: 12px; }
.rb-editor-content { padding: 0 24px 24px; }
.rb-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rb-fields label { display: flex; flex-direction: column; font-size: 17px; gap: 7px; }
.rb-fields .rb-wide { grid-column: 1 / -1; }
.rb-fields label small { font-size: 15px; }
.rb-editor .rb-identity { grid-template-columns: 1fr 1fr; margin-bottom: 20px; }
.rb-method { margin-top: 40px; border-block: 1px solid var(--rule); padding: 22px 0; }
.rb-method summary { font-size: 21px; cursor: pointer; font-weight: 600; }
.rb-method ul { font-size: 17px; margin: 20px 0 0; max-width: 930px; }
.rb-author { margin-top: 28px; font-size: 17px; }
@media(max-width: 1000px) {
  .rb-kpis { grid-template-columns: 1fr 1fr; }
  .rb-kpi:nth-child(3) { border-left: 0; }
  .rb-kpi:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .rb-panel-grid { grid-template-columns: 1fr; }
  .rb-fields { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 600px) {
  .rb-hero { padding-top: 33px; }
  .rb-kpi { padding: 19px 15px; }
  .rb-kpi h3 { font-size: 16px; }
  .rb-value { font-size: 32px; }
  .rb-recon { grid-template-columns: 1fr; gap: 6px; }
  .rb-recon > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
  .rb-recon strong { margin: 0; font-size: 25px; }
  .rb-recon b { justify-self: center; line-height: 1; }
  .rb-panel { padding: 22px 18px; }
  .rb-fields, .rb-editor .rb-identity { grid-template-columns: 1fr; }
  .rb-editor summary { padding: 18px; }
  .rb-editor summary span { display: block; margin: 6px 0 0; }
  .rb-editor-content { padding: 0 18px 20px; }
  .rb-bar-line { grid-template-columns: 50px minmax(0, 1fr) 58px; gap: 7px; }
  .rb-actions .button { flex-grow: 1; }
  .rb-links { gap: 9px 20px; }
}
@media print {
  .rb-toolbar, .rb-links, .rb-status, .rb-edit-section, .rb-method { display: none; }
  .rb-kpis { grid-template-columns: repeat(4, 1fr); }
  .rb-kpi:nth-child(n+3) { border-top: 0; }
  .rb-kpi:nth-child(3) { border-left: 1px solid var(--rule); }
  .rb-section, .rb-panel, .rb-recon { break-inside: avoid; }
  .rb-table { min-width: 0; font-size: 10pt; }
  .rb-table th, .rb-table td { padding: 8px; }
  .rb-table th:first-child { min-width: 0; }
  .rb-table-wrap { overflow: visible; }
  .rb-value { font-size: 24pt; }
}
