/*
 * Substratrechner – ergänzende Regeln (Zeilen für Töpfe und Bestandteile,
 * Ergebnisliste). Grundgestaltung aus den aw-Regeln des Themes. Wird nur
 * auf Tool-Seiten geladen, denen dieses Modul zugeordnet ist.
 */
.aw-tool-substrat .su-row {
  display: grid; gap: 8px 10px; grid-template-columns: 1fr 1fr; align-items: end;
  padding: 12px 0; border-bottom: 1px solid var(--linie, #D8D2C5);
}
.aw-tool-substrat .su-row:first-child { padding-top: 0; }
.aw-tool-substrat .su-row.su-mix { grid-template-columns: 1fr 1fr; }
.aw-tool-substrat .su-row .su-name { grid-column: 1 / -1; }
.aw-tool-substrat .su-row label { margin: 0; }
.aw-tool-substrat .su-del {
  grid-column: 1 / -1; justify-self: start; padding: 4px 0; font: inherit; font-size: 13px; font-weight: 600;
  color: #8E2F1F; background: none; border: 0; cursor: pointer; text-decoration: underline;
}
.aw-tool-substrat .su-del[hidden] { display: none; }
.aw-tool-substrat .aw-inline-btn { margin-top: 10px; }

.aw-tool-substrat .aw-result-hero[data-level="1"] { background: #7A5A12; }
.aw-tool-substrat .aw-result-hero .aw-result-message { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; line-height: 1.45; }

.aw-tool-substrat .su-list { list-style: none; margin: 14px 0; padding: 0; }
.aw-tool-substrat .su-list li { padding: 12px 0; border-bottom: 1px solid var(--linie, #D8D2C5); }
.aw-tool-substrat .su-list li:last-child { border-bottom: 0; }
.aw-tool-substrat .su-list b { display: block; font-size: 16px; color: var(--text-dunkel, #17221A); }
.aw-tool-substrat .su-list span { display: block; font-size: 14px; line-height: 1.5; color: #3F4D42; margin-top: 2px; }
.aw-tool-substrat .su-list:empty { display: none; }

/* Textfeld im gleichen Stil wie die Zahlenfelder des Themes */
.aw-tool-substrat .aw-tool-form input[type="text"], .aw-tool-substrat input[type="text"] {
  display: block; width: 100%; margin-top: 4px; padding: 9px 10px;
  border: 1.5px solid var(--linie, #D8D2C5); border-radius: 8px;
  background: #fff; color: var(--text-dunkel, #17221A); font: inherit;
}
.aw-tool-substrat input[type="text"]:focus-visible {
  outline: 3px solid var(--blattgruen, #45652F); outline-offset: 1px; border-color: var(--blattgruen, #45652F);
}
