:root {
  --green: #173c32;
  --ink: #21372f;
  --muted: #5b6860;
  --line: #dce3dc;
  --soft: #f5f6f1;
  --tint: #eaf0e8;
  --paper: #fff;
  --warm: #ad7b2d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; }
header, footer, main { max-width: 1200px; margin: auto; }
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 120px;
  padding: 24px 16px;
  border-bottom: 1px solid var(--line);
}
main { padding: 0 16px 80px; }
a { color: var(--green); text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
svg { flex-shrink: 0; }
nav { display: flex; gap: 28px; flex-wrap: wrap; }
header nav a { padding: 8px 0; font-size: 14px; text-decoration: none; }
header nav a:hover { text-decoration: underline; }
.brand { font: bold 38px/.95 Georgia, serif; letter-spacing: -1.6px; text-decoration: none; color: var(--green); }
.brand span { display: block; margin-top: 11px; font: 11px/1.3 Arial, sans-serif; letter-spacing: .15px; color: var(--muted); }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font: normal 58px/1.07 Georgia, serif; letter-spacing: -2px; color: var(--green); margin-bottom: 24px; text-wrap: balance; }
h2 { font: normal 29px/1.2 Georgia, serif; letter-spacing: -.5px; color: var(--green); margin-bottom: 14px; }
h3 { font-size: 17px; line-height: 1.4; margin-bottom: 10px; }
h4 { font-size: 15px; margin-bottom: 7px; }
p { color: var(--muted); margin-bottom: 18px; }
li { overflow-wrap: anywhere; }
.eyebrow { font-size: 10px !important; line-height: 1.4; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-bottom: 13px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 55px; align-items: center; padding: 64px 14px 56px; }
.hero:has(.hero-art) { grid-template-columns: minmax(0, 1fr) 275px; }
.hero > div > p:not(.eyebrow) { max-width: 680px; font-size: 18px; line-height: 1.65; }
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding: 22px; }
.hero-art img { width: 235px; }
.hero-art span { color: var(--muted); font: italic 16px/1.55 Georgia, serif; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0; }
.hero-facts span { font-size: 12px; color: var(--muted); }
.hero-facts span + span { border-left: 1px solid var(--line); padding-left: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading > p { font-size: 14px; margin-bottom: 3px; }
.section-heading > a { font-size: 13px; }
.family-section { padding: 30px 0 44px; border-top: 1px solid var(--line); }
.family-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.family-card { display: flex; flex-direction: column; min-width: 0; padding: 25px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .15s ease; }
.family-card:hover { background: var(--soft); }
.card-number { color: #6b8073; font: italic 15px Georgia, serif; margin-bottom: 16px; }
.family-card h3 { font: normal 22px/1.2 Georgia, serif; letter-spacing: -.3px; margin-bottom: 12px; }
.family-card p { font-size: 13px; line-height: 1.55; margin-bottom: 20px; }
.card-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; font-size: 12px; font-weight: 600; }
.plan-banner { display: flex; justify-content: space-between; align-items: center; gap: 34px; padding: 32px; margin: 0 0 58px; background: var(--green); color: #fff; }
.plan-banner h2 { color: #fff; font-size: 28px; }
.plan-banner p { color: #d7e4d8; font-size: 14px; max-width: 675px; margin-bottom: 0; }
.plan-banner .eyebrow { color: #ccdcca; margin-bottom: 11px; }
.plan-banner .button { flex-shrink: 0; background: transparent; border-color: #bbcbb9; color: #fff; }
.browse-layout { display: grid; grid-template-columns: minmax(0, 1fr) 238px; gap: 28px; align-items: start; }
.filter-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; background: var(--tint); padding: 23px; border-radius: 3px; }
.search-field { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 600; line-height: 1.5; min-width: 0; }
input:not([type=checkbox]), select, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  margin-top: 8px;
  border: 1px solid #b8c4ba;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: 15px/1.4 Arial, sans-serif;
}
input::placeholder, textarea::placeholder { color: #65736a; opacity: 1; }
select { padding-right: 28px; text-overflow: ellipsis; }
textarea { resize: vertical; min-height: 116px; }
input[type=date] { min-height: 46px; }
.collection-nav { display: flex; gap: 14px 20px; flex-wrap: wrap; margin: 23px 0 17px; font-size: 13px; }
.collection-nav a { color: var(--muted); }
.count { font-size: 12px; margin-bottom: 4px; }
.task-row { display: grid; grid-template-columns: 125px minmax(0, 1fr) 89px 25px; gap: 18px; align-items: center; padding: 25px 4px; border-bottom: 1px solid var(--line); }
.task-row .model { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.task-row .model span:first-child { font-size: 10px; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 5px; color: var(--muted); }
.task-row h3 { font-size: 18px; line-height: 1.3; margin-bottom: 9px; }
.task-row h3 a { text-decoration: none; }
.task-row h3 a:hover { text-decoration: underline; }
.task-row p { font-size: 13px; line-height: 1.55; margin-bottom: 0; }
.task-row .eyebrow { font-size: 9px !important; letter-spacing: 1px; margin-bottom: 8px; }
.kind { color: var(--muted); font-size: 11px; }
.open { display: flex; align-items: center; justify-content: center; min-height: 44px; }
.help { background: var(--soft); padding: 26px 22px; border: 1px solid #e8ebe2; border-radius: 3px; }
.help h2 { font-size: 25px; }
.help > div { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.help h3 { color: var(--green); }
.help p { font-size: 13px; }
.help a { font-size: 13px; }
.help svg { vertical-align: middle; }
.notice { background: var(--soft); border: 1px solid var(--line); padding: 24px; border-radius: 3px; }
.notice a { display: block; margin-top: 18px; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 46px; max-width: 100%; border: 1px solid var(--green); border-radius: 3px; background: var(--green); color: white; padding: 12px 18px; font: 600 13px/1.45 Arial, sans-serif; cursor: pointer; text-decoration: none; text-align: center; overflow-wrap: anywhere; }
button:hover, .button:hover { filter: brightness(1.12); }
button:disabled { opacity: .5; cursor: not-allowed; }
.secondary { background: white; color: var(--green); }
.plain { background: transparent; border-color: transparent; color: var(--muted); padding-left: 0; }
.back { display: inline-flex; align-items: center; gap: 10px; margin: 30px 0; text-decoration: none; font-size: 13px; }
.back svg { transform: rotate(180deg); }
.detail-heading { border-bottom: 1px solid var(--line); padding-bottom: 25px; }
.detail-heading h1 { font-size: 47px; max-width: 1000px; }
.detail-heading > p:not(.eyebrow) { font-size: 18px; max-width: 890px; margin-bottom: 12px; }
.detail-heading .meta { font-size: 12px !important; }
.jump-links { gap: 12px 23px; margin-top: 24px; font-size: 12px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 294px; gap: 48px; padding-top: 36px; align-items: start; }
.detail-grid > *, .browse-layout > *, .record-columns > *, .pack-step-heading > * { min-width: 0; }
.block { border-bottom: 1px solid var(--line); padding: 0 0 34px; margin-bottom: 36px; }
.block > h2 { margin-bottom: 13px; }
.block > .eyebrow { margin-bottom: 11px; }
.confirmation-fields { display: grid; gap: 18px; margin: 23px 0 18px; }
.check { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; font-size: 14px; font-weight: 400; line-height: 1.65; }
.check input { flex-shrink: 0; width: 19px; height: 19px; accent-color: var(--green); margin: 3px 0 0; }
.prep { background: #f3f5f1; border: 1px solid var(--line); padding: 8px 18px; border-radius: 3px; }
.equipment { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0; }
.equipment h3 { margin-bottom: 7px; }
.equipment ul { margin-top: 0; margin-bottom: 0; padding-left: 20px; font-size: 13px; }
.equipment li { margin-bottom: 5px; }
.small, small { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
[role=status]:empty { display: none; }
[role=status]:not(:empty) { margin-top: 13px; }
.question { background: var(--soft); border: 1px solid var(--line); padding: 25px; border-radius: 3px; }
.question h3 { font: normal 24px/1.25 Georgia, serif; color: var(--green); }
.question ol { padding-left: 22px; }
.question li { margin-bottom: 12px; }
.choices { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.choices button { text-align: left; justify-content: flex-start; padding: 13px 17px; }
.choices button + button { background: white; color: var(--green); }
.result { background: var(--tint); padding: 26px; border: 1px solid #ccdbca; border-radius: 3px; }
.result p:last-child { margin-bottom: 0; }
.result h3 { font: normal 26px/1.2 Georgia, serif; color: var(--green); margin-bottom: 13px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.steps { padding-left: 26px; margin: 18px 0 25px; }
.steps li { padding: 12px 0 19px 5px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.steps li::marker { font: italic 19px Georgia, serif; color: var(--green); }
.steps li p { margin-bottom: 7px; color: var(--ink); }
.stop-box { padding: 20px 22px; background: #f7f5ee; border-left: 3px solid #ab9061; margin-bottom: 22px; }
.stop-box h3 { margin-bottom: 9px; }
.stop-box ul { padding-left: 19px; margin: 0; font-size: 14px; }
.stop-box li + li { margin-top: 10px; }
details { border: 1px solid var(--line); border-radius: 3px; margin: 22px 0; }
summary { padding: 16px 18px; font-size: 14px; font-weight: 600; color: var(--green); cursor: pointer; }
details[open] > summary { border-bottom: 1px solid var(--line); }
.offline-checks > p, .offline-checks > section, .offline-outcomes { padding: 0 20px; }
.offline-checks > p { padding-top: 18px; font-size: 13px; }
.offline-check { border-bottom: 1px solid var(--line); margin-top: 24px; }
.offline-check h3 { color: var(--green); }
.offline-check p, .offline-check li { font-size: 13px; }
.offline-check .check-question { color: var(--ink); font-weight: 600; }
.offline-check li { margin-bottom: 15px; }
.offline-check ul { padding-left: 19px; }
.offline-outcomes { padding-top: 20px; }
.offline-outcomes p { font-size: 13px; }
.diagram-section { padding: 22px 18px; background: var(--soft); border: 1px solid var(--line); border-radius: 3px; }
.diagram-section h2 { font-size: 26px; }
.task-diagram { margin: 0; }
.task-diagram + .task-diagram { margin-top: 22px; }
.flow-diagram { width: 100%; height: auto; margin: 8px 0 17px; background: #fff; }
figcaption { font-size: 12px; color: var(--ink); line-height: 1.55; }
figcaption span { display: block; color: var(--muted); font-size: 11px; margin-top: 7px; }
.diagram-open { display: inline-block; margin-top: 12px; font-size: 12px; }
.download-box { border: 1px solid var(--line); padding: 24px 20px; margin: 25px 0; border-radius: 3px; }
.download-box h2 { font-size: 26px; }
.download-box button { width: 100%; margin-bottom: 12px; }
.download-box a { font-size: 13px; }
.blank-downloads { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 20px; }
.blank-downloads h3 { font-size: 14px; }
.blank-downloads a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; }
.blank-downloads p { margin: 13px 0 0; }
.date-field { max-width: 260px; margin: 24px 0; }
.record-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin: 20px 0 22px; }
fieldset { min-width: 0; margin: 0; padding: 18px 16px 20px; border: 1px solid var(--line); border-radius: 3px; }
legend { color: var(--green); font: normal 21px Georgia, serif; padding: 0 8px; max-width: 100%; }
fieldset label + label { margin-top: 18px; }
.record-summary { margin: 20px 0; padding: 22px; background: var(--soft); border: 1px solid var(--line); border-radius: 3px; font: 13px/1.65 Arial, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; max-width: 100%; }
.print-progress { background: var(--tint); padding: 20px; margin: 25px 0; border-radius: 3px; }
.print-progress p { margin-bottom: 0; font-size: 14px; }
.history > div { padding: 18px; font-size: 13px; }
.history article + article { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 15px; }
.source-list { padding-left: 20px; }
.source-list li { margin-bottom: 20px; font-size: 14px; }
.source-list .small { margin-top: 8px; }
.plan-intro { border-top: 1px solid var(--line); padding-top: 28px; margin-bottom: 32px; max-width: 830px; }
.plan-intro h2 { font-size: 26px; }
.pack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pack-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.pack-card:nth-child(4n + 1), .pack-card:nth-child(4n + 4) { background: var(--soft); }
.pack-card h2 { font-size: 28px; }
.pack-card h2 a { text-decoration: none; }
.pack-card h2 a:hover { text-decoration: underline; }
.pack-card > p:not(.eyebrow) { font-size: 14px; }
.pack-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.pack-card-bottom span { font-size: 12px; color: var(--muted); }
.pack-card-bottom a { display: inline-flex; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.pack-detail .download-box:first-child { margin-top: 0; }
.plan-output { padding: 24px; background: var(--tint); border-radius: 3px; margin: 24px 0; }
.plan-output h3 { color: var(--green); }
.plan-output p { font-size: 14px; margin-bottom: 0; }
.pack-steps { padding: 0; list-style: none; }
.pack-steps > li { border-top: 1px solid var(--line); padding: 27px 0; }
.pack-step-heading { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 17px; }
.step-number { font: italic 29px/1 Georgia, serif; color: #60796a; }
.pack-step-heading h3 { font: normal 25px/1.25 Georgia, serif; margin-bottom: 0; }
.pack-step-heading .eyebrow { margin-bottom: 8px; }
.plan-conditions { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 10px 20px; font-size: 13px; line-height: 1.65; margin: 20px 0 24px; }
.plan-conditions dt { color: var(--green); font-weight: 600; }
.plan-conditions dd { color: var(--muted); margin: 0; }
.pack-steps label { max-width: 340px; }
.pack-steps .text-link { margin-top: 21px; }
.prose { max-width: 790px; margin: 56px auto 10px; }
.prose h1 { font-size: 48px; }
.prose h2 { margin-top: 36px; }
.prose li { margin-bottom: 16px; }
.prose section { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 30px; }
footer { display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding: 30px 16px; font-size: 12px; }
footer .brand { font-size: 29px; }
footer > span { flex: 1; color: var(--muted); }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 4px; }
.skip { position: absolute; left: 10px; top: -80px; padding: 12px; background: white; z-index: 5; }
.skip:focus { top: 10px; }
[hidden] { display: none !important; }

@media (max-width: 1050px) {
  header, footer { margin: 0 20px; }
  main { padding-right: 28px; padding-left: 28px; }
  .hero { padding-right: 0; padding-left: 0; }
  .hero:has(.hero-art) { grid-template-columns: minmax(0, 1fr) 215px; gap: 25px; }
  h1 { font-size: 50px; }
  .hero-art { padding: 10px; }
  .browse-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 22px; }
  .task-row { grid-template-columns: 108px minmax(0, 1fr) 25px; gap: 17px; }
  .task-row .kind { display: none; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 258px; gap: 30px; }
  .record-columns { gap: 15px; }
  .plan-banner { padding: 27px; }
  .family-card { padding: 23px 20px; }
}

@media (max-width: 800px) {
  header { min-height: 115px; padding: 20px 0; flex-wrap: wrap; gap: 20px; margin: 0 22px; }
  .brand { font-size: 33px; }
  .brand span { font-size: 10px; margin-top: 9px; }
  header nav { gap: 12px 24px; }
  header nav a { font-size: 13px; padding: 4px 0; }
  main { padding: 0 22px 50px; }
  .hero { padding: 40px 0; gap: 20px; }
  .hero:has(.hero-art) { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 43px; letter-spacing: -1.5px; }
  h2 { font-size: 27px; }
  .hero > div > p:not(.eyebrow) { font-size: 16px; }
  .hero-art { display: none; }
  .hero-facts { gap: 7px 15px; }
  .hero-facts span { font-size: 11px; }
  .hero-facts span + span { padding-left: 15px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family-card { padding: 22px 19px; }
  .family-card h3 { font-size: 21px; }
  .family-card p { font-size: 12px; }
  .plan-banner { flex-direction: column; align-items: flex-start; gap: 22px; padding: 27px 23px; margin-bottom: 40px; }
  .plan-banner h2 { font-size: 27px; }
  .browse-layout, .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .browse-layout > aside { display: none; }
  .filter-panel { padding: 20px; gap: 17px; }
  .task-row { grid-template-columns: 115px minmax(0, 1fr) 25px; }
  .detail-heading h1 { font-size: 39px; letter-spacing: -1.2px; }
  .detail-heading > p:not(.eyebrow) { font-size: 16px; }
  .detail-grid { padding-top: 29px; }
  .block { padding-bottom: 28px; margin-bottom: 30px; }
  .diagram-section { padding: 25px; }
  .flow-diagram { max-width: 580px; margin: 15px auto 20px; }
  .task-aside .download-box { margin-top: 25px; }
  .pack-detail .task-aside .download-box:first-child { margin-top: 0; }
  .quiet-help { display: none; }
  .pack-grid { gap: 18px; }
  .pack-card { padding: 24px; }
  .pack-card h2 { font-size: 25px; }
  footer { padding: 28px 0; margin: 0 22px; flex-wrap: wrap; gap: 22px; }
  footer > span { flex-basis: 100%; order: 4; }
  .prose { margin: 38px 0; }
  .prose h1 { font-size: 41px; }
}

@media (max-width: 500px) {
  header nav { width: 100%; justify-content: space-between; gap: 12px; }
  header nav a { font-size: 12px; }
  .hero { padding: 36px 0; }
  h1 { font-size: 38px; letter-spacing: -1.25px; }
  .hero-facts { gap: 6px 14px; }
  .hero-facts span + span { border-left: 0; padding-left: 0; }
  .family-section { padding-top: 23px; padding-bottom: 30px; }
  .family-card { padding: 19px 15px; }
  .family-card h3 { font-size: 20px; }
  .family-card p { font-size: 12px; }
  .card-number { margin-bottom: 14px; }
  .card-link { font-size: 11px; }
  .filter-panel { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .search-field { grid-column: auto; }
  .collection-nav { gap: 12px 16px; font-size: 12px; }
  .task-row { grid-template-columns: minmax(0, 1fr) 26px; gap: 10px 14px; padding: 23px 0; }
  .task-row .model { flex-direction: row; align-items: baseline; gap: 8px; grid-column: 1; }
  .task-row .model span:first-child { margin-bottom: 0; }
  .task-copy { grid-column: 1; }
  .task-row .kind { display: inline; grid-column: 1; }
  .task-row .open { grid-column: 2; grid-row: 1 / 4; }
  .task-row .eyebrow { font-size: 8px !important; }
  .task-row h3 { font-size: 19px; }
  .detail-heading h1 { font-size: 35px; }
  .jump-links { gap: 11px 17px; font-size: 12px; }
  .equipment { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .question, .result { padding: 21px 18px; }
  .question h3 { font-size: 23px; }
  .choices button { white-space: normal; font-size: 13px; }
  .record-columns { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .date-field { max-width: none; }
  .record-summary { padding: 17px; font-size: 12px; }
  .diagram-section { padding: 21px 16px; }
  .plan-conditions { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .plan-conditions dd { margin-bottom: 12px; }
  .pack-step-heading { gap: 14px; }
  .pack-step-heading h3 { font-size: 24px; }
  .pack-grid { grid-template-columns: minmax(0, 1fr); }
  .pack-card { padding: 25px; }
  .pack-card h2 { font-size: 28px; }
  .prose h1 { font-size: 37px; }
  .small, small { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .family-card { transition: none; }
}

@media print {
  @page { size: auto; margin: 15mm; }
  html { scroll-behavior: auto; }
  body { font: 10pt/1.45 Arial, sans-serif; background: #fff; color: #000; }
  header, footer, nav, .back, button, .button, script, .skip, #flow-section, .download-box, .quiet-help, .history, .actions, .blank-downloads, .pack-steps .text-link, .diagram-open { display: none !important; }
  main { padding: 0; max-width: none; }
  .detail-grid, .browse-layout { display: block; padding: 0; }
  .task-aside { display: block !important; }
  .block { margin: 0 0 16px; padding-bottom: 16px; break-inside: auto; }
  .detail-heading { padding-bottom: 15px; margin-bottom: 20px; }
  h1, .detail-heading h1, .prose h1 { font-size: 25pt; letter-spacing: -.6px; }
  h2, .block h2 { font-size: 16pt; }
  h3 { font-size: 12pt; }
  h4 { font-size: 11pt; }
  h1, h2, h3, h4 { color: #000; break-after: avoid; }
  p, small, .small, .eyebrow, figcaption, figcaption span { color: #000; }
  p { orphans: 3; widows: 3; }
  .steps li, .stop-box, .offline-check li, .pack-step-heading { break-inside: avoid; }
  .prep, .result, .print-progress, .plan-output, .record-summary { background: #fff; }
  .equipment, .record-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .record-summary { border: 1px solid #999; padding: 12px; font-size: 9pt; white-space: pre-wrap; break-inside: auto; }
  a { color: #000; }
  .source-list a[href^="http"]::after, .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; overflow-wrap: anywhere; }
  input:not([type=checkbox]), select, textarea { min-height: 0; border: 1px solid #bbb; padding: 4px 5px; font-size: 9pt; color: #000; background: #fff; }
  input[type=checkbox] { appearance: auto; width: 13px; height: 13px; }
  textarea { min-height: 45px; resize: none; }
  .check { font-size: 10pt; padding: 6px 0; }
  .print-progress { border: 1px solid #999; padding: 12px; }
  .offline-checks { margin: 20px 0; }
  .offline-checks::details-content { display: block !important; content-visibility: visible !important; height: auto !important; }
  .offline-checks > *, .offline-checks:not([open]) > * { display: block !important; }
  .offline-checks summary { font-size: 13pt; font-weight: bold; padding: 12px; }
  .offline-checks summary::marker { content: ''; }
  .offline-checks > p, .offline-checks > section, .offline-outcomes { padding-left: 12px; padding-right: 12px; }
  .offline-check p, .offline-check li, .offline-outcomes p { font-size: 9pt; }
  .diagram-section { display: block !important; background: #fff; margin-top: 22px; border-color: #aaa; padding: 16px; break-inside: avoid; }
  .task-diagram { break-inside: avoid; }
  .flow-diagram { display: block !important; max-width: 150mm; max-height: 190mm; width: 100%; height: auto; object-fit: contain; margin: 12px auto; }
  figcaption { font-size: 9pt; }
  .pack-steps > li { break-inside: auto; }
  .pack-step-heading h3 { font-size: 15pt; }
  .plan-conditions { grid-template-columns: 100px minmax(0, 1fr); font-size: 10pt; }
  .pack-structure, .pack-record > :not(#pack-plan), .pack-detail > .task-aside { display: none !important; }
  .pack-record { border: 0; margin: 0; padding: 0; }
  #pack-plan { margin: 0; }
  .prose { margin: 0; max-width: none; }
}

/* Situation entry points and the standalone service record. */
.scenario-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.service-inputs label { display:block; margin-bottom:20px; }
@media (max-width:650px) { .scenario-options { grid-template-columns:1fr; } }
@media print { #service-brief .service-inputs, #service-brief .task-aside, #service-brief [role="status"] { display:none; } }
