/* ═══════════════════════════════════════════════════════════════
   TANK LOGIC — tool.css  v6.0  (Phase 5 refactor)
   Calculator/tool page styles for all 5 tool pages + BNS genetics.

   DEPENDENCIES: css/system.css + css/style.css MUST load first.
   Uses freshwater ecosystem tokens defined in system.css.

   DIRECTION:
   Dark freshwater ecosystem — calculator-first layout.
   Forest-floor backgrounds, moss accents for primary actions,
   water-blue for secondary data, sand for substrate/Walstad.
   Clean panels with thin sage borders, no glassmorphism, no grain.

   STRUCTURE:
   1. Tool hero (breadcrumb, title, description)
   2. Tool layout (2-column: calculator + sidebar)
   3. Card panels (calculator container)
   4. Shape selector + unit toggle
   5. Inputs + selects
   6. Calculate button
   7. Results panel + result cards
   8. Errors
   9. Preset list
   10. Sidebar panels
   11. Smart cards (result breakdowns)
   12. Walstad layers + plant rows
   13. Water change table
   14. Stocking gauge + rating badges
   15. Fish list (stocking calculator)
   16. Fish dropdown
   17. SEO content
   18. FAQ accordion
   19. Sticky mobile result bar
   20. BNS genetics specific
   21. Responsive
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. TOOL HERO ────────────────────────────────── */
.tool-hero {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.tool-hero__inner { max-width: 680px; }
.tool-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.tool-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 10px;
}
.tool-hero .page-desc,
.tool-hero__desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 580px;
}

.breadcrumb {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
.breadcrumb:hover { color: var(--accent); }

/* ─── 2. TOOL LAYOUT ──────────────────────────────── */
.tool-section { padding-block: 40px; }
.tool-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.tool-main,
.tool-sidebar { min-width: 0; }
.tool-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 900px) {
  .tool-layout { grid-template-columns: 1fr 300px; }
}

/* ─── 3. CARD PANELS ──────────────────────────────── */
.tool-card-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px 26px;
  margin-bottom: 16px;
}
.tool-card-panel:last-child { margin-bottom: 0; }

.panel-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}
.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.panel-title-row .panel-title { margin-bottom: 0; }

/* ─── 4. SHAPE SELECTOR + UNIT TOGGLE ─────────────── */
.shape-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.shape-btn {
  flex: 1;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 10px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  cursor: pointer;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  transition: border-color var(--t) var(--ease),
              background var(--t) var(--ease),
              color var(--t) var(--ease);
  user-select: none;
}
.shape-btn:hover {
  border-color: var(--accent-border);
  background: var(--bg-elevated);
  color: var(--accent);
}
.shape-btn.active {
  border-color: var(--accent-border);
  background: var(--accent-subtle);
  color: var(--accent);
}
.shape-icon { font-size: 1.4rem; line-height: 1; }

.unit-toggle {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 3px;
  gap: 2px;
}
.unit-btn {
  padding: 6px 14px;
  border: none;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--t) var(--ease),
              color var(--t) var(--ease);
}
.unit-btn.active {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
}
.unit-btn:not(.active):hover { color: var(--text-mid); }

/* ─── 5. INPUTS + SELECTS ─────────────────────────── */
.inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 480px) { .inputs-grid { grid-template-columns: 1fr; } }

.input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.input-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}
.input-hint {
  font-size: 11px;
  color: var(--text-muted);
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.tool-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 10px 40px 10px 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              background var(--t) var(--ease);
}
.tool-input::-webkit-outer-spin-button,
.tool-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.tool-input::placeholder {
  color: var(--text-faint);
  font-weight: 400;
}
.tool-input:focus {
  background: var(--bg-elevated);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
.tool-input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px var(--error-subtle);
}

.input-unit {
  position: absolute;
  right: 12px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  pointer-events: none;
  letter-spacing: 0.03em;
}

