@font-face {
  font-family: "Inter";
  src: url("/media/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("/media/fonts/work-sans-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("/media/fonts/work-sans-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Work Sans", Arial, sans-serif;
  color: #121314;
  background: #ffffff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  --blue: #0070d1;
  --link-dark: #53b1ff;
  --pale: #f5f7fa;
  --orange: #d53b00;
  --gutter: clamp(22px, 5vw, 76px);
  --reading-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; }
main { outline: none; }
h1, h2, h3, h4 {
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  font-weight: 300;
  overflow-wrap: break-word;
}
h1 { font-size: 54px; max-width: 16ch; }
h2 { font-size: 44px; max-width: 24ch; }
h3 { font-size: 23px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0 0 18px; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 24px; padding-left: 26px; max-width: 66ch; }
li { margin-block: 10px; }
a {
  color: var(--blue);
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #0070d1;
  outline-offset: 5px;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; min-width: 0; }
figcaption { margin-top: 20px; }
figcaption p { max-width: 50ch; }
strong { font-weight: 700; }
button, input, textarea { font: inherit; }
button {
  min-height: 48px;
  max-width: 100%;
  padding: 12px 22px;
  border: 2px solid var(--blue);
  border-radius: 100px;
  color: #ffffff;
  background: var(--blue);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: #005faa; border-color: #005faa; }
button:disabled { cursor: default; }
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 88px;
  padding: 14px;
  color: #121314;
  background: #ffffff;
  border: 1px solid #697786;
  border-radius: 8px;
  resize: vertical;
  line-height: 1.5;
}
input[type="checkbox"] {
  appearance: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  flex: 0 0 44px;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 4px;
  cursor: pointer;
}
input[type="checkbox"]:checked {
  color: var(--blue);
  background-color: var(--blue);
  border-color: var(--blue);
  background-image: url("/media/check.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px;
}
fieldset { min-width: 0; margin: 0; }
legend {
  max-width: 100%;
  padding: 0 12px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
label { cursor: pointer; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; }
th { font-weight: 700; }
caption { text-align: left; margin-bottom: 20px; }
[hidden] { display: none !important; }

/* The base handles reading and controls. These islands carry the chapter layout. */
body > header {
  max-width: calc(var(--reading-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 52px;
}
.guide-name {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-decoration: none;
  color: #121314;
  line-height: 1.2;
}
.guide-name strong { font-family: "Inter", Arial, sans-serif; font-weight: 600; font-size: 25px; }
.guide-name span { font-size: 16px; letter-spacing: 0.04em; }
.chapter-index { flex: 0 1 850px; }
.chapter-index ul {
  margin: 0;
  padding: 0;
  max-width: none;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.chapter-index li { margin: 0; min-width: 0; }
.chapter-index a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 0;
  color: #121314;
  text-decoration: none;
  border-bottom: 2px solid #d4dce5;
  font-size: 16px;
}
.chapter-index a span { color: #4a5867; }
.chapter-index a strong { font-weight: 400; }
.chapter-index a[aria-current="page"] { border-color: var(--blue); color: var(--blue); }
.chapter-index a[aria-current="page"] strong { font-weight: 700; }
.chapter-index a:hover { border-color: var(--blue); }
.skip-reading {
  position: absolute;
  z-index: 10;
  left: var(--gutter);
  top: 12px;
  padding: 14px 20px;
  color: #ffffff;
  background: #121314;
  border-radius: 8px;
  transform: translateY(-180%);
}
.skip-reading:focus { transform: translateY(0); }
main > section { padding: 76px var(--gutter) 88px; }
.chapter-reading, .opening-question, .approval-note { width: 100%; max-width: var(--reading-width); margin-inline: auto; }
.opening-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.opening-copy { max-width: 56ch; min-width: 0; }
.opening-copy h2, .approval-note h2 { font-size: 23px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; max-width: none; }
.opening-copy h2 { margin-top: 30px; margin-bottom: 16px; }
.chapter-cue { font-size: 16px; margin-bottom: 22px; letter-spacing: 0.045em; }
.guide-intro { font-size: 20px; line-height: 1.5; margin-bottom: 30px; }
.evidence-graphic img { border-radius: 8px; width: 100%; }
.evidence-graphic figcaption { font-size: 18px; color: #334250; }
.reading-button {
  margin-top: 16px;
  border-radius: 100px;
  padding: 13px 24px;
  min-height: 52px;
  background: var(--blue);
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}
.reading-button:hover { background: #005faa; }
.reading-button span { margin-left: 12px; }
.approval-note {
  padding: 32px 36px;
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr);
  gap: 36px;
  background: var(--pale);
  border-radius: 8px;
  border-left: 4px solid var(--blue);
}
.approval-note h2 { margin: 0; }
.source-link { font-size: 16px; line-height: 1.4; padding-block: 8px; }
.source-trail { display: flex; flex-direction: column; align-items: flex-start; margin-top: 20px; }
.evidence-chapter { background: #000000; color: #ffffff; }
.evidence-chapter a { color: var(--link-dark); }
.evidence-chapter :focus-visible { outline-color: #53b1ff; }
.notes-chapter :focus-visible { outline-color: #ffffff; }
.question-answers { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.source-pair { min-width: 0; }
.source-pair h3 { font-size: 23px; max-width: 33ch; }
.source-pair p { max-width: 55ch; }
.question-answers .source-pair { border-top: 2px solid var(--blue); padding-top: 26px; }
.care-checks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; margin-top: 44px; }
.care-checks .source-pair { padding: 32px; border: 1px solid #3f4b57; border-radius: 8px; background: #121314; }
.care-checks .note-answer { margin-top: 24px; }
.care-checks textarea { border-color: #9aa7b3; background: #ffffff; }
.care-checks .check-answer { border-color: #3f4b57; }
.care-checks input[type="checkbox"]:checked { background-color: #0070d1; border-color: #53b1ff; }
.notes-chapter { background: var(--blue); color: #ffffff; }
.notes-heading { margin-bottom: 38px; max-width: 70ch; }
.notes-heading p:last-child { max-width: 60ch; }
.question-sheet {
  max-width: 900px;
  padding: 36px;
  border: 0;
  border-radius: 8px;
  color: #121314;
  background: var(--pale);
}
.question-sheet legend { padding: 12px 18px; background: #ffffff; border-radius: 8px; }
.note-answer { margin-bottom: 26px; }
.note-answer label { display: block; margin-bottom: 10px; font-weight: 700; }
.checklist { margin-block: 20px 26px; }
.check-answer {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding-block: 14px;
  border-bottom: 1px solid #c5cdd6;
}
.check-answer span { min-width: 0; }
.notes-tools { margin-top: 32px; border-top: 1px solid #c5cdd6; padding-top: 24px; }
.notes-tools p { font-size: 16px; max-width: 65ch; }
.notes-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 20px; }
.clear-notes { color: #121314; background: transparent; border-color: #121314; }
.clear-notes:hover { color: #ffffff; background: #121314; border-color: #121314; }
.notes-status { min-height: 24px; font-weight: 700; }
.question-sheet :focus-visible { outline-color: #0070d1; }
.next-chapter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 40px;
  padding-block: 12px;
  color: #ffffff;
  text-decoration: none;
  max-width: 46ch;
}
.next-chapter > span { font-size: 16px; }
.next-chapter strong { font-family: "Inter", Arial, sans-serif; font-size: 26px; line-height: 1.3; }
.next-chapter:hover strong { text-decoration: underline; text-underline-offset: 7px; }
.conversation-questions { max-width: 64ch; padding-left: 22px; }
.conversation-questions li { padding-block: 7px; }
.form-check { margin-top: 34px; border-left: 3px solid var(--blue); padding-left: 24px; }
.form-check h3 { margin-bottom: 16px; }
.cost-questions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
.cost-sheet { margin-bottom: 28px; table-layout: fixed; }
.cost-sheet thead th { font-size: 16px; padding: 16px 10px; color: #ffffff; background: #121314; }
.cost-sheet th:first-child { width: 37%; }
.cost-sheet tbody th { padding: 20px 18px 20px 0; font-weight: 400; }
.cost-sheet td { padding: 12px 0 12px 14px; }
.cost-sheet tbody th, .cost-sheet tbody td { border-bottom: 1px solid #c5cdd6; }
.cost-sheet textarea { min-height: 82px; padding: 10px; }
.cost-sheet tbody tr:last-child th { color: #121314; font-weight: 700; }
.cost-sheet tbody tr:last-child textarea { border: 2px solid var(--orange); }
.source-questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  margin-top: 46px;
  align-items: start;
}
.source-questions .source-pair { border-top: 1px solid #3f4b57; padding-top: 28px; }
.source-questions .source-pair:nth-child(2) { grid-row: span 2; }
body > footer {
  max-width: calc(var(--reading-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 46px var(--gutter) 36px;
  font-size: 16px;
  color: #334250;
}
footer > p { max-width: 75ch; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-block: 22px 28px; }
footer a { padding-block: 10px; }
.missing-chapter { min-height: 58vh; }

@media (max-width: 1000px) {
  body > header { align-items: flex-start; gap: 32px; }
  .chapter-index ul { gap: 14px; }
  .chapter-index a { min-height: 80px; }
  .opening-question { gap: 38px; }
  h1 { font-size: 44px; }
  .question-answers { gap: 28px; }
  .care-checks { gap: 28px; }
  .care-checks .source-pair { padding: 25px; }
}

@media (max-width: 740px) {
  body > header { display: block; padding-block: 20px 0; }
  .guide-name { width: max-content; margin-bottom: 20px; }
  .chapter-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .chapter-index a { min-height: 64px; padding-block: 10px; }
  main > section { padding-top: 46px; padding-bottom: 52px; }
  h1 { font-size: 44px; }
  h2 { font-size: 35px; line-height: 1.16; }
  h3, .source-pair h3, .opening-copy h2, .approval-note h2 { font-size: 22px; }
  .opening-question { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .opening-copy { max-width: none; }
  .guide-intro { font-size: 18px; }
  .chapter-cue { margin-bottom: 18px; }
  .evidence-graphic { max-width: 520px; width: 100%; }
  .approval-note { padding: 24px; margin-top: 36px; display: block; }
  .approval-note h2 { margin-bottom: 20px; }
  .question-answers, .care-checks, .source-questions { grid-template-columns: minmax(0, 1fr); gap: 38px; margin-top: 32px; }
  .source-pair p { max-width: 65ch; }
  .source-questions .source-pair:nth-child(2) { grid-row: auto; }
  .question-sheet { padding: 24px 20px; }
  .question-sheet legend { font-size: 20px; padding: 10px 14px; }
  .note-answer label { font-size: 18px; }
  .notes-buttons { gap: 14px; }
  .notes-buttons button { flex: 1 1 200px; }
  .form-check { padding-left: 16px; }
  .cost-sheet th:first-child { width: 42%; }
  .cost-sheet tbody th { padding-right: 12px; font-size: 16px; }
  .cost-sheet td { padding-left: 10px; }
  .cost-sheet textarea { min-height: 118px; padding: 10px; font-size: 18px; }
  .cost-sheet caption { font-size: 16px; }
  .next-chapter strong { font-size: 23px; }
  body > footer { padding-top: 34px; }
  footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media print {
  :root { font-size: 16px; }
  body > header, body > footer, .reading-button, .next-chapter, .notes-buttons, .skip-reading { display: none !important; }
  main > section { padding: 20px 0; background: #ffffff; color: #121314; }
  .evidence-chapter a { color: #005faa; }
  .opening-question, .question-answers, .care-checks, .source-questions { display: block; }
  .evidence-graphic { max-width: 340px; margin: 24px 0; }
  .care-checks .source-pair { background: #ffffff; margin-bottom: 24px; border: 1px solid #697786; }
  .check-answer { border-color: #697786; }
  .question-sheet { background: #ffffff; padding: 18px 0; }
  .source-pair { break-inside: avoid; margin-bottom: 24px; }
  textarea { resize: none; }
  .notes-tools { display: none; }
}
