.credential-navigator {
  --cert-blue: #0066cc;
  --cert-navy: #17324d;
  --cert-teal: #007f7a;
  --cert-ink: #263b4f;
  --cert-muted: #657487;
  --cert-line: #dbe5ee;
  --cert-soft: #f4f8fc;
  padding: 76px 20px;
  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(0, 102, 204, 0.1),
      transparent 32%
    ),
    linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
  color: var(--cert-ink);
}

.credential-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.credential-heading {
  max-width: 850px;
  margin-bottom: 30px;
}

.credential-eyebrow,
.panel-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cert-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.credential-heading h2 {
  margin: 0 0 16px;
  color: var(--cert-navy);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15;
}

.credential-heading p {
  margin: 0;
  color: #52677b;
  font-size: 1.05rem;
  line-height: 1.75;
}

.credential-scoreboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--cert-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(34, 72, 105, 0.08);
}

.credential-scoreboard div {
  display: flex;
  min-height: 98px;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid var(--cert-line);
}

.credential-scoreboard div:last-child {
  border-right: 0;
}

.credential-scoreboard strong {
  color: var(--cert-blue);
  font-size: 2rem;
  line-height: 1;
}

.credential-scoreboard span {
  color: #516679;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
}

.credential-boundary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin: 28px 0 34px;
  padding: 20px 22px;
  border: 1px solid #b9ddd9;
  border-left: 5px solid var(--cert-teal);
  border-radius: 10px;
  background: #f0fbfa;
}

.credential-boundary i {
  margin-top: 3px;
  color: var(--cert-teal);
  font-size: 1.4rem;
}

.credential-boundary p {
  margin: 0;
  color: #365a59;
  font-size: 0.93rem;
  line-height: 1.65;
}

.credential-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--cert-line);
  border-radius: 14px 14px 0 0;
  background: #eaf1f7;
}

.credential-tabs button {
  min-width: 0;
  padding: 16px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #52677b;
  font: inherit;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.credential-tabs button:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--cert-blue);
}

.credential-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--cert-blue);
  box-shadow: 0 4px 15px rgba(36, 73, 105, 0.11);
}

.credential-tabs button:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.28);
  outline-offset: 2px;
}

.credential-tabs i,
.credential-tabs span,
.credential-tabs small {
  display: block;
}

.credential-tabs i {
  margin-bottom: 7px;
  font-size: 1.25rem;
}

.credential-tabs span {
  font-size: 0.9rem;
  font-weight: 700;
}

.credential-tabs small {
  margin-top: 3px;
  color: #7b8b9a;
  font-size: 0.68rem;
  line-height: 1.3;
}

