.site-nav { gap: clamp(18px, 2vw, 32px); margin-right: clamp(20px, 3vw, 42px); }
.site-nav a { white-space: nowrap; }
.patient-resources { background: var(--ice); border-top: 1px solid var(--blue-gray); padding-block: 96px; }
.patient-resources-heading { max-width: 920px; margin: 0 auto 58px; text-align: center; }
.patient-resources-heading .section-label::after { margin-inline: auto; }
.patient-resources-heading h2 { margin-bottom: 25px; font-size: clamp(3rem, 5.2vw, 5.6rem); }
.patient-resources-heading > p:last-child { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }
.patient-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1460px; margin: auto; gap: 24px; }
.patient-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(25px, 3vw, 44px); border: 1px solid var(--line); background: white; transition: border-color 180ms, box-shadow 180ms; }
.patient-card:hover, .patient-card:focus-visible { border-color: var(--teal); box-shadow: var(--shadow); }
.patient-card-number { font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--teal); margin-bottom: 32px; }
.patient-card-type { color: var(--muted); font-size: .76rem; font-weight: 600; line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; }
.patient-card h3 { margin: 14px 0 22px; font-size: clamp(1.9rem, 2.6vw, 2.75rem); line-height: 1.06; overflow-wrap: anywhere; }
.patient-card p { color: var(--muted); line-height: 1.7; margin-bottom: 34px; }
.patient-card-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--blue-gray); color: var(--teal); font-weight: 650; font-size: .92rem; }
.patient-card-link span { font-size: 1.6rem; line-height: 1; }
.guide-hero { padding: 30px var(--gutter) 58px; background: var(--ice); border-bottom: 1px solid var(--blue-gray); }
.guide-hero > * { max-width: 1260px; margin-inline: auto; }
.guide-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .85rem; margin-bottom: 46px; color: var(--muted); }
.guide-breadcrumb a:hover, .guide-breadcrumb a:focus-visible { text-decoration: underline; }
.guide-hero .section-label { margin-bottom: 23px; }
.guide-hero h1 { font-size: clamp(2.8rem, 5vw, 5.6rem); line-height: 1.06; margin-bottom: 22px; overflow-wrap: anywhere; }
.guide-subtitle { color: var(--muted); font-size: 1.15rem; line-height: 1.5; }
.guide-context { color: var(--muted); font-size: .92rem; margin-block: 24px 0; }
.guide-layout { display: grid; grid-template-columns: 252px minmax(0, 840px); gap: clamp(40px, 5vw, 90px); max-width: 1412px; margin: auto; padding: 64px var(--gutter) 82px; }
.guide-sidebar { min-width: 0; }
.guide-toc { position: sticky; top: 106px; border-top: 2px solid var(--teal); border-bottom: 1px solid var(--line); }
.guide-toc summary { padding: 19px 2px; font-size: .95rem; font-weight: 650; cursor: pointer; }
.guide-toc nav { max-height: calc(100vh - 200px); overflow-y: auto; padding-bottom: 20px; }
.guide-toc ol { padding: 0; margin: 0; list-style: none; }
.guide-toc a { display: block; padding: 8px 2px; color: var(--muted); line-height: 1.4; font-size: .91rem; }
.guide-toc a:hover, .guide-toc a:focus-visible { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.guide-content { min-width: 0; font-size: 1.075rem; line-height: 1.8; overflow-wrap: anywhere; }
.guide-content section { margin-bottom: 48px; scroll-margin-top: 16px; }
.guide-content h2 { font-size: clamp(2rem, 3vw, 2.65rem); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 23px; scroll-margin-top: 16px; }
.guide-content h3 { font-family: var(--sans); font-weight: 650; font-size: 1.15rem; line-height: 1.4; letter-spacing: 0; margin: 28px 0 14px; }
.guide-content h4 { font-size: 1rem; margin: 24px 0 12px; }
.guide-content p { margin-bottom: 22px; }
.guide-content ul, .guide-content ol { padding-left: 26px; margin: 16px 0 26px; }
.guide-content li { padding-left: 4px; margin-bottom: 10px; }
.guide-content a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.guide-content strong { font-weight: 650; }
.guide-attribution, .guide-source-attribution { padding: 22px 26px; margin-bottom: 42px; border-left: 3px solid var(--teal); background: var(--ice); font-size: .91rem; line-height: 1.7; }
.guide-attribution p:last-child, .guide-source-attribution p:last-child { margin-bottom: 0; }
.guide-content figure { margin: 32px 0; padding: 20px; border: 1px solid var(--blue-gray); background: white; break-inside: avoid; }
.guide-content figure img { width: auto; max-width: 100%; height: auto; margin: auto; }
.guide-content figcaption { margin-top: 17px; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.guide-figure-pair, .guide-figure-grid, .exercise-images { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; }
.guide-figure-pair img { flex: 0 1 calc(50% - 10px); min-width: 0; max-width: calc(50% - 10px); }
.guide-content .table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); margin: 25px 0; }
.guide-content table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.6; }
.guide-content th, .guide-content td { padding: 14px 16px; border-bottom: 1px solid var(--blue-gray); text-align: left; vertical-align: top; }
.guide-content th { background: var(--ice); font-weight: 650; }
.guide-content caption { text-align: left; padding: 12px 16px; font-weight: 650; }
.guide-content .table-scroll > table { min-width: 560px; }
.guide-content table p:last-child { margin-bottom: 0; }
.guide-references { font-size: .92rem; }
.guide-related { padding: 65px var(--gutter); background: var(--ice); border-top: 1px solid var(--blue-gray); }
.guide-related > * { max-width: 1260px; margin-inline: auto; }
.guide-related h2 { font-size: clamp(2.4rem, 4vw, 3.5rem); margin-bottom: 30px; }
.guide-related > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guide-related > div a { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 25px; background: white; border: 1px solid var(--line); font-family: var(--display); font-size: 1.6rem; line-height: 1.2; }
.guide-related > div a:hover, .guide-related > div a:focus-visible { border-color: var(--teal); }
.guide-back { display: block; margin-top: 30px; color: var(--teal); font-size: .92rem; }
@media (max-width: 1180px) {
  .site-nav a { white-space: normal; }
  .patient-card-grid { gap: 16px; }
  .patient-card { padding: 25px; }
}
@media (max-width: 960px) {
  .guide-layout { display: block; padding-top: 30px; }
  .guide-sidebar { margin-bottom: 36px; }
  .guide-toc { position: static; }
  .guide-toc nav { max-height: none; }
  .guide-hero h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); }
  .patient-card-grid { grid-template-columns: 1fr; max-width: 680px; }
  .patient-card-type { min-height: auto; }
  .patient-card-number { margin-bottom: 20px; }
  .patient-card h3 { font-size: 2.5rem; }
}
@media (max-width: 520px) {
  .guide-hero { padding-top: 22px; padding-bottom: 35px; }
  .guide-breadcrumb { margin-bottom: 31px; font-size: .8rem; }
  .guide-hero h1 { font-size: 2.7rem; }
  .guide-subtitle { font-size: 1rem; }
  .guide-layout { padding-bottom: 48px; }
  .guide-content { font-size: 1rem; line-height: 1.75; }
  .guide-content h2 { font-size: 2rem; }
  .guide-content figure { padding: 12px; }
  .guide-figure-pair { display: grid; grid-template-columns: 1fr; }
  .guide-figure-pair img { max-width: 100%; }
  .guide-attribution, .guide-source-attribution { padding: 18px; font-size: .86rem; }
  .guide-content th, .guide-content td { padding: 10px; }
  .guide-related > div { grid-template-columns: 1fr; }
  .guide-related > div a { font-size: 1.5rem; padding: 20px; }
  .patient-card h3 { font-size: 2.3rem; }
}
@media print {
  body.patient-guide-page { margin: 0; padding: 0; background: white; color: black; }
  body.patient-guide-page > * { display: none !important; }
  body.patient-guide-page::before {
    content: "Printed patient guides are provided by your care team.";
    display: block !important;
    padding: 24pt;
    font: 12pt/1.5 sans-serif;
  }
}
