/* Compact bilingual typography and structural labels. */
:root[data-language="both"] h1 {
    font-size:clamp(2rem,3.2vw,3.5rem);
    line-height:1.1;
}
:root[data-language="both"] h1 .i18n-pair { row-gap:.12em; }
:root[data-language="both"] h1 .i18n-en {
    font-size:clamp(.875rem,.48em,1.65rem);
    line-height:1.2;
}
:root[data-language="both"] h2 .i18n-en { font-size:.68em; line-height:1.25; }
:root[data-language="both"] :is(h3,h4) .i18n-en { font-size:.78em; line-height:1.25; }
:root[data-language="both"] :is(button,a,label,summary,legend) > .i18n-pair { row-gap:.08em; }
:root[data-language="both"] .info-line:has(> .info-label) {
    display:grid;
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
    column-gap:12px;
    row-gap:2px;
    align-items:start;
    margin:7px 0;
    line-height:1.3;
}
:root[data-language="both"] .info-line > :is(.info-label,span,select) { min-width:0; }
:root[data-language="both"] .info-line .i18n-en { font-size:.82em; line-height:1.25; }
:root[data-language="both"] .info-line:has(> :is(#mixExplanation,#electrolysisExplanation,#electrolysisProcess,#electrolysisObservation)) {
    grid-template-columns:minmax(0,1fr);
    row-gap:4px;
}
.acids-transfer-steps li { align-items:flex-start; }
.acids-transfer-steps li > .i18n-pair { flex:1; min-width:0; }
.acids-transfer-steps li > span:first-child { flex:0 0 22px; }
:root[data-language="both"] .acids-transfer-steps { margin-top:18px; }
:root[data-language="both"] .acids-transfer-steps li { line-height:1.35; }
:root[data-language="both"] .acids-transfer-steps .i18n-en { font-size:.9em; }
:root[data-language="both"] :is(.salts-hero,.neut-hero) { gap:20px; padding-bottom:24px; }
:root[data-language="both"] :is(.salts-panel,.neut-panel) { padding:clamp(16px,2vw,24px); }
:root[data-language="both"] :is(.salts-section-heading,.neut-section-heading) { margin-bottom:16px; gap:14px; }
:root[data-language="both"] .salts-workbench { padding:18px 0; }
:root[data-language="both"] .salts-lab-toolbar { gap:20px; padding:14px 18px; }
:root[data-language="both"] .neut-section { margin-top:26px; }
:root[data-language="both"] :is(.salts-page,.neut-page) p { line-height:1.45; }
@media(max-width:600px) {
    .acids-transfer-steps { grid-template-columns:minmax(0,1fr); gap:8px; }
    .acids-transfer-steps li { flex-direction:row; align-items:flex-start; padding-bottom:7px; }
}