.credential-panels {
  min-height: 470px;
  padding: 34px;
  border: 1px solid var(--cert-line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(34, 72, 105, 0.09);
}

.credential-panel[hidden] {
  display: none !important;
}

.credential-panel.is-active {
  animation: credentialFade 0.28s ease both;
}

@keyframes credentialFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-intro {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 25px;
}

.panel-intro h3 {
  max-width: 800px;
  margin: 0;
  color: var(--cert-navy);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.35;
}

.panel-intro h3 a {
  color: var(--cert-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.panel-count {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e8f2fc;
  color: var(--cert-blue);
  font-size: 0.72rem;
  font-weight: 700;
}

.credential-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.credential-card-grid.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.credential-card {
  overflow: hidden;
  border: 1px solid var(--cert-line);
  border-radius: 12px;
  background: #fff;
}

.credential-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
}

.credential-abbr {
  display: block;
  margin-bottom: 7px;
  color: var(--cert-blue);
  font-size: 1.45rem;
  font-weight: 700;
}

.credential-card h4 {
  margin: 0 0 7px;
  color: var(--cert-navy);
  font-size: 1.02rem;
}

.credential-card-top p {
  margin: 0;
  color: var(--cert-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.credential-type {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.credential-type.is-nursing {
  background: #e6f7f4;
  color: #087168;
}

.credential-type.is-adjacent {
  background: #fff4dc;
  color: #8b6200;
}

.credential-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--cert-line);
  background: var(--cert-soft);
}

.credential-facts div {
  min-width: 0;
  padding: 15px 18px;
  border-right: 1px solid var(--cert-line);
}

.credential-facts div:last-child {
  border-right: 0;
}

.credential-facts span,
.credential-facts strong {
  display: block;
}

.credential-facts span {
  margin-bottom: 5px;
  color: #758596;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.credential-facts strong {
  color: #30475e;
  font-size: 0.78rem;
  line-height: 1.45;
}

.credential-card details {
  border-top: 1px solid var(--cert-line);
}

.credential-card summary {
  padding: 15px 20px;
  color: var(--cert-blue);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.credential-card summary:hover {
  background: #f8fbfe;
}

.credential-detail {
  padding: 0 20px 18px;
}

.credential-detail p {
  margin: 0 0 9px;
  color: #55697d;
  font-size: 0.82rem;
  line-height: 1.65;
}

.credential-detail a {
  color: var(--cert-blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.credential-side-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 9px;
  background: #fff7e6;
  color: #6f5925;
  font-size: 0.84rem;
  line-height: 1.6;
}

.credential-verified {
  margin: 20px 4px 0;
  color: #738292;
  font-size: 0.72rem;
  text-align: right;
}

.credential-verified i {
  margin-right: 5px;
  color: var(--cert-teal);
}

@media (max-width: 980px) {
  .credential-scoreboard {
    grid-template-columns: repeat(2, 1fr);
  }

  .credential-scoreboard div:nth-child(2) {
    border-right: 0;
  }

  .credential-scoreboard div:nth-child(-n+2) {
    border-bottom: 1px solid var(--cert-line);
  }

  .credential-tabs {
    grid-template-columns: repeat(
      5,
      minmax(155px, 1fr)
    );
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .credential-tabs button {
    scroll-snap-align: start;
  }

  .credential-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .credential-navigator {
    padding: 52px 14px;
  }

  .credential-scoreboard div {
    min-height: 84px;
    padding: 15px;
  }

  .credential-scoreboard strong {
    font-size: 1.55rem;
  }

  .credential-panels {
    min-height: 0;
    padding: 22px 16px;
  }

  .panel-intro,
  .credential-card-top {
    flex-direction: column;
  }

  .credential-card-grid.is-two,
  .credential-facts {
    grid-template-columns: 1fr;
  }

  .credential-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--cert-line);
  }

  .credential-facts div:last-child {
    border-bottom: 0;
  }

  .credential-verified {
    text-align: left;
  }
}

/* Dialysis specialty: treatment-setting practice map */

.dialysis-settings .credential-heading {
  max-width: 940px;
}

.dialysis-setting-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dialysis-setting-tabs button {
  min-height: 92px;
}

.dialysis-setting-panels {
  min-height: 0;
}

.dialysis-setting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dialysis-setting-grid article {
  position: relative;
  padding: 22px 22px 22px 64px;
  border: 1px solid var(--cert-line);
  border-radius: 11px;
  background: var(--cert-soft);
}

.dialysis-setting-grid article > i {
  position: absolute;
  top: 22px;
  left: 21px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: #e4f0fb;
  color: var(--cert-blue);
  font-size: 0.9rem;
}

.dialysis-setting-grid h4 {
  margin: 0 0 8px;
  color: var(--cert-navy);
  font-size: 0.92rem;
}

.dialysis-setting-grid p,
.dialysis-setting-footer p,
.dialysis-credential-bridge p {
  margin: 0;
  color: #586d80;
  font-size: 0.83rem;
  line-height: 1.68;
}

.dialysis-setting-footer {
  margin-top: 18px;
  padding: 19px 21px;
  border-left: 4px solid var(--cert-teal);
  border-radius: 8px;
  background: #f0fbfa;
}

.dialysis-setting-footer strong {
  display: block;
  margin-bottom: 5px;
  color: #285b58;
  font-size: 0.82rem;
}

.dialysis-setting-footer a,
.dialysis-credential-bridge a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: var(--cert-blue);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.dialysis-setting-footer a::after {
  content: "\2197";
  font-size: 0.9rem;
}

.dialysis-credential-bridge {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--cert-line);
  border-radius: 11px;
  background: #fff;
}

.dialysis-credential-bridge > i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  background: #e8f2fc;
  color: var(--cert-blue);
}

.dialysis-credential-bridge h3 {
  margin: 0 0 6px;
  color: var(--cert-navy);
  font-size: 1rem;
}

@media (max-width: 980px) {
  .dialysis-setting-tabs {
    grid-template-columns: repeat(
      4,
      minmax(175px, 1fr)
    );
  }
}

@media (max-width: 720px) {
  .dialysis-setting-grid {
    grid-template-columns: 1fr;
  }

  .dialysis-setting-grid article {
    padding: 58px 18px 18px;
  }

  .dialysis-setting-grid article > i {
    top: 17px;
    left: 17px;
  }

  .dialysis-credential-bridge {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .credential-panel.is-active {
    animation: none;
  }
}

/* Individual specialty certification pages */

.credential-navigator--detail .credential-heading {
  max-width: 920px;
}

.credential-scoreboard--detail strong {
  white-space: nowrap;
}

.credential-tabs--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.credential-tabs--two button {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  column-gap: 10px;
  align-items: center;
}

.credential-tabs--two button i {
  grid-row: 1 / 3;
  margin: 0;
  font-size: 1.45rem;
}

.credential-tabs--two button span,
.credential-tabs--two button small {
  text-align: left;
}

.credential-tabs--two button small {
  margin-top: 0;
}

.credential-panels--detail {
  min-height: 430px;
}

.credential-facts--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dialysis-cert-aftercare {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(300px, 0.75fr);
  gap: 18px;
  margin-top: 22px;
}

.dialysis-cert-choice,
.dialysis-cert-legacy {
  border: 1px solid var(--cert-line);
  border-radius: 12px;
  background: #fff;
}

.dialysis-cert-choice {
  padding: 24px;
}

.dialysis-cert-choice h3 {
  margin: 0 0 18px;
  color: var(--cert-navy);
  font-size: 1.2rem;
  line-height: 1.4;
}

.dialysis-cert-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dialysis-cert-choice-grid div {
  padding: 16px;
  border-radius: 9px;
  background: var(--cert-soft);
}

.dialysis-cert-choice-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--cert-blue);
  font-size: 0.86rem;
}

.dialysis-cert-choice-grid p {
  margin: 0;
  color: #5f7182;
  font-size: 0.76rem;
  line-height: 1.55;
}

.dialysis-cert-legacy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 24px;
  border-color: #ead6ab;
  background: #fff9ed;
}

