#chuo-child-pilot {
  margin-block: clamp(24px, 4vw, 60px);
  padding-bottom: clamp(24px, 3vw, 42px);
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  scroll-margin-top: 4.5rem;
}
.market-report #chuo-child-pilot.shell { width: 100%; }
#chuo-child-pilot h2 {
  margin: 0;
  font: 680 clamp(1.55rem, 3.2vw, 2.6rem)/1.45 var(--serif);
}
#chuo-child-pilot h3 {
  margin: 0;
  font: 650 clamp(1.1rem, 2vw, 1.4rem)/1.5 var(--serif);
}
#chuo-child-pilot p { margin: .5rem 0; line-height: 1.78; }
#chuo-child-pilot a { color: #375d2c; text-decoration: underline; text-underline-offset: .18em; }
#chuo-child-pilot :is(summary, input, a):focus-visible { outline: 3px solid #875511; outline-offset: 3px; }
#chuo-child-pilot .chuo-pilot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
  gap: clamp(10px, 1.6vw, 22px);
  margin-block: 1.1rem;
}
#chuo-child-pilot .chuo-pilot-card {
  min-width: 0;
  padding: clamp(15px, 2vw, 25px);
  border: 1px solid var(--line);
  border-top: 3px solid #7b994f;
  border-radius: 3px 16px 12px 12px;
  background: #fffef9;
}
#chuo-child-pilot .chuo-pilot-card:first-child { border-top-color: var(--brand-amber); }
#chuo-child-pilot .chuo-pilot-card p:last-child { margin-bottom: 0; }
#chuo-child-pilot .chuo-programs {
  padding: .2rem 0;
  margin: 1rem 0;
  border-block: 1px solid var(--line);
}
#chuo-child-pilot .chuo-programs summary { cursor: pointer; padding: .7rem .3rem; font-weight: 700; }
#chuo-child-pilot .chuo-programs[open] { padding-bottom: .8rem; }
#chuo-child-pilot .chuo-program-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: auto;
  text-align: start;
  white-space: normal;
  font-size: .9rem;
}
#chuo-child-pilot .chuo-program-table :is(th, td) {
  position: static;
  padding: .7rem .65rem;
  border: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
}
#chuo-child-pilot .chuo-program-table th { background: #edf3e5; }
#chuo-grant-estimate:not(:empty) {
  margin-top: 1.15rem;
  padding: clamp(16px, 2.3vw, 32px);
  border: 1px solid #cedcc0;
  border-radius: 12px;
  background: #f1f5e8;
}
#chuo-grant-estimate .chuo-estimate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.15fr);
  align-items: stretch;
  gap: .75rem 1.2rem;
  margin: 1rem 0 .75rem;
}
#chuo-grant-estimate .chuo-estimate-grid > label { display: grid; align-content: start; font-weight: 650; }
#chuo-grant-estimate .chuo-field-unit { margin: .12rem 0 .35rem; color: var(--muted); font-size: .84rem; font-weight: 500; }
#chuo-grant-estimate .chuo-count { display: flex; align-items: center; gap: .4rem; }
#chuo-grant-estimate input {
  width: 100%;
  max-width: 11rem;
  min-height: 44px;
  padding: .45rem .7rem;
  border: 1px solid #879e79;
  border-radius: 6px;
  background: #fff;
  color: var(--forest);
  font: 550 1rem/1.5 var(--sans);
}
#chuo-grant-estimate input[aria-invalid="true"] { border-color: #9e381c; }
#chuo-grant-estimate .chuo-estimate-result {
  display: grid;
  align-content: center;
  gap: .25rem;
  padding: .8rem 1.1rem;
  border-inline-start: 3px solid var(--brand-amber);
  background: #fffef9;
}
#chuo-grant-estimate .chuo-estimate-result label { font-weight: 650; font-size: .88rem; }
#chuo-grant-estimate output { font: 700 clamp(1.5rem, 2.7vw, 2rem)/1.4 var(--sans); overflow-wrap: anywhere; }
#chuo-grant-estimate output.chuo-input-error { font: 550 .95rem/1.6 var(--sans); color: #90351e; }
#chuo-child-pilot .chuo-estimate-note { margin: 0; font-size: .86rem; color: var(--muted); }
@media (max-width: 760px) {
  #chuo-grant-estimate .chuo-estimate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #chuo-grant-estimate .chuo-estimate-result { grid-column: 1 / -1; }
  #chuo-child-pilot .chuo-program-table :is(th, td) { padding: .55rem .35rem; }
}
@media (max-width: 460px) {
  #chuo-grant-estimate .chuo-estimate-grid { grid-template-columns: minmax(0, 1fr); }
}