.tool-select {
  width: 100%;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 10px 34px 10px 14px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A8A80' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}
.tool-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
.tool-select option {
  background: var(--bg-elevated);
  color: var(--text);
}

/* ─── 6. CALCULATE BUTTON ─────────────────────────── */
.calc-btn,
.tool-calc-btn {
  width: 100%;
  background: var(--accent);
  border: none;
  border-radius: var(--r-lg);
  color: var(--bg);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
  transition: background var(--t) var(--ease);
}
.calc-btn:hover,
.tool-calc-btn:hover {
  background: var(--accent-hover);
}
.calc-btn:active,
.tool-calc-btn:active {
  background: var(--accent-deep);
}

/* ─── 7. RESULTS PANEL + RESULT CARDS ─────────────── */
@keyframes slide-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.results-panel {
  border: 2px solid var(--accent);
  animation: slide-in 0.28s var(--ease);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  overflow-wrap: break-word;
}
.results-grid--2 { grid-template-columns: 1fr 1fr; }
@media (min-width: 540px) {
  .results-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.result-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 14px;
  text-align: center;
}
.result-card--primary {
  border-color: var(--accent-border);
  background: var(--accent-subtle);
}
.result-card--primary-blue {
  border-color: var(--water-border);
  background: var(--water-subtle);
}
.result-card--primary-blue .result-value { color: var(--water); }

.result-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.result-value {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.result-unit {
  font-family: var(--font);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.result-section-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.result-unit-badge {
  display: inline-flex;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 2px 8px;
  margin-bottom: 12px;
}

/* ─── 8. ERRORS ───────────────────────────────────── */
.tool-error {
  background: var(--error-subtle);
  border: 1px solid var(--error);
  border-radius: var(--r-lg);
  padding: 12px 15px;
  font-size: 13px;
  color: var(--error);
  animation: slide-in 0.22s var(--ease);
}

/* ─── 9. PRESET LIST ──────────────────────────────── */
.preset-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.preset-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-mid);
  font-size: 13px;
  font-family: var(--font);
  font-weight: 500;
  padding: 10px 14px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color var(--t) var(--ease),
              background var(--t) var(--ease),
              color var(--t) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.preset-btn:hover {
  border-color: var(--accent-border);
  background: var(--bg-elevated);
  color: var(--accent);
}
.preset-btn.active-preset {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-subtle);
}
.preset-btn strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.preset-btn span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}
@media (max-width: 600px) {
  .preset-btn strong { font-size: 0.95rem; }
  .preset-btn span { font-size: 0.8rem; }
}

/* ─── 10. SIDEBAR PANELS ──────────────────────────── */
.sidebar-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px 22px;
}
.sidebar-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.sidebar-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 14px;
}
.sidebar-panel p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ─── 11. SMART CARDS ─────────────────────────────── */
.smart-cards-section { margin-top: 36px; }
.smart-cards-heading {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.smart-cards-heading::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.smart-cards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
@media (min-width: 700px) {
  .smart-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.smart-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px 28px;
  animation: slide-in 0.3s var(--ease) both;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  overflow-wrap: break-word;
}
.smart-card--teal  { border-color: var(--accent-border); }
.smart-card--gold  { border-color: var(--sand-border); }
.smart-card--green { border-color: var(--accent-border); }
.smart-card--blue  { border-color: var(--water-border); }

.smart-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.smart-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.smart-card--teal  .smart-card__icon { background: var(--accent-subtle); }
.smart-card--gold  .smart-card__icon { background: var(--sand-subtle); }
.smart-card--green .smart-card__icon { background: var(--accent-subtle); }
.smart-card--blue  .smart-card__icon { background: var(--water-subtle); }

.smart-card__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.smart-card__sub {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 2px;
}
.smart-card__notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.smart-card__notes p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
}
.smart-card__tip {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-top: 10px;
  padding: 10px 13px;
  background: var(--bg-surface);
  border-radius: var(--r-md);
}
.smart-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-top: auto;
  text-decoration: none;
  transition: gap var(--t) var(--ease);
}
.smart-card__link:hover { gap: 8px; }

