/* GameAgro — casca compartilhada dos módulos (6 jogos "Família B").
   Depende de css/tokens.css e css/game-shell.css, carregados antes. */

body.edu-body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-sans);
  background: var(--paper);
}

button, select, input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.edu-app {
  width: min(var(--container), calc(100% - 20px));
  margin: 0 auto;
  height: calc(100vh - 76px);
  padding: 0 0 8px;
  overflow: hidden;
}

.edu-screen {
  display: none;
}

.edu-screen.active {
  display: block;
  height: 100%;
  overflow: hidden;
}

.edu-hero {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(14px, 3vw, 34px);
  align-items: center;
  padding: 8px 0;
}

.edu-hero > * {
  min-width: 0;
  max-width: 100%;
}

.edu-kicker {
  margin: 0 0 8px;
  color: var(--clay-strong);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.edu-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest-strong);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.edu-subtitle,
.edu-text {
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  max-width: 100%;
  white-space: normal;
}

.edu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* botões: mesma linguagem visual de .btn, escopo próprio por compatibilidade com os jogos existentes */
.edu-btn {
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--surface);
  background: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.edu-btn:hover {
  background: var(--forest-strong);
  transform: translateY(-1px);
}

.edu-btn small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  opacity: 0.72;
  text-transform: none;
  letter-spacing: 0;
}

.edu-btn.alt {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.edu-btn.alt:hover {
  border-color: var(--clay);
  color: var(--clay-strong);
}

.edu-btn.ghost {
  color: var(--forest);
  background: transparent;
  padding-left: 6px;
  padding-right: 6px;
}

.edu-btn.ghost:hover {
  color: var(--forest-strong);
  background: var(--forest-tint);
}

.edu-visual,
.edu-panel,
.edu-card,
.edu-modal,
.edu-table-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

/* painel visual: diagrama de ícone único, neutro — a identidade vem do ícone, não de um fundo colorido de "cena" */
.edu-visual {
  position: relative;
  height: min(400px, calc(100vh - 110px));
  min-height: 250px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(31, 61, 46, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 61, 46, 0.05) 1px, transparent 1px),
    var(--surface-sunken);
  background-size: 28px 28px;
}

.edu-visual .visual-icon {
  width: 96px;
  height: 96px;
  color: var(--forest);
  stroke-width: 1.1;
  opacity: 0.85;
}

.visual-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  max-width: min(360px, calc(100% - 32px));
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--surface);
  background: var(--forest-strong);
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.35;
}

.edu-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 10px;
  align-items: start;
  height: 100%;
  overflow: hidden;
  padding-bottom: 2px;
}

.edu-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 10px;
}

.edu-panel {
  padding: 14px;
  max-height: 100%;
  overflow: auto;
  scrollbar-width: thin;
}

.edu-grid {
  display: grid;
  gap: 8px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.edu-card {
  padding: 12px;
}

.edu-card h3,
.edu-panel h2,
.edu-panel h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  color: var(--forest-strong);
}

.edu-panel h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
}

.edu-panel h3 {
  font-size: 1rem;
}

.choice-card,
.action-card,
.plant-card,
.case-card {
  min-height: 68px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  display: grid;
  gap: 4px;
  transition: border-color 150ms ease, background 150ms ease;
}

.choice-card:hover,
.action-card:hover,
.plant-card:hover,
.case-card:hover {
  border-color: var(--forest);
}

.choice-card.selected,
.action-card.selected,
.plant-card.selected,
.case-card.selected {
  color: var(--surface);
  background: var(--forest);
  border-color: var(--forest);
}

.choice-card strong,
.action-card strong,
.plant-card strong,
.case-card strong {
  font-size: 0.92rem;
}

.choice-card small,
.action-card small,
.plant-card small,
.case-card small {
  color: inherit;
  opacity: 0.82;
  line-height: 1.28;
  font-size: 0.78rem;
}

.stat-list,
.log-list {
  display: grid;
  gap: 6px;
}

.stat-row {
  display: grid;
  grid-template-columns: 112px 1fr 36px;
  gap: 6px;
  align-items: center;
  font-size: 0.84rem;
}

