/* Shared handbook navigation, with the original overview graphics and layout. */
.handbook-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  padding: 15px max(20px, calc((100vw - 1232px) / 2));
  color: #f9f6ef;
  background: #102a38;
  font: 600 13px/1.5 system-ui, sans-serif;
}
.handbook-bar a { color: inherit; text-decoration: none; }
.handbook-bar a:first-child { margin-right: auto; font-size: 16px; }
.handbook-bar a:hover { text-decoration: underline; text-underline-offset: 4px; }
.handbook-bar [aria-current] { color: #efb18f; }
.landing-chapters { margin-bottom: 24px; padding: 16px 20px; border: 1px solid #d9d0c0; border-radius: 12px; background: #fffdf8; color: #102a38; font: 14px/1.6 system-ui, sans-serif; }
.landing-chapters summary { cursor: pointer; font-weight: 700; }
.landing-chapters p { margin: 12px 0; }
.landing-chapters nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 20px; margin-bottom: 16px; }
.landing-chapters a { color: #0a4d49; text-decoration: underline; text-underline-offset: 3px; }
.chapter-bridge {
  padding: 20px 24px;
  border: 1px solid #d9d0c0;
  border-left: 4px solid #d46532;
  border-radius: 14px;
  background: #fffdf8;
  font: 14px/1.65 system-ui, sans-serif;
  color: #3f545d;
}
.chapter-bridge > strong { display: block; font-size: 19px; color: #102a38; }
.chapter-bridge p { margin: 8px 0 12px; }
.chapter-bridge a { display: inline-block; margin-right: 24px; color: #0a4d49; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.graphic-caption { margin: 10px 0; color: #52636b; font: 12px/1.5 system-ui, sans-serif; }
#stellaratorConceptCanvas ~ .graphic-caption { color: #cbd5e1; padding-bottom: 40px; }
.chart-container { margin-bottom: 60px; }
@media (max-width: 640px) {
  .handbook-bar a:first-child { flex-basis: 100%; }
  .chapter-bridge { padding: 16px; }
  .chart-container { margin-bottom: 85px; }
}
