.practice-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.practice-header {
  border-bottom: 3px solid var(--super-teal-900);
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  display: flex;
}

.practice-title {
  color: var(--super-teal-900);
  flex: 1;
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  line-height: 1.2;
}

.practice-header__aside {
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-end;
  gap: .75rem;
  display: flex;
}

.practice-website-link {
  color: var(--super-white);
  overflow-wrap: anywhere;
  word-break: break-word;
  background: #e47225;
  border-radius: 8px;
  align-items: center;
  gap: .625rem;
  max-width: 100%;
  margin-top: .75rem;
  padding: .875rem 1.375rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, transform .1s;
  display: inline-flex;
  box-shadow: 0 1px 2px #00000014;
}

.practice-website-link .website-icon {
  width: 20px;
  height: 20px;
}

.practice-website-link:hover, .practice-website-link:focus {
  color: var(--super-white);
  background: #b85a1e;
  text-decoration: none;
}

.website-icon {
  color: currentColor;
  flex-shrink: 0;
}

.practice-cssa-note {
  margin: 0 0 1.5rem;
}

.practice-cssa-note__link {
  background: var(--super-gray-accent);
  color: var(--super-teal-900);
  border-radius: 999px;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background .15s;
  display: inline-flex;
}

.practice-cssa-note__link strong {
  font-weight: 700;
}

.practice-cssa-note__link:hover, .practice-cssa-note__link:focus {
  color: var(--super-teal-900);
  background: #dfe3e7;
  text-decoration: none;
}

.practice-summary {
  border-left: 4px solid var(--super-teal-900);
  background: none;
  margin-bottom: 1.75rem;
  padding: .75rem 1.5rem;
}

.practice-summary-heading {
  color: var(--super-teal-900);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 .625rem;
  font-size: 1rem;
  font-weight: 700;
}

.practice-summary-content {
  color: var(--super-gray-900);
  font-size: 1rem;
  line-height: 1.7;
}

.practice-summary-content p:last-child {
  margin-bottom: 0;
}

.practice-highlights {
  flex-wrap: wrap;
  justify-content: center;
  gap: .625rem;
  margin-bottom: 2rem;
  display: flex;
}

.highlight-box {
  text-align: center;
  max-width: 220px;
  color: var(--super-white);
  border-radius: 6px;
  flex-direction: column;
  flex: 140px;
  justify-content: center;
  gap: .25rem;
  min-height: 72px;
  padding: .875rem 1rem;
  display: flex;
}

.hl-label {
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .7rem;
  font-weight: 700;
}

.hl-value {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
}

.highlight-funded {
  background: var(--badge-funding-bg);
}

.highlight-cost-tier {
  background: var(--super-teal-700);
}

.highlight-cost-tier--free {
  background: var(--badge-cost-free-bg);
}

.highlight-cost-tier--low {
  background: var(--badge-cost-low-bg);
}

.highlight-cost-tier--medium {
  background: var(--badge-cost-medium-bg);
}

.highlight-cost-tier--high {
  background: var(--badge-cost-high-bg);
}

.highlight-cost-amount {
  background: var(--highlight-cost-blue);
}

.highlight-prevention {
  background: var(--super-teal-900);
}

.highlight-focus, .highlight-focus-su, .highlight-focus-mh {
  color: var(--super-white);
}

.highlight-focus--su, .highlight-focus-su {
  background: var(--super-orange-800);
}

.highlight-focus--mh, .highlight-focus-mh, .highlight-setting {
  background: var(--super-teal-600);
}

.practice-highlights[style*="--highlight-count: 5"] .highlight-box {
  flex: 120px;
  max-width: none;
}

