/* Announcer UI v2: Chemistry. Scoped to an opted-in "chem" workspace (see announcer-v2.js).
   Layout and type only; every control stays and no data is written by styling. */
body[data-ui-v2="on"][data-ui-workspace="chem"] #announcerOperationalApp #panelChemReadings > .card {
  background: var(--v2-surface); border: 1px solid var(--v2-border); border-radius: var(--v2-radius);
}
/* :not(#id) twice raises specificity above the older high-specificity 12-13px rules. */
body[data-ui-v2="on"][data-ui-workspace="chem"]:not(#v2a):not(#v2b) #announcerOperationalApp #panelChemReadings :is(.pill, .tiny, small, label, .tlr-badge, summary, th, td, span, strong, em, p, .chem-status, .guard-meta):not(h1, h2, h3, h4, button, .tlr-btn, [class*="title"]):not(:has(*)) { font-size: var(--v2-font-small) !important; }
body[data-ui-v2="on"][data-ui-workspace="chem"]:not(#v2a):not(#v2b) #announcerOperationalApp #panelChemReadings :is(button, select, input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, summary) { min-height: var(--v2-target) !important; }
body[data-ui-v2="on"][data-ui-workspace="chem"] #announcerOperationalApp #panelChemReadings :is(select, input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea) { font-size: var(--v2-font-body); }
body[data-ui-v2="on"][data-ui-workspace="chem"] #announcerOperationalApp #panelChemReadings #chemReadingsGrid { gap: var(--v2-gap); }
body[data-ui-v2="on"][data-ui-workspace="chem"] #announcerOperationalApp #panelChemReadings .chem-round-banner :is(.chem-status, .chem-round-step span, .chem-round-step strong, .chem-progress-strip span, .chem-progress-strip strong), body[data-ui-v2="on"][data-ui-workspace="chem"] #announcerOperationalApp #panelChemReadings #chemReadingsGrid .chem-round-banner .chem-progress-strip .chem-round-step :is(span, strong) { font-size: var(--v2-font-small) !important; }

body.announcer-bright-ui:is(.light-mode, .dark-mode)[data-ui-v2="on"][data-ui-workspace="chem"] #announcerOperationalApp.wrap #panelChemReadings :is(.chem-status, .chem-round-banner .chem-status) { font-size: var(--v2-font-small) !important; }

/* The app shell is one viewport-high flex column; let the page itself scroll while this workspace is showing. */
body[data-ui-v2="on"][data-ui-workspace="chem"] #announcerOperationalApp { height: auto !important; max-height: none !important; min-height: 100dvh; overflow: visible !important; }
body[data-ui-v2="on"][data-ui-workspace="chem"] #announcerOperationalApp > :is(#topbar, #workspaceNavigation, #versionWatermark) { flex: none !important; }
body[data-ui-v2="on"][data-ui-workspace="chem"] #announcerOperationalApp > #panelChemReadings:not(.hidden) { flex: none !important; height: auto !important; max-height: none !important; overflow: visible !important; }
