/* SchoolDay v270.74: a child's requirements part of the window they are in;
   the register on a phone; Transfer rota; the Overview's Show as. */

/* ------------------------------------------------- a child's club requirements */
/* Not a .table-wrap: that is a box 72vh high that scrolls on its own, a
   window inside the window. Only sideways can scroll, and only when the
   columns at their smallest do not fit. */
.clubs-req-wrap-v27074 { overflow-x: auto; overflow-y: hidden; max-height: none; border: 1px solid #dbe4ee; border-radius: .5rem; background: #fff; }
.clubs-req-wrap-v27074 .clubs-req-table-v2690 td { overflow-wrap: anywhere; }
.clubs-req-on-v27074 { margin: .8rem 0 .4rem; }
.clubs-req-rest-v27074 { margin-top: .7rem; }
.clubs-req-rest-v27074 > summary { cursor: pointer; font-weight: 700; color: #0f3d6b; padding: .3rem 0; }
.clubs-req-rest-v27074[open] > summary { margin-bottom: .4rem; }
.clubs-req-kept-v27074 { margin: .2rem 0 .6rem; }

@media (max-width: 760px) {
  /* Each date a card, each cell named: nothing to scroll sideways. */
  .clubs-req-wrap-v27074 { overflow: visible; border: 0; border-radius: 0; background: none; }
  .clubs-req-wrap-v27074 table, .clubs-req-wrap-v27074 tbody, .clubs-req-wrap-v27074 tr { display: block; width: auto; }
  .clubs-req-wrap-v27074 thead { display: none; }
  .clubs-req-wrap-v27074 tr { border: 1px solid #dbe4ee; border-radius: .6rem; padding: .45rem .7rem; margin-bottom: .55rem; background: #fff; }
  .clubs-req-wrap-v27074 .clubs-req-table-v2690 td { display: grid; grid-template-columns: 7.6rem minmax(0, 1fr); gap: .5rem; border: 0; padding: .25rem 0; font-size: 1rem; }
  .clubs-req-wrap-v27074 .clubs-req-table-v2690 td::before { content: attr(data-label); font-weight: 700; color: #475569; white-space: nowrap; overflow-wrap: normal; }
  /* The pupil record over a register fills the phone's screen. */
  html body.admin-shell-v206-ready #adminContentV206 > #tab-pupils.tab-panel.is-sub-window-v27046,
  html #tab-pupils.tab-panel.is-sub-window-v27046 { /*c27253*/top: 0 !important; /*c27253*/right: 0 !important; /*c27253*/bottom: 0 !important; /*c27253*/left: 0 !important; inset: 0 !important; border: 0; }
}

/* ------------------------------------------------- the register on a phone */
@media (max-width: 760px) {
  /* The name, big and in the middle (its status dot at the left, out of
     the way); under it the status and class, then the password. */
  #tab-clubs .clubs-reg-pupil-v2690 { position: relative; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1.4rem; }
  #tab-clubs .clubs-reg-pupil-v2690 > .clubs-dot-v2690 { position: absolute; left: .1rem; top: .55rem; }
  #tab-clubs .clubs-reg-pupil-v2690 > span:not(.clubs-dot-v2690) { justify-content: center; align-items: baseline; column-gap: .35rem; }
  #tab-clubs .clubs-reg-pupil-v2690 > span > .clubs-person-link-v2690,
  #tab-clubs .clubs-reg-pupil-v2690 > span > strong { flex: 0 0 100%; text-align: center; }
  #tab-clubs .clubs-reg-pupil-v2690 strong { font-size: 1.4rem; line-height: 1.25; }
  #tab-clubs .clubs-reg-pupil-v2690 .clubs-reg-status-text-v2690 { font-size: 1rem; }
  #tab-clubs .clubs-reg-pupil-v2690 > .clubs-small-note-v2690,
  #tab-clubs .clubs-reg-pupil-v2690 > .clubs-secret-btn-v2690 { align-self: center; }
  #tab-clubs .clubs-reg-req-v2690, #tab-clubs .clubs-reg-more-v2690 { justify-content: center; text-align: center; }
  /* Present, Absent, Check out and Show safeword: big enough for a thumb, and to read. */
  #tab-clubs .clubs-reg-att-v2690 { gap: .5rem; }
  #tab-clubs .clubs-reg-att-v2690 .clubs-mark-v2690,
  #tab-clubs .clubs-reg-att-v2690 .clubs-checkout-v27059,
  #tab-clubs .clubs-reg-word-v27047 .clubs-safeword-btn-v27044 { font-size: 1.2rem; font-weight: 800; height: auto; min-height: 3.2rem; padding: .45rem .5rem; }
  #tab-clubs .clubs-reg-word-v27047 .clubs-safeword-btn-v27044 { width: 100%; }
  #tab-clubs .clubs-reg-word-v27047 { text-align: center; }
  #tab-clubs .clubs-mark-by-v27059 { font-size: .85rem; max-width: none; }
  /* A to Z: bigger letters. */
  #tab-clubs .clubs-letters-v2697 { gap: .35rem; justify-content: center; }
  #tab-clubs .clubs-letter-v2697 { min-width: 3.1rem; min-height: 3.1rem; font-size: 1.25rem; font-weight: 800; }
}

/* ------------------------------------------------- Transfer rota */
.clubs-transfer-wrap-v27074 { overflow-x: auto; border: 1px solid #dbe4ee; border-radius: .5rem; background: #fff; margin: .3rem 0 .6rem; }
.clubs-transfer-table-v27074 { width: 100%; border-collapse: collapse; font-size: .9rem; }
.clubs-transfer-table-v27074 th, .clubs-transfer-table-v27074 td { border-bottom: 1px solid #e2e8f0; padding: .35rem .5rem; text-align: left; vertical-align: top; }
.clubs-transfer-club-v27074 { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; }
.clubs-transfer-choice-v27074 { border: 1px solid #fcd34d; border-radius: .6rem; background: #fffbeb; padding: .4rem .7rem .6rem; display: grid; gap: .4rem; }
.clubs-transfer-choice-v27074 legend { font-weight: 700; padding: 0 .3rem; }
.clubs-transfer-choice-v27074 input[type="radio"] { width: 1.05rem; min-width: 1.05rem; height: 1.05rem; margin: 0; }
.clubs-record-danger-v27013 { flex-wrap: wrap; }

/* ------------------------------------------------- the Overview's Show as */
#tab-clubs-overview .clubs-ov-inactive-v27065 { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem .9rem; }
#tab-clubs-overview .clubs-ov-shape-v27074 { display: inline-flex; align-items: center; gap: 0; }
#tab-clubs-overview .clubs-ov-shape-label-v27074 { font-weight: 600; margin-right: .45rem; }
#tab-clubs-overview .clubs-ov-shape-v27074 button { margin: 0; border-radius: 0; }
#tab-clubs-overview .clubs-ov-shape-v27074 button:first-of-type { border-radius: .55rem 0 0 .55rem; }
#tab-clubs-overview .clubs-ov-shape-v27074 button:last-of-type { border-radius: 0 .55rem .55rem 0; margin-left: -1px; }
#tab-clubs-overview .clubs-ov-shape-v27074 button[aria-pressed="true"] { background: #1e293b; color: #fff; border-color: #1e293b; }
/* Squares: the key's marks square too, and nothing glows. */
#tab-clubs-overview .is-squares-v27074 .clubs-ov-key-v27063 i { border-radius: 2px; }
#tab-clubs-overview .is-squares-v27074 .clubs-pin-v27063.is-glowing,
#tab-clubs-overview .is-squares-v27074 .clubs-ov-jumpbtn-v27064.is-here { animation: none; box-shadow: none; filter: none; }
@media (max-width: 760px) {
  #tab-clubs-overview .clubs-ov-inactive-v27065 { justify-content: center; }
}