.practice-info-table {
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.practice-info-table th[scope="row"] {
  background: var(--super-gray-50);
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--super-gray-200);
  width: 210px;
  min-width: 160px;
  color: var(--super-teal-900);
  padding: .75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.practice-info-table td {
  border: 1px solid var(--super-gray-200);
  vertical-align: top;
  color: var(--super-gray-900);
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: .75rem 1rem;
  line-height: 1.65;
}

.practice-info-table tbody tr:nth-child(2n) td {
  background: var(--super-gray-50);
}

.practice-info-table p, .practice-summary-content p, .rpf-section p, .evidence-section p, .practice-providers-content p {
  margin: 0 0 .5rem;
}

.practice-info-table p:last-child, .practice-summary-content p:last-child, .rpf-section p:last-child, .evidence-section p:last-child, .practice-providers-content p:last-child {
  margin-bottom: 0;
}

.practice-info-table th, .practice-info-table td, .risk-protective-table th, .risk-protective-table td {
  border: 1px solid var(--super-gray-200);
}

.practice-page table {
  border: none;
}

.practice-info-table tbody tr:nth-child(2n) td, .practice-info-table th[scope="row"] {
  background-color: var(--super-gray-50);
}

.practice-list {
  margin: 0;
  padding-left: 1.25rem;
  list-style: outside;
}

.practice-list li {
  margin-bottom: .25rem;
  line-height: 1.5;
}

.practice-list li:last-child {
  margin-bottom: 0;
}

.practice-info-table .practice-definitions-note {
  margin-top: .5rem;
  font-size: .9375rem;
}

.components-3col {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  display: grid;
}

.components-col > strong {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--super-teal-900);
  border-bottom: 1px solid var(--super-gray-200);
  margin-bottom: .375rem;
  padding-bottom: .25rem;
  font-size: .8125rem;
  font-weight: 700;
  display: block;
}

.components-col ul {
  margin: 0;
  padding-left: 1.125rem;
  list-style: outside;
}

.components-col li {
  margin-bottom: .25rem;
  line-height: 1.5;
}

.prevention-focus-group > strong {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--super-teal-900);
  margin-bottom: .25rem;
  font-size: .8125rem;
  font-weight: 700;
  display: block;
}

.prevention-focus-group--mt {
  margin-top: .75rem;
}

.rpf-section {
  margin-bottom: 2rem;
}

.rpf-heading {
  color: var(--super-teal-900);
  border-bottom: 2px solid var(--super-teal-900);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.rpf-subheading {
  color: var(--super-teal-900);
  border-bottom: 1px solid var(--super-teal-700);
  margin: 1.25rem 0 .5rem;
  padding-bottom: .25rem;
  font-size: 1rem;
  font-weight: 700;
}

.rpf-subheading:first-of-type {
  margin-top: 0;
}

.risk-protective-table + .rpf-subheading {
  margin-top: 1.5rem;
}

.rpf-unknown {
  border: 1px solid var(--super-orange-400);
  background: #e4722514;
  border-radius: 4px;
  margin-top: 1.5rem;
  padding: .875rem 1rem;
  font-size: .875rem;
}

.rpf-unknown code {
  background: #0000000d;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: .85em;
}

.risk-protective-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  font-size: 1rem;
}

.risk-protective-table thead th:first-child, .risk-protective-table tbody th[scope="row"] {
  width: 160px;
}

.risk-protective-table thead th:nth-child(2), .risk-protective-table thead th:nth-child(3) {
  width: calc(50% - 80px);
}

.risk-protective-table th {
  background: var(--super-teal-900);
  color: var(--super-white);
  text-align: left;
  padding: .5rem .75rem;
  font-size: 1rem;
  font-weight: 600;
}

.risk-protective-table td {
  word-wrap: break-word;
  overflow-wrap: break-word;
  border: 1px solid var(--super-gray-200);
  vertical-align: top;
  padding: .625rem .75rem;
  line-height: 1.5;
}

.risk-protective-table tbody tr:nth-child(2n) td {
  background: #00000006;
}

.risk-protective-table tbody th[scope="row"] {
  background: var(--super-gray-50);
  width: 160px;
  color: var(--super-teal-900);
  border: 1px solid var(--super-gray-200);
  text-align: left;
  vertical-align: top;
  padding: .625rem .75rem;
  font-weight: 600;
  line-height: 1.5;
}

.rpf-cell-empty {
  color: var(--super-gray-500);
  user-select: none;
  font-size: 1rem;
}

