.growth-dashboard {
  margin-top: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.growth-dashboard-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
  gap: 28px;
  margin-bottom: 28px;
}

.growth-dashboard-head h3 {
  margin-bottom: 9px;
  font-size: 27px;
}

.growth-dashboard-head p {
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
}

.growth-summary {
  padding: 18px;
  border-radius: 13px;
  background: var(--deep);
  color: #fff;
}

.growth-summary span,
.growth-summary small {
  display: block;
  color: #cfe1d3;
  font-size: 11px;
}

.growth-summary strong {
  display: block;
  margin: 5px 0;
  font-size: 20px;
}

.growth-indicator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.growth-indicator-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfcf8;
}

.growth-indicator-card:last-child {
  grid-column: 1 / -1;
}

.growth-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.growth-code {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  place-items: center;
  border-radius: 14px;
  background: #e6f1e1;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.growth-card-head h4 {
  font-size: 17px;
  letter-spacing: -.02em;
}

.growth-card-head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.growth-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 15px;
  padding: 11px 13px;
  border-radius: 9px;
  background: #edf6e8;
}

.growth-status span {
  color: var(--muted);
  font-size: 11px;
}

.growth-status strong {
  color: var(--green);
  font-size: 14px;
  text-align: right;
}

.growth-plot {
  position: relative;
  height: 66px;
  padding-top: 23px;
}

.growth-zones {
  display: flex;
  height: 17px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px #cdd8cd;
}