/* Smart ideas */
.smart-ideas {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.smart-idea {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-surface);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.55;
}
.smart-idea__icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.smart-idea strong {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.smart-idea__note {
  color: var(--text-mid);
  display: block;
  font-size: 13px;
  margin-top: 3px;
}

/* ─── 12. WALSTAD LAYERS + PLANT ROWS ─────────────── */
.smart-walstad {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.walstad-layer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 13px;
  border-radius: var(--r-md);
  font-size: 13px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}
.walstad-layer--mineral {
  background: var(--sand-subtle);
  border-color: var(--sand-border);
}
.walstad-layer__label {
  color: var(--text-mid);
  font-weight: 600;
}
.walstad-layer__val {
  font-family: var(--font);
  color: var(--text-muted);
}

.smart-plants {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.plant-row {
  display: flex;
  gap: 10px;
  padding: 9px 12px;
  background: var(--bg-surface);
  border-radius: var(--r-md);
  font-size: 13px;
  line-height: 1.55;
}
.plant-row--meta {
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
}
.plant-zone {
  flex-shrink: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text);
  min-width: 108px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-top: 1px;
}
@media (max-width: 360px) {
  .plant-zone { min-width: 96px; letter-spacing: 0.02em; }
}

/* Walstad stack (aligned soil/sand depth + weight) */
.wstack {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wstack__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  column-gap: 12px;
  padding: 10px 13px;
  border-radius: var(--r-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 13px;
}
.wstack__name {
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}
.wstack__depth {
  font-family: var(--font);
  color: var(--text-muted);
  white-space: nowrap;
  text-align: right;
}
.wstack__wt {
  font-family: var(--font);
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
  min-width: 62px;
}
.wstack__mineral {
  padding: 10px 13px;
  border-radius: var(--r-md);
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-mid);
  background: var(--sand-subtle);
  border: 1px solid var(--sand-border);
}
.wstack__mineral strong { color: var(--text); }

/* ─── 13. WATER CHANGE TABLE ──────────────────────── */
.wc-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.wc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 280px;
}
.wc-table th {
  background: var(--bg-elevated);
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.wc-table td {
  padding: 11px 14px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.wc-table tr:last-child td { border-bottom: none; }
.wc-table tr.wc-row--highlight td {
  color: var(--text);
  font-weight: 600;
  background: var(--accent-subtle);
}
.wc-table tr.wc-row--highlight td:first-child { color: var(--accent); }
.wc-table tr:hover td { background: var(--bg-surface); }

/* ─── 14. STOCKING GAUGE + RATING BADGES ──────────── */
.stocking-gauge { margin-bottom: 18px; }
.gauge-track {
  height: 10px;
  background: var(--bg-surface-hi);
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 6px;
}
.gauge-fill {
  height: 100%;
  border-radius: var(--r-full);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.gauge-fill--under    { background: linear-gradient(90deg, var(--water), var(--water)); }
.gauge-fill--balanced { background: linear-gradient(90deg, var(--accent), var(--accent-hover)); }
.gauge-fill--full     { background: linear-gradient(90deg, var(--accent), var(--sand)); }
.gauge-fill--light    { background: linear-gradient(90deg, var(--sand), var(--sand)); }
.gauge-fill--danger   { background: linear-gradient(90deg, var(--sand), var(--error)); }
.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font);
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0 1px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.rating-badge--under    { background: var(--water-subtle);  border: 1px solid var(--water-border);  color: var(--water);  }
.rating-badge--balanced { background: var(--accent-subtle); border: 1px solid var(--accent-border); color: var(--accent); }
.rating-badge--full     { background: var(--accent-subtle); border: 1px solid var(--accent-border); color: var(--accent); }
.rating-badge--light    { background: var(--sand-subtle);   border: 1px solid var(--sand-border);   color: var(--sand);   }
.rating-badge--danger   { background: var(--error-subtle);  border: 1px solid var(--error);          color: var(--error);  }

/* Method grid (stocking calculator) */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.method-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  text-align: center;
}
.method-name {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.method-values {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}
.method-used {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
}
.method-sep {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.method-max {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-mid);
}
.method-sub {
  font-family: var(--font);
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── 15. FISH LIST (stocking calculator) ─────────── */
.fish-list-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0 2px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.fish-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.fish-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  animation: slide-in 0.2s var(--ease);
}
.fish-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.fish-item-calc {
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-muted);
  margin-right: 10px;
}
.fish-item-total {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  min-width: 38px;
  text-align: right;
  margin-right: 10px;
}
.fish-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px 4px;
  border-radius: var(--r-sm);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.fish-remove-btn:hover {
  color: var(--error);
  background: var(--error-subtle);
}
.fish-list-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}
.fish-total-val {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

/* ─── 16. FISH DROPDOWN ───────────────────────────── */
.fish-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  z-index: 50;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: var(--shadow-overlay);
}
.fish-dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.fish-dropdown-item:last-child { border-bottom: none; }
.fish-dropdown-item:hover {
  background: var(--accent-subtle);
  color: var(--accent);
}
.fish-dropdown-item span {
  font-family: var(--font);
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── 17. SEO CONTENT ─────────────────────────────── */
.seo-content {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.seo-content__inner p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.78;
  margin-bottom: 10px;
}
.seo-content__inner h2 {
  font-family: var(--font-head);
  color: var(--text);
  margin-bottom: 14px;
  margin-top: 32px;
  font-weight: 600;
}
.seo-content__inner h3 {
  font-family: var(--font-head);
  color: var(--text);
  font-size: 16px;
  margin-top: 28px;
  font-weight: 600;
}
.seo-list {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.seo-list li {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  padding-left: 4px;
}

/* ─── 18. FAQ ACCORDION ───────────────────────────── */
.tool-faq details {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  margin-bottom: 10px;
}
.tool-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 40px 14px 16px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  font-size: 15px;
  font-family: var(--font-head);
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.4;
}
.tool-faq summary::-webkit-details-marker { display: none; }
.tool-faq summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 12px;
  color: var(--accent);
  font-size: 1.2rem;
  transition: transform 0.2s var(--ease);
}
.tool-faq details[open] summary::after { transform: rotate(45deg); }
.tool-faq details p {
  padding: 0 16px 14px;
  margin: 0;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.6;
}

