/* V2 test-site only: keep the original station controls and handlers.
 * The existing phone-palette class uses the shared narrow-phone predicate,
 * excluding iPad/tablet/desktop/Fold-wide. Only the two-button student pager
 * is affected; PAPS roster dialogs, other footers and colors stay unchanged. */
@layer peV2ActionRoles20261018 {
  @media(max-width:768px) {
    html.peV2PhoneActionPalette .classroomStationCard>footer:has(>#stationPrev):has(>#stationSaveNext) {
      display:grid!important;
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
      align-items:stretch!important;
      gap:10px!important;
    }
    html.peV2PhoneActionPalette .classroomStationCard>footer:has(>#stationPrev):has(>#stationSaveNext)>:is(#stationPrev,#stationSaveNext) {
      box-sizing:border-box!important;
      display:flex!important;
      align-items:center!important;
      justify-content:center!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      height:52px!important;
      min-height:52px!important;
      margin:0!important;
      padding:10px 8px!important;
      border-radius:12px!important;
      font-size:14px!important;
      line-height:1.4!important;
      white-space:nowrap!important;
      text-align:center!important;
      flex:none!important;
    }
  }
}