.rpf-cell-none {
  color: var(--super-gray-700);
  user-select: none;
  font-size: 1rem;
}

.rpf-cell-admin-verify {
  color: #78350f;
  letter-spacing: .02em;
  text-transform: lowercase;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background: #fef3c7;
  border: 1px solid #0000;
  border-radius: 999px;
  margin-left: .5em;
  padding: .1em .55em;
  font-family: inherit;
  font-size: .7rem;
  font-weight: 600;
  transition: background .12s, color .12s, border-color .12s;
  display: inline-block;
}

.rpf-cell-admin-verify:hover {
  background: #fde68a;
  border-color: #92400e;
}

.rpf-cell-admin-verify:focus-visible {
  outline-offset: 2px;
  background: #fde68a;
  border-color: #92400e;
  outline: 2px solid #78350f;
}

.rpf-cell-admin-verify:disabled {
  cursor: progress;
  opacity: .7;
}

.rpf-cell-admin-verify--done {
  color: #065f46;
  cursor: default;
  background: #d1fae5;
}

.rpf-cell-admin-verify--failed {
  color: #991b1b;
  background: #fee2e2;
  border-color: #991b1b;
}

.practice-page .rpf-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  min-width: 0;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.practice-page .rpf-table thead th {
  background: var(--super-teal-900);
  color: var(--super-white);
  text-transform: none;
  letter-spacing: normal;
  border: 1px solid var(--super-teal-900);
  border-radius: 0;
  padding: .625rem .75rem;
  font-size: 1rem;
  font-weight: 600;
}

.practice-page .rpf-table thead th:first-child {
  border-radius: 0;
  width: 160px;
}

.practice-page .rpf-table thead th:nth-child(2), .practice-page .rpf-table thead th:nth-child(3) {
  border-radius: 0;
  width: calc(50% - 80px);
}

.practice-page .rpf-table tbody th[scope="row"], .practice-page .rpf-table tbody td {
  border: 1px solid var(--super-gray-200);
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: .625rem .75rem;
  line-height: 1.5;
}

.practice-page .rpf-table tbody th[scope="row"] {
  background: var(--super-gray-50);
  color: var(--super-teal-900);
  text-align: left;
  width: 160px;
  font-weight: 600;
}

.practice-page .rpf-table td ul {
  margin: 0;
  padding-left: 1.5rem;
  list-style: outside;
}

.practice-page .rpf-table td ul li {
  margin-bottom: .25rem;
  padding-right: .25rem;
}

.practice-page .rpf-table td ul li:last-child {
  margin-bottom: 0;
}

.practice-page .rpf-table tbody tr:nth-child(2n) th[scope="row"], .practice-page .rpf-table tbody tr:nth-child(2n) td {
  background: #00000006;
}

.practice-page .rpf-table-heading {
  margin-top: 1.25rem;
  margin-bottom: .5rem;
}

.practice-page .rpf-table-wrap:first-of-type .rpf-table-heading {
  margin-top: .5rem;
}

.section-icon {
  vertical-align: middle;
  width: 16px;
  height: 16px;
  color: var(--super-teal-900);
  flex-shrink: 0;
  margin-top: -2px;
  margin-right: 5px;
  display: inline-block;
}

.rpf-heading .section-icon {
  width: 18px;
  height: 18px;
}

.practice-page .evidence-section {
  margin-top: 0;
  margin-bottom: 2rem;
  padding: 0;
}

