/* V32 — New GitHub content inherits the existing project theme.
   Reuse the same surface, accent, borders and typography as Modules & engineering details.
   No independent navy/blue palette. */
body[data-project] .v31-section.v32-themed-section {
  box-sizing: border-box;
  margin: 30px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--theme-text);
}
body[data-project] .v31-section.v32-themed-section > h3 {
  margin: 0 0 14px;
  color: var(--theme-text);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  letter-spacing: -.02em;
}
body[data-project] .v31-section .v31-intro {
  color: var(--theme-muted);
  max-width: 78ch;
  line-height: 1.7;
  margin: 0 0 20px;
}
body[data-project] .v31-section .v31-grid.v6-module-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 15px;
  margin: 0;
  align-items: stretch;
}
body[data-project] .v31-section .v31-panel.v6-module-card {
  box-sizing: border-box;
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: auto !important;
  padding: 22px 24px !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  color: var(--theme-text);
  background: color-mix(in srgb, var(--theme-surface) 78%,transparent);
  border: 1px solid color-mix(in srgb, var(--theme-accent) 30%,transparent);
  border-radius: 15px;
  box-shadow: none;
}
body[data-project] .v31-section .v31-panel .v31-label {
  display: block;
  margin: 0;
  color: var(--theme-accent);
  opacity: 1;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .11em;
}
body[data-project] .v31-section .v31-panel h3 {
  margin: 0 0 2px;
  line-height: 1.34;
  letter-spacing: -.015em;
  font-size: 1.1rem;
  color: var(--theme-text);
}
body[data-project] .v31-section .v31-panel p,
body[data-project] .v31-section .v31-panel li {
  font-size: .9rem;
  line-height: 1.68;
  color: var(--theme-muted);
  margin: 0;
}
body[data-project] .v31-section .v31-panel ul {margin: 3px 0 0;padding-left: 20px;}
body[data-project] .v31-section .v31-flow {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 0;
}
body[data-project] .v31-section .v31-node {
  box-sizing: border-box;
  flex: 1 1 125px;
  min-width: 0;
  padding: 13px 10px;
  border-radius: 13px;
  color: var(--theme-text);
  background: color-mix(in srgb, var(--theme-surface) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-accent) 30%, transparent);
  font-size: .83rem;
  font-weight: 750;
  text-align: center;
  align-content: center;
}
body[data-project] .v31-section .v31-arrow {
  align-self: center;
  color: var(--theme-accent2);
  font-weight: 800;
  opacity: .92;
}
body[data-project] .v31-section .v31-note,
body[data-project] .v31-section .v31-source {
  max-width: none;
  width: 100%;
  color: var(--theme-muted);
  opacity: .86;
  line-height: 1.65;
  font-size: .82rem;
}
body[data-project] .v31-section .v31-source a {color:var(--theme-accent2);}
/* Specific legacy theme helpers so BioLab and Seedling retain their green look. */
body.v18-biolab .v31-section .v31-panel.v6-module-card {
 background:linear-gradient(150deg,#105b4b,#0b3c34) !important;
 border-color:rgba(108,229,185,.28) !important;
}
@media(max-width:720px){
 body[data-project] .v31-section .v31-grid.v6-module-grid {grid-template-columns:1fr;}
 body[data-project] .v31-section .v31-flow {gap:8px;}
 body[data-project] .v31-section .v31-node {flex-basis:42%;}
 body[data-project] .v31-section .v31-arrow {display:none;}
}
