/* Laboratorio de ácido-base y equilibrio (usa también probabilidad/probabilidad.css para pestañas y resultados) */
#ab-root .pr-panel > * { min-width: 0; }
#panel-eq { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
@media (max-width: 900px) { #panel-eq { grid-template-columns: 1fr; } }
.ab-species { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.ab-species legend { font-weight: 700; font-size: .92rem; margin: 0 0 6px; padding: 0; }
.ab-sp-head, .ab-sp-row { display: grid; grid-template-columns: 3.6em minmax(0, 1fr) 5.4em 6.6em; gap: 6px; align-items: center; }
.ab-sp-row + .ab-sp-row { margin-top: 6px; }
.ab-sp-head { font-size: .74rem; font-weight: 700; color: var(--bf-text-2, #b3c2db); margin: 0 0 4px; }
.ab-sp-row .bt-input, .ab-sp-row .bt-select { padding-left: 8px; padding-right: 8px; min-width: 0; }
.ab-sp-row .bt-input:disabled { opacity: .45; }
.ab-eqn { font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; font-weight: 700; margin: 0 0 12px; overflow-wrap: anywhere; }
.ab-ice-wrap { overflow-x: auto; margin: 0 0 12px; }
.ab-ice { min-width: 100%; }
.ab-ice thead th { text-transform: none; letter-spacing: .02em; font-size: .8rem; }
.ab-ice tbody th { white-space: nowrap; }
.ab-ice td { font-family: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace; white-space: nowrap; }
.ab-ice td.ab-na { color: var(--bf-text-2, #b3c2db); font-family: inherit; white-space: normal; }
.pr-out .bt-note { margin: 0 0 12px; }
.pr-out h3 { margin: 14px 0 8px; font-size: 1rem; }
@media (max-width: 520px) {
  .ab-sp-head, .ab-sp-row { grid-template-columns: 3em minmax(0, 1fr) 4.8em 5.6em; gap: 4px; }
}
