/* Hallmark · app screens · genre editorial · theme: Sudbury Guru staff (the learner app's tokens, css/learner.css) · scope app · signature: the next-lesson card with call, text and directions */
/* critique: a staff tool on a phone first; dense but calm; one main action a screen; money and times exact */
/* The staff app (admin.sudburyguru.com). Built only from learner.css tokens and components; these rules lay it out. */
.adm { position: relative; max-width: 760px; min-height: 100svh; margin: 0 auto; padding-bottom: calc(var(--tab-h) + var(--safe-b) + var(--space-lg)); }
.adm__top { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; min-height: calc(var(--nav-h) + var(--safe-t)); padding: var(--safe-t) var(--space-md) 0; background: var(--color-bg); border-bottom: 1px solid var(--color-line); }
.adm__main { padding: var(--space-md); display: grid; gap: var(--space-md); }
.adm__main:focus { outline: none; }
.adm__tabs { position: fixed; left: 50%; transform: translateX(-50%); width: 100%; max-width: 760px; grid-template-columns: repeat(5, 1fr); }
.adm h1 { text-wrap: balance; font-size: var(--text-2xl); line-height: 1.15; letter-spacing: -0.015em; }
.tday { display: grid; gap: var(--space-xs); }
.tday__h { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; padding: var(--space-xs) 0 0; }
.tday__h span { color: var(--color-muted); font-weight: 500; font-size: var(--text-sm); }
.bk { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--space-sm); align-items: center; width: 100%; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-line); border-radius: var(--r-md); background: var(--color-surface); box-shadow: var(--shadow-1); text-align: left; color: var(--color-ink); cursor: pointer; }
.bk__t { font-weight: 700; font-variant-numeric: tabular-nums; }
.bk__t span { display: block; font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); }
.bk__m { display: grid; gap: var(--space-3xs); min-width: 0; }
.bk__m b { font-size: var(--text-md); }
.bk__m span { color: var(--color-muted); font-size: var(--text-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk--off { opacity: 0.62; }
.bk--off .bk__m b { text-decoration: line-through; }
.next { display: grid; gap: var(--space-sm); padding: var(--space-md); border-radius: var(--r-lg); border: 2px solid var(--color-primary); background: var(--color-surface); box-shadow: var(--shadow-2); }
.next__acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xs); }
.next__acts .btn { min-height: 52px; padding: 0 var(--space-xs); font-size: var(--text-sm); }
.stat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
.money { font-variant-numeric: tabular-nums; }
.hrow { display: grid; grid-template-columns: 56px auto minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xs); align-items: center; min-height: 56px; padding: var(--space-2xs) var(--space-md); }
.hrow + .hrow { border-top: 1px solid var(--color-line); }
.hrow b { font-weight: 700; }
.hrow select { min-height: 44px; border: 2px solid var(--color-line-2); border-radius: var(--r-sm); background: var(--color-surface); color: var(--color-ink); font: inherit; padding: 0 var(--space-xs); }
.hrow select:disabled { background: var(--color-soft); color: var(--color-muted); border-color: var(--color-line); cursor: not-allowed; }
.hrow input[type="checkbox"] { width: 24px; height: 24px; accent-color: var(--color-primary); }
.fld textarea { width: 100%; }
.dlg form .row { border: 1px solid var(--color-line); border-radius: var(--r-md); }
.actgrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xs); }
.actgrid .btn { min-height: 52px; font-size: var(--text-sm); }
.bk:active { background: var(--color-soft); }
.bk:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
