/*
 * The terminal page with no session on it (client/js/terminal-empty-entry.js).
 *
 * Every control here acts on THE session on the page, and there is none, so
 * each is hidden while `#terminal-screen` carries the empty marker. Two ids
 * and two classes in each selector, so these beat the one-class
 * `body.ps-terminal-active #x` rules that reveal them, with no
 * `!important`: the empty flag is paired with the active one here so the two-class
 * selector still outweighs the one-class reveal rules (the `:has()` argument's ids
 * used to do that; the page flags in web/src/lib/page-flags/ carry classes only). The phone key bar is on it too: every key writes to the
 * session. The agents drawer's toggle is not on the list: the drawer is
 * how a session is picked from here.
 */
body.ps-terminal-empty-active.ps-terminal-active :is(
    #sessionNotesBtn,
    #headerSessionThemeBtn,
    #headerDetachBtn,
    #header-rename-pencil,
    #terminalSearchBtn,
    #terminal-key-bar
) {
    display: none;
}
