/* ==========================================================================
   Supervision: layout only. Filter bar, table, buttons, empty state and dialog come from components/ui.css and Web Awesome.
   ========================================================================== */
@layer app-pages {

    /* The action buttons stay on one row where there is room, and wrap on a narrow screen. */
    .sup2-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
    .sup2-actions { white-space: nowrap; }
    #sup2Error:not([hidden]), #sup2ModalError:not([hidden]) { margin: 0 0 1rem; }

    @container (width <= 40rem) { .sup2-actions { white-space: normal; } }          /* the card switch itself is the shared data_table(cards="narrow") */
}
