/* Geology & Soils Command Center — accent overrides (shared rules in hub-base.css) */
.gs-root { --hub-accent: var(--guide-color-action); }

/* ─── Era Color Tokens (Phase 5.1 polish) ─────────────────────────────────────
 * Promoted from inline hex so the editorial color audit can adjust globally.
 * Geologically meaningful: Precambrian (saddle brown), Paleozoic (steel blue),
 * Mesozoic (forest green), Cenozoic (goldenrod), Quaternary (burlywood). */
:root {
  --era-precambrian: #8B4513;
  --era-paleozoic:   #4682B4;
  --era-mesozoic:    #228B22;
  --era-cenozoic:    #DAA520;
  --era-quaternary:  #D2B48C;
}

/* ═══ Formation Cards with Era-Colored Borders ═════════════════════════════ */

.geo-formation-card {
  border: 1px solid var(--guide-color-line);
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--bg-3, #F7F5F0);
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.geo-formation-card:hover { background: var(--bg-4, #EDEAE2); transform: translateX(2px); }

.geo-formation-icon {
  font-size: var(--guide-fs-2xl);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.geo-formation-info { flex: 1; min-width: 0; }
.geo-formation-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary, #1A1A1F);
  display: flex;
  align-items: center;
  gap: 6px;
}
.geo-formation-age {
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--text-tertiary, #6B6B73);
  margin-top: 1px;
}
.geo-formation-desc {
  font-size: var(--text-xxs);
  color: var(--text-secondary, #4A4A52);
  line-height: 1.35;
  margin-top: 3px;
}

/* ─── Era Color Badges ─────────────────────────────────────────────────────── */

.geo-era-badge {
  display: inline-block;
  font-size: var(--guide-fs-2xs);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  text-transform: var(--guide-label-case, uppercase);
  letter-spacing: 0.3px;
  line-height: 16px;
}
.geo-era-badge--precambrian { background: rgba(139,69,19,0.12); color: var(--era-precambrian); }
.geo-era-badge--paleozoic   { background: rgba(70,130,180,0.12); color: var(--era-paleozoic); }
.geo-era-badge--mesozoic    { background: rgba(34,139,34,0.12); color: var(--era-mesozoic); }
.geo-era-badge--cenozoic    { background: rgba(218,165,32,0.12); color: var(--era-cenozoic); }
.geo-era-badge--quaternary  { background: rgba(210,180,140,0.15); color: #8B7355; }

/* ─── Well Data Cards ──────────────────────────────────────────────────────── */

.geo-well-card {
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--bg-3, #F7F5F0);
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
}
.geo-well-card:hover { background: var(--bg-4, #EDEAE2); transform: translateX(2px); }

.geo-well-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.geo-well-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary, #1A1A1F);
}
.geo-well-yield {
  font-size: var(--text-xxs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(70,130,180,0.12);
  color: #4682B4;
}
.geo-well-meta {
  font-size: var(--text-xs);
  color: var(--text-secondary, #4A4A52);
  margin-top: 2px;
}
.geo-aquifer-badge {
  display: inline-block;
  font-size: var(--guide-fs-2xs);
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 8px;
  background: rgba(146,64,14,0.08);
  color: #92400E;
  margin-top: 3px;
}

/* ─── Well Depth Bars ──────────────────────────────────────────────────────── */

.geo-depth-row {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 3px 0;
}
.geo-depth-label {
  font-size: var(--text-xs);
  font-weight: 600;
  min-width: 90px;
  color: var(--text-primary, #1A1A1F);
}
.geo-depth-track {
  flex: 1;
  height: 8px;
  background: var(--bg-0, #e5ddd0);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.geo-depth-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}
.geo-depth-fill--shallow { background: var(--guide-color-moss); }
.geo-depth-fill--moderate { background: #84cc16; }
.geo-depth-fill--deep { background: var(--guide-color-ochre); }
.geo-depth-fill--vdeep { background: var(--guide-color-status-crit); }

.geo-depth-value {
  font-size: var(--text-xs);
  font-weight: 700;
  min-width: 36px;
  text-align: right;
  color: var(--text-primary, #1A1A1F);
}

/* ─── Soil Profile Bars ────────────────────────────────────────────────────── */

.geo-soil-profile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 6px;
  overflow: hidden;
}
.geo-soil-horizon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  color: var(--guide-color-text-on-accent, #fff);
  font-size: var(--text-xs);
  font-weight: 600;
  transition: opacity 0.15s;
}
.geo-soil-horizon:hover { opacity: 0.85; }
.geo-soil-horizon--O { background: #4a3728; }
.geo-soil-horizon--A { background: #6B5B3C; }
.geo-soil-horizon--B { background: #8B7355; }
.geo-soil-horizon--C { background: #B8A88A; color: var(--text-primary, #1A1A1F); }
.geo-soil-horizon--R { background: #6B7280; }

.geo-soil-horizon-label {
  font-weight: 700;
  min-width: 18px;
}
.geo-soil-horizon-desc {
  flex: 1;
  font-weight: 400;
  opacity: 0.9;
}
.geo-soil-horizon-depth {
  font-size: var(--guide-fs-2xs);
  opacity: 0.7;
  white-space: nowrap;
}

/* ─── Seismic Pulse Animation ──────────────────────────────────────────────── */

.geo-seismic-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.geo-seismic-pulse::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--guide-color-status-crit);
  animation: geo-pulse 2s ease-out infinite;
}

/* ─── DRASTIC Vulnerability Scale ──────────────────────────────────────────── */

.geo-drastic-row {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 3px 0;
}
.geo-drastic-label {
  font-size: var(--text-xs);
  font-weight: 600;
  min-width: 60px;
  color: var(--text-primary, #1A1A1F);
}
.geo-drastic-bar {
  flex: 1;
  height: 10px;
  background: var(--bg-0, #e5ddd0);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
.geo-drastic-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.3s ease;
  background: linear-gradient(90deg, var(--guide-color-moss), #84cc16, #fde047, var(--guide-color-ochre), var(--guide-color-mt-red-bright, #DC2626));
}
.geo-drastic-bar--low      .geo-drastic-fill { background: var(--guide-color-moss); }
.geo-drastic-bar--moderate .geo-drastic-fill { background: #84cc16; }
.geo-drastic-bar--high     .geo-drastic-fill { background: var(--guide-color-ochre); }
.geo-drastic-bar--vhigh    .geo-drastic-fill { background: var(--guide-color-status-crit); }

.geo-drastic-score {
  font-size: var(--text-xs);
  font-weight: 700;
  min-width: 36px;
  text-align: right;
  color: var(--text-primary, #1A1A1F);
}
.geo-drastic-legend {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 6px;
  font-size: var(--guide-fs-2xs);
  color: var(--text-tertiary, #6B6B73);
}
.geo-drastic-legend span::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 3px;
  vertical-align: middle;
}

/* ─── MAR Suitability Cards ────────────────────────────────────────────────── */

.geo-mar-card {
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--bg-3, #F7F5F0);
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.geo-mar-card:hover { background: var(--bg-4, #EDEAE2); transform: translateX(2px); }
.geo-mar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: var(--mar-score, 0%);
  height: 100%;
  background: rgba(2,132,199,0.06);
  transition: width 0.3s ease;
  pointer-events: none;
}

.geo-mar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  position: relative;
}
.geo-mar-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary, #1A1A1F);
}
.geo-mar-score {
  font-size: var(--text-xxs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(2,132,199,0.12);
  color: var(--guide-color-lake);
}
.geo-mar-factors {
  font-size: var(--text-xs);
  color: var(--text-secondary, #4A4A52);
  margin-top: 2px;
  position: relative;
}

/* ─── Risk Gauge (Geology) ─────────────────────────────────────────────────── */

.geo-risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.geo-risk-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px;
  background: var(--bg-3, #F7F5F0);
  border-radius: 6px;
  text-align: center;
}
.geo-risk-gauge-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  font-weight: 800;
  border: 3px solid currentColor;
  margin-bottom: 4px;
}
.geo-risk-gauge-ring--critical { color: var(--guide-color-status-crit); }
.geo-risk-gauge-ring--warning  { color: var(--guide-color-ochre); }
.geo-risk-gauge-ring--ok       { color: var(--guide-color-moss); }

.geo-risk-label {
  font-size: var(--guide-fs-2xs);
  font-weight: 600;
  color: var(--text-secondary, #4A4A52);
  line-height: 1.2;
}
.geo-risk-status {
  font-size: var(--guide-fs-2xs);
  color: var(--text-tertiary, #6B6B73);
  margin-top: 1px;
}

/* ─── Aquifer Cross-Section ────────────────────────────────────────────────── */

.geo-xsection {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-3, #F7F5F0);
  border: 1px solid var(--border-default, var(--guide-color-border-default, rgba(0,0,0,0.1)));
}
.geo-xsection-layer {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  font-size: var(--text-xs);
  border-bottom: 1px solid var(--border-subtle, rgba(0,0,0,0.04));
  gap: 6px;
}
.geo-xsection-layer:last-child { border-bottom: none; }
.geo-xsection-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}
.geo-xsection-name {
  flex: 1;
  font-weight: 600;
  color: var(--text-primary, #1A1A1F);
}
.geo-xsection-depth {
  font-size: var(--guide-fs-2xs);
  color: var(--text-tertiary, #6B6B73);
  white-space: nowrap;
}
.geo-xsection-aquifer-tag {
  font-size: var(--guide-fs-2xs);
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 8px;
  background: rgba(2,132,199,0.10);
  color: var(--guide-color-lake);
}

/* ─── Geology Insight Cards ────────────────────────────────────────────────── */

.geo-insight-card {
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--bg-3, #F7F5F0);
  border: 1px solid var(--guide-color-line);
  transition: background 0.15s;
}
.geo-insight-card:hover { background: var(--bg-4, #EDEAE2); }

.geo-insight-header {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 3px;
}
.geo-insight-icon {
  width: 18px;
  height: 18px;
  color: var(--hub-accent, #92400E);
  flex-shrink: 0;
}
.geo-insight-card--critical .geo-insight-icon { color: var(--guide-color-status-crit); }
.geo-insight-card--warn .geo-insight-icon     { color: var(--guide-color-ochre); }
.geo-insight-card--info .geo-insight-icon     { color: var(--guide-color-lake); }

.geo-insight-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary, #1A1A1F);
}
.geo-insight-body {
  font-size: var(--text-xxs);
  color: var(--text-secondary, #4A4A52);
  line-height: 1.4;
  margin-left: 24px;
}

/* ─── Geology Layer Toggles ────────────────────────────────────────────────── */

/* ─── Basin Grade Badges ───────────────────────────────────────────────────── */

.geo-basin-grade {
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  border-radius: 50%;
  color: var(--guide-color-text-on-accent, #fff);
  font-weight: 700;
  font-size: var(--text-xs);
  text-align: center;
}

/* ─── Pedological Profile Viewer (Phase 3.6) ──────────────────────────────── */

.soil-profile-root {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.soil-profile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.soil-profile-title {
  font-size: var(--guide-fs-sm);
  font-weight: 700;
  color: var(--text-primary, #1A1A1F);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.soil-profile-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--guide-fs-2xs);
  color: var(--text-tertiary, #6B6B73);
}
.soil-loc {
  font-family: var(--guide-font-mono);
  background: var(--bg-3, #F7F5F0);
  padding: 2px 6px;
  border-radius: 4px;
}
.soil-cite {
  font-size: var(--guide-fs-2xs);
  font-weight: 500;
  color: var(--text-tertiary, #6B6B73);
  font-style: italic;
}
.soil-cites {
  font-size: var(--guide-fs-2xs);
  line-height: 1.4;
  color: var(--text-tertiary, #6B6B73);
  background: var(--bg-3, #F7F5F0);
  padding: 6px 8px;
  border-radius: 4px;
}
.soil-cites strong { color: var(--text-secondary, #4A4A52); }

.soil-mu {
  background: var(--bg-3, #F7F5F0);
  border-radius: 6px;
  padding: 8px 10px;
}
.soil-mu-head {
  font-size: var(--guide-fs-2xs);
  margin-bottom: 6px;
}
.soil-mu-name {
  font-weight: 700;
  color: var(--text-primary, #1A1A1F);
}
.soil-mu-sym {
  color: var(--text-tertiary, #6B6B73);
  font-weight: 500;
  margin-left: 4px;
}
.soil-mu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.soil-comp {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: var(--bg-2, #FFFFFF);
  border-radius: 6px;
  border: 1px solid var(--border-default, rgba(0,0,0,0.08));
}
.soil-comp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.soil-comp-name {
  font-size: var(--guide-fs-2xs);
  font-weight: 700;
  color: var(--text-primary, #1A1A1F);
}
.soil-comp-pct {
  color: var(--text-tertiary, #6B6B73);
  font-weight: 500;
  margin-left: 3px;
}
.soil-comp-tags {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
}
.soil-tag {
  font-size: var(--guide-fs-2xs);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 8px;
  letter-spacing: 0.3px;
  text-transform: var(--guide-label-case, uppercase);
}
.soil-tag--mute {
  background: var(--bg-3, #F7F5F0);
  color: var(--text-tertiary, #6B6B73);
  text-transform: none;
  font-weight: 500;
}
.soil-tag--hydric {
  background: var(--severity-critical-dim, rgba(192,57,47,0.12));
  color: var(--severity-critical, #C0392F);
}
.soil-comp-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}
.soil-comp-svg {
  flex-shrink: 0;
}
.soil-comp-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  margin: 0;
  font-size: var(--guide-fs-2xs);
}
.soil-comp-meta div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle, rgba(0,0,0,0.04));
  padding: 1px 0;
}
.soil-comp-meta dt {
  color: var(--text-tertiary, #6B6B73);
  font-weight: 500;
}
.soil-comp-meta dd {
  color: var(--text-primary, #1A1A1F);
  font-weight: 600;
  margin: 0;
}

.soil-awc-block {
  background: var(--bg-3, #F7F5F0);
  border-radius: 6px;
  padding: 8px 10px;
}
.soil-awc-title {
  font-size: var(--guide-fs-2xs);
  font-weight: 700;
  color: var(--text-primary, #1A1A1F);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.soil-cite-line {
  font-size: var(--guide-fs-2xs);
  color: var(--text-tertiary, #6B6B73);
  font-family: var(--guide-font-mono);
}

.soil-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 14px;
  background: var(--ai-accent, #84A65A);
  color: var(--guide-color-text-on-accent, #fff);
  border: none;
  font-size: var(--guide-fs-2xs);
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s;
}
.soil-ai-btn:hover { filter: brightness(0.92); }
.soil-ai-btn i { width: 12px; height: 12px; }

.soil-loading, .soil-error, .soil-empty {
  padding: 12px;
  text-align: center;
}
.spin {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@media (max-width: 480px) {
  .soil-comp-body { grid-template-columns: 1fr; }
  .soil-mu-grid { grid-template-columns: 1fr; }
}

/* ═══ Mobile Responsive ═════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .geo-risk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .geo-formation-card {
    padding: 6px 8px;
  }
  .geo-formation-icon {
    font-size: var(--guide-fs-lg);
    width: 26px;
    height: 26px;
  }
  .geo-well-card {
    padding: 6px 8px;
  }
  .geo-mar-card {
    padding: 6px 8px;
  }
  .geo-depth-label {
    min-width: 70px;
    font-size: var(--guide-fs-2xs);
  }
  .geo-drastic-label {
    min-width: 48px;
    font-size: var(--guide-fs-2xs);
  }
  .geo-insight-body {
    margin-left: 0;
    margin-top: 4px;
  }
  .geo-soil-horizon {
    padding: 3px 6px;
    font-size: var(--guide-fs-2xs);
  }
  .geo-xsection-layer {
    padding: 3px 6px;
    font-size: var(--guide-fs-2xs);
  }
}

@media (max-width: 480px) {
  .geo-risk-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .geo-risk-gauge {
    padding: 4px;
  }
  .geo-risk-gauge-ring {
    width: 36px;
    height: 36px;
    font-size: var(--text-sm);
    border-width: 2px;
  }
  .geo-formation-card {
    flex-direction: column;
    gap: 4px;
  }
  .geo-formation-icon {
    font-size: var(--text-lg);
    width: 22px;
    height: 22px;
  }
  .geo-depth-label {
    min-width: 60px;
    font-size: var(--guide-fs-2xs);
  }
  .geo-depth-track {
    height: 6px;
  }
  .geo-drastic-bar {
    height: 7px;
  }
  .geo-drastic-legend {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  
  .geo-insight-title {
    font-size: var(--text-xxs);
  }
  .geo-insight-body {
    font-size: var(--text-xs);
  }
  .geo-soil-horizon {
    padding: 2px 5px;
    font-size: var(--guide-fs-2xs);
  }
  .geo-xsection-layer {
    padding: 2px 5px;
    font-size: var(--guide-fs-2xs);
  }
  .geo-mar-card {
    padding: 5px 8px;
  }
  .geo-well-card {
    padding: 5px 8px;
  }
}

/* ───────────────────────────────────────────────────────────────────────────
 *  DARK THEME OVERRIDES
 * ──────────────────────────────────────────────────────────────────────── */
[data-theme="dark"] .geo-formation-card,
[data-theme="dark"] .geo-well-card,
[data-theme="dark"] .geo-mar-card,
[data-theme="dark"] .geo-insight-card,
[data-theme="dark"] .geo-risk-gauge,
[data-theme="dark"] .geo-xsection {
  background: #23232e;
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .geo-formation-card:hover,
[data-theme="dark"] .geo-well-card:hover,
[data-theme="dark"] .geo-mar-card:hover,
[data-theme="dark"] .geo-insight-card:hover { background: #2a2a38; }
[data-theme="dark"] .geo-formation-name,
[data-theme="dark"] .geo-well-name,
[data-theme="dark"] .geo-mar-name,
[data-theme="dark"] .geo-insight-title,
[data-theme="dark"] .geo-xsection-name,
[data-theme="dark"] .geo-drastic-label,
[data-theme="dark"] .geo-drastic-score,
[data-theme="dark"] .geo-depth-label,
[data-theme="dark"] .geo-depth-value { color: var(--guide-color-ink); }
[data-theme="dark"] .geo-formation-age,
[data-theme="dark"] .geo-formation-desc,
[data-theme="dark"] .geo-well-meta,
[data-theme="dark"] .geo-mar-factors,
[data-theme="dark"] .geo-insight-body,
[data-theme="dark"] .geo-risk-label,
[data-theme="dark"] .geo-xsection-depth,
[data-theme="dark"] .geo-drastic-legend { color: #a0a0b0; }
[data-theme="dark"] .geo-risk-status { color: #6B6B73; }
[data-theme="dark"] .geo-era-badge--paleozoic { background: rgba(70,130,180,0.20); }
[data-theme="dark"] .geo-era-badge--mesozoic  { background: rgba(34,139,34,0.20); }
[data-theme="dark"] .geo-era-badge--cenozoic  { background: rgba(218,165,32,0.20); }
[data-theme="dark"] .geo-era-badge--quaternary { background: rgba(210,180,140,0.20); }
[data-theme="dark"] .geo-well-yield {
  background: rgba(70,130,180,0.20);
  color: var(--guide-color-lake);
}
[data-theme="dark"] .geo-aquifer-badge { background: rgba(146,64,14,0.20); }
[data-theme="dark"] .geo-mar-score {
  background: rgba(2,132,199,0.20);
  color: var(--guide-color-lake);
}
[data-theme="dark"] .geo-xsection-layer { border-bottom-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .geo-xsection-aquifer-tag {
  background: rgba(2,132,199,0.20);
  color: var(--guide-color-lake);
}
[data-theme="dark"] .geo-depth-track,
[data-theme="dark"] .geo-drastic-bar { background: rgba(255,255,255,0.10); }

[data-theme="dark"] .geo-insight-card--info .geo-insight-icon { color: var(--guide-color-lake); }
/* Soil profile */
[data-theme="dark"] .soil-profile-title,
[data-theme="dark"] .soil-mu-name,
[data-theme="dark"] .soil-comp-name,
[data-theme="dark"] .soil-awc-title { color: var(--guide-color-ink); }
[data-theme="dark"] .soil-profile-meta,
[data-theme="dark"] .soil-mu-sym,
[data-theme="dark"] .soil-comp-pct,
[data-theme="dark"] .soil-cite,
[data-theme="dark"] .soil-cite-line,
[data-theme="dark"] .soil-comp-meta dt { color: #6B6B73; }
[data-theme="dark"] .soil-comp-meta dd { color: var(--guide-color-ink); }
[data-theme="dark"] .soil-comp-meta div { border-bottom-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .soil-loc,
[data-theme="dark"] .soil-mu,
[data-theme="dark"] .soil-awc-block { background: #2a2a38; }
[data-theme="dark"] .soil-comp {
  background: #23232e;
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .soil-cites {
  background: #2a2a38;
  color: #a0a0b0;
}
[data-theme="dark"] .soil-cites strong { color: var(--guide-color-ink); }
[data-theme="dark"] .soil-tag--mute {
  background: rgba(255,255,255,0.08);
  color: #a0a0b0;
}