.dialysis-cert-legacy > i {
  margin-top: 4px;
  color: #a67513;
  font-size: 1.35rem;
}

.dialysis-cert-legacy span {
  display: block;
  margin-bottom: 5px;
  color: #91680f;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dialysis-cert-legacy h3 {
  margin: 0 0 8px;
  color: #59471e;
  font-size: 1.05rem;
}

.dialysis-cert-legacy p {
  margin: 0;
  color: #70613f;
  font-size: 0.76rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .credential-tabs--two {
    grid-template-columns: repeat(
      2,
      minmax(220px, 1fr)
    );
  }

  .credential-facts--four {
    grid-template-columns: repeat(
      2,
      minmax(0, 1fr)
    );
  }

  .credential-facts--four div:nth-child(2) {
    border-right: 0;
  }

  .credential-facts--four div:nth-child(-n+2) {
    border-bottom: 1px solid var(--cert-line);
  }

  .dialysis-cert-aftercare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .credential-tabs--two {
    grid-template-columns: repeat(
      2,
      minmax(190px, 1fr)
    );
  }

  .credential-tabs--two button {
    min-height: 80px;
  }

  .credential-facts--four,
  .dialysis-cert-choice-grid {
    grid-template-columns: 1fr;
  }

  .credential-facts--four div,
  .credential-facts--four div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--cert-line);
  }

  .credential-facts--four div:last-child {
    border-bottom: 0;
  }
}

/* Home health specialty: annotated visit note */

.home-health-note .credential-heading {
  max-width: 940px;
}

.home-health-note-disclaimer {
  margin-top: 0;
}

.home-health-assignment {
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid var(--cert-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(34, 72, 105, 0.07);
}

.home-health-assignment-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 22px 24px;
}

.home-health-assignment-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 11px;
  background: #e8f2fc;
  color: var(--cert-blue);
  font-size: 1.1rem;
}

.home-health-assignment-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--cert-blue);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-health-assignment-heading h3 {
  margin: 0;
  color: var(--cert-navy);
  font-size: 1.08rem;
  line-height: 1.4;
}

.home-health-assignment-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--cert-line);
  background: var(--cert-soft);
}

.home-health-assignment-facts div {
  min-width: 0;
  padding: 17px 19px;
  border-right: 1px solid var(--cert-line);
}

.home-health-assignment-facts div:last-child {
  border-right: 0;
}

.home-health-assignment-facts span,
.home-health-assignment-facts strong {
  display: block;
}

.home-health-assignment-facts span {
  margin-bottom: 5px;
  color: #758596;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-health-assignment-facts strong {
  color: #30475e;
  font-size: 0.78rem;
  line-height: 1.45;
}

.home-health-note-tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-health-note-tabs button {
  min-height: 92px;
}

.home-health-note-panels {
  min-height: 0;
}

.home-health-note-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, 0.95fr)
    minmax(0, 0.75fr);
  gap: 16px;
}

.home-health-note-grid article {
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--cert-line);
  border-radius: 11px;
}

.home-health-note-entry {
  background: #f5f9fd;
}

.home-health-note-explanation {
  background: #f0fbfa;
  border-color: #c8e4e1 !important;
}

.home-health-note-warning {
  background: #fff8e9;
  border-color: #ecd9aa !important;
}

.home-health-note-label {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--cert-blue);
}

.home-health-note-label i {
  font-size: 0.78rem;
}

.home-health-note-label span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-health-note-explanation .home-health-note-label {
  color: var(--cert-teal);
}

.home-health-note-warning .home-health-note-label {
  color: #9a6b08;
}

.home-health-note-grid h4 {
  margin: 0 0 13px;
  color: var(--cert-navy);
  font-size: 0.94rem;
  line-height: 1.4;
}

.home-health-note-warning h4 {
  color: #6f541b;
}

.home-health-note-grid p {
  margin: 0 0 11px;
  color: #586d80;
  font-size: 0.8rem;
  line-height: 1.68;
}

.home-health-note-grid p:last-child {
  margin-bottom: 0;
}

.home-health-chart-example {
  padding-left: 15px;
  border-left: 3px solid #90bde5;
}

.home-health-chart-example p {
  color: #415970;
}

.home-health-cos-c {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 24px;
  padding: 25px;
  border: 1px solid var(--cert-line);
  border-radius: 12px;
  background: #fff;
}

.home-health-cos-c-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 11px;
  background: #e6f7f4;
  color: var(--cert-teal);
  font-size: 1.15rem;
}

.home-health-cos-c h3 {
  margin: 0 0 9px;
  color: var(--cert-navy);
  font-size: 1.12rem;
}

.home-health-cos-c-content > p {
  margin: 0;
  color: #586d80;
  font-size: 0.83rem;
  line-height: 1.68;
}

.home-health-cos-c-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--cert-line);
  border-radius: 9px;
  background: var(--cert-soft);
}

.home-health-cos-c-facts div {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--cert-line);
}

.home-health-cos-c-facts div:last-child {
  border-right: 0;
}

.home-health-cos-c-facts span,
.home-health-cos-c-facts strong {
  display: block;
}

.home-health-cos-c-facts span {
  margin-bottom: 5px;
  color: #758596;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-health-cos-c-facts strong {
  color: #30475e;
  font-size: 0.76rem;
  line-height: 1.4;
}