.bar {
  height: 6px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
}

.bar span {
  display: block;
  width: var(--value, 50%);
  height: 100%;
  border-radius: inherit;
  background: var(--forest);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 6px 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.86rem;
}

.data-table th {
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row .tag {
  border-radius: var(--radius-sm);
}

.tag.gold {
  color: var(--clay-strong);
  border-color: rgba(168, 89, 47, 0.4);
  background: var(--clay-tint);
}

.feedback {
  min-height: 52px;
  margin-top: 8px;
  padding: 10px;
  border-left: 3px solid var(--forest);
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  color: var(--ink-soft);
  line-height: 1.35;
  font-weight: 500;
  font-size: 0.86rem;
}

.feedback.bad {
  border-left-color: var(--bad);
}

.score-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.score-box span {
  min-height: 52px;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--surface);
  background: var(--forest-strong);
  display: grid;
  align-content: center;
  font-weight: 500;
  font-size: 0.76rem;
}

.score-box strong {
  font-family: var(--font-mono);
  font-size: 1.22rem;
}

/* --- raízes do futuro: perfil de solo navegável --- */
.soil-profile-game {
  position: relative;
  height: calc(100vh - 150px);
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #2f241c 0 13%, #513a29 13% 38%, #7a5638 38% 70%, #93694a 70% 100%);
}

.riz-depth-ruler {
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 26px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(245, 243, 236, 0.55);
  pointer-events: none;
}

.root-map {
  position: absolute;
  inset: 0 0 0 30px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(12, 1fr);
}

.soil-cell {
  position: relative;
  border: 1px solid rgba(245, 243, 236, 0.05);
}

.soil-cell.water::after,
.soil-cell.nutrient::after,
.soil-cell.compact::after,
.soil-cell.acid::after,
.soil-cell.organic::after,
.soil-cell.stone::after {
  content: "";
  position: absolute;
  inset: 26%;
}

.riz-hazard-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.soil-cell.water::after,
.riz-hazard-icon.water {
  background: #6fb3d9;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(45deg);
}

.soil-cell.nutrient::after,
.riz-hazard-icon.nutrient {
  background: #e0a53f;
  border-radius: 3px;
  transform: rotate(45deg);
}

.soil-cell.organic::after,
.riz-hazard-icon.organic {
  background: #4f9d5e;
  border-radius: 100% 0 100% 0;
  transform: rotate(-8deg);
}

.soil-cell.compact {
  background: rgba(30, 22, 16, 0.55);
}

.soil-cell.compact::after,
.riz-hazard-icon.compact {
  background: repeating-linear-gradient(45deg, rgba(20, 15, 11, 0.9) 0 3px, rgba(70, 52, 36, 0.9) 3px 6px);
  border-radius: 2px;
}

.soil-cell.acid::after,
.riz-hazard-icon.acid {
  background: #b05bc9;
  clip-path: polygon(50% 6%, 94% 94%, 6% 94%);
}

.soil-cell.stone::after,
.riz-hazard-icon.stone {
  background: #a99a83;
  border-radius: 35% 45% 42% 50%;
}

.soil-cell.visited {
  background: rgba(245, 243, 236, 0.08);
}

.soil-cell.rooted {
  background: radial-gradient(circle, rgba(248, 233, 168, 0.35), transparent 70%);
}

.soil-cell.rooted::before {
  content: "";
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: #f8e9a8;
  box-shadow: 0 0 10px 3px rgba(248, 233, 168, 0.55);
  animation: rizPulse 1.2s ease-in-out infinite;
}

@keyframes rizPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.85; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* --- trilha vetorial da raiz (SVG sobreposto ao root-map) --- */
.riz-root-svg {
  position: absolute;
  inset: 0 0 0 30px;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}

.riz-root-main {
  stroke: #f8e9a8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 2px rgba(248, 233, 168, 0.6));
}

