/* Rural Health Transformation hub figures and the print brief (/assets/state-rhtp.js). Tokens come from styles.css. */
.rh-host:empty { display: none; }
.rh-roll .rh-wrap { margin-top: 10px; }
.rh-table { font-variant-numeric: tabular-nums; }
.rh-table .rh-n { text-align: right; white-space: nowrap; }
.rh-table th[scope="col"] { vertical-align: bottom; line-height: 1.25; }
.rh-table .rh-hub { white-space: nowrap; }
.rh-table tfoot th, .rh-table tfoot td { border-top: 2px solid var(--line); font-weight: 600; background: var(--sand-2); }
.rh-actions { margin: 10px 0 0; }
.rh-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 14px; }
.rh-print { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 10px; border: 1px solid var(--teal); background: var(--teal); color: #fff; cursor: pointer; }
.rh-print:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.rh-brief { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 32px; max-width: 8.5in; margin: 0 auto 24px; color: var(--ink); }
.rh-brief h2 { font-size: 22px; line-height: 1.2; margin: 0 0 6px; color: var(--navy); }
.rh-brief h3 { font-size: 15px; margin: 18px 0 6px; color: var(--navy); }
.rh-brief h4 { font-size: 13px; margin: 0 0 4px; color: var(--navy); font-family: var(--sans); }
.rh-brief header p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.rh-tops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.rh-top .rh-table { width: 100%; font-size: 12.5px; }
.rh-top .rh-table th, .rh-top .rh-table td { padding: 4px 6px; }
.rh-brief .rh-wrap { margin: 0; overflow: visible; }
.rh-compact { font-size: 12.5px; }
.rh-compact th, .rh-compact td { padding: 4px 8px; }
.rh-source { margin-top: 14px; padding-top: 8px; border-top: 1px solid var(--line-soft); font-size: 11.5px; line-height: 1.4; color: var(--ink-soft); }
.rh-source p { margin: 0; }
@media (max-width: 760px) {
  .rh-tops { grid-template-columns: 1fr; }
  .rh-brief { padding: 18px 16px; }
  .rh-bar { flex-wrap: wrap; }
}
@page { size: letter portrait; margin: 0.5in; }
@media print {
  body.sh-brief-on { background: #fff; }
  body.sh-brief-on .skip-link, body.sh-brief-on .site-header, body.sh-brief-on .site-footer, body.sh-brief-on #sh-head, body.sh-brief-on #sh-subhost, body.sh-brief-on .rh-bar, body.sh-brief-on .page-disclaimers, body.sh-brief-on .sp-info { display: none !important; }
  body.sh-brief-on main { padding: 0; margin: 0; }
  body.sh-brief-on .wrap { max-width: none; width: auto; padding: 0; margin: 0; }
  body.sh-brief-on .sh-viewbody { padding: 0; }
  body.sh-brief-on .rh-brief { border: 0; box-shadow: none; padding: 0; margin: 0; max-width: none; border-radius: 0; font-size: 9pt; }
  body.sh-brief-on .rh-brief h2 { font-size: 13pt; }
  body.sh-brief-on .rh-brief h3 { font-size: 10pt; margin: 8pt 0 3pt; }
  body.sh-brief-on .rh-brief h4 { font-size: 8.5pt; }
  body.sh-brief-on .rh-brief header p { font-size: 8.5pt; }
  body.sh-brief-on .rh-tops { gap: 10pt; margin-top: 8pt; }
  body.sh-brief-on .rh-top .rh-table, body.sh-brief-on .rh-compact { font-size: 7.5pt; }
  body.sh-brief-on .rh-top .rh-table th, body.sh-brief-on .rh-top .rh-table td { padding: 1.5pt 3pt; }
  body.sh-brief-on .rh-compact th, body.sh-brief-on .rh-compact td { padding: 1.5pt 4pt; line-height: 1.2; }
  body.sh-brief-on .rh-source { font-size: 7pt; margin-top: 8pt; }
  body.sh-brief-on .rh-table tr, body.sh-brief-on .rh-top { break-inside: avoid; }
  body.sh-brief-on .rh-table thead { display: table-header-group; }
  body.sh-brief-on * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.rh-table th.rh-n { white-space: normal; }
.rh-compact { table-layout: fixed; width: 100%; }
.rh-compact th:nth-child(1), .rh-compact td:nth-child(1) { width: 5%; }
.rh-compact th:nth-child(2) { width: 31%; }
.rh-compact th:nth-child(3) { width: 9%; }
.rh-compact th:nth-child(4) { width: 9%; }
.rh-compact th:nth-child(n+5) { width: 11.5%; }
.rh-compact .rh-anchor { overflow-wrap: anywhere; }
.rh-compact tfoot th { white-space: nowrap; }
.rh-brief .sh-table th[scope="col"] { text-transform: none; letter-spacing: 0; font-size: inherit; font-weight: 600; }
.rh-brief .sh-table, .rh-brief .rh-top { margin: 0; }
.rh-brief section { margin: 0; }
@media print {
  body.sh-brief-on .rh-brief .sh-table th[scope="col"] { font-size: 6.5pt; line-height: 1.15; padding: 2pt 3pt; }
  body.sh-brief-on .rh-brief h3 { margin: 6pt 0 2pt; }
  body.sh-brief-on .rh-compact th, body.sh-brief-on .rh-compact td { padding: 1pt 3pt; }
  body.sh-brief-on .rh-brief header { margin: 0; }
}
.rh-brief section { padding: 0; }
.rh-brief .sh-table, .rh-brief .sh-table td, .rh-brief .sh-table th { line-height: 1.25; }
.rh-brief tfoot { display: table-row-group; }
.rh-brief h4 { line-height: 1.2; }
.rh-source p { max-width: none; }
@media print {
  body.sh-brief-on .rh-compact th, body.sh-brief-on .rh-compact td { padding: 0.6pt 3pt; }
  body.sh-brief-on .rh-top .rh-table th, body.sh-brief-on .rh-top .rh-table td { padding: 1pt 3pt; }
  body.sh-brief-on .rh-compact, body.sh-brief-on .rh-top .rh-table { font-size: 7.2pt; }
  body.sh-brief-on .rh-brief header p { max-width: none; }
}