.growth-zones .zone { flex: 1; }
.growth-zones .zone + .zone { border-left: 2px solid #fff; }
.growth-zones .zone.active { box-shadow: inset 0 0 0 2px rgba(20, 63, 48, .34); }
.growth-zones .z0, .growth-legend .z0 { background: #df7563; }
.growth-zones .z1, .growth-legend .z1 { background: #efae62; }
.growth-zones .z2, .growth-legend .z2 { background: #77ad6e; }
.growth-zones .z3, .growth-legend .z3 { background: #d6c65e; }
.growth-zones .z4, .growth-legend .z4 { background: #e29a4f; }
.growth-zones .z5, .growth-legend .z5 { background: #cb655c; }

.child-point {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--deep);
  font-size: 10px;
  font-weight: 750;
  text-align: center;
}

.child-point i {
  display: block;
  width: 18px;
  height: 18px;
  margin: 23px auto 2px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--deep);
  box-shadow: 0 0 0 2px var(--deep), 0 5px 12px rgba(20, 63, 48, .24);
}

.cdc-chart {
  overflow: hidden;
  border: 1px solid #d7e2d7;
  border-radius: 12px;
  background: #fff;
}

.cdc-chart-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border-bottom: 1px solid #e5ece4;
  background: #f2f7ee;
}

.cdc-chart-label span {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cdc-chart-label small { color: var(--muted); font-size: 9px; }
.cdc-chart svg { display: block; width: 100%; height: auto; min-height: 220px; }
.cdc-grid path { fill: none; stroke: #e6ece5; stroke-width: 1; }
.cdc-curves path { fill: none; stroke-linecap: round; stroke-width: 1.8; }
.cdc-curves .p97,
.cdc-curves .p3 { stroke: #cf7969; }
.cdc-curves .p90,
.cdc-curves .p10 { stroke: #d9a04e; }
.cdc-curves .p50 { stroke: #73a46d; stroke-width: 2.6; }
.cdc-percentiles text { fill: #718078; font-size: 8px; font-weight: 700; }
.cdc-axis text { fill: #718078; font-size: 8px; }
.child-trend { fill: none; stroke: #176e8b; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.child-measure { fill: #fff; stroke: #176e8b; stroke-width: 2.5; }
.child-measure.current { fill: #f9b84b; stroke: #0f4b61; stroke-width: 4; filter: drop-shadow(0 3px 3px rgba(15,75,97,.26)); }
.point-leader { fill: none; stroke: #0f4b61; stroke-width: 1; stroke-dasharray: 3 2; }
.point-label { fill: #0f4b61; font-size: 9px; font-weight: 800; }
.cdc-chart-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 9px 13px; border-top: 1px solid #e5ece4; color: var(--muted); font-size: 9px; }
.cdc-chart-foot span,
.cdc-chart-foot strong { display: inline-flex; align-items: center; gap: 5px; }
.cdc-chart-foot i { width: 8px; height: 8px; border: 2px solid #176e8b; border-radius: 50%; background: #fff; }
.cdc-chart-foot strong { color: var(--ink); }
.cdc-chart-foot strong i { width: 11px; height: 11px; border: 3px solid #0f4b61; background: #f9b84b; }
.cdc-chart-foot em { margin-left: auto; color: #8b5d19; font-style: normal; font-weight: 700; }

.growth-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 11px;
  margin-top: 10px;
}

.growth-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
}

.growth-legend span.active {
  color: var(--ink);
  font-weight: 750;
}

.growth-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.growth-explanation {
  margin-top: 22px;
  padding: 19px 20px;
  border-left: 3px solid #8aaf79;
  border-radius: 0 11px 11px 0;
  background: #f2f7ee;
}

.growth-explanation > strong { font-size: 15px; }
.growth-explanation p { margin-top: 7px; color: var(--muted); font-size: 13px; }
.growth-explanation a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.nutrition-menu-panel {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.nutrition-menu-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: start;
}

.nutrition-menu-intro h3 {
  margin-bottom: 9px;
  font-size: 25px;
}

.nutrition-menu-intro p {
  max-width: 730px;
  color: var(--muted);
  font-size: 14px;
}

.nutrition-profile {
  padding: 16px 17px;
  border: 1px solid #d7e2d5;
  border-radius: 12px;
  background: #f5f8f1;
}

.nutrition-profile span,
.nutrition-profile strong,
.nutrition-profile small { display: block; }
.nutrition-profile span { color: var(--green); font-size: 12px; font-weight: 750; }
.nutrition-profile strong { margin: 4px 0; font-size: 16px; }
.nutrition-profile small { color: var(--muted); font-size: 10px; }

.nutrition-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.nutrition-reference-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 20px;
}

.nutrition-reference-grid > div {
  padding: 13px 12px;
  border-radius: 10px;
  background: #eaf3e5;
}

.nutrition-reference-grid span,
.nutrition-reference-grid strong { display: block; }
.nutrition-reference-grid span { color: var(--muted); font-size: 10px; }
.nutrition-reference-grid strong { margin-top: 3px; color: var(--green); font-size: 14px; }

.nutrition-meal-list {
  display: grid;
  gap: 10px;
}

.nutrition-meal {
  display: grid;
  grid-template-columns: 112px minmax(210px, 1fr) minmax(280px, .9fr);
  align-items: center;
  gap: 16px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.meal-time {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.meal-food strong,
.meal-food span { display: block; }
.meal-food strong { font-size: 14px; line-height: 1.4; }
.meal-food span { margin-top: 4px; color: var(--muted); font-size: 11px; }

.nutrition-meal dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 0;
}

.nutrition-meal dl > div {
  padding: 8px;
  border-radius: 8px;
  background: #f5f7f2;
}

.nutrition-meal dt { color: var(--muted); font-size: 9px; }
.nutrition-meal dd { margin: 2px 0 0; font-size: 11px; font-weight: 750; }

.nutrition-calculation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.nutrition-calculation > div {
  padding: 14px;
  border-radius: 10px;
  background: var(--deep);
  color: #fff;
}

.nutrition-calculation span,
.nutrition-calculation strong { display: block; }
.nutrition-calculation span { color: #cfe1d3; font-size: 10px; }
.nutrition-calculation strong { margin-top: 4px; font-size: 13px; line-height: 1.45; }
.nutrition-warning { margin-top: 20px; }
.nutrition-source { margin-top: 15px; line-height: 1.6; }
.nutrition-source a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .growth-dashboard-head { grid-template-columns: 1fr; }
  .growth-summary { max-width: 420px; }
  .nutrition-menu-intro { grid-template-columns: 1fr; }
  .nutrition-profile { max-width: 420px; }
  .nutrition-meal { grid-template-columns: 100px 1fr; }
  .nutrition-meal dl { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .growth-dashboard { padding: 20px 16px; }
  .growth-indicator-grid { grid-template-columns: 1fr; }
  .growth-indicator-card:last-child { grid-column: auto; }
  .growth-dashboard-head h3 { font-size: 24px; }
  .growth-status { align-items: flex-start; flex-direction: column; gap: 3px; }
  .growth-status strong { text-align: left; }
  .cdc-chart-label { align-items: flex-start; flex-direction: column; gap: 2px; }
  .cdc-chart svg { min-height: 0; }
  .cdc-chart-foot em { width: 100%; margin-left: 0; }
  .nutrition-reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nutrition-reference-grid > div:last-child { grid-column: 1 / -1; }
  .nutrition-meal { grid-template-columns: 1fr; gap: 8px; }
  .nutrition-meal dl { grid-column: auto; grid-template-columns: repeat(2, 1fr); }
  .nutrition-calculation { grid-template-columns: 1fr; }
}

@media print {
  .growth-indicator-card { break-inside: avoid; }
}

/* APS feature demonstrations */
.aps-feature-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.aps-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 22px;
}

.aps-panel-head > div { max-width: 730px; }
.aps-panel-head h3 { margin-bottom: 9px; font-size: 27px; }
.aps-panel-head p { color: var(--muted); font-size: 14px; }
.aps-choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }

.ndq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(230px, .7fr);
  gap: 18px;
  align-items: stretch;
}

.ndq-screen {
  overflow: hidden;
  border: 1px solid #d8e2d8;
  border-radius: 14px;
  background: #fafcf8;
}

.ndq-screen-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 16px 18px;
  background: var(--deep);
  color: #fff;
}

.ndq-screen-top small,
.ndq-screen-top strong { display: block; }
.ndq-screen-top small { color: #cfe0d1; font-size: 10px; }
.ndq-screen-top strong { margin-top: 3px; font-size: 15px; }
.ndq-screen-top > span { font-size: 10px; }

.ndq-question {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.ndq-question:last-child { border-bottom: 0; }
.ndq-question > span { color: #7e9586; font-size: 11px; font-weight: 800; }
.ndq-question small,
.ndq-question strong { display: block; }
.ndq-question small { color: var(--green); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.ndq-question strong { margin-top: 3px; font-size: 13px; line-height: 1.4; }
.ndq-question .answer { min-width: 58px; padding: 6px 9px; border-radius: 20px; text-align: center; font-size: 11px; }
.ndq-question .answer.yes { color: #1b6546; background: #e4f2e4; }
.ndq-question .answer.no { color: #a23d2e; background: #fde7df; }

.development-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
  border-radius: 14px;
  color: #fff;
}
.development-result.good { background: #1b6546; }
.development-result.alert { background: #99422f; }
.development-result > span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.development-result > strong { margin: 7px 0 12px; font-size: 35px; line-height: 1; }
.development-result p { font-size: 14px; }
.development-result small { margin-top: 18px; color: #f3efe7; font-size: 10px; }

.stimulation-plan { margin-top: 25px; padding: 24px; border-radius: 14px; background: #f0f6ed; }
.stimulation-plan h3 { font-size: 22px; }
.stimulation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.stimulation-grid article { padding: 17px; border: 1px solid #d9e5d7; border-radius: 11px; background: #fff; }
.stimulation-grid article > span { color: #85a58d; font-size: 10px; font-weight: 800; }
.stimulation-grid h4 { margin-top: 7px; font-size: 15px; }
.stimulation-grid p { margin-top: 7px; color: var(--muted); font-size: 12px; }

.immunization-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.immunization-summary > div { padding: 16px; border-radius: 11px; background: #edf5e9; }
.immunization-summary span,
.immunization-summary strong { display: block; }
.immunization-summary span { color: var(--muted); font-size: 10px; }
.immunization-summary strong { margin-top: 4px; font-size: 15px; }
.immunization-columns { display: grid; grid-template-columns: 1.25fr .8fr; gap: 25px; }
.immunization-columns section > h3 { margin-bottom: 15px; font-size: 21px; }
.vaccine-graphic-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 15px; }
.vaccine-graphic-head .eyebrow { margin-bottom: 5px; }
.vaccine-graphic-head h3 { margin: 0; }
.vaccine-done-key { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 20px; background: #e2f1e3; color: var(--green); font-size: 9px; font-weight: 800; white-space: nowrap; }
.vaccine-done-key svg { width: 13px; height: 13px; }
.vaccine-schedule-graphic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px; border: 1px solid #d7e2d7; border-radius: 15px; background: linear-gradient(145deg,#eef6e9,#f9f6e8); }
.vaccine-stop { min-width: 0; }
.vaccine-route { display: flex; align-items: center; height: 32px; }
.vaccine-route > span { position: relative; z-index: 1; display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border: 3px solid #fff; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 0 0 1px #9bb9a1; font-size: 12px; font-weight: 850; }
.vaccine-route svg { width: 14px; height: 14px; }
.vaccine-route > i { width: calc(100% - 30px); height: 3px; background: #9fc5a4; }
.vaccine-stop.conditional .vaccine-route > span { background: #c28a32; }
.vaccine-stop.conditional .vaccine-route > i { background: #d6be8f; }
.vaccine-stop-card { min-height: 146px; margin-top: 6px; padding: 14px; border: 1px solid #dce5dc; border-radius: 11px; background: #fff; box-shadow: 0 8px 22px rgba(20,63,48,.045); }
.vaccine-stop.conditional .vaccine-stop-card { border-color: #ead7ae; background: #fffaf0; }
.vaccine-stop-meta { display: flex; justify-content: space-between; gap: 7px; align-items: center; }
.vaccine-stop-meta b { color: var(--green); font-size: 10px; text-transform: uppercase; }
.vaccine-stop-meta em { padding: 3px 5px; border-radius: 4px; background: #e3f1e3; color: var(--green); font-size: 7px; font-style: normal; font-weight: 850; letter-spacing: .05em; }
.vaccine-stop.conditional .vaccine-stop-meta em { background: #f1dfbd; color: #825811; }
.vaccine-stop-card h4 { min-height: 36px; margin: 7px 0 12px; font-size: 12px; line-height: 1.4; }
.vaccine-date { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: center; padding-top: 10px; border-top: 1px solid #edf0eb; }
.vaccine-date > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 6px; background: #e7f2e5; color: var(--green); }
.vaccine-date svg { width: 12px; height: 12px; }
.vaccine-date small,
.vaccine-date strong { display: block; }
.vaccine-date small { color: var(--muted); font-size: 7px; }
.vaccine-date strong { margin-top: 2px; font-size: 9px; line-height: 1.3; }
.vaccine-graphic-note { margin-top: 10px; }
.vaccine-timeline { display: grid; gap: 8px; }
.vaccine-timeline article { display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: center; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; }
.vaccine-timeline article > span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #e4f2e4; color: var(--green); }
.vaccine-timeline svg { width: 14px; height: 14px; }
.vaccine-timeline small,
.vaccine-timeline strong { display: block; }
.vaccine-timeline small { color: var(--green); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.vaccine-timeline strong { margin-top: 2px; font-size: 12px; line-height: 1.35; }
.next-vaccine { padding: 23px; border-radius: 14px; background: #f8f3e7; }
.next-step { display: grid; grid-template-columns: 70px 1fr; gap: 13px; padding: 16px 0; border-top: 1px solid #e5dbc4; }
.next-step > b { color: #87621c; font-size: 10px; }
.next-step strong { font-size: 14px; }
.next-step p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.next-vaccine .notice { margin-top: 12px; padding: 15px; }
.next-vaccine .notice p { margin-top: 5px; font-size: 11px; }

.fever-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 18px; }
.fever-questions { padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.fever-questions > h3 { margin-bottom: 13px; font-size: 19px; }
.fever-questions article { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.fever-questions article > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--green); background: #e7f2e5; font-size: 10px; font-weight: 800; }
.fever-questions small,
.fever-questions strong { display: block; }
.fever-questions small { color: var(--muted); font-size: 10px; }
.fever-questions strong { margin-top: 2px; font-size: 13px; }
.aps-answer { padding: 24px; border-radius: 14px; color: #fff; }
.aps-answer.observe { background: var(--deep); }
.aps-answer.urgent { background: #923f30; }
.aps-answer > span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.aps-answer h3 { margin: 8px 0 12px; font-size: 25px; }
.aps-answer p,
.aps-answer li { font-size: 12px; }
.aps-answer ul { padding-left: 19px; }
.aps-answer small { color: #f4eade; font-size: 10px; }

.doctor-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.doctor-choice { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 260px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; text-align: left; }
.doctor-choice:hover { border-color: #95b99d; box-shadow: var(--shadow); }
.doctor-choice[aria-pressed="true"] { border: 2px solid var(--green); background: #f4f8f1; }
.doctor-avatar { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 14px; border-radius: 50%; background: #dfeeda; color: var(--green); font-weight: 800; }
.doctor-choice small { color: var(--green); font-size: 10px; font-weight: 750; }
.doctor-choice > strong { margin-top: 5px; font-size: 16px; line-height: 1.35; }
.doctor-choice p { margin: 9px 0; color: var(--muted); font-size: 12px; }
.doctor-choice b { margin-top: auto; font-size: 11px; }
.doctor-choice em { margin-top: 12px; color: var(--green); font-size: 11px; font-style: normal; font-weight: 750; }
.selected-doctor { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 18px; padding: 18px; border-radius: 12px; background: var(--deep); color: #fff; }
.selected-doctor span,
.selected-doctor strong,
.selected-doctor small { display: block; }
.selected-doctor span { color: #c8dccc; font-size: 10px; }
.selected-doctor strong { margin: 3px 0; font-size: 16px; }
.selected-doctor small { color: #d8e4d9; font-size: 10px; }
.selected-doctor .text-link { color: #fff; white-space: nowrap; }
.consult-prep { margin-top: 20px; padding: 20px; border-radius: 12px; background: #f0f6ed; }
.consult-prep h3 { margin-bottom: 13px; font-size: 18px; }
.consult-prep > div { display: flex; flex-wrap: wrap; gap: 8px; }
.consult-prep span { display: inline-flex; gap: 6px; align-items: center; padding: 7px 9px; border-radius: 7px; background: #fff; font-size: 11px; }
.consult-prep svg { width: 13px; height: 13px; color: var(--green); }

.aps-official-benefit { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 26px; padding: 23px; border-radius: 14px; background: #e7f1e2; }
.aps-official-benefit > div { max-width: 730px; }
.aps-official-benefit h3 { margin-bottom: 7px; font-size: 21px; }
.aps-official-benefit p { color: var(--muted); font-size: 13px; }
.aps-official-benefit .eyebrow { margin-bottom: 7px; }
.aps-return { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.aps-return span { color: var(--muted); font-size: 11px; }
.aps-source { margin-top: 16px; }
.aps-source a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .ndq-layout,
  .immunization-columns,
  .fever-layout { grid-template-columns: 1fr; }
  .stimulation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doctor-choice-grid { grid-template-columns: 1fr; }
  .doctor-choice { min-height: 0; }
}

@media (max-width: 620px) {
  .aps-feature-panel { padding: 20px 15px; }
  .aps-panel-head,
  .aps-official-benefit,
  .aps-return,
  .selected-doctor { align-items: flex-start; flex-direction: column; }
  .aps-panel-head h3 { font-size: 23px; }
  .ndq-screen-top { align-items: flex-start; flex-direction: column; gap: 5px; }
  .ndq-question { grid-template-columns: 25px 1fr; padding: 13px 12px; }
  .ndq-question .answer { grid-column: 2; justify-self: start; }
  .development-result > strong { font-size: 31px; }
  .stimulation-plan { padding: 19px 14px; }
  .stimulation-grid,
  .immunization-summary { grid-template-columns: 1fr; }
  .vaccine-graphic-head { align-items: flex-start; flex-direction: column; }
  .vaccine-schedule-graphic { grid-template-columns: 1fr; padding: 14px; }
  .vaccine-stop-card { min-height: 0; }
  .vaccine-stop-card h4 { min-height: 0; }
  .next-step { grid-template-columns: 1fr; gap: 5px; }
  .aps-answer { padding: 20px 17px; }
  .aps-official-benefit .btn { width: 100%; }
  .selected-doctor .text-link { white-space: normal; }
}