.riz-root-branch {
  stroke: rgba(248, 233, 168, 0.6);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.riz-root-branch.fine {
  stroke-width: 1.1;
  stroke: rgba(248, 233, 168, 0.42);
}

@keyframes rizGrowSegment {
  to { stroke-dashoffset: 0; }
}

/* --- Raízes do Futuro: visual animado da tela inicial --- */
.riz-hero-visual {
  position: relative;
  height: min(420px, calc(100vh - 110px));
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: linear-gradient(180deg, #dde9e1 0 18%, #513a29 18% 44%, #7a5638 44% 72%, #93694a 72% 100%);
}

.riz-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(245, 243, 236, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245, 243, 236, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}

.riz-hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.riz-hero-root {
  fill: none;
  stroke: #f8e9a8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(248, 233, 168, 0.5));
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: rizHeroGrow 5s ease-in-out infinite;
}

.riz-hero-root.pivotante {
  stroke-width: 3.2;
}

.riz-hero-root.fasciculada {
  stroke-width: 1.8;
}

.riz-hero-branch {
  fill: none;
  stroke: rgba(248, 233, 168, 0.55);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: 0;
  animation: rizHeroBranch 5s ease-in-out infinite;
}

.riz-hero-branch.fine {
  stroke-width: 1.1;
  stroke: rgba(248, 233, 168, 0.4);
}

@keyframes rizHeroGrow {
  0% { stroke-dashoffset: 320; }
  55%, 88% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 320; }
}

@keyframes rizHeroBranch {
  0%, 18% { opacity: 0; }
  40%, 88% { opacity: 1; }
  100% { opacity: 0; }
}

.riz-hero-tag {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 25, 20, 0.55);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.riz-hero-tag-left {
  left: 18%;
}

.riz-hero-tag-right {
  right: 18%;
}

.riz-hero-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(111, 179, 217, 0.75);
  box-shadow: 0 0 6px 1px rgba(111, 179, 217, 0.5);
  animation: rizParticleFloat 6s ease-in-out infinite;
}

.riz-hero-particles span:nth-child(1) { left: 22%; top: 30%; animation-delay: 0s; }
.riz-hero-particles span:nth-child(2) { left: 68%; top: 22%; animation-delay: 1.4s; background: rgba(233, 191, 74, 0.8); box-shadow: 0 0 6px 1px rgba(233, 191, 74, 0.5); }
.riz-hero-particles span:nth-child(3) { left: 34%; top: 58%; animation-delay: 2.6s; }
.riz-hero-particles span:nth-child(4) { left: 78%; top: 62%; animation-delay: 3.8s; background: rgba(233, 191, 74, 0.8); box-shadow: 0 0 6px 1px rgba(233, 191, 74, 0.5); }

@keyframes rizParticleFloat {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-14px); opacity: 1; }
}

.riz-hero-visual .visual-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  max-width: min(360px, calc(100% - 32px));
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--surface);
  background: rgba(20, 25, 20, 0.55);
  font-weight: 500;
  font-size: 0.84rem;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .riz-hero-visual {
    height: 260px;
  }
}

/* --- Raízes do Futuro: nível, painéis compactos --- */
.riz-level-label {
  margin: 4px 0 8px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.riz-level-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.riz-level-btn {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.riz-level-btn.selected {
  color: var(--surface);
  background: var(--forest);
  border-color: var(--forest);
}

.riz-level-tag {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--forest-tint);
  color: var(--forest);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  vertical-align: middle;
}

.riz-setup-panel {
  overflow-y: auto;
}

.riz-subhead {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--forest-strong);
}

.riz-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.riz-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-sunken);
  font-size: 0.78rem;
}

.riz-pill span {
  color: var(--ink-soft);
}

.riz-pill strong {
  font-family: var(--font-mono);
  color: var(--forest-strong);
}

.riz-management-list {
  display: grid;
  gap: 6px;
}

