main.snap-scroll { scroll-snap-type: y proximity; }
.chapter {
  min-height: 100vh; scroll-snap-align: start;
  padding: 72px 0 48px;
}
.chapter-hero {
  position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center; padding-top: 56px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--theme-bg-primary), var(--theme-bg-panel));
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--theme-bg-primary));
}
.hero-content { position: relative; z-index: 1; padding: 24px; max-width: 640px; }
.hero-title { font-size: var(--fs-h1); margin: 0 0 12px; }
.hero-subtitle { color: var(--theme-text-secondary); margin: 0 0 24px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat {
  background: rgba(19, 39, 68, 0.6); border: 1px solid var(--theme-border);
  border-radius: var(--radius-md); padding: 12px;
}
.hero-stat-value { font-size: var(--fs-stat); color: var(--theme-accent); font-weight: 700; }
.hero-stat-label { font-size: var(--fs-small); color: var(--theme-text-secondary); }
.hero-scroll-indicator { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); }
.scroll-arrow {
  display: block; width: 24px; height: 24px; border-right: 2px solid var(--theme-data-highlight);
  border-bottom: 2px solid var(--theme-data-highlight); transform: rotate(45deg);
  animation: scrollIndicator 1.5s ease infinite;
}
.bottom-nav {
  position: fixed;
  bottom: calc(var(--contact-footer-h) + var(--safe-area-bottom));
  left: 0; right: 0;
  z-index: 800;
  background: rgba(10, 22, 40, 0.95);
  border-top: 1px solid var(--theme-border);
  padding: 6px 8px;
  height: var(--bottom-nav-h);
  box-sizing: border-box;
}
.bottom-nav ul {
  display: flex; justify-content: space-around; list-style: none; margin: 0; padding: 0;
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--theme-text-secondary); text-decoration: none; font-size: 11px; padding: 4px 8px;
}
.bottom-nav a.active { color: var(--theme-data-highlight); }
.fab-top {
  position: fixed; right: 16px;
  bottom: calc(var(--contact-footer-h) + var(--bottom-nav-h) + 16px + var(--safe-area-bottom));
  z-index: var(--z-fab); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--theme-border); background: var(--theme-bg-panel);
  color: var(--theme-text-primary); cursor: pointer;
}
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi-card {
  background: var(--theme-bg-panel); border: 1px solid var(--theme-border);
  border-radius: var(--radius-md); padding: 16px; transition: transform var(--transition-base);
}
.kpi-card:hover { transform: translateY(-2px); }
.kpi-value { font-size: var(--fs-stat); color: var(--theme-accent); font-weight: 700; }
.kpi-label { font-size: var(--fs-small); color: var(--theme-text-secondary); }
.chart-row { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 768px) { .chart-row { grid-template-columns: 1fr 1fr; } }
.chart-box {
  background: var(--theme-bg-panel); border: 1px solid var(--theme-border);
  border-radius: var(--radius-md); padding: 12px; min-height: 260px;
}
.chart-box h3 { font-size: var(--fs-h3); margin: 0 0 8px; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-bar button {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--theme-border);
  background: transparent; color: var(--theme-text-secondary); cursor: pointer;
}
.filter-bar button.active { background: var(--theme-data-highlight); color: #0a1628; border-color: transparent; }
#grid-map { height: 320px; border-radius: var(--radius-md); border: 1px solid var(--theme-border); }
@media (min-width: 768px) { #grid-map { height: 400px; } }
.grid-fallback {
  padding: 16px; background: var(--theme-bg-panel); border-radius: var(--radius-md);
}
.process-steps { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) {
  .process-steps { flex-direction: row; align-items: flex-start; }
}
.process-step {
  flex: 1; text-align: center; padding: 16px;
  background: var(--theme-bg-panel); border-radius: var(--radius-md);
  border: 1px solid var(--theme-border); opacity: 0.6;
}
.process-step.done { opacity: 1; border-color: var(--theme-accent); }
.process-step.active { opacity: 1; box-shadow: 0 0 16px rgba(0, 229, 160, 0.25); }
.honor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .honor-grid { grid-template-columns: repeat(4, 1fr); } }
.honor-card {
  background: var(--theme-bg-panel); border-radius: var(--radius-md);
  border: 1px solid var(--theme-border); padding: 12px; cursor: pointer;
}
.feedback-list { display: flex; flex-direction: column; gap: 12px; }
.feedback-card {
  background: var(--theme-bg-panel); border-radius: var(--radius-md);
  border: 1px solid var(--theme-border); padding: 16px;
}
.stars { color: #fbbf24; }
.share-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.community-picker { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.community-chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--theme-border);
  background: var(--theme-bg-panel); cursor: pointer; font-size: var(--fs-small);
}
.community-chip.active { background: var(--theme-data-highlight); color: #0a1628; }
.a11y-toolbar {
  position: fixed; left: 8px;
  bottom: calc(var(--contact-footer-h) + var(--bottom-nav-h) + 12px + var(--safe-area-bottom));
  z-index: var(--z-fab); display: flex; flex-direction: column; gap: 4px;
}
.a11y-toolbar button {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--theme-border);
  background: var(--theme-bg-panel); color: var(--theme-text-primary); cursor: pointer; font-size: 12px;
}
.a11y-toolbar button.active { background: var(--theme-data-highlight); color: #0a1628; }