.home-health-cos-c-limit {
  padding: 14px 16px;
  border-left: 4px solid var(--cert-teal);
  border-radius: 7px;
  background: #f0fbfa;
  color: #365a59 !important;
}

@media (max-width: 980px) {
  .home-health-assignment-facts,
  .home-health-cos-c-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-health-assignment-facts div:nth-child(2),
  .home-health-cos-c-facts div:nth-child(2) {
    border-right: 0;
  }

  .home-health-assignment-facts div:nth-child(-n + 2),
  .home-health-cos-c-facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--cert-line);
  }

  .home-health-note-tabs {
    grid-template-columns: repeat(5, minmax(155px, 1fr));
  }

  .home-health-note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-health-note-warning {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .home-health-assignment-heading {
    align-items: flex-start;
    padding: 19px;
  }

  .home-health-assignment-facts,
  .home-health-cos-c-facts,
  .home-health-note-grid {
    grid-template-columns: 1fr;
  }

  .home-health-assignment-facts div,
  .home-health-assignment-facts div:nth-child(2),
  .home-health-cos-c-facts div,
  .home-health-cos-c-facts div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--cert-line);
  }

  .home-health-assignment-facts div:last-child,
  .home-health-cos-c-facts div:last-child {
    border-bottom: 0;
  }

  .home-health-note-warning {
    grid-column: auto;
  }

  .home-health-cos-c {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.home-health-sources {
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid var(--cert-line);
  border-radius: 10px;
  background: #f8fbfe;
}

.home-health-sources h3 {
  margin: 0 0 12px;
  color: var(--cert-navy);
  font-size: 0.92rem;
}

.home-health-sources ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding-left: 20px;
}

.home-health-sources li {
  color: var(--cert-blue);
}

