/* SchoolDay v271.63: Devices > Manage Devices -- the frame (free tablets | pupils, then allocated | apply to all). */
#tab-manage-devices .dv-top-v27163 { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .6rem 1rem; margin-bottom: .4rem; }
.dv-pairbox-v27163 summary { cursor: pointer; font-weight: 800; padding: .55rem .9rem; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; list-style: none; }
.dv-pairbox-v27163[open] { flex: 1 1 100%; }
.dv-pair-v27163 { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem .8rem; margin-top: .5rem; }
.dv-pair-v27163 label { display: grid; gap: .2rem; font-weight: 700; }
.dv-pair-v27163 p { flex: 1 1 100%; margin: 0; }
.dv-count-v27163 { margin: .5rem 0 0 auto; }

.dv-frame-v27163 { display: flex; flex-direction: column; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; overflow: hidden; min-height: 560px; }
.dv-upper-v27163 { position: relative; flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: minmax(0, var(--dv-left-v27189, 50%)) minmax(0, 1fr); }
.dv-lower-v27163 { position: relative; flex: 0 0 auto; height: var(--dv-lower-v27189, calc(3 * 9.4rem + 2.6rem)); max-height: var(--dv-lower-max-v27189, 58%); display: grid; grid-template-columns: 1fr 17.5rem; border-top: 1px solid #cbd5e1; }
/* v271.89: the dividers -- a wide grab area on each line, a little handle in its middle. */
.dv-split-col-v27189, .dv-split-row-v27189 { position: absolute; z-index: 5; display: grid; place-items: center; touch-action: none; outline: none; }
.dv-split-col-v27189 { top: 0; bottom: 0; left: var(--dv-left-v27189, 50%); width: 14px; margin-left: -7px; cursor: col-resize; }
.dv-split-row-v27189 { left: 0; right: 0; top: -7px; height: 14px; cursor: row-resize; }
.dv-split-col-v27189 i, .dv-split-row-v27189 i { display: block; border-radius: 99px; background: #cbd5e1; transition: background .15s; }
.dv-split-col-v27189 i { width: 5px; height: 2.6rem; }
.dv-split-row-v27189 i { width: 2.6rem; height: 5px; }
.dv-split-col-v27189:hover i, .dv-split-row-v27189:hover i, .dv-split-col-v27189:focus-visible i, .dv-split-row-v27189:focus-visible i,
body.dv-splitting-v27189 .dv-split-col-v27189 i, body.dv-splitting-v27189 .dv-split-row-v27189 i { background: #2563eb; }
body.dv-splitting-v27189 { user-select: none; }
body.dv-splitting-col-v27189, body.dv-splitting-col-v27189 * { cursor: col-resize !important; }
body.dv-splitting-row-v27189, body.dv-splitting-row-v27189 * { cursor: row-resize !important; }
/* v271.89: "Switch 7 from Sam to Ali? Yes / No", where the pupil was let go. */
.dv-switch-v27189 { position: fixed; z-index: 3100; width: 18rem; padding: .8rem .9rem; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: #0f172a;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .22); animation: dv-switch-in-v27189 .14s ease-out; }
.dv-switch-v27189 p { margin: 0 0 .6rem; line-height: 1.35; }
.dv-switch-acts-v27189 { display: flex; gap: .5rem; }
.dv-switch-acts-v27189 button { flex: 1; min-height: 2.4rem; }
@keyframes dv-switch-in-v27189 { from { opacity: 0; transform: translateY(-4px); } }
/* v271.90: a battery under 20% on the tablet's icon (top left); its graph; Map. */
#tab-manage-devices .dv-lowbat-v27190 { position: absolute; left: 5px; top: 5px; display: block; width: 22px; height: 13px; line-height: 0; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45)); pointer-events: none; }
#tab-manage-devices .dv-lowbat-v27190 svg { width: 22px; height: 13px; }
.dv-sr-v27190 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dv-battery-link-v27190 { font-weight: 800; }
#tab-manage-devices .dv-battery-link-v27190.is-low { color: #b91c1c; }
.dv-map-v27190 { display: inline-block; padding: .25rem .7rem; text-decoration: none; }
.dv-bat-box-v27190 { width: min(680px, 94vw); }
.dv-bat-chart-v27190 { display: block; width: 100%; height: auto; margin: .3rem 0 .6rem; }
.dv-bat-grid-v27190 { stroke: #e7ecf2; stroke-width: 1; }
.dv-bat-low-v27190 { stroke: #dc2626; stroke-width: 1; stroke-dasharray: 4 4; opacity: .7; }
.dv-bat-axis-v27190 { font: 15px system-ui, sans-serif; fill: #475569; }
.dv-bat-line-v27190 { stroke: #2a78d6; stroke-width: 2; stroke-linecap: round; }
.dv-bat-line-v27190.is-charging { stroke: #16a34a; }
.dv-bat-dot-v27190 { fill: #2a78d6; stroke: #fff; stroke-width: 2; }
.dv-bat-dot-v27190.is-charging { fill: #16a34a; }
.dv-bat-dot-v27190:hover { r: 6; }
#tab-manage-devices .dv-alloc-v27163.dv-over-v27163 { outline: 3px dashed #f59e0b; outline-offset: 3px; border-radius: 12px; }
.dv-free-v27163, .dv-pupils-v27163, .dv-allocated-v27163 { min-height: 0; overflow: auto; padding: .6rem .8rem; }
.dv-free-v27163 { border-right: 1px solid #e2e8f0; }
.dv-frame-v27163 h3 { margin: 0 0 .5rem; font-size: 1rem; }
.dv-icons-v27163 { display: flex; flex-wrap: wrap; gap: .7rem .8rem; align-content: flex-start; }

/* A tablet: its picture, its number (three digits fit), pure white. */
#tab-manage-devices .dv-icon-v27163 { position: relative; display: grid; place-items: center; width: 4.6rem; height: 4.6rem; padding: 0; border: 0; border-radius: 12px;
  background: #64748b center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 1px 3px rgba(15, 23, 42, .25); cursor: pointer; touch-action: none; }
#tab-manage-devices .dv-icon-v27163 span { color: #fff; font-size: 1.6rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); font-variant-numeric: tabular-nums; }
#tab-manage-devices .dv-icon-v27163:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px #93c5fd; }
.dv-dev-v27163, .dv-pupil-v27163, .dv-alloc-v27163 { display: flex; flex-direction: column; align-items: center; gap: .3rem; width: 7.4rem; text-align: center; border-radius: 12px; padding: .3rem; }
.dv-dev-v27163.is-offline .dv-icon-v27163, .dv-alloc-v27163.is-offline .dv-icon-v27163 { filter: grayscale(.85) brightness(.9); }
#tab-manage-devices .dv-staff-v27163 { padding: .2rem .5rem; font-size: .78rem; min-height: 0; }
#tab-manage-devices .dv-pick-v27163 { width: 100%; font-size: .82rem; padding: .2rem .3rem; min-height: 0; }
.dv-over-v27163 { outline: 3px dashed #2563eb; outline-offset: 2px; background: #eff6ff; }

/* Pupils: find, then those chosen. */
.dv-find-v27163 { position: relative; margin-bottom: .6rem; }
.dv-find-v27163 input { width: 100%; box-sizing: border-box; }
.dv-found-v27163 { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: .3rem; list-style: none; max-height: 18rem; overflow: auto;
  background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; box-shadow: 0 10px 30px rgba(15, 23, 42, .18); }
#tab-manage-devices .dv-found-v27163 button { display: block; width: 100%; text-align: left; padding: .45rem .6rem; border: 0; border-radius: 8px; background: none; color: #0f172a; font-weight: 600; min-height: 0; }
#tab-manage-devices .dv-found-v27163 button:hover { background: #eff6ff; }
#tab-manage-devices .dv-found-v27163 .dv-class-v27163 { color: #1e3a8a; }
.dv-none-v27163 { padding: .45rem .6rem; }
.dv-pupils-head-v27163 { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
#tab-manage-devices .linkish-v27163 { background: none; border: 0; color: #1d4ed8; text-decoration: underline; padding: 0; min-height: 0; font-weight: 600; }
.dv-pupil-v27163 { position: relative; }
.dv-face-v27163 { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: #cbd5e1 center / cover no-repeat; color: #fff; font-weight: 800; font-size: 1.05rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45); box-shadow: 0 1px 3px rgba(15, 23, 42, .25); cursor: grab; touch-action: none; user-select: none; }
.dv-pupil-v27163.has-tablet .dv-face-v27163 { cursor: default; opacity: .7; }
.dv-pname-v27163, .dv-who-v27163 { font-size: .85rem; font-weight: 700; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv-on-v27163 { font-size: .78rem; color: #475569; }
#tab-manage-devices .dv-out-v27163 { position: absolute; top: 0; right: .6rem; width: 1.4rem; height: 1.4rem; min-height: 0; padding: 0; border-radius: 50%; border: 0; background: #e2e8f0; color: #334155; line-height: 1; }

/* Allocated: the name above the tablet as it looks, then choose, lock, sound. */
.dv-alloc-v27163.is-chosen { background: #eff6ff; box-shadow: inset 0 0 0 2px #93c5fd; }
.dv-alloc-v27163.is-locked .dv-icon-v27163::after { content: ""; position: absolute; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; border-radius: 12px; background: rgba(15, 23, 42, .28); }
.dv-staff-tag-v27163 { font-style: normal; font-size: .68rem; padding: 0 .3rem; border-radius: 4px; background: #1e3a8a; color: #fff; vertical-align: 1px; }
.dv-acts-v27163 { display: flex; align-items: center; gap: .3rem; }
.dv-tick-v27163 { display: grid; place-items: center; width: 2rem; height: 2rem; }
.dv-tick-v27163 input { width: 1.1rem; height: 1.1rem; margin: 0; }
#tab-manage-devices .dv-act-v27163 { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; min-height: 0; padding: 0; border-radius: 8px; border: 1px solid #cbd5e1; background: #fff; color: #0f172a; }
#tab-manage-devices .dv-act-v27163.is-on { background: #0f172a; color: #fff; border-color: #0f172a; }
.dv-act-v27163 svg, .dv-apply-v27163 svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dv-pending-v27163 { font-size: .72rem; color: #92400e; }
.dv-apply-v27163 { border-left: 1px solid #e2e8f0; padding: .6rem .8rem; background: #f8fafc; display: flex; flex-direction: column; gap: .45rem; overflow: auto; }
.dv-apply-row-v27163 { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
#tab-manage-devices .dv-apply-v27163 button { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; padding: .45rem .5rem; font-size: .85rem; }
.dv-apply-note-v27163 { margin: 0; font-size: .8rem; }

/* The windows: a tablet's details, and allocating to staff. */
.dv-modal-v27163 { position: fixed; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; z-index: 2000; display: grid; place-items: center; background: rgba(15, 23, 42, .45); padding: 1rem; }
.dv-modal-box-v27163 { width: min(30rem, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: 16px; padding: 1rem 1.1rem; display: grid; gap: .6rem; box-shadow: 0 20px 50px rgba(15, 23, 42, .3); }
.dv-modal-box-v27163 h3 { margin: 0; }
.dv-modal-head-v27163 { display: flex; gap: .8rem; align-items: center; }
.dv-modal-head-v27163 p { margin: .1rem 0; }
.dv-meta-v27163 { margin: 0; font-size: .85rem; }
.dv-online-v27163 { color: #15803d; font-weight: 700; }
.dv-modal-acts-v27163 { display: flex; flex-wrap: wrap; gap: .4rem; }
#tab-manage-devices .dv-danger-v27163 { color: #b91c1c; }
.dv-history-v27163 ul { margin: .3rem 0 0; padding-left: 1rem; font-size: .85rem; }
.dv-history-v27163 li span { color: #64748b; }
.dv-people-v27163 { display: flex; flex-wrap: wrap; gap: .4rem; max-height: 16rem; overflow: auto; }
#tab-manage-devices .dv-person-v27163 { padding: .4rem .7rem; }

/* Dragging. */
.dv-ghost-v27163 { position: fixed; z-index: 3000; pointer-events: none; opacity: .9; transform: scale(1.08); }
body.dv-dragging-v27163 { user-select: none; cursor: grabbing; }

@media (max-width: 760px) {
  .dv-upper-v27163, .dv-lower-v27163 { grid-template-columns: 1fr; }
  .dv-free-v27163 { border-right: 0; border-bottom: 1px solid #e2e8f0; }
  .dv-lower-v27163 { height: auto; max-height: none; }
  .dv-split-col-v27189, .dv-split-row-v27189 { display: none; }
  .dv-apply-v27163 { border-left: 0; border-top: 1px solid #e2e8f0; }
  .dv-frame-v27163 { height: auto !important; }
}

/* Devices > Set PIN. */
.pin-form-v27163 { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem .9rem; }
.pin-form-v27163 label { display: grid; gap: .2rem; font-weight: 700; }
.pin-form-v27163 input { width: 7rem; font-size: 1.3rem; letter-spacing: .3em; text-align: center; }
.pin-state-v27163 { font-size: 1.05rem; }

/* v271.64: Selected; Unallocate on the icon; the games; a freed tablet fading back; Set game. */
#tab-manage-devices .dv-select-v27163 { background: #e0f2fe; color: #075985; border: 1px solid #7dd3fc; }
#tab-manage-devices .dv-select-v27163:hover:not([disabled]) { background: #bae6fd; color: #075985; }
#tab-manage-devices .dv-selected-v27163 { background: none; border: 0; color: #1d4ed8; text-decoration: underline; font-weight: 700; padding: .1rem 0; min-height: 0; justify-content: flex-start; }
#tab-manage-devices .dv-selected-v27163[disabled] { color: #64748b; text-decoration: none; }
.dv-iconwrap-v27163 { position: relative; display: inline-block; }
#tab-manage-devices .dv-unalloc-v27163 { position: absolute; top: -.45rem; right: -.45rem; width: 1.5rem; height: 1.5rem; min-height: 0; padding: 0; border-radius: 50%;
  border: 2px solid #fff; background: #334155; color: #fff; font-size: .95rem; line-height: 1; box-shadow: 0 1px 3px rgba(15, 23, 42, .35); }
#tab-manage-devices .dv-unalloc-v27163:hover { background: #b91c1c; }
.dv-games-v27163 { font-size: .95rem; line-height: 1; }
.dv-dev-v27163.is-fresh { animation: dv-fresh-v27163 1.2s ease both; }
@keyframes dv-fresh-v27163 { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
.dv-sel-list-v27163 { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; max-height: 50vh; overflow: auto; }
.dv-sel-list-v27163 li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .35rem .5rem; border: 1px solid #e2e8f0; border-radius: 8px; }
.dv-game-picks-v27163 { display: grid; gap: .45rem; }
.dv-game-pick-v27163 { display: flex; align-items: center; gap: .55rem; padding: .65rem .8rem; border-radius: 12px; border: 2px solid var(--game, #cbd5e1); font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.dv-game-pick-v27163 input { width: 1.2rem; height: 1.2rem; margin: 0; }
.dv-game-pick-v27163.is-maths { --game: #0e7490; }
.dv-game-pick-v27163.is-phonics { --game: #0f766e; }
.dv-game-pick-v27163.is-reading { --game: #7c3aed; }

/* v271.65: the two tabs; Add or Uninstall Devices. */
.dv-tabs-v27163 { display: flex; gap: .4rem; margin-bottom: .7rem; border-bottom: 2px solid #e2e8f0; }
#tab-manage-devices .dv-tabs-v27163 button { border: 0; border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0; background: none; color: #475569; font-weight: 800; padding: .5rem .9rem; margin-bottom: -2px; }
#tab-manage-devices .dv-tabs-v27163 button[aria-selected="true"] { color: #0f172a; border-bottom-color: #1d4ed8; background: #eff6ff; }
.dv-install-v27163 { border: 1px solid #e2e8f0; border-radius: 14px; padding: .8rem 1rem; margin-bottom: .8rem; background: #fff; }
.dv-install-v27163 h3 { margin: 0 0 .4rem; }
.dv-install-table-v27163 { width: 100%; border-collapse: collapse; }
.dv-install-table-v27163 th, .dv-install-table-v27163 td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
#tab-manage-devices .dv-install-table-v27163 .dv-icon-v27163 { width: 3rem; height: 3rem; }
#tab-manage-devices .dv-install-table-v27163 .dv-icon-v27163 span { font-size: 1.1rem; }
.dv-install-acts-v27163 { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; }

/* v271.69: timers -- a ring running down with the time in it; under a tablet, in the frame on the right, and large in
   its window (full screen: only the timer). */
.dv-ring-v27169 { width: 100%; height: 100%; display: block; }
.dv-ring-track-v27169 { fill: none; stroke: #e2e8f0; stroke-width: 7; }
.dv-ring-run-v27169 { fill: none; stroke: #0e7490; stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.dv-ring-v27169.is-paused .dv-ring-run-v27169 { stroke: #d97706; }
#tab-manage-devices .dv-timer-chip-v27169 { position: relative; display: inline-block; width: 3.4rem; height: 3.4rem; padding: 0; margin: .25rem auto 0; border: 0; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(15, 23, 42, .15); cursor: pointer; }
.dv-timer-chip-v27169 .dv-ring-v27169 { position: absolute; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; }
.dv-ring-text-v27169 { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-weight: 800; font-size: .72rem; color: #0f172a; }
#tab-manage-devices .dv-timer-under-v27169 { display: block; margin: .2rem auto 0; padding: .1rem .5rem; border: 0; border-radius: 999px; background: #ecfeff; color: #0e7490; font-size: .78rem; font-weight: 700; }
.dv-master-timer-v27169 { display: flex; align-items: center; gap: .6rem; padding: .5rem; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; }
.dv-master-timer-v27169 .dv-timer-chip-v27169 { flex: none; margin: 0; }
.dv-timer-show-v27169 { display: flex; align-items: center; gap: .4rem; font-weight: 600; margin: .3rem 0; }
.dv-timer-show-v27169 input { width: auto; margin: 0; }
.dv-timer-presets-v27169 { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .7rem; }
.dv-timer-presets-v27169 button { padding: .35rem .7rem; }
.dv-timer-length-v27169 { display: flex; gap: 1rem; margin-bottom: .4rem; }
.dv-timer-length-v27169 input { width: 6rem; }
.dv-timer-box-v27169 { text-align: center; }
.dv-timer-big-v27169 { position: relative; width: min(18rem, 70vw); aspect-ratio: 1; margin: .6rem auto; background: #fff; border-radius: 50%; }
.dv-timer-big-v27169 .dv-ring-v27169 { position: absolute; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; }
.dv-timer-big-v27169 .dv-ring-text-v27169 { font-size: 3.2rem; }
.dv-timer-big-said-v27169 { position: absolute; left: 0; right: 0; bottom: 22%; margin: 0; font-weight: 800; color: #d97706; }
.dv-timer-acts-v27169 { display: flex; justify-content: center; gap: .6rem; margin: .4rem 0 .6rem; }
.dv-timer-acts-v27169 button { min-width: 6.5rem; font-size: 1.1rem; font-weight: 800; }
/* Full screen: black, only the timer; gentle dots drift past behind it. Also shown over the page if full screen is refused. */
.dv-timer-full-v27169 { position: fixed; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; z-index: 2147483000; background: #000; display: flex; align-items: center; justify-content: center; }
.dv-timer-drift-v27169 { position: absolute; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; width: 100%; height: 100%; }
.dv-timer-full-ring-v27169 { position: relative; width: min(82vh, 82vw); aspect-ratio: 1; }
.dv-timer-full-ring-v27169 .dv-ring-v27169 { position: absolute; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; width: 100%; height: 100%; }
.dv-timer-full-v27169 .dv-ring-track-v27169 { stroke: rgba(255, 255, 255, .12); stroke-width: 3; }
.dv-timer-full-v27169 .dv-ring-run-v27169 { stroke: #fff; stroke-width: 3; }
.dv-timer-full-v27169 .dv-ring-v27169.is-paused .dv-ring-run-v27169 { stroke: #fde68a; }
.dv-timer-full-v27169 .dv-ring-text-v27169 { color: #fff; font-size: min(17vh, 17vw); font-weight: 700; letter-spacing: .02em; }
.dv-timer-full-v27169 .dv-timer-big-said-v27169 { font-size: min(5vh, 5vw); bottom: 24%; color: #fde68a; }
/* In the frame on the right (whose icons are small and whose buttons are flat): the ring full size, the block stacked. */
#tab-manage-devices .dv-apply-v27163 .dv-ring-v27169 { width: 100%; height: 100%; }
#tab-manage-devices .dv-apply-v27163 .dv-timer-chip-v27169 { display: block; flex: none; width: 4rem; height: 4rem; padding: 0; margin: 0 auto; }
#tab-manage-devices .dv-apply-v27163 .dv-timer-chip-v27169 .dv-ring-text-v27169 { font-size: .8rem; }
.dv-apply-v27163 .dv-master-timer-v27169 { flex-direction: column; text-align: center; gap: .3rem; font-size: .85rem; flex: none; }
.dv-apply-v27163 .dv-master-timer-v27169 .dv-timer-show-v27169 { justify-content: center; font-size: .8rem; }

/* v271.70: Scan code -- the camera full screen, a square to aim with, Cancel. */
#tab-manage-devices .dv-scan-button-v27170 { align-self: flex-start; font-weight: 800; }
.dv-scan-v27170 { position: fixed; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; z-index: 2147483000; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dv-scan-video-v27170 { position: absolute; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dv-scan-aim-v27170 { position: relative; width: min(64vw, 64vh); aspect-ratio: 1; border: 4px solid rgba(255, 255, 255, .9); border-radius: 22px; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .45); }
.dv-scan-said-v27170 { position: relative; margin: 1.2rem 1rem .8rem; color: #fff; font-weight: 700; font-size: 1.15rem; text-align: center; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.dv-scan-cancel-v27170 { position: relative; padding: .7rem 2rem; border: 0; border-radius: 999px; background: #fff; color: #0f172a; font: inherit; font-weight: 800; cursor: pointer; }

/* v271.72: a tablet's sound. Part on: a small mark on the speaker. */
#tab-manage-devices .dv-act-v27163[data-dv-sound-v27172] { position: relative; }
.dv-sound-part-v27172 { position: absolute; right: 3px; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: #d97706; }
/* v271.73 (Sean): the two tick boxes small, on one line, to the left. */
.dv-modal-box-v27163 .dv-sound-picks-v27173 { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .4rem 1.4rem; margin: .5rem 0 .7rem; }
#tab-manage-devices .dv-sound-pick-v27172, .dv-sound-pick-v27172 { display: inline-flex; align-items: center; gap: .4rem; width: auto; margin: 0; padding: 0; border: 0; background: none; box-shadow: none;
  font-weight: 700; font-size: .95rem; min-height: 0; }
#tab-manage-devices .dv-sound-pick-v27172 input, .dv-sound-pick-v27172 input { width: 1rem; height: 1rem; margin: 0; flex: none; }

/* v271.75: allocate to several staff (ticked); a staff tablet's people and what it is for. */
#tab-manage-devices .dv-person-pick-v27175 { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.dv-staff-box-v27175 { display: grid; gap: .3rem; }
.dv-staff-fns-v27175 { border: 1px solid #e2e8f0; border-radius: 10px; padding: .5rem .7rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0; }
.dv-staff-fns-v27175 legend { font-weight: 800; font-size: .85rem; padding: 0 .3rem; }
.dv-staff-fns-v27175 label { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; }
.dv-staff-fns-v27175 p { flex-basis: 100%; margin: 0; font-size: .8rem; }

/* v271.77: a pupil's tablet: Games or View Progress. */
.dv-mode-v27177 { display: flex; align-items: center; gap: .4rem; margin: .2rem 0 .3rem; }
.dv-mode-v27177 > span { font-weight: 800; font-size: .85rem; margin-right: .3rem; }
#tab-manage-devices .dv-mode-v27177 button { padding: .4rem .9rem; }
#tab-manage-devices .dv-mode-v27177 button.is-on { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }

/* v271.80: a pupil's tablet: its mode under its number ("1", then "Play" or "Progress"). */
#tab-manage-devices .dv-icon-v27163 span:has(> .dv-icon-mode-v27180) { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
/*c27253-has*/#tab-manage-devices .dv-icon-v27163 span.h27253-1iotlqg { display: flex; flex-direction: column; align-items: center; gap: .15rem; }/*c27253-end*/
#tab-manage-devices .dv-icon-mode-v27180 { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .01em; line-height: 1; text-align: center; }
/* Set mode: Play or Progress, two big choices. */
.dv-mode-picks-v27180 { display: grid; gap: .55rem; }
.dv-modal-v27163 .dv-mode-pick-v27180 { display: grid !important; gap: .2rem; width: 100%; text-align: left !important; padding: .8rem 1rem !important; border-radius: 12px !important; border: 2px solid #cbd5e1 !important; background: #fff !important; color: #0f172a !important; box-shadow: none !important; cursor: pointer; font: inherit; }
.dv-modal-v27163 .dv-mode-pick-v27180 strong { font-size: 1.15rem; font-weight: 800; color: #0f172a !important; }
.dv-modal-v27163 .dv-mode-pick-v27180 span { font-size: .9rem; font-weight: 400; color: #475569 !important; }
.dv-modal-v27163 .dv-mode-pick-v27180:hover { border-color: #93c5fd !important; background: #f8fafc !important; }
.dv-modal-v27163 .dv-mode-pick-v27180.is-on { border-color: #1d4ed8 !important; background: #eff6ff !important; }

/* v271.82: a pupil's tablet in an assessment: its mode in red, "In an assessment", and End Assessment under it. */
#tab-manage-devices .is-assessing-v27182 .dv-icon-mode-v27180 { background: #dc2626; color: #fff; text-shadow: none; padding: .15rem .3rem; border-radius: .35rem; font-size: .6rem; line-height: 1.1; white-space: normal; max-width: 4.2rem; }
#tab-manage-devices .is-assessing-v27182 .dv-icon-v27163 { box-shadow: 0 0 0 3px #dc2626; }
#tab-manage-devices .dv-end-assess-v27182 { display: block; margin: .35rem auto 0; padding: .3rem .55rem !important; min-height: 0 !important; font-size: .78rem !important; font-weight: 800; border-radius: .5rem !important;
  border: 1px solid #b91c1c !important; background: #fff !important; color: #b91c1c !important; box-shadow: none !important; cursor: pointer; white-space: nowrap; }
#tab-manage-devices .dv-end-assess-v27182:hover { background: #fef2f2 !important; }

/* v271.86 (Sean: "the tickboxes are messy, have them as a neater list, left aligned"): one under another, the box then its
   name, left aligned; the site's label styles kept off them. */
#tab-manage-devices .dv-staff-fns-v27175 { display: grid !important; grid-template-columns: 1fr; gap: .15rem; justify-items: start; text-align: left; padding: .55rem .8rem .7rem; }
#tab-manage-devices .dv-staff-fns-v27175 label { display: flex !important; flex-direction: row !important; align-items: center; justify-content: flex-start; gap: .55rem; width: 100%;
  margin: 0 !important; padding: .3rem .2rem; font-size: .95rem; font-weight: 600; text-align: left; line-height: 1.25; border-radius: .4rem; cursor: pointer; }
#tab-manage-devices .dv-staff-fns-v27175 label:hover { background: #f1f5f9; }
#tab-manage-devices .dv-staff-fns-v27175 input[type="checkbox"] { flex: none; width: 1.1rem; height: 1.1rem; margin: 0 !important; }
#tab-manage-devices .dv-staff-fns-v27175 p { margin: .35rem 0 0; font-size: .8rem; text-align: left; }

/* v271.88: Add a tablet / Pair a tablet tidied -- the fields in a row, labels above, Pair and Scan code together. */
#tab-manage-devices .dv-pair-v27188 { display: grid !important; gap: .7rem; }
#tab-manage-devices .dv-pair-fields-v27188 { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .6rem .8rem; align-items: end; }
#tab-manage-devices .dv-pair-fields-v27188 label { display: grid !important; gap: .3rem; margin: 0 !important; font-weight: 700; font-size: .9rem; color: #1e293b; }
#tab-manage-devices .dv-pair-fields-v27188 label > span { display: flex; align-items: baseline; gap: .3rem; }
#tab-manage-devices .dv-pair-fields-v27188 input, #tab-manage-devices .dv-pair-fields-v27188 select { width: 100%; box-sizing: border-box; min-height: 2.6rem; padding: .45rem .6rem; border: 1px solid #94a3b8; border-radius: .55rem; font: inherit; font-weight: 400; }
#tab-manage-devices .dv-pair-acts-v27188 { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
#tab-manage-devices .dv-pair-acts-v27188 button { min-height: 2.6rem; padding: .45rem 1.3rem !important; border-radius: .6rem !important; font-weight: 800; }
#tab-manage-devices .dv-pair-acts-v27188 .dv-scan-button-v27170 { background: #fff !important; color: #1e293b !important; border: 1px solid #94a3b8 !important; box-shadow: none !important; }
#tab-manage-devices .dv-pair-v27188 > p { margin: 0; }

/* v271.88: groups. */
#tab-manage-devices .dv-groups-v27188 { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
#tab-manage-devices .dv-groups-v27188 li { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .5rem .3rem .75rem; border: 1px solid #cbd5e1; border-radius: 999px; background: #f8fafc; }
#tab-manage-devices .dv-group-head-v27188 { margin: .7rem 0 .35rem; font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #475569; border-bottom: 1px solid #e2e8f0; padding-bottom: .2rem; }
#tab-manage-devices .dv-group-head-v27188:first-of-type { margin-top: .2rem; }
#tab-manage-devices .dv-group-row-v27188 th { text-align: left; padding: .7rem .5rem .3rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: #475569; background: #f8fafc; }
#tab-manage-devices .dv-install-table-v27163 select { padding: .3rem .4rem; border: 1px solid #94a3b8; border-radius: .45rem; font: inherit; max-width: 12rem; }
/* v272.02: Manage Devices asks in its own window (never the browser's). */
.dv-ask-v27202 { position: fixed; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; z-index: 4000; display: grid; place-items: center; padding: 1rem; background: rgba(15, 23, 42, .5); }
.dv-ask-box-v27202 { width: min(28rem, 94vw); padding: 1.1rem 1.2rem; border-radius: 16px; background: #fff; color: #0f172a; box-shadow: 0 20px 50px rgba(15, 23, 42, .35); }
.dv-ask-box-v27202 p { margin: 0 0 1rem; font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.dv-ask-acts-v27202 { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.dv-ask-acts-v27202 button { min-height: 2.6rem; padding: .4rem 1.2rem; }

/* v272.03 (Sean: "Mobile/Tablet view for Manage devices - space is at a premium! ... have the page under the
   auto-allocate button in 3 columns: Devices, Pupils and Allocated. 'Master' functions are off screen, a scroll after
   allocation ... Icons will need to be smaller - keep the numbers the same size for tablets, but the frame/image much
   smaller. Aim would be to have two columns and 20 rows before Tablets and pupils need to expand. Allocated needs more
   space, so it's slightly wider. It has a frame for the allocated tablet showing the [mini-device icon] - pupil first
   name and initial. Then the buttons to select/lock/etc. and under that a status."). Under 1200 pixels wide. */
.is-compact-v27203 .dv-frame-v27163 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); min-height: 0; height: auto; overflow: visible; }
.is-compact-v27203 .dv-upper-v27163, .is-compact-v27203 .dv-lower-v27163 { display: contents; }
.is-compact-v27203 .dv-split-col-v27189, .is-compact-v27203 .dv-split-row-v27189 { display: none; }
.is-compact-v27203 .dv-free-v27163, .is-compact-v27203 .dv-pupils-v27163, .is-compact-v27203 .dv-allocated-v27163 {
  height: var(--dv-cols-v27203, 70vh); max-height: none; overflow: auto; padding: .5rem; border-right: 1px solid #e2e8f0; min-width: 0; box-sizing: border-box; }
.is-compact-v27203 .dv-allocated-v27163 { border-right: 0; background: #f8fafc; }
.is-compact-v27203 .dv-apply-v27163 { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #e2e8f0; flex-direction: row; flex-wrap: wrap; justify-content: center; overflow: visible; }
.is-compact-v27203 .dv-frame-v27163 h3 { font-size: .95rem; margin: 0 0 .35rem; }
/* Two tiles across in Tablets and Pupils; small pictures, the numbers as big as before. */
.is-compact-v27203 .dv-free-v27163 .dv-icons-v27163, .is-compact-v27203 .dv-pupils-v27163 .dv-icons-v27163 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem; }
.is-compact-v27203 .dv-dev-v27163, .is-compact-v27203 .dv-pupil-v27163 { width: auto; padding: .1rem; gap: .1rem; }
#tab-manage-devices .is-compact-v27203 .dv-icon-v27163 { width: 100%; max-width: 3.4rem; height: 2.4rem; border-radius: 8px; }
.is-compact-v27203 .dv-dev-v27163 .dv-staff-v27163, .is-compact-v27203 .dv-dev-v27163 .dv-pick-v27163, .is-compact-v27203 .dv-pupil-v27163 .dv-pick-v27163 { display: none; }
.is-compact-v27203 .dv-pupil-v27163 { flex-direction: row; justify-content: flex-start; gap: .3rem; padding-right: 1.2rem; }
.is-compact-v27203 .dv-face-v27163 { width: 1.9rem; height: 1.9rem; font-size: .75rem; flex: none; }
.is-compact-v27203 .dv-pname-v27163 { font-size: .85rem; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-compact-v27203 .dv-on-v27163 { display: none; }
#tab-manage-devices .is-compact-v27203 .dv-out-v27163 { top: 0; right: 0; }
/* Allocated: a frame each -- the mini tablet and the name; the buttons; the status. Pressed anywhere else: its window. */
.is-compact-v27203 .dv-allocated-v27163 .dv-icons-v27163 { display: grid; grid-template-columns: 1fr; gap: .4rem; }
.is-compact-v27203 .dv-alloc-v27163 { width: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon who" "acts acts" "more more";
  align-items: center; gap: .25rem .45rem; padding: .35rem .45rem; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; text-align: left; cursor: pointer; }
.is-compact-v27203 .dv-alloc-v27163 .dv-iconwrap-v27163 { grid-area: icon; }
.is-compact-v27203 .dv-alloc-v27163 .dv-who-v27163 { grid-area: who; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-compact-v27203 .dv-alloc-v27163 .dv-acts-v27163 { grid-area: acts; flex-wrap: wrap; }
.is-compact-v27203 .dv-alloc-v27163 .dv-games-v27163, .is-compact-v27203 .dv-alloc-v27163 .dv-end-assess-v27182 { grid-area: more; justify-self: start; font-size: .8rem; }
#tab-manage-devices .is-compact-v27203 .dv-alloc-v27163 .dv-icon-v27163 { width: 2.9rem; height: 2.2rem; }
.is-compact-v27203 .dv-alloc-v27163 .dv-icon-mode-v27180 { display: none; }
.is-compact-v27203 .dv-search-v27203 { min-height: 2.4rem; }
/* The Search window. */
.dv-search-box-v27203 .dv-find-v27163 input { width: 100%; }
.dv-search-pend-v27203 { display: flex; flex-wrap: wrap; gap: .35rem; margin: .2rem 0 .6rem; max-height: 9rem; overflow: auto; }
.dv-search-chip-v27203 { display: inline-flex; align-items: center; gap: .25rem; padding: .15rem .2rem .15rem .6rem; border-radius: 999px; background: #e0e7ff; font-weight: 700; font-size: .9rem; }
#tab-manage-devices .dv-search-chip-v27203 button { width: 1.5rem; height: 1.5rem; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #312e81; box-shadow: none; }
/* The tablet's window (every width): quick buttons; Mode and Games under their headings; the rest centred. */
.dv-win-quick-v27203 { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: .5rem 0; }
#tab-manage-devices .dv-win-quick-v27203 .dv-act-v27163 { width: auto; min-width: 0; padding: .35rem .8rem; height: auto; min-height: 2.4rem; gap: .3rem; font-size: .92rem; }
.dv-win-sec-v27203 { margin: .5rem 0; padding: .45rem .6rem; border: 1px solid #e2e8f0; border-radius: 12px; }
.dv-win-sec-v27203 h4 { margin: 0 0 .35rem; font-size: .95rem; }
.dv-win-toggle-v27203 { display: inline-flex; border: 1px solid #cbd5e1; border-radius: 999px; overflow: hidden; }
#tab-manage-devices .dv-win-toggle-v27203 button { min-height: 2.3rem; padding: .25rem 1.1rem; border: 0; border-radius: 0; background: #fff; color: #334155; font-weight: 700; box-shadow: none; }
#tab-manage-devices .dv-win-toggle-v27203 button.is-on { background: #1d4ed8; color: #fff; }
.dv-win-games-v27203 { display: flex; flex-wrap: wrap; gap: .4rem .8rem; }
.dv-win-more-v27203 { justify-content: center; }
/* v272.13: every result, and why nothing happened, in a message over everything (tablet windows included). */
.dv-toast-v27213 { position: fixed; z-index: 4100; left: 50%; bottom: 1.1rem; transform: translateX(-50%); width: min(34rem, calc(100vw - 2rem)); display: flex; align-items: flex-start; gap: .6rem;
  padding: .7rem .7rem .7rem 1rem; border-radius: 12px; border: 1px solid #86efac; border-left-width: 6px; background: #f0fdf4; color: #14532d; box-shadow: 0 10px 28px rgba(15, 23, 42, .22); font-size: .95rem; line-height: 1.4; }
.dv-toast-v27213[hidden] { display: none; }
.dv-toast-v27213.is-why { border-color: #fcd34d; background: #fffbeb; color: #78350f; }
.dv-toast-v27213.is-error { border-color: #fca5a5; background: #fef2f2; color: #7f1d1d; }
.dv-toast-v27213 p { flex: 1 1 auto; margin: 0; }
#dvToastV27213 button { flex: 0 0 auto; width: 2rem !important; min-width: 0 !important; height: 2rem; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 999px; background: transparent !important; color: inherit !important; font-size: 1.3rem; line-height: 1; box-shadow: none !important; cursor: pointer; }
#tab-manage-devices [aria-disabled="true"][data-dv-why-v27213] { opacity: .5; cursor: not-allowed; }
#tab-manage-devices .dv-game-pick-v27163.is-off { cursor: not-allowed; }
.dv-win-why-v27213 { margin: .35rem 0 0; font-size: .85rem; }

/* v272.18 (Sean, 15 Nov): toggles (the half that is on: coloured and bold); Apply to; Lock all / Unlock all; lines between
   the settings, Timer and Sound, and Unallocate all; Auto-allocate top right of Tablets; Clear the list at the foot of
   Pupils; Set up tablets under Allocated's heading; a tablet's details on Add or Uninstall Devices. */
.dv-toggle-v27218 { display: flex; width: 100%; border: 2px solid #cbd5e1; border-radius: 999px; overflow: hidden; background: #fff; }
#tab-manage-devices .dv-toggle-v27218 button { flex: 1 1 0; min-width: 0; min-height: 2.5rem; margin: 0; padding: .3rem .6rem; border: 0; border-radius: 0; background: #fff; color: #64748b;
  font-weight: 500; box-shadow: none; transition: background .15s, color .15s; }
#tab-manage-devices .dv-toggle-v27218 button + button { border-left: 1px solid #e2e8f0; }
#tab-manage-devices .dv-toggle-v27218 button:hover:not(.is-on) { background: #f1f5f9; color: #0f172a; }
#tab-manage-devices .dv-toggle-v27218 button.is-on { color: #fff; font-weight: 800; background: #1d4ed8; }
#tab-manage-devices .dv-toggle-v27218 button.is-games.is-on, #tab-manage-devices .dv-toggle-v27218 button.is-unlocked.is-on { background: #15803d; }
#tab-manage-devices .dv-toggle-v27218 button.is-progress.is-on { background: #6d28d9; }
#tab-manage-devices .dv-toggle-v27218 button.is-locked.is-on { background: #b91c1c; }
#tab-manage-devices .dv-toggle-v27218 button[aria-disabled="true"] { opacity: 1; color: #94a3b8; }
.dv-toggle-v27218:has([aria-disabled="true"]) { opacity: .55; }
/*c27253-has*/.dv-toggle-v27218.h27253-cyqoge { opacity: .55; }/*c27253-end*/
.dv-apply-grp-v27218 { display: flex; flex-direction: column; gap: .45rem; }
.dv-apply-sec-v27218 h4 { margin: .2rem 0 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: #475569; }
.dv-apply-sec-v27218 h4:first-child { margin-top: 0; }
.dv-apply-count-v27218, .dv-mixed-v27218 { margin: -.15rem 0 0; font-size: .78rem; }
.dv-line-v27218 { flex: none; width: 100%; height: 0; margin: .25rem 0; border: 0; border-top: 1px solid #cbd5e1; }
.dv-sec-head-v27218 { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.dv-sec-head-v27218 h3 { margin: 0 !important; }
#tab-manage-devices .dv-sec-head-v27218 button { flex: none; padding: .35rem .8rem; min-height: 2.2rem; font-size: .88rem; }
.dv-tabs-v27163 .dv-count-v27163 { margin: 0 0 0 auto; align-self: center; font-size: .9rem; }
.dv-pupils-v27163 { display: flex; flex-direction: column; }
.dv-pupils-v27163 > .dv-icons-v27163 { flex: 0 0 auto; }
.dv-pupils-foot-v27218 { position: sticky; bottom: 0; margin: auto -.8rem -.6rem; padding: .5rem .8rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  border-top: 1px solid #e2e8f0; background: rgba(255, 255, 255, .96); font-size: .85rem; }
.is-compact-v27203 .dv-pupils-foot-v27218 { margin: auto -.5rem -.5rem; padding: .45rem .5rem; flex-direction: column; align-items: stretch; text-align: center; }
.dv-setup-open-v27218 { margin: -.2rem 0 .5rem; }
#tab-manage-devices .dv-setup-open-v27218 button { padding: .3rem .8rem; min-height: 2.1rem; font-size: .85rem; }
.dv-setup-bar-v27218 { display: flex; align-items: center; gap: .8rem; margin: 0 0 .6rem; }
.dv-qr-v27218 { margin: .7rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; }
/* A tablet's window: Mode and Lock side by side; Assessment Mode under them. */
.dv-win-pair-v27218 { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0 .6rem; }
.dv-win-pair-v27218 .dv-win-sec-v27203 { margin: .3rem 0; }
.dv-win-assess-v27218 { display: flex; justify-content: center; margin: .2rem 0 .4rem; }
#tab-manage-devices .dv-win-assess-v27218 button { min-height: 2.5rem; padding: .4rem 1.2rem; }
/* "Add any other children?" */
.dv-pick-box-v27218 { width: min(32rem, 100%); }
.dv-pick-all-v27218 { display: flex; gap: .4rem; }
.dv-pick-list-v27218 { display: grid; gap: .3rem; max-height: 50vh; overflow: auto; }
.dv-pick-list-v27218 label { display: flex; align-items: center; gap: .5rem; padding: .45rem .6rem; border: 1px solid #e2e8f0; border-radius: 10px; cursor: pointer; min-height: 2.6rem; box-sizing: border-box; }
.dv-pick-list-v27218 label:has(input:checked) { background: #eff6ff; border-color: #93c5fd; }
/*c27253-has*/.dv-pick-list-v27218 label.h27253-1yf8nse { background: #eff6ff; border-color: #93c5fd; }/*c27253-end*/
.dv-pick-list-v27218 label.is-self-v27218 { cursor: default; }
.dv-pick-list-v27218 input { width: 1.2rem; height: 1.2rem; margin: 0; flex: none; }
/* A tablet's details (Add or Uninstall Devices). */
.dv-info-v27218 { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .3rem .9rem; margin: 0; font-size: .92rem; }
.dv-info-v27218 dt { color: #475569; font-weight: 700; }
.dv-info-v27218 dd { margin: 0; overflow-wrap: anywhere; }
#tab-manage-devices .dv-install-table-v27163 .dv-icon-v27163 { cursor: pointer; }
/* Phone and tablet widths: the master panel's parts side by side; the lines across the whole width between them. */
.is-compact-v27203 .dv-apply-v27163 { align-items: flex-start; gap: .7rem 1rem; }
.is-compact-v27203 .dv-apply-grp-v27218 { flex: 1 1 14rem; min-width: 0; }
.is-compact-v27203 .dv-line-v27218 { flex: 0 0 100%; margin: 0; }

/* v272.19: a tab for each group of tablets, under the Devices tab (and Set up tablets). */
.dv-gtabs-v27219 { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.3rem 0 .7rem; }
#tab-manage-devices .dv-gtabs-v27219 button { min-height: 2.4rem; padding: .3rem .9rem; border: 2px solid #cbd5e1; border-radius: 999px; background: #fff; color: #334155; font-weight: 700; box-shadow: none; }
#tab-manage-devices .dv-gtabs-v27219 button.is-on { border-color: #1d4ed8; background: #1d4ed8; color: #fff; }
.dv-gtab-n-v27219 { display: inline-block; min-width: 1.4em; margin-left: .25rem; padding: 0 .35rem; border-radius: 999px; background: rgba(15, 23, 42, .08); font-size: .8em; }
.dv-gtabs-v27219 .is-on .dv-gtab-n-v27219 { background: rgba(255, 255, 255, .25); }

/* v272.58 (Sean, 18 Nov): Allocated in two frames -- staff and visitors (only when there is one; two tiles wide, then down)
   and children, each scrolling by itself. */
.dv-allocated-v27163 { display: flex; flex-direction: column; }
.dv-alloc-split-v27258 { display: flex; align-items: stretch; flex: 1 1 auto; min-height: 0; margin: 0 -.3rem; }
.dv-alloc-people-v27258, .dv-alloc-kids-v27258 { min-height: 0; overflow-y: auto; overflow-x: hidden; margin: 0 .3rem; padding: .5rem .6rem; border: 1px solid #dbe4ee; border-radius: 12px; background: #fff; box-sizing: border-box; }
.dv-alloc-people-v27258 { flex: 0 0 auto; width: 16.2rem; }
.dv-alloc-kids-v27258 { flex: 1 1 auto; min-width: 0; }
.dv-alloc-sub-v27258 { margin: 0 0 .45rem; font-size: .9rem; }
.is-compact-v27203 .dv-alloc-split-v27258 { flex-direction: column; margin: 0; }
.is-compact-v27203 .dv-alloc-people-v27258, .is-compact-v27203 .dv-alloc-kids-v27258 { width: auto; margin: 0 0 .5rem; overflow: visible; }
/* Each allocated tablet in a frame: faint, in the school's own colours; selected, bold. */
#tab-manage-devices .dv-allocated-v27163 .dv-alloc-v27163 { position: relative; z-index: 0; background: transparent; box-shadow: none; }
#tab-manage-devices .dv-allocated-v27163 .dv-alloc-v27163::before,
#tab-manage-devices .dv-allocated-v27163 .dv-alloc-v27163::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; border-radius: 12px; pointer-events: none; }
#tab-manage-devices .dv-allocated-v27163 .dv-alloc-v27163::before { background: var(--admin-function-bg, #1765a8); opacity: .07; }
#tab-manage-devices .dv-allocated-v27163 .dv-alloc-v27163::after { border: 2px solid var(--admin-function-border, #0c3f78); opacity: .28; }
#tab-manage-devices .dv-allocated-v27163 .dv-alloc-v27163.is-chosen::before { opacity: .2; }
#tab-manage-devices .dv-allocated-v27163 .dv-alloc-v27163.is-chosen::after { border-width: 3px; opacity: 1; }
#tab-manage-devices .dv-allocated-v27163 .dv-alloc-v27163.is-chosen .dv-who-v27163 { font-weight: 900; }
/* v272.62: the Wi-Fi, just its icon, in the tablet's lower right corner on a see-through circle (online only); the
   network's name on hover. */
#tab-manage-devices .dv-iconwrap-v27163 > .dv-wifi-dot-v27262 { position: absolute; right: 3px; bottom: 3px; z-index: 1; display: grid; place-items: center;
  width: 1.15rem; height: 1.15rem; max-width: none; margin: 0; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .78); cursor: help; }
#tab-manage-devices .dv-wifi-dot-v27262 svg { width: .78rem; height: .78rem; color: #1d4ed8; }
.dv-notice-v27258 p { margin: .4rem 0 1rem; }

/* v272.62 (Sean: "make the tablet icons and child icons a bit smaller please in every section of the page"). */
#tab-manage-devices .dv-icon-v27163 { width: 3.7rem; height: 3.7rem; border-radius: 10px; }
#tab-manage-devices .dv-icon-v27163 span { font-size: 1.3rem; }
#tab-manage-devices .dv-alloc-v27163.is-locked .dv-icon-v27163::after { border-radius: 10px; }
#tab-manage-devices .dv-face-v27163 { width: 2.9rem; height: 2.9rem; font-size: .9rem; }
#tab-manage-devices .dv-dev-v27163, #tab-manage-devices .dv-pupil-v27163, #tab-manage-devices .dv-alloc-v27163 { width: 6.4rem; }
#tab-manage-devices .dv-install-table-v27163 .dv-icon-v27163 { width: 2.7rem; height: 2.7rem; }
#tab-manage-devices .dv-install-table-v27163 .dv-icon-v27163 span { font-size: 1rem; }
#tab-manage-devices .is-compact-v27203 .dv-dev-v27163, #tab-manage-devices .is-compact-v27203 .dv-pupil-v27163, #tab-manage-devices .is-compact-v27203 .dv-alloc-v27163 { width: auto; }
#tab-manage-devices .is-compact-v27203 .dv-icon-v27163 { width: 100%; max-width: 3rem; height: 2.2rem; border-radius: 8px; }
#tab-manage-devices .is-compact-v27203 .dv-alloc-v27163 .dv-icon-v27163 { width: 2.7rem; height: 2rem; }
#tab-manage-devices .is-compact-v27203 .dv-face-v27163 { width: 1.8rem; height: 1.8rem; font-size: .72rem; }
.is-compact-v27203 .dv-dev-v27163 .dv-staff-v27163 { display: inline-block; padding: .1rem .35rem; font-size: .7rem; }
/* v272.62: Allocate -- Pupil, Staff or Visitor, then the pupils. */
.dv-alloc-kinds-v27262 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: .6rem; margin: .4rem 0 1rem; }
#tab-manage-devices .dv-alloc-kinds-v27262 button { display: block; min-height: 5.2rem; padding: .7rem .6rem; text-align: center; }
.dv-alloc-kinds-v27262 strong { display: block; font-size: 1.05rem; }
.dv-alloc-kinds-v27262 small { display: block; margin-top: .3rem; font-size: .76rem; font-weight: 500; line-height: 1.3; opacity: .85; }
.dv-alloc-pupils-v27262 { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); grid-gap: .4rem; max-height: 50vh; overflow-y: auto; margin: .4rem 0 1rem; }
#tab-manage-devices .dv-alloc-pupils-v27262 button { min-height: 2.4rem; padding: .35rem .5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .dv-alloc-kinds-v27262 { grid-template-columns: 1fr; } #tab-manage-devices .dv-alloc-kinds-v27262 button { min-height: 0; } }
/* The number (and Play/Progress) lifted clear of the Wi-Fi icon. */
#tab-manage-devices .has-wifi-v27258 .dv-icon-v27163 > span { margin-bottom: .55rem; }
#tab-manage-devices .has-wifi-v27258 .dv-icon-mode-v27180 { font-size: .58rem; }
.is-compact-v27203 .has-wifi-v27258 .dv-icon-v27163 > span { margin-bottom: 0; }
/* v272.83: Brightness -- the slider in its window. */
.dv-bright-v27283 { display: flex; align-items: center; margin: .8rem 0; }
.dv-bright-v27283 > span { font-size: 1.6rem; margin-right: .6rem; }
.dv-bright-v27283 input[type="range"] { flex: 1 1 auto; min-width: 0; }
.dv-bright-v27283 output { min-width: 3.5rem; margin-left: .6rem; font-weight: 800; text-align: right; }
/* v273.19 (Sean: "Manage Devices > Tablet window, can we make the buttons a bit neater please and make sure all are
   suitably spaced"): the tablet's window -- Assessment Mode and Skill Games an equal pair; the other buttons an even grid,
   each the same height, the same gap all round. Grid gaps only (no flex gap: older browsers). */
#tab-manage-devices .dv-win-assess-v27218, .dv-modal-v27163 .dv-win-assess-v27218 {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: .6rem; margin: .8rem 0 1rem;
}
#tab-manage-devices .dv-win-assess-v27218 button, .dv-modal-v27163 .dv-win-assess-v27218 button {
  width: 100%; min-height: 3rem; margin: 0; padding: .55rem .8rem; border-radius: 12px; white-space: normal; line-height: 1.2;
}
#tab-manage-devices .dv-win-assess-v27218 .dv-skillgames-line-v27318, .dv-modal-v27163 .dv-win-assess-v27218 .dv-skillgames-line-v27318 {
  grid-column: 1 / -1; margin: 0; text-align: center;
}
#tab-manage-devices .dv-modal-v27163 .dv-win-more-v27203, .dv-modal-v27163 .dv-win-more-v27203 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: .6rem; margin: .4rem 0 1rem;
}
#tab-manage-devices .dv-modal-v27163 .dv-win-more-v27203 > button, .dv-modal-v27163 .dv-win-more-v27203 > button {
  width: 100%; min-height: 2.9rem; margin: 0; padding: .45rem .6rem; border-radius: 10px; white-space: normal; line-height: 1.2;
}
@media (max-width: 560px) {
  #tab-manage-devices .dv-modal-v27163 .dv-win-more-v27203, .dv-modal-v27163 .dv-win-more-v27203 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* v273.19: Sound / Select / Make a noise an even row of three; the Games tick boxes an even row too. */
#tab-manage-devices .dv-modal-v27163 .dv-win-quick-v27203, .dv-modal-v27163 .dv-win-quick-v27203 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: .6rem; margin: .6rem 0 .9rem;
}
#tab-manage-devices .dv-modal-v27163 .dv-win-quick-v27203 > button, .dv-modal-v27163 .dv-win-quick-v27203 > button {
  width: 100%; min-height: 2.9rem; margin: 0; padding: .45rem .6rem; border-radius: 10px; white-space: normal; line-height: 1.2;
  display: flex; align-items: center; justify-content: center;
}
#tab-manage-devices .dv-modal-v27163 .dv-win-games-v27203, .dv-modal-v27163 .dv-win-games-v27203 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: .5rem;
}
#tab-manage-devices .dv-modal-v27163 .dv-win-games-v27203 > label, .dv-modal-v27163 .dv-win-games-v27203 > label { width: 100%; margin: 0; box-sizing: border-box; }
@media (max-width: 560px) {
  #tab-manage-devices .dv-modal-v27163 .dv-win-games-v27203, .dv-modal-v27163 .dv-win-games-v27203 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#tab-manage-devices .dv-modal-v27163 .dv-win-games-v27203 > label, .dv-modal-v27163 .dv-win-games-v27203 > label {
  display: flex; align-items: center; justify-content: center; white-space: nowrap; font-size: 1rem; padding: .5rem .55rem; min-height: 2.9rem;
}

/* v273.34: a tablet's phonics language, under its ticked games. */
.dv-phonics-lang-v27334 { display: flex; align-items: center; margin: .6rem 0 0; font-weight: 600; }
.dv-phonics-lang-v27334 select { margin-left: .6rem; min-height: 40px; padding: .3rem .5rem; font: inherit; }