/* ─── 19. STICKY MOBILE RESULT BAR ────────────────── */
#stickyResultBar { display: none; }
@media (max-width: 700px) {
  #stickyResultBar.visible {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: var(--r-md);
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 15px;
    cursor: pointer;
    box-shadow: var(--shadow-overlay);
  }
  #stickyResultBar .srb-label {
    opacity: 0.85;
    font-family: var(--font);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  #stickyResultBar .srb-sep { opacity: 0.6; }
  #stickyResultBar .srb-arrow { opacity: 0.85; }
}

/* ─── 20. UNIT BIG BUTTONS (Walstad calculator) ───── */
.unit-big-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--r-md);
  background: var(--bg-surface);
  color: var(--text-mid);
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--t) var(--ease),
              border-color var(--t) var(--ease),
              color var(--t) var(--ease);
}
.unit-big-btn:hover {
  border-color: var(--accent-border);
}
.unit-big-btn.active,
.unit-big-btn[aria-pressed="true"] {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* ─── 21. BNS GENETICS CALCULATOR SPECIFIC ────────── */
.bns-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px 24px;
}
.bns-parent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 600px) { .bns-parent { grid-template-columns: 1fr; } }

.parent-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.trait-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.trait-group label {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.toggle-btn {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.toggle-btn button {
  flex: 1;
  min-width: 60px;
  padding: 8px 10px;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  background: var(--bg-surface);
  color: var(--text-mid);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--t) var(--ease),
              background var(--t) var(--ease),
              color var(--t) var(--ease);
}
.toggle-btn button:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}
.toggle-btn button.active {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  color: var(--accent);
  font-weight: 600;
}

/* BNS results grid */
#results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.result-card.zero { opacity: 0.4; }
.result-card .result-pct {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.result-card .result-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.result-card .result-genotype {
  font-family: var(--font);
  font-size: 10px;
  color: var(--text-muted);
}

/* Punnett table */
#punnett-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 12px;
}
#punnett-table th,
#punnett-table td {
  padding: 8px 6px;
  text-align: center;
  border: 1px solid var(--border);
}
#punnett-table th {
  background: var(--bg-elevated);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}
