/* SchoolDay v272.21: the Register on a phone or a tablet (admin-register-v27221.js). */

/* All classes on the left, Show test on the right. */
#tab-register .register-heading-actions-v211 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; }
#tab-register .register-heading-actions-v211 > .check-card { margin-left: auto; }

/* The date, with the day before and the day after either side of it. */
.register-date-v27221 { display: flex; align-items: center; gap: .4rem; flex-wrap: nowrap; }
.register-date-v27221 > span { font-weight: 700; margin-right: .2rem; }
.register-date-v27221 input[type="date"] { min-width: 0; flex: 1 1 auto; }
#tab-register .register-day-v27221 { flex: 0 0 auto; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .6rem; font-size: 1.4rem; line-height: 1; font-weight: 800; }

/* No "Register / How this page works" bar on a tablet or a phone, nor on a staff tablet.
   (admin-function-shell-v2365.css shows every title frame with display: grid !important and an id and four classes;
   this has two ids and five, so it wins.) */
@media (max-width: 1024px) {
  .admin-body #adminApp #tab-register.tab-panel > .section-heading.admin-title-frame-v2365 { display: none !important; }
}
body.is-tablet-v27175.admin-body #adminApp #tab-register.tab-panel > .section-heading.admin-title-frame-v2365 { display: none !important; }

/* The letters on a phone: even squares, at least as big as the buttons; All two squares wide. */
.register-letters-v27146.is-grid-v27221 { display: grid !important; grid-template-columns: repeat(var(--register-cols-v27221, 7), minmax(0, 1fr)); gap: 6px; }
#tab-register .register-letters-v27146.is-grid-v27221 .register-letter-v27146 { width: auto; min-width: 0; height: var(--register-size-v27221, 44px); min-height: 44px; margin: 0; padding: 0;
  font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
#tab-register .register-letters-v27146.is-grid-v27221 [data-register-letter-v27146=""] { grid-column: span 2; }

/* Show as only over the classes (admin-register-v27221.js hides it in a class's register; its own display: flex would keep it). */
#tab-register .register-dots-show-v27180[hidden] { display: none !important; }
