/* Megalieten: page-specific tokens (part colours), scoped under #mcmg. Hex only: the 3D view shades them. */
#mcmg {
  --mcmg-stone: #8f8c84;
  --mcmg-lintel: #b3ab98;
  --mcmg-blue: #687c8f;
  --mcmg-special: #c49a5a;
  --mcmg-kerb: #7a776d;
  --mcmg-earth: #8a6a46;
  --mcmg-grass: #6f9a4a;
  --mcmg-moss: #5d7a3e;
  --mcmg-quartz: #e9e7e0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #mcmg {
    --mcmg-stone: #8a877f; --mcmg-lintel: #a39c8a; --mcmg-blue: #6d8296; --mcmg-special: #c8a062; --mcmg-kerb: #6f6c63;
    --mcmg-earth: #7a5d3d; --mcmg-grass: #5f8a3d; --mcmg-moss: #577539; --mcmg-quartz: #cfccc4;
  }
}
:root[data-theme="dark"] #mcmg {
  --mcmg-stone: #8a877f; --mcmg-lintel: #a39c8a; --mcmg-blue: #6d8296; --mcmg-special: #c8a062; --mcmg-kerb: #6f6c63;
  --mcmg-earth: #7a5d3d; --mcmg-grass: #5f8a3d; --mcmg-moss: #577539; --mcmg-quartz: #cfccc4;
}

#mcmg .mcmg-col { display: grid; gap: 14px; min-width: 0; }
#mcmg .mcmg-seg-small span { padding: 5px 4px; font-size: 12px; }
#mcmg p.mcmg-note { color: var(--mcdp-mark); font-size: 14px; }
#mcmg .mcmg-cut { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--mcdp-muted); }
#mcmg .mcmg-cut input { flex: 1; min-width: 0; }
#mcmg .mcmg-seedrow { grid-template-columns: minmax(0, 1fr) auto; }
#mcmg .mcmg-seedrow button { white-space: nowrap; }