#punnett-table td {
  font-family: var(--font);
  color: var(--text-mid);
}
#punnett-table td span {
  display: block;
  font-size: 9px;
  color: var(--text-faint);
  margin-top: 2px;
}

/* Breeding tips */
.tip-card {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
}
.tip-icon { font-size: 1.3rem; flex-shrink: 0; }
.tip-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.tip-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Pairing summary */
#pairing-summary {
  padding: 14px 16px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}

/* Genetics note */
#genetics-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 14px 16px;
  background: var(--bg-surface);
  border-radius: var(--r-md);
  margin-top: 16px;
}
#genetics-note strong { color: var(--text); }

/* ─── 22. NANO STOCKING WIZARD SPECIFIC ───────────── */
.steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-elevated);
}
.step-item.active {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-subtle);
}
.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-mid);
  font-weight: 600;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-item.active .step-num {
  background: var(--accent);
  color: var(--bg);
}
.step-div {
  flex: 1;
  height: 1px;
  background: var(--border);
  min-width: 20px;
}

.size-grid,
.style-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
@media (min-width: 600px) {
  .size-grid { grid-template-columns: repeat(4, 1fr); }
  .style-grid { grid-template-columns: repeat(2, 1fr); }
}

.size-btn,
.style-btn,
.exp-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  cursor: pointer;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  text-align: center;
  transition: border-color var(--t) var(--ease),
              background var(--t) var(--ease),
              color var(--t) var(--ease);
}
.size-btn:hover,
.style-btn:hover,
.exp-btn:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}
.size-btn.selected,
.style-btn.selected,
.exp-btn.selected {
  border-color: var(--accent-border);
  background: var(--accent-subtle);
  color: var(--accent);
}
.size-icon,
.style-icon { font-size: 1.5rem; }
.size-label,
.style-title { font-weight: 600; }
.size-range,
.style-desc {
  font-family: var(--font);
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
}

/* NF (nano fish) cards */
.nf-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 8px;
  transition: border-color var(--t) var(--ease);
}
.nf-card:hover { border-color: var(--accent-border); }
.nf-card.hidden { display: none; }
.nf-icon { font-size: 1.5rem; flex-shrink: 0; }
.nf-body { flex: 1; }
.nf-name {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 2px;
}
.nf-meta {
  font-family: var(--font);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.nf-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.nf-tag {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.nf-tag.easy { background: var(--accent-subtle); border-color: var(--accent-border); color: var(--accent); }
.nf-tag.medium { background: var(--sand-subtle); border-color: var(--sand-border); color: var(--sand); }
.nf-tag.shrimp { background: var(--water-subtle); border-color: var(--water-border); color: var(--water); }
.nf-tag.school { background: var(--accent-subtle); border-color: var(--accent-border); color: var(--accent); }
.nf-min {
  text-align: right;
  flex-shrink: 0;
}
.nf-min-val {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}
.nf-min-gal {
  font-family: var(--font);
  font-size: 10px;
  color: var(--text-muted);
}

/* Custom input row */
.custom-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-mid);
}
.custom-input-row label { font-weight: 500; }
.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 120px;
}
.field-wrap input {
  width: 100%;
  padding: 8px 36px 8px 12px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color var(--t) var(--ease);
}
.field-wrap input:focus { border-color: var(--accent); }
.field-unit {
  position: absolute;
  right: 10px;
  font-family: var(--font);
  font-size: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

/* Fish filter buttons (nano wizard) */
.fish-filter-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--bg-surface);
  color: var(--text-mid);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--t) var(--ease),
              background var(--t) var(--ease),
              color var(--t) var(--ease);
}
.fish-filter-btn:hover { border-color: var(--accent-border); }
.fish-filter-btn.active {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* ─── 23. WALSTAD BOWL PLANNER SPECIFIC ───────────── */
.rec-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 8px;
}
.rec-icon { font-size: 1.4rem; flex-shrink: 0; }
.rec-name {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 2px;
}
.rec-why {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.55;
  margin-bottom: 6px;
}
.rec-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.rec-tag {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.rec-tag.easy { background: var(--accent-subtle); border-color: var(--accent-border); color: var(--accent); }
.rec-tag.low-light { background: var(--water-subtle); border-color: var(--water-border); color: var(--water); }
.rec-tag.float { background: var(--sand-subtle); border-color: var(--sand-border); color: var(--sand); }
.rec-tag.foreground { background: var(--accent-subtle); border-color: var(--accent-border); color: var(--accent); }

/* Checklist */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 6px;
  cursor: pointer;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.check-item:hover { border-color: var(--border-mid); }
.check-item.checked {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
}
.check-item input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent);
}
.check-label {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.55;
}
.check-item.checked .check-label { color: var(--text); }

