/* == Module header (D6). Purpose/Status are hand-written; Module-Map.py --check verifies the rest. ==
   Purpose:   Customer portal start page: the Remote support button in the header and its pressed
              look.
   Status:    active
   Loaded by: customer-welcome.html
   Replaces:  none
   History:   451
   == end of module header == */
/* BSS 451 (2026-10-24, portal start row): Remote support left the row of start cards for the header (the header
   button was the chosen design), so the three cards share one row. The button keeps its existing pill look (release 297);
   these rules add the pressed look while the code box is open and keep its word on phones. */
@layer app {
    .remote-help297[aria-pressed=true] {
        background: #259bea;
        border-color: #259bea;
        color: #fff
    }

    .remote-help297[aria-pressed=true]:hover {
        background: #1f8bd3
    }

    /* The pill shows only its icon under 481px; the word fits down to 360px (a folded iPhone Duo is about 466px wide),
       so customers still read "Remote support" there. */
    @media(max-width:480px) {
        .remote-help297 span {
            display: inline
        }

        .remote-help297 {
            padding: 6px 11px;
            min-height: 34px
        }
    }

    /* Very narrow phones: the monitor icon alone; the button's aria-label still says "Remote support". */
    @media(max-width:359px) {
        .remote-help297 span {
            display: none
        }

        .remote-help297 {
            padding: 6px 8px
        }
    }
}
