/* Scoped to the internal path and phase screens. */
.path-screen .validated-protocol{margin:22px 0;min-width:0}
.path-screen .validated-lead{padding:20px 22px;border:1px solid #cfe6f0;border-left:4px solid var(--primary);border-radius:18px;background:#edf7fc;color:var(--ink);font-size:1.02rem;line-height:1.65}
.path-screen .validated-lead p{margin:0}
.path-screen .phase-content-index,.path-screen .phase-existing-summary{margin:16px 0;border:1px solid #d8e5eb;border-radius:16px;background:#fff;overflow:hidden}
.path-screen .phase-content-index>summary,.path-screen .phase-existing-summary>summary{padding:16px 18px;min-height:52px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;font-weight:800;color:var(--primary)}
.path-screen .phase-content-index>summary::-webkit-details-marker,.path-screen .phase-existing-summary>summary::-webkit-details-marker{display:none}
.path-screen .phase-content-index nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 18px;padding:0 18px 16px}
.path-screen .phase-content-index a{display:flex;align-items:center;min-height:44px;padding:8px 10px;border-radius:10px;background:#f4f9fc;color:var(--primary);text-decoration:none;font-size:.92rem;line-height:1.4}
.path-screen .phase-content-index a:hover{background:#e5f2f9}
.path-screen .validated-block-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;margin-top:18px}
.path-screen .validated-block{min-width:0;border:1px solid #d8e5eb;border-radius:20px;background:#fff;overflow:hidden;scroll-margin-top:110px;box-shadow:0 8px 24px -24px rgba(0,88,126,.3)}
.path-screen .validated-block>header{display:flex;align-items:flex-start;gap:10px;padding:18px 20px;border-bottom:1px solid #e0edf3;background:#f4f9fc}
.path-screen .validated-block h3{margin:0;font-size:1.06rem;line-height:1.4;letter-spacing:-.015em;color:var(--ink-strong)}
.path-screen .validated-block-number{flex:0 0 26px;min-height:26px;display:grid;place-items:center;border-radius:8px;background:#e1eff7;color:var(--primary);font-size:.7rem;font-weight:850}
.path-screen .validated-block-body{padding:18px 20px;font-size:1rem;line-height:1.65;overflow-wrap:anywhere}
.path-screen .validated-block-body p{margin:0 0 12px}
.path-screen .validated-block-body p:last-child{margin-bottom:0}
.path-screen .validated-block-body ul,.path-screen .validated-block-body ol{margin:0;padding-left:22px}
.path-screen .validated-block-body li{padding:3px 0;margin-bottom:5px}
.path-screen .validated-block-body h4{margin:14px 0 7px;font-size:1rem;line-height:1.45;color:var(--primary)}
.path-screen .validated-block-body h4:first-child{margin-top:0}
.path-screen .validated-info{background:#f2f9fd;border-color:#cfe5f0}
.path-screen .validated-info>header{background:#e8f4fb}
.path-screen .validated-warning{border-color:#ead6ae;background:#fffbf3}
.path-screen .validated-warning>header{background:#fff4df;border-color:#eee0c7}
.path-screen .validated-warning .validated-block-number{background:#f8e7c2;color:#89611e}
.path-screen .validated-contact{border-color:#b8d8e7;background:#ecf6fc}
.path-screen .validated-contact>header{background:#def0fa}
.path-screen .validated-accordion{grid-column:1/-1}
.path-screen .validated-accordion .validated-block-body{padding:8px 16px 12px}
.path-screen .validated-block-body details{border-bottom:1px solid #dce8ee}
.path-screen .validated-block-body details:last-child{border-bottom:0}
.path-screen .validated-block-body summary{min-height:52px;cursor:pointer;padding:14px 6px;font-weight:750;line-height:1.45;color:var(--ink-strong)}
.path-screen .validated-answer{padding:0 6px 16px}
.path-screen .phase-existing-summary .phase-content-grid{margin:0;padding:0 14px 14px}
.phase-detail-screen>.safety-note{margin:18px 0}
.path-screen .phase-device-section{padding:22px;border:1px solid #cce3ee;border-radius:22px;background:#eff7fc;scroll-margin-top:110px}
.path-screen .phase-device-section .device-context-list{margin-top:14px}
.phase-detail-screen .rehab-module{margin-top:24px;border:1px solid #d6e7ef;border-radius:22px;background:#f6fafc;padding:20px}
.path-screen .phase-content-index a:focus-visible,.path-screen .validated-block-body summary:focus-visible{outline:3px solid #a7d4e9;outline-offset:2px}
@media(max-width:759px){
 .path-screen .validated-protocol{margin:16px 0}
 .path-screen .validated-block-grid{grid-template-columns:1fr;gap:12px}
 .path-screen .validated-lead{padding:16px;font-size:1rem;line-height:1.6}
 .path-screen .validated-block>header{padding:15px 16px}
 .path-screen .validated-block-body{padding:16px;line-height:1.6}
 .path-screen .validated-block h3{font-size:1.02rem}
 .path-screen .phase-content-index nav{grid-template-columns:1fr;padding-inline:12px}
 .path-screen .phase-device-section{padding:16px}
 .phase-detail-screen .rehab-module{padding:12px;border-radius:18px}
}

/* Editorial refinement: keep the protocol intact, reduce competing surfaces. */
.path-screen .validated-block-grid{grid-template-columns:minmax(0,1fr);gap:0}
.path-screen .validated-block{border:0;border-bottom:1px solid #e2e9ed;border-radius:0;background:transparent;box-shadow:none;overflow:visible;padding:26px 0}
.path-screen .validated-block>header{padding:0 0 12px;border:0;background:transparent;align-items:baseline}
.path-screen .validated-block h3{font-size:1.18rem;font-weight:750;line-height:1.4}
.path-screen .validated-block-number{background:transparent;border-radius:0;min-height:0;flex-basis:22px;color:#6c8793;font-weight:650}
.path-screen .validated-block-body{padding:0 0 0 32px;line-height:1.75}
.path-screen .validated-block-body p{margin-bottom:14px}
.path-screen .validated-block-body li{margin-bottom:6px}
.path-screen .validated-info,.path-screen .validated-contact,.path-screen .validated-warning{margin:14px 0;padding:22px;border:1px solid #dce9ef;border-radius:12px;background:#f4f9fc}
.path-screen .validated-info>header,.path-screen .validated-contact>header,.path-screen .validated-warning>header{background:transparent;border:0}
.path-screen .validated-warning{background:#fffaf0;border-color:#eddfc2}
.path-screen .validated-warning .validated-block-number{background:transparent;color:#89611e}
.path-screen .validated-lead{padding:16px 20px;border:0;border-left:3px solid #9bc7d9;border-radius:0;background:transparent;font-size:1.06rem}
.path-screen .phase-content-index,.path-screen .phase-existing-summary{border:0;border-top:1px solid #dfe8ed;border-bottom:1px solid #dfe8ed;border-radius:0;background:transparent}
.path-screen .phase-content-index>summary,.path-screen .phase-existing-summary>summary{padding:16px 0;font-weight:700}
.path-screen .phase-content-index nav{padding:0 0 16px}
.path-screen .phase-content-index a{background:transparent;border-radius:6px;padding:8px 0}
.path-screen .phase-content-index a:hover{background:#f0f7fa}
.path-screen .validated-accordion .validated-block-body{padding:0 0 0 32px}
.path-screen .phase-device-section{border-radius:14px;background:#f5fafc;border-color:#dae8ee}
.phase-detail-screen .rehab-module{border:0;border-top:1px solid #dfe8ed;border-radius:0;background:transparent;padding:26px 0}
.path-screen .phase-chip{box-shadow:none;border-radius:12px;background:#fff}
.path-screen .phase-chip:hover{box-shadow:none}
.path-screen .phase-chip.is-active{box-shadow:none;background:#f6fafc}
.path-screen .phase-chip.is-previous,.path-screen .phase-chip.is-future{background:#fff;border-color:#dce5e9}
.path-screen .phase-pagination>a{box-shadow:none;border-radius:10px}
@media(min-width:1025px){
 .phase-detail-screen{max-width:1040px;margin-inline:auto}
 .phase-detail-screen .validated-protocol,.phase-detail-screen .phase-existing-summary,.phase-detail-screen>.safety-note{max-width:780px;margin-inline:auto}
 .phase-detail-screen .validated-protocol{margin-top:32px;margin-bottom:32px}
 .phase-detail-screen .validated-block{padding-block:30px}
 .phase-detail-screen .validated-block-body{font-size:1.04rem}
 .phase-detail-screen .validated-info,.phase-detail-screen .validated-contact,.phase-detail-screen .validated-warning{padding:24px}
 .path-screen .phase-chip{min-height:114px;aspect-ratio:auto;padding:18px 14px;gap:7px}
 .path-screen .phase-chip>span{width:34px;height:34px;flex-basis:34px;font-size:.92rem;box-shadow:none}
 .path-screen .phase-chip strong{min-height:2.4em;font-size:.96rem;line-height:1.3}
 .path-screen .phase-chip.is-active{border-width:1.5px}
}
@media(max-width:759px){
 .path-screen .validated-block{padding:22px 0}
 .path-screen .validated-block h3{font-size:1.08rem}
 .path-screen .validated-block-body{padding-left:0;line-height:1.65}
 .path-screen .validated-accordion .validated-block-body{padding-left:0}
 .path-screen .validated-info,.path-screen .validated-contact,.path-screen .validated-warning{padding:18px 16px;margin:10px 0}
 .path-screen .validated-lead{padding:10px 16px;font-size:1rem}
 .path-screen .phase-content-index nav{padding-inline:0}
 .phase-detail-screen .rehab-module{padding:22px 0}
}

/* Native independent disclosures: complete text remains in the document. */
.path-screen details.validated-disclosure{padding:0;margin:0;border:0;border-bottom:1px solid #dfe7eb;border-radius:0;background:transparent;overflow:visible;box-shadow:none}
.path-screen .validated-disclosure>summary{display:flex;align-items:baseline;gap:10px;min-height:66px;padding:20px 0;cursor:pointer;list-style:none;color:var(--ink-strong);-webkit-tap-highlight-color:transparent}
.path-screen .validated-disclosure>summary::-webkit-details-marker{display:none}
.path-screen .validated-disclosure>summary h3{flex:1;min-width:0;margin:0;font-size:1.1rem;line-height:1.45}
.path-screen .protocol-toggle{position:relative;align-self:center;flex:0 0 24px;width:24px;height:24px;color:var(--primary)}
.path-screen .protocol-toggle::before,.path-screen .protocol-toggle::after{content:'';position:absolute;background:currentColor;left:6px;top:11px;width:12px;height:1.5px;transition:transform .18s ease}
.path-screen .protocol-toggle::after{transform:rotate(90deg)}
.path-screen .validated-disclosure[open]>summary .protocol-toggle::after{transform:rotate(0)}
.path-screen .validated-disclosure>.validated-block-body{padding:0 0 24px 32px}
.path-screen .validated-disclosure[open]>.validated-block-body{animation:protocol-reveal .18s ease-out}
.path-screen .validated-disclosure>summary:focus-visible{outline:2px solid var(--primary);outline-offset:4px;border-radius:4px}
@keyframes protocol-reveal{from{opacity:.35;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1025px){
 .path-screen .phase-chip{min-height:88px;padding:12px;gap:4px;border-radius:10px}
 .path-screen .phase-chip>span{width:28px;height:28px;flex-basis:28px;font-size:.84rem}
 .path-screen .phase-chip strong{font-size:.9rem;line-height:1.25;min-height:0}
 .path-screen .phase-chip-meta{font-size:.6rem}
 .path-screen .phase-chip-state{font-size:.62rem}
 .path-screen .phase-pagination>a{min-height:56px;padding:9px 14px}
 .path-screen .validated-protocol{margin-block:24px}
}
@media(max-width:759px){
 .path-screen .validated-disclosure>summary{min-height:64px;padding:18px 0;gap:8px}
 .path-screen .validated-disclosure>summary h3{font-size:1.04rem}
 .path-screen .validated-disclosure>.validated-block-body{padding:0 0 22px}
}
@media(prefers-reduced-motion:reduce){
 .path-screen .validated-disclosure[open]>.validated-block-body{animation:none}
 .path-screen .protocol-toggle::before,.path-screen .protocol-toggle::after{transition:none}
}
@supports (interpolate-size:allow-keywords){
 @supports selector(details::details-content){
  .path-screen .validated-disclosure{interpolate-size:allow-keywords}
  .path-screen .validated-disclosure::details-content{height:0;overflow:clip;transition:height .2s ease,content-visibility .2s allow-discrete}
  .path-screen .validated-disclosure[open]::details-content{height:auto}
  @media(prefers-reduced-motion:reduce){.path-screen .validated-disclosure::details-content{transition:none}}
 }
}

/* Final path-only surfaces: warm white, quiet outlines, clear current phase. */
.path-screen details.validated-disclosure{margin:10px 0;border:1px solid #e5e2dc;border-radius:12px;background:#fffefa;box-shadow:0 2px 8px rgba(60,54,40,.025)}
.path-screen .validated-disclosure>summary{padding:18px 20px;min-height:64px}
.path-screen .validated-disclosure[open]{border-color:#bdcecF;background:#fffefa}
.path-screen .validated-disclosure>.validated-block-body{padding:0 20px 22px 52px}
.path-screen .validated-disclosure>summary:focus-visible{outline-offset:2px}
.path-screen .validated-info,.path-screen .validated-contact{background:#f7f9f6;border-color:#dde5dd}
.path-screen .validated-warning{background:#fff9ee;border-color:#ecdfc8}
.path-screen .validated-lead{border-left-color:#a9c4bd}
.path-screen .phase-chip{background:#fffefa;border-color:#e0e2dc;border-radius:11px}
.path-screen .phase-chip.is-previous,.path-screen .phase-chip.is-future{background:#fffefa;border-color:#e0e2dc}
.path-screen .phase-chip.is-active{background:#eef5f2;border:2px solid #28758b;box-shadow:inset 0 -3px 0 #28758b}
.path-screen .phase-chip-meta{font-weight:650;letter-spacing:.035em}
.path-screen .phase-current-summary{background:#f4f8f4;border-color:#97b9b4}
.path-screen .phase-footer-navigation{margin-top:28px;padding-top:24px;border-top:1px solid #e2e3dc}
.path-screen .phase-footer-navigation .phase-pagination{margin-bottom:0}
@media(min-width:1025px){
 .path-screen .phase-chip{min-height:82px;padding:11px 12px}
 .path-screen .phase-chip strong{font-weight:750;font-size:.88rem}
 .path-screen .phase-chip>span{width:26px;height:26px;flex-basis:26px}
 .path-screen .phase-strip{gap:9px}
 .phase-detail-screen .phase-footer-navigation{max-width:1040px;margin-inline:auto}
}
@media(max-width:759px){
 .path-screen .validated-disclosure>summary{padding:17px 14px;min-height:64px}
 .path-screen .validated-disclosure>.validated-block-body{padding:0 16px 20px}
 .path-screen .phase-footer-navigation{margin-top:22px;padding-top:20px}
}

/* Overview chooses a phase; detail keeps only its existing current-phase intro. */
.path-screen .phase-detail-navigation{margin:18px 0 24px}
.path-screen .phase-detail-navigation .phase-pagination{margin-bottom:0}
.path-screen.phase-overview-screen .phase-strip{gap:12px;margin-top:14px}
.path-screen.phase-overview-screen .phase-chip{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;align-items:center;gap:5px 12px;min-height:100px;aspect-ratio:auto;padding:18px;text-align:left;border:1px solid #e3dfd7;border-radius:14px;background:#fffdf8;box-shadow:0 3px 12px rgba(62,55,39,.035)}
.path-screen.phase-overview-screen .phase-chip>span{grid-column:1;grid-row:1 / 3;width:36px;height:36px;flex-basis:36px;background:#eef2e9;color:#5a7254;font-size:1rem;box-shadow:none}
.path-screen.phase-overview-screen .phase-chip-meta{grid-column:2;grid-row:1;font-size:.62rem;line-height:1.3;letter-spacing:.045em;font-weight:650;color:#7a7d73}
.path-screen.phase-overview-screen .phase-chip strong{grid-column:2;grid-row:2;display:block;min-height:0;font-size:.96rem;line-height:1.35;font-weight:750;color:#2f3c3d}
.path-screen.phase-overview-screen .phase-chip:nth-child(2)>span{background:#eaf2f3;color:#427581}
.path-screen.phase-overview-screen .phase-chip:nth-child(3)>span{background:#f0edf4;color:#756383}
.path-screen.phase-overview-screen .phase-chip:nth-child(4)>span{background:#faf0e4;color:#aa723d}
.path-screen.phase-overview-screen .phase-chip:hover{background:#fffaf0;border-color:#b5c3b7;transform:translateY(-1px)}
.path-screen.phase-overview-screen .phase-chip:focus-visible{outline:3px solid #8eb9b2;outline-offset:3px}
@media(max-width:1024px){
 .path-screen.phase-overview-screen .phase-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .path-screen.phase-overview-screen .phase-chip{min-height:88px;padding:15px}
}
@media(max-width:640px){
 .path-screen.phase-overview-screen .phase-strip{grid-template-columns:1fr;gap:9px}
 .path-screen.phase-overview-screen .phase-chip{min-height:78px;padding:14px 16px;grid-template-columns:34px minmax(0,1fr);gap:3px 12px;border-radius:12px}
 .path-screen.phase-overview-screen .phase-chip>span{width:34px;height:34px;font-size:.95rem}
 .path-screen.phase-overview-screen .phase-chip strong{font-size:.98rem;line-height:1.3}
 .path-screen.phase-overview-screen .phase-chip-meta{font-size:.61rem}
 .path-screen .phase-detail-navigation{margin:14px 0 20px}
}

/* Single-phase introduction only: one unified focus surface. */
.path-screen.phase-detail-screen .phase-focus-card.phase-hero-card{display:block;position:relative;margin:20px 0 0;padding:32px 36px;border:1px solid #d8e3db;border-radius:22px;background:linear-gradient(115deg,#fcfaf3 0%,#f0f6f1 65%,#e9f2ee 100%);color:#344b4c;box-shadow:0 12px 32px -24px rgba(39,81,74,.3);overflow:visible}
.path-screen.phase-detail-screen .phase-hero-card>small{display:inline-block;margin:0 0 18px;padding:6px 10px;border:1px solid #c9dbd2;border-radius:7px;background:#e9f1e9;color:#326b68;font-size:.73rem;font-weight:800;line-height:1.3;letter-spacing:.1em;text-transform:uppercase}
.path-screen.phase-detail-screen .phase-hero-card .phase-kicker{display:block;margin:0 0 8px;color:#63766c;font-size:.88rem;font-weight:650;letter-spacing:.01em}
.path-screen.phase-detail-screen .phase-hero-card h2{margin:0 0 14px;color:#224e58;font-size:clamp(1.65rem,2.4vw,2.3rem);line-height:1.16;font-weight:800;letter-spacing:-.035em;overflow-wrap:anywhere}
.path-screen.phase-detail-screen .phase-hero-card>p{max-width:72ch;margin:0;color:#455e5d;font-size:1.04rem;line-height:1.7}
.path-screen.phase-detail-screen .phase-hero-lead{max-width:72ch;margin-top:16px;padding:0;border:0;background:transparent;color:#455e5d;font-size:1rem;line-height:1.7}
.path-screen.phase-detail-screen .phase-hero-lead p{margin:0 0 10px}
.path-screen.phase-detail-screen .phase-hero-lead p:last-child{margin-bottom:0}
.path-screen.phase-detail-screen .phase-hero-reference{max-width:90ch;margin:12px 4px 0;padding:0;border:0;color:#77837b;font-size:.78rem;line-height:1.55}
.path-screen.phase-detail-screen .phase-hero-card .phase-rehab-meta{margin-top:20px;gap:12px}
.path-screen.phase-detail-screen .phase-hero-card .phase-exercise-summary{background:transparent;border:0;padding:0;color:#526f68}
.path-screen.phase-detail-screen .phase-hero-card .phase-exercise-jump{background:#fffdf7;border:1px solid #cdded4;color:#286b70;box-shadow:none}
.path-screen.phase-detail-screen .phase-detail-navigation{margin:16px 0 18px}
.path-screen.phase-detail-screen .phase-detail-navigation .phase-pagination>a{min-height:44px;border-color:transparent;background:transparent;box-shadow:none;padding:8px 4px}
.path-screen.phase-detail-screen .phase-detail-navigation .phase-pagination small{font-size:.61rem}
.path-screen.phase-detail-screen .phase-detail-navigation .phase-pagination strong{font-size:.85rem}
.path-screen.phase-detail-screen .validated-protocol{margin-top:0}
.path-screen.phase-detail-screen .validated-block-grid{margin-top:0}
@media(max-width:1024px){.path-screen.phase-detail-screen .phase-focus-card.phase-hero-card{padding:28px;border-radius:20px}}
@media(max-width:640px){
 .path-screen.phase-detail-screen .phase-focus-card.phase-hero-card{padding:23px 20px;border-radius:18px;margin-top:16px}
 .path-screen.phase-detail-screen .phase-hero-card>small{margin-bottom:15px;font-size:.68rem}
 .path-screen.phase-detail-screen .phase-hero-card h2{font-size:1.7rem;line-height:1.2}
 .path-screen.phase-detail-screen .phase-hero-card>p,.path-screen.phase-detail-screen .phase-hero-lead{font-size:.97rem;line-height:1.65}
 .path-screen.phase-detail-screen .phase-hero-reference{font-size:.75rem;margin-top:10px}
}

/* Final responsive refinement, limited to path and phase screens. */
.path-screen{
  --path-outline:#dfe4dd;
  --path-muted:#647770;
  --path-radius:14px;
  min-width:0;
}
.path-screen .path-title-grid h1{max-width:24ch;line-height:1.15;letter-spacing:-.035em}
.path-screen .path-title-grid p{max-width:62ch;line-height:1.65}
.path-screen .app-section-head h2{font-size:1.35rem;line-height:1.3;letter-spacing:-.025em}
.path-screen .app-section-head small{color:var(--path-muted);letter-spacing:.055em}
.path-screen :is(.phase-existing-summary,.validated-protocol,.phase-detail-navigation,.phase-footer-navigation,.phase-device-section,.rehab-module){min-width:0}
.path-screen .phase-pagination{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.path-screen .phase-pagination>a{min-width:0;border-radius:var(--path-radius);box-shadow:none}
.path-screen .phase-pagination>a>span{min-width:0}
.path-screen .phase-pagination strong{line-height:1.35;overflow-wrap:anywhere}
.path-screen .phase-footer-navigation{margin-block:24px 0;padding-top:20px;border-color:var(--path-outline)}
.path-screen .phase-footer-navigation .phase-pagination>a{min-height:76px;padding:15px 18px;border:1px solid #c5d5cf;background:#fffefa}
.path-screen .phase-footer-navigation .phase-pagination>a.next{border-color:#a7c5bf;background:#eef5f2}
.path-screen .phase-footer-navigation .phase-pagination :is(strong,.button-icon){color:#286b70}
.path-screen .phase-footer-navigation .phase-pagination small{color:#596f69;font-size:.69rem}
.path-screen .phase-footer-navigation .phase-pagination strong{font-size:.95rem}
.path-screen .phase-footer-navigation+.app-section{margin-top:28px}
.path-screen details.validated-disclosure{margin:8px 0;border-color:var(--path-outline);border-radius:var(--path-radius);background:#fffefa;box-shadow:none}
.path-screen .validated-disclosure>summary{align-items:center;min-height:64px;padding:17px 20px;gap:12px}
.path-screen .validated-disclosure>summary h3{font-size:1.08rem;font-weight:750;line-height:1.4}
.path-screen .validated-disclosure>summary .validated-block-number{align-self:baseline;padding-top:3px;color:var(--path-muted)}
.path-screen .protocol-toggle{width:28px;height:28px;flex-basis:28px;color:#286b70}
.path-screen .protocol-toggle::before,.path-screen .protocol-toggle::after{left:6px;top:13px;width:16px;height:2px;border-radius:1px}
.path-screen .validated-disclosure>.validated-block-body{padding:0 20px 21px 54px;font-size:1rem;line-height:1.7}
.path-screen :is(.validated-info,.validated-contact){background:#f5f8f4;border-color:var(--path-outline);border-radius:var(--path-radius)}
.path-screen .phase-existing-summary{margin-block:20px;border-color:var(--path-outline)}
.path-screen .phase-device-section{margin-top:24px;padding:22px;border-color:var(--path-outline);border-radius:var(--path-radius);background:#f5f8f6}
.path-screen .rehab-module{margin-top:24px;padding-block:24px;border-color:var(--path-outline)}
.path-screen .faq-list details{border-color:var(--path-outline);border-radius:var(--path-radius);box-shadow:none}
.path-screen .faq-list summary{min-height:60px;padding:17px 18px;gap:14px;line-height:1.45}
.path-screen .faq-list summary b{flex:0 0 28px;font-size:1.5rem;line-height:1;color:#286b70}
.path-screen.phase-overview-screen .phase-chip{border-color:var(--path-outline);border-radius:var(--path-radius);box-shadow:none;padding-right:32px}
.path-screen.phase-overview-screen .phase-chip>span,
.path-screen.phase-overview-screen .phase-chip:nth-child(n)>span{background:#edf3ee;color:#42736c}
.path-screen.phase-overview-screen .phase-chip strong{color:#2f494a}
.path-screen.phase-detail-screen .phase-detail-navigation{margin-block:10px 18px}
.path-screen.phase-detail-screen .phase-detail-navigation .phase-pagination{gap:16px}
.path-screen.phase-detail-screen .phase-detail-navigation .phase-pagination>a{min-height:48px;padding:8px 4px}
.path-screen.phase-detail-screen .phase-detail-navigation .phase-pagination small{color:var(--path-muted);font-size:.64rem}
.path-screen.phase-detail-screen .phase-detail-navigation .phase-pagination :is(strong,.button-icon){color:#496c6c}
.path-screen.phase-detail-screen .phase-hero-card>p,
.path-screen.phase-detail-screen .phase-hero-lead{max-width:65ch}
.path-screen.phase-detail-screen .phase-hero-card h2{max-width:27ch}
.path-screen.phase-detail-screen .phase-hero-reference{max-width:90ch}
@media(min-width:641px) and (max-width:1024px){
  .path-screen{width:100%;max-width:800px;margin-inline:auto}
  .path-screen.phase-detail-screen{max-width:760px}
  .path-screen .path-screen-head{padding-bottom:18px}
  .path-screen .path-title-grid{gap:24px}
  .path-screen .path-title-grid h1{font-size:2.15rem}
  .path-screen.phase-detail-screen .phase-focus-card.phase-hero-card{padding:30px 32px;margin-top:18px;border-radius:20px}
  .path-screen.phase-detail-screen .phase-hero-card h2{font-size:2rem}
  .path-screen.phase-detail-screen .phase-hero-card>p,
  .path-screen.phase-detail-screen .phase-hero-lead{font-size:1rem;line-height:1.7}
  .path-screen.phase-detail-screen :is(.validated-protocol,.phase-existing-summary,.phase-footer-navigation){max-width:680px;margin-inline:auto}
  .path-screen .validated-disclosure>summary{padding:19px 22px;min-height:70px}
  .path-screen .validated-disclosure>.validated-block-body{padding-inline:56px 22px}
  .path-screen .phase-footer-navigation .phase-pagination>a{min-height:80px;padding:17px 20px}
  .path-screen.phase-overview-screen .phase-strip{gap:14px;margin-top:18px}
  .path-screen.phase-overview-screen .phase-chip{min-height:104px;padding:20px 32px 20px 18px}
}
@media(min-width:1025px){
  .path-screen{max-width:1040px;margin-inline:auto}
  .path-screen .path-screen-head{padding-bottom:20px}
  .path-screen .path-title-grid h1{font-size:2.6rem}
  .path-screen.phase-detail-screen .phase-focus-card.phase-hero-card{padding:38px 42px;margin-top:20px;border-radius:22px}
  .path-screen.phase-detail-screen .phase-hero-card h2{font-size:2.4rem}
  .path-screen.phase-detail-screen :is(.validated-protocol,.phase-existing-summary,.phase-footer-navigation){max-width:780px;margin-inline:auto}
  .path-screen.phase-detail-screen .validated-protocol{margin-block:0 24px}
  .path-screen.phase-detail-screen .phase-detail-navigation{max-width:960px;margin:10px auto 20px}
  .path-screen.phase-detail-screen .phase-detail-navigation .phase-pagination strong{font-size:.82rem;font-weight:650}
  .path-screen.phase-detail-screen>.app-section:has(.faq-list){max-width:780px;margin-inline:auto}
  .path-screen.phase-detail-screen .phase-device-section{max-width:900px;margin-inline:auto}
}
@media(max-width:640px){
  .path-screen .path-screen-head{padding-bottom:12px}
  .path-screen .path-title-grid{gap:14px}
  .path-screen .path-title-grid h1{font-size:1.85rem;margin-bottom:8px}
  .path-screen .path-title-grid p{font-size:.95rem;line-height:1.6}
  .path-screen.phase-detail-screen .phase-focus-card.phase-hero-card{padding:20px 18px;margin-top:12px;border-radius:18px}
  .path-screen.phase-detail-screen .phase-hero-card>small{margin-bottom:12px;padding:5px 9px}
  .path-screen.phase-detail-screen .phase-hero-card .phase-kicker{font-size:.8rem;margin-bottom:7px}
  .path-screen.phase-detail-screen .phase-hero-card h2{font-size:1.6rem;margin-bottom:11px;line-height:1.2}
  .path-screen.phase-detail-screen .phase-hero-card>p,
  .path-screen.phase-detail-screen .phase-hero-lead{font-size:.96rem;line-height:1.6}
  .path-screen.phase-detail-screen .phase-hero-lead{margin-top:12px}
  .path-screen.phase-detail-screen .phase-hero-card .phase-rehab-meta{margin-top:15px;gap:9px}
  .path-screen.phase-detail-screen .phase-detail-navigation{margin-block:7px 14px}
  .path-screen .validated-disclosure>summary{padding:16px 14px;gap:9px;min-height:64px}
  .path-screen .validated-disclosure>summary h3{font-size:1rem}
  .path-screen .validated-disclosure>.validated-block-body{padding:0 14px 18px;line-height:1.65}
  .path-screen .phase-pagination{gap:9px}
  .path-screen .phase-footer-navigation{margin-top:20px;padding-top:18px}
  .path-screen .phase-footer-navigation .phase-pagination>a{min-height:76px;padding:12px}
  .path-screen .phase-footer-navigation .phase-pagination strong{font-size:.86rem}
  .path-screen .phase-footer-navigation .phase-pagination small{font-size:.63rem;line-height:1.3}
  .path-screen .phase-footer-navigation+.app-section{margin-top:24px}
  .path-screen .phase-device-section{padding:16px;margin-top:20px}
  .path-screen .rehab-module{padding-block:20px;margin-top:20px}
  .path-screen .faq-list summary{padding:15px 14px}
  .path-screen>.app-section:last-child{margin-bottom:24px}
}

/* Keep the open FAQ affordance consistent with the protocol disclosures. */
.path-screen .faq-list details[open]>summary b{transform:none;font-size:0}
.path-screen .faq-list details[open]>summary b::before{content:"−";font-size:1.5rem;line-height:1}

/* Final presentation system for paths and phases only. */
.path-screen{--path-paper:#fffdf8;--path-outline:#dedfd5;--path-teal:#286b70;--path-warning:#fff9eb;--path-warning-border:#e8d8b6}
.path-screen .validated-block-grid{gap:12px}
.path-screen .validated-block-grid>.validated-block{margin:0;border:1px solid var(--path-outline);border-radius:var(--path-radius);background:var(--path-paper);box-shadow:none;overflow:hidden}
.path-screen .validated-block-grid>section.validated-block{padding:22px}
.path-screen .validated-block>header{align-items:center;gap:12px;padding:0 0 12px}
.path-screen .validated-block h3{font-size:1.08rem;line-height:1.4}
.path-screen .validated-block>header h3{flex:1;min-width:0}
.path-screen .validated-block-grid .validated-block-body{padding:0;line-height:1.7}
.path-screen .validated-block-grid details.validated-disclosure{padding:0}
.path-screen .validated-block-grid .validated-disclosure>.validated-block-body{padding:0 22px 22px}
.path-screen .validated-topic-icon{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;color:var(--path-teal)}
.path-screen .validated-topic-icon svg{display:block;width:22px;height:22px}
.path-screen .validated-block-grid>.validated-warning,
.path-screen .validated-block-grid>.validated-contact,
.path-screen .validated-block-grid>.validated-caution{background:var(--path-warning);border-color:var(--path-warning-border)}
.path-screen :is(.validated-warning,.validated-contact) .validated-topic-icon{color:#8a6a31}
.path-screen.phase-detail-screen>.safety-note{border:1px solid var(--path-warning-border);border-radius:var(--path-radius);background:var(--path-warning);padding:20px 22px;box-shadow:none}
.path-screen.phase-detail-screen>.safety-note :is(strong,.safety-icon){color:#795d2f}
.path-screen .validated-disclosure>summary:hover{background:#f7f7ef}
.path-screen .validated-disclosure>summary:active{background:#edf3ee}
.path-screen :is(.validated-disclosure>summary,.faq-list summary,.phase-pagination>a,.phase-chip):focus-visible{outline:3px solid #82aaa3;outline-offset:3px}
.path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination{gap:12px}
.path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination>a{min-height:78px;padding:15px 18px;border:1px solid #c5d1c8;border-radius:var(--path-radius);background:var(--path-paper);box-shadow:none;transition:background .16s ease,border-color .16s ease}
.path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination>a.next{background:#eef4ed;border-color:#acc3b8}
.path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination :is(strong,.button-icon){color:var(--path-teal)}
.path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination small{color:#596e64;font-size:.68rem;line-height:1.35;letter-spacing:.04em}
.path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination strong{font-size:.95rem;font-weight:750;line-height:1.35}
.path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination>a:hover{background:#e8f0e8;border-color:#80a59a}
.path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination>a:active{background:#e0eae1}
.path-screen.phase-detail-screen .phase-detail-navigation .phase-pagination>a{min-height:70px;padding-block:12px}
.path-screen.phase-overview-screen .phase-chip{background:var(--path-paper);border-color:#deddd1}
.path-screen.phase-overview-screen .phase-chip:nth-child(n)>span{background:#edf0e4;color:#526d58}
.path-screen.phase-overview-screen .phase-chip-meta{color:#68715f}
.path-screen.phase-overview-screen .phase-chip:hover{background:#f6f5eb;border-color:#9eafa0}
@media(min-width:641px) and (max-width:1024px){
 .path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation,.safety-note){max-width:680px;margin-inline:auto}
 .path-screen .validated-block-grid>section.validated-block{padding:22px}
 .path-screen.phase-detail-screen .phase-detail-navigation{margin-block:16px 20px}
 .path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination>a{padding-inline:20px}
}
@media(min-width:1025px){
 .path-screen.phase-detail-screen .phase-detail-navigation{max-width:780px;margin-block:16px 24px}
 .path-screen.phase-detail-screen .phase-focus-card.phase-hero-card{padding:40px 44px}
 .path-screen.phase-detail-screen .phase-hero-card h2{font-size:2.5rem}
 .path-screen .validated-block-grid>section.validated-block{padding:24px}
 .path-screen .validated-block-grid .validated-disclosure>.validated-block-body{padding:0 24px 24px}
 .path-screen.phase-detail-screen .phase-footer-navigation{padding-top:24px}
}
@media(max-width:640px){
 .path-screen .validated-block-grid{gap:10px}
 .path-screen .validated-block-grid>section.validated-block{padding:18px 16px}
 .path-screen .validated-block h3{font-size:1rem}
 .path-screen .validated-block>header{gap:10px;padding-bottom:10px}
 .path-screen .validated-block-grid .validated-disclosure>.validated-block-body{padding:0 14px 18px}
 .path-screen .validated-topic-icon{flex-basis:22px;width:22px;height:22px}
 .path-screen .validated-topic-icon svg{width:21px;height:21px}
 .path-screen.phase-detail-screen>.safety-note{padding:18px 16px}
 .path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination{gap:9px}
 .path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination>a{min-height:76px;padding:12px}
 .path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination strong{font-size:.86rem}
 .path-screen.phase-detail-screen :is(.phase-detail-navigation,.phase-footer-navigation) .phase-pagination small{font-size:.63rem}
 .path-screen.phase-detail-screen .phase-detail-navigation{margin-block:12px 16px}
}
@media(prefers-reduced-motion:reduce){.path-screen.phase-detail-screen .phase-pagination>a{transition:none}}


