.symptom-list-shell { width: min(100% - 32px, 70rem); }
.symptom-list-intro { max-width: 42rem; }
.symptom-body-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-block: 22px 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d2dfe6;
}
.symptom-body-jumps a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid #bdcdd7;
  border-radius: 4px;
  background: #fff;
}
.symptom-list-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.symptom-list-group { min-width: 0; }
.symptom-list-group h2 {
  margin-bottom: 12px;
  padding-top: 14px;
  border-top: 2px solid #a1b9bb;
  font: 400 23px/1.5 var(--serif);
}
.symptom-list-group h2[id] { scroll-margin-top: 88px; }
.symptom-list-group ul { padding: 0; margin: 0; list-style: none; }
.symptom-list-group li { border-bottom: 1px solid #dbe5e9; }
.symptom-list-group a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 11px 2px;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.symptom-list-group a > span:last-child { color: #698a90; flex-shrink: 0; }
.symptom-list-group a:hover, .symptom-body-jumps a:hover { background: #edf5f2; }
.symptom-candidate-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 12px;
  padding: 0;
  list-style: none;
}
.symptom-candidate-groups li {
  padding: 6px 12px;
  border: 1px solid #b8cdc5;
  border-radius: 4px;
  color: #254e45;
  background: #fff;
  font-size: 18px;
  font-weight: 600;
}
.symptom-selection { margin-block: 18px 24px; }
.symptom-selection p { margin-block: 4px; }
.symptom-navigation { margin-top: 24px; }
.symptom-context-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.symptom-context-links a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: underline; text-underline-offset: 4px; }
.symptom-result-context {
  margin-bottom: 18px;
  padding: 16px 20px;
  border-left: 3px solid #5f8d7e;
  background: #eef5f1;
}
.symptom-result-context p { margin: 0 0 6px; line-height: 1.7; }
.symptom-result-context strong { color: var(--navy); }
.symptom-result-context a { display: inline-flex; align-items: center; min-height: 48px; margin-right: 20px; text-decoration: underline; text-underline-offset: 4px; }
.symptom-region-control { min-height: 72px; }
.symptom-entry-intro { color: #405b6e; font-size: 18px; }
.symptom-entry-paths { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-block: 28px; }
.symptom-entry-path {
  display: flex; flex-direction: column; min-width: 0; min-height: 240px;
  padding: 24px; border: 1px solid #bbcdd2; border-radius: 6px;
  background: #fff; color: var(--navy);
}
.symptom-entry-path:nth-child(2) { background: #f3f8f5; border-color: #b6cbc2; }
.symptom-entry-path h2 { margin: 14px 0 6px; font: 400 24px/1.5 var(--serif); }
.symptom-entry-path p { color: #435d70; font-size: 16px; line-height: 1.8; }
.symptom-entry-number { color: #63818b; font: 400 14px/1.5 Georgia,serif; letter-spacing: .1em; }
.symptom-entry-action { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; margin-top: auto; padding-top: 12px; font-weight: 600; }
.symptom-entry-path:hover { border-color: #5f8d7e; background: #edf5f2; }
.symptom-entry-message { padding-block: 12px; color: #496173; line-height: 1.9; }
.symptom-guided h1 { font-size: clamp(24px,4vw,30px); line-height: 1.5; }
.symptom-guided .tap-control { min-height: 60px; font-size: 18px; line-height: 1.6; padding: 12px 16px; }
.symptom-guided .tap-control--back { min-height: 48px; font-size: 16px; padding: 8px 12px; }
.symptom-body-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
.symptom-guided .tap-control.symptom-region-control { min-height: 76px; }
.symptom-guided .symptom-region-options { grid-template-columns: minmax(0,1fr); }
.symptom-region-instruction { margin-top: 24px !important; }
.symptom-choice.is-selected { border-color: #507e70; background: #e9f3ed; box-shadow: inset 0 0 0 1px #507e70; }
.symptom-choice-selected { flex-shrink: 0; color: #2d5e4c; font-size: 13px; font-weight: 600; }
.symptom-question-missing { margin-top: 30px; padding-top: 16px; border-top: 1px solid #c8d8df; }
.clinic-age-check { margin: 10px 0 0; padding: 8px 12px; border-left: 2px solid #a5b9c5; background: #f3f7f9; color: #415b6e; font-size: 14px; line-height: 1.7; }
@media (max-width: 1000px) {
  .symptom-list-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .symptom-entry-paths { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .symptom-entry-path { min-height: 200px; padding: 18px 20px; }
  .symptom-entry-path h2 { margin-top: 8px; font-size: 23px; }
  .symptom-guided .symptom-body-options .tap-control { min-height: 70px; padding: 12px 11px; gap: 5px; }
  .symptom-body-options { gap: 8px; }
  .symptom-guided .symptom-body-options .is-selected { flex-wrap: wrap; }
  .symptom-list-groups { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .symptom-region-options { grid-template-columns: minmax(0, 1fr); }
  .symptom-list-group a { font-size: 17px; min-height: 54px; }
  .symptom-body-jumps { gap: 6px; }
  .symptom-body-jumps a { padding-inline: 10px; }
}