.home-health-sources a {
  color: var(--cert-blue);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.home-health-sources a::after {
  content: "\2197";
  margin-left: 5px;
  font-size: 0.82rem;
}

.home-health-sources a:hover {
  color: var(--cert-teal);
}

@media (max-width: 720px) {
  .home-health-sources ul {
    grid-template-columns: 1fr;
  }
}

/* Hospice specialty: change-in-condition response board */
.hospice-response { --response-navy:#182c3a; --response-teal:#0d7a78; --response-gold:#d39b3c; --response-ink:#273941; --response-line:#d4dfe2; padding:78px 20px; background:#edf2f2; color:var(--response-ink); }
.hospice-response * { box-sizing:border-box; }
.hospice-response__shell { max-width:1180px; margin:0 auto; }
.hospice-response__heading { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr); gap:48px; align-items:end; margin-bottom:26px; }
.response-kicker { display:inline-block; margin-bottom:10px; color:var(--response-teal); font-size:.76rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.hospice-response__heading h2 { margin:0; color:var(--response-navy); font-size:clamp(1.9rem,4vw,2.65rem); line-height:1.16; }
.hospice-response__heading p { margin:0; padding-left:22px; border-left:3px solid var(--response-gold); color:#586a70; font-size:.92rem; line-height:1.7; }
.hospice-response__legend { display:grid; grid-template-columns:repeat(3,1fr); overflow:hidden; margin:28px 0 14px; border-radius:10px; background:var(--response-navy); color:#fff; }
.hospice-response__legend span { display:flex; min-height:58px; align-items:center; gap:10px; padding:12px 18px; border-right:1px solid rgba(255,255,255,.15); font-size:.73rem; font-weight:600; }
.hospice-response__legend span:last-child { border-right:0; }
.hospice-response__legend b { display:grid; width:26px; height:26px; place-items:center; border-radius:50%; background:var(--response-gold); color:#1c2d37; }
.hospice-response__tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; overflow-x:auto; padding:8px; border:1px solid var(--response-line); border-radius:12px 12px 0 0; background:#dfe8e9; }
.hospice-response__tabs button { display:flex; min-width:180px; min-height:62px; align-items:center; justify-content:center; gap:9px; padding:11px; border:0; border-radius:8px; background:transparent; color:#52656b; font:inherit; cursor:pointer; }
.hospice-response__tabs button[aria-selected="true"] { background:#fff; color:var(--response-teal); box-shadow:0 4px 14px rgba(29,52,60,.1); }
.hospice-response__tabs button:focus-visible { outline:3px solid rgba(13,122,120,.28); outline-offset:2px; }
.hospice-response__tabs i { font-size:.92rem; }
.hospice-response__tabs span { font-size:.78rem; font-weight:700; }
.hospice-response__board { border:1px solid var(--response-line); border-top:0; border-radius:0 0 12px 12px; background:#fff; box-shadow:0 20px 45px rgba(29,52,60,.09); }
.response-panel[hidden] { display:none !important; }
.response-panel.is-active { animation:responseIn .25s ease both; }
.response-case { display:grid; grid-template-columns:135px 1fr; gap:20px; align-items:center; padding:22px 28px; border-bottom:1px solid var(--response-line); background:#f8faf9; }
.response-case span { color:var(--response-teal); font-size:.66rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.response-case h3 { margin:0; color:var(--response-navy); font-size:1.04rem; line-height:1.45; }
.response-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.response-columns article { position:relative; min-width:0; min-height:310px; padding:72px 25px 25px; border-right:1px solid var(--response-line); }
.response-columns article:last-child { border-right:0; }
.response-columns article.response-escalate { background:#f0f8f7; }
.response-number { position:absolute; top:23px; left:25px; display:grid; width:34px; height:34px; place-items:center; border-radius:9px; background:#dfe9eb; color:var(--response-navy); font-size:.82rem; font-weight:700; }
.response-escalate .response-number { background:var(--response-teal); color:#fff; }
.response-columns h3 { margin:0 0 13px; color:var(--response-navy); font-size:.95rem; }
.response-columns p, .response-columns li { color:#586a70; font-size:.79rem; line-height:1.65; }
.response-columns p { margin:0 0 15px; }
.response-columns ul { margin:0 0 15px; padding-left:18px; }
.response-columns li { margin-bottom:8px; list-style:disc; }
.response-columns em { display:block; padding-top:13px; border-top:1px solid var(--response-line); color:#64777d; font-size:.7rem; font-style:normal; font-weight:600; line-height:1.5; }
.hospice-response__scope { display:grid; grid-template-columns:auto 1fr; gap:17px; margin-top:22px; padding:22px 24px; border:1px solid #e2cfaa; border-radius:11px; background:#fff9ed; }
.hospice-response__scope > i { display:grid; width:40px; height:40px; place-items:center; border-radius:9px; background:#f4e4c4; color:#946817; }
.hospice-response__scope h3 { margin:0 0 6px; color:#684f20; font-size:.91rem; }
.hospice-response__scope p { margin:0; color:#746544; font-size:.79rem; line-height:1.65; }
/* MOBILE-FIXED VERSION: official source-link cards */
.hospice-response__sources { margin-top:22px; overflow:hidden; border:1px solid var(--response-line); border-radius:12px; background:#fff; box-shadow:0 12px 32px rgba(29,52,60,.06); }
.response-sources-heading { display:grid; grid-template-columns:minmax(0,.85fr) minmax(320px,1.15fr); gap:32px; align-items:end; padding:24px 26px; border-bottom:1px solid var(--response-line); background:#f8faf9; }
.response-sources-heading span { display:block; margin-bottom:5px; color:var(--response-teal); font-size:.64rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.response-sources-heading h3 { margin:0; color:var(--response-navy); font-size:1.05rem; }
.response-sources-heading p { margin:0; color:#64757a; font-size:.76rem; line-height:1.6; }
.response-source-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.response-source-grid > a { position:relative; display:block; min-width:0; padding:25px 24px 23px; border-right:1px solid var(--response-line); color:inherit; text-decoration:none; transition:background .2s ease, transform .2s ease; }
.response-source-grid > a:last-child { border-right:0; }
.response-source-grid > a:hover { z-index:1; background:#f0f8f7; transform:translateY(-2px); }
.response-source-grid > a:focus-visible { z-index:2; outline:3px solid rgba(13,122,120,.28); outline-offset:-3px; }
.response-source-label { display:inline-block; margin-bottom:18px; padding:5px 8px; border-radius:5px; background:#e3efef; color:var(--response-teal); font-size:.6rem; font-weight:700; letter-spacing:.05em; }
.response-source-grid i { display:grid; width:37px; height:37px; margin-bottom:14px; place-items:center; border-radius:9px; background:var(--response-navy); color:#fff; font-size:.84rem; }
.response-source-grid h4 { margin:0 0 8px; color:var(--response-navy); font-size:.87rem; line-height:1.4; }
.response-source-grid p { min-height:62px; margin:0 0 16px; color:#65767b; font-size:.73rem; line-height:1.58; }
.response-source-grid strong { color:var(--response-teal); font-size:.67rem; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
@keyframes responseIn { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
@media (max-width:820px) {
  .hospice-response { padding:58px 16px; }

  .hospice-response__heading,
  .response-sources-heading {
    grid-template-columns:1fr;
    gap:20px;
  }

  .hospice-response__heading p {
    padding:14px 0 0;
    border-top:3px solid var(--response-gold);
    border-left:0;
  }

  .hospice-response__legend,
  .response-source-grid {
    grid-template-columns:1fr;
  }

  .hospice-response__legend span {
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.15);
  }

  .hospice-response__tabs button {
    display:grid !important;
    grid-template-columns:1fr;
    grid-template-rows:24px auto;
    gap:7px;
    min-width:0;
    min-height:82px;
    align-content:center;
    justify-items:center;
    padding:10px 8px;
    text-align:center;
  }

  .hospice-response__tabs {
    grid-template-columns:repeat(2, minmax(0, 1fr));
    overflow-x:visible;
  }

  .hospice-response__tabs button > i {
    position:static !important;
    display:block !important;
    grid-row:1;
    width:24px !important;
    height:24px !important;
    margin:0 !important;
    padding:0 !important;
    line-height:24px !important;
    text-align:center;
    transform:none !important;
  }

  .hospice-response__tabs button > span {
    position:static !important;
    display:block !important;
    grid-row:2;
    width:100%;
    min-width:0;
    margin:0 !important;
    padding:0 !important;
    line-height:1.35;
    text-align:center;
    transform:none !important;
  }

  .response-columns { grid-template-columns:1fr; }

  .response-columns article {
    min-height:0;
    border-right:0;
    border-bottom:1px solid var(--response-line);
  }

  .response-case {
    grid-template-columns:1fr;
    gap:6px;
  }

  .hospice-response__scope {
    grid-template-columns:1fr;
  }

  .hospice-response__scope > i {
    position:static;
    flex:none;
  }

  .response-source-grid > a {
    display:grid;
    grid-template-columns:42px minmax(0,1fr);
    column-gap:14px;
    align-items:start;
    border-right:0;
    border-bottom:1px solid var(--response-line);
  }

  .response-source-grid > a:last-child { border-bottom:0; }

  .response-source-label {
    grid-column:1 / -1;
    justify-self:start;
  }

  .response-source-grid i {
    grid-column:1;
    grid-row:2;
    margin:0;
  }

  .response-source-grid h4 {
    grid-column:2;
    grid-row:2;
    align-self:center;
    margin:0;
  }

  .response-source-grid p,
  .response-source-grid strong {
    grid-column:1 / -1;
  }

  .response-source-grid p {
    min-height:0;
    margin-top:14px;
  }
}
@media (max-width:420px) {
  .hospice-response__tabs {
    grid-template-columns:1fr;
  }
}
@media (prefers-reduced-motion:reduce) { .response-panel.is-active { animation:none; } }

/* Wound care specialty: observation and reporting field guide */
.wound-tracker {
  --wt-navy: #17334a;
  --wt-blue: #1e6c86;
  --wt-coral: #c75b4c;
  --wt-ink: #263d4a;
  --wt-muted: #61747d;
  --wt-line: #d6e1e5;
  padding: 78px 20px;
  background: linear-gradient(180deg, #f2f7f8 0%, #e9f1f3 100%);
  color: var(--wt-ink);
}

.wound-tracker * { box-sizing: border-box; }
.wound-tracker__shell { max-width: 1180px; margin: 0 auto; }

.wound-tracker__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 28px;
}

.wound-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--wt-coral);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wound-tracker__heading h2 {
  margin: 0;
  color: var(--wt-navy);
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  line-height: 1.16;
}

.wound-tracker__heading p {
  margin: 0;
  padding-left: 22px;
  border-left: 3px solid var(--wt-coral);
  color: var(--wt-muted);
  font-size: .93rem;
  line-height: 1.7;
}

.wound-tracker__key {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--wt-navy);
  color: #fff;
}

.wound-tracker__key span {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 11px;
  padding: 13px 20px;
  border-right: 1px solid rgba(255,255,255,.16);
  font-size: .75rem;
  font-weight: 700;
}

.wound-tracker__key span:last-child { border-right: 0; }
.wound-tracker__key b { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--wt-coral); font-size: .7rem; }

.wound-tracker__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--wt-line);
  border-radius: 12px 12px 0 0;
  background: #dfeaec;
}

.wound-tracker__tabs button {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  min-width: 0;
  min-height: 64px;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #536b76;
  font: inherit;
  cursor: pointer;
}

.wound-tracker__tabs button[aria-selected="true"] { background: #fff; color: var(--wt-blue); box-shadow: 0 4px 14px rgba(26,55,70,.11); }
.wound-tracker__tabs button:focus-visible { outline: 3px solid rgba(30,108,134,.28); outline-offset: 2px; }
.wound-tracker__tabs i { text-align: center; }
.wound-tracker__tabs span { min-width: 0; font-size: .76rem; font-weight: 700; line-height: 1.35; }

.wound-tracker__board { border: 1px solid var(--wt-line); border-top: 0; border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 20px 45px rgba(27,56,69,.09); }
.wound-tracker__panel[hidden] { display: none !important; }
.wound-tracker__panel.is-active { animation: woundPanelIn .25s ease both; }

.wound-tracker__case { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; padding: 23px 28px; border-bottom: 1px solid var(--wt-line); background: #f8faf9; }
.wound-tracker__case span { color: var(--wt-coral); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wound-tracker__case h3 { margin: 0; color: var(--wt-navy); font-size: 1.04rem; line-height: 1.45; }

.wound-tracker__columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wound-tracker__columns article { min-width: 0; min-height: 292px; padding: 26px; border-right: 1px solid var(--wt-line); }
.wound-tracker__columns article:last-child { border-right: 0; }
.wound-tracker__columns article > i { display: grid; width: 40px; height: 40px; margin-bottom: 17px; place-items: center; border-radius: 10px; background: #e5eff1; color: var(--wt-blue); }
.wound-tracker__columns .wound-tracker__report { background: #eef7f6; }
.wound-tracker__report > i { background: var(--wt-blue) !important; color: #fff !important; }
.wound-tracker__columns h3 { margin: 0 0 12px; color: var(--wt-navy); font-size: .96rem; }
.wound-tracker__columns p, .wound-tracker__columns li { color: #596f78; font-size: .79rem; line-height: 1.65; }
.wound-tracker__columns p { margin: 0; }
.wound-tracker__columns ul { margin: 0; padding-left: 18px; }
.wound-tracker__columns li { margin-bottom: 9px; }

.wound-tracker__footer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 18px; margin-top: 22px; }
.wound-tracker__scope { display: grid; grid-template-columns: auto 1fr; gap: 17px; padding: 22px 24px; border: 1px solid #e5ccac; border-radius: 11px; background: #fff9ef; }
.wound-tracker__scope > i { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 9px; background: #f3e1c9; color: #98621e; }
.wound-tracker__scope h3 { margin: 0 0 6px; color: #6d4d20; font-size: .91rem; }
.wound-tracker__scope p { margin: 0; color: #755f43; font-size: .77rem; line-height: 1.65; }
.wound-tracker__sources { display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 20px 22px; border: 1px solid var(--wt-line); border-radius: 11px; background: #fff; }
.wound-tracker__sources span { color: var(--wt-muted); font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wound-tracker__sources a { color: var(--wt-blue); font-size: .74rem; font-weight: 700; line-height: 1.4; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wound-tracker__sources a i { margin-left: 4px; font-size: .62rem; }

@keyframes woundPanelIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .wound-tracker { padding: 58px 16px; }
  .wound-tracker__heading, .wound-tracker__footer { grid-template-columns: 1fr; gap: 20px; }
  .wound-tracker__heading p { padding: 14px 0 0; border-top: 3px solid var(--wt-coral); border-left: 0; }
  .wound-tracker__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wound-tracker__tabs button { grid-template-columns: 1fr; grid-template-rows: 24px auto; min-height: 86px; justify-items: center; text-align: center; }
  .wound-tracker__tabs i { position: static !important; display: block !important; width: 24px !important; height: 24px !important; margin: 0 !important; line-height: 24px !important; }
  .wound-tracker__tabs span { display: block; width: 100%; }
  .wound-tracker__columns { grid-template-columns: 1fr; }
  .wound-tracker__columns article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--wt-line); }
  .wound-tracker__case { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 520px) {
  .wound-tracker__key { grid-template-columns: 1fr; }
  .wound-tracker__key span { min-height: 52px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .wound-tracker__tabs { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { .wound-tracker__panel.is-active { animation: none; } }

/* Psychiatric specialty: work-setting comparator and official source links */
.psych-settings{--st-indigo:#3d466f;--st-navy:#1f3143;--st-coral:#c66858;--st-teal:#397c78;--st-ink:#30424f;--st-muted:#687986;--st-line:#d9e1e7;padding:78px 20px;background:linear-gradient(145deg,#f6f4f1 0%,#edf3f5 100%);color:var(--st-ink)}
.psych-settings *{box-sizing:border-box}.psych-settings__shell{max-width:1180px;margin:auto}.psych-settings__heading{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:48px;align-items:end;margin-bottom:30px}.psych-settings__heading span{display:block;margin-bottom:9px;color:var(--st-coral);font-size:.74rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.psych-settings__heading h2{margin:0;color:var(--st-navy);font-size:clamp(1.9rem,4vw,2.7rem);line-height:1.15}.psych-settings__heading>p{margin:0;padding-left:22px;border-left:3px solid var(--st-coral);color:var(--st-muted);font-size:.95rem;line-height:1.7}
.psych-settings__chooser{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:8px;border:1px solid #cfd8df;border-radius:14px 14px 0 0;background:var(--st-navy)}.psych-settings__chooser button{min-width:0;padding:17px 12px;border:0;border-radius:10px;background:transparent;color:#d7e1e8;font:inherit;cursor:pointer}.psych-settings__chooser button:hover{background:rgba(255,255,255,.08)}.psych-settings__chooser button[aria-selected=true]{background:#fff;color:var(--st-indigo);box-shadow:0 5px 16px rgba(12,28,41,.22)}.psych-settings__chooser button:focus-visible{outline:3px solid rgba(198,104,88,.55);outline-offset:2px}.psych-settings__chooser i,.psych-settings__chooser span,.psych-settings__chooser small{display:block}.psych-settings__chooser i{margin-bottom:9px;font-size:1.25rem;color:#e7a99f}.psych-settings__chooser button[aria-selected=true] i{color:var(--st-coral)}.psych-settings__chooser span{font-size:.79rem;font-weight:700}.psych-settings__chooser small{margin-top:4px;font-size:.65rem;opacity:.7}
.psych-settings__stage{border:1px solid var(--st-line);border-top:0;border-radius:0 0 14px 14px;background:#fff;box-shadow:0 20px 46px rgba(30,48,60,.1)}.psych-settings__panel[hidden]{display:none!important}.psych-settings__panel.is-active{animation:psychSettingIn .25s ease}.psych-settings__panel>header{display:grid;grid-template-columns:220px 1fr;gap:24px;align-items:center;padding:25px 29px;border-bottom:1px solid var(--st-line);background:#fafafa}.psych-settings__panel>header span{color:var(--st-coral);font-size:.66rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.psych-settings__panel>header h3{margin:0;color:var(--st-navy);font-size:1.12rem;line-height:1.4}.psych-settings__metrics{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--st-line);background:#f1f6f7}.psych-settings__metrics>div{padding:18px 25px;border-right:1px solid var(--st-line)}.psych-settings__metrics>div:last-child{border-right:0}.psych-settings__metrics span,.psych-settings__metrics b{display:block}.psych-settings__metrics span{margin-bottom:5px;color:var(--st-teal);font-size:.63rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.psych-settings__metrics b{color:#415764;font-size:.78rem}.psych-settings__work{display:grid;grid-template-columns:1fr 1fr .72fr}.psych-settings__work section,.psych-settings__work aside{min-width:0;min-height:295px;padding:28px;border-right:1px solid var(--st-line)}.psych-settings__work>*:last-child{border-right:0}.psych-settings__work h4{margin:0 0 12px;color:var(--st-navy);font-size:.94rem}.psych-settings__work p,.psych-settings__work li{color:#5d707c;font-size:.79rem;line-height:1.65}.psych-settings__work p{margin:0}.psych-settings__work ul{margin:0;padding-left:18px}.psych-settings__work li{margin-bottom:8px}.psych-settings__work aside{background:var(--st-indigo);color:#fff}.psych-settings__work aside span{display:inline-block;margin-bottom:15px;padding:6px 9px;border-radius:5px;background:rgba(255,255,255,.12);font-size:.65rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.psych-settings__work aside p{color:#fff;font-size:.83rem}.psych-settings__note{display:grid;grid-template-columns:auto 1fr;gap:16px;margin-top:22px;padding:21px 23px;border:1px solid #d8c8aa;border-left:4px solid #b87d31;border-radius:11px;background:#fff9ed}.psych-settings__note i{margin-top:3px;color:#a56e27}.psych-settings__note p{margin:0;color:#705c3f;font-size:.78rem;line-height:1.65}
.psych-settings__sources{margin-top:22px;overflow:hidden;border:1px solid var(--st-line);border-radius:14px;background:#fff;box-shadow:0 14px 34px rgba(30,48,60,.07)}.psych-settings__sources>header{display:grid;grid-template-columns:190px minmax(220px,.8fr) minmax(300px,1.2fr);gap:22px;align-items:center;padding:24px 27px;border-bottom:1px solid var(--st-line);background:#f7f9fa}.psych-settings__sources>header span{color:var(--st-coral);font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.psych-settings__sources>header h3{margin:0;color:var(--st-navy);font-size:1rem;line-height:1.4}.psych-settings__sources>header p{margin:0;color:var(--st-muted);font-size:.75rem;line-height:1.6}.psych-settings__source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.psych-source{--source-accent:var(--st-indigo);display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:15px;align-items:start;min-width:0;padding:24px 25px;border-right:1px solid var(--st-line);border-bottom:1px solid var(--st-line);color:inherit;text-decoration:none;transition:background .2s ease,transform .2s ease}.psych-source:nth-child(2n){border-right:0}.psych-source:nth-last-child(-n+2){border-bottom:0}.psych-source:hover{background:#f7fafb}.psych-source:focus-visible{position:relative;z-index:1;outline:3px solid rgba(61,70,111,.3);outline-offset:-3px}.psych-source--residential{--source-accent:#a5683e}.psych-source--corrections{--source-accent:#52616d}.psych-source--community{--source-accent:var(--st-teal)}.psych-source__icon{display:grid;width:48px;height:48px;place-items:center;border-radius:12px;background:#eef1f5;color:var(--source-accent);font-size:1.08rem}.psych-source--residential .psych-source__icon{background:#f7eee8}.psych-source--corrections .psych-source__icon{background:#edf0f2}.psych-source--community .psych-source__icon{background:#eaf3f2}.psych-source__body{display:block;min-width:0}.psych-source__body small,.psych-source__body strong,.psych-source__body em{display:block}.psych-source__body small{margin-bottom:5px;color:var(--source-accent);font-size:.61rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.psych-source__body strong{color:var(--st-navy);font-size:.82rem;line-height:1.4}.psych-source__body em{margin-top:6px;color:var(--st-muted);font-size:.7rem;font-style:normal;line-height:1.5}.psych-source__arrow{margin-top:4px;color:#8996a0;font-size:.72rem;transition:color .2s ease,transform .2s ease}.psych-source:hover .psych-source__arrow{color:var(--source-accent);transform:translate(2px,-2px)}
@keyframes psychSettingIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(max-width:820px){.psych-settings{padding:58px 16px}.psych-settings__heading{grid-template-columns:1fr;gap:18px}.psych-settings__heading>p{padding:14px 0 0;border-top:3px solid var(--st-coral);border-left:0}.psych-settings__chooser{grid-template-columns:repeat(2,1fr)}.psych-settings__panel>header{grid-template-columns:1fr;gap:7px}.psych-settings__work{grid-template-columns:1fr}.psych-settings__work section,.psych-settings__work aside{min-height:0;border-right:0;border-bottom:1px solid var(--st-line)}.psych-settings__sources>header{grid-template-columns:1fr;gap:7px}.psych-settings__source-grid{grid-template-columns:1fr}.psych-source{border-right:0;border-bottom:1px solid var(--st-line)!important}.psych-source:last-child{border-bottom:0!important}}
@media(max-width:500px){.psych-settings__chooser,.psych-settings__metrics{grid-template-columns:1fr}.psych-settings__metrics>div{border-right:0;border-bottom:1px solid var(--st-line)}.psych-settings__metrics>div:last-child{border-bottom:0}.psych-settings__chooser button{display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;gap:2px 10px;text-align:left}.psych-settings__chooser i{grid-row:1/3;margin:0;align-self:center}.psych-settings__chooser span,.psych-settings__chooser small{align-self:center}.psych-source{grid-template-columns:42px minmax(0,1fr);padding:21px 18px}.psych-source__icon{width:42px;height:42px}.psych-source__arrow{grid-column:2;margin-top:0}}
@media(prefers-reduced-motion:reduce){.psych-settings__panel.is-active{animation:none}}