/* ─── 24. TOOL LINK CARDS (sidebar) ───────────────── */
.tool-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 8px;
  text-decoration: none;
  transition: border-color var(--t) var(--ease);
}
.tool-link:hover { border-color: var(--accent-border); }
.tool-link-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: var(--accent-subtle);
}
.tool-link-icon.teal { background: var(--accent-subtle); }
.tool-link-icon.gold { background: var(--sand-subtle); }
.tool-link-icon.blue { background: var(--water-subtle); }
.tool-link-icon.purple { background: var(--bg-surface); }
.tool-link-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 14px;
}

/* ─── 25. RESPONSIVE ──────────────────────────────── */
@media (max-width: 700px) {
  .tool-hero {
    padding-top: calc(var(--nav-h) + 32px);
    padding-bottom: 28px;
  }
  .tool-hero h1 { font-size: 1.5rem; }
  .tool-card-panel { padding: 18px 20px; }
  .smart-card { padding: 20px 22px; }
  .method-grid { grid-template-columns: 1fr; }
  .steps { flex-wrap: wrap; }
  .step-div { display: none; }
}

/* ─── 26. REDUCED MOTION ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .tool-input,
  .shape-btn,
  .unit-btn,
  .calc-btn,
  .preset-btn,
  .size-btn,
  .style-btn {
    transition: none;
  }
  .results-panel,
  .result-card,
  .smart-card,
  .fish-list-item {
    animation: none;
  }
}


/* ─── BNS GENETICS — MISSING CLASSES (fix) ────────── */
.bns-card-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.parents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 600px) { .parents-grid { grid-template-columns: 1fr; } }

.parent-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
}
.parent-label {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot-male, .dot-female {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-male { background: var(--water); }
.dot-female { background: var(--sand); }

.trait-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toggle-group {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
/* Override the container-style .toggle-btn from tool.css for BNS page.
   On the BNS page, .toggle-btn IS the button (not a container). */
.bns-card .toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  background: var(--bg-surface);
  color: var(--text-mid);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--t) var(--ease),
              background var(--t) var(--ease),
              color var(--t) var(--ease);
  flex: 1;
  min-width: 60px;
}
.bns-card .toggle-btn:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}
.bns-card .toggle-btn.active {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  color: var(--accent);
  font-weight: 600;
}

/* BNS result cards */
#results-grid .result-card {
  text-align: center;
  padding: 16px 14px;
}
#results-grid .result-pct {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
#results-grid .result-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
#results-grid .result-genotype {
  font-family: var(--font);
  font-size: 10px;
  color: var(--text-muted);
}

/* Punnett table */
#punnett-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 12px;
}
#punnett-table th,
#punnett-table td {
  padding: 8px 6px;
  text-align: center;
  border: 1px solid var(--border);
}
#punnett-table th {
  background: var(--bg-elevated);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}
#punnett-table td {
  font-family: var(--font);
  color: var(--text-mid);
}
#punnett-table td span {
  display: block;
  font-size: 9px;
  color: var(--text-faint);
  margin-top: 2px;
}

/* Breeding tips */
.tip-card {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
}
.tip-icon { font-size: 1.3rem; flex-shrink: 0; }
.tip-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.tip-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Pairing summary */
#pairing-summary {
  padding: 14px 16px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}

/* Genetics note */
#genetics-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 14px 16px;
  background: var(--bg-surface);
  border-radius: var(--r-md);
  margin-top: 16px;
}
#genetics-note strong { color: var(--text); }
