/* Leaf presentation only; shared km/daisyUI components own controls and theme states. */
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed]{min-width:0;max-width:1150px;margin:auto}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(fieldset,form){border:0;padding:0;margin:0;min-width:0}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(.ph-field,.tt-field){display:grid;grid-row:span 3;grid-template-rows:subgrid;gap:8px;min-width:0}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(.ph-field,.tt-field)>:is(input,select){grid-row:2;width:100%;min-width:0}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(.ph-field,.tt-field)>label{align-self:end;margin:0}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(.ph-fields,.tt-fields,.sd-grid,.alcohol-lab__fields){gap:8px 16px}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.6}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(#ph-status,#tt-status,#sd-status):empty{display:none}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(.ph-layout,.ph-layout>*,.ph-composition>*,.sd-detail>*,.tt-visual,.alcohol-lab__visuals>*){min-width:0}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(#ph-plot,#tt-visual,.sd-table-wrap,.alcohol-lab__table-scroll,.alcohol-lab__reference-scroll){overflow-x:auto;max-width:100%;min-width:0}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(#ph-plot,#tt-visual) svg{display:block;height:auto;max-width:none}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(#ph-plot,#tt-visual) svg text{fill:var(--ui-ink);font:16px system-ui,sans-serif}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(.sd-table-wrap,.alcohol-lab__table-scroll,.alcohol-lab__reference-scroll) table{width:100%;min-width:640px;table-layout:auto}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(th,td){font-size:18px;line-height:1.6}
@media(max-width:767px){.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(.ph-fields,.tt-fields,.sd-grid,.sd-three,.alcohol-lab__fields){grid-template-columns:minmax(0,1fr)}.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(.ph-field,.tt-field,.sd-field,.alcohol-lab__fields>label){margin-bottom:16px}}
/* Existing qualified serial-dilution shared layout remains in place. */
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] .sd-summary{background:none;color:var(--ui-ink);padding:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,12em),1fr));margin:24px 0}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] .sd-summary span{color:var(--ui-muted)}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] .sd-summary strong{font-size:24px;line-height:1.5}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] .sd-detail>div:first-child{min-width:0;overflow-x:auto}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] .sd-detail svg{width:380px;min-width:380px;max-height:none}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] .sd-result{padding:0;background:none;border:0;border-radius:0}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] .sd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] .sd-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] .sd-summary .labor-hours__metric{padding:16px}
@media(max-width:767px){.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] :is(.sd-grid,.sd-three){grid-template-columns:minmax(0,1fr)}}

.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] .sd-table-wrap table{min-width:1000px}
.public-app-shell #serial-dilution.en-chemistry-review[data-ui-reviewed] .sd-table-wrap :is(th,td){white-space:nowrap}