.practice-page .evidence-section h2 {
  color: var(--super-teal-900);
  border-bottom: 2px solid var(--super-teal-900);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.practice-page .evidence-table {
  box-shadow: none;
  border: 1px solid var(--super-gray-200);
  border-radius: 0;
}

.practice-page .evidence-table thead th {
  background: var(--super-teal-900);
  color: var(--super-white);
}

.practice-page .evidence-table th, .practice-page .evidence-table td {
  font-size: 1rem;
}

.practice-page .evidence-table tbody td {
  color: inherit;
  font-family: inherit;
}

.practice-page .practice-info-table tbody tr, .practice-page .risk-protective-table tbody tr, .practice-page .rpf-table tbody tr {
  transition: background-color .2s;
}

.practice-page .practice-info-table tbody tr:hover, .practice-page .risk-protective-table tbody tr:hover, .practice-page .rpf-table tbody tr:hover {
  background-color: var(--super-gray-50);
}

.practice-providers {
  background: var(--super-gray-50);
  border: 1px solid var(--super-gray-200);
  border-radius: 6px;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
}

.practice-providers h2 {
  color: var(--super-teal-900);
  border-bottom: 2px solid var(--super-teal-900);
  margin: 0 0 .75rem;
  padding-bottom: .5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.practice-providers-content p, .practice-providers-content li {
  font-size: 1rem;
}

.practice-providers-content p:last-child {
  margin-bottom: 0;
}

.practice-providers-content p:has( > strong:only-child) {
  color: var(--super-teal-900);
  margin-top: 1rem;
  margin-bottom: .375rem;
  font-size: 1.125rem;
}

.practice-providers-content p:has( > strong:only-child):first-child {
  margin-top: 0;
}

.practice-providers-content ul, .practice-providers-content ol {
  margin: 0 0 .5rem 1.25rem;
  padding-left: 0;
}

.practice-providers-content li {
  margin-bottom: .5rem;
  line-height: 1.15;
}

.practice-providers-content li:last-child {
  margin-bottom: 0;
}

.practice-actions {
  display: flex;
}

.print-button {
  background: var(--super-teal-900);
  color: var(--super-white);
  cursor: pointer;
  border: none;
  border-radius: 4px;
  padding: .625rem 1.75rem;
  font-size: .9375rem;
  font-weight: 600;
  transition: background .2s;
}

a.print-button {
  text-decoration: none;
  display: inline-block;
}

.print-button:hover {
  background: var(--super-teal-700);
}

a.print-button:hover {
  color: var(--super-white);
  text-decoration: none;
}

.print-button:focus-visible, .practice-website-link:focus-visible {
  outline-offset: 2px;
  outline: 2px solid;
}

@media (width <= 900px) {
  .components-3col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (width <= 768px) {
  .practice-page {
    padding: 1.25rem 1rem 3rem;
  }

  .practice-header {
    flex-direction: column;
    gap: .625rem;
  }

  .practice-header__aside {
    align-items: flex-start;
    width: 100%;
  }

  .practice-website-link {
    margin-top: 0;
  }

  .practice-highlights {
    flex-wrap: wrap;
  }

  .highlight-box {
    flex: calc(50% - .625rem);
    max-width: 100%;
  }

  .practice-info-table th[scope="row"] {
    width: 130px;
    min-width: 100px;
    padding: .625rem .75rem;
    font-size: .8125rem;
  }

  .practice-info-table td {
    padding: .625rem .75rem;
    font-size: .875rem;
  }

  .components-3col {
    grid-template-columns: 1fr;
  }

  .risk-protective-table {
    display: block;
    overflow-x: auto;
  }

  .risk-protective-table tbody th[scope="row"] {
    width: auto;
  }
}

@media (width <= 480px) {
  .practice-info-table, .practice-info-table tbody, .practice-info-table tr {
    display: block;
  }

  .practice-info-table th[scope="row"] {
    background: var(--super-teal-900);
    width: 100%;
    color: var(--super-white);
    border-bottom: none;
    border-radius: 0;
    display: block;
  }

  .practice-info-table td {
    width: 100%;
    display: block;
  }

  .practice-info-table tbody tr:nth-child(2n) td {
    background: none;
  }
}

@media print {
  .practice-page {
    max-width: 100%;
    padding: 0;
  }

  .practice-highlights {
    break-inside: avoid;
    flex-wrap: nowrap;
  }

  .highlight-box {
    color: #000;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    border: 1px solid #ccc;
    background: #f5f5f5 !important;
  }

  .practice-info-table th[scope="row"] {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    background: #eee !important;
  }

  .no-print {
    display: none !important;
  }

  a[href]:after {
    content: none;
  }
}
