@import url('resident-dashboard.css');

.resident-network {
  --resident-inset: clamp(24px, 4.2vw, 76px);
  --resident-space: clamp(36px, 5vw, 88px);
  color: var(--ink);
  font-size: var(--nova-body);
  line-height: 1.6;
}
.resident-network p { max-width: 65ch; }
.resident-network p + p { margin-block-start: .85em; }
.resident-network h2 { font-size: clamp(31px, 2.8vw, 50px); }
.resident-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(47%, 768px);
  color: #f9f8f1;
  background: #123f46;
}
.resident-hero > div { align-self: center; padding: var(--resident-inset); }
.resident-network .resident-kicker {
  margin-bottom: clamp(12px, 1.4vw, 22px);
  font: 650 clamp(12px, .85vw, 15px)/1.45 var(--ui);
  letter-spacing: .065em;
}
.resident-hero .resident-kicker { color: #c8e4dc; }
.resident-hero h1 {
  max-width: 17ch;
  font-size: clamp(43px, 4.25vw, 78px);
  line-height: 1.035;
  letter-spacing: -.032em;
}
.resident-hero h1 + p {
  max-width: 54ch;
  margin-top: clamp(16px, 1.65vw, 28px);
  color: #e8f0eb;
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.5;
}
.resident-photo { position: relative; min-height: 0; }
.resident-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 47%;
}
.resident-photo figcaption {
  position: absolute;
  inset: auto 12px 12px auto;
  padding: 3px 8px;
  color: white;
  background: #173037ec;
  font-size: 12px;
}
.resident-actions { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-top: 18px; }
.resident-network .resident-actions a,
.resident-resources a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 600 clamp(15px, 1.02vw, 18px)/1.4 var(--ui);
  text-underline-offset: .23em;
}
.resident-hero .resident-actions { flex-direction: column; align-items: start; }
.resident-hero .resident-actions a { color: #f9f8f1; }
.resident-hero .resident-actions a:first-child {
  padding: 9px 17px;
  color: #173c3f;
  background: #e6f0e6;
  text-decoration: none;
}
.resident-hero .resident-actions a:first-child:hover { background: white; text-decoration: underline; }
.resident-hero a:focus-visible { outline-color: #f7cf8e; }
.resident-chapter {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 18px clamp(28px, 6vw, 104px);
  padding: var(--resident-space) var(--resident-inset);
}
.resident-chapter h2 { max-width: 20ch; }
.resident-story .resident-kicker { color: #3a635d; }
.resident-story > div > p:first-child {
  max-width: 52ch;
  font-size: clamp(20px, 1.45vw, 23px);
  line-height: 1.46;
}
.resident-tiers {
  padding: var(--resident-space) var(--resident-inset);
  background: #e3ece4;
  scroll-margin-block-start: 16px;
}
.resident-tiers > p { margin-top: 14px; }
.resident-tiers ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(25px, 3vw, 54px);
  margin: clamp(26px, 2.8vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}
.resident-tiers li { border-top: 1px solid #879f92; padding-top: clamp(16px, 1.6vw, 26px); }
.resident-tiers h3 {
  margin: 0 0 12px;
  font: 400 clamp(25px, 2vw, 37px)/1.14 var(--reading);
  text-wrap: balance;
}
.resident-tiers h3 span {
  display: block;
  margin-bottom: 9px;
  color: #365e54;
  font: 650 clamp(14px, 1vw, 17px)/1.4 var(--ui);
}
.resident-network #hospital { padding-block: clamp(30px, 3.2vw, 58px); }
.resident-network #hospital h2 { font-size: clamp(26px, 2vw, 35px); }
.resident-network section#unit-test { border-block: 1px solid var(--rule); background: #fbfaf6; }
.resident-network #co-development { padding-bottom: clamp(36px, 4vw, 68px); }
.resident-resources {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px 8%;
  margin-inline: var(--resident-inset);
  padding-top: 25px;
  border-top: 1px solid var(--rule);
}
.resident-resources .references { margin: 0; }
.resident-resources :is(nav h2, .references h2) { font: 600 17px/1.45 var(--ui); }
.resident-resources ul { margin-top: 5px; padding: 0; list-style: none; }
.resident-resources .references li { border: 0; padding: 0; }
.resident-resources a { font-weight: 500; }
@media (min-width: 981px) {
  .resident-tiers ol { row-gap: 12px; }
  .resident-tiers li { display: grid; grid-row: span 2; grid-template-rows: subgrid; align-items: start; }
  .resident-tiers h3 { margin-bottom: 0; }
}
@media (max-width: 980px) {
  .resident-tiers ol { grid-template-columns: 1fr; gap: 22px; }
  .resident-tiers li { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 6%; }
}
@media (max-width: 850px) {
  .resident-hero { grid-template-columns: 1fr; }
  .resident-hero > div { padding-block: clamp(28px, 5vw, 42px); }
  .resident-photo { width: 100%; aspect-ratio: 2.1; max-height: 340px; }
  .resident-photo img { object-position: 50% 46%; }
}
@media (max-width: 700px) {
  .resident-network { --resident-inset: clamp(16px, 4vw, 25px); }
  .resident-chapter, .resident-resources, .resident-tiers li { grid-template-columns: 1fr; gap: 14px; }
  .resident-tiers h3 { margin: 0; }
  .resident-tiers h3 span { margin-bottom: 5px; }
  .resident-photo { aspect-ratio: 1.65; }
  .resident-resources { gap: 21px; }
}
@media print {
  .resident-hero { display: block; color: var(--ink); background: transparent; }
  .resident-hero > div, .resident-chapter, .resident-tiers { padding: 12pt 0; }
  .resident-photo, .resident-actions { display: none; }
  .resident-hero h1 + p, .resident-hero .resident-kicker { color: var(--ink); }
  .resident-chapter, .resident-tiers li { display: block; }
  .resident-tiers li { break-inside: avoid; }
}

.resident-network .cadence-section { background: #eaf1ed; }
.cadence-section > div:first-child {
  display: grid;
  gap: clamp(16px, 1.5vw, 24px);
}
.resident-rounds-photo { margin: 0; }
.resident-rounds-photo img { display: block; width: 100%; height: auto; }
.resident-rounds-photo figcaption {
  max-width: 52ch;
  margin-top: 9px;
  color: #374e4b;
  font: 400 .9375rem/1.45 var(--ui);
}
.cadence-list .resident-wristband {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
  margin: clamp(20px, 2vw, 32px) 0 0;
  padding-top: 16px;
  border-top: 1px solid #b0c2bb;
  scroll-margin-block-start: 24px;
}
.resident-wristband img { display: block; width: 100%; height: auto; }
.resident-wristband figcaption { color: #374e4b; font: 400 .9375rem/1.45 var(--ui); }
.resident-wristband figcaption strong { display: block; margin-bottom: 4px; color: var(--ink); }
@media print {
  .resident-rounds-photo { max-width: 75mm; break-inside: avoid; }
}
.resident-network .cadence-list p + p { margin-top: 18px; }
.resident-network #resident-history h2 { max-width: 19ch; }
.resident-network #how-it-works, .resident-network #between-rounds { scroll-margin-top: 20px; }
.resident-director-review .resident-hero .resident-photo img { object-position: 49% 48%; }

.resident-round-hero {
  grid-template-areas: "intro photo" "copy copy";
  grid-template-columns: minmax(0, 1fr) min(47%, 768px);
}
.resident-round-hero > .resident-round-intro { grid-area: intro; align-self: center; }
.resident-round-hero > .resident-round-copy { grid-area: copy; padding-block: clamp(24px, 2.6vw, 42px); }
.resident-round-hero > .resident-photo { grid-area: photo; width: 100%; max-height: none; aspect-ratio: 1.6; }
.resident-round-hero h1 + .resident-product-line {
  max-width: 31ch;
  margin-top: clamp(17px, 1.6vw, 28px);
  color: #d2e9df;
  font: 550 clamp(20px, 1.5vw, 27px)/1.3 var(--ui);
  letter-spacing: -.012em;
  text-wrap: balance;
}
.resident-round-hero .resident-round-copy > p {
  max-width: 68ch;
  color: #f0f4ed;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.5;
}
.resident-director-review .resident-round-hero .resident-photo img { object-position: 50% 18%; }
.resident-chapter.resident-timing { display: block; }
.resident-timing header { margin-bottom: clamp(20px, 2.5vw, 42px); }
.resident-timing header h2 { max-width: 30ch; }
.resident-timing header p { margin-top: 12px; }
.resident-timing-rows > div {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 8px clamp(24px, 4vw, 80px);
  padding-block: clamp(17px, 1.9vw, 30px);
  border-top: 1px solid #9fb4aa;
}
.resident-timing-rows > div:last-child { padding-bottom: 0; }
.resident-timing-rows dt {
  color: #204d46;
  font: 600 clamp(18px, 1.46vw, 24px)/1.35 var(--ui);
}
.resident-timing-rows .resident-wristband {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 35ch);
  align-items: center;
  gap: clamp(14px, 1.6vw, 25px);
  margin-block-start: clamp(12px, 1.35vw, 20px);
  scroll-margin-block-start: 24px;
}
@media (min-width: 1051px) {
  .resident-round-hero > .resident-photo { min-height: clamp(280px, 26vw, 450px); aspect-ratio: auto; }
  .resident-round-hero > .resident-round-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr);
    align-items: center;
    gap: clamp(24px, 5vw, 78px);
    border-top: 1px solid #56777a;
  }
  .resident-round-copy .resident-actions { margin-top: 0; }
}
@media (min-width: 851px) and (max-width: 1050px) {
  .resident-round-hero > .resident-round-intro { padding-block: 30px; }
  .resident-round-hero > .resident-photo { aspect-ratio: auto; }
  .resident-round-hero .resident-actions { flex-direction: row; }
}
@media (max-width: 850px) {
  .resident-round-hero { grid-template-columns: 1fr; grid-template-areas: "intro" "photo" "copy"; }
  .resident-round-hero > .resident-round-intro { padding-block: 24px; }
  .resident-round-hero > .resident-photo { width: 100%; max-height: none; aspect-ratio: 1.6; }
  .resident-round-hero > .resident-round-copy { padding-block: 20px 24px; }
}
@media (max-width: 700px) {
  .resident-timing-rows > div { grid-template-columns: 1fr; }
  .resident-timing-rows .resident-wristband {
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    align-items: start;
  }
}
@media print {
  .resident-round-hero h1 + .resident-product-line, .resident-round-hero .resident-round-copy > p { color: var(--ink); }
  .resident-timing-rows > div { break-inside: avoid; }
}

.resident-history-network {
  --care-teal: #123f42;
  --care-muted: #3c5652;
  --care-gold: #e7bf7b;
  --care-gap: clamp(24px, 4.5vw, 78px);
}
.resident-history-network h2 { font-size: clamp(32px, 3.1vw, 55px); line-height: 1.06; }
.resident-history-network :is(#smart-wristband, #resident-history) { scroll-margin-block-start: 18px; }
.resident-history-network .resident-actions { align-items: center; gap: 4px 20px; margin: 0; }
.resident-history-network .resident-actions a {
  min-height: 46px; color: var(--care-teal); font-size: clamp(15px, 1.03vw, 18px);
}
.resident-history-network .resident-actions a:first-child {
  padding: 10px 17px; color: #fff; background: var(--care-teal); text-decoration: none;
}
.resident-history-network .resident-actions a:first-child:hover { background: #215953; text-decoration: underline; }
.care-feature {
  display: grid;
  grid-template: "title photo" auto "summary summary" auto / minmax(0, .89fr) minmax(0, 1.11fr);
  background: #e8e9df;
}
.care-feature-title { grid-area: title; align-self: center; padding: clamp(26px, 3.15vw, 56px); }
.care-feature-title .resident-kicker { color: var(--care-muted); }
.care-feature-title h1 {
  max-width: 18ch;
  color: var(--ink);
  font-size: clamp(43px, 4.1vw, 76px);
  line-height: 1.015; letter-spacing: -.043em;
}
.care-feature-title h1 span { display: block; text-wrap: balance; }
.care-feature-title h1 span + span { margin-top: .11em; color: #365f53; }
.care-feature-photo { position: relative; grid-area: photo; min-height: clamp(280px, 28vw, 490px); }
.care-feature-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 23%;
}
.care-feature-photo figcaption {
  position: absolute; inset: auto 13px 10px auto; padding: 3px 7px;
  color: white; background: #102b2be8; font: 500 12px/1.4 var(--ui);
}
.care-feature-summary {
  grid-area: summary; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, .85fr);
  align-items: center; gap: 20px var(--care-gap); padding: clamp(20px, 2.5vw, 40px) clamp(26px, 3.15vw, 56px);
  border-bottom: 1px solid #c4ccbf; background: #f4f4ec;
}
.care-feature-summary > p { max-width: 74ch; font-size: clamp(17px, 1.23vw, 21px); line-height: 1.5; }
.care-feature-summary .resident-actions { flex-direction: column; align-items: start; }
.resident-history-network #how-it-works { padding-inline: var(--resident-inset); }
.history-spread {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-areas: "heading map" "prose map"; align-content: center;
  gap: 22px var(--care-gap); padding: var(--resident-space) var(--resident-inset);
  color: #f7f6ed; background: #123d40;
}
.history-spread #history-title { grid-area: heading; align-self: end; max-width: 20ch; }
.history-explanation { grid-area: prose; align-self: start; color: #e4eee9; }
.history-map {
  container-type: inline-size; grid-area: map; align-self: center;
  color: #143d38; background: #edf2e6; border-top: 4px solid var(--care-gold);
}
.history-map > figcaption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 16px clamp(16px, 2vw, 30px); border-bottom: 1px solid #bacabc;
}
.history-map > figcaption strong { font: 500 clamp(18px, 1.45vw, 25px)/1.2 var(--reading); }
.history-map > figcaption span, .history-population > p {
  color: #3a594f; font: 550 clamp(12px, .88vw, 15px)/1.4 var(--ui);
}
.history-map-body {
  --map-gap: clamp(20px, 2.5vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  align-items: center; gap: var(--map-gap); padding: clamp(20px, 2.2vw, 36px);
}
.history-population { min-width: 0; }
.history-population > p { margin-top: 12px; text-align: center; }
.history-matrix { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(3px, .28vw, 6px); }
.history-matrix i {
  position: relative; display: block; aspect-ratio: .84; border: 1px solid #799588;
  border-radius: 1px; background: #d6e3d4;
}
.history-matrix i::before, .history-matrix i::after {
  content: ""; position: absolute; inset: 36% 18% auto; height: 1px; background: #85a18e;
}
.history-matrix i::after { inset: 60% 37% auto 18%; }
.history-matrix .selected-history { z-index: 1; border-color: #544721; background: var(--care-gold); outline: 2px solid #765a24; }
.history-matrix .selected-history::before, .history-matrix .selected-history::after { background: #705c39; }
.history-matrix .selected-history::after {
  inset: 50% auto auto 100%; width: calc(var(--map-gap) + 4px); height: 1px; background: #907a4c;
}
.history-example {
  position: relative; padding: clamp(14px, 1.4vw, 24px); border-left: 3px solid #a27d3f;
  background: #fffcf3; box-shadow: 0 2px 10px #123d400a;
}
.history-example h3 { margin: 0; font: 500 clamp(19px, 1.55vw, 27px)/1.13 var(--reading); }
.history-example ul { margin: 10px 0 0; padding: 0; list-style: none; }
.history-example li { padding: 4px 0; border-bottom: 1px solid #d4dcca; }
.history-example li, .history-example p { font: 450 clamp(13px, .95vw, 16px)/1.4 var(--ui); }
.history-connections { margin-top: 14px; }
.history-connections h4 { margin: 0 0 4px; color: #47634e; font: 650 clamp(12px, .85vw, 15px)/1.4 var(--ui); }
.care-workflows, .care-transfer { padding: var(--resident-space) var(--resident-inset); }
.care-workflows > h2 { max-width: 24ch; margin-bottom: clamp(20px, 2.6vw, 43px); }
.care-workflow {
  display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 12px var(--care-gap); padding-block: clamp(16px, 2.1vw, 35px); border-top: 1px solid #a8b9af;
}
.care-workflow:last-child { padding-bottom: 0; }
.care-workflow h3 { max-width: 23ch; margin: 0; color: #285244; font: 550 clamp(21px, 1.7vw, 31px)/1.17 var(--reading); }
.care-workflow .workflow-device { max-width: 285px; margin-top: 15px; }
.workflow-device img { display: block; width: 100%; height: auto; aspect-ratio: 1.95; object-fit: cover; object-position: 45% 51%; }
.workflow-device figcaption, .garden-portrait figcaption { margin-top: 7px; color: #40594f; font: 500 13px/1.4 var(--ui); }
.resident-history-network #how-it-works a[href="#deployment-packages"] {
  margin-top: 8px; padding-inline: 0; color: var(--care-teal); background: transparent; text-decoration: underline;
}
.facility-plans {
  padding: var(--resident-space) var(--resident-inset) clamp(28px, 3vw, 48px);
  background: #eeeee4; border-top: 1px solid #bdcbbc;
  scroll-margin-block-start: 18px;
}
.facility-plans > header, .facility-plan-list > div, .facility-network {
  display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: start; column-gap: var(--care-gap);
}
.facility-plans > header { align-items: end; row-gap: 12px; }
.facility-plans .resident-kicker, .facility-network .resident-kicker {
  margin-bottom: 9px; color: #415f50;
}
.facility-plans h2 { max-width: 22ch; }
.facility-plans > header > div + div { max-width: 61ch; }
.resident-history-network .facility-plan-list {
  margin-block: clamp(21px, 2.7vw, 44px) 18px; border-bottom: 1px solid #a4b5a7;
}
.facility-plan-list > div { row-gap: 8px; padding-block: clamp(17px, 1.9vw, 31px); border-top: 1px solid #a4b5a7; }
.facility-plan-list dt { color: #224a40; font: 550 clamp(22px, 1.7vw, 31px)/1.17 var(--reading); }
.facility-plan-list dd { max-width: 65ch; }
.resident-history-network #resident-options {
  padding-block: clamp(21px, 2.6vw, 40px);
  background: #f7f6ee;
  border-top: 1px solid #bdcbbc;
}
.resident-history-network #resident-options h2 {
  max-width: 23ch;
  color: var(--care-teal);
  font-size: clamp(25px, 2.1vw, 37px);
  line-height: 1.12;
}
.facility-network {
  row-gap: 13px; padding: clamp(25px, 3.1vw, 52px) var(--resident-inset); background: #e0e8df;
  border-block: 1px solid #b9c7b9; scroll-margin-block-start: 18px;
}
.facility-network h2 { max-width: 26ch; font-size: clamp(25px, 2.1vw, 37px); line-height: 1.12; }
.facility-network .facility-equipment {
  display: grid;
  grid-template-columns: minmax(80px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(13px, 1.45vw, 22px);
  max-width: 440px;
  margin: clamp(16px, 2vw, 30px) 0 0;
  padding: 15px 0;
  border-block: 1px solid #a7baaa;
}
.facility-equipment img { display: block; width: 100%; height: auto; }
.facility-equipment figcaption { color: #314f46; font: 400 clamp(14px, 1vw, 17px)/1.45 var(--ui); }
.facility-equipment figcaption strong { display: block; margin-bottom: 4px; color: var(--care-teal); }
.facility-network-sources { display: flex; flex-wrap: wrap; column-gap: 20px; margin-top: 8px; }
.facility-network-sources a {
  display: inline-flex; align-items: center; min-height: 44px; color: #27524a;
  font: 550 clamp(14px, 1vw, 17px)/1.4 var(--ui); text-underline-offset: .22em;
}
.resident-history-network #unit-test[tabindex] { scroll-margin-block-start: 18px; }
.resident-history-network #unit-test[tabindex]:focus-visible { outline: 3px solid #e8c27e; outline-offset: -4px; }
.garden-story {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas: "portrait title" "portrait story";
  align-content: center; gap: 20px var(--care-gap); padding: var(--resident-space) var(--resident-inset);
  background: #f0eadb;
}
.garden-story > header { grid-area: title; align-self: end; }
.garden-story .resident-kicker { color: #5e634e; margin-bottom: 10px; }
.garden-story h2 { font-size: clamp(36px, 3.5vw, 63px); }
.garden-portrait { grid-area: portrait; align-self: center; }
.garden-portrait img { display: block; width: 100%; height: auto; }
.garden-story-copy { grid-area: story; }
.garden-story-copy blockquote {
  margin: 14px 0 0; padding-left: clamp(14px, 1.5vw, 23px); border-left: 2px solid #9f8556;
  color: #314b3f; font: 400 clamp(23px, 1.85vw, 34px)/1.27 var(--reading);
}
.care-transfer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; gap: var(--care-gap); }
.care-transfer h2 { max-width: 21ch; margin-bottom: 18px; }
.care-transfer .transfer-note {
  margin: clamp(18px, 2vw, 29px) 0;
  padding-left: clamp(14px, 1.45vw, 22px);
  border-left: 2px solid #a27d3f;
}
.transfer-note figcaption { color: var(--care-teal); font: 650 1rem/1.45 var(--ui); }
.care-transfer .transfer-note dl { margin: 9px 0 0; }
.transfer-note dl > div {
  display: grid;
  grid-template-columns: minmax(95px, .6fr) minmax(0, 2fr);
  gap: 3px clamp(12px, 1.3vw, 20px);
  padding-block: 8px;
  border-top: 1px solid #c4cec2;
}
.transfer-note dt { color: #3a5147; font-weight: 600; }
.transfer-note dd { margin: 0; }
.transfer-evidence {
  padding: clamp(18px, 2.3vw, 38px); color: #233f3b; background: #e4ede4;
  border-top: 2px solid #709985;
}
.transfer-evidence strong { display: block; margin-block: 8px; font: 400 clamp(50px, 5vw, 88px)/.97 var(--reading); letter-spacing: -.05em; }
.transfer-evidence a { font-weight: 570; }
.resident-history-network #co-development { border-top: 1px solid #b5c1b5; }
.resident-history-network #co-development .resident-actions { margin-top: 16px; }
.resident-history-network section#unit-test { border: 0; background: var(--care-teal); color: #faf9ef; }
.resident-history-network #unit-test .resident-actions { margin-top: 17px; }
.resident-history-network #unit-test .resident-actions a { background: #f0ebd9; color: #153c35; }
.resident-history-network #unit-test a:focus-visible { outline-color: #ffd89e; }
.resident-history-network .resident-resources {
  margin: 0; padding: clamp(26px, 4vw, 64px) var(--resident-inset); border: 0;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .55fr); background: #eaece3;
}
.resident-history-network .resident-resources :is(.references, nav) h2 { margin-bottom: 12px; }
.resident-history-network .resident-resources li + li { border-top: 1px solid #c4d0c3; }
.resident-history-network .resident-resources a { font-size: clamp(14px, 1vw, 17px); }
@container (max-width: 430px) {
  .history-map-body { grid-template-columns: 1fr; }
  .history-population { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .58fr); gap: 14px; align-items: center; }
  .history-population > p { margin: 0; text-align: left; }
  .history-matrix .selected-history::after { display: none; }
  .history-example ul { display: flex; flex-wrap: wrap; gap: 3px 10px; }
}
@media (max-width: 1100px) {
  .history-spread { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "heading map" "prose map"; gap: 16px 28px; }
}
@media (max-width: 790px) {
  .resident-history-network { --resident-inset: clamp(16px, 4.4vw, 32px); }
  .care-feature { grid-template-columns: 1fr; grid-template-areas: "title" "photo" "summary"; }
  .care-feature-title { padding: 25px var(--resident-inset); }
  .care-feature-title h1 { max-width: 20ch; font-size: clamp(38px, 6.9vw, 55px); }
  .care-feature-photo { min-height: 0; aspect-ratio: 1.67; }
  .care-feature-summary { grid-template-columns: 1fr; padding: 19px var(--resident-inset) 23px; }
  .care-feature-summary .resident-actions { flex-direction: row; }
  .history-spread { grid-template-columns: 1fr; grid-template-areas: "heading" "map" "prose"; gap: 22px; }
  .care-workflow, .care-transfer, .resident-history-network .resident-resources { grid-template-columns: 1fr; }
  .facility-plans > header, .facility-plan-list > div, .facility-network { grid-template-columns: 1fr; }
  .garden-story { grid-template-columns: 1fr; grid-template-areas: "title" "portrait" "story"; }
  .care-transfer { gap: 20px; }
}
@media print {
  .history-spread, .garden-story, .resident-history-network #unit-test { color: var(--ink); background: white; }
  .history-explanation { color: var(--ink); }
  .history-map, .care-feature-photo, .garden-portrait, .transfer-evidence, .transfer-note, .facility-equipment { break-inside: avoid; }
  .facility-plan-list > div { break-inside: avoid; }
  .resident-history-network .resident-actions { display: none; }
}

.care-value, .care-offering, .care-architecture {
  padding: var(--resident-space) var(--resident-inset);
  scroll-margin-block-start: 18px;
}
.resident-history-network :is(#between-rounds, #handover) { scroll-margin-block-start: 18px; }
.resident-history-network :is(#between-rounds, #handover):focus-visible {
  outline: 3px solid #805322; outline-offset: -4px;
}
.care-value h2, .care-offering h2, .care-architecture h2 { max-width: 29ch; }
.resident-facility-edition .care-benefits {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2.1vw, 34px); margin-top: clamp(22px, 2.4vw, 38px);
}
.care-benefits > div { padding-top: 13px; border-top: 1px solid #90a799; }
.care-benefits dt { margin-bottom: 10px; font: 560 clamp(20px, 1.6vw, 28px)/1.18 var(--reading); }
.care-benefits dt a { color: #245247; text-decoration-color: #829b90; }
.care-benefits dd { font-size: clamp(16px, 1.1vw, 18px); line-height: 1.52; }
.care-offering { background: #eaece2; }
.care-offering header, .care-architecture header {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: end;
  gap: 12px var(--care-gap);
}
.care-offering-grid {
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: start; gap: clamp(20px, 4vw, 65px);
  margin-block: clamp(20px, 3vw, 46px);
}
.care-foundation {
  padding: clamp(20px, 2.5vw, 40px);
  border-top: 3px solid var(--care-gold); background: var(--care-teal); color: #f7f8ed;
}
.care-foundation h3 {
  margin: 0 0 15px; font: 400 clamp(29px, 2.7vw, 45px)/1.05 var(--reading); letter-spacing: -.025em;
}
.care-foundation p { color: #e5eee5; line-height: 1.55; }
.resident-facility-edition .offering-label {
  margin: 0 0 11px; color: #426250;
  font: 650 clamp(13px, .94vw, 16px)/1.4 var(--ui);
}
.resident-facility-edition .care-foundation .offering-label { color: #e8ce99; }
.care-extensions > div { padding: 13px 0 16px; border-top: 1px solid #afbead; }
.care-extensions > div:last-child { border-bottom: 1px solid #afbead; }
.care-extensions dt { margin-bottom: 4px; color: #275446; font: 550 clamp(21px, 1.6vw, 29px)/1.2 var(--reading); }
.care-architecture { padding-bottom: clamp(24px, 3.6vw, 58px); }
.care-topology {
  --wire: #75968b;
  --span: clamp(16px, 1.9vw, 28px);
  margin-top: clamp(20px, 2.8vw, 44px);
  padding: clamp(16px, 2.25vw, 36px);
  border: 1px solid #aabcb0; background: #f8f8f2;
}
.care-topology h3 { margin: 0 0 4px; color: var(--care-teal); font: 560 clamp(20px, 1.6vw, 27px)/1.18 var(--reading); }
.care-topology :is(p, dd) { font: 400 clamp(15px, 1.08vw, 18px)/1.5 var(--ui); }
.topology-apps, .topology-paths > div { padding: clamp(14px, 1.5vw, 24px); }
.topology-apps { background: #d6e5dc; border-top: 2px solid #557d6e; }
.topology-apps p { max-width: 88ch; }
.topology-paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 32px); }
.topology-paths > div { position: relative; margin-block: var(--span); background: #ebefe5; border: 1px solid #bdcbbb; }
.topology-paths > div::before, .topology-paths > div::after {
  content: ""; position: absolute; left: 50%; height: var(--span); border-left: 1px solid var(--wire);
}
.topology-paths > div::before { bottom: 100%; }
.topology-paths > div::after { top: 100%; }
.topology-network {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(16px, 3vw, 43px);
  align-items: center; padding: clamp(17px, 2vw, 32px); color: #edf4ed; background: #164341;
}
.topology-network h3 { color: #fff; }
.topology-network .facility-equipment {
  display: grid; grid-template-columns: minmax(65px, .68fr) minmax(0, 1.32fr); align-items: center;
  gap: 12px; padding: 12px; background: #edf1e7;
}
.topology-network .facility-equipment img { max-width: 128px; justify-self: center; }
.topology-network .facility-equipment figcaption { font-size: clamp(13px, .97vw, 16px); }
.topology-distribution { margin-top: clamp(12px, 1.5vw, 22px); }
.topology-distribution > p { font-size: .88rem; font-weight: 600; color: #daeadc; }
.topology-distribution .topology-nodes {
  display: inline-flex; position: relative; gap: clamp(12px, 2.5vw, 48px); margin-top: 8px;
  padding: 0; list-style: none;
}
.topology-nodes li { position: relative; font: 450 .87rem/1.4 var(--ui); }
.topology-nodes li::before { content: ""; position: relative; z-index: 1; display: block; width: 12px; height: 8px; margin: 0 auto 5px; border: 1px solid #c5d9c9; background: #62877b; }
.topology-nodes li:not(:last-child)::after {
  content: ""; position: absolute; top: 4px; left: 50%; width: calc(100% + clamp(12px, 2.5vw, 48px) + 8px);
  border-top: 1px solid #b2cabc;
}
.topology-endpoints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.5vw, 24px); }
.topology-endpoints > div {
  position: relative; margin-top: var(--span); padding: 10px 4px 0;
  border-top: 2px solid #9baf9f;
}
.topology-endpoints > div::before {
  content: ""; position: absolute; bottom: 100%; left: 50%; height: var(--span); border-left: 1px solid var(--wire);
}
.topology-endpoints dt { margin-bottom: 5px; color: var(--care-teal); font: 620 clamp(16px, 1.18vw, 20px)/1.3 var(--ui); }
.resident-facility-edition .facility-network { background: #eef0e7; }
.resident-facility-edition #resident-options {
  padding-block: var(--resident-space); color: #1f3b32; background: #eae0ca; border-block: 1px solid #beb196;
}
.resident-facility-edition #resident-options h2 { max-width: 19ch; font-size: clamp(32px, 3vw, 53px); }
.resident-facility-edition #resident-options .resident-actions { margin-top: 16px; }
@media (max-width: 1150px) {
  .resident-facility-edition .care-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 790px) {
  .resident-facility-edition .care-benefits { grid-template-columns: 1fr; gap: 0; }
  .care-benefits > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px 20px; padding: 14px 0; }
  .care-benefits dt { margin: 0; }
  .care-offering header, .care-architecture header, .care-offering-grid { grid-template-columns: 1fr; }
  .topology-network { grid-template-columns: 1fr; }
  .topology-network .facility-equipment { max-width: 345px; }
  .topology-endpoints { grid-template-columns: 1fr 1fr; }
  .topology-endpoints > div::before { display: none; }
  .care-topology .topology-endpoints { margin-top: 13px; padding-left: 16px; border-left: 1px solid var(--wire); }
  .topology-endpoints > div { margin: 0; }
}
@media (max-width: 570px) {
  .care-benefits > div, .topology-paths { grid-template-columns: 1fr; gap: 5px; }
  .care-topology { --span: 13px; padding: 12px; }
  .topology-paths { margin-block: var(--span); padding-left: 12px; gap: 8px; border-left: 1px solid var(--wire); }
  .topology-paths > div { margin: 0; }
  .topology-paths > div::before, .topology-endpoints > div::before {
    display: block; left: -13px; top: 18px; bottom: auto; width: 12px; height: 0; border: 0; border-top: 1px solid var(--wire);
  }
  .topology-paths > div::after { display: none; }
  .topology-endpoints { grid-template-columns: 1fr; }
  .topology-endpoints > div::before { width: 16px; left: -16px; }
}
@media print {
  .care-topology, .care-foundation { break-inside: avoid; }
  .care-foundation, .topology-network, .topology-network h3, .care-foundation p, .topology-distribution > p {
    color: var(--ink); background: white;
  }
}

.resident-package-edition .care-feature-title .resident-actions {
  margin-top: clamp(18px, 2.1vw, 31px);
  gap: 5px 18px;
}
.resident-package-edition .care-feature-summary { display: block; }
.resident-package-edition .care-feature-summary > p { max-width: 80ch; }
.facility-portfolio, .portfolio-levels { scroll-margin-block-start: 18px; }
.facility-portfolio:focus-visible, .portfolio-levels:focus-visible {
  outline: 3px solid #966f36; outline-offset: -4px;
}
.portfolio-foundation, .portfolio-extensions, .portfolio-levels {
  padding: clamp(28px, 4.4vw, 70px) var(--resident-inset);
}
.portfolio-foundation {
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: start; gap: 20px var(--care-gap);
  border-top: 3px solid #ac8e5e; color: #f8f8ef; background: var(--care-teal);
}
.portfolio-foundation header h2 { max-width: 17ch; margin-bottom: 16px; }
.portfolio-foundation header p { color: #e3eee6; }
.resident-package-edition .portfolio-foundation .offering-label { color: #efd49b; }
.foundation-inclusions { display: grid; grid-template-columns: 1fr 1fr; gap: 13px clamp(14px, 2.2vw, 36px); }
.foundation-inclusions > div { padding-top: 9px; border-top: 1px solid #719084; }
.foundation-inclusions dt { color: #fffdf2; font-weight: 650; }
.foundation-inclusions dd {
  color: #dce9df; font: 400 clamp(15px, 1.05vw, 18px)/1.5 var(--ui);
}
.portfolio-extensions { background: #f7f6ee; }
.portfolio-extensions header {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 12px var(--care-gap); align-items: end;
}
.portfolio-extensions header h2 { max-width: 22ch; }
.resident-package-edition .addon-packages {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 72px);
  margin-block: clamp(21px, 2.6vw, 44px);
}
.addon-packages > div { padding-block: clamp(15px, 1.65vw, 27px); border-top: 1px solid #b2c0b2; }
.addon-packages dt { margin-bottom: 6px; color: #275446; font: 550 clamp(21px, 1.65vw, 30px)/1.2 var(--reading); }
.addon-packages dd { max-width: 61ch; }
.addon-packages > div:last-child {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 6px clamp(24px, 4vw, 72px); border-bottom: 1px solid #b2c0b2;
}
.portfolio-common {
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: start; gap: 8px var(--care-gap); padding: clamp(20px, 2.6vw, 40px) var(--resident-inset);
  background: #dfe8de; border-block: 1px solid #b1c1b2;
}
.portfolio-common h3 { margin: 0; color: var(--care-teal); font: 550 clamp(22px, 1.9vw, 32px)/1.22 var(--reading); }
.portfolio-levels { background: #edeee5; }
.portfolio-levels > p { margin-top: 10px; }
.resident-package-edition .deployment-scopes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px);
  margin-block: clamp(20px, 2.1vw, 34px);
}
.deployment-scopes > div { padding-top: 10px; border-top: 1px solid #8ca493; }
.deployment-scopes dt { margin-bottom: 5px; color: #275046; font: 600 clamp(18px, 1.5vw, 24px)/1.3 var(--ui); }
@media (max-width: 900px) {
  .portfolio-foundation { grid-template-columns: 1fr; }
  .portfolio-foundation header h2 { max-width: 25ch; }
}
@media (max-width: 700px) {
  .portfolio-extensions header, .resident-package-edition .addon-packages,
  .addon-packages > div:last-child, .portfolio-common, .resident-package-edition .deployment-scopes {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .foundation-inclusions { grid-template-columns: 1fr; gap: 8px; }
}
@media print {
  .portfolio-foundation, .portfolio-foundation :is(dt, dd, p),
  .resident-package-edition .portfolio-foundation .offering-label { color: var(--ink); background: white; }
  .foundation-inclusions > div, .addon-packages > div, .deployment-scopes > div { break-inside: avoid; }
}

.portfolio-foundation header .resident-actions { margin-top: 18px; }
.portfolio-foundation header .resident-actions a:first-child { color: var(--care-teal); background: #e8eedd; }
.resident-package-edition :is(#twin-domains, #resident-example, #collection-methods, #care-home-evidence, #base-services) {
  scroll-margin-block-start: 18px;
}
.resident-package-edition :is(#twin-domains, #resident-example, #collection-methods):focus-visible {
  outline: 3px solid #8e6b35; outline-offset: -4px;
}
.base-software { grid-column: 1 / -1; border-block: 1px solid #799688; }
.base-software summary, .collection-methods summary {
  min-height: 46px; padding-block: 11px; font: 600 1rem/1.5 var(--ui); cursor: pointer;
}
.base-software summary { color: #faf8e8; }
.base-software summary:focus-visible { outline: 2px solid #ead096; outline-offset: 1px; }
.base-software summary:hover, .collection-methods summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.base-software .base-service-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px clamp(20px, 3vw, 50px);
  margin: 8px 0 20px;
}
.base-service-list > div { padding-top: 8px; border-top: 1px solid #618678; }
.base-service-list dt { color: #fffaf0; font-weight: 600; }
.base-service-list dd { color: #daebe0; }
.twin-domains, .resident-example, .collection-methods { padding: var(--resident-space) var(--resident-inset); }
.twin-domains { background: #f9f8f0; border-bottom: 1px solid #bdc8b9; }
.twin-domains header, .resident-example header, .collection-methods header {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: end;
  gap: 12px var(--care-gap);
}
.twin-domains h2, .collection-methods h2 { max-width: 22ch; }
.twin-domains .twin-domain-list {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3.5vw, 58px);
  margin-block: clamp(20px, 2.8vw, 42px);
}
.twin-domain-list > div {
  display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 6px clamp(12px, 1.5vw, 24px);
  padding-block: clamp(12px, 1.35vw, 22px); border-top: 1px solid #b3c4b5;
}
.twin-domain-list dt { color: #285344; font: 550 clamp(19px, 1.36vw, 24px)/1.24 var(--reading); }
.twin-domain-list dd { font-size: clamp(15px, 1.05vw, 18px); line-height: 1.5; }
.resident-example { background: #edf1e9; border-block: 1px solid #bdccbe; }
.resident-example header h2 { max-width: 22ch; }
.example-observations {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; margin-top: clamp(20px, 2.8vw, 42px);
  border: 1px solid #9eb5a7; background: #a9beae;
}
.example-observation { padding: clamp(16px, 2vw, 32px); background: #f7f9f2; }
.example-observation h3 {
  margin: 0 0 14px; color: #285449; font: 580 clamp(21px, 1.65vw, 29px)/1.2 var(--reading);
}
.example-observation dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 10px 16px; }
.example-observation dt { color: #496457; font: 600 clamp(13px, .93vw, 16px)/1.32 var(--ui); }
.example-observation dd { margin-top: 4px; line-height: 1.4; }
.example-current dd { color: var(--care-teal); font: 500 clamp(22px, 2.05vw, 35px)/1.15 var(--reading); }
.example-observation .example-source {
  margin-top: 12px; padding-top: 8px; border-top: 1px solid #c1d1c1;
  color: #395646; font: 400 .93rem/1.45 var(--ui);
}
.example-source strong { margin-right: 4px; font-weight: 650; }
.resident-example .example-chart-key { margin-top: 20px; color: #486051; font-size: .92rem; }
.example-chart-key + .example-observations { margin-top: 9px; }
.resident-comparison {
  display: grid; grid-template-columns: max-content minmax(32px, 1fr) max-content;
  gap: 4px 9px; margin-top: 14px;
}
.resident-comparison > div {
  display: grid; grid-column: 1/-1; grid-template-columns: subgrid;
  align-items: center; color: #334d42;
  font: 500 clamp(13px, .99vw, 16px)/1.45 var(--ui);
}
.resident-comparison svg { display: block; width: 100%; height: 7px; }
.comparison-track { fill: #dee6da; }
.comparison-fill { fill: #24614f; }
.resident-comparison > div + div .comparison-fill { fill: #899d90; }
.comparison-value { text-align: end; font-variant-numeric: tabular-nums; }
.example-review { margin-top: 18px; max-width: 76ch; }
.example-review p { max-width: none; }
.example-review .resident-actions { margin-top: 16px; }
.collection-methods header { margin-bottom: clamp(20px, 2.7vw, 40px); }
.collection-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.collection-table th, .collection-table td {
  padding: clamp(9px, 1.15vw, 17px) clamp(8px, 1.15vw, 17px);
  vertical-align: top; border-bottom: 1px solid #c2cec0;
  font-size: clamp(15px, 1.05vw, 18px); line-height: 1.48;
}
.collection-table thead { color: #f5f6e9; background: #254e45; }
.collection-table th:first-child { width: 23%; }
.collection-table tbody th { color: #234d44; }
.collection-table .method-field { display: none; }
.collection-methods details { margin-top: 12px; border-block: 1px solid #b3c2b4; }
.collection-methods summary { color: #255747; }
.collection-more .collection-table, .collection-evidence p:last-child { margin-bottom: 15px; }
.collection-evidence p { max-width: 80ch; }
@media (max-width: 1000px) {
  .twin-domain-list > div { grid-template-columns: 1fr; }
}
@media (max-width: 790px) {
  .twin-domains header, .resident-example header, .collection-methods header { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .base-software .base-service-list, .twin-domains .twin-domain-list, .example-observations { grid-template-columns: 1fr; }
  .collection-table, .collection-table tbody { display: block; width: 100%; }
  .collection-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .collection-table tr { display: grid; gap: 7px; padding: 12px 0; border-top: 1px solid #afc1b3; }
  .collection-table :is(th,td) { display: block; padding: 0; border: 0; }
  .collection-table th:first-child { width: 100%; font-size: 1.125rem; }
  .collection-table .method-field { display: block; color: #466250; font: 600 .82rem/1.45 var(--ui); }
}
@media print {
  .example-observation, .collection-table tr, .twin-domain-list > div { break-inside: avoid; }
}

.nursing-director {
  --director-pad: clamp(24px, 4.6vw, 76px);
  --director-space: clamp(35px, 4.9vw, 80px);
}
.nursing-director > section { padding: var(--director-space) var(--director-pad); }
.nursing-director :is([id], summary) { scroll-margin-block-start: 18px; }
.nursing-director [tabindex="-1"]:focus-visible { outline: 3px solid #aa783c; outline-offset: -3px; }
.nursing-director :is(figure, dl, details) { min-width: 0; }
.nursing-director h2 { max-width: 23ch; font-size: clamp(33px, 3.15vw, 56px); text-wrap: balance; }
.nursing-director .director-label {
  margin: 0 0 12px; font: 650 clamp(12px, .91vw, 15px)/1.42 var(--ui);
  color: #476258; letter-spacing: .045em;
}
.director-hero { display: grid; grid-template-columns: 1.02fr .98fr; background: #e8ece1; }
.director-hero > div { align-self: center; padding: clamp(28px, 3.55vw, 62px); }
.director-hero h1 { max-width: 22ch; font-size: clamp(42px, 3.6vw, 66px); letter-spacing: -.035em; line-height: 1.04; }
.director-hero h1 span { display: block; }
.director-hero h1 span:last-child { color: #416756; }
.director-hero h1 + p { margin-block-start: clamp(14px, 1.6vw, 24px); max-width: 54ch; line-height: 1.5; }
.director-hero .care-feature-photo { grid-area: auto; min-height: clamp(320px, 30vw, 545px); }
.nursing-director .resident-actions { gap: 6px 18px; margin-top: 17px; }
.director-opportunity header, .director-product > header, .director-architecture header,
.director-packages > header {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 13px var(--care-gap); align-items: start;
}
.director-opportunity .director-evidence {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 2.8vw, 48px);
  margin-top: clamp(20px, 2.5vw, 40px);
}
.director-evidence > div { border-top: 1px solid #93ab9b; padding-top: 12px; }
.director-evidence dt { margin-bottom: 5px; color: #305749; font: 500 clamp(31px, 2.8vw, 49px)/1 var(--reading); }
.director-evidence dd { line-height: 1.48; font-size: clamp(15px, 1.08vw, 18px); }
.director-foundation {
  display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(22px, 3vw, 48px) var(--care-gap); align-items: center;
  color: #f4f7ea; background: #153f40;
}
.director-foundation header h2 { margin: 0 0 14px; }
.director-foundation header p { color: #e3eee4; }
.director-foundation header p a { color: inherit; }
.director-foundation .history-map { grid-area: auto; }
.director-foundation .resident-actions a { color: white; }
.director-foundation .resident-actions a:first-child { color: #234439; background: #eff0dc; }
.director-foundation-details { grid-column: 1/-1; }
.nursing-director .director-details {
  margin: 0; border-top: 1px solid #9eafa1;
}
.director-details:last-child { border-bottom: 1px solid #9eafa1; }
.director-details summary, .director-modules summary, .director-sources summary {
  padding: 12px 2px; min-height: 45px; cursor: pointer;
  font: 600 clamp(15px, 1.15vw, 19px)/1.45 var(--ui);
}
.director-details summary:hover, .director-modules summary:hover, .director-sources summary:hover {
  text-decoration: underline; text-underline-offset: .22em;
}
.director-details > div, .director-details > dl { padding: 2px 0 18px; }
.director-details dl:not(.collection-table) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 5%; }
.director-details dl > div { border-top: 1px solid #aebfac; padding-top: 7px; }
.director-details dt { font-weight: 650; }
.director-details dd { line-height: 1.5; }
.director-foundation .collection-table { margin-top: 14px; }
.director-foundation .collection-table :is(tbody th, .method-field) { color: #f3f6e8; }
.director-foundation .collection-table thead { background: #e4ecde; color: #1c4236; }
.director-foundation .director-details dl > div { border-color: #627f72; }
.director-product { background: #f6f5ec; }
.director-product > header { margin-bottom: clamp(18px, 2.5vw, 40px); }
.director-packages { border-block: 1px solid #bec7b8; background: #e9ede3; }
.director-modules {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 0 5%;
  margin: clamp(16px, 2.3vw, 36px) 0 12px;
}
.director-modules details { border-top: 1px solid #98ad9b; }
.director-modules summary { color: #285345; font: 550 clamp(20px, 1.65vw, 29px)/1.25 var(--reading); }
.director-modules details p { padding: 0 0 13px 17px; }
.director-modules details:last-child { grid-column: 1/-1; }
.director-packages .resident-actions { margin-bottom: 15px; }
.director-architecture .care-topology { margin-bottom: 22px; }
.director-architecture .topology-apps { text-align: center; }
.director-architecture .topology-paths > div { padding-block: 12px; }
.director-architecture .topology-network .facility-equipment { max-width: 390px; }
.director-continuity, .director-services { display: grid; gap: 18px var(--care-gap); align-items: start; }
.director-continuity { grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); background: #e8eee7; }
.director-continuity header p, .director-services h2 + p, .director-contact header p { margin-top: 13px; }
.director-continuity dl > div, .director-services dl > div { border-top: 1px solid #a6b7a6; padding: 9px 0; }
.director-continuity dt, .director-services dt { color: #2f5241; font-weight: 650; }
.director-services { grid-template-columns: minmax(0,1.33fr) minmax(0,.67fr); align-items: center; background: #eee8d9; }
.director-services figure { width: 100%; max-width: 480px; justify-self: end; }
.director-services img { width: 100%; height: auto; display: block; }
.director-services figcaption { color: #485b4b; font-size: .85rem; margin-top: 5px; }
.director-contact { background: #153f40; color: #f4f7ea; }
.director-contact .director-contact-paths {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px 4%;
  margin-top: clamp(21px, 2.6vw, 42px);
}
.director-contact-paths > div { border-top: 1px solid #7c9688; padding-top: 12px; }
.director-contact-paths h3 { margin: 0 0 4px; font: 500 clamp(22px,1.8vw,30px)/1.2 var(--reading); }
.director-contact-paths p { color: #d8e7dc; }
.director-contact-paths a { display: inline-flex; align-items: center; min-height: 44px; color: #fff4c9; font-weight: 600; }
.director-contact-paths a:focus-visible, .director-foundation :is(a, summary):focus-visible { outline-color: #e6ca8f; }
.director-sources { padding: 12px var(--director-pad); border-block-end: 1px solid #b9c7b7; }
.director-sources .references { margin: 15px 0; }
.director-sources .references h2 { font: 650 1rem/1.45 var(--ui); }
@media (max-width: 790px) {
  .nursing-director { --director-pad: clamp(16px, 4.4vw, 32px); }
  .director-hero, .director-foundation, .director-architecture header, .director-continuity, .director-services,
  .director-opportunity header, .director-product > header, .director-packages > header { grid-template-columns: 1fr; }
  .director-hero > div { padding: 24px var(--director-pad); }
  .director-hero h1 { max-width: 22ch; font-size: clamp(36px, 6.3vw, 48px); }
  .director-hero .care-feature-photo { min-height: 0; aspect-ratio: 1.75; }
  .director-foundation .history-map { max-width: 580px; }
  .director-services figure { max-width: 320px; justify-self: start; }
}
@media (max-width: 570px) {
  .director-opportunity .director-evidence, .director-modules, .director-contact .director-contact-paths,
  .director-details dl:not(.collection-table) { grid-template-columns: 1fr; }
  .director-evidence > div { display: grid; grid-template-columns: minmax(0,.59fr) minmax(0,1.41fr); gap: 8px; }
  .director-evidence dt { font-size: 30px; }
  .director-hero h1 span { text-wrap: initial; }
}
@media print {
  .director-foundation, .director-contact, .director-contact-paths p,
  .director-contact-paths a, .director-foundation header p { color: var(--ink); background: white; }
}

.environment-foundation header .director-label { color: #e9c98e; }
.environment-foundation header h2 { max-width: 17ch; margin: 0; font-size: clamp(40px,4.4vw,76px); }
.environment-foundation header .environment-promise {
  max-width: 26ch; margin-block: 10px 16px; color: #e2eddf;
  font: 400 clamp(23px,1.9vw,32px)/1.18 var(--reading);
}
.environment-foundation .history-map { justify-self: end; width: 100%; max-width: 580px; }
.environment-domains { grid-column: 1 / -1; padding-top: clamp(19px,2vw,32px); border-top: 1px solid #78968c; }
.environment-domains h3 { margin: 0 0 14px; color: #f8f8ee; font: 500 clamp(23px,1.9vw,33px)/1.18 var(--reading); }
.environment-domains dl {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(22px,4vw,72px);
}
.environment-domains dl > div {
  display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 4px 14px;
  padding-block: 10px; border-top: 1px solid #5b8076;
}
.environment-domains dt { color: #fbf7e8; font-weight: 620; }
.environment-domains dd { color: #d8e7df; line-height: 1.46; }
.environment-offerings { background: #f4f2e9; }
.environment-offerings > header { align-items: end; }
.environment-offerings .environment-base-link {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 5px;
  color: #2a5848; font-weight: 600; text-underline-offset: .2em;
}
.environment-offerings .environment-package-list {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 clamp(24px,4.4vw,72px);
  margin-top: clamp(19px,2.8vw,44px); padding: 0; list-style: none;
}
.environment-package-list > li { padding: clamp(15px,1.6vw,26px) 0; border-top: 1px solid #a1b6a7; }
.environment-package-list h3 { color: #294f43; margin: 0 0 5px; font: 540 clamp(21px,1.75vw,32px)/1.18 var(--reading); }
.environment-package-list p { max-width: 59ch; line-height: 1.52; }
.environment-package-list .environment-custom-package {
  display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  gap: 8px var(--care-gap); align-items: start; margin-top: 5px; padding: clamp(17px,2.1vw,34px);
  color: #f1f7ea; background: var(--care-teal); border-top: 2px solid #b6a277;
}
.environment-custom-package h3 { color: #fff8e8; }
.environment-custom-package a {
  display: inline-flex; align-items: center; min-height: 44px; color: #f5deaa;
  font-weight: 600; text-underline-offset: .2em;
}
.environment-custom-package a:focus-visible { outline-color: #efd295; }
@media (max-width: 1050px) {
  .environment-domains dl > div { grid-template-columns: 1fr; }
}
@media (max-width: 790px) {
  .environment-foundation .history-map { justify-self: start; }
  .environment-package-list .environment-custom-package { grid-template-columns: 1fr; }
}
@media (max-width: 570px) {
  .environment-domains dl, .environment-offerings .environment-package-list { grid-template-columns: 1fr; }
}
@media print {
  .environment-domains :is(h3,dt,dd), .environment-foundation header .environment-promise,
  .environment-foundation header .director-label, .environment-package-list .environment-custom-package,
  .environment-custom-package :is(h3,a) { color: var(--ink); background: white; }
  .environment-package-list > li, .environment-domains dl > div { break-inside: avoid; }
}

.twin-workflow {
  grid-column:1/-1; padding-block-start:clamp(20px,2.5vw,38px); border-top:1px solid #78968c;
}
.twin-workflow h3 { margin:0 0 16px; color:#f8f8ee; font:500 clamp(25px,2.1vw,36px)/1.15 var(--reading); }
.twin-workflow ol {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 5%;
  list-style:none; padding:0; margin:0;
}
.twin-workflow li { position:relative; }
.twin-workflow li + li::before {
  content:""; position:absolute; top:.85em; left:-9%; width:10px; border-top:1px solid #afc9b8;
}
.twin-workflow strong { color:#f6d89d; }
.twin-workflow li p { color:#e4eee6; margin-top:5px; }
.care-portfolio-base {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center;
  gap:10px var(--care-gap); padding:clamp(19px,2.5vw,38px); margin-block:clamp(22px,2.5vw,40px) 16px;
  background:var(--care-teal); color:#f9f7ee;
}
.care-portfolio-base .director-label, .care-portfolio-base a:focus-visible { color:#ebd6a1; }
.care-portfolio-base h3 { margin:5px 0 0; font:500 clamp(27px,2.4vw,40px)/1.12 var(--reading); }
.care-portfolio-base a { display:inline-flex; align-items:center; min-height:44px; color:inherit; text-decoration-thickness:1px; text-underline-offset:.15em; }
.care-portfolio-base > p { font:400 clamp(20px,1.7vw,30px)/1.25 var(--reading); }
.care-package-grid {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(12px,1.2vw,20px);
  list-style:none; padding:0; margin:0;
}
.care-package-grid > li {
  display:flex; flex-direction:column; align-items:start; min-width:0;
  padding:clamp(19px,1.8vw,30px); background:#fcfbf6; border:1px solid #a9bcb3;
}
.care-package-symbol {
  flex:none; width:31px; height:31px; fill:none; stroke:#32766e;
  stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round;
}
.care-package-grid h3 {
  color:#193f3e; margin:14px 0 7px; font:500 clamp(23px,1.65vw,32px)/1.16 var(--reading); text-wrap:balance;
}
.care-package-grid details { width:100%; margin-top:auto; padding-top:16px; }
.care-package-grid summary {
  display:flex; align-items:center; justify-content:space-between; gap:.65em; min-height:44px;
  color:#1a554b; font-weight:650; cursor:pointer; border-top:1px solid #c2d2c8; list-style:none;
}
.care-package-grid summary::-webkit-details-marker { display:none; }
.care-package-grid summary::after { content:"+"; font-size:1.35em; font-weight:400; }
.care-package-grid details[open] summary::after { content:"−"; }
.care-package-grid summary:hover, .care-package-grid a:hover { text-decoration:underline; text-underline-offset:.16em; }
.care-accessible-name { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.care-package-grid dl { display:grid; gap:10px; margin-top:3px; }
.care-package-grid dt { color:#244c42; font-weight:650; }
.care-package-grid dd { line-height:1.5; }
.care-package-grid > .care-custom-offer {
  grid-column:1/-1; display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);
  column-gap:clamp(12px,2vw,30px); align-items:start; background:#e6ede5; border-inline-start:3px solid #5e8777;
}
.care-custom-offer h3 { margin:0; }
.care-custom-offer > p { grid-column:2; margin-top:7px; }
.care-custom-offer details { grid-column:3; grid-row:1 / span 2; padding-top:0; margin-top:0; }
.care-custom-offer > a { grid-column:2; display:inline-flex; align-items:center; min-height:44px; color:#175447; font-weight:650; }
.nursing-package-actions { display:grid; justify-items:start; gap:2px; margin-top:12px; }
.nursing-package-actions a { display:inline-flex; align-items:center; gap:.35em; min-height:44px; color:#175447; text-underline-offset:.18em; }
.nursing-request { font-weight:650; }
.nursing-evaluation { margin-top:clamp(28px,3.5vw,60px); border-top:3px solid var(--care-teal); }
.nursing-evaluation > header { display:grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap:16px var(--care-gap); margin:clamp(18px,2vw,34px) 0; }
.nursing-evaluation h3 { margin:0; color:#193f3e; font:500 clamp(27px,2.4vw,40px)/1.13 var(--reading); }
.nursing-case { border-top:1px solid #a9bcb3; }
.nursing-case:last-of-type { border-bottom:1px solid #a9bcb3; }
.nursing-case > summary { padding:13px 0; cursor:pointer; color:#1a554b; font-weight:650; }
.nursing-case > summary:hover { text-decoration:underline; text-underline-offset:.16em; }
.nursing-case-spread { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:start; gap:clamp(20px,3vw,46px); padding-block:8px 25px; scroll-margin-top:7rem; }
.nursing-case-spread .director-label { margin-bottom:.7rem; }
.nursing-case-spread .nursing-case-notes { display:grid; gap:12px; margin-top:16px; }
.nursing-case-notes dt, .nursing-scope-lines dt { font-weight:650; color:#244c42; }
.nursing-rehearsal { min-width:0; padding:clamp(16px,2vw,30px); background:#e6ede5; }
.nursing-rehearsal h4 { margin:0; font:500 clamp(22px,1.8vw,30px)/1.15 var(--reading); }
.nursing-rehearsal .nursing-record { display:grid; grid-template-columns:1.3fr .8fr 1fr; margin:15px 0; border-block:1px solid #a1b6a9; padding-block:10px; gap:10px; }
.nursing-record dt { color:#395d51; font:600 .8rem/1.3 var(--ui); }
.nursing-record dd { margin:4px 0 0; font:600 .95rem/1.45 var(--ui); }
.nursing-controls, .nursing-controls > div { display:flex; flex-wrap:wrap; align-items:end; gap:7px; }
.nursing-controls > div { flex-basis:100%; }
.nursing-controls label { display:grid; gap:4px; min-width:0; font-size:.9rem; }
.nursing-controls :is(button,select) { max-width:100%; min-height:44px; border:1px solid #658477; border-radius:2px; background:#fffef9; color:#174b40; padding:.5rem .75rem; font:600 .9rem/1.4 var(--ui); }
.nursing-controls button { cursor:pointer; }
.nursing-controls button:hover { border-color:#175447; background:#f1f6ef; }
.nursing-controls :is([data-action="accept"],[data-action="resolve"]) { background:#27554a; color:white; }
.nursing-controls :is([data-action="accept"],[data-action="resolve"]):hover { background:#173e35; }
.nursing-controls [data-action="reset"] { border-color:transparent; background:transparent; text-decoration:underline; text-underline-offset:.18em; }
.nursing-evaluation [hidden] { display:none; }
.nursing-evaluation :focus-visible, .nursing-package-actions a:focus-visible { outline:3px solid #96501e; outline-offset:3px; }
.nursing-rehearsal [role="status"] { margin:15px 0 0; font-size:.94em; }
.nursing-scope-lines { margin:0 0 24px; }
.nursing-scope-lines > div { display:grid; grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr); gap:4px var(--care-gap); padding:12px 0; border-top:1px solid #d1dcd3; }
.nursing-measures { padding:3px 0 22px; }
@media (max-width:790px) {
  .nursing-evaluation > header, .nursing-case-spread, .nursing-scope-lines > div { grid-template-columns:1fr; }
}
@media (max-width:430px) {
  .nursing-rehearsal .nursing-record { grid-template-columns:1fr; gap:6px; }
  .nursing-record > div { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
  .nursing-record dd { margin:0; }
}
.care-sharing { display:block; }
.care-sharing #hospital {
  display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); align-items:end; gap:12px var(--care-gap); padding:0;
}
.care-sharing #hospital h2 { font-size:clamp(33px,3.15vw,56px); }
.care-sharing #hospital p { margin:0; }
.care-sharing figure { margin:clamp(20px,2.6vw,42px) 0 0; }
.care-sharing-map { position:relative; isolation:isolate; }
.sharing-lines { position:absolute; inset:0; width:100%; height:100%; z-index:-1; fill:none; stroke:#67897f; stroke-width:1.4; stroke-dasharray:4 3; }
.sharing-origin {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:20%; padding:clamp(15px,2vw,36px) 12px;
  color:#fff8e8; background:var(--care-teal); text-align:center; text-wrap:balance;
  font:500 clamp(22px,2vw,35px)/1.12 var(--reading);
}
.care-sharing-map dl {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1fr); gap:18px 2%;
}
.care-sharing-map dl > div { padding:clamp(14px,1.65vw,27px); border:1px solid #adc2b5; background:#f9faf2; }
.care-sharing-map dl > div:nth-child(odd) { grid-column:1; }
.care-sharing-map dl > div:nth-child(even) { grid-column:3; }
.care-sharing-map dt { color:#204b45; font:500 clamp(21px,1.55vw,29px)/1.2 var(--reading); }
.care-sharing-map dd { margin-top:5px; }
.care-sharing figcaption { margin-top:16px; }
.care-sharing figcaption p { margin:0; max-width:78ch; color:#3c5b4e; }
.care-transfer-exercise { max-width:72ch; margin-top:clamp(20px,2.4vw,36px); padding-top:16px; border-top:1px solid #adc2b5; }
.care-transfer-exercise h3 { margin:0; color:var(--care-teal); font:500 clamp(22px,1.8vw,30px)/1.2 var(--reading); }
.care-transfer-exercise p { margin:10px 0 0; }
.nursing-director #resident-options.care-personal-services {
  padding-block:var(--director-space); background:#efe8d8; border-block:1px solid #c8c6b2;
}
.nursing-director #resident-options.care-personal-services h2 {
  color:#143e3d; font-size:clamp(34px,3.4vw,59px); max-width:20ch;
}
.care-personal-services h2 + p { font-size:clamp(18px,1.4vw,24px); line-height:1.46; }
.care-service-fee { border-top:1px solid #b7b9a6; margin-top:17px; padding-top:12px; }
.care-service-fee a { color:#21564a; text-underline-offset:.18em; }
@media(max-width:1080px) {
  .care-package-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:790px) {
  .care-sharing #hospital { grid-template-columns:1fr; }
  .sharing-lines { display:none; }
  .sharing-origin { position:static; display:block; width:fit-content; transform:none; padding:17px 22px; }
  .care-sharing-map dl { grid-template-columns:1fr; gap:12px; margin-left:18px; padding:12px 0 0 18px; border-left:1px dashed #6a877e; }
  .care-sharing-map dl > div:nth-child(n) { grid-column:auto; position:relative; }
  .care-sharing-map dl > div::before { content:""; position:absolute; top:25px; left:-19px; width:18px; border-top:1px dashed #6a877e; }
}
@media(max-width:600px) {
  .twin-workflow ol, .care-portfolio-base, .care-package-grid, .care-package-grid > .care-custom-offer { grid-template-columns:1fr; }
  .twin-workflow ol { gap:12px; }
  .twin-workflow li { padding-left:16px; border-left:2px solid #7f9c89; }
  .twin-workflow li + li::before { display:none; }
  .care-package-grid > .care-custom-offer { display:flex; }
  .care-custom-offer h3 { margin-top:14px; }
  .care-custom-offer details { padding-top:16px; }
  .care-custom-offer > p { margin-top:7px; }
}
@media print {
  .twin-workflow :is(h3,strong,p), .care-portfolio-base, .care-portfolio-base .director-label, .sharing-origin { color:var(--ink); background:white; }
  .care-package-grid > li, .care-sharing-map dl > div { break-inside:avoid; }
}

.nursing-facility-tour .director-hero h1 + p {
  max-width: 52ch;
  color: var(--nova-card-ink);
  font: 420 var(--nova-intro)/1.55 var(--nova-sans);
}
.nursing-facility-tour .director-hero p + p { max-width: 55ch; }
.twin-future {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 10px var(--care-gap);
  border-top: 1px solid #78968c;
  padding-top: clamp(18px, 2vw, 32px);
}
.twin-future h3 {
  margin: 0;
  color: #f7e3b7;
  font: 500 clamp(24px, 2vw, 35px)/1.15 var(--reading);
  text-wrap: balance;
}
.twin-future p { margin: 0; color: #e5eee7; }
.facility-walkthrough {
  margin: clamp(25px, 3vw, 48px) 0;
  border-block: 1px solid #acbdae;
  padding-block: clamp(18px, 2vw, 32px);
}
.facility-walkthrough figcaption { margin-bottom: 16px; }
.facility-walkthrough h3 {
  margin: 0 0 6px;
  color: var(--care-teal);
  font: 500 clamp(25px, 2.1vw, 36px)/1.15 var(--reading);
  text-wrap: balance;
}
.wing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(17px, 3vw, 48px);
}
.wing-image { position: relative; }
.wing-illustration { min-width: 0; }
.wing-viewport { overflow: auto; }
.wing-zoom { margin-block: 0 14px; }
.wing-zoom > summary {
  width: fit-content; cursor: pointer; text-decoration: underline;
}
.wing-zoom > summary::after { content: '＋' / ''; }
.wing-zoom[open] > summary::after { content: '−' / ''; }
.wing-zoom .wing-close-label, .wing-zoom[open] .wing-open-label { display: none; }
.wing-zoom[open] .wing-close-label { display: inline; }
.wing-zoom p { margin: 0 0 8px; max-width: 72ch; }
.wing-zoom > summary:focus-visible, .wing-viewport:focus-visible { outline: 3px solid #28635a; outline-offset: 2px; }
.wing-zoom[open] + .wing-layout { grid-template-columns: minmax(0, 1fr); }
.wing-zoom[open] + .wing-layout .wing-viewport { max-height: min(68vh, 1024px); }
.wing-zoom[open] + .wing-layout .wing-image { width: 1536px; max-width: none; }
.wing-zoom[open] + .wing-layout .wing-key {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px clamp(16px, 2.5vw, 40px);
}
.wing-zoom[open] + .wing-layout .wing-key > div { border-top: 1px solid #adbdaf; padding-block: 12px; }
.wing-image img { display: block; width: 100%; height: auto; }
.wing-marker {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid #f7f5ea;
  border-radius: 50%;
  color: #fff;
  background: #204d48;
  font: 650 .875rem/1 var(--ui);
}
.wing-landmarks .wing-marker { position: absolute; transform: translate(-50%, -50%); }
.wing-bedrooms { left: 24%; top: 31%; }
.wing-station { left: 67%; top: 57%; }
.wing-lounge { left: 50%; top: 35%; }
.wing-equipment { left: 46%; top: 66%; }
.wing-enlarge {
  display: inline-flex;
  gap: .4em;
  align-items: center;
  min-height: 44px;
  color: #27594d;
  font-weight: 600;
  text-underline-offset: .18em;
}
.wing-key { margin: 0; }
.wing-key > div { border-top: 1px solid #adbdaf; padding-block: 12px; }
.wing-key > div:first-child { border-top: 0; padding-top: 0; }
.wing-key dt {
  display: flex;
  gap: .55em;
  align-items: baseline;
  color: #234a42;
  font-weight: 650;
}
.wing-key .wing-marker { flex: none; }
.wing-key dd { margin: 5px 0 0 calc(1.6rem + .55em); line-height: 1.45; }
.facility-walkthrough > p { margin: 12px 0 0; max-width: 82ch; }
@media (max-width: 900px) {
  .wing-layout { grid-template-columns: 1fr; gap: 9px; }
  .wing-key { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 4%; }
  .wing-key > div:first-child { border-top: 1px solid #adbdaf; padding-top: 12px; }
}
@media (max-width: 600px) {
  .wing-key, .twin-future { grid-template-columns: 1fr; }
  .wing-landmarks .wing-marker { width: 1.4rem; height: 1.4rem; }
}
@media print {
  .twin-future :is(h3,p) { color: var(--ink); }
  .wing-zoom { display: none; }
  .wing-zoom[open] + .wing-layout .wing-image { width: auto; }
  .wing-zoom[open] + .wing-layout .wing-viewport { max-height: none; }
}
.resident-foundation-example { display:grid; align-content:start; gap:1rem; min-width:0; }
.resident-week-preview { padding:clamp(1rem,2vw,2rem); background:#f4f5ee; color:#183c39; border-top:4px solid #8bb4a7; }
.resident-week-preview h3 { margin:.5rem 0; font:normal 2rem/1.1 var(--reading); }
.resident-week-preview blockquote { margin:1rem 0; border-left:2px solid #789b8c; padding-left:.85rem; }
.resident-week-preview a { color:#174943; text-underline-offset:.2em; }
.resident-model-visual {
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:clamp(.5rem,3vw,2.5rem);
  margin:0 0 1.25rem; padding:.75rem 1.25rem; border-radius:.4rem; color:#e8f7f3;
  background:radial-gradient(ellipse at 45% 50%,#10535b,#062d35 72%);
}
.resident-model-visual img { width:clamp(7rem,15vw,12rem); height:auto; mix-blend-mode:screen; mask-image:radial-gradient(ellipse,#000 45%,transparent 73%); }
.resident-model-visual strong { font:400 clamp(1.35rem,2.3vw,2.15rem)/1.15 var(--reading); }

/* Residential intelligence edition */
.nursing-director { --director-pad:clamp(18px,3.1vw,56px); --director-space:clamp(28px,3.2vw,58px); }
.nursing-director .director-hero { grid-template-columns:minmax(0,.7fr) minmax(0,1fr); background:var(--nova-surface-science); }
.nursing-director .director-hero h1 span:last-child { color:inherit; }
.nursing-director .director-hero .care-feature-photo img { object-position:48% center; }
.nursing-director .director-foundation {
  grid-template-columns:minmax(0,.64fr) minmax(0,1.38fr); gap:clamp(1rem,2.4vw,2.6rem);
  background:#052e33;
}
.nursing-model-figure {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(8rem,.44fr);
  align-items:center; gap:.65rem; margin:0;
}
.nursing-model-figure img { width:100%; height:auto; mix-blend-mode:screen; display:block; mask-image:radial-gradient(ellipse,#000 53%,transparent 77%); }
.nursing-model-figure ul { margin:0; padding:0; list-style:none; display:grid; gap:.35rem; }
.nursing-model-figure li,.nursing-campus-figure dl > div {
  border:1px solid #427b7d; border-radius:.3rem; padding:.5rem .65rem; background:#0b3d43; color:#e9f7f3;
}
.nursing-model-figure li { font-size:clamp(.78rem,1vw,.98rem); }
.nursing-model-figure li::before { content:""; display:inline-block; width:.5rem; height:.5rem; border:1px solid #89eddf; border-radius:50%; margin-right:.45rem; }
.nursing-director .director-product,.nursing-director .care-portfolio { background:#f5f4ed; }
.care-package-grid > li:has(.care-package-art) { border-radius:.35rem; overflow:hidden; padding-top:0; }
.care-package-grid .care-package-art { width:calc(100% + 2 * clamp(19px,1.8vw,30px)); max-width:none; margin-inline:calc(-1 * clamp(19px,1.8vw,30px)); height:clamp(75px,9vw,140px); object-fit:cover; }
.care-package-art + .care-package-symbol { display:none; }
.nursing-campus-figure {
  display:grid; grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);
  background:#062e34; border-radius:.45rem; overflow:hidden; margin:1.1rem 0;
}
.nursing-campus-figure img { width:100%; height:100%; min-height:0; object-fit:cover; }
.nursing-campus-figure figcaption { padding:clamp(.65rem,1.3vw,1.2rem); }
.nursing-campus-figure dl { margin:0; display:grid; gap:.4rem; }
.nursing-campus-figure dt { color:#f5dc9e; font-weight:700; }
.nursing-campus-figure dd { margin:0; font-size:.9rem; }
@media(max-width:850px) {
 .nursing-director .director-foundation,.nursing-director .director-hero { grid-template-columns:1fr; }
 .nursing-model-figure { grid-template-columns:minmax(0,1fr) minmax(8rem,.5fr); }
}
@media(max-width:620px) {
 .nursing-campus-figure { grid-template-columns:1fr; }
 .nursing-campus-figure img { height:auto; }
}
.director-hero .nursing-workstation { align-self: center; width: 100%; min-width: 0; background: #10242a; }
.nursing-workstation-art { position: relative; aspect-ratio: 1.5; }
.nursing-workstation-art > img, .nursing-workstation-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* The four corners follow this specific 3:2 photograph in its own SVG coordinate space. */
.nursing-monitor-record {
  width: 400px; height: 240px; overflow: hidden; padding: 11px 15px;
  transform-origin: 0 0; transform: matrix3d(.27530156,-.21737354,0,-.0010311284,0,.62916667,0,0,0,0,1,0,290,94,0,1);
  background: #0c262f; color: #f5fafb; font: 12px/1.25 var(--nova-sans);
}
.nursing-monitor-record b { font-size: 19px; }
.nursing-monitor-record .shift-record { margin-top: 6px; }
.nursing-monitor-record .shift-record > div { border-top: 1px solid #457079; padding-block: 4px; }
.nursing-monitor-record dt { color: #a7dcd9; font-weight: 600; }
.nursing-workstation figcaption { background: #10242a; color: #e7f4f5; padding: .4rem 1rem; }
.nursing-workstation summary { display: list-item; cursor: pointer; font-size: .88rem; padding-block: .6rem; font-weight: 600; }
.nursing-workstation figcaption .shift-record > div, .hlx-reading .shift-record > div {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; padding: .45rem 0; border-top: 1px solid #637e82;
}
.nursing-workstation figcaption dt { color: #b5e3dd; }
.nursing-mobility-note { background: #e5eeee; padding: .8rem; margin-bottom: .65rem; border-left: 3px solid #316c77; }
.nursing-mobility-note small { color: #285761; font-weight: 650; }
.care-package-grid .nursing-mobility-note p { font: 440 .86rem/1.45 var(--nova-sans); margin: .25rem 0; }
.nursing-mobility-note + .care-package-symbol { display: none; }
