/* ===== One type and control scale =====
   Measured across all 239 pages (2026-11-20): section headings came in three sizes (17.3px, 15.7px and 15.2px), form fields were
   44px tall next to 38px buttons, and table headings, eyebrows and small notes were as small as 9.5px. This sheet
   settles those in one place. Same rule as compact.css: every selector starts with the id prefix so it outranks the
   older page rules, and Job Shop (.mfg-shell) is left alone. Phones keep the larger touch sizes. */

/* ---------- section headings: one size (the .95rem the panel headings in compact.css already use) ---------- */
#app .app-layout:not(.mfg-shell) .page-content :is(h2, h3, .mfg-section-title):not([class*="hero"]) { font-size: .95rem !important; font-weight: 650 !important; line-height: 1.3 !important; letter-spacing: -.005em !important; }

/* ---------- smallest text: never under 11.5px ---------- */
#app .app-layout:not(.mfg-shell) .page-content :is(th, .km-eyebrow, .mfg-meta, .ph-label, .cal-dow, .jobs-badge, .aging-badge) { font-size: max(.72rem, 11.5px) !important; }

/* ---------- form fields as tall as the buttons beside them (computer screens only) ---------- */
@media (min-width: 901px) {
    #app { --km-control-height: 38px; }
}

/* ---------- a button's label stays on one line in a toolbar ---------- */
@media (min-width: 701px) {
    #app .app-layout:not(.mfg-shell) .page-content :is([class$="-toolbar"], [class$="-toolbar-controls"], [class*="-toolbar "], [class$="-actions"], [class$="-head-actions"]) > :is(button, a.km-button, .km-button) { white-space: nowrap; }
}
