/* Chapter 07 — Equipment and Trade (Technical Manual).
   Accent: Verdant; weapon roster sections cycle through Verdant/Signal/Strange
   to mirror the Stitch "Technical Manual" feel where energy beams and gravitic
   classes get visually distinct accents. */

body.chapter-07 {
  --chapter-accent: var(--primary);
  --chapter-accent-soft: var(--primary-20);
  --chapter-accent-bg: var(--primary-05);
}

/* Roman-numeral all H3 weapon category headers, technical-manual style */
body.chapter-07 article > h3 {
  counter-increment: gg-section;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-left: 1rem;
  border-left: 4px solid var(--chapter-accent);
}

body.chapter-07 article > h3::before {
  content: counter(gg-section, upper-roman) ".";
  font-family: var(--font-mono);
  color: var(--chapter-accent);
  font-size: 16px;
  font-weight: 700;
  min-width: 2rem;
}

body.chapter-07 article { counter-reset: gg-section; }

/* Stats column rendering — the -tbd- placeholder reads cleaner in mono dim */
body.chapter-07 article > table td:last-child {
  color: var(--outline);
  font-size: 12px;
  white-space: nowrap;
}

/* Center alignment for numeric or symbolic columns (e.g., Grade designation table) */
body.chapter-07 article > table th.center,
body.chapter-07 article > table td.center {
  text-align: center;
}

/* Tighten the weapon roster tables — many rows, want density */
body.chapter-07 article > h2 + p + p ~ table td,
body.chapter-07 article > h3 + table td {
  padding: 0.45rem 1rem;
  font-size: 12px;
  line-height: 16px;
}