.riz-management-card {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.riz-management-card:hover {
  border-color: var(--forest);
}

.riz-management-card.selected {
  color: var(--surface);
  background: var(--forest);
  border-color: var(--forest);
}

.riz-crop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.riz-crop-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.riz-crop-chip strong {
  font-size: 0.86rem;
}

.riz-crop-chip small {
  font-size: 0.68rem;
  opacity: 0.8;
  text-transform: none;
  letter-spacing: 0;
}

.riz-crop-chip.selected {
  color: var(--surface);
  background: var(--clay);
  border-color: var(--clay);
}

.riz-legend {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.riz-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.riz-sparkle-layer {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  overflow: hidden;
}

.riz-sparkle {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rizSparkleOut 900ms ease-out forwards;
}

@keyframes rizSparkleOut {
  0% { transform: translate(-50%, -50%) translate(0, 0); opacity: 1; }
  100% { transform: translate(-50%, -50%) translate(var(--dx), var(--dy)); opacity: 0; }
}

.mode.selected {
  color: var(--surface);
  background: var(--forest);
  border-color: var(--forest);
}

#solveScreen .choice-card,
#caseScreen .case-card,
#gameScreen .action-card {
  background: var(--surface);
}

#solveScreen .choice-card.selected,
#caseScreen .case-card.selected,
#gameScreen .action-card.selected {
  color: var(--surface);
  background: var(--forest);
}

/* --- modal --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 16px;
  background: rgba(20, 25, 20, 0.5);
}

.modal-backdrop.active {
  display: grid;
}

.edu-modal {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  padding: 18px;
}

#managementOptions,
#cropOptions,
#scenarioOptions,
#cultivarOptions,
#strategyOptions,
#caseList,
#investigationOptions,
#diagnosisOptions,
#evidenceOptions,
#preventionOptions,
#actionList,
#modeOptions,
#parentCards {
  max-height: calc(100vh - 310px);
  overflow: auto;
  scrollbar-width: thin;
}

#actionOptions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

#actionOptions .action-card {
  scroll-snap-align: start;
  min-height: 88px;
}

@media (max-width: 980px) {
  .edu-hero,
  .edu-board {
    grid-template-columns: 1fr;
  }

  .edu-board {
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .edu-visual {
    height: 220px;
    min-height: 190px;
  }

  .edu-visual .visual-icon {
    width: 64px;
    height: 64px;
  }

  .three-col,
  .plant-field {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .edu-app {
    width: min(calc(100% - 16px), 540px);
    max-width: calc(100% - 16px);
    height: calc(100vh - 68px);
  }

  .edu-title {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }

  .edu-subtitle,
  .edu-text {
    font-size: 0.86rem;
  }

  .edu-hero {
    grid-template-rows: 1fr;
    gap: 10px;
    align-content: start;
    padding-top: 18px;
  }

  .edu-visual {
    display: none;
  }

  .edu-actions,
  .two-col,
  .three-col,
  .score-box,
  .weather-grid,
  .plant-field,
  .farm-map {
    grid-template-columns: 1fr;
  }

  .edu-actions {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    position: relative;
    z-index: 2;
  }

  .edu-actions .edu-btn {
    min-width: max-content;
  }

  .stat-row {
    grid-template-columns: 105px 1fr 38px;
  }

  .soil-profile-game {
    height: calc(100vh - 275px);
    min-height: 260px;
  }

  .farm-map,
  .climate-card,
  .lab-board {
    height: calc(100vh - 295px);
    min-height: 230px;
  }

  .plant-field,
  #managementOptions,
  #cropOptions,
  #scenarioOptions,
  #cultivarOptions,
  #strategyOptions,
  #caseList,
  #investigationOptions,
  #diagnosisOptions,
  #evidenceOptions,
  #preventionOptions,
  #actionList,
  #modeOptions,
  #parentCards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 82%);
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    max-height: none;
    padding-bottom: 4px;
  }

  .plant-field > *,
  #managementOptions > *,
  #cropOptions > *,
  #scenarioOptions > *,
  #cultivarOptions > *,
  #strategyOptions > *,
  #caseList > *,
  #investigationOptions > *,
  #diagnosisOptions > *,
  #evidenceOptions > *,
  #preventionOptions > *,
  #actionList > *,
  #modeOptions > *,
  #parentCards > * {
    scroll-snap-align: start;
  }
}
